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

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

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

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

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

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

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

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

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

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

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

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

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

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