Skip to content

Commit c26d6a3

Browse files
updated Storybook headers for Typography category
1 parent 3b68717 commit c26d6a3

File tree

4 files changed

+31
-25
lines changed

4 files changed

+31
-25
lines changed

src/components/Heading/Heading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { changelogData } from "./headingChangelogData";
1111
<ComponentDocsHeader
1212
category="Typography & styles component"
1313
componentName="Heading"
14-
summary="Component that renders a standard HTML heading element with DS styles."
14+
summary="Renders a native HTML heading element in different sizes and styles"
1515
versionAdded="0.0.4"
1616
versionLatest="Prerelease"
1717
/>

src/components/List/List.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
import { ArgTypes, Canvas, Description, Meta, Source } from "@storybook/blocks";
22

33
import ComponentChangelogTable from "../../utils/ComponentChangelogTable";
4-
import * as ListStories from "./List.stories";
4+
import ComponentDocsHeader from "../../utils/components/ComponentDocsHeader";
55
import Link from "../Link/Link";
6+
import * as ListStories from "./List.stories";
67
import { changelogData } from "./listChangelogData";
78

89
<Meta of={ListStories} />
910

10-
# List
11+
<ComponentDocsHeader
12+
category="Typography & styles component"
13+
componentName="List"
14+
summary="Renders related items in a list format using a <ul>, <ol>, or <dl> element"
15+
versionAdded="0.7.0"
16+
versionLatest="Prerelease"
17+
/>
1118

12-
| Component Version | DS Version |
13-
| ----------------- | ------------ |
14-
| Added | `0.7.0` |
15-
| Latest | `Prerelease` |
19+
<Canvas of={ListStories.WithControls} />
1620

1721
## Table of Contents
1822

@@ -27,8 +31,6 @@ import { changelogData } from "./listChangelogData";
2731

2832
<Description of={ListStories} />
2933

30-
<Canvas of={ListStories.WithControls} />
31-
3234
`List` composes a Chakra `Box` component, so you may pass
3335
any Chakra `Box` props, as well as the props below.
3436

src/components/StyledList/StyledList.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
import { ArgTypes, Canvas, Description, Meta, Source } from "@storybook/blocks";
22

33
import ComponentChangelogTable from "../../utils/ComponentChangelogTable";
4+
import ComponentDocsHeader from "../../utils/components/ComponentDocsHeader";
5+
import Link from "../Link/Link";
46
import StyledList from "./StyledList";
57
import * as StyledListStories from "./StyledList.stories";
6-
import Link from "../Link/Link";
78
import { changelogData } from "./styledListChangelogData";
89

910
<Meta of={StyledListStories} />
1011

11-
# StyledList
12+
<ComponentDocsHeader
13+
category="Typography & styles component"
14+
componentName="StyledList"
15+
summary="Renders a stylized list element that does not adhere to standard list styles"
16+
versionAdded="1.3.0"
17+
versionLatest="Prerelease"
18+
/>
1219

13-
| Component Version | DS Version |
14-
| ----------------- | ------------ |
15-
| Added | `1.3.0` |
16-
| Latest | `Prerelease` |
20+
<Canvas of={StyledListStories.WithControls} />
1721

1822
## Table of Contents
1923

@@ -30,8 +34,6 @@ import { changelogData } from "./styledListChangelogData";
3034

3135
## Component Props
3236

33-
<Canvas of={StyledListStories.WithControls} />
34-
3537
`StyledList` composes a Chakra `Box` component, so you may pass
3638
any Chakra `Box` props, as well as the props below.
3739

src/components/Text/Text.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
import { ArgTypes, Canvas, Description, Meta } from "@storybook/blocks";
22

33
import ComponentChangelogTable from "../../utils/ComponentChangelogTable";
4-
import * as TextStories from "./Text.stories";
4+
import ComponentDocsHeader from "../../utils/components/ComponentDocsHeader";
55
import Link from "../Link/Link";
6+
import * as TextStories from "./Text.stories";
67
import { changelogData } from "./textChangelogData";
78

89
<Meta of={TextStories} />
910

10-
# Text
11+
<ComponentDocsHeader
12+
category="Typography & styles component"
13+
componentName="Text"
14+
summary="Text container used for paragraph text elements"
15+
versionAdded="0.25.1"
16+
versionLatest="Prerelease"
17+
/>
1118

12-
| Component Version | DS Version |
13-
| ----------------- | ------------ |
14-
| Added | `0.25.1` |
15-
| Latest | `Prerelease` |
19+
<Canvas of={TextStories.WithControls} />
1620

1721
## Table of Contents
1822

@@ -30,8 +34,6 @@ text for differing content types, including multiple subtitle variants.
3034

3135
## Component Props
3236

33-
<Canvas of={TextStories.WithControls} />
34-
3537
You may pass any Chakra `Box` props, as well as the props below.
3638

3739
<ArgTypes of={TextStories.WithControls} />

0 commit comments

Comments
 (0)