diff --git a/bun.lockb b/bun.lockb index 238b0ee..4d39397 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index c962885..a759f85 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "graphql": "^16.9.0", "graphql-ws": "^5.16.0", "p-queue": "^8.0.1", - "svelte-skeleton-three-state-switch": "0.0.7", + "svelte-skeleton-three-state-switch": "0.0.8", "sveltekit-search-params": "^3.0.0" } } diff --git a/src/lib/components/switch.svelte b/src/lib/components/switch.svelte index 101f194..f16c1f0 100644 --- a/src/lib/components/switch.svelte +++ b/src/lib/components/switch.svelte @@ -42,6 +42,7 @@ currentTarget: EventTarget & HTMLDivElement; } ) => void; + title?: string; [key: string]: unknown; } @@ -59,6 +60,7 @@ onchange = () => {}, onkeydown = () => {}, children, + title, ...rest }: Props = $props(); @@ -129,6 +131,7 @@ aria-label={label} aria-checked={checked} tabindex="0" + {title} >