-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45c37fe
commit 9a0f3f3
Showing
5 changed files
with
99 additions
and
102 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
packages/design-system/src/stories/navigation/Stepper.Step.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks'; | ||
import { FigmaImage } from '@talend/storybook-docs'; | ||
|
||
import * as Stories from './Stepper.Step.stories'; | ||
|
||
<Meta | ||
of={Stories} | ||
parameters={{ | ||
status: { figma: 'ok', storybook: 'ok', react: 'ok', i18n: 'na' }, | ||
figmaLink: 'https://www.figma.com/file/WUVKJmcDHfR7K1q1lYhaHk/?node-id=1%3A4', | ||
}} | ||
/> | ||
|
||
# Step | ||
|
||
Steps are the main elements for the stepper. | ||
|
||
## Zoning | ||
|
||
<FigmaImage | ||
src="https://www.figma.com/file/qc8oUSyVJM67gSsbTShftt/%F0%9F%93%90-Zoning?node-id=952%3A229" | ||
alt="zoning image for the steps" | ||
/> | ||
|
||
## Style | ||
|
||
### Variations | ||
|
||
<FigmaImage | ||
src="https://www.figma.com/file/WUVKJmcDHfR7K1q1lYhaHk/Stepper?node-id=816%3A25605" | ||
alt="states image for the steps" | ||
/> | ||
|
||
<Canvas> | ||
<Story story={Stories.Default} /> | ||
</Canvas> | ||
|
||
### Sizes | ||
|
||
The max-width for a step is 20rem, if the label is longer we display an ellipsis. | ||
|
||
<Canvas> | ||
<Story story={Stories.Overflow} /> | ||
</Canvas> | ||
|
||
## States | ||
|
||
N/C | ||
|
||
## Interactions | ||
|
||
N/C | ||
|
||
## Usage | ||
|
||
<Canvas> | ||
<Story of={Stories.Usage} /> | ||
</Canvas> | ||
|
||
<ArgsTable story="usage" /> | ||
|
||
## Accessibility | ||
|
||
N/C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...em/src/stories/layout/Stepper.stories.tsx → ...rc/stories/navigation/Stepper.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 0 additions & 100 deletions
100
packages/storybook/src/design-system/Stepper/Step/Stepper.Step.mdx
This file was deleted.
Oops, something went wrong.