focus-trap-react 11.0.5 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 763eae4: **BREAKING:** Updated [focus-trap](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md#800) dependency to v8.0.0. The breaking change is that `onPostActivate()` is now correctly called after the initial focus node is focused (it was previously called before due to a bug with the initial focus delay). See the focus-trap changelog for more details.
8
+
9
+ ## 11.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - c0bd275: Bump focus-trap to 7.8.0 for new aria-hidden support in isolateSubtrees option and bug fix related to trapStack option
14
+
3
15
  ## 11.0.5
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "focus-trap-react",
3
- "version": "11.0.5",
3
+ "version": "12.0.0",
4
4
  "description": "A React component that traps focus.",
5
5
  "main": "dist/focus-trap-react.js",
6
6
  "types": "index.d.ts",
@@ -57,32 +57,32 @@
57
57
  },
58
58
  "homepage": "https://github.com/focus-trap/focus-trap-react#readme",
59
59
  "devDependencies": {
60
- "@babel/cli": "^7.28.3",
61
- "@babel/core": "^7.28.5",
62
- "@babel/eslint-parser": "^7.28.5",
60
+ "@babel/cli": "^7.28.6",
61
+ "@babel/core": "^7.28.6",
62
+ "@babel/eslint-parser": "^7.28.6",
63
63
  "@babel/eslint-plugin": "^7.27.1",
64
64
  "@babel/plugin-proposal-class-properties": "^7.18.6",
65
- "@babel/preset-env": "^7.28.5",
65
+ "@babel/preset-env": "^7.28.6",
66
66
  "@babel/preset-react": "^7.28.5",
67
67
  "@changesets/cli": "^2.29.8",
68
68
  "@eslint/js": "^9.39.2",
69
69
  "@testing-library/cypress": "^10.1.0",
70
70
  "@testing-library/dom": "^10.4.1",
71
71
  "@testing-library/jest-dom": "^6.9.1",
72
- "@testing-library/react": "^16.3.1",
72
+ "@testing-library/react": "^16.3.2",
73
73
  "@testing-library/user-event": "^14.6.1",
74
74
  "@types/jquery": "^3.5.33",
75
- "@types/node": "^25.0.3",
75
+ "@types/node": "^25.0.10",
76
76
  "@types/react": "^19.0.0",
77
77
  "@types/react-dom": "^19.0.0",
78
- "@typescript-eslint/eslint-plugin": "^8.51.0",
79
- "@typescript-eslint/parser": "^8.52.0",
78
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
79
+ "@typescript-eslint/parser": "^8.53.1",
80
80
  "all-contributors-cli": "^6.26.1",
81
81
  "babel-jest": "^30.1.2",
82
82
  "babelify": "^10.0.0",
83
83
  "browserify": "^17.0.1",
84
84
  "budo": "^11.8.4",
85
- "cypress": "^15.8.2",
85
+ "cypress": "^15.9.0",
86
86
  "cypress-plugin-tab": "^1.0.5",
87
87
  "eslint": "^9.39.2",
88
88
  "eslint-config-prettier": "^10.1.8",
@@ -94,13 +94,13 @@
94
94
  "eslint-plugin-jest-dom": "^5.5.0",
95
95
  "eslint-plugin-react": "^7.37.5",
96
96
  "eslint-plugin-react-hooks": "^7.0.1",
97
- "eslint-plugin-testing-library": "^7.15.3",
98
- "globals": "^17.0.0",
97
+ "eslint-plugin-testing-library": "^7.15.4",
98
+ "globals": "^17.2.0",
99
99
  "jest": "^30.2.0",
100
100
  "jest-environment-jsdom": "^30.2.0",
101
101
  "jest-watch-typeahead": "^3.0.1",
102
102
  "onchange": "^7.1.0",
103
- "prettier": "^3.7.4",
103
+ "prettier": "^3.8.1",
104
104
  "react": "^19.0.0",
105
105
  "react-dom": "^19.0.0",
106
106
  "regenerator-runtime": "^0.14.1",
@@ -108,7 +108,7 @@
108
108
  "typescript": "^5.9.3"
109
109
  },
110
110
  "dependencies": {
111
- "focus-trap": "^7.7.1",
111
+ "focus-trap": "^8.0.0",
112
112
  "tabbable": "^6.4.0"
113
113
  },
114
114
  "peerDependencies": {