Skip to content

Commit d21ed0c

Browse files
committed
docs: organize components into groups
1 parent 32b52fe commit d21ed0c

File tree

31 files changed

+34
-3
lines changed

31 files changed

+34
-3
lines changed

packages/component-library/src/AppShell/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { NotFoundPage } from "../NotFoundPage/index.jsx";
99
import { AppBody as AppShellComponent } from "./index.jsx";
1010

1111
const meta = {
12+
title: "layouts & pages/AppShell",
1213
component: AppShellComponent,
1314
subcomponents: { ErrorPage, NoResults, NotFoundPage },
1415
globals: {

packages/component-library/src/Badge/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Badge as BadgeComponent, SIZES, STYLES, VARIANTS } from "./index.jsx";
44
import styles from "./index.stories.module.scss";
55

66
const meta = {
7+
title: "building blocks/Badge",
78
component: BadgeComponent,
89
argTypes: {
910
children: {

packages/component-library/src/Breadcrumbs/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
33
import { Breadcrumbs as BreadcrumbsComponent } from "./index.jsx";
44

55
const meta = {
6+
title: "navigation & menus/Breadcrumbs",
67
component: BreadcrumbsComponent,
78
argTypes: {
89
label: {

packages/component-library/src/Button/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Button as ButtonComponent, VARIANTS, SIZES } from "./index.jsx";
44
import { iconControl } from "../icon-control.jsx";
55

66
const meta = {
7+
title: "forms & controls/Button",
78
component: ButtonComponent,
89
argTypes: {
910
children: {

packages/component-library/src/Card/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Card as CardComponent, VARIANTS } from "./index.jsx";
88
import styles from "./index.stories.module.scss";
99

1010
const meta = {
11+
title: "building blocks/Card",
1112
component: CardComponent,
1213
globals: {
1314
background: "primary",

packages/component-library/src/CopyButton/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
33
import { CopyButton as CopyButtonComponent } from "./index.jsx";
44

55
const meta = {
6+
title: "forms & controls/CopyButton",
67
component: CopyButtonComponent,
78
argTypes: {
89
text: {

packages/component-library/src/CrossfadeTabPanels/index.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import type { Meta, StoryObj } from "@storybook/react";
22

3-
import { CrossfadeTabPanels as CrossfadeTabPanelsComponent } from "./index.jsx";
43
import { TabList } from "../TabList/index.jsx";
54
import { Tabs } from "../unstyled/Tabs/index.jsx";
5+
import { CrossfadeTabPanels as CrossfadeTabPanelsComponent } from "./index.jsx";
66
import styles from "./index.stories.module.scss";
77

88
const meta = {
9+
title: "navigation & menus/CrossfadeTabPanels",
910
component: CrossfadeTabPanelsComponent,
1011
parameters: {
1112
docs: {

packages/component-library/src/DropdownCaretDown/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
33
import { DropdownCaretDown as DropdownCaretDownComponent } from "./index.jsx";
44

55
const meta = {
6+
title: "building blocks/DropdownCaretDown",
67
component: DropdownCaretDownComponent,
78
argTypes: {
89
width: {

packages/component-library/src/EntityList/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { EntityList as EntityListComponent } from "./index.jsx";
55
import styles from "./index.stories.module.scss";
66

77
const meta = {
8+
title: "data & tables/EntityList",
89
component: EntityListComponent,
910
argTypes: {
1011
label: {

packages/component-library/src/ErrorPage/index.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { fn } from "@storybook/test";
44
import { ErrorPage as ErrorPageComponent } from "./index.jsx";
55

66
const meta = {
7+
title: "layouts & pages/ErrorPage",
78
component: ErrorPageComponent,
89
parameters: {
910
layout: "fullscreen",

0 commit comments

Comments
 (0)