@salutejs/sdds-finportal 0.144.0-canary.1492.11402523696.0 → 0.145.0-canary.1452.11439149903.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +80 -2
- package/components/Accordion/Accordion.config.js +2 -2
- package/components/Slider/Slider.config.js +3 -3
- package/components/Slider/Slider.d.ts +88 -2
- package/es/components/Accordion/Accordion.config.js +2 -2
- package/es/components/Slider/Slider.config.js +3 -3
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +80 -2
@@ -2706,37 +2706,115 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
2706
2706
|
name: string;
|
2707
2707
|
value?: undefined;
|
2708
2708
|
defaultValue?: number | undefined;
|
2709
|
+
} & {
|
2710
|
+
orientation?: "horizontal" | undefined;
|
2711
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
2712
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
2713
|
+
sliderAlign?: "none" | undefined;
|
2714
|
+
reversed?: undefined;
|
2715
|
+
labelReversed?: undefined;
|
2716
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2717
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
2718
|
+
ariaLabel?: string | undefined;
|
2719
|
+
showCurrentValue?: boolean | undefined;
|
2720
|
+
showRangeValues?: boolean | undefined;
|
2721
|
+
showScale?: boolean | undefined;
|
2722
|
+
hideMinValueDiff?: number | undefined;
|
2723
|
+
hideMaxValueDiff?: number | undefined;
|
2724
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2725
|
+
labelContentLeft?: ReactNode;
|
2726
|
+
labelContent?: ReactNode;
|
2727
|
+
multipleStepSize?: number | undefined;
|
2728
|
+
view?: string | undefined;
|
2729
|
+
size?: "s" | "m" | "l" | undefined;
|
2730
|
+
type?: "single" | undefined;
|
2731
|
+
hasPointer?: boolean | undefined;
|
2732
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2733
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2734
|
+
onChange?: ((event: FormTypeNumber) => void) | undefined;
|
2735
|
+
name: string;
|
2736
|
+
value?: undefined;
|
2737
|
+
defaultValue?: number | undefined;
|
2738
|
+
} & {
|
2739
|
+
orientation: "vertical";
|
2740
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
2741
|
+
scaleAlign?: undefined;
|
2742
|
+
reversed?: boolean | undefined;
|
2743
|
+
labelReversed?: boolean | undefined;
|
2709
2744
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2710
2745
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
2711
2746
|
ariaLabel?: string | undefined;
|
2712
2747
|
showCurrentValue?: boolean | undefined;
|
2713
2748
|
showRangeValues?: boolean | undefined;
|
2749
|
+
showScale?: boolean | undefined;
|
2714
2750
|
hideMinValueDiff?: number | undefined;
|
2715
2751
|
hideMaxValueDiff?: number | undefined;
|
2716
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
2717
2752
|
labelPlacement?: "outer" | "inner" | undefined;
|
2753
|
+
labelContentLeft?: ReactNode;
|
2754
|
+
labelContent?: ReactNode;
|
2718
2755
|
multipleStepSize?: number | undefined;
|
2719
2756
|
view?: string | undefined;
|
2720
2757
|
size?: "s" | "m" | "l" | undefined;
|
2721
2758
|
type?: "single" | undefined;
|
2759
|
+
hasPointer?: boolean | undefined;
|
2760
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2722
2761
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2723
2762
|
onChange?: ((value: number) => void) | undefined;
|
2724
2763
|
value: number;
|
2725
2764
|
name?: undefined;
|
2726
2765
|
defaultValue?: undefined;
|
2766
|
+
} & {
|
2767
|
+
orientation?: "horizontal" | undefined;
|
2768
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
2769
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
2770
|
+
sliderAlign?: "none" | undefined;
|
2771
|
+
reversed?: undefined;
|
2772
|
+
labelReversed?: undefined;
|
2773
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2774
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
2775
|
+
ariaLabel?: string | undefined;
|
2776
|
+
showCurrentValue?: boolean | undefined;
|
2777
|
+
showRangeValues?: boolean | undefined;
|
2778
|
+
showScale?: boolean | undefined;
|
2779
|
+
hideMinValueDiff?: number | undefined;
|
2780
|
+
hideMaxValueDiff?: number | undefined;
|
2781
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2782
|
+
labelContentLeft?: ReactNode;
|
2783
|
+
labelContent?: ReactNode;
|
2784
|
+
multipleStepSize?: number | undefined;
|
2785
|
+
view?: string | undefined;
|
2786
|
+
size?: "s" | "m" | "l" | undefined;
|
2787
|
+
type?: "single" | undefined;
|
2788
|
+
hasPointer?: boolean | undefined;
|
2789
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2790
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2791
|
+
onChange?: ((value: number) => void) | undefined;
|
2792
|
+
value: number;
|
2793
|
+
name?: undefined;
|
2794
|
+
defaultValue?: undefined;
|
2795
|
+
} & {
|
2796
|
+
orientation: "vertical";
|
2797
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
2798
|
+
scaleAlign?: undefined;
|
2799
|
+
reversed?: boolean | undefined;
|
2800
|
+
labelReversed?: boolean | undefined;
|
2727
2801
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2728
2802
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
2729
2803
|
ariaLabel?: string | undefined;
|
2730
2804
|
showCurrentValue?: boolean | undefined;
|
2731
2805
|
showRangeValues?: boolean | undefined;
|
2806
|
+
showScale?: boolean | undefined;
|
2732
2807
|
hideMinValueDiff?: number | undefined;
|
2733
2808
|
hideMaxValueDiff?: number | undefined;
|
2734
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
2735
2809
|
labelPlacement?: "outer" | "inner" | undefined;
|
2810
|
+
labelContentLeft?: ReactNode;
|
2811
|
+
labelContent?: ReactNode;
|
2736
2812
|
multipleStepSize?: number | undefined;
|
2737
2813
|
view?: string | undefined;
|
2738
2814
|
size?: "s" | "m" | "l" | undefined;
|
2739
2815
|
type?: "single" | undefined;
|
2816
|
+
hasPointer?: boolean | undefined;
|
2817
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2740
2818
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
2741
2819
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
2742
2820
|
name?: string | undefined;
|
@@ -14,8 +14,8 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemPaddingHorizontal, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom),
|
18
|
-
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionItemBorderRadius, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom)
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n ", ": var(", ");\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemPaddingHorizontal, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom, _styledComponents.accordionTokens.accordionItemPaddingHorizontalLeft, _styledComponents.accordionTokens.accordionItemPaddingHorizontal),
|
18
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n ", ": 0;\n "])), _styledComponents.accordionTokens.accordionGap, _styledComponents.accordionTokens.accordionWidth, _styledComponents.accordionTokens.accordionItemPadding, _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemBackground, _styledComponents.accordionTokens.accordionItemTitleColor, _styledComponents.accordionTokens.accordionItemTextColor, _styledComponents.accordionTokens.accordionItemIconColor, _styledComponents.accordionTokens.accordionItemFocus, _styledComponents.accordionTokens.accordionItemBorderRadius, _styledComponents.accordionTokens.accordionBackground, _styledComponents.accordionTokens.accordionItemBorderBottom, _styledComponents.accordionTokens.accordionItemPaddingHorizontalLeft)
|
19
19
|
},
|
20
20
|
size: {
|
21
21
|
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.0625rem;\n ", ": 1.25rem;\n ", ": 0.5rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.accordionTokens.accordionItemPaddingVertical, _styledComponents.accordionTokens.accordionItemPaddingHorizontal, _styledComponents.accordionTokens.accordionItemGap, _styledComponents.accordionTokens.accordionItemBorderRadius, _styledComponents.accordionTokens.accordionItemTitleFontFamily, _styledComponents.accordionTokens.accordionItemTitleFontSize, _styledComponents.accordionTokens.accordionItemTitleFontStyle, _styledComponents.accordionTokens.accordionItemTitleFontWeight, _styledComponents.accordionTokens.accordionItemTitleLetterSpacing, _styledComponents.accordionTokens.accordionItemTitleLineHeight, _styledComponents.accordionTokens.accordionItemTextFontFamily, _styledComponents.accordionTokens.accordionItemTextFontSize, _styledComponents.accordionTokens.accordionItemTextFontStyle, _styledComponents.accordionTokens.accordionItemTextFontWeight, _styledComponents.accordionTokens.accordionItemTextLetterSpacing, _styledComponents.accordionTokens.accordionItemTextLineHeight),
|
@@ -19,9 +19,9 @@ var config = exports.config = {
|
|
19
19
|
gradient: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n\n ", ": var(--surface-solid-tertiary);\n ", ": var(--on-light-surface-solid-card);\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--surface-solid-tertiary);\n\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n "])), _styledComponents.sliderTokens.labelColor, _styledComponents.sliderTokens.rangeValueColor, _styledComponents.sliderTokens.thumbBorderColor, _styledComponents.sliderTokens.thumbBackgroundColor, _styledComponents.sliderTokens.thumbFocusBorderColor, _styledComponents.sliderTokens.railBackgroundColor, _styledComponents.sliderTokens.fillColor, _styledComponents.sliderTokens.textFieldColor, _styledComponents.sliderTokens.textFieldBackgroundColor, _styledComponents.sliderTokens.textFieldCaretColor, _styledComponents.sliderTokens.textFieldPlaceholderColor, _styledComponents.sliderTokens.textFiledFocusColor, _styledComponents.sliderTokens.textFieldActiveColor)
|
20
20
|
},
|
21
21
|
size: {
|
22
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.75rem;\n ", ": 0.
|
23
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n ", ":
|
24
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.5rem;\n ", ": 0.
|
22
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 1rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.75rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.625rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 3.5rem;\n ", ": 1.25rem 1rem 1.25rem 1rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.sliderTokens.size, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelWrapperVerticalMargin, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeValueHorizontalMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueLeftRightMargin, _styledComponents.sliderTokens.rangeValueVerticalMargin, _styledComponents.sliderTokens.valueFontFamily, _styledComponents.sliderTokens.valueFontSize, _styledComponents.sliderTokens.valueFontStyle, _styledComponents.sliderTokens.valueFontWeight, _styledComponents.sliderTokens.valueLetterSpacing, _styledComponents.sliderTokens.valueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbSizeLarge, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.railThickness, _styledComponents.sliderTokens.railBorderRadius, _styledComponents.sliderTokens.railIndent, _styledComponents.sliderTokens.textFieldWrapperGap, _styledComponents.sliderTokens.textFieldHeight, _styledComponents.sliderTokens.textFieldPadding, _styledComponents.sliderTokens.textFieldBorderRadius, _styledComponents.sliderTokens.textFieldFontFamily, _styledComponents.sliderTokens.textFieldFontSize, _styledComponents.sliderTokens.textFieldFontStyle, _styledComponents.sliderTokens.textFieldFontWeight, _styledComponents.sliderTokens.textFieldLetterSpacing, _styledComponents.sliderTokens.textFieldLineHeight),
|
23
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.75rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 3rem;\n ", ": 0.875rem 1rem 0.875rem 1rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n "])), _styledComponents.sliderTokens.size, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelWrapperVerticalMargin, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeValueHorizontalMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueLeftRightMargin, _styledComponents.sliderTokens.rangeValueVerticalMargin, _styledComponents.sliderTokens.valueFontFamily, _styledComponents.sliderTokens.valueFontSize, _styledComponents.sliderTokens.valueFontStyle, _styledComponents.sliderTokens.valueFontWeight, _styledComponents.sliderTokens.valueLetterSpacing, _styledComponents.sliderTokens.valueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbSizeLarge, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.railThickness, _styledComponents.sliderTokens.railBorderRadius, _styledComponents.sliderTokens.railIndent, _styledComponents.sliderTokens.textFieldWrapperGap, _styledComponents.sliderTokens.textFieldHeight, _styledComponents.sliderTokens.textFieldPadding, _styledComponents.sliderTokens.textFieldBorderRadius, _styledComponents.sliderTokens.textFieldFontFamily, _styledComponents.sliderTokens.textFieldFontSize, _styledComponents.sliderTokens.textFieldFontStyle, _styledComponents.sliderTokens.textFieldFontWeight, _styledComponents.sliderTokens.textFieldLetterSpacing, _styledComponents.sliderTokens.textFieldLineHeight),
|
24
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.5rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.25rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 2.5rem;\n ", ": 0.5rem 1rem 0.5rem 1rem;\n ", ": 0.625rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n "])), _styledComponents.sliderTokens.size, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelWrapperVerticalMargin, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeValueHorizontalMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueLeftRightMargin, _styledComponents.sliderTokens.rangeValueVerticalMargin, _styledComponents.sliderTokens.valueFontFamily, _styledComponents.sliderTokens.valueFontSize, _styledComponents.sliderTokens.valueFontStyle, _styledComponents.sliderTokens.valueFontWeight, _styledComponents.sliderTokens.valueLetterSpacing, _styledComponents.sliderTokens.valueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbSizeLarge, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.railThickness, _styledComponents.sliderTokens.railBorderRadius, _styledComponents.sliderTokens.railIndent, _styledComponents.sliderTokens.textFieldWrapperGap, _styledComponents.sliderTokens.textFieldHeight, _styledComponents.sliderTokens.textFieldPadding, _styledComponents.sliderTokens.textFieldBorderRadius, _styledComponents.sliderTokens.textFieldFontFamily, _styledComponents.sliderTokens.textFieldFontSize, _styledComponents.sliderTokens.textFieldFontStyle, _styledComponents.sliderTokens.textFieldFontWeight, _styledComponents.sliderTokens.textFieldLetterSpacing, _styledComponents.sliderTokens.textFieldLineHeight)
|
25
25
|
},
|
26
26
|
disabled: {
|
27
27
|
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.sliderTokens.disabledOpacity)
|
@@ -18,41 +18,127 @@ export declare const Slider: import("react").FunctionComponent<import("@salutejs
|
|
18
18
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
19
|
};
|
20
20
|
}> & ((import("@salutejs/plasma-new-hope/types/components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("@salutejs/plasma-new-hope/types/components/Slider/components").SliderInternalProps & {
|
21
|
+
/**
|
22
|
+
* Слайдер позволяет определить числовое значение в пределах указанного промежутка.
|
23
|
+
* Можно указать два значения.
|
24
|
+
*/
|
21
25
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeNumber) => void) | undefined;
|
22
26
|
name: string;
|
23
27
|
value?: undefined;
|
24
28
|
defaultValue?: number | undefined;
|
29
|
+
} & {
|
30
|
+
orientation?: "horizontal" | undefined;
|
31
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
32
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
33
|
+
sliderAlign?: "none" | undefined;
|
34
|
+
reversed?: undefined;
|
35
|
+
labelReversed?: undefined;
|
25
36
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
26
37
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
27
38
|
ariaLabel?: string | undefined;
|
28
39
|
showCurrentValue?: boolean | undefined;
|
29
40
|
showRangeValues?: boolean | undefined;
|
41
|
+
showScale?: boolean | undefined;
|
30
42
|
hideMinValueDiff?: number | undefined;
|
31
43
|
hideMaxValueDiff?: number | undefined;
|
32
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
33
44
|
labelPlacement?: "outer" | "inner" | undefined;
|
45
|
+
labelContentLeft?: import("react").ReactNode;
|
46
|
+
labelContent?: import("react").ReactNode;
|
34
47
|
multipleStepSize?: number | undefined;
|
35
48
|
view?: string | undefined;
|
36
49
|
size?: "s" | "m" | "l" | undefined;
|
37
50
|
type?: "single" | undefined;
|
51
|
+
hasPointer?: boolean | undefined;
|
52
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
53
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("@salutejs/plasma-new-hope/types/components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("@salutejs/plasma-new-hope/types/components/Slider/components").SliderInternalProps & {
|
54
|
+
/**
|
55
|
+
* Слайдер позволяет определить числовое значение в пределах указанного промежутка.
|
56
|
+
* Можно указать два значения.
|
57
|
+
*/
|
58
|
+
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeNumber) => void) | undefined;
|
59
|
+
name: string;
|
60
|
+
value?: undefined;
|
61
|
+
defaultValue?: number | undefined;
|
62
|
+
} & {
|
63
|
+
orientation: "vertical";
|
64
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
65
|
+
scaleAlign?: undefined;
|
66
|
+
reversed?: boolean | undefined;
|
67
|
+
labelReversed?: boolean | undefined;
|
68
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
69
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
70
|
+
ariaLabel?: string | undefined;
|
71
|
+
showCurrentValue?: boolean | undefined;
|
72
|
+
showRangeValues?: boolean | undefined;
|
73
|
+
showScale?: boolean | undefined;
|
74
|
+
hideMinValueDiff?: number | undefined;
|
75
|
+
hideMaxValueDiff?: number | undefined;
|
76
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
77
|
+
labelContentLeft?: import("react").ReactNode;
|
78
|
+
labelContent?: import("react").ReactNode;
|
79
|
+
multipleStepSize?: number | undefined;
|
80
|
+
view?: string | undefined;
|
81
|
+
size?: "s" | "m" | "l" | undefined;
|
82
|
+
type?: "single" | undefined;
|
83
|
+
hasPointer?: boolean | undefined;
|
84
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
85
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("@salutejs/plasma-new-hope/types/components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("@salutejs/plasma-new-hope/types/components/Slider/components").SliderInternalProps & {
|
86
|
+
onChange?: ((value: number) => void) | undefined;
|
87
|
+
value: number;
|
88
|
+
name?: undefined;
|
89
|
+
defaultValue?: undefined;
|
90
|
+
} & {
|
91
|
+
orientation?: "horizontal" | undefined;
|
92
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
93
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
94
|
+
sliderAlign?: "none" | undefined;
|
95
|
+
reversed?: undefined;
|
96
|
+
labelReversed?: undefined;
|
97
|
+
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
98
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
99
|
+
ariaLabel?: string | undefined;
|
100
|
+
showCurrentValue?: boolean | undefined;
|
101
|
+
showRangeValues?: boolean | undefined;
|
102
|
+
showScale?: boolean | undefined;
|
103
|
+
hideMinValueDiff?: number | undefined;
|
104
|
+
hideMaxValueDiff?: number | undefined;
|
105
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
106
|
+
labelContentLeft?: import("react").ReactNode;
|
107
|
+
labelContent?: import("react").ReactNode;
|
108
|
+
multipleStepSize?: number | undefined;
|
109
|
+
view?: string | undefined;
|
110
|
+
size?: "s" | "m" | "l" | undefined;
|
111
|
+
type?: "single" | undefined;
|
112
|
+
hasPointer?: boolean | undefined;
|
113
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
38
114
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("@salutejs/plasma-new-hope/types/components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("@salutejs/plasma-new-hope/types/components/Slider/components").SliderInternalProps & {
|
39
115
|
onChange?: ((value: number) => void) | undefined;
|
40
116
|
value: number;
|
41
117
|
name?: undefined;
|
42
118
|
defaultValue?: undefined;
|
119
|
+
} & {
|
120
|
+
orientation: "vertical";
|
121
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
122
|
+
scaleAlign?: undefined;
|
123
|
+
reversed?: boolean | undefined;
|
124
|
+
labelReversed?: boolean | undefined;
|
43
125
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
44
126
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
45
127
|
ariaLabel?: string | undefined;
|
46
128
|
showCurrentValue?: boolean | undefined;
|
47
129
|
showRangeValues?: boolean | undefined;
|
130
|
+
showScale?: boolean | undefined;
|
48
131
|
hideMinValueDiff?: number | undefined;
|
49
132
|
hideMaxValueDiff?: number | undefined;
|
50
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
51
133
|
labelPlacement?: "outer" | "inner" | undefined;
|
134
|
+
labelContentLeft?: import("react").ReactNode;
|
135
|
+
labelContent?: import("react").ReactNode;
|
52
136
|
multipleStepSize?: number | undefined;
|
53
137
|
view?: string | undefined;
|
54
138
|
size?: "s" | "m" | "l" | undefined;
|
55
139
|
type?: "single" | undefined;
|
140
|
+
hasPointer?: boolean | undefined;
|
141
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
56
142
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
57
143
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeString) => void) | undefined;
|
58
144
|
name?: string | undefined;
|
@@ -8,8 +8,8 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
view: {
|
11
|
-
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemPaddingHorizontal, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom),
|
12
|
-
clear: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom)
|
11
|
+
"default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 20rem;\n ", ": var(", ") var(", ");\n ", ": var(--surface-solid-card);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": var(--surface-clear);\n ", ": 0;\n ", ": var(", ");\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemPaddingHorizontal, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom, accordionTokens.accordionItemPaddingHorizontalLeft, accordionTokens.accordionItemPaddingHorizontal),
|
12
|
+
clear: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n ", ": 20rem;\n ", ": var(", ") 0rem;\n ", ": var(--surface-clear);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-accent);\n ", ": 0rem !important;\n ", ": var(--surface-clear);\n ", ": 0.125rem solid var(--surface-solid-tertiary);\n ", ": 0;\n "])), accordionTokens.accordionGap, accordionTokens.accordionWidth, accordionTokens.accordionItemPadding, accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemBackground, accordionTokens.accordionItemTitleColor, accordionTokens.accordionItemTextColor, accordionTokens.accordionItemIconColor, accordionTokens.accordionItemFocus, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionBackground, accordionTokens.accordionItemBorderBottom, accordionTokens.accordionItemPaddingHorizontalLeft)
|
13
13
|
},
|
14
14
|
size: {
|
15
15
|
l: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.0625rem;\n ", ": 1.25rem;\n ", ": 0.5rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), accordionTokens.accordionItemPaddingVertical, accordionTokens.accordionItemPaddingHorizontal, accordionTokens.accordionItemGap, accordionTokens.accordionItemBorderRadius, accordionTokens.accordionItemTitleFontFamily, accordionTokens.accordionItemTitleFontSize, accordionTokens.accordionItemTitleFontStyle, accordionTokens.accordionItemTitleFontWeight, accordionTokens.accordionItemTitleLetterSpacing, accordionTokens.accordionItemTitleLineHeight, accordionTokens.accordionItemTextFontFamily, accordionTokens.accordionItemTextFontSize, accordionTokens.accordionItemTextFontStyle, accordionTokens.accordionItemTextFontWeight, accordionTokens.accordionItemTextLetterSpacing, accordionTokens.accordionItemTextLineHeight),
|
@@ -13,9 +13,9 @@ export var config = {
|
|
13
13
|
gradient: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n\n ", ": var(--surface-solid-tertiary);\n ", ": var(--on-light-surface-solid-card);\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--surface-solid-tertiary);\n\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n "])), sliderTokens.labelColor, sliderTokens.rangeValueColor, sliderTokens.thumbBorderColor, sliderTokens.thumbBackgroundColor, sliderTokens.thumbFocusBorderColor, sliderTokens.railBackgroundColor, sliderTokens.fillColor, sliderTokens.textFieldColor, sliderTokens.textFieldBackgroundColor, sliderTokens.textFieldCaretColor, sliderTokens.textFieldPlaceholderColor, sliderTokens.textFiledFocusColor, sliderTokens.textFieldActiveColor)
|
14
14
|
},
|
15
15
|
size: {
|
16
|
-
l: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.75rem;\n ", ": 0.
|
17
|
-
m: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n ", ":
|
18
|
-
s: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.5rem;\n ", ": 0.
|
16
|
+
l: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 1rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.75rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.625rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 3.5rem;\n ", ": 1.25rem 1rem 1.25rem 1rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueLeftRightMargin, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
|
17
|
+
m: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.75rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.75rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 3rem;\n ", ": 0.875rem 1rem 0.875rem 1rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n "])), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueLeftRightMargin, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
|
18
|
+
s: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.5rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.0625rem solid;\n\n ", ": 1.25rem;\n\n ", ": 0.25rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 0.125rem;\n\n ", ": 2.5rem;\n ", ": 0.5rem 1rem 0.5rem 1rem;\n ", ": 0.625rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n "])), sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueLeftRightMargin, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight)
|
19
19
|
},
|
20
20
|
disabled: {
|
21
21
|
"true": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), sliderTokens.disabledOpacity)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-finportal",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.145.0-canary.1452.11439149903.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/sdds-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.172.0-canary.1452.11439149903.0",
|
23
23
|
"@salutejs/sdds-themes": "0.23.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "3767ad9010191d995509af3409689381ff468b91"
|
98
98
|
}
|
@@ -2706,37 +2706,115 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
2706
2706
|
name: string;
|
2707
2707
|
value?: undefined;
|
2708
2708
|
defaultValue?: number | undefined;
|
2709
|
+
} & {
|
2710
|
+
orientation?: "horizontal" | undefined;
|
2711
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
2712
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
2713
|
+
sliderAlign?: "none" | undefined;
|
2714
|
+
reversed?: undefined;
|
2715
|
+
labelReversed?: undefined;
|
2716
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2717
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
2718
|
+
ariaLabel?: string | undefined;
|
2719
|
+
showCurrentValue?: boolean | undefined;
|
2720
|
+
showRangeValues?: boolean | undefined;
|
2721
|
+
showScale?: boolean | undefined;
|
2722
|
+
hideMinValueDiff?: number | undefined;
|
2723
|
+
hideMaxValueDiff?: number | undefined;
|
2724
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2725
|
+
labelContentLeft?: ReactNode;
|
2726
|
+
labelContent?: ReactNode;
|
2727
|
+
multipleStepSize?: number | undefined;
|
2728
|
+
view?: string | undefined;
|
2729
|
+
size?: "s" | "m" | "l" | undefined;
|
2730
|
+
type?: "single" | undefined;
|
2731
|
+
hasPointer?: boolean | undefined;
|
2732
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2733
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2734
|
+
onChange?: ((event: FormTypeNumber) => void) | undefined;
|
2735
|
+
name: string;
|
2736
|
+
value?: undefined;
|
2737
|
+
defaultValue?: number | undefined;
|
2738
|
+
} & {
|
2739
|
+
orientation: "vertical";
|
2740
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
2741
|
+
scaleAlign?: undefined;
|
2742
|
+
reversed?: boolean | undefined;
|
2743
|
+
labelReversed?: boolean | undefined;
|
2709
2744
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2710
2745
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
2711
2746
|
ariaLabel?: string | undefined;
|
2712
2747
|
showCurrentValue?: boolean | undefined;
|
2713
2748
|
showRangeValues?: boolean | undefined;
|
2749
|
+
showScale?: boolean | undefined;
|
2714
2750
|
hideMinValueDiff?: number | undefined;
|
2715
2751
|
hideMaxValueDiff?: number | undefined;
|
2716
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
2717
2752
|
labelPlacement?: "outer" | "inner" | undefined;
|
2753
|
+
labelContentLeft?: ReactNode;
|
2754
|
+
labelContent?: ReactNode;
|
2718
2755
|
multipleStepSize?: number | undefined;
|
2719
2756
|
view?: string | undefined;
|
2720
2757
|
size?: "s" | "m" | "l" | undefined;
|
2721
2758
|
type?: "single" | undefined;
|
2759
|
+
hasPointer?: boolean | undefined;
|
2760
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2722
2761
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2723
2762
|
onChange?: ((value: number) => void) | undefined;
|
2724
2763
|
value: number;
|
2725
2764
|
name?: undefined;
|
2726
2765
|
defaultValue?: undefined;
|
2766
|
+
} & {
|
2767
|
+
orientation?: "horizontal" | undefined;
|
2768
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
2769
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
2770
|
+
sliderAlign?: "none" | undefined;
|
2771
|
+
reversed?: undefined;
|
2772
|
+
labelReversed?: undefined;
|
2773
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2774
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
2775
|
+
ariaLabel?: string | undefined;
|
2776
|
+
showCurrentValue?: boolean | undefined;
|
2777
|
+
showRangeValues?: boolean | undefined;
|
2778
|
+
showScale?: boolean | undefined;
|
2779
|
+
hideMinValueDiff?: number | undefined;
|
2780
|
+
hideMaxValueDiff?: number | undefined;
|
2781
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
2782
|
+
labelContentLeft?: ReactNode;
|
2783
|
+
labelContent?: ReactNode;
|
2784
|
+
multipleStepSize?: number | undefined;
|
2785
|
+
view?: string | undefined;
|
2786
|
+
size?: "s" | "m" | "l" | undefined;
|
2787
|
+
type?: "single" | undefined;
|
2788
|
+
hasPointer?: boolean | undefined;
|
2789
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2790
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
2791
|
+
onChange?: ((value: number) => void) | undefined;
|
2792
|
+
value: number;
|
2793
|
+
name?: undefined;
|
2794
|
+
defaultValue?: undefined;
|
2795
|
+
} & {
|
2796
|
+
orientation: "vertical";
|
2797
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
2798
|
+
scaleAlign?: undefined;
|
2799
|
+
reversed?: boolean | undefined;
|
2800
|
+
labelReversed?: boolean | undefined;
|
2727
2801
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
2728
2802
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
2729
2803
|
ariaLabel?: string | undefined;
|
2730
2804
|
showCurrentValue?: boolean | undefined;
|
2731
2805
|
showRangeValues?: boolean | undefined;
|
2806
|
+
showScale?: boolean | undefined;
|
2732
2807
|
hideMinValueDiff?: number | undefined;
|
2733
2808
|
hideMaxValueDiff?: number | undefined;
|
2734
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
2735
2809
|
labelPlacement?: "outer" | "inner" | undefined;
|
2810
|
+
labelContentLeft?: ReactNode;
|
2811
|
+
labelContent?: ReactNode;
|
2736
2812
|
multipleStepSize?: number | undefined;
|
2737
2813
|
view?: string | undefined;
|
2738
2814
|
size?: "s" | "m" | "l" | undefined;
|
2739
2815
|
type?: "single" | undefined;
|
2816
|
+
hasPointer?: boolean | undefined;
|
2817
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
2740
2818
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
2741
2819
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
2742
2820
|
name?: string | undefined;
|