nhsuk-frontend
Advanced tools
Changelog
0.5.0 (Prerelease) - 7 December 2018
:boom: Breaking changes
Utility classes - Utility classes should be prefixed with nhsuk-u-
rather than nhsuk-!-
. (PR 282)
If you are using any utility classes in your HTML, such as spacing, width or typography overrides, you need to update your HTML classes from
nhsuk-!-
to nhsuk-u-
.
You can find out more about utility class usage in the utility class documentation.
:wrench: Fixes
homeHref
argument. Also have the logo show by default with the ability to hide it using the showLogo
argument. (PR 278)Changelog
0.4.0 (Prerelease) - 3 December 2018
:boom: Breaking changes
Breadcrumb - Updated nunjucks macro so now you do not need duplicate entries for it to work (PR 276)
Use the latest Breadcrumb nunjucks macro arguments and Breadcrumb HTML markup in your app.
Care card - Change the way triangle is generated in care cards for accessiblity purposes (PR 269)
Use the latest Care card HTML markup in your app.
:wrench: Fixes
Changelog
0.3.0 (Prerelease) - 3 December 2018
:boom: Breaking changes
Footer - Nunjucks macro arguments no longer contains secondaryLinks
only primaryLinks
(PR 208)
Use the latest Footer nunjucks macro arguments and Footer HTML markup in your app.
List panel - Put each list panel in a list item (PR 262)
Use the latest List panel nunjucks macro arguments and List panel HTML markup
Pagination - Update pagination markup and styling (PR 263)
Use the latest Pagination nunjucks macro arguments and Pagination HTML markup
:new: New features
Changelog
0.2.0 (Prerelease) - 27 November 2018
:boom: Breaking changes
Breadcrumb - Refactor breadcrumb SVG icons to background images. (PR 246)
Use the latest Breadcrumb HTML markup in your app.
Care card - Rename care cards to non-urgent, urgent and immediate. (PR 252)
Use the latest Care card HTML markup in your app.
Do & don't list - Rename check list to tick, update Nunjucks parameters. (PR 248)
Use the latest Do & don't list HTML markup in your app.
:wrench: Fixes
Changelog
0.1.6 (Prerelease) - 22 November 2018
:wrench: Fixes
nhsuk.min.js
within the packages folder for npm. It is now included.Changelog
0.1.4 (Prerelease) - 13 November 2018
:tada: Initial release of the NHS.UK frontend