update to svelte 5 and tw 4 etc

This commit is contained in:
David Senoner 2025-05-19 16:25:20 +02:00
parent 2ea45109d1
commit e3b9a83e73
327 changed files with 5275 additions and 3363 deletions

View file

@ -1,12 +1,17 @@
<script>
<script lang="ts">
import { Command as CommandPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let { ref = $bindable(null), class: className, ...restProps } = $props();
let {
ref = $bindable(null),
class: className,
...restProps
}: CommandPrimitive.ListProps = $props();
</script>
<CommandPrimitive.List
class={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}
{...restProps}
bind:ref
data-slot="command-list"
class={cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className)}
{...restProps}
/>