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

                ${_emotion.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_emotion.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_emotion.sliderTokens.fillColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_emotion.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceSolidDefault};

                ${_emotion.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_emotion.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.sliderTokens.labelColor}: ${_sdds_serv.textPrimary};

                ${_emotion.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_emotion.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_emotion.sliderTokens.fillColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceAccent};

                ${_emotion.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_emotion.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            gradient: (0, _emotion.css)`
                ${_emotion.sliderTokens.labelColor}: ${_sdds_serv.textPrimary};

                ${_emotion.sliderTokens.rangeValueColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.thumbBorderColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.thumbBackgroundColor}: ${_sdds_serv.onLightSurfaceSolidCard};
                ${_emotion.sliderTokens.thumbFocusBorderColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_serv.surfaceSolidTertiary};

                ${_emotion.sliderTokens.fillColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_emotion.sliderTokens.tickDotColor}: ${_sdds_serv.surfaceSolidTertiary};
                ${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_serv.surfaceAccentGradient};

                ${_emotion.sliderTokens.textFieldCaretColor}: ${_sdds_serv.textAccent};
                ${_emotion.sliderTokens.textFieldColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFiledFocusColor}: ${_sdds_serv.textPrimary};
                ${_emotion.sliderTokens.textFieldPlaceholderColor}: ${_sdds_serv.textSecondary};

                ${_emotion.sliderTokens.textFieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_emotion.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_serv.surfaceTransparentPrimaryHover};
                ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_serv.surfaceTransparentSecondary};
            `
        },
        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}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.sliderTokens.labelFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyL.lineHeight};

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

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

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

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

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

                ${_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}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyL.lineHeight};
            `,
            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}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.sliderTokens.labelFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyM.lineHeight};

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

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

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

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

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

                ${_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}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyM.lineHeight};
            `,
            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}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.sliderTokens.labelFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.sliderTokens.labelFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.sliderTokens.labelFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.sliderTokens.labelLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.sliderTokens.labelLineHeight}: ${_sdds_serv.bodyS.lineHeight};

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

                ${_emotion.sliderTokens.valueFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.sliderTokens.valueFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.sliderTokens.valueFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.sliderTokens.valueFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.sliderTokens.valueLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.sliderTokens.valueLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

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

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

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

                ${_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}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.sliderTokens.textFieldFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.sliderTokens.textFieldFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.sliderTokens.textFieldFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.sliderTokens.textFieldLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.sliderTokens.textFieldLineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `
        },
        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;
            `
        }
    }
};
