Skip to content

Commit 2770c8c

Browse files
joebuonoJoe Buono
andauthored
docs: Standardize component descriptions (#2108)
* first batch of component description changes * second batch of standardized descriptions * last batch of standardized component descriptions * update link description * responding to pr feedback * change to singular * remove extraneous commit Co-authored-by: Joe Buono <[email protected]>
1 parent 1c9a85e commit 2770c8c

File tree

33 files changed

+33
-33
lines changed

33 files changed

+33
-33
lines changed

docs/src/pages/[platform]/components/alert/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Alert
3-
description: An Alert displays a brief, important message in a way that attracts the user's attention without interrupting the user's task. Alerts are typically intended to be read out dynamically by a screen reader.
3+
description: Alert displays a brief message in a way that attracts the users attention without interrupting their task.
44
ariaPattern: https://www.w3.org/WAI/ARIA/apg/patterns/alert
55
themeSource: packages/ui/src/theme/tokens/components/alert.ts
66
reactSource: packages/react/src/primitives/Alert/Alert.tsx

docs/src/pages/[platform]/components/badge/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Badge
3-
description: A Badge is a small visual element to denote a status or message about an item. A small, color-coded visual element that contains letters or numbers, that you can use to label, categorize, or organize items.
3+
description: Badge is a color-coded element used to display a status or message about an item.
44
themeSource: packages/ui/src/theme/tokens/components/badge.ts
55
reactSource: packages/react/src/primitives/Badge/Badge.tsx
66
supportedFrameworks: react

docs/src/pages/[platform]/components/button/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Button
3-
description: The Button primitive is used to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
3+
description: Button allows users to perform actions.
44
ariaPattern: https://www.w3.org/WAI/ARIA/apg/patterns/button
55
themeSource: packages/ui/src/theme/tokens/components/button.ts
66
reactSource: packages/react/src/primitives/Button/Button.tsx

docs/src/pages/[platform]/components/card/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Card
3-
description: The Card component can be used to group related pieces of content.
3+
description: Card groups related pieces of content.
44
themeSource: packages/ui/src/theme/tokens/components/card.ts
55
reactSource: packages/react/src/primitives/Card/Card.tsx
66
supportedFrameworks: react

docs/src/pages/[platform]/components/checkboxfield/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: CheckboxField
3-
description: CheckboxField is used to mark an individual item as selected, or to select multiple items from a list of individual items.
3+
description: CheckboxField allows users to mark items as selected.
44
ariaPattern: https://www.w3.org/WAI/ARIA/apg/patterns/checkbox
55
themeSource: packages/ui/src/theme/tokens/components/checkbox.ts
66
reactSource: packages/react/src/primitives/CheckboxField/CheckboxField.tsx

docs/src/pages/[platform]/components/divider/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Divider
3-
description: A Divider creates separations in content. Dividers can help organize content and establish visual rhythm.
3+
description: Divider helps organize content, separate sections and establish visual rhythm.
44
themeSource: packages/ui/src/theme/tokens/components/divider.ts
55
reactSource: packages/react/src/primitives/Divider/Divider.tsx
66
supportedFrameworks: react

docs/src/pages/[platform]/components/expander/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Expander
3-
description: The Expander primitive enables users to expand or collapse a set of sections.
3+
description: Expander allows users to expand or collapse a set of sections.
44
ariaPattern: https://www.w3.org/WAI/ARIA/apg/patterns/accordion
55
themeSource: packages/ui/src/theme/tokens/components/expander.ts
66
reactSource: packages/react/src/primitives/Expander/Expander.tsx

docs/src/pages/[platform]/components/flex/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Flex
3-
description: A layout container using Flexbox.
3+
description: Flex provides a layout container using CSS Flexbox.
44
reactSource: packages/react/src/primitives/Flex/Flex.tsx
55
supportedFrameworks: react
66
---

docs/src/pages/[platform]/components/grid/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Grid
3-
description: Grid provides a CSS grid container.
3+
description: Grid provides a layout container using CSS Grid.
44
reactSource: packages/react/src/primitives/Grid/Grid.tsx
55
supportedFrameworks: react
66
---

docs/src/pages/[platform]/components/heading/index.page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Heading
3-
description: A Heading primitive is used for semantic section heading text representing six levels.
3+
description: Heading renders semantic section heading text representing six levels.
44
themeSource: packages/ui/src/theme/tokens/components/heading.ts
55
reactSource: packages/react/src/primitives/Heading/Heading.tsx
66
supportedFrameworks: react

0 commit comments

Comments
 (0)