diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0f852..b645293 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# [3.0.0](https://github.com/feedzai/react-a11y-tools/compare/v2.0.1...v3.0.0) (2024-07-15) + + +### Bug Fixes + +* **FocusManager:** Replaces implementation with focus-trap-react ([#28](https://github.com/feedzai/react-a11y-tools/issues/28)) ([19bc86c](https://github.com/feedzai/react-a11y-tools/commit/19bc86c03b120aa2bfedb1af5ab653fbd71c1cfb)), closes [#27](https://github.com/feedzai/react-a11y-tools/issues/27) + + +### BREAKING CHANGES + +* **FocusManager:** autoFocus, restoreFocus and contain are now set to true by default +* **FocusManager:** the `useFocusManager` was reimplemented. Since we no longer use a React context state management solution to travel between elements, the hook was re-implemented as an optional way to facilitate the creation of a `FocusTrap` instance, but without using the provided element by the package. + ## [2.0.1](https://github.com/feedzai/react-a11y-tools/compare/v2.0.0...v2.0.1) (2024-07-12) diff --git a/package-lock.json b/package-lock.json index cdfebf2..fcd6bac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@feedzai/react-a11y-tools", - "version": "2.0.1", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@feedzai/react-a11y-tools", - "version": "2.0.1", + "version": "3.0.0", "license": "MIT", "dependencies": { "focus-trap-react": "^10.2.3" diff --git a/package.json b/package.json index c528834..ec51f06 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@feedzai/react-a11y-tools", "author": "Feedzai", - "version": "2.0.1", + "version": "3.0.0", "license": "MIT", "main": "./dist/index.cjs", "types": "./dist/index.d.ts",