update shadcn components

This commit is contained in:
maxDorninger
2025-08-02 03:24:13 +02:00
parent fb095e61cb
commit 56a215de97
259 changed files with 3871 additions and 1186 deletions

View File

@@ -1,7 +1,7 @@
import Root from './separator.svelte';
import Root from "./separator.svelte";
export {
Root,
//
Root as Separator
Root as Separator,
};

View File

@@ -1,11 +1,11 @@
<script lang="ts">
import { Separator as SeparatorPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { Separator as SeparatorPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
orientation = 'horizontal',
orientation = "horizontal",
...restProps
}: SeparatorPrimitive.RootProps = $props();
</script>
@@ -13,8 +13,8 @@
<SeparatorPrimitive.Root
bind:ref
class={cn(
'shrink-0 bg-border',
orientation === 'horizontal' ? 'h-px w-full' : 'min-h-full w-px',
"bg-border shrink-0",
orientation === "horizontal" ? "h-[1px] w-full" : "min-h-full w-[1px]",
className
)}
{orientation}