Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Update dependency accessible-autocomplete to v3 #778

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
accessible-autocomplete ^2.0.4 -> ^3.0.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

alphagov/accessible-autocomplete (accessible-autocomplete)

v3.0.1

Compare Source

Fixes

v3.0.0

Compare Source

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.

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.

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. Thanks to @​lennym for contributing this change.

Fixes

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone Europe/London, Automerge - "after 10am every weekday,before 4pm every weekday" in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch from 29e5e2b to deac856 Compare July 2, 2024 11:19
@DrizzlyOwl DrizzlyOwl added dependencies Updates to dependencies major labels Jul 2, 2024
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 7 times, most recently from 45ef425 to 397eb73 Compare July 8, 2024 09:35
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 12 times, most recently from 666dd28 to dc49352 Compare July 15, 2024 10:15
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 4 times, most recently from 8338970 to c32ea3e Compare July 24, 2024 12:48
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 4 times, most recently from eacfd85 to ea2a9ea Compare July 26, 2024 17:04
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch from ea2a9ea to 62508ef Compare August 23, 2024 09:31
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 4 times, most recently from a9d66ba to 542d98f Compare September 4, 2024 11:08
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 6 times, most recently from e71afb1 to 4d864d6 Compare September 30, 2024 14:58
@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch 2 times, most recently from 187a1ec to 02ee218 Compare October 7, 2024 16:03
Copy link

sonarqubecloud bot commented Oct 7, 2024

@renovate renovate bot force-pushed the renovate/accessible-autocomplete-3.x branch from 02ee218 to 38821f6 Compare October 8, 2024 16:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Updates to dependencies major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant