From deae5acac81860d568426df23f767848effef4fc Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 25 Sep 2025 17:54:50 +0200 Subject: [PATCH] wip --- .../src/lib/components/EditorPanel.svelte | 13 +++++++-- .../src/lib/components/Playground.svelte | 27 ++++++++++++++++--- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/playground/src/lib/components/EditorPanel.svelte b/playground/src/lib/components/EditorPanel.svelte index 8775835..4bdd15e 100644 --- a/playground/src/lib/components/EditorPanel.svelte +++ b/playground/src/lib/components/EditorPanel.svelte @@ -11,6 +11,7 @@ subtitle?: string; status?: 'success' | 'error'; timing?: number; + pillText?: string; } let { @@ -22,7 +23,8 @@ headerActions, subtitle, status, - timing + timing, + pillText }: Props = $props(); @@ -60,7 +62,14 @@ {/if}
-

{title}

+

+ {title} + {#if pillText} + + {pillText} + + {/if} +

{#if subtitle}

{subtitle}

{/if} diff --git a/playground/src/lib/components/Playground.svelte b/playground/src/lib/components/Playground.svelte index a5eab0c..d0c3cf5 100644 --- a/playground/src/lib/components/Playground.svelte +++ b/playground/src/lib/components/Playground.svelte @@ -1,10 +1,17 @@