Skip to content

Commit

Permalink
Version Packages (#595)
Browse files Browse the repository at this point in the history
* Version Packages

* Update CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Stefan Cameron <[email protected]>
  • Loading branch information
3 people authored Apr 20, 2022
1 parent 685a906 commit a6018d4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 29 deletions.
5 changes: 0 additions & 5 deletions .changeset/breezy-grapes-flash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-zebras-attend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-tomatoes-hug.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/long-planets-sleep.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/shadow-root.md

This file was deleted.

17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# Changelog

## 5.3.0

### Minor Changes

- 685a906: Adds new Shadow DOM support (must be explicitly enabled using the new `getShadowRoot` option).
- 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.
- Includes all updates from `5.3.0-beta.0` and `5.3.0-beta.1` releases.

### Patch Changes

- b341412: Made "isDisabledFromFieldset" more readable and concise (even marginally faster).
- 685a906: Fixed a bug in `getTabIndex`: the tab index of `<audio>`, `<video>` and `<details>` was left to the browser default if explicitly set to a value that couldn't be parsed as integer, leading to inconsistent behavior across browsers. Also slightly modified the function's logic to make it more efficient. Finally added tests to cover the fix.
- dd6d0ec: Optimized and extended `displayCheck: "full"` option (now checks for any element having no display boxes) and added test for `display: "contents"` property (this bug was never reported). [(#592)](https://github.com/focus-trap/tabbable/issues/592)
- 193fca2: Fixed bug in `isDisabledFromFieldset`. The function wasn't checking whether the disabled `<fieldset>` containing `node` is the top-most disabled `<fieldset>` ([#596](https://github.com/focus-trap/tabbable/issues/596)).

## 5.3.0-beta.1

- Add support for setting `getShadowRoot: true` as an easy way to simply *enable* shadow DOM support. This is the equivalent of setting `getShadowRoot: () => false`, which means tabbable will find nodes in **open** shadow roots only.
- Add support for setting `getShadowRoot: true` as an easy way to simply _enable_ shadow DOM support. This is the equivalent of setting `getShadowRoot: () => false`, which means tabbable will find nodes in **open** shadow roots only.

## 5.3.0-beta.0

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabbable",
"version": "5.3.0-beta.1",
"version": "5.3.0",
"description": "Returns an array of all tabbable DOM nodes within a containing node.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down

0 comments on commit a6018d4

Please sign in to comment.