Update Website
SteamWar CI / Build (push) Successful in 1m55s
SteamWar CI / Deploy (push) Successful in 10s

This commit is contained in:
2026-05-18 23:24:15 +02:00
parent a9260b1ca0
commit 038c2768e6
145 changed files with 3280 additions and 3967 deletions
@@ -1,11 +1,9 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
import Check from "lucide-svelte/icons/check";
import Check from "@lucide/svelte/icons/check";
import { cn } from "$lib/components/utils.js";
type $$Props = DropdownMenuPrimitive.CheckboxItemProps;
type $$Events = DropdownMenuPrimitive.CheckboxItemEvents;
let className: $$Props["class"] = undefined;
export let checked: $$Props["checked"] = undefined;
export { className as class };
@@ -26,10 +24,12 @@
on:pointerleave
on:pointermove
>
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
<DropdownMenuPrimitive.CheckboxIndicator>
{#snippet children({ checked })}
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
{#if checked}
<Check class="h-4 w-4" />
</DropdownMenuPrimitive.CheckboxIndicator>
</span>
<slot />
{/if}
</span>
<slot />
{/snippet}
</DropdownMenuPrimitive.CheckboxItem>