diff --git a/packages/react-components/src/stories/ColorTokens.stories.mdx b/packages/react-components/src/stories/ColorTokens.stories.mdx index 9a91e850c..00317e8a7 100644 --- a/packages/react-components/src/stories/ColorTokens.stories.mdx +++ b/packages/react-components/src/stories/ColorTokens.stories.mdx @@ -7,4 +7,11 @@ import { ColorTokensPallete } from './components/ColorTokens'; List of available color tokens. Click on token to copy it's value to clipboard. - + + + diff --git a/packages/react-components/src/stories/Icons.stories.mdx b/packages/react-components/src/stories/Icons.stories.mdx index dfe04c018..c179b14a4 100644 --- a/packages/react-components/src/stories/Icons.stories.mdx +++ b/packages/react-components/src/stories/Icons.stories.mdx @@ -9,4 +9,11 @@ import { IconsShowcase } from './components/IconsShowcase'; List of the icons available in the design system. - + + + diff --git a/packages/react-components/src/stories/Typography.stories.mdx b/packages/react-components/src/stories/Typography.stories.mdx index 80005bcd3..f56e2e922 100644 --- a/packages/react-components/src/stories/Typography.stories.mdx +++ b/packages/react-components/src/stories/Typography.stories.mdx @@ -1,6 +1,6 @@ -import { Meta, Canvas, ArgsTable } from "@storybook/addon-docs"; +import { Meta, Canvas, ArgsTable } from '@storybook/addon-docs'; -import { Heading, Text } from "../components/Typography"; +import { Heading, Text } from '../components/Typography'; @@ -22,7 +22,12 @@ You can modify the output element via `as` prop. For example if you want to rend - + Heading XLarge Heading Large Heading Medium @@ -42,7 +47,12 @@ You can modify the output element via `as` prop. For example if you want to rend - + Paragraph Medium Paragraph Medium Bold Paragraph Medium Underline diff --git a/packages/react-components/src/stories/components/ColorTokens.tsx b/packages/react-components/src/stories/components/ColorTokens.tsx index 5500a6f30..75d3755e2 100644 --- a/packages/react-components/src/stories/components/ColorTokens.tsx +++ b/packages/react-components/src/stories/components/ColorTokens.tsx @@ -63,7 +63,7 @@ const CONTENT = { }; export const ColorTokensPallete: React.FC = () => ( -
+ {Object.entries(CONTENT).map(([section, { heading, content }]) => (

{heading}

@@ -95,5 +95,5 @@ export const ColorTokensPallete: React.FC = () => (
))} -
+ ); diff --git a/packages/react-components/src/stories/components/iconsShowcase.css b/packages/react-components/src/stories/components/iconsShowcase.css index 8fdb87cc3..53613d272 100644 --- a/packages/react-components/src/stories/components/iconsShowcase.css +++ b/packages/react-components/src/stories/components/iconsShowcase.css @@ -9,5 +9,5 @@ display: grid; gap: 10px; grid-auto-rows: minmax(100px, auto); - grid-template-columns: repeat(8, 1fr); + grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }