"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm',
        progressSize: '4'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceSolidDefault};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            // deprecated
            primary: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceAccent};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            accentGradient: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceAccentGradient};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            info: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceInfo};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textSecondary};
            `,
            // deprecated
            success: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfacePositive};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textPositive};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfacePositive};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textPositive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceWarning};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textWarning};
            `,
            // deprecated
            error: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceNegative};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textNegative};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.progressTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceNegative};
                ${_emotion.progressTokens.labelColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.labelIconColor}: ${_sdds_serv.textPrimary};
                ${_emotion.progressTokens.valueColor}: ${_sdds_serv.textSecondary};
                ${_emotion.progressTokens.captionColor}: ${_sdds_serv.textNegative};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.progressTokens.topRowMarginBottom}: 1.25rem;
                ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
                ${_emotion.progressTokens.labelWrapperMarginRight}: 1.5rem;

                ${_emotion.progressTokens.labelFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.progressTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.progressTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.progressTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.progressTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.progressTokens.valueFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.progressTokens.valueFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.progressTokens.valueFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.progressTokens.valueFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.progressTokens.valueLineHeight}: ${_sdds_serv.bodyL.lineHeight};
                ${_emotion.progressTokens.valueMarginLeft}: 1.5rem;

                ${_emotion.progressTokens.captionFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.progressTokens.captionFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.progressTokens.captionFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.progressTokens.captionFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.progressTokens.captionLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
                ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.progressTokens.topRowMarginBottom}: 1rem;
                ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
                ${_emotion.progressTokens.labelWrapperMarginRight}: 1.25rem;

                ${_emotion.progressTokens.labelFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.progressTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.progressTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.progressTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.progressTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.progressTokens.valueFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.progressTokens.valueFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.progressTokens.valueFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.progressTokens.valueFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.progressTokens.valueLineHeight}: ${_sdds_serv.bodyM.lineHeight};
                ${_emotion.progressTokens.valueMarginLeft}: 1.25rem;

                ${_emotion.progressTokens.captionFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.progressTokens.captionFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.progressTokens.captionFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.progressTokens.captionFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.progressTokens.captionLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
                ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.progressTokens.topRowMarginBottom}: 0.875rem;
                ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
                ${_emotion.progressTokens.labelWrapperMarginRight}: 1rem;

                ${_emotion.progressTokens.labelFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.progressTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.progressTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.progressTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.progressTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.progressTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.progressTokens.valueFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.progressTokens.valueFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.progressTokens.valueFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.progressTokens.valueFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.progressTokens.valueLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.progressTokens.valueLineHeight}: ${_sdds_serv.bodyS.lineHeight};
                ${_emotion.progressTokens.valueMarginLeft}: 1rem;

                ${_emotion.progressTokens.captionFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.progressTokens.captionFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.progressTokens.captionFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.progressTokens.captionFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.progressTokens.captionLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.progressTokens.captionLineHeight}: ${_sdds_serv.bodyXS.lineHeight};
                ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
            `
        },
        progressSize: {
            2: (0, _emotion.css)`
                ${_emotion.progressTokens.trackHeight}: 0.125rem;
                ${_emotion.progressTokens.trackBorderRadius}: 1000px;

                ${_emotion.progressTokens.progressFilledHeight}: 0.125rem;
                ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
            `,
            4: (0, _emotion.css)`
                ${_emotion.progressTokens.trackHeight}: 0.25rem;
                ${_emotion.progressTokens.trackBorderRadius}: 1000px;

                ${_emotion.progressTokens.progressFilledHeight}: 0.25rem;
                ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
            `,
            6: (0, _emotion.css)`
                ${_emotion.progressTokens.trackHeight}: 0.375rem;
                ${_emotion.progressTokens.trackBorderRadius}: 1000px;

                ${_emotion.progressTokens.progressFilledHeight}: 0.375rem;
                ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
            `,
            8: (0, _emotion.css)`
                ${_emotion.progressTokens.trackHeight}: 0.5rem;
                ${_emotion.progressTokens.trackBorderRadius}: 1000px;

                ${_emotion.progressTokens.progressFilledHeight}: 0.5rem;
                ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
            `
        }
    }
};
