Releases: nationalarchives/tna-frontend
Releases · nationalarchives/tna-frontend
v0.2.0
Changed
- Increased maximum depth of contents sidebar to three levels
- Removed the redundant
role
attribute from<fieldset>
of the date input component - Allow each item in a checkboxes component to have a
name
attribute that will override the mainname
- Renamed "files" component to "files list" (
files
->files-list
,tnaFiles()
->tnaFilesList()
) - Renamed "featured records" component to "records list" (
featured-records
->records-list
,tnaFeaturedRecords()
->tnaRecordsList()
) - SCSS mixin
colour.light
changed tocolour.always-light
- Index grid items within contrast blocks are now accented
- Colour variables
--button-accent-text
and--button-accent-background
have changed to--button-accented-text
and--button-accented-background
- Colour variable
form-error
split intoform-error-border
andform-error-text
- Moved the grid component to utilities
Deprecated
- Removed
colour.plain
SCSS mixin
Removed
- Removed search filters component
- Removed sensitive image component
- Removed
width: 100%;
reset of<video>
and<canvas>
elements
Fixed
- Added missing space above files list
- Fixed alignment of warning text when a short body is used
- Incorrect
aria-labeledby
attribute changed toaria-labelledby
in gallery items - Add better labels for buttons in gallery component
v0.1.65
Added
- New files list component
.tna-!--hide-on-print
class added for hiding elements when printing- Separate print stylesheet
- Buttons can now include an SVG icon
- Package now includes config files for Babel, ESLint, HTML-validate and Stylelint
Changed
- Refactored gallery component
- Allow the size of the heading in the sidebar component to be changed
- Refactored accordion component for better accessibility
- Picture transcripts are hidden with
until-found
- Open all accordion items and details elements when printing
- Changed
heading
property of sidebar components totitle
Removed
- Removed all print styles from
all.css
Fixed
- Fixed
aria-controls
property of accordion buttons - All component attributes can now have blank values
v0.1.64
v0.1.63
v0.1.62
Changed
- The default
headingSize
for cards has changed froms
tom
- 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
v0.1.60
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 totypography.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
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
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 generictna-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
Added
- Index grids can now have supertitles,
hrefClasses
andhrefAttributes
- 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 tohref
- 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