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,7 +1,21 @@
<script>
let { ref = $bindable(), class: className, children, ...restProps } = $props();
<script lang="ts">
import type { WithElementRef } from "$lib/utils.js";
import type { HTMLAttributes } from "svelte/elements";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLElement>> = $props();
</script>
<nav bind:this={ref} class={className} aria-label="breadcrumb" {...restProps}>
<nav
bind:this={ref}
data-slot="breadcrumb"
class={className}
aria-label="breadcrumb"
{...restProps}
>
{@render children?.()}
</nav>