chore(deps): update vaul-vue

This commit is contained in:
Benjamin Canac
2025-03-20 17:40:31 +01:00
parent 70f469b868
commit f401766e26
13 changed files with 184 additions and 250 deletions

View File

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

View File

@@ -20,7 +20,7 @@ const inset = ref(false)
</template>
</UDrawer>
<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">
<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">
<UButton color="neutral" variant="outline" label="Open with scale" />
<template #body>
@@ -28,7 +28,7 @@ const inset = ref(false)
</template>
</UDrawer>
<UDrawer title="Drawer with bottom direction" direction="bottom" :handle="false" :inset="inset">
<UDrawer title="Drawer with bottom direction" direction="bottom" :inset="inset">
<UButton color="neutral" variant="outline" label="Open on bottom" />
<template #body>
@@ -36,7 +36,7 @@ const inset = ref(false)
</template>
</UDrawer>
<UDrawer title="Drawer with left direction" direction="left" :handle="false" :inset="inset">
<UDrawer title="Drawer with left direction" direction="left" :inset="inset">
<UButton color="neutral" variant="outline" label="Open on left" />
<template #body>
@@ -44,7 +44,7 @@ const inset = ref(false)
</template>
</UDrawer>
<UDrawer title="Drawer with top direction" direction="top" :handle="false" :inset="inset">
<UDrawer title="Drawer with top direction" direction="top" :inset="inset">
<UButton color="neutral" variant="outline" label="Open on top" />
<template #body>
@@ -52,7 +52,7 @@ const inset = ref(false)
</template>
</UDrawer>
<UDrawer title="Drawer with right direction" direction="right" :handle="false" :inset="inset">
<UDrawer title="Drawer with right direction" direction="right" :inset="inset">
<UButton color="neutral" variant="outline" label="Open on right" />
<template #body>