Add focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 87ae9bbc12)
This commit is contained in:
Christopher Ng 2023-04-20 19:48:43 -07:00 committed by Louis Chemineau
parent c263b15201
commit 58773c5a69
5 changed files with 29 additions and 22 deletions

4
dist/core-common.js vendored

File diff suppressed because one or more lines are too long

View file

@ -330,21 +330,26 @@ object-assign
* @license MIT
*/
/*!
* focus-trap 7.1.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* focus-trap 7.2.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* focus-trap 7.4.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* tabbable 6.0.1
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
/*!
* tabbable 6.1.1
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */
/*! For license information please see NcActionSeparator.js.LICENSE.txt */

File diff suppressed because one or more lines are too long

29
package-lock.json generated
View file

@ -43,6 +43,7 @@
"debounce": "^1.2.1",
"dompurify": "^2.3.6",
"escape-html": "^1.0.3",
"focus-trap": "^7.4.0",
"focus-visible": "^5.2.0",
"handlebars": "^4.7.7",
"ical.js": "^1.4.0",
@ -12318,11 +12319,11 @@
}
},
"node_modules/focus-trap": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.1.0.tgz",
"integrity": "sha512-CuJvwUBfJCWcU6fc4xr3UwMF5vWnox4isXAixCwrPzCsPKOQjP9T+nTlYT2t+vOmQL8MOQ16eim99XhjQHAuiQ==",
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.4.0.tgz",
"integrity": "sha512-yI7FwUqU4TVb+7t6PaQ3spT/42r/KLEi8mtdGoQo2li/kFzmu9URmalTvw7xCCJtSOyhBxscvEAmvjeN9iHARg==",
"dependencies": {
"tabbable": "^6.0.1"
"tabbable": "^6.1.1"
}
},
"node_modules/focus-visible": {
@ -23845,9 +23846,9 @@
}
},
"node_modules/tabbable": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
"integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.1.tgz",
"integrity": "sha512-4kl5w+nCB44EVRdO0g/UGoOp3vlwgycUVtkk/7DPyeLZUCuNFFKCFG6/t/DgHLrUPHjrZg6s5tNm+56Q2B0xyg=="
},
"node_modules/table": {
"version": "6.8.0",
@ -35832,11 +35833,11 @@
}
},
"focus-trap": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.1.0.tgz",
"integrity": "sha512-CuJvwUBfJCWcU6fc4xr3UwMF5vWnox4isXAixCwrPzCsPKOQjP9T+nTlYT2t+vOmQL8MOQ16eim99XhjQHAuiQ==",
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.4.0.tgz",
"integrity": "sha512-yI7FwUqU4TVb+7t6PaQ3spT/42r/KLEi8mtdGoQo2li/kFzmu9URmalTvw7xCCJtSOyhBxscvEAmvjeN9iHARg==",
"requires": {
"tabbable": "^6.0.1"
"tabbable": "^6.1.1"
}
},
"focus-visible": {
@ -44589,9 +44590,9 @@
}
},
"tabbable": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
"integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.1.tgz",
"integrity": "sha512-4kl5w+nCB44EVRdO0g/UGoOp3vlwgycUVtkk/7DPyeLZUCuNFFKCFG6/t/DgHLrUPHjrZg6s5tNm+56Q2B0xyg=="
},
"table": {
"version": "6.8.0",

View file

@ -68,6 +68,7 @@
"debounce": "^1.2.1",
"dompurify": "^2.3.6",
"escape-html": "^1.0.3",
"focus-trap": "^7.4.0",
"focus-visible": "^5.2.0",
"handlebars": "^4.7.7",
"ical.js": "^1.4.0",