"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var react_button_1 = require("@fluentui/react-button");
var office_ui_fabric_react_1 = require("office-ui-fabric-react");
var classes = require("../utils/Button.stories.scss");
var ToggleButtonVariants = function (props) { return (React.createElement("div", { className: classes.hStack },
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { icon: "X" }), "Hello, world"),
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { primary: true, icon: "X" }), "Hello, world"),
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { disabled: true, icon: "X" }), "Hello, world"),
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { primary: true, disabled: true, icon: "X" }), "Hello, world"),
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { ghost: true, icon: "X" }), "Hello, world"),
    React.createElement(react_button_1.ToggleButton, tslib_1.__assign({}, props, { ghost: true, disabled: true, icon: "X" }), "Hello, world"))); };
exports.ToggleButtonCss = function () { return (React.createElement(office_ui_fabric_react_1.Stack, { gap: 20 },
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button comes in default and `primary` flavors."),
    React.createElement(ToggleButtonVariants, null),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button can appear round using the `circular` prop."),
    React.createElement(ToggleButtonVariants, { circular: true }),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button can fill the width of its container using the `fluid` prop."),
    React.createElement("div", { className: classes.vStack },
        React.createElement(react_button_1.ToggleButton, { fluid: true, icon: "X" }, "Hello, world"),
        React.createElement(react_button_1.ToggleButton, { fluid: true, primary: true, icon: "X" }, "Hello, world"),
        React.createElement(react_button_1.ToggleButton, { fluid: true, disabled: true, icon: "X" }, "Hello, world"),
        React.createElement(react_button_1.ToggleButton, { fluid: true, primary: true, disabled: true, icon: "X" }, "Hello, world"),
        React.createElement(react_button_1.ToggleButton, { fluid: true, ghost: true, icon: "X" }, "Hello, world"),
        React.createElement(react_button_1.ToggleButton, { fluid: true, ghost: true, disabled: true, icon: "X" }, "Hello, world")),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button can contain only an icon using the `iconOnly` prop."),
    React.createElement(ToggleButtonVariants, { iconOnly: true }),
    React.createElement(office_ui_fabric_react_1.Text, null, "A button can be both `circular` and `iconOnly`."),
    React.createElement(ToggleButtonVariants, { circular: true, iconOnly: true }),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "An icon button can format its Icon to appear before or after its content."),
    React.createElement("div", { className: classes.vStack },
        React.createElement(ToggleButtonVariants, { iconPosition: "before" }),
        React.createElement(ToggleButtonVariants, { iconPosition: "after" })),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button can show a loading indicator using the `loading` prop."),
    React.createElement(ToggleButtonVariants, { loading: true }),
    React.createElement(office_ui_fabric_react_1.Text, { variant: "xLarge" }, "A button can be sized."),
    React.createElement("div", { className: classes.vStack },
        React.createElement(ToggleButtonVariants, { size: "smallest" }),
        React.createElement(ToggleButtonVariants, { size: "smaller" }),
        React.createElement(ToggleButtonVariants, { size: "small" }),
        React.createElement(ToggleButtonVariants, { size: "large" }),
        React.createElement(ToggleButtonVariants, { size: "larger" }),
        React.createElement(ToggleButtonVariants, { size: "largest" })))); };
//# sourceMappingURL=ToggleButton.stories.js.map