"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    MuiTab: ()=>MuiTab
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
var apollo_core_default = /*#__PURE__*/ __webpack_require__.n(apollo_core_namespaceObject);
const MuiTab = (palette)=>({
        root: {
            minWidth: '50px',
            '&:not(.tiny):not(.secondary).Mui-selected': {
                paddingBottom: '12px'
            },
            '&:hover:not(.Mui-selected):not(.default)': {
                borderRadius: '3px'
            },
            '&:focus': {
                backgroundColor: 'transparent'
            },
            '&:focus-visible': {
                outline: 'none',
                color: `${palette.semantic.colorPrimary} !important`,
                backgroundColor: palette.semantic.colorSecondaryFocused
            },
            '&.default:focus-visible': {
                boxShadow: `inset 0 -4px 0 0 ${palette.semantic.colorPrimary}`
            },
            '&.tiny:focus-visible': {
                boxShadow: `inset 0 -2px 0 0 ${palette.semantic.colorPrimary}`
            },
            '&:hover': {
                backgroundColor: palette.semantic.colorHover
            },
            '&.default': {
                minHeight: '40px'
            },
            '&.Mui-disabled': {
                color: palette.semantic.colorForegroundDisable
            },
            '&.tiny': {
                minHeight: '22px',
                minWidth: '50px',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorForeground,
                padding: `0px ${apollo_core_default().Padding.PadM}`,
                '&.Mui-selected': {
                    fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                    fontSize: apollo_core_default().FontFamily.FontMSize,
                    lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
                    fontStyle: 'normal'
                }
            },
            '&.secondary': {
                minHeight: '0px',
                minWidth: '0px',
                borderRadius: '3px',
                padding: `${apollo_core_default().Padding.PadM} ${apollo_core_default().Padding.PadXxl}`,
                margin: apollo_core_default().Padding.PadXs,
                color: palette.semantic.colorForegroundDeEmp,
                '&:hover:not(.Mui-selected)': {
                    color: palette.semantic.colorForeground
                },
                '&.Mui-selected': {
                    backgroundColor: palette.semantic.colorHover,
                    '&:focus': {
                        backgroundColor: palette.semantic.colorSecondaryFocused
                    }
                }
            }
        },
        textColorPrimary: {
            color: palette.semantic.colorForeground,
            fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
            textTransform: 'none',
            '&.Mui-selected': {
                color: palette.semantic.colorPrimary,
                fontSize: apollo_core_default().FontFamily.FontMSize,
                lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
                fontStyle: 'normal'
            },
            '&.Mui-disabled': {
                color: palette.semantic.colorForegroundDisable
            }
        }
    });
exports.MuiTab = __webpack_exports__.MuiTab;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "MuiTab"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
