v8.1.0
8.1.0 - 11 January 2024
🔧 Fixes
- Updated header component unit tests (PR 900).
- Fixed bug where the header didn't align with the main width container (PR 902). This fixes Issue 901
- Clicking the chevron image on a 'Primary Card (With Chevron)' card element now focuses the link (PR 905).
- Added font licensing guidance to the relevant package READMEs and updated the copyright guidance to include NHS England (PR 915).
🆕 New features
- Add and export new
initAll
method innhsuk.js
, and pass document by default, but allowing smaller DOM scopes to be passed. This allows new nhsuk-frontend JS components to be initialised after page load, such as in new pieces of DOM added by JavaScript.