Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 9, 2022

Bumps focus-trap from 6.7.2 to 6.9.1.

Release notes

Sourced from focus-trap's releases.

v6.9.1

Patch Changes

  • 83262a7: Bumps tabbable to v5.3.2 to pick-up a fix to displayCheck=full (default) option behavior that caused issues with detached nodes.

v6.9.0

Minor Changes

  • 2a57e4b: Add new trap.active and trap.paused readonly state properties on the trap so that the trap's active/paused state can be queried.

Patch Changes

  • 8fd49df: Fixed bug where clickOutsideDeactivate handler would get called on the 'click' event even if the node clicked was in the trap. As with 'mousedown' and 'touchstart' events where this option is also used, the handler should only get called if the target node is outside the trap.
  • c32c60a: Fixed: onDeactivate, onPostDeactivate, and checkCanReturnFocus options originally given to createFocusTrap() were not being used by default when calling trap.deactivate({...}) with an option set even if that option set didn't specify any overrides of these options.

v6.8.1

Patch Changes

  • 7c86111:
    • Bump tabbable to ^5.3.1 (fixing previous update which was incorrectly set to 5.3.0).
    • Fix tabbableOptions not being used in all internal uses of tabbable APIs.
    • Expose displayCheck option in tabbableOptions typings and pass it through to tabbable APIs.
    • Add info to README about testing traps in JSDom (which is not officially supported).

v6.8.0

Minor Changes

  • 21458c9: Bumps tabbable to v5.3.0 and includes all changes from the past v6.8.0 beta releases. The big new feature is opt-in Shadow DOM support in tabbable, and a new getShadowRoot tabbable option exposed in a new tabbableOptions focus-trap config option.

v6.7.3

Patch Changes

Changelog

Sourced from focus-trap's changelog.

6.9.1

Patch Changes

  • 83262a7: Bumps tabbable to v5.3.2 to pick-up a fix to displayCheck=full (default) option behavior that caused issues with detached nodes.

6.9.0

Minor Changes

  • 2a57e4b: Add new trap.active and trap.paused readonly state properties on the trap so that the trap's active/paused state can be queried.

Patch Changes

  • 8fd49df: Fixed bug where clickOutsideDeactivate handler would get called on the 'click' event even if the node clicked was in the trap. As with 'mousedown' and 'touchstart' events where this option is also used, the handler should only get called if the target node is outside the trap.
  • c32c60a: Fixed: onDeactivate, onPostDeactivate, and checkCanReturnFocus options originally given to createFocusTrap() were not being used by default when calling trap.deactivate({...}) with an option set even if that option set didn't specify any overrides of these options.

6.8.1

Patch Changes

  • 7c86111:
    • Bump tabbable to ^5.3.1 (fixing previous update which was incorrectly set to 5.3.0).
    • Fix tabbableOptions not being used in all internal uses of tabbable APIs.
    • Expose displayCheck option in tabbableOptions typings and pass it through to tabbable APIs.
    • Add info to README about testing traps in JSDom (which is not officially supported).

6.8.0

Minor Changes

  • 21458c9: Bumps tabbable to v5.3.0 and includes all changes from the past v6.8.0 beta releases. The big new feature is opt-in Shadow DOM support in tabbable, and a new getShadowRoot tabbable option exposed in a new tabbableOptions focus-trap config option.
    • ⚠️ This will likely break your tests if you're using JSDom (e.g. with Jest). See testing in JSDom for more info.

6.8.0-beta.2

  • When updating tabbable nodes, make sure that getShadowRoot tabbable option is also passed to focusable().
  • Fix bug where having a tabbable node inside a web component in the middle of a tab sequence would cause the tab key to seemingly stop working just before focus should move to it ((#643)[https://github-redirect.dependabot.com/Cannot tab on to or past a web-component in a container focus-trap/focus-trap#643]).
  • Bumps tabbable to v5.3.0-beta.1

6.8.0-beta.1

  • Previous beta didn't include new source. This one does.

6.8.0-beta.0

  • Adds new tabbableOptions configuration option, which allows specifically for the new getShadowRoot Tabbable configuration option: focusTrap.createFocusTrap(rootElement, { tabbableOptions: { getShadowRoot: (node) => closedShadowRoot } }), for example (where your code has the reference to closedShadowRoot previously created on node which Tabbable cannot find on its own).
  • Bumps tabbable to v5.3.0-beta.0

6.7.3

... (truncated)

Commits
  • bc2b6b0 Version Packages (#690)
  • 83262a7 Bump tabbable to v5.3.2 (#689)
  • 607d4bd Add jest linting rules
  • a71eae0 [DEPENDABOT]: Bump @​babel/core from 7.17.9 to 7.17.10 (#684)
  • 8508afd [DEPENDABOT]: Bump rollup from 2.70.2 to 2.71.1 (#683)
  • d12dc43 [DEPENDABOT]: Bump @​babel/cli from 7.17.6 to 7.17.10 (#685)
  • a83d1e5 [DEPENDABOT]: Bump typescript from 4.6.3 to 4.6.4 (#686)
  • 491594d [DEPENDABOT]: Bump @​babel/preset-env from 7.16.11 to 7.17.10 (#687)
  • 8c991c9 [DEPENDABOT]: Bump @​rollup/plugin-node-resolve from 13.2.1 to 13.3.0 (#688)
  • a8d2261 Update demo bundle
  • Additional commits viewable 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 [focus-trap](https://github.com/focus-trap/focus-trap) from 6.7.2 to 6.9.1.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](focus-trap/focus-trap@v6.7.2...v6.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 16, 2022

Superseded by #56.

@dependabot dependabot bot closed this May 16, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/focus-trap-6.9.1 branch May 16, 2022 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant