Skip to content

Releases: nationalarchives/tna-frontend

v0.1.62

24 Jun 15:27
ee5f4d0
Compare
Choose a tag to compare
v0.1.62 Pre-release
Pre-release

Changed

  • The default headingSize for cards has changed from s to m
  • The font size of the scene setter has been reduced

Deprecated

  • The small scene setter style has been removed

Fixed

  • Removed extra spaces from template classes and attributes
  • Fix horizontal card inner padding

v0.1.61

18 Jun 16:14
a677a42
Compare
Choose a tag to compare
v0.1.61 Pre-release
Pre-release

Fixed

  • Fixed some colours combinations

v0.1.60

18 Jun 14:48
caaf5ec
Compare
Choose a tag to compare
v0.1.60 Pre-release
Pre-release

Added

  • New sidebar component

Changed

  • Don't reload the window when disableTracking() is called in the analytics library
  • Added warning when using typography.relative-font-size() to move to typography.font-size() (relative-font-size will be removed in a future release)

Fixed

  • Fixed bug with standard cards (not tinted, contrasted or accented) having extra padding when in a tinted, contrasted or accented ancestor block
  • Fixed standard button colours
  • Changed order of index grid items HTML to make more sense

v0.1.59

13 Jun 13:07
e79f31e
Compare
Choose a tag to compare
v0.1.59 Pre-release
Pre-release

Added

  • Allow lazyImages attribute for lazy loading of index grid images
  • Dashed lists can be used with .tna-ul--dashed and .tna-ol--dashed which replace the markers with dashes

Changed

  • The transcript button on picture components no longer gets a tna-picture__toggle-transcript--opened class when opened

Fixed

  • Fix the error when calling disableTracking() within the analytics library

v0.1.58

05 Jun 13:21
b9dc6e8
Compare
Choose a tag to compare
v0.1.58 Pre-release
Pre-release

Added

  • Hero component can now have actions
  • Hero component has a new narrow option for shorter headers

Changed

  • Theme selector is hidden when forced colors mode is enabled
  • The markup for a chip list has been updated
  • Better colours and contrasts for coloured elements within contrast and accent blocks
  • Switched from using specific --accent modifier classes to the generic tna-background-accent classes for card, cookie banner, header, hero and phase banner components

Removed

  • Removed external icon from header exit link

Fixed

  • Fixed styling for compound filters in forced colors mode
  • Fixed colour for header exit link in light high contrast mode
  • Added title attribute to social links in the footer to help with navigation as well as to the theme selector buttons

v0.1.57

30 May 12:45
9846fa5
Compare
Choose a tag to compare
v0.1.57 Pre-release
Pre-release

Added

  • Index grids can now have supertitles, hrefClasses and hrefAttributes
  • Quick filters component styling has changed and has a new fill option
  • Picture components can now have alternative sources

Changed

  • Detail summaries no longer stretch the full width of the container
  • Index grid headingHref changed to href
  • Common page elements such as headers and footers are hidden when using print styles
  • Accented keylines now use the more saturated variant of their colour for increased contrast with other accented elements

Deprecated

  • Removed unused imageType attribute from hero components

Fixed

  • The theme stored in a cookie is now reflected in pages using the prototype kit
  • Removed duplicated source from hero image <picture> elements
  • Better support for forced colors mode on several components
  • Remove duplicated <main> element on index-grid and list prototype kit templates
  • Accented header component colour fixed
  • Removed hover state for header logos with no link

v0.1.56

28 May 08:34
9acdaf5
Compare
Choose a tag to compare
v0.1.56 Pre-release
Pre-release

Fixed

  • application.css file no longer included when using the prototype kit

v0.1.55

28 May 08:17
0229c8f
Compare
Choose a tag to compare
v0.1.55 Pre-release
Pre-release

Added

  • New accordion and details components added
  • Card images can be loaded lazily with lazyImage

Changed

  • Standard application.css file will be included when using the prototype kit

Fixed

  • Fixed spacing in nested lists
  • Small images in hero components on smaller devices now fill the width of the component
  • Prototype kit asset paths fixed

v0.1.54

13 May 14:51
ee84953
Compare
Choose a tag to compare
v0.1.54 Pre-release
Pre-release

Changed

  • assetPath now requires a trailing slash

Fixed

  • Fixed issues with some templates, particularly around the theme selection

v0.1.53

13 May 12:15
7f962d4
Compare
Choose a tag to compare
v0.1.53 Pre-release
Pre-release

Added

  • Footer component can now contain an optional theme selector which requires the component to have the TNA cookies library initialised
  • Hero components have a new split layout option

Changed

  • Removed single content property in hero components in favour of separate fields (i.e. title, text/body)
  • Nested unordered lists use the same marker
  • The cookie library is now a singleton
  • The analytics library instance is saved to the window object
  • Improved typeface definitions and includes
  • Yellow buttons are now brown to meet WCAG Success Criterion 1.4.11 (Non-text Contrast - Level AA)
  • Box shadow added to picture components

Fixed

  • Date search component text updated to use the defined detail font