-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(doc): add Canvas tag to all components & disable shortcuts
Signed-off-by: aurore.stagnol <[email protected]>
- Loading branch information
Showing
249 changed files
with
2,097 additions
and
1,249 deletions.
There are no files selected for viewing
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
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
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
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
6 changes: 3 additions & 3 deletions
6
...nts/src/accordion/documentation/usage-guidelines/accordion/slots/usage.slot.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
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
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
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
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
6 changes: 4 additions & 2 deletions
6
...omponents/src/button/documentation/usage-guidelines/properties/usage.circle.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
18 changes: 10 additions & 8 deletions
18
...components/src/button/documentation/usage-guidelines/properties/usage.color.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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
<div class="container"> | ||
<osds-button>Default</osds-button> | ||
<osds-button color='primary'>Primary</osds-button> | ||
<osds-button color='error'>Error</osds-button> | ||
</div> | ||
import { Canvas } from '@storybook/addon-docs'; | ||
|
||
<Canvas withSource="none"> | ||
<osds-button inline>Default</osds-button> | ||
<osds-button inline color='primary'>Primary</osds-button> | ||
<osds-button inline color='error'>Error</osds-button> | ||
</Canvas > | ||
|
||
```html | ||
<osds-button>Default</osds-button> | ||
<osds-button color='primary'>Primary</osds-button> | ||
<osds-button color='error'>Error</osds-button> | ||
<osds-button inline>Default</osds-button> | ||
<osds-button inline color='primary'>Primary</osds-button> | ||
<osds-button inline color='error'>Error</osds-button> | ||
``` | ||
|
6 changes: 4 additions & 2 deletions
6
...nents/src/button/documentation/usage-guidelines/properties/usage.contrasted.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
6 changes: 4 additions & 2 deletions
6
...ponents/src/button/documentation/usage-guidelines/properties/usage.disabled.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
6 changes: 5 additions & 1 deletion
6
...omponents/src/button/documentation/usage-guidelines/properties/usage.inline.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
6 changes: 4 additions & 2 deletions
6
.../components/src/button/documentation/usage-guidelines/properties/usage.size.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
10 changes: 7 additions & 3 deletions
10
...nents/src/button/documentation/usage-guidelines/properties/usage.text-align.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
18 changes: 10 additions & 8 deletions
18
...mponents/src/button/documentation/usage-guidelines/properties/usage.variant.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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<div class="container"> | ||
<osds-button variant='flat'>Flat</osds-button> | ||
<osds-button variant='stroked'>Stroked</osds-button> | ||
<osds-button variant='ghost'>Ghost</osds-button> | ||
</div> | ||
import { Canvas } from '@storybook/addon-docs'; | ||
|
||
<Canvas withSource="none"> | ||
<osds-button inline variant='flat'>Flat</osds-button> | ||
<osds-button inline variant='stroked'>Stroked</osds-button> | ||
<osds-button inline variant='ghost'>Ghost</osds-button> | ||
</Canvas > | ||
|
||
```html | ||
<osds-button variant='flat'>Flat</osds-button> | ||
<osds-button variant='stroked'>Stroked</osds-button> | ||
<osds-button variant='ghost'>Ghost</osds-button> | ||
<osds-button inline variant='flat'>Flat</osds-button> | ||
<osds-button inline variant='stroked'>Stroked</osds-button> | ||
<osds-button inline variant='ghost'>Ghost</osds-button> | ||
``` |
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
Oops, something went wrong.