-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4284 from grommet/add-more-stories
Add more storybook stories
- Loading branch information
Showing
13 changed files
with
146 additions
and
10 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 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,9 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { CodeBlockExample } from 'aries-site/src/examples/templates/code-blocks/CodeBlocks'; | ||
|
||
export const CodeBlock = () => <CodeBlockExample />; | ||
|
||
export default { | ||
title: 'Code Blocks', | ||
}; |
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,13 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { DashboardExample } from 'aries-site/src/examples/templates/dashboards/DashboardExample'; | ||
import { ThreeColumnDashboard } from 'aries-site/src/examples/templates/dashboards'; | ||
import { TwoColumnDashboard } from 'aries-site/src/examples/templates/dashboards/TwoColumnDashboard'; | ||
|
||
export const Dashboard = () => <DashboardExample />; | ||
export const ThreeColumn = () => <ThreeColumnDashboard />; | ||
export const TwoColumn = () => <TwoColumnDashboard />; | ||
|
||
export default { | ||
title: 'Dashboards', | ||
}; |
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,11 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { ColumnSettingsExample } from 'aries-site/src/examples/templates/table-customization/components/ColumnSettingsExample'; | ||
import { TableCustomizationExample } from 'aries-site/src/examples/templates/table-customization/components/TableCustomizationExample'; | ||
|
||
export const ColumnSettings = () => <ColumnSettingsExample />; | ||
export const TableCustomization = () => <TableCustomizationExample />; | ||
|
||
export default { | ||
title: 'DataTable Customization', | ||
}; |
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,19 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { ActionEmptyState } from 'aries-site/src/examples/templates/empty-state/ActionEmptyState'; | ||
import { CardEmptyState } from 'aries-site/src/examples/templates/empty-state/CardEmptyState'; | ||
import { EmptyStateExample } from 'aries-site/src/examples/templates/empty-state/EmptyStateExample'; | ||
import { ErrorManagementEmptyState } from 'aries-site/src/examples/templates/empty-state/ErrorManagementEmptyState'; | ||
import { LayerEmptyState } from 'aries-site/src/examples/templates/empty-state/LayerEmptyState'; | ||
import { PageEmptyState } from 'aries-site/src/examples/templates/empty-state/PageEmptyState'; | ||
|
||
export const Action = () => <ActionEmptyState />; | ||
export const Card = () => <CardEmptyState />; | ||
export const EmptyState = () => <EmptyStateExample />; | ||
export const ErrorManagement = () => <ErrorManagementEmptyState />; | ||
export const Layer = () => <LayerEmptyState />; | ||
export const Page = () => <PageEmptyState />; | ||
|
||
export default { | ||
title: 'Empty State', | ||
}; |
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,19 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { BannerContentLayoutExample } from 'aries-site/src/examples/templates/global-banner-notifications/BannerContentLayoutExample'; | ||
import { BannerNotificationCritical } from 'aries-site/src/examples/templates/global-banner-notifications/Examples/BannerNotificationCritical'; | ||
import { BannerNotificationCriticalClose } from 'aries-site/src/examples/templates/global-banner-notifications/Examples/BannerNotificationCriticalClose'; | ||
import { BannerNotificationInfo } from 'aries-site/src/examples/templates/global-banner-notifications/Examples/BannerNotificationInfo'; | ||
import { BannerNotificationWarning } from 'aries-site/src/examples/templates/global-banner-notifications/Examples/BannerNotificationWarning'; | ||
import { BannerNotificationWarningClose } from 'aries-site/src/examples/templates/global-banner-notifications/Examples/BannerNotificationWarningClose'; | ||
|
||
export const ContentLayout = () => <BannerContentLayoutExample />; | ||
export const Critical = () => <BannerNotificationCritical />; | ||
export const CriticalClose = () => <BannerNotificationCriticalClose />; | ||
export const Info = () => <BannerNotificationInfo />; | ||
export const Warning = () => <BannerNotificationWarning />; | ||
export const WarningClose = () => <BannerNotificationWarningClose />; | ||
|
||
export default { | ||
title: 'Global Notifications', | ||
}; |
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,17 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { FormValidation } from 'aries-site/src/examples/templates/inline-notifications/InlineFormValidation'; | ||
import { InlineNotificationExample } from 'aries-site/src/examples/templates/inline-notifications/InlineNotificationExample'; | ||
import { PageBannerExample } from 'aries-site/src/examples/templates/inline-notifications/PageBannerExample'; | ||
import { PromotionExample } from 'aries-site/src/examples/templates/inline-notifications/PromotionExample'; | ||
import { StatusUpdateExample } from 'aries-site/src/examples/templates/inline-notifications/StatusUpdateExample'; | ||
|
||
export const InlineFormValidation = () => <FormValidation />; | ||
export const InlineNotification = () => <InlineNotificationExample />; | ||
export const PageBanner = () => <PageBannerExample />; | ||
export const Promotion = () => <PromotionExample />; | ||
export const StatusUpdate = () => <StatusUpdateExample />; | ||
|
||
export default { | ||
title: 'Inline Notifications', | ||
}; |
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,21 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { ListIconIdentifierExample } from 'aries-site/src/examples/templates/list-views/ListIconIdentifierExample'; | ||
import { ListImageIdentifierExample } from 'aries-site/src/examples/templates/list-views/ListImageIdentifierExample'; | ||
import { ListNameDescriptionOptionExample } from 'aries-site/src/examples/templates/list-views/ListNameDescriptionOptionExample'; | ||
import { ListNameExample } from 'aries-site/src/examples/templates/list-views/ListNameExample'; | ||
import { ListNameOptionActionExample } from 'aries-site/src/examples/templates/list-views/ListNameOptionActionExample'; | ||
import { ListOrderExample } from 'aries-site/src/examples/templates/list-views/ListOrderExample'; | ||
import { ListScreenExample } from 'aries-site/src/examples/templates/list-views/ListScreenExample'; | ||
|
||
export const IconIdentifier = () => <ListIconIdentifierExample />; | ||
export const ImageIdentifier = () => <ListImageIdentifierExample />; | ||
export const NameDescriptionOption = () => <ListNameDescriptionOptionExample />; | ||
export const Name = () => <ListNameExample />; | ||
export const NameOptionAction = () => <ListNameOptionActionExample />; | ||
export const Order = () => <ListOrderExample />; | ||
export const Screen = () => <ListScreenExample />; | ||
|
||
export default { | ||
title: 'Lists', | ||
}; |
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,13 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { CreateCluster } from 'aries-site/src/examples/templates/forms/managing-child-objects/CreateCluster'; | ||
import { CreateRole } from 'aries-site/src/examples/templates/forms/managing-child-objects/CreateRole'; | ||
import { EditRole } from 'aries-site/src/examples/templates/forms/managing-child-objects/EditRole'; | ||
|
||
export const OptionalChildren = () => <CreateRole />; | ||
export const RequiredChildren = () => <CreateCluster />; | ||
export const RemoveAllAction = () => <EditRole />; | ||
|
||
export default { | ||
title: 'Managing Child Objects', | ||
}; |
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,11 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { PopoverInlineExample } from 'aries-site/src/examples/templates/popover/PopoverInlineExample'; | ||
import { PopoverSimpleExample } from 'aries-site/src/examples/templates/popover/PopoverSimpleExample'; | ||
|
||
export const PopoverInline = () => <PopoverInlineExample />; | ||
export const PopoverSimple = () => <PopoverSimpleExample />; | ||
|
||
export default { | ||
title: 'Popover', | ||
}; |
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,11 @@ | ||
import React from 'react'; | ||
/* eslint-disable max-len */ | ||
import { TwoColumnWizardExample } from 'aries-site/src/examples/templates/wizard/TwoColumnWizardExample'; | ||
import { WizardValidationExample } from 'aries-site/src/examples/templates/wizard/WizardValidationExample'; | ||
|
||
export const TwoColumnWizard = () => <TwoColumnWizardExample />; | ||
export const WizardValidation = () => <WizardValidationExample />; | ||
|
||
export default { | ||
title: 'Wizard', | ||
}; |
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