"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 baseItemView = `
    ${_styledcomponents.stepsTokens.activeTitleColor}: var(--text-primary);
    ${_styledcomponents.stepsTokens.activeTitleColorHover}: var(--text-primary-hover);
    ${_styledcomponents.stepsTokens.activeIndicatorBorder}: solid var(--surface-solid-default);
    ${_styledcomponents.stepsTokens.activeIndicatorColor}: var(--text-primary);
    ${_styledcomponents.stepsTokens.activeIndicatorBackground}: var(--surface-clear);
    
    ${_styledcomponents.stepsTokens.completedIndicatorColor}: var(--inverse-text-primary);
    ${_styledcomponents.stepsTokens.completedIndicatorColorHover}: var(--inverse-text-primary);
    ${_styledcomponents.stepsTokens.completedIndicatorBackground}: var(--surface-solid-default);
    ${_styledcomponents.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-solid-default-hover);
    ${_styledcomponents.stepsTokens.completedTitleColor}: var(--text-primary);
    ${_styledcomponents.stepsTokens.completedTitleColorHover}: var(--text-primary-hover);

    ${_styledcomponents.stepsTokens.inactiveTitleColor}: var(--text-secondary);
    ${_styledcomponents.stepsTokens.inactiveTitleColorHover}: var(--text-secondary-hover);
    ${_styledcomponents.stepsTokens.inactiveIndicatorColor}: var(--text-secondary);
    ${_styledcomponents.stepsTokens.inactiveIndicatorColorHover}: var(--text-secondary);
    ${_styledcomponents.stepsTokens.inactiveIndicatorBackground}: var(--surface-transparent-secondary);
    ${_styledcomponents.stepsTokens.inactiveIndicatorBackgroundHover}: var(--surface-transparent-secondary-hover);

    ${_styledcomponents.stepsTokens.contentColor}: var(--text-secondary);
    ${_styledcomponents.stepsTokens.focusColor}: var(--surface-accent);

    ${_styledcomponents.stepsTokens.disabledOpacity}: 0.4;
`;
const accentConfig = `
    ${_styledcomponents.stepsTokens.completedTitleColor}: var(--text-primary);
    ${_styledcomponents.stepsTokens.completedTitleColorHover}: var(--text-primary-hover);
    
    ${_styledcomponents.stepsTokens.completedIndicatorBackground}: var(--surface-accent);
    ${_styledcomponents.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-accent-hover);
    
    // Цвет контента внутри элемента Step
    ${_styledcomponents.stepsTokens.completedIndicatorColor}: var(--on-dark-text-primary);
    ${_styledcomponents.stepsTokens.completedIndicatorColorHover}: var(--on-dark-text-primary-hover);
