🎉 Initial release of the NHS App Frontend
A collection of HTML, CSS, Nunjucks templates and guidance for the NHS App. Built on top of the nhsuk-frontend styles.
- Badge
- Bottom navigation (native)
- Card links
- Section heading
- Tag
- Timeline
- Top Navigation (native)
Minor updates to guidance
- Summary list now supports a two column display on mobile
- Button enhancements. Extending the
nhsuk-frontend
button styling to support default full width buttons on mobile.
Create symlink to docs/_includes
so that the docs can include anything in src
Prefixed all Nunjucks macros with nhsapp
.
>card
nhsappCard
Updates to guidance and the microsite
Card link with badge accessibility fix. Added option to provide aria-hidden
to the badge when used with the card link. Plus, changed the badge HTML from a span
to a p
. This fixes issues we saw with MacOS Voiceover.
- The card component now supports a footer section. The guidance for this will be coming very soon after this release
- The card component now supports a "read only" view. The chevron icon is hidden and the title is no longer a link
- Badge count now displaying correctly when value is 1
- Cards in combination with a section heading spacing now fixed
- Added missing card param to Nunjucks macro
linkAriaLabel
New icons added. See full commit for list of icons.