import { __makeTemplateObject } from "tslib";
import styled, { css } from "styled-components";
import { LIGHT_THEME } from "../../../Pallette/themes";
import { defaultThemeTabs } from "../../theme";
import { getTheme } from "../../../utils/theme/getTheme";
var COMPONENT_NAME = "tab";
export var TabsStyled = styled.div.attrs(function (props) { return ({
    theme: getTheme({
        theme: props.theme,
        componentName: COMPONENT_NAME,
        defaultTheme: defaultThemeTabs
    })
}); })(templateObject_2 || (templateObject_2 = __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 css(templateObject_1 || (templateObject_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);
});
TabsStyled.defaultProps = {
    theme: LIGHT_THEME
};
var templateObject_1, templateObject_2;
