Skip to content

Commit

Permalink
Version Packages (#401)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Stefan Cameron <stefan@stefcameron.com>
  • Loading branch information
3 people authored Jun 19, 2021
1 parent 7b6a1e3 commit 3e46f82
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .changeset/blue-jars-shave.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/quick-months-notice.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 8.6.0

### Minor Changes

- 5292ae8:
- Adding support for new focus-trap options from focus-trap v6.5.0: `checkCanFocusTrap()`, `onPostActivate()`, `checkCanReturnFocus()`, and `onPostDeactivate()`.
- Adding support (bug fix) for existing focus-trap `setReturnFocus` option that had thus far been ignored, with focus-trap-react always returning focus to the previously-focused element prior to activation regardless of the use of the `setReturnFocus` option. The option is now respected the same as it is when using focus-trap directly.

### Patch Changes

- 24704c7: Bump focus-trap dependency to 6.5.1 for bug fix to onPostDeactivate.

## 8.5.1

### Patch Changes
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": "focus-trap-react",
"version": "8.5.1",
"version": "8.6.0",
"description": "A React component that traps focus.",
"main": "dist/focus-trap-react.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 3e46f82

Please sign in to comment.