Skip to content

Bump nhsuk-frontend from 10.3.1 to 10.4.1#7

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.4.1
Open

Bump nhsuk-frontend from 10.3.1 to 10.4.1#7
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/nhsuk-frontend-10.4.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 19, 2026

Bumps nhsuk-frontend from 10.3.1 to 10.4.1.

Release notes

Sourced from nhsuk-frontend's releases.

v10.4.1

10.4.1 - 19 March 2026

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

🔧 Fixes

v10.4.0

10.4.0 - 18 March 2026

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

🆕 New features

Add a modifier class for header inline search or account links

We've added a new .nhsuk-header--inline class and inline Nunjucks option for the header component. This positions the search bar (or account links) inline with the NHS logo on small screens, depending on the length of your service name. For example:

  {{ header({
+   inline: true,
    account: {
      items: [
        {
          text: "Log in",
          href: "/log-in"
        }
      ]
    }
  }) }}

This was added in pull requests #1783: Add support for inline header search or account and #1801: Add Nunjucks options for components with modifier classes.

Add Nunjucks options for components with modifier classes

We've added a new variant Nunjucks option to action links, back links, buttons, breadcrumbs, panels and tables as a simpler alternative to the variant modifier classes. For example:

  {{ button({
    text: "Yes, delete this vaccine",
-   classes: "nhsuk-button--warning"
+   variant: "warning"
  }) }}

For modifiers that can exist together, these are now supported using boolean options, for example:

... (truncated)

Changelog

Sourced from nhsuk-frontend's changelog.

10.4.1 - 19 March 2026

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

🔧 Fixes

10.4.0 - 18 March 2026

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

🆕 New features

Add a modifier class for header inline search or account links

We've added a new .nhsuk-header--inline class and inline Nunjucks option for the header component. This positions the search bar (or account links) inline with the NHS logo on small screens, depending on the length of your service name. For example:

  {{ header({
+   inline: true,
    account: {
      items: [
        {
          text: "Log in",
          href: "/log-in"
        }
      ]
    }
  }) }}

This was added in pull requests #1783: Add support for inline header search or account and #1801: Add Nunjucks options for components with modifier classes.

Add Nunjucks options for components with modifier classes

We've added a new variant Nunjucks option to action links, back links, buttons, breadcrumbs, panels and tables as a simpler alternative to the variant modifier classes. For example:

  {{ button({
    text: "Yes, delete this vaccine",
-   classes: "nhsuk-button--warning"
+   variant: "warning"
  }) }}

For modifiers that can exist together, these are now supported using boolean options, for example:

  {{ radios({
</tr></table> 

... (truncated)

Commits
  • daae5fd Merge pull request #1860 from nhsuk/sourcemap-output
  • 44ba4c3 Update package version to v10.4.1
  • 6a32c35 Add changelog entry
  • 03b07f8 Restore source maps for CSS to CSS output
  • f58aa2c Merge pull request #1858 from nhsuk/release-v10.4.0
  • 10c5e63 Update package version to v10.4.0
  • abbbb17 Move code word break to component
  • a653215 Consolidate changes
  • 47a7204 Merge pull request #1854 from nhsuk/fix-nested-lists-in-contents-list
  • 82e7e7d Update reference images
  • 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.3.1 to 10.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@v10.3.1...v10.4.1)

---
updated-dependencies:
- dependency-name: nhsuk-frontend
  dependency-version: 10.4.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 Mar 19, 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