Skip to content

Bump nhsuk-frontend from 10.5.1 to 10.5.2#2

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.5.1 to 10.5.2#2
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 23, 2026

Copy link
Copy Markdown

Bumps nhsuk-frontend from 10.5.1 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:

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:

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 dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 23, 2026
Bumps [nhsuk-frontend](https://github.com/nhsuk/nhsuk-frontend) from 10.5.1 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.5.1...v10.5.2)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 10.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/nhsuk-frontend-10.5.2 branch from 5247316 to bb72106 Compare June 24, 2026 08:45
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