style: Prettier format

This commit is contained in:
April Hall 2025-02-09 21:33:20 -05:00
parent e799c55adb
commit b8a7478fd9
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B
13 changed files with 30 additions and 15 deletions

View File

@ -16,6 +16,7 @@
on:focusin
on:focusout
on:mouseenter
on:mouseleave>
on:mouseleave
>
<slot />
</div>

View File

@ -23,10 +23,12 @@
'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg sm:rounded-lg md:w-full',
className,
)}
{...$$restProps}>
{...$$restProps}
>
<slot />
<DialogPrimitive.Close
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
>
<Cross2 class="h-4 w-4" />
<span class="sr-only">Close</span>
</DialogPrimitive.Close>

View File

@ -17,4 +17,5 @@
{transition}
{transitionConfig}
class={cn('fixed inset-0 z-50 bg-background/80 backdrop-blur-sm ', className)}
{...$$restProps} />
{...$$restProps}
/>

View File

@ -24,7 +24,8 @@
on:focusout
on:pointerdown
on:pointerleave
on:pointermove>
on:pointermove
>
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<DropdownMenuPrimitive.CheckboxIndicator>
<Check class="h-4 w-4" />

View File

@ -17,6 +17,7 @@
{sideOffset}
class={cn('z-50 min-w-[8rem] rounded-md border bg-popover p-1 text-popover-foreground shadow-md focus:outline-none', className)}
{...$$restProps}
on:keydown>
on:keydown
>
<slot />
</DropdownMenuPrimitive.Content>

View File

@ -25,6 +25,7 @@
on:pointerdown
on:pointerleave
on:pointermove
{...$$restProps}>
{...$$restProps}
>
<slot />
</DropdownMenuPrimitive.Item>

View File

@ -24,7 +24,8 @@
on:focusout
on:pointerdown
on:pointerleave
on:pointermove>
on:pointermove
>
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<DropdownMenuPrimitive.RadioIndicator>
<DotFilled class="h-4 w-4 fill-current" />

View File

@ -20,6 +20,7 @@
{...$$restProps}
on:keydown
on:focusout
on:pointermove>
on:pointermove
>
<slot />
</DropdownMenuPrimitive.SubContent>

View File

@ -25,7 +25,8 @@
on:focusin
on:focusout
on:pointerleave
on:pointermove>
on:pointermove
>
<slot />
<ChevronRight class="ml-auto h-4 w-4" />
</DropdownMenuPrimitive.SubTrigger>

View File

@ -38,4 +38,5 @@
on:paste
on:input
on:wheel|passive
{...$$restProps} />
{...$$restProps}
/>

View File

@ -10,6 +10,7 @@
<LabelPrimitive.Root
class={cn('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70', className)}
{...$$restProps}>
{...$$restProps}
>
<slot />
</LabelPrimitive.Root>

View File

@ -26,10 +26,12 @@
{outTransition}
{outTransitionConfig}
class={cn(sheetVariants({ side }), className)}
{...$$restProps}>
{...$$restProps}
>
<slot />
<SheetPrimitive.Close
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"
>
<Cross2 class="h-4 w-4" />
<span class="sr-only">Close</span>
</SheetPrimitive.Close>

View File

@ -17,4 +17,5 @@
{transition}
{transitionConfig}
class={cn('fixed inset-0 z-50 bg-background/80 backdrop-blur-sm', className)}
{...$$restProps} />
{...$$restProps}
/>