Skip to content

Commit

Permalink
chore: rename mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Sep 19, 2023
1 parent 18f1d01 commit 3ca0d6c
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/stories/Breadcrumbs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FigmaImage, FigmaLink, Use } from '@talend/storybook-docs';
import * as Stories from './Breadcrumbs.stories';

<Meta
title="Navigation/Breadcrumbs"
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'ok', react: 'ok', i18n: 'na' },
figmaLink: 'https://www.figma.com/file/8ifUyNjdZkWBmKKrgfB675/Breadcrumbs',
Expand Down
3 changes: 1 addition & 2 deletions packages/design-system/src/stories/Form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { Form, Tabs } from '../';
import * as Stories from './Form.stories.tsx';

<Meta
title="Design System/Form/Form"
component={Form}
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'ok', react: 'ok', i18n: 'na' },
figmaLink: 'https://www.figma.com/file/FaYIWpJeP6LwjWr78L8eAr/Forms?node-id=58%3A0',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { AboutRowsDefault, AboutRowsStretch } from './Form.stories';

<Meta title="Design System/Form/About" />
<Meta title="Form/About" />

# About Form components

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { IconItem } from '@storybook/blocks';
import { IconItem, Canvas, Meta, Story } from '@storybook/blocks';
import { Icons } from '@talend/storybook-docs';
import { StackVertical, InlineMessageWarning, Icon } from '../';
import { IconsProvider, StackVertical, InlineMessageWarning, Icon } from '../';

<Meta
title="Design System/Icon/Icon (legacy)"
title="Icons/Icon"
component={Icon}
parameters={{
status: { figma: 'ok', storybook: 'ok', react: 'ok', i18n: 'na' },
}}
decorators={[
story => (
<Canvas>
<IconsProvider />
<Story>{story()}</Story>
</Canvas>
),
]}
/>

# Icons
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { StackHorizontal, SizedIcon, Icon } from '../';

<Meta title="Design System/Icon/About" />
<Meta title="Icons/About" />

# About Icons

Expand Down Expand Up @@ -37,7 +37,7 @@ Calling `<SizedIcon size="XS" name="note-pencil" />` would not compile in TS bec

This is true both for developers and designers.

## Icon (deprecated)
## Icon

Because a Big Bang Change is not possible, we have chosen to keep the legacy `Icon` component alive. For now.

Expand Down
3 changes: 1 addition & 2 deletions packages/design-system/src/stories/InlineEditing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { InlineEditing } from '../';
import * as Stories from './InlineEditing.stories';

<Meta
title="Design System/Inline Editing"
component={InlineEditing}
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'ok', react: 'ok', i18n: 'ok' },
figmaLink:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta, Canvas, Story } from '@storybook/addon-docs';
import { Loading } from '../';

<Meta
title="Design System/Loading"
title="Feedback/Loading"
parameters={{
status: { figma: 'ok', storybook: 'wip', react: 'ok', i18n: 'na' },
}}
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/stories/Modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Modal } from '../';
import * as Stories from './Modal.stories';

<Meta
title="Design System/Modal"
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'wip', react: 'ok', i18n: 'na' },
figmaLink: 'https://www.figma.com/file/0Jolh2prAAdfO5224n3OU3/Modal',
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/stories/Popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Stories from './Popover.stories';
import { StackVertical, InlineMessageWarning } from '../';

<Meta
title="Design System/Popover"
of={Stories}
parameters={{
status: { figma: 'wip', storybook: 'wip', react: 'wip', i18n: 'na' },
}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { Canvas, Meta, Story } from '@storybook/blocks';
import * as Stories from './RichRadioButton.stories';

<Meta
title="Design System/Rich Radio Button"
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'wip', react: 'wip', i18n: 'na' },
}}
Expand Down
3 changes: 1 addition & 2 deletions packages/design-system/src/stories/Tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { Tabs, InlineMessageWarning, StackVertical } from '../';
import * as Stories from './Tabs.stories';

<Meta
title="Design System/Tabs"
components={Tabs}
of={Stories}
parameters={{
status: { figma: 'ok', storybook: 'wip', react: 'wip', i18n: 'na' },
figmaLink: 'https://www.figma.com/file/bSesPlHPWLPA66wySm8VYV/Tabs',
Expand Down

0 comments on commit 3ca0d6c

Please sign in to comment.