define(["require", "exports", "react", "@fluentui/react/lib/Slider", "@fluentui/react/lib/Stack", "@fluentui/react/lib/Styling"], function (require, exports, React, Slider_1, Stack_1, Styling_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.VerticalStackWrapExample = void 0;
    // Non-mutating styles definition
    var itemStyles = {
        alignItems: 'center',
        background: Styling_1.DefaultPalette.themePrimary,
        color: Styling_1.DefaultPalette.white,
        height: 50,
        display: 'flex',
        justifyContent: 'center',
        width: 50,
    };
    // Tokens definition
    var sectionStackTokens = { childrenGap: 10 };
    var wrapStackTokens = { childrenGap: 20 };
    var VerticalStackWrapExample = function () {
        var _a = React.useState(420), stackHeight = _a[0], setStackHeight = _a[1];
        // Mutating styles definition
        var stackStyles = {
            root: {
                background: Styling_1.DefaultPalette.themeTertiary,
                height: stackHeight,
            },
        };
        return (React.createElement(Stack_1.Stack, { tokens: sectionStackTokens },
            React.createElement(Slider_1.Slider, { label: "Change the stack height to see how child items wrap onto multiple columns:", min: 1, max: 420, step: 1, defaultValue: 420, showValue: true, onChange: setStackHeight }),
            React.createElement(Stack_1.Stack, { wrap: true, styles: stackStyles, tokens: wrapStackTokens },
                React.createElement("span", { style: itemStyles }, "1"),
                React.createElement("span", { style: itemStyles }, "2"),
                React.createElement("span", { style: itemStyles }, "3"),
                React.createElement("span", { style: itemStyles }, "4"),
                React.createElement("span", { style: itemStyles }, "5"),
                React.createElement("span", { style: itemStyles }, "6"))));
    };
    exports.VerticalStackWrapExample = VerticalStackWrapExample;
});
//# sourceMappingURL=Stack.Vertical.Wrap.Example.js.map