"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const config = {
    defaults: {
        view: 'default',
        focused: 'true',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-primary);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-primary-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-primary-active);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-accent);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-accent-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-accent-active);
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-secondary);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-secondary-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-secondary-active);
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-positive);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-positive-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-positive-active);
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-warning);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-warning-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-warning-active);
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-negative);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-negative-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-negative-active);
            `,
            info: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColor}: var(--text-info);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLoadingBackgroundColor}: var(${_styledcomponents.embedIconButtonTokens.embedIconButtonBackgroundColor});
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorHover}: var(--text-info-hover);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonColorActive}: var(--text-info-active);
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonHeight}: 2.25rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonWidth}: 2.25rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonRadius}: 0.75rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize}: 1.75rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonHeight}: 1.5rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonWidth}: 1.5rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonRadius}: 0.625rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize}: 1.25rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonHeight}: 1rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonWidth}: 1rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonPadding}: 0rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonRadius}: 0.5rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerSize}: 0.75rem;
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonSpinnerColor}: inherit;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonDisabledOpacity}: 0.4;
            `
        },
        focused: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.embedIconButtonTokens.embedIconButtonFocusColor}: var(--surface-accent);
            `
        }
    }
};
