diff --git a/src/components/ButtonFigma.stories.tsx b/src/components/ButtonFigma.stories.tsx deleted file mode 100644 index cf506ff48..000000000 --- a/src/components/ButtonFigma.stories.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { Button, ButtonProps } from "./Button"; -import { Meta } from "@storybook/react"; -import { Icons } from "src/components/Icon"; - -export default { - component: Button, -} as Meta; - -const iconKeys = Object.keys(Icons); - -export const ForFigma = { - argTypes: { - icon: { control: "select", options: iconKeys }, - endAdornment: { control: "select", options: iconKeys }, - }, - args: { - label: "Test for Figma", - variant: "primary", - size: "md", - icon: undefined, - contrast: false, - disabled: false, - }, -}; diff --git a/src/components/IconForFigma.stories.tsx b/src/components/IconForFigma.stories.tsx deleted file mode 100644 index 215546fed..000000000 --- a/src/components/IconForFigma.stories.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { Icon as IconComponent, IconProps, Icons } from "src/components"; -import { Meta, StoryObj } from "@storybook/react"; -import { Palette } from "src/Css"; - -export default { - component: IconComponent, -} as Meta; - -export const ForFigma: StoryObj = { - argTypes: { - color: { - control: { - type: "select", - labels: Object.fromEntries(Object.entries(Palette).map(([key, value]) => [value, key])), - }, - }, - icon: { - control: { - type: "select", - options: Object.keys(Icons), - }, - }, - }, - args: { - icon: "x", - inc: 3, - }, - parameters: { - s2d: { - variantProperties: [ - { - fromArg: "inc", - name: "Size", - values: [ - { name: "Small", argValue: 2 }, - { name: "Medium", argValue: 3 }, - { name: "Large", argValue: 4 }, - ], - }, - ], - }, - }, -}; diff --git a/src/inputs/TextField.stories.tsx b/src/inputs/TextField.stories.tsx index d1333bd21..b040cacac 100644 --- a/src/inputs/TextField.stories.tsx +++ b/src/inputs/TextField.stories.tsx @@ -17,24 +17,6 @@ export default { }, } as Meta>; -export const ForFigma = { - argTypes: { - errorMsg: { control: "text" }, - labelStyle: { control: "select", options: ["above", "left", "inline", "hidden"] }, - }, - args: { - label: "First Name", - errorMsg: undefined, - helperText: "Helper text", - value: "John", - disabled: false, - readOnly: false, - compact: false, - labelStyle: "above", - clearable: false, - }, -}; - export function TextFieldStyles() { return (