diff --git a/.changeset/spicy-pumpkins-grab.md b/.changeset/spicy-pumpkins-grab.md new file mode 100644 index 0000000000..0a725db2d3 --- /dev/null +++ b/.changeset/spicy-pumpkins-grab.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-documentation': patch +--- + +Fixed some display issues on storybook documentation. diff --git a/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts b/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts index c0056b5037..acd0623f89 100644 --- a/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts +++ b/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts @@ -22,12 +22,12 @@ const meta: MetaComponent = { description: 'Select between Google Play and Apple Store badge', control: { type: 'radio', + labels: { + 'google-play': 'Google Play', + 'apple-store': 'Apple Store', + }, }, options: ['google-play', 'apple-store'], - labels: { - 'google-play': 'Google Play', - 'apple-store': 'Apple Store', - }, table: { category: 'General', }, diff --git a/packages/documentation/src/stories/components/input/input.stories.ts b/packages/documentation/src/stories/components/input/input.stories.ts index f83a4a65c6..5002da2569 100644 --- a/packages/documentation/src/stories/components/input/input.stories.ts +++ b/packages/documentation/src/stories/components/input/input.stories.ts @@ -81,7 +81,6 @@ const meta: MetaComponent = { description: 'The components `type` attribute.', control: { type: 'select', - labels: {}, }, options: [ 'text', diff --git a/packages/documentation/src/stories/introduction.docs.mdx b/packages/documentation/src/stories/introduction.docs.mdx index b58e53ed0a..1947e73afb 100644 --- a/packages/documentation/src/stories/introduction.docs.mdx +++ b/packages/documentation/src/stories/introduction.docs.mdx @@ -62,16 +62,7 @@ import { technologies } from './introduction.data'; GitHub -
- 1 Login required. Get access with your post account, or use the registration form on
- the login page.
-
- 2 Login required. Get access with your post account, or click{' '}
-
- here
-
- .
-
1 Login required. Get access with your post account, or use the registration form on the login page.
2 Login required. Get access with your post account, or click here.