"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',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-primary);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-primary);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-primary);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-primary-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-primary-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-primary-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-primary-active);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-accent);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-accent);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(---surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-accent-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-accent-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-accent-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-accent-active);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-secondary);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-secondary);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-secondary);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-secondary-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-secondary-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-secondary-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-secondary-active);
            `,
            positive: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-positive);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-positive);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-positive);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-positive-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-positive-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-positive-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-positive-active);
            `,
            warning: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-warning);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-warning);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-warning);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-warning-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-warning-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-warning-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-warning-active);
            `,
            negative: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonColor}: var(--text-negative);
                ${_emotion.linkButtonTokens.linkButtonIconColor}: var(--text-negative);
                ${_emotion.linkButtonTokens.linkButtonTextColor}: var(--text-negative);
                ${_emotion.linkButtonTokens.linkButtonBackgroundColor}: var(--surface-transparent-clear);
                ${_emotion.linkButtonTokens.linkButtonColorHover}: var(--text-negative-hover);
                ${_emotion.linkButtonTokens.linkButtonColorActive}: var(--text-negative-active);
                ${_emotion.linkButtonTokens.linkButtonFocusColor}: var(--surface-accent);
                ${_emotion.linkButtonTokens.linkButtonTextColorHover}: var(--text-negative-hover);
                ${_emotion.linkButtonTokens.linkButtonTextColorActive}: var(--text-negative-active);
            `
        },
        size: {
            xl: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 4rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 1.25rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 1rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.5rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.5rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.5rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 3.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 1rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.875rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.5rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 3rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.75rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.75rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.125rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.375rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.375rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.375rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 2.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.5rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.625rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1.375rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.25rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 2rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.5rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.5rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 1rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonTextPadding}: 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0 0.25rem 0 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0 0 0 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `,
            xxs: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonHeight}: 1.5rem;
                ${_emotion.linkButtonTokens.linkButtonPadding}: 0.375rem 0;
                ${_emotion.linkButtonTokens.linkButtonRadius}: 0.375rem;
                ${_emotion.linkButtonTokens.linkButtonFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.linkButtonTokens.linkButtonFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.linkButtonTokens.linkButtonFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.linkButtonTokens.linkButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);
                ${_emotion.linkButtonTokens.linkButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.linkButtonTokens.linkButtonLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_emotion.linkButtonTokens.linkButtonSpinnerSize}: 0.75rem;
                ${_emotion.linkButtonTokens.linkButtonSpinnerColor}: inherit;

                ${_emotion.linkButtonTokens.linkButtonLeftContentMargin}: 0.063rem 0.25rem 0.063rem 0;
                ${_emotion.linkButtonTokens.linkButtonRightContentMargin}: 0.063rem 0 0.063rem 0.25rem;
                ${_emotion.linkButtonTokens.linkButtonAdditionalContentMargin}: 0 0 0 0.25rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.linkButtonTokens.linkButtonDisabledOpacity}: 0.4;
            `
        }
    }
};
