"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get CloseIconWrapper () {
        return CloseIconWrapper;
    },
    get StyledContentLeft () {
        return StyledContentLeft;
    },
    get Toast () {
        return Toast;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _engines = require("../../../engines");
const _Button = require("../../Button");
const _ToastNewtokens = require("./ToastNew.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedButtonConfig = (0, _engines.mergeConfig)(_Button.buttonConfig);
const Button = (0, _engines.component)(mergedButtonConfig);
const base = (0, /*#__PURE__*/ _react.css)("base");
const Toast = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ei4w00x0",
    label: "Toast"
})("display:flex;align-items:center;background:var(", _ToastNewtokens.tokens.background, ");color:", ({ textColor })=>textColor || `var(${_ToastNewtokens.tokens.color})`, ";padding:var(", _ToastNewtokens.tokens.padding, ");border-radius:var(", _ToastNewtokens.tokens.borderRadius, ");max-width:var(", _ToastNewtokens.tokens.maxWidth, ");width:", ({ width })=>width || 'auto', ";box-shadow:var(", _ToastNewtokens.tokens.boxShadow, ");font-family:var(", _ToastNewtokens.tokens.fontFamily, ");font-size:var(", _ToastNewtokens.tokens.fontSize, ");font-style:var(", _ToastNewtokens.tokens.fontStyle, ");font-weight:var(", _ToastNewtokens.tokens.fontWeight, ");letter-spacing:var(", _ToastNewtokens.tokens.letterSpacing, ");line-height:var(", _ToastNewtokens.tokens.lineHeight, ");");
const CloseIconWrapper = /*#__PURE__*/ (0, _styled.default)(Button, {
    target: "ei4w00x1",
    label: "CloseIconWrapper"
})("height:var(", _ToastNewtokens.tokens.closeIconButtonSize, ");margin:var(", _ToastNewtokens.tokens.closeIconMargin, ");color:var(", _ToastNewtokens.tokens.closeIconColor, ");:hover{color:var(", _ToastNewtokens.tokens.closeIconColorOnHover, ");}");
const StyledContentLeft = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "ei4w00x2",
    label: "StyledContentLeft"
})("margin:var(", _ToastNewtokens.tokens.contentLeftMargin, ");color:var(", _ToastNewtokens.tokens.contentLeftColor, ");line-height:0;");
