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

@ -14,6 +14,6 @@ const forwarded = useForwardPropsEmits(props, emits);
<template>
<DialogRoot data-slot="dialog" v-bind="forwarded">
<slot/>
<slot />
</DialogRoot>
</template>

View file

@ -6,6 +6,6 @@ const props = defineProps<DialogCloseProps>();
<template>
<DialogClose data-slot="dialog-close" v-bind="props">
<slot/>
<slot />
</DialogClose>
</template>

View file

@ -31,7 +31,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
<template>
<DialogPortal>
<DialogOverlay/>
<DialogOverlay />
<DialogContent
data-slot="dialog-content"
v-bind="forwarded"
@ -41,13 +41,13 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
props.class,
)"
>
<slot/>
<slot />
<DialogClose
v-if="!hideClose"
class="ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
>
<X/>
<X />
<span class="sr-only">Close</span>
</DialogClose>
</DialogContent>

View file

@ -26,6 +26,6 @@ const forwardedProps = useForwardProps(delegatedProps);
v-bind="forwardedProps"
:class="cn('text-muted-foreground text-sm', props.class)"
>
<slot/>
<slot />
</DialogDescription>
</template>

View file

@ -10,6 +10,6 @@ const props = defineProps<{ class?: HTMLAttributes["class"] }>();
data-slot="dialog-footer"
:class="cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -12,6 +12,6 @@ const props = defineProps<{
data-slot="dialog-header"
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
>
<slot/>
<slot />
</div>
</template>

View file

@ -20,6 +20,6 @@ const delegatedProps = computed(() => {
v-bind="delegatedProps"
:class="cn('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80 backdrop-blur-md', props.class)"
>
<slot/>
<slot />
</DialogOverlay>
</template>

View file

@ -47,12 +47,12 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
}
}"
>
<slot/>
<slot />
<DialogClose
class="absolute top-4 right-4 p-0.5 transition-colors rounded-md hover:bg-secondary"
>
<X class="w-4 h-4"/>
<X class="w-4 h-4" />
<span class="sr-only">Close</span>
</DialogClose>
</DialogContent>

View file

@ -22,6 +22,6 @@ const forwardedProps = useForwardProps(delegatedProps);
v-bind="forwardedProps"
:class="cn('text-lg leading-none font-semibold', props.class)"
>
<slot/>
<slot />
</DialogTitle>
</template>

View file

@ -6,6 +6,6 @@ const props = defineProps<DialogTriggerProps>();
<template>
<DialogTrigger data-slot="dialog-trigger" v-bind="props">
<slot/>
<slot />
</DialogTrigger>
</template>