feat: init

This commit is contained in:
hh committed 2026-09-22 02:24:49 +02:00
commit 610fa90bec
147 files changed
+4979

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import Label from './label.svelte';
export { Label };
+22
View File
@@ -0,0 +1,22 @@
<script lang="ts">
import { Label as LabelPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: { ref?: any; class?: string; children?: any; [key: string]: any } = $props();
</script>
<LabelPrimitive.Root
bind:ref
class={cn(
'text-cladd-xs leading-none font-medium text-cladd-fg-soft peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
className
)}
{...restProps}
>
{@render children?.()}
</LabelPrimitive.Root>