Releases: nationalarchives/tna-frontend
Releases · nationalarchives/tna-frontend
v0.13.2
v0.13.1
v0.13.0
Added
- Option to set underline offset for links
- Customisable border radius added to many components and utilities
- Plain card option to add border to a card without adding a background colour
- Options for full-width and centred button groups
Changed
- Updated phase banner markup with extra visually hidden text
- Removed TikTok from default options in the footer
- Standard link underline offset increased slightly to improve readability
Fixed
- Fixed invalid
max-width
property ontna-container--no-padding
class
v0.12.0
Added
- Added
labelText
option to breadcrumbs to enable customaria-label
attributes - Phase banners can be added at the top of the header and global header components
Changed
- Limited the maximum height of the information dropdown in picture components
Removed
- Remove
accent
option of the phase banner component
Fixed
- Clicking on a gallery item doesn't break keyboard navigation for the gallery
- Current gallery items are not announced twice for screen readers
v0.11.3
Changed
- When re-displaying the cookie banner, delete the preferences saved cookie rather than setting it to
false
(better compatibility with ds-cookie-consent)
v0.11.2
v0.11.1
v0.11.0
Changed
- Cookie library settings can now be set at a document level in the
<html>
element rather than at a cookie banner level - in addition todata-tna-cookies-domain
anddata-tna-cookies-path
parameters, there is nowtna-cookies-policies-key
,tna-cookies-default-age
andtna-cookies-insecure
- Removed right and left margin from plain picture components
Removed
- Removed
policies
,policiesKey
,cookiesDomain
,cookiesPath
andallowInsecure
options from the cookie banner component
v0.10.0
Removed
- The cookie library and the cookie banner component can no longer have custom cookie policies; only the four standard (
usage
,settings
,marketing
andessential
)
Fixed
- Better support for cookie banners with edge cases when partial or malformed cookie policies already exist
- Changed incorrect
aria-title
attribute on password input fields toaria-label
v0.9.0
Added
- Page not found error page template added to prototype kit
Changed
- Default theme for prototypes changed from "light" to "system"
- Disabled
-apple-system-body
for dynamic type support in non-touch Apple devices due to issues in Mac OS (https://codepen.io/chrislachance/pen/OJpmgrM)
Fixed
- If cookie policies are invalid or missing when the cookie class is initiated, the cookie banner is shown regardless of the existance of a
cookie_preferences_set
cookie