ui changes and cs prices
All checks were successful
Test and deploy staging / staging (push) Successful in 11m52s

This commit is contained in:
2026-09-25 00:44:06 +00:00
parent c757d0882a
commit abac077541
200 changed files with 6236 additions and 2311 deletions

View File

@@ -1,22 +1,28 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'cmdk-sv';
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
type $$Props = CommandPrimitive.CommandProps;
export type CommandRootApi = CommandPrimitive.Root;
export let value: $$Props['value'] = undefined;
let className: string | undefined | null = undefined;
export { className as class };
let {
api = $bindable(null),
ref = $bindable(null),
value = $bindable(''),
class: className,
...restProps
}: CommandPrimitive.RootProps & {
api?: CommandRootApi | null;
} = $props();
</script>
<CommandPrimitive.Root
bind:this={api}
bind:value
bind:ref
data-slot="command"
class={cn(
'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',
'bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden',
className
)}
bind:value
{...$$restProps}
>
<slot />
</CommandPrimitive.Root>
{...restProps}
/>