Add initial shared code packages

This commit is contained in:
Gabriel20xx committed 2026-08-04 15:17:15 +02:00
commit 838a97d344
54 files changed
+6265

No files matched your search

@@ -0,0 +1,24 @@
<script lang="ts">
import type { Snippet } from 'svelte';
import Dialog from './Dialog.svelte';
let {
children,
description = '',
open = $bindable(false),
title = 'Settings'
}: {
children?: Snippet;
description?: string;
open?: boolean;
title?: string;
} = $props();
</script>
<Dialog bind:open {description} {title}>
{#if children}
{@render children()}
{:else}
<p class="sc-muted">No settings have been configured for this application yet.</p>
{/if}
</Dialog>