Skip to content

Releases: nationalarchives/tna-frontend

v0.13.2

20 Feb 16:16
f37239c
Compare
Choose a tag to compare
v0.13.2 Pre-release
Pre-release

Changed

  • Improved card layout, spacing and hover/focus states

v0.13.1

19 Feb 17:46
eb37dcc
Compare
Choose a tag to compare
v0.13.1 Pre-release
Pre-release

Fixed

  • Overflow issue with focused cards not showing an outline

v0.13.0

19 Feb 17:19
8c9b383
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release

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 on tna-container--no-padding class

v0.12.0

10 Feb 10:38
e8d96c9
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

Added

  • Added labelText option to breadcrumbs to enable custom aria-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

28 Jan 19:39
6456e98
Compare
Choose a tag to compare
v0.11.3 Pre-release
Pre-release

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

28 Jan 18:22
c3c3b44
Compare
Choose a tag to compare
v0.11.2 Pre-release
Pre-release

Changed

  • All custom cookie policies (other than usage, settings, marketing and essential) are filtered out upon initialisation
  • Small font size tweak to the strapline in a header component on tiny devices

v0.11.1

28 Jan 17:56
b1a1f00
Compare
Choose a tag to compare
v0.11.1 Pre-release
Pre-release

Fixed

  • A complete cookie policy on initialisation no longer automatically hides the cookie banner

v0.11.0

28 Jan 16:49
aa2753d
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

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 to data-tna-cookies-domain and data-tna-cookies-path parameters, there is now tna-cookies-policies-key, tna-cookies-default-age and tna-cookies-insecure
  • Removed right and left margin from plain picture components

Removed

  • Removed policies, policiesKey, cookiesDomain, cookiesPath and allowInsecure options from the cookie banner component

v0.10.0

27 Jan 18:31
a37d62e
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Removed

  • The cookie library and the cookie banner component can no longer have custom cookie policies; only the four standard (usage, settings, marketing and essential)

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 to aria-label

v0.9.0

27 Jan 17:07
dc2f3a4
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

Added

  • Page not found error page template added to prototype kit

Changed

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