/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */ import * as React from 'react'; import Screener, { Steps } from 'screener-storybook/src/screener'; import { storiesOf } from '@storybook/react'; import { Button } from '@fluentui/react-button'; import { AddIcon } from '@fluentui/react-icons'; import { FabricDecorator } from '../utilities'; storiesOf('Button Next', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ) .addStory('Primary', () => ) .addStory('Disabled', () => ) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - With icon before content', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - With icon after content', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Circular', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Icon only', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Fluid', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Inverted', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Loading', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () => ( )) .addStory('Primary', () => ( )) .addStory('Disabled', () => ( )) .addStory('Primary Disabled', () => ( )); storiesOf('Button Next - Sizes', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Smallest', () => ( )) .addStory('Smaller', () => ( )) .addStory('Small', () => ( )) .addStory('Large', () => ( )) .addStory('Larger', () => ( )) .addStory('Largest', () => ( )); storiesOf('Button Next - With styled icon from react-icons via tokens', module) .addDecorator(FabricDecorator) .addDecorator(story => ( {story()} )) .addStory('Default', () =>