`;
const config = {
    defaults: {
        size: 'm',
        view: 'default'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.dividerColor}: var(--surface-solid-default);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.dividerColor}: var(--surface-accent);
            `
        },
        itemView: {
            default: (0, _styledcomponents.css)`
                ${baseItemView};
            `,
            negative: (0, _styledcomponents.css)`
                ${baseItemView};

                ${_styledcomponents.stepsTokens.activeTitleColor}: var(--surface-negative);
                ${_styledcomponents.stepsTokens.activeTitleColorHover}: var(--surface-negative-hover);
                ${_styledcomponents.stepsTokens.activeIndicatorBorder}: solid var(--surface-negative);
                ${_styledcomponents.stepsTokens.activeIndicatorColor}: var(--text-negative);
            `,
            warning: (0, _styledcomponents.css)`
                ${baseItemView};

                ${_styledcomponents.stepsTokens.activeTitleColor}: var(--surface-warning);
                ${_styledcomponents.stepsTokens.activeTitleColorHover}: var(--surface-warning-hover);
                ${_styledcomponents.stepsTokens.activeIndicatorBorder}: solid var(--surface-warning);
                ${_styledcomponents.stepsTokens.activeIndicatorColor}: var(--text-warning);
            `,
            positive: (0, _styledcomponents.css)`
                ${baseItemView};

                ${_styledcomponents.stepsTokens.activeTitleColor}: var(--surface-positive);
                ${_styledcomponents.stepsTokens.activeTitleColorHover}: var(--surface-positive-hover);
                ${_styledcomponents.stepsTokens.activeIndicatorBorder}: solid var(--surface-positive);
                ${_styledcomponents.stepsTokens.activeIndicatorColor}: var(--text-positive);
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.indicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.activeIndicatorSize}: 2.25rem;
                ${_styledcomponents.stepsTokens.bulletSize}: 0.5rem;
                ${_styledcomponents.stepsTokens.activeBulletSize}: 1rem;

                ${_styledcomponents.stepsTokens.titlePaddingTop}: 0.75rem;
                ${_styledcomponents.stepsTokens.contentPaddingTop}: 0.375rem;
                ${_styledcomponents.stepsTokens.contentSidePadding}: 2rem;
                ${_styledcomponents.stepsTokens.contentVerticalPadding}: 1.0625rem;
                ${_styledcomponents.stepsTokens.verticalContentPaddingLeft}: 0.75rem;

                ${_styledcomponents.stepsTokens.smallIndicatorIndentHeight}: 1rem;
                ${_styledcomponents.stepsTokens.largeIndicatorIndentHeight}: 0.625rem;
                ${_styledcomponents.stepsTokens.smallBulletIndentHeight}: 1.5rem;
                ${_styledcomponents.stepsTokens.largeBulletIndentHeight}: 1.25rem;

                ${_styledcomponents.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.indicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.indicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.indicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.activeIndicatorFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.stepsTokens.activeIndicatorFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.stepsTokens.activeIndicatorFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.stepsTokens.activeIndicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.stepsTokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.stepsTokens.activeIndicatorLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.stepsTokens.titleFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_styledcomponents.stepsTokens.titleFontSize}: var(--plasma-typo-body-l-font-size);
                ${_styledcomponents.stepsTokens.titleFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_styledcomponents.stepsTokens.titleFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_styledcomponents.stepsTokens.titleLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_styledcomponents.stepsTokens.titleLineHeight}: var(--plasma-typo-body-l-line-height);

                ${_styledcomponents.stepsTokens.contentFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.stepsTokens.contentFontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.stepsTokens.contentFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.stepsTokens.contentFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_styledcomponents.stepsTokens.contentLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.stepsTokens.contentLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_styledcomponents.stepsTokens.dividerThickness}: 0.125rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.indicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.activeIndicatorSize}: 2.25rem;
                ${_styledcomponents.stepsTokens.bulletSize}: 0.5rem;
                ${_styledcomponents.stepsTokens.activeBulletSize}: 1rem;

                ${_styledcomponents.stepsTokens.titlePaddingTop}: 0.625rem;
                ${_styledcomponents.stepsTokens.contentPaddingTop}: 0.375rem;
                ${_styledcomponents.stepsTokens.contentSidePadding}: 1.75rem;
                ${_styledcomponents.stepsTokens.contentVerticalPadding}: 0.875rem;
                ${_styledcomponents.stepsTokens.verticalContentPaddingLeft}: 0.75rem;

                ${_styledcomponents.stepsTokens.smallIndicatorIndentHeight}: 0.75rem;
                ${_styledcomponents.stepsTokens.largeIndicatorIndentHeight}: 0.4375rem;
                ${_styledcomponents.stepsTokens.smallBulletIndentHeight}: 1.25rem;
                ${_styledcomponents.stepsTokens.largeBulletIndentHeight}: 1.125rem;

                ${_styledcomponents.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.indicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.indicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.indicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.activeIndicatorFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.stepsTokens.activeIndicatorFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.stepsTokens.activeIndicatorFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.stepsTokens.activeIndicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.stepsTokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.stepsTokens.activeIndicatorLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.stepsTokens.titleFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_styledcomponents.stepsTokens.titleFontSize}: var(--plasma-typo-body-m-font-size);
                ${_styledcomponents.stepsTokens.titleFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_styledcomponents.stepsTokens.titleFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_styledcomponents.stepsTokens.titleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_styledcomponents.stepsTokens.titleLineHeight}: var(--plasma-typo-body-m-line-height);

                ${_styledcomponents.stepsTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.stepsTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.stepsTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.stepsTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.stepsTokens.contentLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.stepsTokens.contentLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.stepsTokens.dividerThickness}: 0.125rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.indicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.activeIndicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.bulletSize}: 0.5rem;
                ${_styledcomponents.stepsTokens.activeBulletSize}: 1rem;

                ${_styledcomponents.stepsTokens.titlePaddingTop}: 0.5rem;
                ${_styledcomponents.stepsTokens.contentPaddingTop}: 0.375rem;
                ${_styledcomponents.stepsTokens.contentSidePadding}: 1.5rem;
                ${_styledcomponents.stepsTokens.contentVerticalPadding}: 0.6875rem;
                ${_styledcomponents.stepsTokens.verticalContentPaddingLeft}: 0.75rem;

                ${_styledcomponents.stepsTokens.smallIndicatorIndentHeight}: 0.5rem;
                ${_styledcomponents.stepsTokens.largeIndicatorIndentHeight}: 0.5rem;
                ${_styledcomponents.stepsTokens.smallBulletIndentHeight}: 1rem;
                ${_styledcomponents.stepsTokens.largeBulletIndentHeight}: 0.75rem;

                ${_styledcomponents.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.indicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.indicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.indicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.activeIndicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.activeIndicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.activeIndicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.activeIndicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.activeIndicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.stepsTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.stepsTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.stepsTokens.titleFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.stepsTokens.titleLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.stepsTokens.titleLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.stepsTokens.contentFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.contentFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.contentFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.contentFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.contentLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.contentLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.dividerThickness}: 0.125rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.indicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.activeIndicatorSize}: 1.5rem;
                ${_styledcomponents.stepsTokens.bulletSize}: 0.5rem;
                ${_styledcomponents.stepsTokens.activeBulletSize}: 1rem;

                ${_styledcomponents.stepsTokens.titlePaddingTop}: 0.5rem;
                ${_styledcomponents.stepsTokens.contentPaddingTop}: 0.25rem;
                ${_styledcomponents.stepsTokens.contentSidePadding}: 1.5rem;
                ${_styledcomponents.stepsTokens.contentVerticalPadding}: 0.5625rem;
                ${_styledcomponents.stepsTokens.verticalContentPaddingLeft}: 0.75rem;

                ${_styledcomponents.stepsTokens.smallIndicatorIndentHeight}: 0.25rem;
                ${_styledcomponents.stepsTokens.largeIndicatorIndentHeight}: 0.25rem;
                ${_styledcomponents.stepsTokens.smallBulletIndentHeight}: 0.75rem;
                ${_styledcomponents.stepsTokens.largeBulletIndentHeight}: 0.5rem;

                ${_styledcomponents.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.indicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.indicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.indicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.activeIndicatorFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.activeIndicatorFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.activeIndicatorFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.activeIndicatorFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.activeIndicatorLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.titleFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.titleFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.titleFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.titleFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.titleLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.titleLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.contentFontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.stepsTokens.contentFontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.stepsTokens.contentFontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.stepsTokens.contentFontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.stepsTokens.contentLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.stepsTokens.contentLineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.stepsTokens.dividerThickness}: 0.125rem;
            `
        }
    },
    intersections: [
        {
            view: 'accent',
            itemView: 'default',
            style: (0, _styledcomponents.css)`
                ${_styledcomponents.stepsTokens.activeIndicatorBorder}: solid var(--text-accent);
                ${_styledcomponents.stepsTokens.activeIndicatorColor}: var(--text-accent);

                ${accentConfig};
            `
        },
        {
            view: 'accent',
            itemView: 'negative',
            style: (0, _styledcomponents.css)`
                ${accentConfig};
            `
        },
        {
            view: 'accent',
            itemView: 'warning',
            style: (0, _styledcomponents.css)`
                ${accentConfig};
            `
        },
        {
            view: 'accent',
            itemView: 'positive',
            style: (0, _styledcomponents.css)`
                ${accentConfig};
            `
        }
    ]
};
