"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__, {
    MuiChip: ()=>MuiChip
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
var apollo_core_default = /*#__PURE__*/ __webpack_require__.n(apollo_core_namespaceObject);
const MuiChip = (palette)=>({
        deletable: {
            '&:focus:not(.Mui-disabled)': {
                backgroundColor: palette.semantic.colorHover
            }
        },
        root: {
            paddingLeft: apollo_core_default().Padding.PadL,
            paddingRight: apollo_core_default().Padding.PadL,
            paddingTop: apollo_core_default().Padding.PadXs,
            paddingBottom: apollo_core_default().Padding.PadXs,
            minWidth: '32px',
            fontSize: apollo_core_default().FontFamily.FontMSize,
            lineHeight: apollo_core_default().FontFamily.FontMLineHeight,
            fontWeight: apollo_core_default().FontFamily.FontWeightDefault,
            color: palette.semantic.colorForeground,
            backgroundColor: palette.semantic.colorBackgroundGray,
            '&:hover': {
                backgroundColor: palette.semantic.colorHover
            },
            '&.icon': {
                color: palette.semantic.colorForeground,
                paddingLeft: '0px',
                paddingRight: '0px'
            },
            '&.warning-mini': {
                paddingLeft: '0px',
                paddingRight: '0px',
                height: '16px',
                fontSize: apollo_core_default().FontFamily.FontXsSize,
                lineHeight: apollo_core_default().FontFamily.FontXsLineHeight,
                fontStyle: 'normal',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorWarningText,
                background: palette.semantic.colorWarningBackground
            },
            '&.mini': {
                paddingLeft: '0px',
                paddingRight: '0px',
                height: '16px',
                fontSize: apollo_core_default().FontFamily.FontXsSize,
                lineHeight: apollo_core_default().FontFamily.FontXsLineHeight,
                fontStyle: 'normal',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorForeground,
                background: palette.semantic.colorBackgroundSecondary
            },
            '&.info-mini': {
                paddingLeft: '0px',
                paddingRight: '0px',
                height: '16px',
                fontSize: apollo_core_default().FontFamily.FontXsSize,
                lineHeight: apollo_core_default().FontFamily.FontXsLineHeight,
                fontStyle: 'normal',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorInfoForeground,
                background: palette.semantic.colorInfoBackground
            },
            '&.success-mini': {
                paddingLeft: '0px',
                paddingRight: '0px',
                height: '16px',
                fontSize: apollo_core_default().FontFamily.FontXsSize,
                lineHeight: apollo_core_default().FontFamily.FontXsLineHeight,
                fontStyle: 'normal',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorSuccessText,
                background: palette.semantic.colorSuccessBackground
            },
            '&.error-mini': {
                paddingLeft: '0px',
                paddingRight: '0px',
                height: '16px',
                fontSize: apollo_core_default().FontFamily.FontXsSize,
                lineHeight: apollo_core_default().FontFamily.FontXsLineHeight,
                fontStyle: 'normal',
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                color: palette.semantic.colorErrorText,
                background: palette.semantic.colorErrorBackground
            },
            '& .MuiChip-icon, .MuiChip-deleteIcon': {
                color: palette.semantic.colorForeground,
                width: '16px',
                height: 'auto'
            },
            '& .MuiChip-deleteIcon:hover': {
                color: palette.semantic.colorForeground
            },
            '&.warning': {
                color: palette.semantic.colorWarningText,
                background: palette.semantic.colorWarningBackground,
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                '&:hover': {
                    color: palette.semantic.colorWarningText,
                    background: palette.semantic.colorWarningBackground
                }
            },
            '&.success': {
                color: palette.semantic.colorSuccessText,
                background: palette.semantic.colorSuccessBackground,
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                '&:hover': {
                    color: palette.semantic.colorSuccessText,
                    background: palette.semantic.colorSuccessBackground
                }
            },
            '&.info': {
                color: palette.semantic.colorInfoForeground,
                background: palette.semantic.colorInfoBackground,
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                '&:hover': {
                    color: palette.semantic.colorInfoForeground,
                    background: palette.semantic.colorInfoBackground
                }
            },
            '&.error': {
                color: palette.semantic.colorErrorText,
                background: palette.semantic.colorErrorBackground,
                fontWeight: apollo_core_default().FontFamily.FontWeightSemibold,
                '&:hover': {
                    color: palette.semantic.colorErrorText,
                    background: palette.semantic.colorErrorBackground
                }
            }
        }
    });
exports.MuiChip = __webpack_exports__.MuiChip;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "MuiChip"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
