Commit dd6088d
Bump @x-govuk/govuk-prototype-components from 3.0.9 to 4.0.0 (#331)
Bumps
[@x-govuk/govuk-prototype-components](https://github.com/x-govuk/govuk-prototype-components)
from 3.0.9 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/x-govuk/govuk-prototype-components/releases"><code>@x-govuk/govuk-prototype-components</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h2>Breaking changes</h2>
<ul>
<li>
<p>Removes the primary navigation component. Use the <a
href="https://design-system.service.gov.uk/components/service-navigation/">service
navigation component</a> in the GOV.UK Design System to help users
navigate to the main sections of your service.</p>
</li>
<li>
<p>Minified JavaScript file is now provided at
<code>/dist/govuk-prototype-components.min.js</code>.</p>
</li>
<li>
<p>The location of SCSS files has changed. For all components, update
your import statement to:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
+ @import
"node_modules/@x-govuk/govuk-prototype-components/src/x-govuk"
</code></pre>
<p>For individual components, update your import statements to:</p>
<pre lang="diff"><code>- @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";"
</code></pre>
</li>
</ul>
<h2>New features</h2>
<ul>
<li>
<p>Adds support for <a
href="https://sass-lang.com/documentation/modules/">Sass modules</a> and
<code>pkg:</code> importing. You can now import component styles into
your project like so:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
+ @import "pkg:@x-govuk/govuk-prototype-components"
</code></pre>
<p>For individual components, use the following:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/components/masthead/masthead";
+ @import
"pkg:@x-govuk/govuk-prototype-components/masthead";"
</code></pre>
</li>
</ul>
<hr />
<p><a
href="https://github.com/x-govuk/govuk-prototype-components/compare/v3.1.0...v4.0.0">https://github.com/x-govuk/govuk-prototype-components/compare/v3.1.0...v4.0.0</a></p>
<h2>v4.0.0 (Pre-release 1)</h2>
<ul>
<li>Add prototype kit template for secondary navigation 47e8e6c</li>
<li>Fix main and module entrypoints in <code>package.json</code>
92a9ec5</li>
<li>Add <code>git+</code> prefix to package repository URL be11ad7</li>
<li>Update sourcemap for distributed file 5fab4a3</li>
</ul>
<hr />
<p><a
href="https://github.com/x-govuk/govuk-prototype-components/compare/v4.0.0-0...v4.0.0-1">https://github.com/x-govuk/govuk-prototype-components/compare/v4.0.0-0...v4.0.0-1</a></p>
<h2>v4.0.0 (Pre-release 0)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/x-govuk/govuk-prototype-components/blob/main/docs/release-notes.md"><code>@x-govuk/govuk-prototype-components</code>'s
changelog</a>.</em></p>
<blockquote>
<hr />
<h2>layout: sub-navigation
order: 1
title: Release notes</h2>
<p>This page documents the changes in major and minor releases,
including upgrade notes. See <a
href="https://github.com/x-govuk/govuk-prototype-components/releases">release
notes on GitHub</a> for full details of patch releases.</p>
<p>[[toc]]</p>
<h2>Version 4.0</h2>
<p>May 2025</p>
<h3>Breaking changes</h3>
<ul>
<li>
<p>Removes the primary navigation component. Use the <a
href="https://design-system.service.gov.uk/components/service-navigation/">service
navigation component</a> in the GOV.UK Design System to help users
navigate to the main sections of your service.</p>
</li>
<li>
<p>Minified JavaScript file is now provided at
<code>/dist/govuk-prototype-components.min.js</code>.</p>
</li>
<li>
<p>The location of SCSS files has changed. For all components, update
your import statement to:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
+ @import
"node_modules/@x-govuk/govuk-prototype-components/src/x-govuk"
</code></pre>
<p>For individual components, update your import statements to:</p>
<pre lang="diff"><code>- @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";"
</code></pre>
</li>
</ul>
<h3>New features</h3>
<ul>
<li>
<p>Adds support for <a
href="https://sass-lang.com/documentation/modules/">Sass modules</a> and
<code>pkg:</code> importing. You can now import component styles into
your project like so:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
+ @import "pkg:@x-govuk/govuk-prototype-components"
</code></pre>
<p>For individual components, use the following:</p>
<pre lang="diff"><code>- @import
"node_modules/@x-govuk/govuk-prototype-components/x-govuk/components/masthead/masthead";
+ @import
"pkg:@x-govuk/govuk-prototype-components/masthead";"
</code></pre>
</li>
</ul>
<h2>Version 3.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/828ab5192ac3e4cba9fa5efcc0f4df6e8ab58303"><code>828ab51</code></a>
4.0.0</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/2249493a8397f2f3ccd5c2a954b75d1a9c9c7c35"><code>2249493</code></a>
Update icon paths</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/1643bb975af6ff4bccd42490a3b8e649dddcf003"><code>1643bb9</code></a>
Use correct GOV.UK brand colour in illustration</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/d6a2c85b2c48099b33752aa9e1307b754eac2b36"><code>d6a2c85</code></a>
4.0.0-1</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/dce574156b997f2b5b73cbe762aea2b3dab1f0bc"><code>dce5741</code></a>
Add prototype kit template for secondary navigation</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/6feb635b356bd4e98ed145ede8fdef39dee67882"><code>6feb635</code></a>
Fix main and module entrypoints in package.json</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/58c4cc4e4b00aad2263d6728797a1ff9d4079a36"><code>58c4cc4</code></a>
Add git_ prefix to package repository URL</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/3577c5f4c01832d332d089ff69b85b40258b021c"><code>3577c5f</code></a>
Update sourcemap for distributed file</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/d8f0548057d79f08c17857825742c8a0d26ec108"><code>d8f0548</code></a>
4.0.0-0</li>
<li><a
href="https://github.com/x-govuk/govuk-prototype-components/commit/20bb406a171a2a729f9f9b9b26aac9bd960b6cd2"><code>20bb406</code></a>
Update rimraf and stylelint-order dependencies</li>
<li>Additional commits viewable in <a
href="https://github.com/x-govuk/govuk-prototype-components/compare/v3.0.9...v4.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Frankie Roberto <[email protected]>1 parent 116b463 commit dd6088d
3 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments