You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6a39217: Close the gap with #172 and bump tabbable to 5.1.2 which has a similar fix.
756c79d: Fix #172 (again): Transpile ESM bundle down to the same browser target used for the CJS and UMD bundles. ESM is just the module system, not the browser target.
53b906b: Change prepublishOnly script to prepare script so that it also runs if someone installs the package directly from the git repo (e.g. from your work in which you fixed a bug or added a feature you're waiting to get merged to master and published to NPM).
31bb28e: Update tabbable dependency to 5.1.0. The most significant update for focus-trap is a bug fix related to fixed-position containers.
Add boolean value support for allowOutsideClick option.
New preventScroll feature to prevent scrolling to the element getting focus if not in the viewport.
Changed code formatting to use dangling commas where ES5 supports them.
BREAKING: Updated tabbable dependency to the new 5.0.0 release which contains breaking changes to its isTabbableRadio() internal function.
Help with tree shaking by having package.json state sideEffects: false to mark this module as having no side effects as a result of merely importing it.
BREAKING: This package.json's "main" no longer points to ./index.js in the package (although it still points to a CJS module, so it's possible this actually doesn't break anything). It now has:
"main": dist/focus-trap.min.js (the CJS bundle)
"module": dist/focus-trap.esm.min.js (the new ESM bundle)
the UMD is dist/focus-trap.umd.min.js if needed (convenient for loading directly in an older browser that doesn't support ESM)
NOTE: The CJS build no longer provides a function as a default export. Use const { createFocusTrap } = require('focus-trap'); to get the function from before.
NOTE: The ESM build does not provide a default export. Use import { createFocusTrap } from 'focus-trap'; to import the module.
New ESM Build: Included in dist/focus-trap.esm.*.
New UMD Build: Included in dist/focus-trap.umd.*.
Renovate configuration
📅 Schedule: "every weekend" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, 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
Caution: This PR has changes that must be merged to WordPress.com
Hello renovate[bot]! These changes need to be synced to WordPress.com - If you 're an a11n, please commandeer and confirm D51358-code works as expected before merging this PR. Once this PR is merged, please commit the changes to WP.com. Thank you! This revision will be updated with each commit to this PR
This is an automated check which relies on PULL_REQUEST_TEMPLATE. We encourage you to follow that template as it helps Jetpack maintainers do their job. If you think 'Testing instructions' or 'Proposed changelog entry' are not needed for your PR - please explain why you think so. Thanks for cooperation 🤖
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.1.0->6.1.3Release Notes
focus-trap/focus-trap
v6.1.3Compare Source
Patch Changes
6a39217: Close the gap with #172 and bumptabbableto 5.1.2 which has a similar fix.756c79d: Fix #172 (again): Transpile ESM bundle down to the same browser target used for the CJS and UMD bundles. ESM is just the module system, not the browser target.v6.1.2Compare Source
Patch Changes
00674dd: Fix #172: Transpile non-minified bundles so they are compatible with IE11.679009b: Update tabbable dependency to 5.1.1 to get transpiled non-minified bundles.v6.1.1Compare Source
Patch Changes
fe2b0ad: Fixed #103:returnFocusOnDeactivateis now respected on auto-deactivation withclickOutsideDeactivates=true.v6.1.0Compare Source
Minor Changes
5174ce1: Add delayInitialFocus optionPatch Changes
53b906b: ChangeprepublishOnlyscript topreparescript so that it also runs if someone installs the package directly from the git repo (e.g. from your work in which you fixed a bug or added a feature you're waiting to get merged to master and published to NPM).31bb28e: Update tabbable dependency to 5.1.0. The most significant update for focus-trap is a bug fix related to fixed-position containers.v6.0.1Compare Source
Patch Changes
694e2fa: Package main/module entries no longer point to minified bundles.v6.0.0Compare Source
allowOutsideClickoption.preventScrollfeature to prevent scrolling to the element getting focus if not in the viewport.isTabbableRadio()internal function.package.jsonstatesideEffects: falseto mark this module as having no side effects as a result of merely importing it.package.json's "main" no longer points to./index.jsin the package (although it still points to a CJS module, so it's possible this actually doesn't break anything). It now has:dist/focus-trap.min.js(the CJS bundle)dist/focus-trap.esm.min.js(the new ESM bundle)dist/focus-trap.umd.min.jsif needed (convenient for loading directly in an older browser that doesn't support ESM)const { createFocusTrap } = require('focus-trap');to get the function from before.import { createFocusTrap } from 'focus-trap';to import the module.dist/focus-trap.esm.*.dist/focus-trap.umd.*.Renovate configuration
📅 Schedule: "every weekend" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.