"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 config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-primary);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-primary-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-primary-active);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-accent);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-accent-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-accent-active);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-secondary);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-secondary-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-secondary-active);
            `,
            positive: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-positive);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-positive-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-positive-active);
            `,
            warning: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-warning);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-warning-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-warning-active);
            `,
            negative: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-negative);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-negative-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-negative-active);
            `,
            info: (0, _emotion.css)`
                ${_emotion.embedIconButtonTokens.embedIconButtonColor}: var(--text-info);
                ${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_emotion.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_emotion.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-info-hover);
                ${_emotion.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-info-active);
            `
        },
        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}: var(--plasma-typo-body-l-font-family);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_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}: var(--plasma-typo-body-m-font-family);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_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}: var(--plasma-typo-body-s-font-family);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_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}: var(--surface-accent);
            `
        }
    }
};
