SvelteKit-based WebUI (#14839)

This commit is contained in:
Aleksander Grygier authored and GitHub committed 2025-09-17 19:29:13 +02:00
1 parent 8f8f2274ee
commit a7a98e0fff
288 files changed
+25749 -11502

No files matched your search

@@ -0,0 +1,7 @@
import Root from './label.svelte';
export {
Root,
//
Root as Label
};
@@ -0,0 +1,20 @@
<script lang="ts">
import { Label as LabelPrimitive } from 'bits-ui';
import { cn } from '$lib/components/ui/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: LabelPrimitive.RootProps = $props();
</script>
<LabelPrimitive.Root
bind:ref
data-slot="label"
class={cn(
'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',
className
)}
{...restProps}
/>