From 6b5acb95022b3534a470dfc4c45e32fa515f1f87 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Tue, 23 Jan 2024 11:44:21 +0100 Subject: [PATCH 1/5] v0.1.1 --- lerna.json | 2 +- packages/components/package.json | 2 +- packages/design-tokens/package.json | 2 +- packages/stylesheet/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lerna.json b/lerna.json index 104e92223..1887c268e 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "npmClient": "yarn", "packages": ["packages/*"], - "version": "0.1.0" + "version": "0.1.1" } diff --git a/packages/components/package.json b/packages/components/package.json index 5739b0001..6ac697696 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-components", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "exports": { "./Button": "./dist/Button.js", diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index b96591da2..d02ab9cf3 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-design-tokens", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "exports": { ".": "./dist/variables.css" diff --git a/packages/stylesheet/package.json b/packages/stylesheet/package.json index e5068cb17..2ece2f33b 100644 --- a/packages/stylesheet/package.json +++ b/packages/stylesheet/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-stylesheet", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "exports": { ".": "./dist/style.css" From 5d05551361d15191f727caa68c59794b75075376 Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Tue, 23 Jan 2024 11:46:17 +0100 Subject: [PATCH 2/5] Revert "v0.1.1" This reverts commit 6b5acb95022b3534a470dfc4c45e32fa515f1f87. --- lerna.json | 2 +- packages/components/package.json | 2 +- packages/design-tokens/package.json | 2 +- packages/stylesheet/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lerna.json b/lerna.json index 1887c268e..104e92223 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "npmClient": "yarn", "packages": ["packages/*"], - "version": "0.1.1" + "version": "0.1.0" } diff --git a/packages/components/package.json b/packages/components/package.json index 6ac697696..5739b0001 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-components", - "version": "0.1.1", + "version": "0.1.0", "type": "module", "exports": { "./Button": "./dist/Button.js", diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index d02ab9cf3..b96591da2 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-design-tokens", - "version": "0.1.1", + "version": "0.1.0", "type": "module", "exports": { ".": "./dist/variables.css" diff --git a/packages/stylesheet/package.json b/packages/stylesheet/package.json index 2ece2f33b..e5068cb17 100644 --- a/packages/stylesheet/package.json +++ b/packages/stylesheet/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-stylesheet", - "version": "0.1.1", + "version": "0.1.0", "type": "module", "exports": { ".": "./dist/style.css" From 964eaefe0cee84a4d372dcdbe1c6b1e1bd7ff84b Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Tue, 23 Jan 2024 11:47:31 +0100 Subject: [PATCH 3/5] v1.0.0-alpha.0 --- lerna.json | 2 +- packages/components/package.json | 2 +- packages/design-tokens/package.json | 2 +- packages/stylesheet/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lerna.json b/lerna.json index 104e92223..d1a283e96 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "npmClient": "yarn", "packages": ["packages/*"], - "version": "0.1.0" + "version": "1.0.0-alpha.0" } diff --git a/packages/components/package.json b/packages/components/package.json index 5739b0001..62821142a 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-components", - "version": "0.1.0", + "version": "1.0.0-alpha.0", "type": "module", "exports": { "./Button": "./dist/Button.js", diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json index b96591da2..1c7f474c2 100644 --- a/packages/design-tokens/package.json +++ b/packages/design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-design-tokens", - "version": "0.1.0", + "version": "1.0.0-alpha.0", "type": "module", "exports": { ".": "./dist/variables.css" diff --git a/packages/stylesheet/package.json b/packages/stylesheet/package.json index e5068cb17..fbf44ad78 100644 --- a/packages/stylesheet/package.json +++ b/packages/stylesheet/package.json @@ -1,6 +1,6 @@ { "name": "@mittwald/flow-next-stylesheet", - "version": "0.1.0", + "version": "1.0.0-alpha.0", "type": "module", "exports": { ".": "./dist/style.css" From a8f9d2d2634820e0c4ee636f36f0db437ae5dc50 Mon Sep 17 00:00:00 2001 From: Lisa Meyer <84317589+Lisa18289@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:52:23 +0100 Subject: [PATCH 4/5] Add parent categories to stories (#119) --- .../src/components/Avatar/stories/Default.stories.tsx | 2 +- .../src/components/Avatar/stories/Variants.stories.tsx | 2 +- .../components/src/components/Badge/stories/Default.stories.tsx | 2 +- .../src/components/Badge/stories/EdgeCases.stories.tsx | 2 +- .../src/components/Badge/stories/Variants.stories.tsx | 2 +- .../src/components/Button/stories/Default.stories.tsx | 2 +- .../src/components/Button/stories/EdgeCases.stories.tsx | 2 +- .../src/components/Button/stories/Variants.stories.tsx | 2 +- .../src/components/Checkbox/stories/Default.stories.tsx | 2 +- .../src/components/Checkbox/stories/EdgeCases.stories.tsx | 2 +- .../src/components/Content/stories/Default.stories.tsx | 2 +- .../src/components/Heading/stories/Default.stories.tsx | 2 +- .../src/components/Heading/stories/Levels.stories.tsx | 2 +- .../components/src/components/Icon/stories/Default.stories.tsx | 2 +- .../components/src/components/Image/stories/Default.stories.tsx | 2 +- .../src/components/Initials/stories/Default.stories.tsx | 2 +- .../src/components/Initials/stories/Variants.stories.tsx | 2 +- .../components/src/components/Label/stories/Default.stories.tsx | 2 +- .../components/src/components/Link/stories/Default.stories.tsx | 2 +- .../src/components/Navigation/stories/Default.stories.tsx | 2 +- .../components/src/components/Note/stories/Default.stories.tsx | 2 +- .../src/components/Note/stories/EdgeCases.stories.tsx | 2 +- .../components/src/components/Note/stories/Variants.stories.tsx | 2 +- .../src/components/RadioGroup/stories/Default.stories.tsx | 2 +- .../src/components/RadioGroup/stories/EdgeCases.stories.tsx | 2 +- .../src/components/StatusIcon/stories/Default.stories.tsx | 2 +- .../src/components/Switch/stories/Default.stories.tsx | 2 +- .../src/components/Switch/stories/EdgeCases.stories.tsx | 2 +- .../src/components/Switch/stories/Variants.stories.tsx | 2 +- .../components/src/components/Text/stories/Default.stories.tsx | 2 +- .../src/components/TextField/stories/Default.stories.tsx | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/components/src/components/Avatar/stories/Default.stories.tsx b/packages/components/src/components/Avatar/stories/Default.stories.tsx index fafe5b188..63a43ce15 100644 --- a/packages/components/src/components/Avatar/stories/Default.stories.tsx +++ b/packages/components/src/components/Avatar/stories/Default.stories.tsx @@ -6,7 +6,7 @@ import { Image } from "@/components/Image"; import { dummyText } from "@/lib/dev/dummyText"; const meta: Meta = { - title: "Avatar", + title: "Content/Avatar", component: Avatar, render: (props) => ( diff --git a/packages/components/src/components/Avatar/stories/Variants.stories.tsx b/packages/components/src/components/Avatar/stories/Variants.stories.tsx index b225757e1..21125ed67 100644 --- a/packages/components/src/components/Avatar/stories/Variants.stories.tsx +++ b/packages/components/src/components/Avatar/stories/Variants.stories.tsx @@ -4,7 +4,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Avatar/Variants", + title: "Content/Avatar/Variants", }; export default meta; diff --git a/packages/components/src/components/Badge/stories/Default.stories.tsx b/packages/components/src/components/Badge/stories/Default.stories.tsx index 2d3d1c01c..72b0ab2d5 100644 --- a/packages/components/src/components/Badge/stories/Default.stories.tsx +++ b/packages/components/src/components/Badge/stories/Default.stories.tsx @@ -6,7 +6,7 @@ import { Icon } from "@/components/Icon"; import { Text } from "@/components/Text"; const meta: Meta = { - title: "Badge", + title: "Status/Badge", component: Badge, argTypes: { variant: { diff --git a/packages/components/src/components/Badge/stories/EdgeCases.stories.tsx b/packages/components/src/components/Badge/stories/EdgeCases.stories.tsx index 6a79769eb..7473a4fef 100644 --- a/packages/components/src/components/Badge/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/Badge/stories/EdgeCases.stories.tsx @@ -6,7 +6,7 @@ import { dummyText } from "@/lib/dev/dummyText"; const meta: Meta = { ...defaultMeta, - title: "Badge/EdgeCases", + title: "Status/Badge/EdgeCases", }; export default meta; diff --git a/packages/components/src/components/Badge/stories/Variants.stories.tsx b/packages/components/src/components/Badge/stories/Variants.stories.tsx index 6f039b457..8e3258558 100644 --- a/packages/components/src/components/Badge/stories/Variants.stories.tsx +++ b/packages/components/src/components/Badge/stories/Variants.stories.tsx @@ -5,7 +5,7 @@ import React from "react"; const meta: Meta = { ...defaultMeta, - title: "Badge/Variants", + title: "Status/Badge/Variants", }; export default meta; diff --git a/packages/components/src/components/Button/stories/Default.stories.tsx b/packages/components/src/components/Button/stories/Default.stories.tsx index e62126cae..21e20e30d 100644 --- a/packages/components/src/components/Button/stories/Default.stories.tsx +++ b/packages/components/src/components/Button/stories/Default.stories.tsx @@ -7,7 +7,7 @@ import { Text } from "@/components/Text"; import { action } from "@storybook/addon-actions"; const meta: Meta = { - title: "Button", + title: "Buttons/Button", component: Button, args: { onPress: action("onPress"), diff --git a/packages/components/src/components/Button/stories/EdgeCases.stories.tsx b/packages/components/src/components/Button/stories/EdgeCases.stories.tsx index 401e2aefb..de6752c6f 100644 --- a/packages/components/src/components/Button/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/Button/stories/EdgeCases.stories.tsx @@ -9,7 +9,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Button/Edge Cases", + title: "Buttons/Button/Edge Cases", }; export default meta; diff --git a/packages/components/src/components/Button/stories/Variants.stories.tsx b/packages/components/src/components/Button/stories/Variants.stories.tsx index 2a4697c4a..2aed9d733 100644 --- a/packages/components/src/components/Button/stories/Variants.stories.tsx +++ b/packages/components/src/components/Button/stories/Variants.stories.tsx @@ -4,7 +4,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Button/Variants", + title: "Buttons/Button/Variants", }; export default meta; diff --git a/packages/components/src/components/Checkbox/stories/Default.stories.tsx b/packages/components/src/components/Checkbox/stories/Default.stories.tsx index 49b6decc1..f167a2ccf 100644 --- a/packages/components/src/components/Checkbox/stories/Default.stories.tsx +++ b/packages/components/src/components/Checkbox/stories/Default.stories.tsx @@ -4,7 +4,7 @@ import React from "react"; import { action } from "@storybook/addon-actions"; const meta: Meta = { - title: "Checkbox", + title: "Forms/Checkbox", component: Checkbox, args: { onChange: action("onChange"), diff --git a/packages/components/src/components/Checkbox/stories/EdgeCases.stories.tsx b/packages/components/src/components/Checkbox/stories/EdgeCases.stories.tsx index f4008f979..795e6c31e 100644 --- a/packages/components/src/components/Checkbox/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/Checkbox/stories/EdgeCases.stories.tsx @@ -5,7 +5,7 @@ import defaultMeta from "./Default.stories"; import { dummyText } from "@/lib/dev/dummyText"; const meta: Meta = { - title: "Checkbox/EdgeCases", + title: "Forms/Checkbox/EdgeCases", ...defaultMeta, }; diff --git a/packages/components/src/components/Content/stories/Default.stories.tsx b/packages/components/src/components/Content/stories/Default.stories.tsx index b85bb8399..9266ac9d5 100644 --- a/packages/components/src/components/Content/stories/Default.stories.tsx +++ b/packages/components/src/components/Content/stories/Default.stories.tsx @@ -3,7 +3,7 @@ import Content from "../Content"; import React from "react"; const meta: Meta = { - title: "Content", + title: "Content/Content", component: Content, argTypes: { elementType: { diff --git a/packages/components/src/components/Heading/stories/Default.stories.tsx b/packages/components/src/components/Heading/stories/Default.stories.tsx index 7e3d73940..5fbc341ad 100644 --- a/packages/components/src/components/Heading/stories/Default.stories.tsx +++ b/packages/components/src/components/Heading/stories/Default.stories.tsx @@ -3,7 +3,7 @@ import Heading from "../Heading"; import React from "react"; const meta: Meta = { - title: "Heading", + title: "Content/Heading", component: Heading, argTypes: { level: { diff --git a/packages/components/src/components/Heading/stories/Levels.stories.tsx b/packages/components/src/components/Heading/stories/Levels.stories.tsx index 781389383..af0a6ad3a 100644 --- a/packages/components/src/components/Heading/stories/Levels.stories.tsx +++ b/packages/components/src/components/Heading/stories/Levels.stories.tsx @@ -4,7 +4,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Heading/Levels", + title: "Content/Heading/Levels", component: Heading, }; export default meta; diff --git a/packages/components/src/components/Icon/stories/Default.stories.tsx b/packages/components/src/components/Icon/stories/Default.stories.tsx index 9e677b96a..96de08a49 100644 --- a/packages/components/src/components/Icon/stories/Default.stories.tsx +++ b/packages/components/src/components/Icon/stories/Default.stories.tsx @@ -4,7 +4,7 @@ import { faStar } from "@fortawesome/free-regular-svg-icons/faStar"; import React from "react"; const meta: Meta = { - title: "Icon", + title: "Content/Icon", component: Icon, args: { fontSize: 32, diff --git a/packages/components/src/components/Image/stories/Default.stories.tsx b/packages/components/src/components/Image/stories/Default.stories.tsx index f831fcdda..8418a6fb7 100644 --- a/packages/components/src/components/Image/stories/Default.stories.tsx +++ b/packages/components/src/components/Image/stories/Default.stories.tsx @@ -4,7 +4,7 @@ import React from "react"; import { dummyText } from "@/lib/dev/dummyText"; const meta: Meta = { - title: "Image", + title: "Content/Image", component: Image, render: (props) => Gopher, }; diff --git a/packages/components/src/components/Initials/stories/Default.stories.tsx b/packages/components/src/components/Initials/stories/Default.stories.tsx index 118bf671a..bb7d1de15 100644 --- a/packages/components/src/components/Initials/stories/Default.stories.tsx +++ b/packages/components/src/components/Initials/stories/Default.stories.tsx @@ -3,7 +3,7 @@ import Initials from "../Initials"; import React from "react"; const meta: Meta = { - title: "Initials", + title: "Content/Initials", component: Initials, render: (props) => Max Mustermann, parameters: { diff --git a/packages/components/src/components/Initials/stories/Variants.stories.tsx b/packages/components/src/components/Initials/stories/Variants.stories.tsx index acf656a09..2dc481038 100644 --- a/packages/components/src/components/Initials/stories/Variants.stories.tsx +++ b/packages/components/src/components/Initials/stories/Variants.stories.tsx @@ -5,7 +5,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Initials/Variants", + title: "Content/Initials/Variants", }; export default meta; diff --git a/packages/components/src/components/Label/stories/Default.stories.tsx b/packages/components/src/components/Label/stories/Default.stories.tsx index b095da996..b1a8f676c 100644 --- a/packages/components/src/components/Label/stories/Default.stories.tsx +++ b/packages/components/src/components/Label/stories/Default.stories.tsx @@ -3,7 +3,7 @@ import Label from "../Label"; import React from "react"; const meta: Meta = { - title: "Label", + title: "Content/Label", component: Label, render: (props) => , }; diff --git a/packages/components/src/components/Link/stories/Default.stories.tsx b/packages/components/src/components/Link/stories/Default.stories.tsx index ca5415962..36a9f5134 100644 --- a/packages/components/src/components/Link/stories/Default.stories.tsx +++ b/packages/components/src/components/Link/stories/Default.stories.tsx @@ -4,7 +4,7 @@ import { action } from "@storybook/addon-actions"; import React from "react"; const meta: Meta = { - title: "Link", + title: "Navigation/Link", component: Link, args: { onPress: action("onPress"), diff --git a/packages/components/src/components/Navigation/stories/Default.stories.tsx b/packages/components/src/components/Navigation/stories/Default.stories.tsx index 8f67702b0..1a1b0be3e 100644 --- a/packages/components/src/components/Navigation/stories/Default.stories.tsx +++ b/packages/components/src/components/Navigation/stories/Default.stories.tsx @@ -8,7 +8,7 @@ import { Text } from "@/components/Text"; import { Navigation, NavigationItem } from "@/components/Navigation"; const meta: Meta = { - title: "Navigation", + title: "Navigation/Navigation", component: Navigation, parameters: { controls: { exclude: ["className"] }, diff --git a/packages/components/src/components/Note/stories/Default.stories.tsx b/packages/components/src/components/Note/stories/Default.stories.tsx index fcbdaa6d1..a865f5099 100644 --- a/packages/components/src/components/Note/stories/Default.stories.tsx +++ b/packages/components/src/components/Note/stories/Default.stories.tsx @@ -7,7 +7,7 @@ import { Icon } from "@/components/Icon"; import { faEnvelope } from "@fortawesome/free-regular-svg-icons"; const meta: Meta = { - title: "Note", + title: "Status/Note", component: Note, argTypes: { variant: { diff --git a/packages/components/src/components/Note/stories/EdgeCases.stories.tsx b/packages/components/src/components/Note/stories/EdgeCases.stories.tsx index bc2f17285..14f70fffb 100644 --- a/packages/components/src/components/Note/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/Note/stories/EdgeCases.stories.tsx @@ -8,7 +8,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Note/Edge Cases", + title: "Status/Note/Edge Cases", }; export default meta; diff --git a/packages/components/src/components/Note/stories/Variants.stories.tsx b/packages/components/src/components/Note/stories/Variants.stories.tsx index d4ca90191..694a47ee9 100644 --- a/packages/components/src/components/Note/stories/Variants.stories.tsx +++ b/packages/components/src/components/Note/stories/Variants.stories.tsx @@ -7,7 +7,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Note/Variants", + title: "Status/Note/Variants", }; export default meta; diff --git a/packages/components/src/components/RadioGroup/stories/Default.stories.tsx b/packages/components/src/components/RadioGroup/stories/Default.stories.tsx index 518b614c0..a0a29a2fa 100644 --- a/packages/components/src/components/RadioGroup/stories/Default.stories.tsx +++ b/packages/components/src/components/RadioGroup/stories/Default.stories.tsx @@ -10,7 +10,7 @@ import { action } from "@storybook/addon-actions"; import { FieldError } from "@/components/FieldError"; const meta: Meta = { - title: "RadioGroup", + title: "Forms/RadioGroup", component: RadioGroup, args: { onChange: action("onChange"), diff --git a/packages/components/src/components/RadioGroup/stories/EdgeCases.stories.tsx b/packages/components/src/components/RadioGroup/stories/EdgeCases.stories.tsx index 500ccada9..ee31c17ce 100644 --- a/packages/components/src/components/RadioGroup/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/RadioGroup/stories/EdgeCases.stories.tsx @@ -9,7 +9,7 @@ import { dummyText } from "@/lib/dev/dummyText"; import defaultMeta from "./Default.stories"; const meta: Meta = { - title: "RadioGroup/EdgeCases", + title: "Forms/RadioGroup/EdgeCases", ...defaultMeta, }; diff --git a/packages/components/src/components/StatusIcon/stories/Default.stories.tsx b/packages/components/src/components/StatusIcon/stories/Default.stories.tsx index 2af659126..fb20c6531 100644 --- a/packages/components/src/components/StatusIcon/stories/Default.stories.tsx +++ b/packages/components/src/components/StatusIcon/stories/Default.stories.tsx @@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react"; import StatusIcon from "../StatusIcon"; const meta: Meta = { - title: "StatusIcon", + title: "Status/StatusIcon", component: StatusIcon, argTypes: { variant: { diff --git a/packages/components/src/components/Switch/stories/Default.stories.tsx b/packages/components/src/components/Switch/stories/Default.stories.tsx index 45db62295..49888f6d4 100644 --- a/packages/components/src/components/Switch/stories/Default.stories.tsx +++ b/packages/components/src/components/Switch/stories/Default.stories.tsx @@ -4,7 +4,7 @@ import React from "react"; import { action } from "@storybook/addon-actions"; const meta: Meta = { - title: "Switch", + title: "Forms/Switch", component: Switch, args: { onChange: action("onChange"), diff --git a/packages/components/src/components/Switch/stories/EdgeCases.stories.tsx b/packages/components/src/components/Switch/stories/EdgeCases.stories.tsx index 0e8f198f0..a0855c2c6 100644 --- a/packages/components/src/components/Switch/stories/EdgeCases.stories.tsx +++ b/packages/components/src/components/Switch/stories/EdgeCases.stories.tsx @@ -6,7 +6,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Switch/Edge Cases", + title: "Forms/Switch/Edge Cases", }; export default meta; diff --git a/packages/components/src/components/Switch/stories/Variants.stories.tsx b/packages/components/src/components/Switch/stories/Variants.stories.tsx index 6307b16b2..6bdb7553f 100644 --- a/packages/components/src/components/Switch/stories/Variants.stories.tsx +++ b/packages/components/src/components/Switch/stories/Variants.stories.tsx @@ -4,7 +4,7 @@ import defaultMeta from "./Default.stories"; const meta: Meta = { ...defaultMeta, - title: "Switch/Variants", + title: "Forms/Switch/Variants", args: { defaultSelected: true }, }; diff --git a/packages/components/src/components/Text/stories/Default.stories.tsx b/packages/components/src/components/Text/stories/Default.stories.tsx index e3ea88aba..c3b35fa92 100644 --- a/packages/components/src/components/Text/stories/Default.stories.tsx +++ b/packages/components/src/components/Text/stories/Default.stories.tsx @@ -3,7 +3,7 @@ import Text from "../Text"; import React from "react"; const meta: Meta = { - title: "Text", + title: "Content/Text", component: Text, argTypes: { elementType: { diff --git a/packages/components/src/components/TextField/stories/Default.stories.tsx b/packages/components/src/components/TextField/stories/Default.stories.tsx index 1e4fef6e1..446fbc09d 100644 --- a/packages/components/src/components/TextField/stories/Default.stories.tsx +++ b/packages/components/src/components/TextField/stories/Default.stories.tsx @@ -9,7 +9,7 @@ import { Button } from "@/components/Button"; import { FieldError } from "@/components/FieldError"; const meta: Meta = { - title: "TextField", + title: "Forms/TextField", component: TextField, render: (props) => ( From 59e19dd78816d92ede8f3d89c7d689b67b52164a Mon Sep 17 00:00:00 2001 From: lmeyer Date: Tue, 23 Jan 2024 11:54:52 +0100 Subject: [PATCH 5/5] add category --- .../src/components/TextArea/stories/Default.stories.tsx | 2 +- .../src/components/Tooltip/stories/Default.stories.tsx | 2 +- .../src/components/Tooltip/stories/EdgeCases.stories.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/src/components/TextArea/stories/Default.stories.tsx b/packages/components/src/components/TextArea/stories/Default.stories.tsx index 67d24aa38..86fe837a7 100644 --- a/packages/components/src/components/TextArea/stories/Default.stories.tsx +++ b/packages/components/src/components/TextArea/stories/Default.stories.tsx @@ -7,7 +7,7 @@ import FieldDescription from "@/components/FieldDescription/FieldDescription"; import { FieldError } from "@/components/FieldError"; const meta: Meta = { - title: "TextArea", + title: "Forms/TextArea", component: TextArea, render: (props) => (