Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps accessible-autocomplete from 2.0.4 to 3.0.1.

Release notes

Sourced from accessible-autocomplete's releases.

v3.0.1

Fixes

v3.0.0

Breaking changes

Verify your code does not rely on removed polyfills

Following on from our previous announcement, the accessible autocomplete code is no longer transpiled and polyfilled to support IE8-10.

However, because the polyfills create or extend global objects, you might have other code in your service unintentionally relying on the inclusion of these polyfills. You might need to introduce your own polyfills or rewrite your JavaScript to avoid using the polyfilled features.

This change was introduced in [pull request #612: Update packages, configs + Node.js 20](alphagov/accessible-autocomplete#612).

Check for minor visual changes in the rendering of the component

We've made some style adjustments to the stylesheet shipped with the component to make its colours, height, line-height and padding match those of the latest version of GOV.UK Frontend's <input>.

If you're using this stylesheet:

  • check if our style update affects the rendering of the component in your service, and adjust if necessary
  • if you were adding to the default style's to match GOV.UK Frontend's input, look for CSS declarations you may now be able to remove

This change was introduced in [pull request #644: Align CSS styles with GOV.UK Frontend](alphagov/accessible-autocomplete#644).

New features

Options to add classes to parts of the component

Use these new options to add your own classes to parts of the component:

  • inputClasses for the input element
  • hintClasses for the suggestion hint (input element appearing when the text typed by the user matches the start of an option)
  • menuClasses for the ul element listing the options

You can also add custom classes to the ul listing the options through the new menuAttributes option, providing a className or class property.

This change was introduced in:

New class on the component's status

Use the new autocomplete__status class in your CSS (or <CSS_NAMESPACE>__status if you set the cssNamespace option) to customise the styles of the component's status element (hidden element that makes announcements to assistive technologies).

This change was introduced in [pull request #620: Add className attribute to status component](alphagov/accessible-autocomplete#620). Thanks to @​lennym for contributing this change.

... (truncated)

Changelog

Sourced from accessible-autocomplete's changelog.

3.0.1 - 2024-09-12

Fixes

3.0.0 - 2024-04-19

Breaking changes

Verify your code does not rely on removed polyfills

Following on from our previous announcement, the accessible autocomplete code is no longer transpiled and polyfilled to support IE8-10.

However, because the polyfills create or extend global objects, you might have other code in your service unintentionally relying on the inclusion of these polyfills. You might need to introduce your own polyfills or rewrite your JavaScript to avoid using the polyfilled features.

This change was introduced in [pull request #612: Update packages, configs + Node.js 20](alphagov/accessible-autocomplete#612).

Check for minor visual changes in the rendering of the component

We've made some style adjustments to the stylesheet shipped with the component to make its colours, height, line-height and padding match those of the latest version of GOV.UK Frontend's <input>.

If you're using this stylesheet:

  • check if our style update affects the rendering of the component in your service, and adjust if necessary
  • if you were adding to the default style's to match GOV.UK Frontend's input, look for CSS declarations you may now be able to remove

This change was introduced in [pull request #644: Align CSS styles with GOV.UK Frontend](alphagov/accessible-autocomplete#644).

New features

Options to add classes to parts of the component

Use these new options to add your own classes to parts of the component:

  • inputClasses for the input element
  • hintClasses for the suggestion hint (input element appearing when the text typed by the user matches the start of an option)
  • menuClasses for the ul element listing the options

You can also add custom classes to the ul listing the options through the new menuAttributes option, providing a className or class property.

This change was introduced in:

New class on the component's status

Use the new autocomplete__status class in your CSS (or <CSS_NAMESPACE>__status if you set the cssNamespace option) to customise the styles of the component's status element (hidden element that makes announcements to assistive technologies).

... (truncated)

Commits
  • 8c7e687 ## 3.0.1 - 2024-09-12
  • 64a2079 Update CHANGELOG.md
  • ab9c7bd Merge pull request #734 from alphagov/dependabot/npm_and_yarn/caniuse-lite-1....
  • 0453c7a Merge pull request #732 from alphagov/dependabot/npm_and_yarn/tools-19942355c3
  • b3d8413 Bump caniuse-lite from 1.0.30001651 to 1.0.30001655
  • 923f267 Bump husky from 9.1.4 to 9.1.5 in the tools group
  • 5cd4854 Merge pull request #729 from alphagov/aria-labelledby-default
  • 7d68c35 Merge pull request #722 from alphagov/dependabot/npm_and_yarn/caniuse-lite-1....
  • 389e8e8 Move aria-labelledby into computed menu props
  • 3ce7914 Merge pull request #724 from alphagov/no-results-list-item
  • 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.

Bumps [accessible-autocomplete](https://github.com/alphagov/accessible-autocomplete) from 2.0.4 to 3.0.1.
- [Release notes](https://github.com/alphagov/accessible-autocomplete/releases)
- [Changelog](https://github.com/alphagov/accessible-autocomplete/blob/main/CHANGELOG.md)
- [Commits](alphagov/accessible-autocomplete@v2.0.4...v3.0.1)

---
updated-dependencies:
- dependency-name: accessible-autocomplete
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team June 1, 2025 09:03
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 1, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

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

netlify bot commented Jun 1, 2025

Deploy Preview for oslmap ready!

Name Link
🔨 Latest commit 87818fb
🔍 Latest deploy log https://app.netlify.com/projects/oslmap/deploys/6874aee327bc8f000861985f
😎 Deploy Preview https://deploy-preview-554--oslmap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jessicamcinchak jessicamcinchak merged commit f5a821a into main Jul 14, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/accessible-autocomplete-3.0.1 branch July 14, 2025 07:19
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.

2 participants