(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", "../../../Pallette/themes", "../../theme", "../../../utils/theme/getTheme"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.TabsStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var themes_1 = require("../../../Pallette/themes");
    var theme_1 = require("../../theme");
    var getTheme_1 = require("../../../utils/theme/getTheme");
    var COMPONENT_NAME = "tab";
    exports.TabsStyled = styled_components_1.default.div.attrs(function (props) { return ({
        theme: (0, getTheme_1.getTheme)({
            theme: props.theme,
            componentName: COMPONENT_NAME,
            defaultTheme: theme_1.defaultThemeTabs
        })
    }); })(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n\n  .tab_selected {\n    ", "\n\n    & > svg {\n      fill: currentColor;\n    }\n  }\n"], ["\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n\n  .tab_selected {\n    ", "\n\n    & > svg {\n      fill: currentColor;\n    }\n  }\n"])), function (_a) {
        var theme = _a.theme;
        return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n      transition: all 0.2s;\n      color: ", ";\n      background: ", ";\n    "], ["\n      transition: all 0.2s;\n      color: ", ";\n      background: ", ";\n    "])), theme.components[COMPONENT_NAME].colorPressed, theme.components[COMPONENT_NAME].backgroundPressed);
    });
    exports.TabsStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1, templateObject_2;
});
