import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { CheckboxCore } from '../shared/components/Checkbox.mjs';
import checkboxClasses from '../../../../../node_modules/@mui/material/Checkbox/checkboxClasses.mjs';
import styled from '../../../../../node_modules/@mui/material/styles/styled.mjs';

const checkboxSx = {
    [`&, &.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]: {
        color: (theme)=>theme.styleConfig.colors.primary
    },
    [`&.${checkboxClasses.disabled}`]: {
        color: (theme)=>theme.styleConfig.colors.secondary
    }
};
const StyledCheckbox = styled(CheckboxCore)(({ theme })=>({
        color: theme.styleConfig.colors.primary
    }));
const Checkbox = (props)=>{
    return /*#__PURE__*/ wn.createElement(StyledCheckbox, {
        ...props,
        checkboxSx: checkboxSx
    });
};

export { Checkbox };
//# sourceMappingURL=Checkbox.mjs.map
