"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 config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.labelColor}: var(--text-primary);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                ${_styledcomponents.sliderTokens.thumbSize}: 1rem;
                ${_styledcomponents.sliderTokens.thumbSizeLarge}: 1.25rem;
                ${_styledcomponents.sliderTokens.thumbBorder}: 0.0625rem solid;

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

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

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

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

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

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

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

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

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

                ${_styledcomponents.sliderTokens.thumbSize}: 1rem;
                ${_styledcomponents.sliderTokens.thumbSizeLarge}: 1.25rem;
                ${_styledcomponents.sliderTokens.thumbBorder}: 0.0625rem solid;

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

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

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

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

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

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

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

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

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

                ${_styledcomponents.sliderTokens.thumbSize}: 1rem;
                ${_styledcomponents.sliderTokens.thumbSizeLarge}: 1.25rem;
                ${_styledcomponents.sliderTokens.thumbBorder}: 0.0625rem solid;

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

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

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

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

                ${_styledcomponents.sliderTokens.textFieldHeight}: 2.5rem;
                ${_styledcomponents.sliderTokens.textFieldPadding}: 0.5rem 1rem 0.5rem 1rem;
                ${_styledcomponents.sliderTokens.textFieldBorderRadius}: 0.625rem;
                ${_styledcomponents.sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.sliderTokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.sliderTokens.disabledOpacity}: 0.4;
            `
        }
    }
};
