import apollo_core from "@uipath/apollo-core";
const MuiOutlinedInput = (palette)=>({
        inputSizeSmall: {
            paddingLeft: apollo_core.Padding.PadXxxl,
            paddingRight: apollo_core.Padding.PadXxxl,
            paddingTop: '7.38px',
            paddingBottom: '8px',
            '&.disabled': {
                paddingLeft: apollo_core.Padding.PadXxxl,
                paddingRight: apollo_core.Padding.PadXxxl,
                paddingTop: '7.38px',
                paddingBottom: '8px'
            }
        },
        root: {
            backgroundColor: palette.semantic.colorBackground,
            '&:hover:not(.Mui-focused)': {
                '& .MuiOutlinedInput-notchedOutline': {
                    borderColor: palette.semantic.colorForeground
                }
            },
            '& .MuiOutlinedInput-notchedOutline': {
                top: 0,
                borderColor: palette.semantic.colorForegroundDeEmp,
                '& legend': {
                    '& span': {
                        display: 'none'
                    }
                }
            },
            '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
                borderColor: palette.semantic.colorBorderDisabled
            },
            '&.Mui-disabled:hover .MuiOutlinedInput-notchedOutline': {
                borderColor: palette.semantic.colorBorderDisabled
            },
            '& svg': {
                display: 'block'
            }
        },
        input: {
            paddingLeft: apollo_core.Padding.PadXxxl,
            paddingRight: apollo_core.Padding.PadXxxl,
            paddingTop: '11.38px',
            paddingBottom: '12px',
            height: '16.625px',
            color: palette.semantic.colorForeground,
            fontSize: apollo_core.FontFamily.FontMSize,
            lineHeight: apollo_core.FontFamily.FontMLineHeight,
            '&::placeholder': {
                opacity: 1,
                color: palette.semantic.colorForegroundLight
            },
            '&.disabled': {
                paddingTop: '11.38px',
                paddingBottom: '12px',
                paddingLeft: apollo_core.Padding.PadXxxl,
                paddingRight: apollo_core.Padding.PadXxxl
            },
            '&&.MuiAutocomplete-input': {
                paddingTop: '9.5px',
                paddingBottom: '9.5px',
                height: '16.625px'
            },
            '&&.MuiSelect-select': {
                paddingTop: '10px',
                paddingBottom: '10px',
                paddingLeft: apollo_core.Padding.PadXxxl,
                minHeight: '20px'
            }
        },
        multiline: {
            padding: '4px',
            color: palette.semantic.colorForeground,
            fontSize: apollo_core.FontFamily.FontMSize,
            lineHeight: apollo_core.FontFamily.FontMLineHeight,
            backgroundColor: palette.semantic.colorBackground
        },
        adornedStart: {
            paddingLeft: apollo_core.Padding.PadL,
            color: palette.semantic.colorIconDefault
        },
        inputAdornedStart: {
            paddingLeft: apollo_core.Padding.PadL
        },
        adornedEnd: {
            color: palette.semantic.colorIconDefault,
            paddingRight: apollo_core.Padding.PadL
        },
        inputAdornedEnd: {
            paddingRight: apollo_core.Padding.PadL
        }
    });
export { MuiOutlinedInput };
