"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-solid-card-brightness);\n\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-solid-card-brightness);\n                ",
        ": var(--text-positive);\n\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-solid-card-brightness);\n                ",
        ": var(--text-negative);\n\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-solid-card-brightness);\n\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--on-dark-surface-solid-primary-brightness);\n\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--on-light-text-primary);\n                ",
        ": var(--on-light-surface-solid-primary-brightness);\n\n                ",
        ": var(--on-light-text-secondary);\n                ",
        ": var(--on-light-text-secondary);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.75rem;\n                ",
        ": calc(100vw - 5rem);\n                ",
        ": 0.5625rem 0.75rem;\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": -0.0625rem 0.375rem -0.0625rem -0.125rem;\n                ",
        ": -0.0625rem -0.25rem -0.0625rem 0.5rem;\n            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": 1.5rem;\n            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n\n                ",
        ": -0.0625rem 0.375rem -0.0625rem -0.25rem;\n                ",
        ": -0.0625rem -0.25rem -0.0625rem 0.375rem;\n            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        size: 'm',
        closeIconType: 'default'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover),
            positive: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.contentLeftColor, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover),
            negative: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.contentLeftColor, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover),
            /**
             * @deprecated
             * использовать `default`
             */ primary: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover),
            /**
             * @deprecated
             * светлый и темный фон регулировать через `view` компонента `ViewContainer`
             */ dark: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover),
            /**
             * @deprecated
             * светлый и темный фон регулировать через `view` компонента `ViewContainer`
             */ light: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.toastTokens.color, _styledcomponents.toastTokens.background, _styledcomponents.toastTokens.closeIconColor, _styledcomponents.toastTokens.closeIconColorOnHover)
        },
        size: {
            m: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.toastTokens.borderRadius, _styledcomponents.toastTokens.maxWidth, _styledcomponents.toastTokens.padding, _styledcomponents.toastTokens.fontFamily, _styledcomponents.toastTokens.fontSize, _styledcomponents.toastTokens.fontStyle, _styledcomponents.toastTokens.fontWeight, _styledcomponents.toastTokens.letterSpacing, _styledcomponents.toastTokens.lineHeight, _styledcomponents.toastTokens.contentLeftMargin, _styledcomponents.toastTokens.closeIconMargin)
        },
        closeIconType: {
            default: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.toastTokens.closeIconButtonSize, _styledcomponents.toastTokens.closeIconSize)
        },
        pilled: {
            true: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.toastTokens.pilledBorderRadius, _styledcomponents.toastTokens.contentLeftMargin, _styledcomponents.toastTokens.closeIconMargin)
        }
    }
};
