Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

v5.0.2

  • Provide distributable SCSS file for GOV.UK Prototype Kit, fixing duplicate GOV.UK Frontend styles being generated. Thanks to @​joelanman for reporting. 52c0277
  • Update dependencies 8745b95

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

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

... (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

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 [@x-govuk/govuk-prototype-components](https://github.com/x-govuk/govuk-prototype-components) from 3.0.9 to 5.0.2.
- [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.2)

---
updated-dependencies:
- dependency-name: "@x-govuk/govuk-prototype-components"
  dependency-version: 5.0.2
  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 Sep 1, 2025
Copy link

netlify bot commented Sep 1, 2025

Deploy Preview for govuk-form-builder failed.

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

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