From 6976422ec0575dcba889a19cdb0701c6e64e92a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Tue, 3 Sep 2024 16:36:02 +0200 Subject: [PATCH] use new icons in mdx files --- .../header/actions/HeaderBackAction.stories.mdx | 4 ++-- .../header/actions/HeaderButtonIcon.stories.mdx | 6 +++--- .../header/actions/HeaderCloseAction.stories.mdx | 6 +++--- .../header/actions/HeaderLeftActionIcon.stories.mdx | 6 +++--- .../actions/HeaderRightActionIcon.stories.mdx | 6 +++--- .../header/areas/HeaderLeftArea.stories.mdx | 4 ++-- .../header/areas/HeaderRightArea.stories.mdx | 6 +++--- .../Section/SectionContentMessage.stories.mdx | 9 +++------ .../SectionListItemWithAction.stories.mdx | 13 ++++--------- 9 files changed, 26 insertions(+), 34 deletions(-) diff --git a/src/components/header/actions/HeaderBackAction.stories.mdx b/src/components/header/actions/HeaderBackAction.stories.mdx index dc9bb268..e562489f 100644 --- a/src/components/header/actions/HeaderBackAction.stories.mdx +++ b/src/components/header/actions/HeaderBackAction.stories.mdx @@ -1,5 +1,5 @@ -import IconClose from '@aboutbits/react-material-icons/dist/IconClose' -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' +import IconClose from '@aboutbits/react-material-icons/dist/IconCloseRounded' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' import { InternationalizationMessages } from '../../../../.storybook/components' import { HeaderBackAction } from './HeaderBackAction' diff --git a/src/components/header/actions/HeaderButtonIcon.stories.mdx b/src/components/header/actions/HeaderButtonIcon.stories.mdx index 1e634347..56b3be3d 100644 --- a/src/components/header/actions/HeaderButtonIcon.stories.mdx +++ b/src/components/header/actions/HeaderButtonIcon.stories.mdx @@ -1,6 +1,6 @@ -import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBack' -import IconClose from '@aboutbits/react-material-icons/dist/IconClose' -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' +import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBackRounded' +import IconClose from '@aboutbits/react-material-icons/dist/IconCloseRounded' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' import { Theme } from '../../../../.storybook/components' import { HeaderButtonIcon } from './HeaderButtonIcon' diff --git a/src/components/header/actions/HeaderCloseAction.stories.mdx b/src/components/header/actions/HeaderCloseAction.stories.mdx index 1fabf53a..a5adb32c 100644 --- a/src/components/header/actions/HeaderCloseAction.stories.mdx +++ b/src/components/header/actions/HeaderCloseAction.stories.mdx @@ -1,6 +1,6 @@ -import IconArrowBackIos from '@aboutbits/react-material-icons/dist/IconArrowBackIos' -import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBack' -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' +import IconArrowBackIos from '@aboutbits/react-material-icons/dist/IconArrowBackIosRounded' +import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBackRounded' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' import { InternationalizationMessages } from '../../../../.storybook/components' import { HeaderCloseAction } from './HeaderCloseAction' diff --git a/src/components/header/actions/HeaderLeftActionIcon.stories.mdx b/src/components/header/actions/HeaderLeftActionIcon.stories.mdx index 0a4e2cdc..b1814f1c 100644 --- a/src/components/header/actions/HeaderLeftActionIcon.stories.mdx +++ b/src/components/header/actions/HeaderLeftActionIcon.stories.mdx @@ -1,6 +1,6 @@ -import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBack' -import IconClose from '@aboutbits/react-material-icons/dist/IconClose' -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' +import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBackRounded' +import IconClose from '@aboutbits/react-material-icons/dist/IconCloseRounded' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' import { Theme } from '../../../../.storybook/components' import { HeaderLeftActionIcon } from './HeaderLeftActionIcon' diff --git a/src/components/header/actions/HeaderRightActionIcon.stories.mdx b/src/components/header/actions/HeaderRightActionIcon.stories.mdx index a27c23c2..ea36ea5b 100644 --- a/src/components/header/actions/HeaderRightActionIcon.stories.mdx +++ b/src/components/header/actions/HeaderRightActionIcon.stories.mdx @@ -1,6 +1,6 @@ -import IconSave from '@aboutbits/react-material-icons/dist/IconSave' -import IconForward from '@aboutbits/react-material-icons/dist/IconForward' -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' +import IconSave from '@aboutbits/react-material-icons/dist/IconSaveRounded' +import IconForward from '@aboutbits/react-material-icons/dist/IconForwardRounded' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' import { Theme } from '../../../../.storybook/components' import { HeaderRightActionIcon } from './HeaderRightActionIcon' diff --git a/src/components/header/areas/HeaderLeftArea.stories.mdx b/src/components/header/areas/HeaderLeftArea.stories.mdx index 19905fc8..1df4d7ed 100644 --- a/src/components/header/areas/HeaderLeftArea.stories.mdx +++ b/src/components/header/areas/HeaderLeftArea.stories.mdx @@ -1,5 +1,5 @@ -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' -import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBack' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' +import IconArrowBack from '@aboutbits/react-material-icons/dist/IconArrowBackRounded' import { action } from '@storybook/addon-actions' import { Theme } from '../../../../.storybook/components' import { HeaderButtonIcon } from '../actions/HeaderButtonIcon' diff --git a/src/components/header/areas/HeaderRightArea.stories.mdx b/src/components/header/areas/HeaderRightArea.stories.mdx index c9f4776a..244ddf8a 100644 --- a/src/components/header/areas/HeaderRightArea.stories.mdx +++ b/src/components/header/areas/HeaderRightArea.stories.mdx @@ -1,7 +1,7 @@ -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' -import IconEdit from '@aboutbits/react-material-icons/dist/IconEdit' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' +import IconEdit from '@aboutbits/react-material-icons/dist/IconEditRounded' import { action } from '@storybook/addon-actions' -import IconAdd from '@aboutbits/react-material-icons/dist/IconAdd' +import IconAdd from '@aboutbits/react-material-icons/dist/IconAddRounded' import { Theme } from '../../../../.storybook/components' import { HeaderButtonIcon } from '../actions/HeaderButtonIcon' import { HeaderRightArea } from './HeaderRightArea' diff --git a/src/components/section/Section/SectionContentMessage.stories.mdx b/src/components/section/Section/SectionContentMessage.stories.mdx index 4b92a168..7c4fdd36 100644 --- a/src/components/section/Section/SectionContentMessage.stories.mdx +++ b/src/components/section/Section/SectionContentMessage.stories.mdx @@ -1,12 +1,9 @@ -import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs' -import IconList from '@aboutbits/react-material-icons/dist/IconList' +import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs' +import IconList from '@aboutbits/react-material-icons/dist/IconListRoundedFilled' import { Theme } from '../../../../.storybook/components' import { Tone } from '../../types' import { SectionContentMessage } from './SectionContentMessage' -import { - SectionContentEmpty, - SectionContentError, -} from './ConvenientSectionContentMessage' +import { SectionContentEmpty, SectionContentError, } from './ConvenientSectionContentMessage'