@chayns-components/date
Version:
A set of beautiful React components for developing your own applications with chayns.
34 lines (33 loc) • 1.21 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StyledPseudoMonthYearPicker = exports.StyledCalendarIconWrapperPseudo = exports.StyledCalendarIconWrapper = exports.StyledCalendar = void 0;
var _styledComponents = _interopRequireDefault(require("styled-components"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const StyledCalendar = exports.StyledCalendar = _styledComponents.default.div`
display: flex;
width: 100%;
opacity: ${({
$isDisabled
}) => $isDisabled ? 0.5 : 1};
pointer-events: ${({
$isDisabled
}) => $isDisabled ? 'none' : undefined};
user-select: none;
`;
const StyledCalendarIconWrapper = exports.StyledCalendarIconWrapper = _styledComponents.default.div`
cursor: pointer;
z-index: 2;
`;
const StyledCalendarIconWrapperPseudo = exports.StyledCalendarIconWrapperPseudo = _styledComponents.default.div`
width: 15px;
`;
const StyledPseudoMonthYearPicker = exports.StyledPseudoMonthYearPicker = _styledComponents.default.div`
height: fit-content;
width: 0;
overflow: hidden;
pointer-events: none;
user-select: none;
`;
//# sourceMappingURL=Calendar.styles.js.map