(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "styled-components", "./components/StepItem/styles"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.StepWrapper = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var styles_1 = require("./components/StepItem/styles");
    exports.StepWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  gap: 16px;\n  flex: 1;\n\n  ", ";\n\n  ", ":last-child {\n    flex: 0.75 3 auto;\n    min-width: 0;\n    max-width: max-content;\n  }\n\n  ", ":last-child {\n    flex: 0;\n  }\n"], ["\n  display: flex;\n  gap: 16px;\n  flex: 1;\n\n  ", ";\n\n  ", ":last-child {\n    flex: 0.75 3 auto;\n    min-width: 0;\n    max-width: max-content;\n  }\n\n  ", ":last-child {\n    flex: 0;\n  }\n"])), function (_a) {
        var direction = _a.direction, width = _a.width, height = _a.height;
        return direction === "horizontal"
            ? (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n          flex-direction: row;\n          width: ", ";\n        "], ["\n          flex-direction: row;\n          width: ", ";\n        "])), width ? width : "100%") : (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n          flex-direction: column;\n          height: ", ";\n        "], ["\n          flex-direction: column;\n          height: ", ";\n        "])), height ? height : "100%");
    }, styles_1.StepItemHorizontal, styles_1.StepItemVertical);
    var templateObject_1, templateObject_2, templateObject_3;
});
