style: 🎨 Run Biome formatter

This commit is contained in:
Jesse Wierzbinski 2026-01-09 21:47:12 +01:00
parent 74c3b26f20
commit 68e23a818a
No known key found for this signature in database
244 changed files with 435 additions and 470 deletions

View file

@ -27,7 +27,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
:class="cn('bg-sidebar text-sidebar-foreground flex h-dvh w-(--sidebar-width) flex-col', props.class)"
v-bind="$attrs"
>
<slot/>
<slot />
</div>
<Sheet
@ -53,7 +53,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
</SheetDescription>
</SheetHeader>
<div class="flex h-full w-full flex-col">
<slot/>
<slot />
</div>
</SheetContent>
</Sheet>
@ -96,7 +96,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
data-sidebar="sidebar"
class="bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
>
<slot/>
<slot />
</div>
</div>
</div>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="content"
:class="cn('flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="footer"
:class="cn('flex flex-col gap-2 p-2', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="group"
:class="cn('relative flex w-full min-w-0 flex-col p-2', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -24,6 +24,6 @@ const props = defineProps<
props.class,
)"
>
<slot/>
<slot />
</Primitive>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="group-content"
:class="cn('w-full text-sm', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -22,6 +22,6 @@ const props = defineProps<
'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',
props.class)"
>
<slot/>
<slot />
</Primitive>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="header"
:class="cn('flex flex-col gap-2 p-2', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -17,6 +17,6 @@ const props = defineProps<{
props.class,
)"
>
<slot/>
<slot />
</InputVue>
</template>

View file

@ -16,6 +16,6 @@ const props = defineProps<{
props.class,
)"
>
<slot/>
<slot />
</main>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="menu"
:class="cn('flex w-full min-w-0 flex-col gap-1', props.class)"
>
<slot/>
<slot />
</ul>
</template>

View file

@ -34,6 +34,6 @@ const props = withDefaults(
:as="as"
:as-child="asChild"
>
<slot/>
<slot />
</Primitive>
</template>

View file

@ -21,6 +21,6 @@ const props = defineProps<{
props.class,
)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -40,13 +40,13 @@ const delegatedProps = computed(() => {
v-if="!tooltip"
v-bind="{ ...delegatedProps, ...$attrs }"
>
<slot/>
<slot />
</SidebarMenuButtonChild>
<Tooltip v-else>
<TooltipTrigger as-child>
<SidebarMenuButtonChild v-bind="{ ...delegatedProps, ...$attrs }">
<slot/>
<slot />
</SidebarMenuButtonChild>
</TooltipTrigger>
<TooltipContent
@ -57,7 +57,7 @@ const delegatedProps = computed(() => {
<template v-if="typeof tooltip === 'string'">
{{ tooltip }}
</template>
<component :is="tooltip" v-else/>
<component :is="tooltip" v-else />
</TooltipContent>
</Tooltip>
</template>

View file

@ -29,6 +29,6 @@ const props = withDefaults(defineProps<SidebarMenuButtonProps>(), {
:as-child="asChild"
v-bind="$attrs"
>
<slot/>
<slot />
</Primitive>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="menu-item"
:class="cn('group/menu-item relative', props.class)"
>
<slot/>
<slot />
</li>
</template>

View file

@ -17,6 +17,6 @@ const props = defineProps<{
props.class,
)"
>
<slot/>
<slot />
</ul>
</template>

View file

@ -36,6 +36,6 @@ const props = withDefaults(
props.class,
)"
>
<slot/>
<slot />
</Primitive>
</template>

View file

@ -13,6 +13,6 @@ const props = defineProps<{
data-sidebar="menu-sub-item"
:class="cn('group/menu-sub-item relative', props.class)"
>
<slot/>
<slot />
</li>
</template>

View file

@ -90,7 +90,7 @@ provideSidebarContext({
:class="cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', props.class)"
v-bind="$attrs"
>
<slot/>
<slot />
</div>
</TooltipProvider>
</template>

View file

@ -28,6 +28,6 @@ const { toggleSidebar } = useSidebar();
)"
@click="toggleSidebar"
>
<slot/>
<slot />
</button>
</template>

View file

@ -14,6 +14,6 @@ const props = defineProps<{
data-sidebar="separator"
:class="cn('bg-sidebar-border mx-2 w-auto', props.class)"
>
<slot/>
<slot />
</Separator>
</template>

View file

@ -21,7 +21,7 @@ const { toggleSidebar } = useSidebar();
:class="cn('h-7 w-7', props.class)"
@click="toggleSidebar"
>
<PanelLeft/>
<PanelLeft />
<span class="sr-only">Toggle Sidebar</span>
</Button>
</template>