Skip to content

Commit 4c245ab

Browse files
Bump nhsuk-frontend from 10.1.0 to 10.2.2 (#568)
Bumps [nhsuk-frontend](https://github.com/nhsuk/nhsuk-frontend) from 10.1.0 to 10.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nhsuk/nhsuk-frontend/releases">nhsuk-frontend's releases</a>.</em></p> <blockquote> <h2>v10.2.2</h2> <h2>10.2.2 - 4 December 2025</h2> <p>Note: This release was created from the <code>support/10.x</code> branch.</p> <h3>:wrench: <strong>Fixes</strong></h3> <ul> <li><a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1731">#1731: Fix Nunjucks <code>describedBy</code> empty string handling</a></li> </ul> <h2>v10.2.1</h2> <h2>10.2.1 - 2 December 2025</h2> <p>Note: This release was created from the <code>support/10.x</code> branch.</p> <h3>:wrench: <strong>Fixes</strong></h3> <ul> <li><a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1726">#1726: Fix card modifier scope to allow nested cards</a></li> </ul> <h2>v10.2.0</h2> <h2>10.2.0 - 1 December 2025</h2> <h3>:new: <strong>New features</strong></h3> <h4>Use the password input component to help users accessibly enter passwords</h4> <p>The <a href="https://service-manual.nhs.uk/design-system/components/password-input">password input component</a> allows users to choose:</p> <ul> <li>whether their passwords are visible or not</li> <li>to enter their passwords in plain text</li> </ul> <p>This helps users use longer and more complex passwords without needing to remember what they've already typed.</p> <p>This was added in [pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1574">#1574</a>: Uplift GOV.UK Frontend password input component](<a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1574">nhsuk/nhsuk-frontend#1574</a>).</p> <h4>Smaller versions of buttons</h4> <p>You can now use smaller versions of <a href="https://service-manual.nhs.uk/design-system/components/buttons">buttons</a> by adding the <code>nhsuk-button--small</code> class.</p> <p>This was added in [pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1643">#1643</a>: Add small buttons and inline form groups](<a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1643">nhsuk/nhsuk-frontend#1643</a>).</p> <h4>Add inline buttons to text inputs and select menus</h4> <p>You can now add inline buttons to text inputs and select menus using the <code>formGroup.afterInput</code> Nunjucks options.</p> <pre lang="njk"><code>{{ input({ formGroup: { afterInput: { html: button({ text: &quot;Search&quot;, &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nhsuk/nhsuk-frontend/blob/main/CHANGELOG.md">nhsuk-frontend's changelog</a>.</em></p> <blockquote> <h2>10.2.2 - 4 December 2025</h2> <p>Note: This release was created from the <code>support/10.x</code> branch.</p> <h3>:wrench: <strong>Fixes</strong></h3> <ul> <li><a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1731">#1731: Fix Nunjucks <code>describedBy</code> empty string handling</a></li> </ul> <h2>10.2.1 - 2 December 2025</h2> <p>Note: This release was created from the <code>support/10.x</code> branch.</p> <h3>:wrench: <strong>Fixes</strong></h3> <ul> <li><a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1726">#1726: Fix card modifier scope to allow nested cards</a></li> </ul> <h2>10.2.0 - 1 December 2025</h2> <h3>:new: <strong>New features</strong></h3> <h4>Use the password input component to help users accessibly enter passwords</h4> <p>The <a href="https://service-manual.nhs.uk/design-system/components/password-input">password input component</a> allows users to choose:</p> <ul> <li>whether their passwords are visible or not</li> <li>to enter their passwords in plain text</li> </ul> <p>This helps users use longer and more complex passwords without needing to remember what they've already typed.</p> <p>This was added in [pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1574">#1574</a>: Uplift GOV.UK Frontend password input component](<a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1574">nhsuk/nhsuk-frontend#1574</a>).</p> <h4>Smaller versions of buttons</h4> <p>You can now use smaller versions of <a href="https://service-manual.nhs.uk/design-system/components/buttons">buttons</a> by adding the <code>nhsuk-button--small</code> class.</p> <p>This was added in [pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1643">#1643</a>: Add small buttons and inline form groups](<a href="https://redirect.github.com/nhsuk/nhsuk-frontend/pull/1643">nhsuk/nhsuk-frontend#1643</a>).</p> <h4>Add inline buttons to text inputs and select menus</h4> <p>You can now add inline buttons to text inputs and select menus using the <code>formGroup.afterInput</code> Nunjucks options.</p> <pre lang="njk"><code>{{ input({ formGroup: { afterInput: { html: button({ text: &quot;Search&quot;, classes: &quot;nhsuk-button--small&quot; }) } &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/4acba61808cf9606438318a22995562c130b57a7"><code>4acba61</code></a> Merge pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1732">#1732</a> from nhsuk/release-v10.2.2</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/9e1406902627a7741881bf38fcba62f61b7498b1"><code>9e14069</code></a> Merge pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1731">#1731</a> from nhsuk/aria-describedby-empty</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/e49d21ab8a8b6b02e31d93d98aeb84f3ec811e81"><code>e49d21a</code></a> Update package version to v10.2.2</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/c138c0cd30e5474de89ece18269c3601e5768727"><code>c138c0c</code></a> Add changelog entry</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/bf519f1c0b940647ab80148e60b7d0f2c50d7802"><code>bf519f1</code></a> Move attribute loops to <code>nhsukAttributes()</code> macro</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/2b17a3ff050168839f3f3df1a6421503346200dc"><code>2b17a3f</code></a> Fix Nunjucks <code>describedBy</code> empty string handling</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/fe97646b4d0aae55e95685d4edefbe9bc184179b"><code>fe97646</code></a> Trim Nunjucks <code>describedBy</code> empty spaces</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/4fc7e4e12ac286aff9cc4735837e21d429717adf"><code>4fc7e4e</code></a> Always set Nunjucks <code>describedBy</code> as a string</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/771b62cfa0d2b5ab21b82f5d30f8b20c35cec26f"><code>771b62c</code></a> Merge pull request <a href="https://redirect.github.com/nhsuk/nhsuk-frontend/issues/1727">#1727</a> from nhsuk/release-v10.2.1</li> <li><a href="https://github.com/nhsuk/nhsuk-frontend/commit/ddced125695cd86520025e2bf33e09888851b5af"><code>ddced12</code></a> Update package version to v10.2.1</li> <li>Additional commits viewable in <a href="https://github.com/nhsuk/nhsuk-frontend/compare/v10.1.0...v10.2.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for nhsuk-frontend since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nhsuk-frontend&package-manager=npm_and_yarn&previous-version=10.1.0&new-version=10.2.2)](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 6c24e8d commit 4c245ab

File tree

2 files changed

+423
-88
lines changed

2 files changed

+423
-88
lines changed

0 commit comments

Comments
 (0)