Releases: nationalarchives/tna-frontend
Releases · nationalarchives/tna-frontend
v0.1.16-prerelease
Added
- New skip link component
- Breadcrumbs have non-collapsable option
colour.colour-border()
has support for extra optional parameters -$width
,$style
and$direction
- Brand colours can be retrieved with the helper
colour.brand-colour()
Changed
- Restructured brand colour variables
package-lock.json
andLICENCE
added to the npm package- Additional
<div>
added to breadcrumbs for layout purposes
Removed
- Removed extra gutter on mobile grid
- Card heading sizes can no longer be changed
v0.1.15-prerelease
Added
- Override classes available e.g.
tna-!--no-margin-bottom
andtna-!__padding-top--s
- Accent colour can be changed with
:root { --accent: #bada55; }
Changed
- Improvements to high contrast themes
- Full-height layouts need a
#main-content[role="main"]
rather than just a#main[role="main"]
- Added
role="button"
to all TNA buttons - Allow collapsed breadcrumbs to be expanded on mobile devices
- Body font (Open Sans) weight changed from
400
to500
- Index grid changed to
<ul>
- Index grid header requires an object of
title
,level
and optionally,size
(default "l") - Card images are now wrapped in
<a>
elements - Images in normal card and mobile feature cards are fixed to a 3:2 ratio
Fixed
- Featured cards fixed for mobile layouts
v0.1.14-prerelease
Changed
- Simplified SCSS for inverted colours and introduced contrasting option
Fixed
- Default colour scheme works without having to define a theme class on
tna-template
- Fixed top navigation layout in header when on mobile with no JavaScript enabled
v0.1.13-prerelease
Added
- Automated accessibility testing for all stories
- Support for colour schemes
- Initial release of index-grid and message components
- Footer link to GOV.UK added (https://www.gov.uk/)
- Full-height layouts for pages with a
.tna-header
,.tna-footer
and#main[role="main"]
Changed
- Breadcrumbs collapse to first and last item on mobile (as per GOV.UK breadcrumbs)
- Increased padding on top and bottom of footer
- Exit link and top navigation font-size decreased to 16px
- Better outline on hover of TNA logo in the header
- Phase banner title is first-letter Capitalised rather than all CAPITALISED
- Altered weight of Roboto Mono (500 -> 400)
- Altered weight of Supria sans condensed (600 -> 400)
- Reduced bottom margin of all
.tna-heading
elements - Increased contrast between "normal" and "light" fonts
- Updates to
_generic
layout template
Removed
- Removed
package:test
npm script
Fixed
- Breadcrumb visited link colour
- Header logo text visited link colour
aria-label
added to breadcrumb nav for accessibility compliance
v0.1.12-prerelease
Changed
- Updated dependencies
v0.1.11-prerelease
Added
- Footer component moved out of work in progress ready to test in beta
- Hero component has a small amount of support for users who prefer more contrast
Changed
- Removed vendor-specific CSS values for IE10 from grid classes (
display: -ms-flexbox;
) - Hero component background images now require a width and height
Fixed
- The fallback font family for
supria-sans-condensed
was changed tosans-serif
rather thanmonospace
v0.1.10-prerelease
Added
- JavaScript adds helper classes to the document
v0.1.9-prerelease
Fixed
- Hero component styling inline with ETNA
v0.1.8-prerelease
0.1.8-prerelease
v0.1.7-prerelease
Fix CI