Skip to content

Bump nhsuk-frontend from 10.4.2 to 10.5.2#30

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps nhsuk-frontend from 10.4.2 to 10.5.2.

Release notes

Sourced from nhsuk-frontend's releases.

v10.5.2

10.5.2 - 8 June 2026

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

🗑️ Deprecated features

Rename Sass mixins for font weights

We've renamed Sass mixins for font weights. You can still use the previous names but we'll remove them in a future breaking release.

If you use Sass and you've used the following Sass mixins:

  • replace nhsuk-typography-weight-normal with nhsuk-font-weight-normal
  • replace nhsuk-typography-weight-bold with nhsuk-font-weight-bold
  .app-component {
    display: block;
-   @include nhsuk-typography-weight-bold;
+   @include nhsuk-font-weight-bold;
    @include nhsuk-responsive-margin(4, "bottom");
  }

The previous names are deprecated and will be removed in a future release.

This change was introduced in [pull request #1962: Add code and monospace font utilities](nhsuk/nhsuk-frontend#1962).

🔧 Fixes

In [pull request #1962: Add code and monospace font utilities](nhsuk/nhsuk-frontend#1962) we've added missing Sass mixins and HTML classes. You can now style codes and sequences (such as NHS numbers) by adding the nhsuk-u-font-code HTML class, or by including the Sass mixin for custom components:

.app-component__element {
  @include nhsuk-font-code;
}

To render text with a monospace font you can add the nhsuk-u-font-monospace HTML class, or by including the corresponding nhsuk-font-monospace Sass mixin.

We've made fixes to NHS.UK frontend in the following pull requests:

v10.5.1

10.5.1 - 3 June 2026

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

... (truncated)

Changelog

Sourced from nhsuk-frontend's changelog.

10.5.2 - 8 June 2026

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

🗑️ Deprecated features

Rename Sass mixins for font weights

We've renamed Sass mixins for font weights. You can still use the previous names but we'll remove them in a future breaking release.

If you use Sass and you've used the following Sass mixins:

  • replace nhsuk-typography-weight-normal with nhsuk-font-weight-normal
  • replace nhsuk-typography-weight-bold with nhsuk-font-weight-bold
  .app-component {
    display: block;
-   @include nhsuk-typography-weight-bold;
+   @include nhsuk-font-weight-bold;
    @include nhsuk-responsive-margin(4, "bottom");
  }

The previous names are deprecated and will be removed in a future release.

This change was introduced in [pull request #1962: Add code and monospace font utilities](nhsuk/nhsuk-frontend#1962).

🔧 Fixes

In [pull request #1962: Add code and monospace font utilities](nhsuk/nhsuk-frontend#1962) we've added missing Sass mixins and HTML classes. You can now style codes and sequences (such as NHS numbers) by adding the nhsuk-u-font-code HTML class, or by including the Sass mixin for custom components:

.app-component__element {
  @include nhsuk-font-code;
}

To render text with a monospace font you can add the nhsuk-u-font-monospace HTML class, or by including the corresponding nhsuk-font-monospace Sass mixin.

We've made fixes to NHS.UK frontend in the following pull requests:

10.5.1 - 3 June 2026

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

🔧 Fixes

... (truncated)

Commits
  • 67bf2f6 Merge pull request #1962 from nhsuk/add-code-modifier-class
  • 2dd57bb Add changelog entry
  • 542e138 Prefer Sass font mixins
  • 89a122e Deprecate Sass typography weight mixins
  • 3d9ca90 Move changelog entry to fixes
  • 81521c9 Update reference images
  • 2c7b7f3 Update typography example
  • 8bc8203 Update inputs with code to restore default word-spacing
  • 5d72d8c Update inputs with code to use nhsuk-font-code
  • 626766f Add CSS utility class nhsuk-u-font-code with Sass mixin nhsuk-font-code
  • 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.2.
- [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.2)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 10.5.2
  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 9, 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