From b4132b54ca67217f706c512c921bf70f86302e31 Mon Sep 17 00:00:00 2001 From: Scott Rhamy Date: Sun, 11 Jan 2026 09:01:17 -0500 Subject: [PATCH 1/2] fix for empty layers toggle showing small circle --- docs/src/routes/docs/components/[name]/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/routes/docs/components/[name]/+layout.svelte b/docs/src/routes/docs/components/[name]/+layout.svelte index 6d4b92132..cd50a4c2b 100644 --- a/docs/src/routes/docs/components/[name]/+layout.svelte +++ b/docs/src/routes/docs/components/[name]/+layout.svelte @@ -94,7 +94,7 @@ {page.params.example?.replaceAll('-', ' ') ?? metadata.name} - {#if layers} + {#if layers?.length} Date: Mon, 26 Jan 2026 15:15:32 -0500 Subject: [PATCH 2/2] data had unncessary baseline and date, so removed from both --- .../examples/components/Text/truncate-axis-labels.svelte | 6 ------ .../examples/components/Text/word-wrap-axis-labels.svelte | 6 ------ 2 files changed, 12 deletions(-) diff --git a/docs/src/examples/components/Text/truncate-axis-labels.svelte b/docs/src/examples/components/Text/truncate-axis-labels.svelte index 1bb95d44d..2869b17ee 100644 --- a/docs/src/examples/components/Text/truncate-axis-labels.svelte +++ b/docs/src/examples/components/Text/truncate-axis-labels.svelte @@ -5,21 +5,15 @@ const data = [ { - date: new Date('2026-01-22T05:00:00.000Z'), value: 47, - baseline: 100, label: 'This is 1st really long text' }, { - date: new Date('2026-01-23T05:00:00.000Z'), value: 27, - baseline: 20, label: 'This is 2nd really long text' }, { - date: new Date('2026-01-24T05:00:00.000Z'), value: 82, - baseline: 26, label: 'This is 3rd really long text' } ]; diff --git a/docs/src/examples/components/Text/word-wrap-axis-labels.svelte b/docs/src/examples/components/Text/word-wrap-axis-labels.svelte index 958d385ea..7b613f1ad 100644 --- a/docs/src/examples/components/Text/word-wrap-axis-labels.svelte +++ b/docs/src/examples/components/Text/word-wrap-axis-labels.svelte @@ -4,21 +4,15 @@ const data = [ { - date: new Date('2026-01-22T05:00:00.000Z'), value: 67, - baseline: 100, label: 'This is\n1st really\nlong text' }, { - date: new Date('2026-01-23T05:00:00.000Z'), value: 97, - baseline: 20, label: 'This is\n2nd really\nlong text' }, { - date: new Date('2026-01-24T05:00:00.000Z'), value: 61, - baseline: 26, label: 'This is\n3rd really\nlong text' } ];