Skip to content

Commit

Permalink
Version Packages (#185)
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 <stefan@stefcameron.com>
  • Loading branch information
3 people authored Nov 18, 2020
1 parent c4e4837 commit e2eab2f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .changeset/hip-bottles-turn.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/slow-adults-rhyme.md

This file was deleted.

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

## 8.3.0

### Minor Changes

- c4e4837: Remove the need for a child, update typings, update docs:
- Remove the need for a child in `<FocusTrap />` when `containerElements` is used. The child was already being ignored anyway (when `containerElements` is used; if the prop is not used, then a single child is still required).
- Update the typings related to the `children` prop to make it optional. Prop-types already had `children` as optional, however the use of `React.Children.only()` in all cases was still forcing the presence of a single child. That's no longer the case.
- Add additional notes about the use of the `containerElements` prop in the documentation.

### Patch Changes

- 0836c6d: Fixing a bug where the focus trap may not have been set before it is unmounted #184

## 8.2.0

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

0 comments on commit e2eab2f

Please sign in to comment.