"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',
        pointerSize: 'small'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.sliderTokens.labelColor}: var(--text-primary);

                ${_emotion.sliderTokens.rangeValueColor}: var(--text-secondary);

                ${_emotion.sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
                ${_emotion.sliderTokens.thumbFocusBorderColor}: var(--surface-solid-default);

                ${_emotion.sliderTokens.railBackgroundColor}: var(--surface-solid-tertiary);

                ${_emotion.sliderTokens.fillColor}: var(--surface-solid-default);

                ${_emotion.sliderTokens.tickDotColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.tickDotFilledColor}: var(--surface-solid-default);

                ${_emotion.sliderTokens.textFieldCaretColor}: var(--text-accent);
                ${_emotion.sliderTokens.textFieldColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFiledFocusColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);

                ${_emotion.sliderTokens.textFieldBackgroundColor}: var(--surface-transparent-primary);
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: var(--surface-transparent-primary-hover);
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary);
            `,
            accent: (0, _emotion.css)`
                ${_emotion.sliderTokens.labelColor}: var(--text-primary);

                ${_emotion.sliderTokens.rangeValueColor}: var(--text-secondary);

                ${_emotion.sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
                ${_emotion.sliderTokens.thumbFocusBorderColor}: var(--surface-accent);

                ${_emotion.sliderTokens.railBackgroundColor}: var(--surface-solid-tertiary);

                ${_emotion.sliderTokens.fillColor}: var(--surface-accent);

                ${_emotion.sliderTokens.tickDotColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.tickDotFilledColor}: var(--surface-accent);

                ${_emotion.sliderTokens.textFieldCaretColor}: var(--text-accent);
                ${_emotion.sliderTokens.textFieldColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFiledFocusColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);

                ${_emotion.sliderTokens.textFieldBackgroundColor}: var(--surface-transparent-primary);
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: var(--surface-transparent-primary-hover);
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary);
            `,
            gradient: (0, _emotion.css)`
                ${_emotion.sliderTokens.labelColor}: var(--text-primary);

                ${_emotion.sliderTokens.rangeValueColor}: var(--text-secondary);

                ${_emotion.sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
                ${_emotion.sliderTokens.thumbFocusBorderColor}: var(--surface-accent-gradient);

                ${_emotion.sliderTokens.railBackgroundColor}: var(--surface-solid-tertiary);

                ${_emotion.sliderTokens.fillColor}: var(--surface-accent-gradient);

                ${_emotion.sliderTokens.tickDotColor}: var(--surface-solid-tertiary);
                ${_emotion.sliderTokens.tickDotFilledColor}: var(--surface-accent-gradient);

                ${_emotion.sliderTokens.textFieldCaretColor}: var(--text-accent);
                ${_emotion.sliderTokens.textFieldColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFiledFocusColor}: var(--text-primary);
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);

                ${_emotion.sliderTokens.textFieldBackgroundColor}: var(--surface-transparent-primary);
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: var(--surface-transparent-primary-hover);
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary);
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.sliderTokens.size}: 1.5rem;
                ${_emotion.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_emotion.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_emotion.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_emotion.sliderTokens.labelWrapperVerticalMargin}: 1rem;

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

                ${_emotion.sliderTokens.rangeValueHorizontalMargin}: 0.75rem;
                ${_emotion.sliderTokens.rangeValueBottomOffset}: 0.875rem;
                ${_emotion.sliderTokens.rangeValueHorizontalOffset}: 0.875rem;
                ${_emotion.sliderTokens.rangeValueVerticalMargin}: 0.75rem;

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

                ${_emotion.sliderTokens.tickSize}: 0.5rem;

                ${_emotion.sliderTokens.currentValueTopOffset}: 1.625rem;

                ${_emotion.sliderTokens.railThickness}: 0.25rem;
                ${_emotion.sliderTokens.railBorderRadius}: 0.125rem;
                ${_emotion.sliderTokens.railIndent}: 0.75rem;

                ${_emotion.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_emotion.sliderTokens.textFieldHeight}: 3.5rem;
                ${_emotion.sliderTokens.textFieldPadding}: 1.25rem 1rem 1.25rem 1rem;
                ${_emotion.sliderTokens.textFieldBorderRadius}: 0.75rem;
                ${_emotion.sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-l-font-family);
                ${_emotion.sliderTokens.textFieldFontSize}: var(--plasma-typo-body-l-font-size);
                ${_emotion.sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-l-font-style);
                ${_emotion.sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-l-font-weight);
                ${_emotion.sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
                ${_emotion.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-l-line-height);
            `,
            m: (0, _emotion.css)`
                ${_emotion.sliderTokens.size}: 1.5rem;
                ${_emotion.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_emotion.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_emotion.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_emotion.sliderTokens.labelWrapperVerticalMargin}: 0.75rem;

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

                ${_emotion.sliderTokens.rangeValueHorizontalMargin}: 0.75rem;
                ${_emotion.sliderTokens.rangeValueBottomOffset}: 0.75rem;
                ${_emotion.sliderTokens.rangeValueHorizontalOffset}: 0.875rem;
                ${_emotion.sliderTokens.rangeValueVerticalMargin}: 0.625rem;

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

                ${_emotion.sliderTokens.tickSize}: 0.5rem;

                ${_emotion.sliderTokens.currentValueTopOffset}: 1.75rem;

                ${_emotion.sliderTokens.railThickness}: 0.25rem;
                ${_emotion.sliderTokens.railBorderRadius}: 0.125rem;
                ${_emotion.sliderTokens.railIndent}: 0.75rem;

                ${_emotion.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_emotion.sliderTokens.textFieldHeight}: 3rem;
                ${_emotion.sliderTokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem;
                ${_emotion.sliderTokens.textFieldBorderRadius}: 0.75rem;
                ${_emotion.sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
                ${_emotion.sliderTokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
                ${_emotion.sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
                ${_emotion.sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
                ${_emotion.sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
                ${_emotion.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
            `,
            s: (0, _emotion.css)`
                ${_emotion.sliderTokens.size}: 1rem;
                ${_emotion.sliderTokens.doubleWrapperGap}: 0.375rem;

                ${_emotion.sliderTokens.labelWrapperGap}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginBottom}: 0.25rem;
                ${_emotion.sliderTokens.labelWrapperMarginRight}: 1rem;
                ${_emotion.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
                ${_emotion.sliderTokens.labelWrapperVerticalMargin}: 0.625rem;

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

                ${_emotion.sliderTokens.rangeValueHorizontalMargin}: 0.5rem;
                ${_emotion.sliderTokens.rangeValueBottomOffset}: 0.625rem;
                ${_emotion.sliderTokens.rangeValueHorizontalOffset}: 0.625rem;
                ${_emotion.sliderTokens.rangeValueVerticalMargin}: 0.5rem;

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

                ${_emotion.sliderTokens.tickSize}: 0.5rem;

                ${_emotion.sliderTokens.currentValueTopOffset}: 1.25rem;

                ${_emotion.sliderTokens.railThickness}: 0.25rem;
                ${_emotion.sliderTokens.railBorderRadius}: 0.125rem;
                ${_emotion.sliderTokens.railIndent}: 0.75rem;

                ${_emotion.sliderTokens.textFieldWrapperGap}: 0.125rem;

                ${_emotion.sliderTokens.textFieldHeight}: 2.5rem;
                ${_emotion.sliderTokens.textFieldPadding}: 0.5rem 1rem 0.5rem 1rem;
                ${_emotion.sliderTokens.textFieldBorderRadius}: 0.625rem;
                ${_emotion.sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_emotion.sliderTokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);
                ${_emotion.sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_emotion.sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_emotion.sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_emotion.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
            `
        },
        pointerSize: {
            small: (0, _emotion.css)`
                ${_emotion.sliderTokens.thumbSize}: 1rem;
                ${_emotion.sliderTokens.thumbBorderStyle}: solid;
                ${_emotion.sliderTokens.thumbBorderWidth}: 0.0625rem;
            `,
            large: (0, _emotion.css)`
                ${_emotion.sliderTokens.thumbSize}: 1.25rem;
                ${_emotion.sliderTokens.thumbBorderStyle}: solid;
                ${_emotion.sliderTokens.thumbBorderWidth}: 0.0625rem;
            `,
            none: (0, _emotion.css)`
                ${_emotion.sliderTokens.thumbSize}: 0rem;
            `
        },
        disabled: {
            true: (0, _emotion.css)`
                ${_emotion.sliderTokens.disabledOpacity}: 0.4;
            `
        }
    }
};
