From e125b2c7950bf654470e72d91f2b29adc3b0ef7f Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 25 Feb 2026 09:59:19 +0300 Subject: [PATCH] feat(FontSampler): redesign component, remuve unused code, add stories --- .../ui/FontSampler/FontSampler.stories.svelte | 116 ++++++++++++++++++ .../ui/FontSearch/FontSearch.svelte | 3 +- 2 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 src/features/DisplayFont/ui/FontSampler/FontSampler.stories.svelte diff --git a/src/features/DisplayFont/ui/FontSampler/FontSampler.stories.svelte b/src/features/DisplayFont/ui/FontSampler/FontSampler.stories.svelte new file mode 100644 index 0000000..0238a83 --- /dev/null +++ b/src/features/DisplayFont/ui/FontSampler/FontSampler.stories.svelte @@ -0,0 +1,116 @@ + + + + + + {#snippet template(args)} + +
+ +
+
+ {/snippet} +
+ + {#snippet template(args)} + +
+ +
+
+ {/snippet} +
diff --git a/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte b/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte index feb3882..5adbffc 100644 --- a/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte +++ b/src/widgets/FontSearch/ui/FontSearch/FontSearch.svelte @@ -80,10 +80,9 @@ function toggleFilters() {
- {#snippet icon({ className })} + {#snippet icon()}