From ff8f93d186e15bb1ae22edc2f22fd09c6b1aa622 Mon Sep 17 00:00:00 2001 From: Alex Thomsen Date: Thu, 31 Aug 2023 16:59:16 -0600 Subject: [PATCH] Move stories to holocene --- src/{ => lib/holocene}/stories/Button.stories.ts | 12 +----------- src/{ => lib/holocene}/stories/ButtonWrapper.svelte | 0 src/{ => lib/holocene}/stories/Icon.stories.ts | 1 - src/{ => lib/holocene}/stories/Input.stories.ts | 1 - src/{ => lib/holocene}/stories/ReadMe.mdx | 0 5 files changed, 1 insertion(+), 13 deletions(-) rename src/{ => lib/holocene}/stories/Button.stories.ts (82%) rename src/{ => lib/holocene}/stories/ButtonWrapper.svelte (100%) rename src/{ => lib/holocene}/stories/Icon.stories.ts (97%) rename src/{ => lib/holocene}/stories/Input.stories.ts (97%) rename src/{ => lib/holocene}/stories/ReadMe.mdx (100%) diff --git a/src/stories/Button.stories.ts b/src/lib/holocene/stories/Button.stories.ts similarity index 82% rename from src/stories/Button.stories.ts rename to src/lib/holocene/stories/Button.stories.ts index d3578eb55..5e73f81c1 100644 --- a/src/stories/Button.stories.ts +++ b/src/lib/holocene/stories/Button.stories.ts @@ -15,7 +15,6 @@ const iconControls = { const meta = { title: 'Example/Button', component: ButtonWrapper, - tags: ['autodocs'], argTypes: { leadingIcon: { ...iconControls }, trailingIcon: { ...iconControls }, @@ -23,16 +22,7 @@ const meta = { control: { type: 'select', }, - options: [ - 'primary', - 'secondary', - 'search', - 'destructive', - 'login', - 'ghost', - 'link', - 'menu', - ], + options: ['primary', 'secondary', 'destructive', 'ghost'], }, }, diff --git a/src/stories/ButtonWrapper.svelte b/src/lib/holocene/stories/ButtonWrapper.svelte similarity index 100% rename from src/stories/ButtonWrapper.svelte rename to src/lib/holocene/stories/ButtonWrapper.svelte diff --git a/src/stories/Icon.stories.ts b/src/lib/holocene/stories/Icon.stories.ts similarity index 97% rename from src/stories/Icon.stories.ts rename to src/lib/holocene/stories/Icon.stories.ts index 7c8608919..70117e5bb 100644 --- a/src/stories/Icon.stories.ts +++ b/src/lib/holocene/stories/Icon.stories.ts @@ -7,7 +7,6 @@ import { icons } from '$lib/holocene/icon/paths'; const meta = { title: 'Icon', component: Icon, - tags: ['autodocs'], argTypes: { name: { control: { diff --git a/src/stories/Input.stories.ts b/src/lib/holocene/stories/Input.stories.ts similarity index 97% rename from src/stories/Input.stories.ts rename to src/lib/holocene/stories/Input.stories.ts index 9bfa1defa..27de0801b 100644 --- a/src/stories/Input.stories.ts +++ b/src/lib/holocene/stories/Input.stories.ts @@ -6,7 +6,6 @@ import Input from '$lib/holocene/input/input.svelte'; const meta = { title: 'Example/Input', component: Input, - tags: ['autodocs'], argTypes: { labelHidden: { control: { diff --git a/src/stories/ReadMe.mdx b/src/lib/holocene/stories/ReadMe.mdx similarity index 100% rename from src/stories/ReadMe.mdx rename to src/lib/holocene/stories/ReadMe.mdx