Skip to content

Bump nhsuk-frontend from 10.4.2 to 10.5.1#26

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.5.1
Open

Bump nhsuk-frontend from 10.4.2 to 10.5.1#26
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps nhsuk-frontend from 10.4.2 to 10.5.1.

Release notes

Sourced from nhsuk-frontend's releases.

v10.5.1

10.5.1 - 3 June 2026

Note: This release was created from the support/10.x branch.

🔧 Fixes

v10.5.0

10.5.0 - 2 June 2026

Note: This release was created from the support/10.x branch.

🆕 New features

New search input component

We've added a new search input component.

To use the searchInput Nunjucks macro in your service:

{{ searchInput({
  label: {
    text: "Find session"
  },
  name: "search",
  width: 10
}) }}

If you are not using Nunjucks macros, use the HTML markup from the search input examples in the NHS digital service manual.

This change was introduced in [pull request #1660: Add search input component](nhsuk/nhsuk-frontend#1660).

Improved character count counting

We've added a new countType option to the character count component to enable improved counting with Intl.Segmenter.

This feature was introduced because JavaScript counts String: length in code units not characters, for example:

String Length Remarks
cafȩ́ 5 The character ȩ́ counted as 2 code units
cafȩ́ 5 The character ȩ with combining mark ́ counted as 2 code units
cafȩ́ 6 The character e with combining marks ́ and ̧ counted as 3 code units
😹 2 The cat emoji counted as 2 code units
👩🏻‍🚀 7 The astronaut emoji with gender and skin modifiers counted as 7 code units

... (truncated)

Changelog

Sourced from nhsuk-frontend's changelog.

10.5.1 - 3 June 2026

Note: This release was created from the support/10.x branch.

🔧 Fixes

10.5.0 - 2 June 2026

Note: This release was created from the support/10.x branch.

🆕 New features

New search input component

We've added a new search input component.

To use the searchInput Nunjucks macro in your service:

{{ searchInput({
  label: {
    text: "Find session"
  },
  name: "search",
  width: 10
}) }}

If you are not using Nunjucks macros, use the HTML markup from the search input examples in the NHS digital service manual.

This change was introduced in [pull request #1660: Add search input component](nhsuk/nhsuk-frontend#1660).

Improved character count counting

We've added a new countType option to the character count component to enable improved counting with Intl.Segmenter.

This feature was introduced because JavaScript counts String: length in code units not characters, for example:

String Length Remarks
cafȩ́ 5 The character ȩ́ counted as 2 code units
cafȩ́ 5 The character ȩ with combining mark ́ counted as 2 code units
cafȩ́ 6 The character e with combining marks ́ and ̧ counted as 3 code units
😹 2 The cat emoji counted as 2 code units
👩🏻‍🚀 7 The astronaut emoji with gender and skin modifiers counted as 7 code units

Similarly when counting words, "my mother-in-law" is now counted as 4 (not 2) words to correctly follow the Unicode Default Word Boundary Specification.

... (truncated)

Commits
  • ddd8147 Merge pull request #1954 from nhsuk/focus-icons
  • 73cfecc Update package version to v10.5.1
  • 4212c22 Add changelog entry
  • 6ea246f Apply current pagination item border in high contrast mode
  • ed8e8a4 Add default icon alignment
  • 77dec00 Add default high-constrast colours to link mixins
  • 995406d Prefer mixin nhsuk-link-style-default
  • d09669a Fix non-reverse action links in emergency care cards
  • 9dfeb53 Apply highlight.js diff styles in high contrast mode
  • cb69f0d Apply hover styles to buttons in high contrast mode
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nhsuk-frontend](https://github.com/nhsuk/nhsuk-frontend) from 10.4.2 to 10.5.1.
- [Release notes](https://github.com/nhsuk/nhsuk-frontend/releases)
- [Changelog](https://github.com/nhsuk/nhsuk-frontend/blob/main/CHANGELOG.md)
- [Commits](nhsuk/nhsuk-frontend@v10.4.2...v10.5.1)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 10.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants