"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textPrimaryActive};
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textAccentHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textAccentActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textAccentHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textAccentActive};
            `,
            secondary: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textSecondary};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textSecondaryActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textSecondaryHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textSecondaryActive};
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textPositive};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textPositive};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textPositiveHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textPositiveActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textPositiveHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textPositiveActive};
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textWarning};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textWarning};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textWarningHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textWarningActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textWarningHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textWarningActive};
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textNegative};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textNegative};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textNegativeHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textNegativeActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textNegativeHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textNegativeActive};
            `,
            info: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonIconColor}: ${_sdds_serv.textInfo};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColor}: ${_sdds_serv.textInfo};
                ${_styledcomponents.linkButtonTokens.linkButtonBackgroundColor}: ${_sdds_serv.surfaceClear};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorHover}: ${_sdds_serv.textInfoHover};
                ${_styledcomponents.linkButtonTokens.linkButtonIconColorActive}: ${_sdds_serv.textInfoActive};
                ${_styledcomponents.linkButtonTokens.linkButtonFocusColor}: ${_sdds_serv.surfaceAccent};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorHover}: ${_sdds_serv.textInfoHover};
                ${_styledcomponents.linkButtonTokens.linkButtonTextColorActive}: ${_sdds_serv.textInfoActive};
            `
        },
        size: {
            xl: (0, _styledcomponents.css)`
                ${_styledcomponents.linkButtonTokens.linkButtonHeight}: 4rem;
                ${_styledcomponents.linkButtonTokens.linkButtonPadding}: 1.25rem 0;
                ${_styledcomponents.linkButtonTokens.linkButtonRadius}: 1rem;
                ${_styledcomponents.linkButtonTokens.linkButtonFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_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}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyLBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_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}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyMBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_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}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodySBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_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}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_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}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.linkButtonTokens.linkButtonFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.linkButtonTokens.linkButtonFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.linkButtonTokens.linkButtonFontWeight}: ${_sdds_serv.bodyXSBold.fontWeight};
                ${_styledcomponents.linkButtonTokens.linkButtonLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.linkButtonTokens.linkButtonLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_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;
            `
        }
    }
};
