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

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

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

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

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

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

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

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

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

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

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

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

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