-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M3-5536: Add Storybook components (#7995)
## Description Remove unused stories and create placeholders for stories to be added ## How to test Run `yarn storybook`
- Loading branch information
Showing
21 changed files
with
78 additions
and
291 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Chip from '/src/components/core/Chip'; | ||
|
||
<Meta title="UI Elements/Chips" component={Chip} /> | ||
|
||
# Chips |
6 changes: 6 additions & 0 deletions
6
packages/manager/src/components/DismissibleBanner/DismissibleBanner.stories.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,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Banner from './DismissibleBanner'; | ||
|
||
<Meta title="UI Elements/Notifications/Banners" component={Banner} /> | ||
|
||
# Banners |
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,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Table from '/src/components/Table/Table'; | ||
|
||
<Meta title="UI Elements/Drag and Drop" component={Table} /> | ||
|
||
# Drag and Drop |
69 changes: 0 additions & 69 deletions
69
packages/manager/src/components/EditableEntityLabel/EditableEntityLabel.stories.tsx
This file was deleted.
Oops, something went wrong.
90 changes: 0 additions & 90 deletions
90
packages/manager/src/components/EntityHeader/EntityHeader.stories.tsx
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import FileUpload from '/src/features/ObjectStorage/ObjectUploader/FileUpload'; | ||
|
||
<Meta title="Components/File Upload" component={FileUpload} /> | ||
|
||
# File Upload |
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,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Grid from './Grid'; | ||
|
||
<Meta title="Core/Grid" component={Grid} /> | ||
|
||
# Grid |
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
9 changes: 9 additions & 0 deletions
9
packages/manager/src/components/NotificationDrawer.stories.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,9 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import NotificationDrawer from '/src/features/NotificationCenter/NotificationDrawer.tsx'; | ||
|
||
<Meta | ||
title="Components/Drawer/Notifications Drawer" | ||
component={NotificationDrawer} | ||
/> | ||
|
||
# Notifications Drawer |
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,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Paper from '/src/components/core/Paper'; | ||
|
||
<Meta title="Components/Papers" component={Paper} /> | ||
|
||
# Papers |
9 changes: 9 additions & 0 deletions
9
packages/manager/src/components/Placeholder/Placeholder.stories.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,9 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Placeholder from '/src/components/Placeholder'; | ||
|
||
<Meta | ||
title="UI Elements/Entity Landing Page/Placeholders" | ||
component={Placeholder} | ||
/> | ||
|
||
# Placeholders |
115 changes: 0 additions & 115 deletions
115
packages/manager/src/components/ScriptCode/ScriptCode.stories.tsx
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import SideMenu from './SideMenu'; | ||
|
||
<Meta title="Components/Navigation/Side Menu" component={SideMenu} /> | ||
|
||
# Side Menu |
Oops, something went wrong.