focus-trap-react 11.0.4 → 11.0.6

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 +13 -0
  2. package/package.json +36 -35
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 11.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - c0bd275: Bump focus-trap to 7.8.0 for new aria-hidden support in isolateSubtrees option and bug fix related to trapStack option
8
+
9
+ ## 11.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 01712b0: Update `focus-trap` dependency to 7.6.6 and `tabbable` to 6.3.0 to get a new `displayCheck` option in `tabbable`.
14
+ - 0f8db7c: Bump tabbable to 6.4.0 and focus-trap to 7.7.1 for improved inert handling
15
+
3
16
  ## 11.0.4
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "focus-trap-react",
3
- "version": "11.0.4",
3
+ "version": "11.0.6",
4
4
  "description": "A React component that traps focus.",
5
5
  "main": "dist/focus-trap-react.js",
6
6
  "types": "index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "test:e2e": "ELECTRON_ENABLE_LOGGING=1 start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
28
28
  "test:e2e:chrome": "CYPRESS_BROWSER=chrome npm run test:e2e",
29
29
  "test:e2e:dev": "ELECTRON_ENABLE_LOGGING=1 start-server-and-test start 9966 'cypress open'",
30
- "test": "npm run format:check && npm run lint && npm run test:unit && npm run test:types && npm run test:e2e:chrome",
30
+ "test": "npm run format:check && npm run lint && npm run test:coverage && npm run test:types && npm run test:e2e:chrome",
31
31
  "prepare": "npm run build",
32
32
  "prepublishOnly": "npm run test && npm run build",
33
33
  "release": "npm run build && changeset publish"
@@ -57,58 +57,59 @@
57
57
  },
58
58
  "homepage": "https://github.com/focus-trap/focus-trap-react#readme",
59
59
  "devDependencies": {
60
- "@babel/cli": "^7.27.2",
61
- "@babel/core": "^7.27.1",
62
- "@babel/eslint-parser": "^7.27.1",
60
+ "@babel/cli": "^7.28.3",
61
+ "@babel/core": "^7.28.5",
62
+ "@babel/eslint-parser": "^7.28.5",
63
63
  "@babel/eslint-plugin": "^7.27.1",
64
64
  "@babel/plugin-proposal-class-properties": "^7.18.6",
65
- "@babel/preset-env": "^7.27.2",
66
- "@babel/preset-react": "^7.27.1",
67
- "@changesets/cli": "^2.29.4",
68
- "@eslint/js": "^9.27.0",
69
- "@testing-library/cypress": "^10.0.3",
70
- "@testing-library/dom": "^10.4.0",
71
- "@testing-library/jest-dom": "^6.6.3",
72
- "@testing-library/react": "^16.3.0",
65
+ "@babel/preset-env": "^7.28.5",
66
+ "@babel/preset-react": "^7.28.5",
67
+ "@changesets/cli": "^2.29.8",
68
+ "@eslint/js": "^9.39.2",
69
+ "@testing-library/cypress": "^10.1.0",
70
+ "@testing-library/dom": "^10.4.1",
71
+ "@testing-library/jest-dom": "^6.9.1",
72
+ "@testing-library/react": "^16.3.1",
73
73
  "@testing-library/user-event": "^14.6.1",
74
- "@types/jquery": "^3.5.32",
74
+ "@types/jquery": "^3.5.33",
75
+ "@types/node": "^25.0.3",
75
76
  "@types/react": "^19.0.0",
76
77
  "@types/react-dom": "^19.0.0",
77
- "@typescript-eslint/eslint-plugin": "^8.32.1",
78
- "@typescript-eslint/parser": "^8.32.1",
78
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
79
+ "@typescript-eslint/parser": "^8.52.0",
79
80
  "all-contributors-cli": "^6.26.1",
80
- "babel-jest": "^29.7.0",
81
+ "babel-jest": "^30.1.2",
81
82
  "babelify": "^10.0.0",
82
83
  "browserify": "^17.0.1",
83
84
  "budo": "^11.8.4",
84
- "cypress": "^14.4.0",
85
+ "cypress": "^15.8.2",
85
86
  "cypress-plugin-tab": "^1.0.5",
86
- "eslint": "^9.27.0",
87
- "eslint-config-prettier": "^10.1.5",
87
+ "eslint": "^9.39.2",
88
+ "eslint-config-prettier": "^10.1.8",
88
89
  "eslint-import-resolver-node": "^0.3.9",
89
- "eslint-import-resolver-typescript": "^4.3.5",
90
- "eslint-plugin-cypress": "^4.3.0",
91
- "eslint-plugin-import": "^2.31.0",
92
- "eslint-plugin-jest": "^28.11.0",
90
+ "eslint-import-resolver-typescript": "^4.4.4",
91
+ "eslint-plugin-cypress": "^5.2.1",
92
+ "eslint-plugin-import": "^2.32.0",
93
+ "eslint-plugin-jest": "^29.12.1",
93
94
  "eslint-plugin-jest-dom": "^5.5.0",
94
95
  "eslint-plugin-react": "^7.37.5",
95
- "eslint-plugin-react-hooks": "^5.2.0",
96
- "eslint-plugin-testing-library": "^7.2.1",
97
- "globals": "^16.1.0",
98
- "jest": "^29.7.0",
99
- "jest-environment-jsdom": "^29.7.0",
100
- "jest-watch-typeahead": "^2.2.2",
96
+ "eslint-plugin-react-hooks": "^7.0.1",
97
+ "eslint-plugin-testing-library": "^7.15.4",
98
+ "globals": "^17.0.0",
99
+ "jest": "^30.2.0",
100
+ "jest-environment-jsdom": "^30.2.0",
101
+ "jest-watch-typeahead": "^3.0.1",
101
102
  "onchange": "^7.1.0",
102
- "prettier": "^3.5.3",
103
+ "prettier": "^3.7.4",
103
104
  "react": "^19.0.0",
104
105
  "react-dom": "^19.0.0",
105
106
  "regenerator-runtime": "^0.14.1",
106
- "start-server-and-test": "^2.0.12",
107
- "typescript": "^5.8.3"
107
+ "start-server-and-test": "^2.1.3",
108
+ "typescript": "^5.9.3"
108
109
  },
109
110
  "dependencies": {
110
- "focus-trap": "^7.6.5",
111
- "tabbable": "^6.2.0"
111
+ "focus-trap": "^7.8.0",
112
+ "tabbable": "^6.4.0"
112
113
  },
113
114
  "peerDependencies": {
114
115
  "@types/react": "^18.0.0 || ^19.0.0",