From a5222a6015f236495887e45d47f668b8a455aaed Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 20 Apr 2023 19:48:43 -0700 Subject: [PATCH] Add focus-trap Signed-off-by: Christopher Ng --- package-lock.json | 29 +++++++++++++++-------------- package.json | 1 + 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 407dba7f877..0d581e3c437 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,6 +38,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", @@ -9647,11 +9648,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.3", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.4.3.tgz", + "integrity": "sha512-BgSSbK4GPnS2VbtZ50VtOv1Sti6DIkj3+LkVjiWMNjLeAp1SH1UlLx3ULu/DCu4vq5R4/uvTm+zrvsMsuYmGLg==", "dependencies": { - "tabbable": "^6.0.1" + "tabbable": "^6.1.2" } }, "node_modules/focus-visible": { @@ -19646,9 +19647,9 @@ "dev": true }, "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.2", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.2.tgz", + "integrity": "sha512-qCN98uP7i9z0fIS4amQ5zbGBOq+OSigYeGvPy7NDk8Y9yncqDZ9pRPgfsc2PJIVM9RrJj7GIfuRgmjoUU9zTHQ==" }, "node_modules/table": { "version": "6.8.0", @@ -28971,11 +28972,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.3", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.4.3.tgz", + "integrity": "sha512-BgSSbK4GPnS2VbtZ50VtOv1Sti6DIkj3+LkVjiWMNjLeAp1SH1UlLx3ULu/DCu4vq5R4/uvTm+zrvsMsuYmGLg==", "requires": { - "tabbable": "^6.0.1" + "tabbable": "^6.1.2" } }, "focus-visible": { @@ -36442,9 +36443,9 @@ "dev": true }, "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.2", + "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.2.tgz", + "integrity": "sha512-qCN98uP7i9z0fIS4amQ5zbGBOq+OSigYeGvPy7NDk8Y9yncqDZ9pRPgfsc2PJIVM9RrJj7GIfuRgmjoUU9zTHQ==" }, "table": { "version": "6.8.0", diff --git a/package.json b/package.json index 581f24f0265..d472003ea0d 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,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",