"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;
    }
});
var _react = require("@emotion/react");
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
var _engines = require("../../../engines");
var _Button = require("../../Button");
var _ToastNewtokens = require("./ToastNew.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedButtonConfig = (0, _engines.mergeConfig)(_Button.buttonConfig);
var Button = (0, _engines.component)(mergedButtonConfig);
var base = (0, /*#__PURE__*/ _react.css)("base");
var Toast = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "elcno2r0",
    label: "Toast"
})("display:flex;align-items:center;background:var(", _ToastNewtokens.tokens.background, ");color:", function(param) {
    var textColor = param.textColor;
    return textColor || "var(".concat(_ToastNewtokens.tokens.color, ")");
}, ";padding:var(", _ToastNewtokens.tokens.padding, ");border-radius:var(", _ToastNewtokens.tokens.borderRadius, ");max-width:var(", _ToastNewtokens.tokens.maxWidth, ");width:", function(param) {
    var width = param.width;
    return 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, ");");
var CloseIconWrapper = /*#__PURE__*/ (0, _styled.default)(Button, {
    target: "elcno2r1",
    label: "CloseIconWrapper"
})("height:var(", _ToastNewtokens.tokens.closeIconButtonSize, ");margin:var(", _ToastNewtokens.tokens.closeIconMargin, ");color:var(", _ToastNewtokens.tokens.closeIconColor, ");:hover{color:var(", _ToastNewtokens.tokens.closeIconColorOnHover, ");}");
var StyledContentLeft = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "elcno2r2",
    label: "StyledContentLeft"
})("margin:var(", _ToastNewtokens.tokens.contentLeftMargin, ");color:var(", _ToastNewtokens.tokens.contentLeftColor, ");line-height:0;");
