Update to svelte 5

This commit is contained in:
2025-10-13 16:05:50 +02:00
parent f936e4c0f2
commit 6d89c5ddd9
129 changed files with 2443 additions and 2180 deletions

View File

@@ -1,10 +1,17 @@
<script>
export let width = "750px"
export let center = false
<script lang="ts">
let {
width = "750px",
center = false,
children
}: {
width?: string;
center?: boolean;
children?: import('svelte').Snippet;
} = $props();
</script>
<div class="block" class:center style="width: {width};">
<slot></slot>
{@render children?.()}
</div>
<style>