"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textPrimary};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textPrimaryActive};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textAccent};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textAccentHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textAccentActive};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textSecondary};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textSecondaryActive};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textPositive};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textPositiveHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textPositiveActive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textWarning};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textWarningHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textWarningActive};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textNegative};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textNegativeHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textNegativeActive};
            `,
            info: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: ${_sdds_serv.textInfo};
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: ${_sdds_serv.textInfoHover};
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: ${_sdds_serv.textInfoActive};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonHeight}: 2.25rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonWidth}: 2.25rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonRadius}: 0.75rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerSize}: 1.75rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `,
            m: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonHeight}: 1.5rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonWidth}: 1.5rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonRadius}: 0.625rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: ${_sdds_serv.bodyMBold.fontWeight};
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerSize}: 1.25rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `,
            s: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonHeight}: 1rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonWidth}: 1rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonRadius}: 0.5rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerSize}: 0.75rem;
                ${_emotion.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonDisabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonFocusColor}: ${_sdds_serv.surfaceAccent};
            `
        }
    }
};
