v0.4.0
Pre-release
Pre-release
Added
- Optional
data-tnacookiesdomain
anddata-tnacookiespath
attributes on the<html>
element can be used to define the domain and path for cookies - Analytics added for breadcrumbs and gallery components
- Allowed the document scope of an
EventTracker
instance to be changed - Gallery components are unbounded by default but can have a background with
bounded: true
Changed
- Shifted and split hero components no longer assume a contrasted background by default
marketing
has been added to the default list of cookie policies- Added a
tna-large-paragraph--bold
to change the weight and colourtna-large-paragraph
Deprecated
- Removed the records list component
Fixed
- Remove bottom margin of shifted hero components on smaller devices
- Fixed
getXPathTo
on analytics helpers if the element has no parent node - Changed the incorrect
aria-selected
attribute on gallery items toaria-current