diff --git a/apps/design-system/stories/button.stories.tsx b/apps/design-system/stories/button.stories.tsx index 78dedc3..d275007 100644 --- a/apps/design-system/stories/button.stories.tsx +++ b/apps/design-system/stories/button.stories.tsx @@ -1,17 +1,18 @@ import type { Meta, StoryObj } from "@storybook/react"; -import { Button } from "@repo/design-system/button"; -import ButtonInFavour from "@repo/design-system/buttonInFavour"; -import ButtonAgainst from "@repo/design-system/buttonAgainst"; -import ButtonNeutral from "@repo/design-system/buttonNeutral"; -import { ArrowIcon } from "@repo/design-system/arrowIcon"; +import { Button } from "@repo/design-system/ui"; +import { ButtonInFavour } from "@repo/design-system/ui"; +import { ButtonAgainst } from "@repo/design-system/ui"; +import { ButtonNeutral } from "@repo/design-system/ui"; +import { ArrowIconRight, ArrowIconLeft } from "@repo/design-system/demo"; const meta: Meta = { title: "Components/Button", component: Button, + tags: ["autodocs"], argTypes: { kind: { - options: ["default", "filled", "outline"], + options: ["filled", "inverse", "outline", "link"], control: { type: "radio" }, }, size: { @@ -19,8 +20,7 @@ const meta: Meta = { control: { type: "radio" }, }, hasIcon: { - options: ["true", "false"], - control: { type: "radio" }, + control: { type: "boolean" }, }, iconPosition: { options: ["left", "right"], @@ -31,8 +31,10 @@ const meta: Meta = { control: { type: "radio" }, }, wider: { - options: ["true", "false"], - control: { type: "radio" }, + control: { type: "boolean" }, + }, + compactable: { + control: { type: "boolean" }, }, }, decorators: [ @@ -50,9 +52,9 @@ const meta: Meta = { >
{ return ( <> -