"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',
        progressSize: '4'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-solid-default);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-transparent-tertiary);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            // deprecated
            primary: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            accentGradient: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            info: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-info);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-secondary);
            `,
            // deprecated
            success: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-positive);
            `,
            positive: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-positive);
            `,
            warning: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-warning);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-warning);
            `,
            // deprecated
            error: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-negative);
            `,
            negative: (0, _emotion.css)`
                ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
                ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
                ${_emotion.progressTokens.labelColor}: var(--text-primary);
                ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
                ${_emotion.progressTokens.valueColor}: var(--text-secondary);
                ${_emotion.progressTokens.captionColor}: var(--text-negative);
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.progressTokens.topRowMarginBottom}: 1.25rem;
                ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
                ${_emotion.progressTokens.labelWrapperMarginRight}: 1.5rem;

                ${_emotion.progressTokens.labelFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-l-line-height);
                ${_emotion.progressTokens.valueMarginLeft}: 1.5rem;

                ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
                ${_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}: var(--plasma-typo-body-m-font-family);
                ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-m-line-height);
                ${_emotion.progressTokens.valueMarginLeft}: 1.25rem;

                ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
                ${_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}: var(--plasma-typo-body-s-font-family);
                ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-s-line-height);
                ${_emotion.progressTokens.valueMarginLeft}: 1rem;

                ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
                ${_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;
            `
        }
    }
};
