diff --git a/package-lock.json b/package-lock.json
index c7586a8837..9ed81e1a19 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,7 +16,6 @@
"@nextcloud/capabilities": "^1.0.4",
"@nextcloud/dialogs": "^3.1.4",
"@nextcloud/event-bus": "^3.0.0",
- "@nextcloud/focus-trap": "^0.1.0-beta",
"@nextcloud/initial-state": "^2.0.0",
"@nextcloud/l10n": "^1.6.0",
"@nextcloud/logger": "^2.2.1",
@@ -25,6 +24,7 @@
"emoji-mart-vue-fast": "^11.1.1",
"escape-html": "^1.0.3",
"floating-vue": "^1.0.0-beta.18",
+ "focus-trap": "^7.1.0",
"hammerjs": "^2.0.8",
"linkify-string": "^4.0.0",
"md5": "^2.3.0",
@@ -4995,18 +4995,6 @@
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
},
- "node_modules/@nextcloud/focus-trap": {
- "version": "0.1.0-beta",
- "resolved": "https://registry.npmjs.org/@nextcloud/focus-trap/-/focus-trap-0.1.0-beta.tgz",
- "integrity": "sha512-c6mrUrvDGRVkYfUGAJl7o2lxA/iIMF46XgBdCGCnCJFISFqHoWYGQoG6adc6w2IL7uhGka+lzy38szz+WUYpkA==",
- "dependencies": {
- "focus-trap": "^7.0.0"
- },
- "engines": {
- "node": "^16.0.0",
- "npm": "^7.0.0 || ^8.0.0"
- }
- },
"node_modules/@nextcloud/initial-state": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-2.0.0.tgz",
@@ -12480,11 +12468,11 @@
}
},
"node_modules/focus-trap": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.0.0.tgz",
- "integrity": "sha512-uT4Bl8TwU+5vVAx/DHil/1eVS54k9unqhK/vGy2KSh7esPmqgC0koAB9J2sJ+vtj8+vmiFyGk2unLkhNLQaxoA==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.1.0.tgz",
+ "integrity": "sha512-CuJvwUBfJCWcU6fc4xr3UwMF5vWnox4isXAixCwrPzCsPKOQjP9T+nTlYT2t+vOmQL8MOQ16eim99XhjQHAuiQ==",
"dependencies": {
- "tabbable": "^6.0.0"
+ "tabbable": "^6.0.1"
}
},
"node_modules/follow-redirects": {
@@ -25714,9 +25702,9 @@
"dev": true
},
"node_modules/tabbable": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.0.tgz",
- "integrity": "sha512-SxhZErfHc3Yozz/HLAl/iPOxuIj8AtUw13NRewVOjFW7vbsqT1f3PuiHrPQbUkRcLNEgAedAv2DnjLtzynJXiw=="
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
+ "integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
},
"node_modules/table": {
"version": "6.8.0",
@@ -33324,14 +33312,6 @@
}
}
},
- "@nextcloud/focus-trap": {
- "version": "0.1.0-beta",
- "resolved": "https://registry.npmjs.org/@nextcloud/focus-trap/-/focus-trap-0.1.0-beta.tgz",
- "integrity": "sha512-c6mrUrvDGRVkYfUGAJl7o2lxA/iIMF46XgBdCGCnCJFISFqHoWYGQoG6adc6w2IL7uhGka+lzy38szz+WUYpkA==",
- "requires": {
- "focus-trap": "^7.0.0"
- }
- },
"@nextcloud/initial-state": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-2.0.0.tgz",
@@ -39219,11 +39199,11 @@
}
},
"focus-trap": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.0.0.tgz",
- "integrity": "sha512-uT4Bl8TwU+5vVAx/DHil/1eVS54k9unqhK/vGy2KSh7esPmqgC0koAB9J2sJ+vtj8+vmiFyGk2unLkhNLQaxoA==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.1.0.tgz",
+ "integrity": "sha512-CuJvwUBfJCWcU6fc4xr3UwMF5vWnox4isXAixCwrPzCsPKOQjP9T+nTlYT2t+vOmQL8MOQ16eim99XhjQHAuiQ==",
"requires": {
- "tabbable": "^6.0.0"
+ "tabbable": "^6.0.1"
}
},
"follow-redirects": {
@@ -49362,9 +49342,9 @@
"dev": true
},
"tabbable": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.0.tgz",
- "integrity": "sha512-SxhZErfHc3Yozz/HLAl/iPOxuIj8AtUw13NRewVOjFW7vbsqT1f3PuiHrPQbUkRcLNEgAedAv2DnjLtzynJXiw=="
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.0.1.tgz",
+ "integrity": "sha512-SYJSIgeyXW7EuX1ytdneO5e8jip42oHWg9xl/o3oTYhmXusZVgiA+VlPvjIN+kHii9v90AmzTZEBcsEvuAY+TA=="
},
"table": {
"version": "6.8.0",
diff --git a/package.json b/package.json
index d3b1d67ec3..9994f4c3e2 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,6 @@
"@nextcloud/capabilities": "^1.0.4",
"@nextcloud/dialogs": "^3.1.4",
"@nextcloud/event-bus": "^3.0.0",
- "@nextcloud/focus-trap": "^0.1.0-beta",
"@nextcloud/initial-state": "^2.0.0",
"@nextcloud/l10n": "^1.6.0",
"@nextcloud/logger": "^2.2.1",
@@ -55,6 +54,7 @@
"emoji-mart-vue-fast": "^11.1.1",
"escape-html": "^1.0.3",
"floating-vue": "^1.0.0-beta.18",
+ "focus-trap": "^7.1.0",
"hammerjs": "^2.0.8",
"linkify-string": "^4.0.0",
"md5": "^2.3.0",
diff --git a/src/components/NcModal/NcModal.vue b/src/components/NcModal/NcModal.vue
index 24bb39ab91..b71193d85f 100644
--- a/src/components/NcModal/NcModal.vue
+++ b/src/components/NcModal/NcModal.vue
@@ -21,7 +21,6 @@
-->
-
```vue
@@ -38,13 +37,6 @@
-
+
```
### Modal with more properties
@@ -121,13 +119,10 @@ export default {
margin: 50px;
text-align: center;
}
-
.input-field {
margin: 12px 0px;
}
-
-
```
### Usage of popover in modal
@@ -145,12 +140,6 @@ export default {
-
+
```
@@ -310,13 +305,13 @@ export default {