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

40 lines 1.95 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SnackbarDescriptionWrapper = exports.SnackbarLinkWrapper = exports.SnackbarTitleWrapper = exports.SnackbarTextWrapper = exports.SnackbarTextAndActionWrapper = exports.SnackbarNoStatusContentWrapper = exports.SnackbarIconTitleContainerWrapper = exports.ButtonWrapper = exports.SnackbarStyled = void 0; const styled_components_1 = __importDefault(require("styled-components")); const getStyles_1 = require("../../utils/getStyles/getStyles"); exports.SnackbarStyled = styled_components_1.default.div ` ${({ styles }) => (0, getStyles_1.getStyles)(styles?.container)}; `; exports.ButtonWrapper = styled_components_1.default.div ``; exports.SnackbarIconTitleContainerWrapper = styled_components_1.default.div ` ${({ styles }) => (0, getStyles_1.getStyles)(styles?.iconTitleContainer)}; `; exports.SnackbarNoStatusContentWrapper = styled_components_1.default.div ` ${({ styles, withIcon }) => withIcon && `margin-left: calc(${styles?.icon?.width ?? '0rem'} + ${styles?.iconTitleContainer?.gap ?? '0rem'});`}; `; exports.SnackbarTextAndActionWrapper = styled_components_1.default.div ` display: flex; flex-direction: column; `; exports.SnackbarTextWrapper = styled_components_1.default.div ` display: flex; flex-direction: column; `; exports.SnackbarTitleWrapper = styled_components_1.default.div ` display: flex; align-items: center; `; exports.SnackbarLinkWrapper = styled_components_1.default.div ` display: flex; ${({ styles, withIcon }) => withIcon && `margin-left: calc(${styles?.icon?.width ?? '0rem'} + ${styles?.iconTitleContainer?.gap ?? '0rem'});`}; `; exports.SnackbarDescriptionWrapper = styled_components_1.default.div ` display: flex; `; //# sourceMappingURL=snackbar.styled.js.map