UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

31 lines 1.4 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.IconAndBackTextStyled = exports.RightIconStyled = exports.OptionsStyled = exports.SelectorStyled = void 0; const styled_components_1 = __importDefault(require("styled-components")); const getStyles_1 = require("../../../utils/getStyles/getStyles"); exports.SelectorStyled = styled_components_1.default.div ` display: flex; justify-content: ${({ isDaySelector }) => (isDaySelector ? 'center' : 'space-between')}; align-items: center; ${({ styles }) => (0, getStyles_1.getStyles)(styles?.selectorContainer)}; `; exports.OptionsStyled = styled_components_1.default.div ` display: flex; justify-content: space-between; flex-direction: row; ${({ styles }) => (0, getStyles_1.getStyles)(styles?.selectorOptionsContainer)}; `; exports.RightIconStyled = styled_components_1.default.span ` visibility: ${({ showCustomSelector }) => (showCustomSelector ? 'hidden' : 'visible')}; `; exports.IconAndBackTextStyled = styled_components_1.default.button ` display: flex; flex-direction: row; align-items: center; cursor: pointer; ${({ styles }) => (0, getStyles_1.getStyles)(styles?.selectorIconAndBackTextContainer)}; `; //# sourceMappingURL=selector.styled.js.map