Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react-accessible-accordion from 3.3.5 to 5.0.0 #2856

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps react-accessible-accordion from 3.3.5 to 5.0.0.

Release notes

Sourced from react-accessible-accordion's releases.

v5.0.0

React 18 support with the new out-of-order streaming support (via useId see README.md and CHANGELOG.md)

v4.0.0

Major release due to changing role="region" behaviour suggested in springload/react-accessible-accordion#327

Accordion Panels no longer have role="region" by default, and instead this is opt-in by adding a boolean region prop per the README.md

Changelog

Sourced from react-accessible-accordion's changelog.

[v5.0.0]

React Accessible Accordion now supports React 18 with its out-of-order streaming feature.

The new out-of-order streaming feature required using React 18's useId hook. This affects the DOM ids that RAA generates, changing from accordion__heading-raa-0 (React 16 and 17) to accordion__heading-:r0: (React 18). Although this change shouldn't affect most users, if you have any code that selects ids with DOM APIs such as document.querySelector() then the : characters will need escaping with \\ eg. document.querySelector('#accordion__heading-\\:r0\\:').

When using older versions of React 16 or 17 the same DOM ids will be generated.

Because of this change in behaviour this is a major version upgrade.

[v4.0.0]

Making role="region" optional on panels.

The new behaviour has no role="region" by default, and developers can opt-in using the region prop as <AccordionItemPanel region>.

The previous behaviour had every panel as a role="region" which created an excessive amount of regions for the screen reader.

Because of this change in behaviour this is a major version upgrade.

[v3.3.0]

Changed

  • Bundle size reduction

[v3.2.0]

Added

  • Use console.error when provided with invalid HTML5 ids

[v3.1.1]

Fixed

  • Use hidden capabilities rather than something needing custom css everywhere.

[v3.1.0]

... (truncated)

Commits
  • b555698 Merge pull request #342 from springload/feature/react-18-useid
  • 8cd999a Deps changes for linting fixes
  • 4f6e571 Node Dubnium to Erbium
  • 02a3f9b RAA 5, React 18
  • 47b5d89 React 18 useId
  • c9aded3 Merge pull request #333 from springload/feat/optional-region-role-on-accordio...
  • c805a59 chore(package.json): update RAA version number
  • 50dd9e6 fix(AccordionItemPanel): remove console log
  • 78cd324 test(integration): enable optional region
  • b24d1f8 feat(AccordionItemPanel): optional region role
  • See full diff in compare view

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 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 [react-accessible-accordion](https://github.com/springload/react-accessible-accordion) from 3.3.5 to 5.0.0.
- [Release notes](https://github.com/springload/react-accessible-accordion/releases)
- [Changelog](https://github.com/springload/react-accessible-accordion/blob/main/CHANGELOG.md)
- [Commits](springload/react-accessible-accordion@3.3.5...v5.0.0)

---
updated-dependencies:
- dependency-name: react-accessible-accordion
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 1, 2022
@dependabot dependabot bot requested review from Nikhil-Ladha and warunicorn19 June 1, 2022 22:07
@l5io
Copy link
Contributor

l5io commented Jun 1, 2022

🚀 Preview for commit ea9725e at: https://6297e5a22d695e2f469316b4--layer5ng.netlify.app

@Nikhil-Ladha Nikhil-Ladha merged commit e90ce07 into master Jun 2, 2022
@Nikhil-Ladha Nikhil-Ladha deleted the dependabot/npm_and_yarn/react-accessible-accordion-5.0.0 branch June 2, 2022 05:12
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
Development

Successfully merging this pull request may close these issues.

2 participants