Skip to content

Commit 72e75ff

Browse files
committed
build(deps): update packages;
fix: refactor focus trap declaration;
1 parent 384d5d1 commit 72e75ff

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

bun.lockb

12.8 KB
Binary file not shown.

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"url": "https://github.com/megaarmos/vue-spring-bottom-sheet/issues"
3333
},
3434
"private": false,
35-
"version": "1.2.1",
35+
"version": "1.2.2",
3636
"type": "module",
3737
"exports": {
3838
".": {
@@ -60,28 +60,28 @@
6060
"vue": ">=3.3"
6161
},
6262
"dependencies": {
63-
"@vueuse/core": "^12.0.0",
63+
"@vueuse/core": "^12.5.0",
6464
"@vueuse/gesture": "^2.0.0",
65-
"@vueuse/integrations": "^12.0.0",
65+
"@vueuse/integrations": "^12.5.0",
6666
"@vueuse/motion": "^2.2.6",
67-
"focus-trap": "^7",
68-
"remeda": "^2.19.0",
69-
"vue": ">=3.3"
67+
"focus-trap": "^7.6.4",
68+
"remeda": "^2.20.0",
69+
"vue": "^3.5.13"
7070
},
7171
"devDependencies": {
72-
"@types/node": "^22.10.2",
72+
"@types/node": "^22.10.10",
7373
"@vitejs/plugin-vue": "^5.2.1",
74-
"@vue/eslint-config-prettier": "^10.1.0",
75-
"@vue/eslint-config-typescript": "^14.2.0",
74+
"@vue/eslint-config-prettier": "^10.2.0",
75+
"@vue/eslint-config-typescript": "^14.3.0",
7676
"@vue/tsconfig": "^0.7.0",
7777
"ajv": "^8.17.1",
78-
"eslint": "^9.17.0",
78+
"eslint": "^9.19.0",
7979
"eslint-plugin-vue": "^9.32.0",
8080
"prettier": "^3.4.2",
81-
"typescript": "~5.6.2",
82-
"vite": "^6.0.1",
83-
"vite-plugin-dts": "^4.3.0",
84-
"vue-tsc": "^2.1.10"
81+
"typescript": "~5.6.3",
82+
"vite": "^6.0.11",
83+
"vite-plugin-dts": "^4.5.0",
84+
"vue-tsc": "^2.2.0"
8585
},
8686
"files": [
8787
"dist",

src/BottomSheet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const { height: sheetFooterHeight } = useElementBounding(sheetFooter)
5858
const { height: sheetContentHeight } = useElementBounding(sheetContent)
5959
6060
// Focus trap
61-
let focusTrap = useFocusTrap([sheet, backdrop], {
61+
const focusTrap = useFocusTrap([sheet, backdrop], {
6262
immediate: false,
6363
fallbackFocus: () => sheet.value || document.body,
6464
})

0 commit comments

Comments
 (0)