From 53e71f1edef24ebf898cad0b8b8c91fddb62ca0a Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Sun, 17 Dec 2023 17:20:01 -0500 Subject: [PATCH 1/2] Target components into Storybook --- src/common/dialog/SearchTipsDialog.svelte | 108 +++++++++--------- .../stories/SearchTipsDialog.stories.svelte | 14 +++ src/common/stories/ErrorData.stories.svelte | 17 +++ src/common/stories/HtmlField.stories.svelte | 14 +++ src/common/stories/Logo.stories.svelte | 27 +++++ 5 files changed, 127 insertions(+), 53 deletions(-) create mode 100644 src/common/dialog/stories/SearchTipsDialog.stories.svelte create mode 100644 src/common/stories/ErrorData.stories.svelte create mode 100644 src/common/stories/HtmlField.stories.svelte create mode 100644 src/common/stories/Logo.stories.svelte diff --git a/src/common/dialog/SearchTipsDialog.svelte b/src/common/dialog/SearchTipsDialog.svelte index 3a9fa6590..98f30153a 100644 --- a/src/common/dialog/SearchTipsDialog.svelte +++ b/src/common/dialog/SearchTipsDialog.svelte @@ -1,6 +1,5 @@ + + + + diff --git a/src/common/stories/ErrorData.stories.svelte b/src/common/stories/ErrorData.stories.svelte new file mode 100644 index 000000000..813749b94 --- /dev/null +++ b/src/common/stories/ErrorData.stories.svelte @@ -0,0 +1,17 @@ + + + + + diff --git a/src/common/stories/HtmlField.stories.svelte b/src/common/stories/HtmlField.stories.svelte new file mode 100644 index 000000000..4d0737a17 --- /dev/null +++ b/src/common/stories/HtmlField.stories.svelte @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/common/stories/Logo.stories.svelte b/src/common/stories/Logo.stories.svelte new file mode 100644 index 000000000..6a6118c8c --- /dev/null +++ b/src/common/stories/Logo.stories.svelte @@ -0,0 +1,27 @@ + + + + + + + + + + + From 2569cde517ae3fdb0fbe43be184deb4096d5e3df Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Mon, 18 Dec 2023 08:35:42 -0500 Subject: [PATCH 2/2] Search Tips Dialog is stateless --- src/common/dialog/SearchTipsDialog.svelte | 26 +++++++---------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/src/common/dialog/SearchTipsDialog.svelte b/src/common/dialog/SearchTipsDialog.svelte index 98f30153a..8d2d964cb 100644 --- a/src/common/dialog/SearchTipsDialog.svelte +++ b/src/common/dialog/SearchTipsDialog.svelte @@ -1,14 +1,6 @@