Skip to content

Commit d2d5696

Browse files
committed
chore(deps): update vaul-vue
1 parent 70f469b commit d2d5696

File tree

10 files changed

+103
-105
lines changed

10 files changed

+103
-105
lines changed

docs/content/3.components/drawer.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@ slots:
217217
::
218218

219219
::warning
220-
Make sure to add the `vaul-drawer-wrapper` directive to a parent element of your app to make this work.
220+
Make sure to add the `data-vaul-drawer-wrapper` directive to a parent element of your app to make this work.
221221

222222
```vue [app.vue]
223223
<template>
224224
<UApp>
225-
<div class="bg-(--ui-bg)" vaul-drawer-wrapper>
225+
<div class="bg-(--ui-bg)" data-vaul-drawer-wrapper>
226226
<NuxtLayout>
227227
<NuxtPage />
228228
</NuxtLayout>
@@ -235,7 +235,7 @@ Make sure to add the `vaul-drawer-wrapper` directive to a parent element of your
235235
export default defineNuxtConfig({
236236
app: {
237237
rootAttrs: {
238-
'vaul-drawer-wrapper': '',
238+
'data-vaul-drawer-wrapper': '',
239239
'class': 'bg-(--ui-bg)'
240240
}
241241
}

docs/nuxt.config.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export default defineNuxtConfig({
5555
}]
5656
},
5757
rootAttrs: {
58-
// @ts-expect-error - vaul-drawer-wrapper is not typed
59-
'vaul-drawer-wrapper': '',
58+
'data-vaul-drawer-wrapper': '',
6059
'class': 'bg-(--ui-bg)'
6160
}
6261
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"unplugin": "^2.2.1",
117117
"unplugin-auto-import": "^19.1.1",
118118
"unplugin-vue-components": "^28.4.1",
119-
"vaul-vue": "^0.3.0",
119+
"vaul-vue": "^0.4.1",
120120
"vue": "^3.5.13",
121121
"vue-router": "^4.5.0"
122122
},

playground-vue/src/app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defineShortcuts({
8484

8585
<template>
8686
<UApp :toaster="(appConfig.toaster as any)">
87-
<div class="h-screen w-screen overflow-hidden flex min-h-0 bg-(--ui-bg)" vaul-drawer-wrapper>
87+
<div class="h-screen w-screen overflow-hidden flex min-h-0 bg-(--ui-bg)" data-vaul-drawer-wrapper>
8888
<UNavigationMenu :items="items" orientation="vertical" class="hidden lg:flex border-e border-(--ui-border) overflow-y-auto w-48 p-4" />
8989
<UNavigationMenu :items="items" orientation="horizontal" class="lg:hidden border-b border-(--ui-border) [&>div]:min-w-min overflow-x-auto" />
9090

playground/app/app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ defineShortcuts({
8585
<template>
8686
<template v-if="!$route.path.startsWith('/__nuxt_ui__')">
8787
<UApp :toaster="appConfig.toaster">
88-
<div class="h-screen w-screen overflow-hidden flex flex-col lg:flex-row min-h-0 bg-(--ui-bg)" vaul-drawer-wrapper>
88+
<div class="h-screen w-screen overflow-hidden flex flex-col lg:flex-row min-h-0 bg-(--ui-bg)" data-vaul-drawer-wrapper>
8989
<UNavigationMenu :items="items" orientation="vertical" class="hidden lg:flex border-e border-(--ui-border) overflow-y-auto w-48 p-4" />
9090
<UNavigationMenu :items="items" orientation="horizontal" class="lg:hidden border-b border-(--ui-border) [&>div]:min-w-min overflow-x-auto" />
9191

playground/app/pages/components/drawer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const inset = ref(false)
2020
</template>
2121
</UDrawer>
2222

23-
<UDrawer should-scale-background title="Drawer with `should-scale-background`" description="You need to add the `vaul-drawer-wrapper` directive to your content to make it work." :inset="inset">
23+
<UDrawer should-scale-background title="Drawer with `should-scale-background`" description="You need to add the `data-vaul-drawer-wrapper` directive to your content to make it work." :inset="inset">
2424
<UButton color="neutral" variant="outline" label="Open with scale" />
2525

2626
<template #body>

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

renovate.json

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
},
88
"ignoreDeps": [
99
"typescript",
10-
"vaul-vue",
1110
"vue-tsc"
1211
],
1312
"baseBranches": ["v2", "v3"],

0 commit comments

Comments
 (0)