Skip to content

Commit

Permalink
actually all can be done in the config
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Oct 3, 2023
1 parent 0c622b5 commit 4690b32
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 23 deletions.
3 changes: 3 additions & 0 deletions sparkle/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ const config: StorybookConfig = {
name: "@storybook/react-webpack5",
options: {},
},
docs: {
autodocs: true,
},
};
export default config;
1 change: 0 additions & 1 deletion sparkle/src/stories/Avatar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Avatar } from "../index_with_tw_base";
const meta = {
title: "Atoms/Avatar",
component: Avatar,
tags: ["autodocs"],
} satisfies Meta<typeof Avatar>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/BarHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Avatar, BarHeader, PageHeader } from "../index_with_tw_base";
const meta = {
title: "Molecule/BarHeader",
component: BarHeader,
tags: ["autodocs"],
} satisfies Meta<typeof BarHeader>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Button, Cog6ToothIcon } from "../index_with_tw_base";
const meta = {
title: "Atoms/Button",
component: Button,
tags: ["autodocs"],
} satisfies Meta<typeof Button>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Checkbox } from "../index_with_tw_base";
const meta = {
title: "Atoms/Checkbox",
component: Checkbox,
tags: ["autodocs"],
} satisfies Meta<typeof Checkbox>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Chip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Chip } from "../index_with_tw_base";
const meta = {
title: "Atoms/Chip",
component: Chip,
tags: ["autodocs"],
} satisfies Meta<typeof Chip>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Collapsible.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Collapsible } from "../index_with_tw_base";
const meta = {
title: "Atoms/Collapsible",
component: Collapsible,
tags: ["autodocs"],
} satisfies Meta<typeof Collapsible>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/ContextItem.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
const meta = {
title: "Molecule/ContextItem",
component: ContextItem,
tags: ["autodocs"],
} satisfies Meta<typeof ContextItem>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/DropdownMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
const meta = {
title: "Atoms/DropdownMenu",
component: DropdownMenu,
tags: ["autodocs"],
} satisfies Meta<typeof DropdownMenu>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Icon.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ChatBubbleBottomCenterTextIcon, Icon } from "../index_with_tw_base";
const meta = {
title: "Atoms/Icon",
component: Icon,
tags: ["autodocs"],
} satisfies Meta<typeof Icon>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/IconButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Cog6ToothIcon, IconButton } from "../index_with_tw_base";
const meta = {
title: "Atoms/IconButton",
component: IconButton,
tags: ["autodocs"],
} satisfies Meta<typeof IconButton>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/IconToggleButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
const meta = {
title: "Atoms/IconToggleButton",
component: IconToggleButton,
tags: ["autodocs"],
} satisfies Meta<typeof IconToggleButton>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Input } from "../index_with_tw_base";
const meta = {
title: "Atoms/Input",
component: Input,
tags: ["autodocs"],
} satisfies Meta<typeof Input>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Item.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Cog6ToothIcon } from "../index_with_tw_base";
const meta = {
title: "Atoms/Item",
component: Item,
tags: ["autodocs"],
} satisfies Meta<typeof Item>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Button, Modal } from "../index_with_tw_base";
const meta = {
title: "Molecule/Modal",
component: Modal,
tags: ["autodocs"],
} satisfies Meta<typeof Modal>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Page.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
const meta = {
title: "Template/Page",
component: Page,
tags: ["autodocs"],
} satisfies Meta<typeof Page>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/PageHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
const meta = {
title: "DEPRECATED/PageHeader",
component: PageHeader,
tags: ["autodocs"],
} satisfies Meta<typeof PageHeader>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Searchbar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Searchbar } from "../index_with_tw_base";
const meta = {
title: "Atoms/Searchbar",
component: Searchbar,
tags: ["autodocs"],
} satisfies Meta<typeof Searchbar>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/SectionHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
const meta = {
title: "DEPRECATED/SectionHeader",
component: SectionHeader,
tags: ["autodocs"],
} satisfies Meta<typeof SectionHeader>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/SliderToggle.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { SliderToggle } from "../index_with_tw_base";
const meta = {
title: "Atoms/SliderToggle",
component: SliderToggle,
tags: ["autodocs"],
} satisfies Meta<typeof SliderToggle>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Spinner.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Spinner } from "../index_with_tw_base";
const meta = {
title: "Atoms/Spinner",
component: Spinner,
tags: ["autodocs"],
} satisfies Meta<typeof Spinner>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Tab.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
const meta = {
title: "Atoms/Tab",
component: Tab,
tags: ["autodocs"],
} satisfies Meta<typeof Tab>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Tooltip } from "../index_with_tw_base";
const meta = {
title: "Atoms/Tooltip",
component: Tooltip,
tags: ["autodocs"],
} satisfies Meta<typeof Tooltip>;

export default meta;
Expand Down
1 change: 0 additions & 1 deletion sparkle/src/stories/Tree.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Tree } from "../index_with_tw_base";
const meta = {
title: "Atoms/Tree",
component: Tree,
tags: ["autodocs"],
} satisfies Meta<typeof Tree>;

export default meta;
Expand Down

0 comments on commit 4690b32

Please sign in to comment.