focus-trap-react 10.2.3 → 10.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1738674: Bump focus-trap dependency to 7.6.0 for customizable ESC behavior ([#1346](https://github.com/focus-trap/focus-trap-react/pull/1346))
8
+
3
9
  ## 10.2.3
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # focus-trap-react [![CI](https://github.com/focus-trap/focus-trap-react/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/focus-trap/focus-trap-react/actions?query=workflow:CI+branch:master) [![Codecov](https://img.shields.io/codecov/c/github/focus-trap/focus-trap-react)](https://codecov.io/gh/focus-trap/focus-trap-react) [![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)
2
2
 
3
3
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4
- [![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors)
4
+ [![All Contributors](https://img.shields.io/badge/all_contributors-28-orange.svg?style=flat-square)](#contributors)
5
5
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
6
6
 
7
7
  A React component that traps focus.
@@ -350,19 +350,21 @@ In alphabetical order:
350
350
  <td align="center" valign="top" width="14.28%"><a href="https://marais.io/"><img src="https://avatars2.githubusercontent.com/u/599459?v=4?s=100" width="100px;" alt="Marais Rossouw"/><br /><sub><b>Marais Rossouw</b></sub></a><br /><a href="#infra-maraisr" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
351
351
  </tr>
352
352
  <tr>
353
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/StackOverflowIsBetterThanAnyAI"><img src="https://avatars.githubusercontent.com/u/140268904?v=4?s=100" width="100px;" alt="Michael"/><br /><sub><b>Michael</b></sub></a><br /><a href="#example-StackOverflowIsBetterThanAnyAI" title="Examples">💡</a></td>
353
354
  <td align="center" valign="top" width="14.28%"><a href="https://www.moroshko.me"><img src="https://avatars.githubusercontent.com/u/259753?v=4?s=100" width="100px;" alt="Misha Moroshko"/><br /><sub><b>Misha Moroshko</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Amoroshko" title="Bug reports">🐛</a></td>
354
355
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/liunate"><img src="https://avatars2.githubusercontent.com/u/38996291?v=4?s=100" width="100px;" alt="Nate Liu"/><br /><sub><b>Nate Liu</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=liunate" title="Tests">⚠️</a></td>
355
356
  <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/rivajunior/"><img src="https://avatars1.githubusercontent.com/u/11370172?v=4?s=100" width="100px;" alt="Rivaldo Junior"/><br /><sub><b>Rivaldo Junior</b></sub></a><br /><a href="#maintenance-rivajunior" title="Maintenance">🚧</a></td>
356
357
  <td align="center" valign="top" width="14.28%"><a href="https://scottrippey.github.io/"><img src="https://avatars3.githubusercontent.com/u/430608?v=4?s=100" width="100px;" alt="Scott Rippey"/><br /><sub><b>Scott Rippey</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=scottrippey" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Ascottrippey" title="Bug reports">🐛</a></td>
357
358
  <td align="center" valign="top" width="14.28%"><a href="https://seanmcp.com/"><img src="https://avatars1.githubusercontent.com/u/6360367?v=4?s=100" width="100px;" alt="Sean McPherson"/><br /><sub><b>Sean McPherson</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=SeanMcP" title="Code">💻</a></td>
358
359
  <td align="center" valign="top" width="14.28%"><a href="http://smoores.dev"><img src="https://avatars.githubusercontent.com/u/5354254?v=4?s=100" width="100px;" alt="Shane Moore"/><br /><sub><b>Shane Moore</b></sub></a><br /><a href="#platform-SMores" title="Packaging/porting to new platform">📦</a></td>
359
- <td align="center" valign="top" width="14.28%"><a href="https://recollectr.io"><img src="https://avatars2.githubusercontent.com/u/6835891?v=4?s=100" width="100px;" alt="Slapbox"/><br /><sub><b>Slapbox</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=Slapbox" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3ASlapbox" title="Bug reports">🐛</a></td>
360
360
  </tr>
361
361
  <tr>
362
+ <td align="center" valign="top" width="14.28%"><a href="https://recollectr.io"><img src="https://avatars2.githubusercontent.com/u/6835891?v=4?s=100" width="100px;" alt="Slapbox"/><br /><sub><b>Slapbox</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=Slapbox" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3ASlapbox" title="Bug reports">🐛</a></td>
362
363
  <td align="center" valign="top" width="14.28%"><a href="https://stefancameron.com/"><img src="https://avatars3.githubusercontent.com/u/2855350?v=4?s=100" width="100px;" alt="Stefan Cameron"/><br /><sub><b>Stefan Cameron</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Astefcameron" title="Bug reports">🐛</a> <a href="#infra-stefcameron" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Tests">⚠️</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Documentation">📖</a> <a href="#maintenance-stefcameron" title="Maintenance">🚧</a></td>
363
364
  <td align="center" valign="top" width="14.28%"><a href="http://tylerhawkins.info/201R/"><img src="https://avatars0.githubusercontent.com/u/13806458?v=4?s=100" width="100px;" alt="Tyler Hawkins"/><br /><sub><b>Tyler Hawkins</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=thawkin3" title="Documentation">📖</a> <a href="#example-thawkin3" title="Examples">💡</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=thawkin3" title="Tests">⚠️</a> <a href="#tool-thawkin3" title="Tools">🔧</a></td>
364
365
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/wandroll"><img src="https://avatars.githubusercontent.com/u/4492317?v=4?s=100" width="100px;" alt="Wandrille Verlut"/><br /><sub><b>Wandrille Verlut</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=wandroll" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=wandroll" title="Tests">⚠️</a></td>
365
366
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/krikienoid"><img src="https://avatars3.githubusercontent.com/u/8528227?v=4?s=100" width="100px;" alt="krikienoid"/><br /><sub><b>krikienoid</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Akrikienoid" title="Bug reports">🐛</a></td>
367
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/robert-westenberger"><img src="https://avatars.githubusercontent.com/u/44252092?v=4?s=100" width="100px;" alt="robert-westenberger"/><br /><sub><b>robert-westenberger</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=robert-westenberger" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Arobert-westenberger" title="Bug reports">🐛</a></td>
366
368
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/syntactic-salt"><img src="https://avatars.githubusercontent.com/u/9385662?v=4?s=100" width="100px;" alt="syntactic-salt"/><br /><sub><b>syntactic-salt</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Asyntactic-salt" title="Bug reports">🐛</a></td>
367
369
  </tr>
368
370
  </tbody>
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
 
3
3
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
7
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
8
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
11
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
13
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
5
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
6
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
7
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
9
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
10
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
12
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
14
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
17
17
  var React = require('react');
18
18
  var PropTypes = require('prop-types');
19
19
  var _require = require('focus-trap'),
@@ -21,12 +21,10 @@ var _require = require('focus-trap'),
21
21
  var _require2 = require('tabbable'),
22
22
  isFocusable = _require2.isFocusable;
23
23
  var FocusTrap = /*#__PURE__*/function (_React$Component) {
24
- _inherits(FocusTrap, _React$Component);
25
- var _super = _createSuper(FocusTrap);
26
24
  function FocusTrap(props) {
27
25
  var _this;
28
26
  _classCallCheck(this, FocusTrap);
29
- _this = _super.call(this, props);
27
+ _this = _callSuper(this, FocusTrap, [props]);
30
28
  /**
31
29
  * Gets the node for the given option, which is expected to be an option that
32
30
  * can be either a DOM node, a string that is a selector to get a node, `false`
@@ -40,7 +38,7 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
40
38
  * @throws {Error} If the option is set, not `false`, and is not, or does not
41
39
  * resolve to a node.
42
40
  */
43
- _defineProperty(_assertThisInitialized(_this), "getNodeForOption", function (optionName) {
41
+ _defineProperty(_this, "getNodeForOption", function (optionName) {
44
42
  var _this$internalOptions;
45
43
  // use internal options first, falling back to original options
46
44
  var optionValue = (_this$internalOptions = this.internalOptions[optionName]) !== null && _this$internalOptions !== void 0 ? _this$internalOptions : this.originalOptions[optionName];
@@ -53,7 +51,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
53
51
  if (optionValue === true) {
54
52
  optionValue = undefined; // use default value
55
53
  }
56
-
57
54
  if (!optionValue) {
58
55
  if (optionValue === undefined || optionValue === false) {
59
56
  return optionValue;
@@ -73,9 +70,9 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
73
70
  }
74
71
  return node;
75
72
  });
76
- _this.handleDeactivate = _this.handleDeactivate.bind(_assertThisInitialized(_this));
77
- _this.handlePostDeactivate = _this.handlePostDeactivate.bind(_assertThisInitialized(_this));
78
- _this.handleClickOutsideDeactivates = _this.handleClickOutsideDeactivates.bind(_assertThisInitialized(_this));
73
+ _this.handleDeactivate = _this.handleDeactivate.bind(_this);
74
+ _this.handlePostDeactivate = _this.handlePostDeactivate.bind(_this);
75
+ _this.handleClickOutsideDeactivates = _this.handleClickOutsideDeactivates.bind(_this);
79
76
 
80
77
  // focus-trap options used internally when creating the trap
81
78
  _this.internalOptions = {
@@ -120,7 +117,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
120
117
  _this.originalOptions[optionName] = focusTrapOptions[optionName];
121
118
  continue; // exclude from internalOptions
122
119
  }
123
-
124
120
  _this.internalOptions[optionName] = focusTrapOptions[optionName];
125
121
  }
126
122
 
@@ -146,7 +142,8 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
146
142
  * document, if it exists. During SSR, `undefined` is returned since the
147
143
  * document doesn't exist.
148
144
  */
149
- _createClass(FocusTrap, [{
145
+ _inherits(FocusTrap, _React$Component);
146
+ return _createClass(FocusTrap, [{
150
147
  key: "getDocument",
151
148
  value: function getDocument() {
152
149
  // SSR: careful to check if `document` exists before accessing it as a variable
@@ -219,7 +216,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
219
216
  if (this.originalOptions.onDeactivate) {
220
217
  this.originalOptions.onDeactivate.call(null); // call user's handler out of context
221
218
  }
222
-
223
219
  this.deactivateTrap();
224
220
  }
225
221
  }, {
@@ -244,7 +240,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
244
240
 
245
241
  // if no, the restore focus to `returnFocusNode` at this point
246
242
  );
247
-
248
243
  var _this2$internalOption = _this2.internalOptions.preventScroll,
249
244
  preventScroll = _this2$internalOption === void 0 ? false : _this2$internalOption;
250
245
  if (canReturnFocus) {
@@ -256,10 +251,8 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
256
251
  if (_this2.originalOptions.onPostDeactivate) {
257
252
  _this2.originalOptions.onPostDeactivate.call(null); // don't call it in context of "this"
258
253
  }
259
-
260
254
  _this2.outsideClick = null; // reset: no longer needed
261
255
  };
262
-
263
256
  if (this.originalOptions.checkCanReturnFocus) {
264
257
  this.originalOptions.checkCanReturnFocus.call(null, this.getReturnFocusNode()) // call out of context
265
258
  .then(finishDeactivation, finishDeactivation);
@@ -335,7 +328,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
335
328
  this.deactivateTrap();
336
329
  return; // un/pause does nothing on an inactive trap
337
330
  }
338
-
339
331
  if (hasPaused) {
340
332
  this.focusTrap.pause();
341
333
  }
@@ -394,7 +386,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
394
386
  return null;
395
387
  }
396
388
  }]);
397
- return FocusTrap;
398
389
  }(React.Component); // support server-side rendering where `Element` will not be defined
399
390
  var ElementType = typeof Element === 'undefined' ? Function : Element;
400
391
  FocusTrap.propTypes = {
@@ -441,7 +432,6 @@ FocusTrap.propTypes = {
441
432
  // specify it here. It's expected to be set to the function returned from
442
433
  // require('focus-trap'), or one with a compatible interface.
443
434
  };
444
-
445
435
  FocusTrap.defaultProps = {
446
436
  active: true,
447
437
  paused: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "focus-trap-react",
3
- "version": "10.2.3",
3
+ "version": "10.3.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,45 +57,45 @@
57
57
  },
58
58
  "homepage": "https://github.com/focus-trap/focus-trap-react#readme",
59
59
  "devDependencies": {
60
- "@babel/cli": "^7.23.0",
61
- "@babel/core": "^7.23.0",
62
- "@babel/eslint-parser": "^7.22.15",
60
+ "@babel/cli": "^7.25.6",
61
+ "@babel/core": "^7.25.2",
62
+ "@babel/eslint-parser": "^7.25.1",
63
63
  "@babel/plugin-proposal-class-properties": "^7.18.6",
64
- "@babel/preset-env": "^7.22.20",
65
- "@babel/preset-react": "^7.22.15",
66
- "@changesets/cli": "^2.26.2",
67
- "@testing-library/cypress": "^10.0.1",
68
- "@testing-library/dom": "^9.3.3",
69
- "@testing-library/jest-dom": "^6.1.3",
70
- "@testing-library/react": "^14.0.0",
71
- "@testing-library/user-event": "^14.5.1",
72
- "@types/jquery": "^3.5.22",
64
+ "@babel/preset-env": "^7.25.4",
65
+ "@babel/preset-react": "^7.24.7",
66
+ "@changesets/cli": "^2.27.8",
67
+ "@testing-library/cypress": "^10.0.2",
68
+ "@testing-library/dom": "^10.4.0",
69
+ "@testing-library/jest-dom": "^6.5.0",
70
+ "@testing-library/react": "^16.0.1",
71
+ "@testing-library/user-event": "^14.5.2",
72
+ "@types/jquery": "^3.5.30",
73
73
  "all-contributors-cli": "^6.26.1",
74
74
  "babel-jest": "^29.7.0",
75
75
  "babelify": "^10.0.0",
76
76
  "browserify": "^17.0.0",
77
77
  "budo": "^11.8.4",
78
- "cypress": "^13.3.0",
78
+ "cypress": "^13.14.2",
79
79
  "cypress-plugin-tab": "^1.0.5",
80
- "eslint": "^8.51.0",
81
- "eslint-config-prettier": "^9.0.0",
82
- "eslint-plugin-cypress": "^2.15.1",
83
- "eslint-plugin-jest": "^27.4.2",
84
- "eslint-plugin-react": "^7.33.2",
80
+ "eslint": "^8.57.0",
81
+ "eslint-config-prettier": "^9.1.0",
82
+ "eslint-plugin-cypress": "^3.5.0",
83
+ "eslint-plugin-jest": "^28.8.3",
84
+ "eslint-plugin-react": "^7.36.1",
85
85
  "jest": "^29.7.0",
86
86
  "jest-environment-jsdom": "^29.7.0",
87
87
  "jest-watch-typeahead": "^2.2.2",
88
88
  "onchange": "^7.1.0",
89
- "prettier": "^3.0.3",
89
+ "prettier": "^3.3.3",
90
90
  "prop-types": "^15.8.1",
91
- "react": "^18.2.0",
92
- "react-dom": "^18.2.0",
93
- "regenerator-runtime": "^0.14.0",
94
- "start-server-and-test": "^2.0.1",
95
- "typescript": "^5.2.2"
91
+ "react": "^18.3.1",
92
+ "react-dom": "^18.3.1",
93
+ "regenerator-runtime": "^0.14.1",
94
+ "start-server-and-test": "^2.0.8",
95
+ "typescript": "^5.6.2"
96
96
  },
97
97
  "dependencies": {
98
- "focus-trap": "^7.5.4",
98
+ "focus-trap": "^7.6.0",
99
99
  "tabbable": "^6.2.0"
100
100
  },
101
101
  "peerDependencies": {