Skip to content

Commit f18e6b4

Browse files
Version Packages (focus-trap#644)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent cf1da66 commit f18e6b4

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/popular-bears-pump.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Changelog
22

3+
## 5.3.1
4+
5+
### Patch Changes
6+
7+
- cf1da66: Add warnings and help in documentation about running tabbable under JSDom (e.g. with Jest). JSDom is not technically supported, and 5.3.0 introduced some changes that use DOM APIs that JSDom stubs out, which may cause some JSDom-based tests to fail. Also revamp the API docs a bit to make them clearer, and add missing `getShadowRoot` option to `isTabbable()` and `isFocusable()` (docs only; no code changes necessary).
8+
39
## 5.3.0
410

511
### Minor Changes
612

713
- 685a906: Adds new Shadow DOM support (must be explicitly enabled using the new `getShadowRoot` option).
8-
- When enabled, supports open shadows by default, and can support closed shadows if the option is a function that returns the shadow for a given node. See documentation for more information.
9-
- Includes all updates from `5.3.0-beta.0` and `5.3.0-beta.1` releases.
14+
- When enabled, supports open shadows by default, and can support closed shadows if the option is a function that returns the shadow for a given node. See documentation for more information.
15+
- Includes all updates from `5.3.0-beta.0` and `5.3.0-beta.1` releases.
1016

1117
### Patch Changes
1218

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tabbable",
3-
"version": "5.3.0",
3+
"version": "5.3.1",
44
"description": "Returns an array of all tabbable DOM nodes within a containing node.",
55
"main": "dist/index.js",
66
"module": "dist/index.esm.js",

0 commit comments

Comments
 (0)