Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2025

Bumps @x-govuk/govuk-prototype-components from 3.0.9 to 5.0.1.

Release notes

Sourced from @​x-govuk/govuk-prototype-components's releases.

v5.0.1

  • Remove top padding for first sub navigation theme heading 23bcfcf
  • Update dependencies 5859fc3 b6a7974 92a0c41

x-govuk/govuk-prototype-components@v5.0.0...v5.0.1

v5.0.0

Breaking changes

  • The masthead component now uses a design with a lighter background by default. To reinstate the design with a darker background, add the x-govuk-masthead--inverse modifier class to the outer <div> element of the component HTML. Or if you’re using Nunjucks, add inverse: true to the Nunjucks macro.

  • The image in the masthead is no longer hidden on the tablet breakpoint and below. To reinstate this behaviour, add the x-govuk-masthead__image--hide-on-mobile modifier class to the outer <div> element that surrounds the image. Or if you’re using Nunjucks, add hideOnMobile: true to the image option in the Nunjucks macro.

Documentation

  • Update guidance about adapting service navigation when directly above masthead bfa7d3a
  • Remove guidance about removing bottom border from header when directly above masthead ab4322c
  • Correct path to iframeResizer 8097c13

x-govuk/govuk-prototype-components@v4.0.1...v5.0.0

v4.0.1

Fixes

  • Use govukAttributes macro in component templates e5ce5ca
  • Remove unneeded role="navigation" on <nav> elements 0cd8b0d
  • Update indenting for component markup 98ae5bf
  • Export Sass for individual components 1855f37

Chores

  • Update dependencies bfb92b5

Documentation

  • Ensure correct JavaScript files are copied to documentation site 72f9aad
  • Ensure prototype component scripts only init after DOMContentLoaded 245f76b
  • Fix script location for example layout 909d3fa
  • Fix link in service navigation on documentation site c7af2fd
  • Fix broken GitHub link by replacing git+ with an empty string 92b7cf4
  • Update release notes ff36aa0
  • Use final release of govuk-eleventy-plugin e9ad012

x-govuk/govuk-prototype-components@v4.0.0...v4.0.1

... (truncated)

Changelog

Sourced from @​x-govuk/govuk-prototype-components's changelog.


layout: sub-navigation order: 1 title: Release notes

This page documents the changes in major and minor releases, including upgrade notes. See release notes on GitHub for full details of patch releases.

[[toc]]

Version 5.0

June 2025

Breaking changes

  • The masthead component now uses a design with a lighter background by default. To reinstate the design with a darker background, add the x-govuk-masthead--inverse modifier class to the outer <div> element of the component HTML. Or if you’re using Nunjucks, add inverse: true to the Nunjucks macro.

  • The image in the masthead is no longer hidden on the tablet breakpoint and below. To reinstate this behaviour, add the x-govuk-masthead__image--hide-on-mobile modifier class to the outer <div> element that surrounds the image. Or if you’re using Nunjucks, add hideOnMobile: true to the image option in the Nunjucks macro.

Version 4.0

May 2025

Breaking changes

  • Removes the primary navigation component. Use the service navigation component in the GOV.UK Design System to help users navigate to the main sections of your service.

  • Minified JavaScript file is now provided at /dist/govuk-prototype-components.min.js.

  • The location of SCSS files has changed. For all components, update your import statement to:

    - @import "node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
    + @import "node_modules/@x-govuk/govuk-prototype-components/src/x-govuk"

    For individual components, update your import statements to:

    - @import "node_modules/@x-govuk/govuk-prototype-components/x-govuk/components/masthead/masthead";
    + @import "node_modules/@x-govuk/govuk-prototype-components/src/x-govuk/components/masthead";
  • The location of Nunjucks files has changed. Either update the path used in your templates:

    - {% raw %}{% from "node_modules/@x-govuk/govuk-prototype-components/x-govuk/components/masthead/macro.njk" import xGovukMasthead %}{% endraw %}
    + {% raw %}{% from "node_modules/@x-govuk/govuk-prototype-components/src/x-govuk/components/masthead/macro.njk" import xGovukMasthead %}{% endraw %}

    or update the your searchPaths array to point to the /src directory:

... (truncated)

Commits
  • c3a2e83 5.0.1
  • 5859fc3 Update dependencies
  • 23bcfcf Remove top padding for first sub navigation theme heading
  • 7108be1 Remove rebrand setting
  • da830a9 Hide homepage illustration on mobile
  • b6a7974 Update dependencies
  • 92a0c41 Update release notes
  • e603fd1 5.0.0
  • c0ce38f Add option to hide image in masthead on mobile
  • eb887e2 Update masthead component to support inverse and lighter background
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2025
Copy link

netlify bot commented Aug 1, 2025

Deploy Preview for govuk-form-builder failed.

Name Link
🔨 Latest commit 9b66f73
🔍 Latest deploy log https://app.netlify.com/projects/govuk-form-builder/deploys/68b40891762eef0008857e76

@peteryates
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 30, 2025

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@peteryates
Copy link
Member

@dependabot rebase

Bumps [@x-govuk/govuk-prototype-components](https://github.com/x-govuk/govuk-prototype-components) from 3.0.9 to 5.0.1.
- [Release notes](https://github.com/x-govuk/govuk-prototype-components/releases)
- [Changelog](https://github.com/x-govuk/govuk-prototype-components/blob/main/docs/release-notes.md)
- [Commits](x-govuk/govuk-prototype-components@v3.0.9...v5.0.1)

---
updated-dependencies:
- dependency-name: "@x-govuk/govuk-prototype-components"
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/guide/x-govuk/govuk-prototype-components-5.0.1 branch from eb68c1c to 9b66f73 Compare August 31, 2025 08:32
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2025

Superseded by #577.

@dependabot dependabot bot closed this Sep 1, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/guide/x-govuk/govuk-prototype-components-5.0.1 branch September 1, 2025 12:51
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.

1 participant