From 4d90d7376fcb184fd57200d982de7ccd2f773377 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Mon, 18 Dec 2023 17:30:01 -0500 Subject: [PATCH] more autodocs --- .gitignore | 1 + src/common/stories/Logo.stories.svelte | 2 ++ src/pages/app/stories/SearchBar.stories.svelte | 3 ++- src/pages/app/stories/SearchInput.stories.svelte | 3 ++- src/pages/app/stories/SearchLink.stories.svelte | 3 ++- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0abeca247..e3fc1919a 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ tests/fixtures/development.json scratch/ dist/ +storybook-static/ \ No newline at end of file diff --git a/src/common/stories/Logo.stories.svelte b/src/common/stories/Logo.stories.svelte index 6a6118c8c..9ad09e8bc 100644 --- a/src/common/stories/Logo.stories.svelte +++ b/src/common/stories/Logo.stories.svelte @@ -5,6 +5,8 @@ export const meta = { title: "Common / Logo", component: Logo, + tags: ["autodocs"], + parameters: { layout: "centered" }, }; const args = { diff --git a/src/pages/app/stories/SearchBar.stories.svelte b/src/pages/app/stories/SearchBar.stories.svelte index 5af17dff4..6d4ee7be4 100644 --- a/src/pages/app/stories/SearchBar.stories.svelte +++ b/src/pages/app/stories/SearchBar.stories.svelte @@ -6,7 +6,8 @@ export const meta = { title: "App / Search / Search Bar", component: SearchBar, - parameters: { layout: "fullscreen" }, + tags: ["autodocs"], + parameters: { layout: "centered" }, }; diff --git a/src/pages/app/stories/SearchInput.stories.svelte b/src/pages/app/stories/SearchInput.stories.svelte index 9c58eaf37..e0e5bfea9 100644 --- a/src/pages/app/stories/SearchInput.stories.svelte +++ b/src/pages/app/stories/SearchInput.stories.svelte @@ -7,7 +7,8 @@ export const meta = { title: "App / Search / Search Input", component: SearchInput, - parameters: { layout: "fullscreen" }, + tags: ["autodocs"], + parameters: { layout: "centered" }, }; diff --git a/src/pages/app/stories/SearchLink.stories.svelte b/src/pages/app/stories/SearchLink.stories.svelte index 38446acb1..be878ae99 100644 --- a/src/pages/app/stories/SearchLink.stories.svelte +++ b/src/pages/app/stories/SearchLink.stories.svelte @@ -6,7 +6,8 @@ export const meta = { title: "App / Search / Search Link", component: SearchLink, - parameters: { layout: "fullscreen" }, + tags: ["autodocs"], + parameters: { layout: "centered" }, };