feat:use dynamic sheet for findpreview

This commit is contained in:
2025-10-16 17:41:00 +02:00
parent aea324988d
commit bee03a57ec
10 changed files with 547 additions and 176 deletions

View File

@@ -0,0 +1,17 @@
<script lang="ts">
import { Dialog as SheetPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: SheetPrimitive.TitleProps = $props();
</script>
<SheetPrimitive.Title
bind:ref
data-slot="sheet-title"
class={cn('font-semibold text-foreground', className)}
{...restProps}
/>