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

chore: Bump react-focus-lock from 2.5.2 to 2.13.2 #1544

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps react-focus-lock from 2.5.2 to 2.13.2.

Release notes

Sourced from react-focus-lock's releases.

Updating focus management

This release changes the way focus is managed in some edge cases:

  • then content inside FocusLock is updated in a way that the previosly focused element no longer focusable (or deleted)
    • before: focus moves to the body
    • now: focus moves to the nearest sibling (of any), or first element on the block
  • when the focus lock is active inside iframe
    • before: it will (endlessly) fight with focus lock that might be present in the parent frame
    • now: the parent frame always wins
      • explanation: as for parent focus inside iframe means iframe is focused, and it will prevent another element on the same page from being focused

ESM compatible (no, that did not happen)

Features

React 18 and ShadowDom

  • 🎉 React 18 support

Features

Shadow of TabIndex

Bug Fixes

  • disable positive index guard by default; use hasPositiveIndices to control behavior, fixes #32 (6db9980)
  • remove positive tab indices (a1f51e0)
  • update focus-lock to support Shadow Dom (668a559)

Features

  • allow removal of positive tab indices (b2a55a9)

Return focus 18

Bug Fixes

  • allow returnFocus to be garbage collected, fixes #173 (ad3a4a1)
  • do not use capture phase for focus-in events, fixes #134 (d56f49e)
  • React 17/18 support. The one above

Features

  • allow programatic control over returnFocus prop, fixes #178 (d5ec48b)
Changelog

Sourced from react-focus-lock's changelog.

2.13.0 (2024-08-25)

Bug Fixes

  • auto-focus in case of activeElement disappeareance, fixes #321 (a109314)
  • better manage cross-frame relations (72b4d4b)

2.12.0 (2024-04-20)

Bug Fixes

  • remove conflicting type (7245bde)

2.11.3 (2024-04-13)

2.11.2 (2024-02-28)

Bug Fixes

  • correct typescript definitions for focus helpers (a418e7a)
  • mark index as sideeffect as it contains sidecar defintion (aa9dc11)

2.11.1 (2024-02-19)

Bug Fixes

  • bump minimal focus-lock version, fixes #288 (bc144bb)

2.11.0 (2024-02-16)

Bug Fixes

... (truncated)

Commits

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 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)

Bumps [react-focus-lock](https://github.com/theKashey/react-focus-lock) from 2.5.2 to 2.13.2.
- [Release notes](https://github.com/theKashey/react-focus-lock/releases)
- [Changelog](https://github.com/theKashey/react-focus-lock/blob/master/CHANGELOG.md)
- [Commits](theKashey/react-focus-lock@v2.5.2...v2.13.2)

---
updated-dependencies:
- dependency-name: react-focus-lock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 1, 2024
Copy link

netlify bot commented Sep 1, 2024

Deploy Preview for fundamental-react ready!

Name Link
🔨 Latest commit 524e2a0
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-react/deploys/66d45182ce05c10008e7d7d5
😎 Deploy Preview https://deploy-preview-1544--fundamental-react.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 site configuration.

Copy link

github-actions bot commented Oct 2, 2024

This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Oct 2, 2024
@github-actions github-actions bot closed this Oct 7, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-focus-lock-2.13.2 branch October 7, 2024 00:17
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 stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants