diff --git a/packages/design-docs/.storybook/main.js b/packages/design-docs/.storybook/main.js index 3f5357b49c7..e1c0bcbaa00 100644 --- a/packages/design-docs/.storybook/main.js +++ b/packages/design-docs/.storybook/main.js @@ -16,12 +16,12 @@ const STORIES = [ `${rootPath}src/Principles.mdx`, // `${rootPath}src/Status.mdx`, // `${rootPath}src/Catalog.mdx`, - `${rootPath}src/tokens/**/*.mdx`, `${rootPath}src/content/VoiceAndTone.@(js|tsx|mdx)`, `${rootPath}src/content/Internationalization.@(js|tsx|mdx)`, `${rootPath}src/content/Conventions.@(js|tsx|mdx)`, `${rootPath}src/content/Capitalization.@(js|tsx|mdx)`, `${rootPath}src/content/Wording.@(js|tsx|mdx)`, + `${rootPath}src/tokens/**/*.mdx`, `${rootPath}../design-system/src/stories/**/*.@(stories.tsx|mdx)`, // `${rootPath}src/components/**/*.@(stories.tsx|mdx)`, ]; diff --git a/packages/design-system/src/stories/clickable/About.mdx b/packages/design-system/src/stories/clickable/About.mdx index 825be640379..5315bda81b1 100644 --- a/packages/design-system/src/stories/clickable/About.mdx +++ b/packages/design-system/src/stories/clickable/About.mdx @@ -17,7 +17,7 @@ Clickables are just the things that look like buttons. It's a UI pattern that ha Use `Button` when you need highly readable CTAs that trigger an action on the page. - + ## ButtonAsLinks @@ -27,7 +27,7 @@ Use `Button` when you need highly readable CTAs that trigger an action on the pa Use `ButtonAsLink` when you need a CTA that will navigate to a new page. - + ## ButtonIcon @@ -37,5 +37,5 @@ Use `ButtonAsLink` when you need a CTA that will navigate to a new page. Use `ButtonIcon` when you need to click on a standalone icon. This should never be a hyperlink. - + diff --git a/packages/design-system/src/stories/clickable/Button.mdx b/packages/design-system/src/stories/clickable/Button.mdx index 874e2eaf50a..511d0de4693 100644 --- a/packages/design-system/src/stories/clickable/Button.mdx +++ b/packages/design-system/src/stories/clickable/Button.mdx @@ -38,17 +38,17 @@ The small size can only display icons from [SizedIcon's "S" batch](/docs/icons-s /> - + #### Primary - + - + @@ -56,11 +56,11 @@ The small size can only display icons from [SizedIcon's "S" batch](/docs/icons-s #### Destructive - + - + @@ -68,11 +68,11 @@ The small size can only display icons from [SizedIcon's "S" batch](/docs/icons-s #### Secondary - + - + @@ -80,11 +80,11 @@ The small size can only display icons from [SizedIcon's "S" batch](/docs/icons-s #### Tertiary - + - + @@ -98,7 +98,7 @@ All buttons have interactive states for "hover", "active" and "disabled". A focu Use `SkeletonButton` or `Skeleton variant="button"` to represent a placeholder for a button. - + [The Skeleton Documentation is over there!](/docs/feedback-skeleton--docs) @@ -108,7 +108,7 @@ Use `SkeletonButton` or `Skeleton variant="button"` to represent a placeholder f Buttons can have a tooltip on hover displaying additional description. - + ### Async buttons @@ -118,7 +118,7 @@ If the button has an icon, the spinner will temporarily replace this icon as lon No action will be possible until it's done. - + ## Usage @@ -127,7 +127,7 @@ As you've seen, each variant has its own component. But you may want to switch f You can, using the `