diff --git a/components/src/Autocomplete/Autocomplete.stories.svelte b/components/src/Autocomplete/Autocomplete.stories.svelte index 139fdca4..02514319 100644 --- a/components/src/Autocomplete/Autocomplete.stories.svelte +++ b/components/src/Autocomplete/Autocomplete.stories.svelte @@ -6,7 +6,8 @@ import Autocomplete from './Autocomplete.svelte'; const { Story } = defineMeta({ - title: 'Deprecated/Autocomplete' + title: 'Deprecated/Autocomplete', + component: Autocomplete }); const testData = ['Apples', 'Oranges', 'Pears', 'Peaches', 'Bananas'].map((el) => { @@ -20,7 +21,7 @@ { const canvas = within(canvasElement); const input = canvas.getByTestId('autocomplete-input'); diff --git a/components/src/Button/Button.stories.svelte b/components/src/Button/Button.stories.svelte index 9278ca19..d8f89ff7 100644 --- a/components/src/Button/Button.stories.svelte +++ b/components/src/Button/Button.stories.svelte @@ -4,16 +4,17 @@ import DesignTokens from '../DesignTokens/DesignTokens.svelte'; const { Story } = defineMeta({ - title: 'Form/Button' + title: 'Form/Button', + component: Button }); - + - + diff --git a/components/src/Caption/Caption.stories.svelte b/components/src/Caption/Caption.stories.svelte index c4d4f59c..d4a08faf 100644 --- a/components/src/Caption/Caption.stories.svelte +++ b/components/src/Caption/Caption.stories.svelte @@ -5,16 +5,17 @@ import Caption from './Caption.svelte'; const { Story } = defineMeta({ - title: 'Typography/Caption' + title: 'Typography/Caption', + component: Caption }); - + Björn Schittenhelm, Apotheker aus Holzgerlingen (Kreis Böblingen) - + Björn Schittenhelm, Apotheker aus Holzgerlingen (Kreis Böblingen) diff --git a/components/src/Card/Card.stories.svelte b/components/src/Card/Card.stories.svelte index dbcd144b..30207803 100644 --- a/components/src/Card/Card.stories.svelte +++ b/components/src/Card/Card.stories.svelte @@ -4,11 +4,12 @@ import DesignTokens from '../DesignTokens/DesignTokens.svelte'; const { Story } = defineMeta({ - title: 'Display/Card/Base' + title: 'Display/Card/Base', + component: Card }); - +

Any content

diff --git a/components/src/ChartFooter/ChartFooter.stories.svelte b/components/src/ChartFooter/ChartFooter.stories.svelte index 41cf2436..8a3158c1 100644 --- a/components/src/ChartFooter/ChartFooter.stories.svelte +++ b/components/src/ChartFooter/ChartFooter.stories.svelte @@ -6,11 +6,12 @@ import Middot from '../Middot/Middot.svelte'; const { Story } = defineMeta({ - title: 'Chart/ChartFooter' + title: 'Chart/ChartFooter', + component: ChartFooter }); - + Daten: Zensus 2022 @@ -21,7 +22,7 @@ - + Daten: Zensus 2022 diff --git a/components/src/ChartHeader/ChartHeader.stories.svelte b/components/src/ChartHeader/ChartHeader.stories.svelte index 70ffc1ad..70df0f17 100644 --- a/components/src/ChartHeader/ChartHeader.stories.svelte +++ b/components/src/ChartHeader/ChartHeader.stories.svelte @@ -5,12 +5,14 @@ import ChartHeader from './ChartHeader.svelte'; const { Story } = defineMeta({ - title: 'Chart/ChartHeader' + title: 'Chart/ChartHeader', + component: ChartHeader }); { await step('Container has ID attribute derived from title prop', async () => { const containerEl = document.querySelector('#mehr-uber-60-jahrige-in-allen-berufen'); diff --git a/components/src/Copy/Copy.stories.svelte b/components/src/Copy/Copy.stories.svelte index 541f72fa..774f937c 100644 --- a/components/src/Copy/Copy.stories.svelte +++ b/components/src/Copy/Copy.stories.svelte @@ -5,11 +5,12 @@ import Copy from './Copy.svelte'; const { Story } = defineMeta({ - title: 'Typography/Copy' + title: 'Typography/Copy', + component: Copy }); - + Björn Schittenhelm, Apotheker aus Holzgerlingen (Kreis Böblingen), bedient derzeit @@ -19,7 +20,7 @@ - + Björn Schittenhelm, Apotheker aus Holzgerlingen (Kreis Böblingen), bedient derzeit diff --git a/components/src/FormLabel/FormLabel.mdx b/components/src/FormLabel/FormLabel.mdx index 6cc0776d..ca2bba95 100644 --- a/components/src/FormLabel/FormLabel.mdx +++ b/components/src/FormLabel/FormLabel.mdx @@ -8,6 +8,6 @@ import * as FormLabelStories from './FormLabel.stories.svelte'; Standard form label. The `htmlFor` prop is required to semantically link the label to the form element it describes. - + \ No newline at end of file diff --git a/components/src/FormLabel/FormLabel.stories.svelte b/components/src/FormLabel/FormLabel.stories.svelte index 1c7ac577..50a7e7fa 100644 --- a/components/src/FormLabel/FormLabel.stories.svelte +++ b/components/src/FormLabel/FormLabel.stories.svelte @@ -1,4 +1,4 @@ - - + Deine Gemeinde @@ -20,6 +21,7 @@ { const canvas = within(canvasElement); const label = canvas.getByTestId('label-container'); diff --git a/components/src/Headline/Headline.stories.svelte b/components/src/Headline/Headline.stories.svelte index b36ae982..48fc8ffa 100644 --- a/components/src/Headline/Headline.stories.svelte +++ b/components/src/Headline/Headline.stories.svelte @@ -5,11 +5,12 @@ import Headline from './Headline.svelte'; const { Story } = defineMeta({ - title: 'Typography/Headline' + title: 'Typography/Headline', + component: Headline }); - + Baden-Württemberg heizt überdurchschnittlich viel mit Wärmepumpe diff --git a/components/src/HighlightCard/HighlightCard.stories.svelte b/components/src/HighlightCard/HighlightCard.stories.svelte index 7f5c7283..697dce2a 100644 --- a/components/src/HighlightCard/HighlightCard.stories.svelte +++ b/components/src/HighlightCard/HighlightCard.stories.svelte @@ -4,11 +4,12 @@ import DesignTokens from '../DesignTokens/DesignTokens.svelte'; const { Story } = defineMeta({ - title: 'Display/Card/HighlightCard' + title: 'Display/Card/HighlightCard', + component: HighlightCard }); - + - +
- + diff --git a/components/src/Middot/Middot.stories.svelte b/components/src/Middot/Middot.stories.svelte index e6d9aa30..b99a2760 100644 --- a/components/src/Middot/Middot.stories.svelte +++ b/components/src/Middot/Middot.stories.svelte @@ -4,11 +4,12 @@ import DesignTokens from '../DesignTokens/DesignTokens.svelte'; const { Story } = defineMeta({ - title: 'Chart/Middot' + title: 'Chart/Middot', + component: Middot }); - + diff --git a/components/src/Note/Note.stories.svelte b/components/src/Note/Note.stories.svelte index 743a99dd..8bd1802b 100644 --- a/components/src/Note/Note.stories.svelte +++ b/components/src/Note/Note.stories.svelte @@ -6,11 +6,12 @@ import Note from './Note.svelte'; const { Story } = defineMeta({ - title: 'Typography/Note' + title: 'Typography/Note', + component: Note }); - + Daten: Zensus 2022 diff --git a/components/src/Select/Select.stories.svelte b/components/src/Select/Select.stories.svelte index b92cf976..a4f69b45 100644 --- a/components/src/Select/Select.stories.svelte +++ b/components/src/Select/Select.stories.svelte @@ -6,7 +6,8 @@ import jobsData from './mock_data/jobs.json'; const { Story } = defineMeta({ - title: 'Form/Select' + title: 'Form/Select', + component: Select }); @@ -18,6 +19,7 @@ { const canvas = within(canvasElement); const select = canvas.getByLabelText('Select'); @@ -59,7 +61,7 @@ /> - + { const canvas = within(canvasElement); const select = canvas.getByLabelText('Select'); @@ -123,6 +126,7 @@ { const canvas = within(canvasElement); const select = canvas.getByLabelText('Berufe'); diff --git a/components/src/Switcher/Switcher.stories.svelte b/components/src/Switcher/Switcher.stories.svelte index 1476274f..6b3f3aff 100644 --- a/components/src/Switcher/Switcher.stories.svelte +++ b/components/src/Switcher/Switcher.stories.svelte @@ -5,11 +5,12 @@ import { userEvent, within, expect } from 'storybook/test'; const { Story } = defineMeta({ - title: 'Form/Switcher' + title: 'Form/Switcher', + component: Switcher }); - + @@ -17,6 +18,7 @@ { const canvas = within(canvasElement); await step('Clicking selects the expected option', async () => {