Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(documentation): small fixes on documentation #4359

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spicy-pumpkins-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Fixed some display issues on storybook documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const meta: MetaComponent = {
description: 'The components `type` attribute.',
control: {
type: 'select',
labels: {},
},
options: [
'text',
Expand Down
11 changes: 1 addition & 10 deletions packages/documentation/src/stories/introduction.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,7 @@ import { technologies } from './introduction.data';
<span>GitHub</span>
</a>
</div>
<p className="mb-0 fs-tiny lh-tiny">
<sup>1</sup> Login required. Get access with your post account, or use the registration form on
the login page.
<br />
<sup>2</sup> Login required. Get access with your post account, or click{' '}
<a href="mailto:[email protected]?subject=I need access to Figma&body=Hello%2C%20I%20need%20access%20to%20Figma%20%0A%E2%80%A2%20%20Project%20name%3A%20%0A%E2%80%A2%20Project%20Owner%20at%20the%20Post%20Office%20%28email%29%3A%20%0A%E2%80%A2%20Project%20Start%20Date%3A%20%0A%E2%80%A2%20Email%20address%20to%20be%20authorized%3A%20">
here
</a>
.
</p>
<p className="mb-0 fs-tiny lh-tiny"><sup>1</sup> Login required. Get access with your post account, or use the registration form on the login page.<br /><sup>2</sup> Login required. Get access with your post account, or click <a href="mailto:[email protected]?subject=I need access to Figma&body=Hello%2C%20I%20need%20access%20to%20Figma%20%0A%E2%80%A2%20%20Project%20name%3A%20%0A%E2%80%A2%20Project%20Owner%20at%20the%20Post%20Office%20%28email%29%3A%20%0A%E2%80%A2%20Project%20Start%20Date%3A%20%0A%E2%80%A2%20Email%20address%20to%20be%20authorized%3A%20">here</a>.</p>
</div>

<div className="mt-56 py-56 light-section text-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const meta: MetaExtended = {
type: 'select',
},
options: [0, 25, 50, 75, 100],
table: {
category: 'General',
},
},
},
render: (args: Args) => {
Expand Down
Loading