Skip to content

Bump nhsuk-frontend from 8.3.0 to 9.4.1#30

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-9.4.1
Closed

Bump nhsuk-frontend from 8.3.0 to 9.4.1#30
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-9.4.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 23, 2025

Bumps nhsuk-frontend from 8.3.0 to 9.4.1.

Release notes

Sourced from nhsuk-frontend's releases.

v9.4.1

9.4.1 - 22 April 2025

🔧 Fixes

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

9.4.0 - 22 April 2025

(Fix required, jump to v9.4.1)

🆕 New features

Include a page template

A Nunjucks page template is now included within the npm package. See Page template for documentation on the supported options.

New options added to the template are:

  • htmlLang - for setting the language of the page, defaults to en (English)
  • htmlAttributes - allows you to set any extra attributes on the <html> element

This was added in [pull request #1186: Add page template](nhsuk/nhsuk-frontend#1186).

Stop long words breaking out of components with nhsuk-u-text-break-word

We've added a new override class to help display long or unpredictable words on narrow screens, such as an email address entered by a user.

Wrapping content with the nhsuk-u-text-break-word class or applying it to table cells will force words that are too long to break onto a new line.

A confirmation email will be sent to <span class="nhsuk-u-text-break-word">aleksandrina.featherstonehaughwhitehead23@folkestonepharmacy.test.com</span>.

Sass users can also use the nhsuk-text-break-word mixin.

This change was introduced in [pull request #1061: Add break-word typography helper](nhsuk/nhsuk-frontend#1061).

Add classes and attributes to table cells

You can now add classes and attributes to table cells, for example using the break-word typography helper:

{{ table({
  caption: "Users",
  head: [
    {
      text: "Name"
</tr></table> 

... (truncated)

Changelog

Sourced from nhsuk-frontend's changelog.

9.4.1 - 22 April 2025

🔧 Fixes

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

9.4.0 - 22 April 2025

🆕 New features

Include a page template

A Nunjucks page template is now included within the npm package. See Page template for documentation on the supported options.

New options added to the template are:

  • htmlLang - for setting the language of the page, defaults to en (English)
  • htmlAttributes - allows you to set any extra attributes on the <html> element

This was added in [pull request #1186: Add page template](nhsuk/nhsuk-frontend#1186).

Stop long words breaking out of components with nhsuk-u-text-break-word

We've added a new override class to help display long or unpredictable words on narrow screens, such as an email address entered by a user.

Wrapping content with the nhsuk-u-text-break-word class or applying it to table cells will force words that are too long to break onto a new line.

A confirmation email will be sent to <span class="nhsuk-u-text-break-word">aleksandrina.featherstonehaughwhitehead23@folkestonepharmacy.test.com</span>.

Sass users can also use the nhsuk-text-break-word mixin.

This change was introduced in [pull request #1061: Add break-word typography helper](nhsuk/nhsuk-frontend#1061).

Add classes and attributes to table cells

You can now add classes and attributes to table cells, for example using the break-word typography helper:

{{ table({
  caption: "Users",
  head: [
    {
      text: "Name"
    },
    {
      text: "Email address"
</tr></table> 

... (truncated)

Commits
  • f6e03c4 Merge pull request #1250 from nhsuk/browser-install
  • f22c894 Remove unnecessary --ignore-scripts from install
  • 1ff32a8 Split out browser install scripts
  • 5f196f7 Merge pull request #1249 from nhsuk/changelog
  • 14377a3 Add changelog entry
  • a182a45 Update package version
  • d55ba09 Merge pull request #1248 from nhsuk/postinstall
  • 4fe3824 Set up Playwright in development only
  • 6140594 Merge pull request #1246 from nhsuk/update_packages
  • 77c5673 Update package version
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 8.3.0 to 9.4.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@v8.3.0...v9.4.1)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 9.4.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Apr 23, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 14, 2025

Superseded by #33.

@dependabot dependabot bot closed this May 14, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nhsuk-frontend-9.4.1 branch May 14, 2025 11:33
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