@salutejs/sdds-finportal 0.148.0-canary.1452.11541985977.0 → 0.148.0-canary.1500.11549138907.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +7 -82
- package/components/Badge/Badge.d.ts +3 -0
- package/components/Select/Select.d.ts +2 -2
- package/components/Slider/Slider.config.js +3 -3
- package/components/Slider/Slider.d.ts +2 -88
- package/es/components/Slider/Slider.config.js +3 -3
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +7 -82
@@ -567,6 +567,7 @@ true: PolymorphicClassName;
|
|
567
567
|
text?: string | undefined;
|
568
568
|
contentLeft?: ReactNode;
|
569
569
|
contentRight?: ReactNode;
|
570
|
+
maxWidth?: string | undefined;
|
570
571
|
size?: string | undefined;
|
571
572
|
view?: string | undefined;
|
572
573
|
} & {
|
@@ -579,6 +580,7 @@ transparent?: false | undefined;
|
|
579
580
|
text?: string | undefined;
|
580
581
|
contentLeft?: ReactNode;
|
581
582
|
contentRight?: ReactNode;
|
583
|
+
maxWidth?: string | undefined;
|
582
584
|
size?: string | undefined;
|
583
585
|
view?: string | undefined;
|
584
586
|
} & {
|
@@ -591,6 +593,7 @@ clear?: false | undefined;
|
|
591
593
|
text?: string | undefined;
|
592
594
|
contentLeft?: ReactNode;
|
593
595
|
contentRight?: ReactNode;
|
596
|
+
maxWidth?: string | undefined;
|
594
597
|
size?: string | undefined;
|
595
598
|
view?: string | undefined;
|
596
599
|
} & {
|
@@ -3327,7 +3330,7 @@ accent: PolymorphicClassName;
|
|
3327
3330
|
chipView?: string | undefined;
|
3328
3331
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3329
3332
|
target?: "button-like" | undefined;
|
3330
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
3333
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
3331
3334
|
contentLeft?: undefined;
|
3332
3335
|
labelPlacement?: undefined;
|
3333
3336
|
placeholder?: undefined;
|
@@ -3365,7 +3368,7 @@ accent: PolymorphicClassName;
|
|
3365
3368
|
chipView?: string | undefined;
|
3366
3369
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3367
3370
|
target?: "button-like" | undefined;
|
3368
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
3371
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
3369
3372
|
contentLeft?: undefined;
|
3370
3373
|
labelPlacement?: undefined;
|
3371
3374
|
placeholder?: undefined;
|
@@ -3436,115 +3439,37 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3436
3439
|
name: string;
|
3437
3440
|
value?: undefined;
|
3438
3441
|
defaultValue?: number | undefined;
|
3439
|
-
} & {
|
3440
|
-
orientation?: "horizontal" | undefined;
|
3441
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3442
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3443
|
-
sliderAlign?: "none" | undefined;
|
3444
|
-
reversed?: undefined;
|
3445
|
-
labelReversed?: undefined;
|
3446
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3447
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3448
|
-
ariaLabel?: string | undefined;
|
3449
|
-
showCurrentValue?: boolean | undefined;
|
3450
|
-
showRangeValues?: boolean | undefined;
|
3451
|
-
rangeValuesPlacement?: string | undefined;
|
3452
|
-
showScale?: boolean | undefined;
|
3453
|
-
hideMinValueDiff?: number | undefined;
|
3454
|
-
hideMaxValueDiff?: number | undefined;
|
3455
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3456
|
-
labelContentLeft?: ReactNode;
|
3457
|
-
labelContent?: ReactNode;
|
3458
|
-
multipleStepSize?: number | undefined;
|
3459
|
-
view?: string | undefined;
|
3460
|
-
size?: "s" | "m" | "l" | undefined;
|
3461
|
-
type?: "single" | undefined;
|
3462
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3463
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3464
|
-
onChange?: ((event: FormTypeNumber) => void) | undefined;
|
3465
|
-
name: string;
|
3466
|
-
value?: undefined;
|
3467
|
-
defaultValue?: number | undefined;
|
3468
|
-
} & {
|
3469
|
-
orientation: "vertical";
|
3470
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3471
|
-
scaleAlign?: undefined;
|
3472
|
-
reversed?: boolean | undefined;
|
3473
|
-
labelReversed?: boolean | undefined;
|
3474
3442
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3475
3443
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3476
3444
|
ariaLabel?: string | undefined;
|
3477
3445
|
showCurrentValue?: boolean | undefined;
|
3478
3446
|
showRangeValues?: boolean | undefined;
|
3479
|
-
rangeValuesPlacement?: string | undefined;
|
3480
|
-
showScale?: boolean | undefined;
|
3481
3447
|
hideMinValueDiff?: number | undefined;
|
3482
3448
|
hideMaxValueDiff?: number | undefined;
|
3449
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3483
3450
|
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
-
labelContentLeft?: ReactNode;
|
3485
|
-
labelContent?: ReactNode;
|
3486
3451
|
multipleStepSize?: number | undefined;
|
3487
3452
|
view?: string | undefined;
|
3488
3453
|
size?: "s" | "m" | "l" | undefined;
|
3489
3454
|
type?: "single" | undefined;
|
3490
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3491
3455
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3492
3456
|
onChange?: ((value: number) => void) | undefined;
|
3493
3457
|
value: number;
|
3494
3458
|
name?: undefined;
|
3495
3459
|
defaultValue?: undefined;
|
3496
|
-
} & {
|
3497
|
-
orientation?: "horizontal" | undefined;
|
3498
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3499
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3500
|
-
sliderAlign?: "none" | undefined;
|
3501
|
-
reversed?: undefined;
|
3502
|
-
labelReversed?: undefined;
|
3503
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3504
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3505
|
-
ariaLabel?: string | undefined;
|
3506
|
-
showCurrentValue?: boolean | undefined;
|
3507
|
-
showRangeValues?: boolean | undefined;
|
3508
|
-
rangeValuesPlacement?: string | undefined;
|
3509
|
-
showScale?: boolean | undefined;
|
3510
|
-
hideMinValueDiff?: number | undefined;
|
3511
|
-
hideMaxValueDiff?: number | undefined;
|
3512
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3513
|
-
labelContentLeft?: ReactNode;
|
3514
|
-
labelContent?: ReactNode;
|
3515
|
-
multipleStepSize?: number | undefined;
|
3516
|
-
view?: string | undefined;
|
3517
|
-
size?: "s" | "m" | "l" | undefined;
|
3518
|
-
type?: "single" | undefined;
|
3519
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3520
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3521
|
-
onChange?: ((value: number) => void) | undefined;
|
3522
|
-
value: number;
|
3523
|
-
name?: undefined;
|
3524
|
-
defaultValue?: undefined;
|
3525
|
-
} & {
|
3526
|
-
orientation: "vertical";
|
3527
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3528
|
-
scaleAlign?: undefined;
|
3529
|
-
reversed?: boolean | undefined;
|
3530
|
-
labelReversed?: boolean | undefined;
|
3531
3460
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3532
3461
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3533
3462
|
ariaLabel?: string | undefined;
|
3534
3463
|
showCurrentValue?: boolean | undefined;
|
3535
3464
|
showRangeValues?: boolean | undefined;
|
3536
|
-
rangeValuesPlacement?: string | undefined;
|
3537
|
-
showScale?: boolean | undefined;
|
3538
3465
|
hideMinValueDiff?: number | undefined;
|
3539
3466
|
hideMaxValueDiff?: number | undefined;
|
3467
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3540
3468
|
labelPlacement?: "outer" | "inner" | undefined;
|
3541
|
-
labelContentLeft?: ReactNode;
|
3542
|
-
labelContent?: ReactNode;
|
3543
3469
|
multipleStepSize?: number | undefined;
|
3544
3470
|
view?: string | undefined;
|
3545
3471
|
size?: "s" | "m" | "l" | undefined;
|
3546
3472
|
type?: "single" | undefined;
|
3547
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3548
3473
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3549
3474
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3550
3475
|
name?: string | undefined;
|
@@ -31,6 +31,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
31
31
|
text?: string | undefined;
|
32
32
|
contentLeft?: import("react").ReactNode;
|
33
33
|
contentRight?: import("react").ReactNode;
|
34
|
+
maxWidth?: string | undefined;
|
34
35
|
size?: string | undefined;
|
35
36
|
view?: string | undefined;
|
36
37
|
} & {
|
@@ -43,6 +44,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
43
44
|
text?: string | undefined;
|
44
45
|
contentLeft?: import("react").ReactNode;
|
45
46
|
contentRight?: import("react").ReactNode;
|
47
|
+
maxWidth?: string | undefined;
|
46
48
|
size?: string | undefined;
|
47
49
|
view?: string | undefined;
|
48
50
|
} & {
|
@@ -55,6 +57,7 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
|
|
55
57
|
text?: string | undefined;
|
56
58
|
contentLeft?: import("react").ReactNode;
|
57
59
|
contentRight?: import("react").ReactNode;
|
60
|
+
maxWidth?: string | undefined;
|
58
61
|
size?: string | undefined;
|
59
62
|
view?: string | undefined;
|
60
63
|
} & {
|
@@ -102,7 +102,7 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
102
102
|
chipView?: string | undefined;
|
103
103
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
104
104
|
target?: "button-like" | undefined;
|
105
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
105
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
106
106
|
contentLeft?: undefined;
|
107
107
|
labelPlacement?: undefined;
|
108
108
|
placeholder?: undefined;
|
@@ -140,7 +140,7 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
140
140
|
chipView?: string | undefined;
|
141
141
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
142
142
|
target?: "button-like" | undefined;
|
143
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
143
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
144
144
|
contentLeft?: undefined;
|
145
145
|
labelPlacement?: undefined;
|
146
146
|
placeholder?: undefined;
|
@@ -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
|
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
|
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
|
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.75rem;\n ", ": -1.25rem;\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 ", ": 1.5rem;\n ", ": 0.125rem solid;\n\n ", ": 1.625rem;\n\n ", ": var(--plasma-typo-text-s-font-family);\n ", ": var(--plasma-typo-text-s-font-size);\n ", ": var(--plasma-typo-text-s-font-style);\n ", ": var(--plasma-typo-text-s-font-weight);\n ", ": var(--plasma-typo-text-s-letter-spacing);\n ", ": var(--plasma-typo-text-s-line-height);\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.height, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeMinValueMargin, _styledComponents.sliderTokens.rangeMaxValueMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueFontFamily, _styledComponents.sliderTokens.rangeValueFontSize, _styledComponents.sliderTokens.rangeValueFontStyle, _styledComponents.sliderTokens.rangeValueFontWeight, _styledComponents.sliderTokens.rangeValueLetterSpacing, _styledComponents.sliderTokens.rangeValueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.currentValueFontFamily, _styledComponents.sliderTokens.currentValueFontSize, _styledComponents.sliderTokens.currentValueFontStyle, _styledComponents.sliderTokens.currentValueFontWeight, _styledComponents.sliderTokens.currentValueLetterSpacing, _styledComponents.sliderTokens.currentValueLineHeight, _styledComponents.sliderTokens.railHeight, _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\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 ", ": -1.25rem;\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 ", ": 1.5rem;\n ", ": 0.125rem solid;\n\n ", ": 1.75rem;\n\n ", ": var(--plasma-typo-text-xs-font-family);\n ", ": var(--plasma-typo-text-xs-font-size);\n ", ": var(--plasma-typo-text-xs-font-style);\n ", ": var(--plasma-typo-text-xs-font-weight);\n ", ": var(--plasma-typo-text-xs-letter-spacing);\n ", ": var(--plasma-typo-text-xs-line-height);\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.height, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeMinValueMargin, _styledComponents.sliderTokens.rangeMaxValueMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueFontFamily, _styledComponents.sliderTokens.rangeValueFontSize, _styledComponents.sliderTokens.rangeValueFontStyle, _styledComponents.sliderTokens.rangeValueFontWeight, _styledComponents.sliderTokens.rangeValueLetterSpacing, _styledComponents.sliderTokens.rangeValueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.currentValueFontFamily, _styledComponents.sliderTokens.currentValueFontSize, _styledComponents.sliderTokens.currentValueFontStyle, _styledComponents.sliderTokens.currentValueFontWeight, _styledComponents.sliderTokens.currentValueLetterSpacing, _styledComponents.sliderTokens.currentValueLineHeight, _styledComponents.sliderTokens.railHeight, _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\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.5rem;\n ", ": -1.25rem;\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 ", ": 0.125rem solid;\n\n ", ": 1.25rem;\n\n ", ": var(--plasma-typo-text-xs-font-family);\n ", ": var(--plasma-typo-text-xs-font-size);\n ", ": var(--plasma-typo-text-xs-font-style);\n ", ": var(--plasma-typo-text-xs-font-weight);\n ", ": var(--plasma-typo-text-xs-letter-spacing);\n ", ": var(--plasma-typo-text-xs-line-height);\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.height, _styledComponents.sliderTokens.doubleWrapperGap, _styledComponents.sliderTokens.labelWrapperGap, _styledComponents.sliderTokens.labelWrapperMarginBottom, _styledComponents.sliderTokens.labelWrapperMarginRight, _styledComponents.sliderTokens.labelFontFamily, _styledComponents.sliderTokens.labelFontSize, _styledComponents.sliderTokens.labelFontStyle, _styledComponents.sliderTokens.labelFontWeight, _styledComponents.sliderTokens.labelLetterSpacing, _styledComponents.sliderTokens.labelLineHeight, _styledComponents.sliderTokens.rangeMinValueMargin, _styledComponents.sliderTokens.rangeMaxValueMargin, _styledComponents.sliderTokens.rangeValueBottomOffset, _styledComponents.sliderTokens.rangeValueFontFamily, _styledComponents.sliderTokens.rangeValueFontSize, _styledComponents.sliderTokens.rangeValueFontStyle, _styledComponents.sliderTokens.rangeValueFontWeight, _styledComponents.sliderTokens.rangeValueLetterSpacing, _styledComponents.sliderTokens.rangeValueLineHeight, _styledComponents.sliderTokens.thumbSize, _styledComponents.sliderTokens.thumbBorder, _styledComponents.sliderTokens.currentValueTopOffset, _styledComponents.sliderTokens.currentValueFontFamily, _styledComponents.sliderTokens.currentValueFontSize, _styledComponents.sliderTokens.currentValueFontStyle, _styledComponents.sliderTokens.currentValueFontWeight, _styledComponents.sliderTokens.currentValueLetterSpacing, _styledComponents.sliderTokens.currentValueLineHeight, _styledComponents.sliderTokens.railHeight, _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,127 +18,41 @@ 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
|
-
*/
|
25
21
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeNumber) => void) | undefined;
|
26
22
|
name: string;
|
27
23
|
value?: undefined;
|
28
24
|
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;
|
36
25
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
37
26
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
38
27
|
ariaLabel?: string | undefined;
|
39
28
|
showCurrentValue?: boolean | undefined;
|
40
29
|
showRangeValues?: boolean | undefined;
|
41
|
-
rangeValuesPlacement?: string | undefined;
|
42
|
-
showScale?: boolean | undefined;
|
43
30
|
hideMinValueDiff?: number | undefined;
|
44
31
|
hideMaxValueDiff?: number | undefined;
|
32
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
45
33
|
labelPlacement?: "outer" | "inner" | undefined;
|
46
|
-
labelContentLeft?: import("react").ReactNode;
|
47
|
-
labelContent?: import("react").ReactNode;
|
48
34
|
multipleStepSize?: number | undefined;
|
49
35
|
view?: string | undefined;
|
50
36
|
size?: "s" | "m" | "l" | undefined;
|
51
37
|
type?: "single" | 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
|
-
rangeValuesPlacement?: string | undefined;
|
74
|
-
showScale?: boolean | undefined;
|
75
|
-
hideMinValueDiff?: number | undefined;
|
76
|
-
hideMaxValueDiff?: number | undefined;
|
77
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
78
|
-
labelContentLeft?: import("react").ReactNode;
|
79
|
-
labelContent?: import("react").ReactNode;
|
80
|
-
multipleStepSize?: number | undefined;
|
81
|
-
view?: string | undefined;
|
82
|
-
size?: "s" | "m" | "l" | undefined;
|
83
|
-
type?: "single" | 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
|
-
rangeValuesPlacement?: string | undefined;
|
103
|
-
showScale?: boolean | undefined;
|
104
|
-
hideMinValueDiff?: number | undefined;
|
105
|
-
hideMaxValueDiff?: number | undefined;
|
106
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
107
|
-
labelContentLeft?: import("react").ReactNode;
|
108
|
-
labelContent?: import("react").ReactNode;
|
109
|
-
multipleStepSize?: number | undefined;
|
110
|
-
view?: string | undefined;
|
111
|
-
size?: "s" | "m" | "l" | undefined;
|
112
|
-
type?: "single" | undefined;
|
113
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
114
38
|
} & 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 & {
|
115
39
|
onChange?: ((value: number) => void) | undefined;
|
116
40
|
value: number;
|
117
41
|
name?: undefined;
|
118
42
|
defaultValue?: undefined;
|
119
|
-
} & {
|
120
|
-
orientation: "vertical";
|
121
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
122
|
-
scaleAlign?: undefined;
|
123
|
-
reversed?: boolean | undefined;
|
124
|
-
labelReversed?: boolean | undefined;
|
125
43
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
126
44
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
127
45
|
ariaLabel?: string | undefined;
|
128
46
|
showCurrentValue?: boolean | undefined;
|
129
47
|
showRangeValues?: boolean | undefined;
|
130
|
-
rangeValuesPlacement?: string | undefined;
|
131
|
-
showScale?: boolean | undefined;
|
132
48
|
hideMinValueDiff?: number | undefined;
|
133
49
|
hideMaxValueDiff?: number | undefined;
|
50
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
134
51
|
labelPlacement?: "outer" | "inner" | undefined;
|
135
|
-
labelContentLeft?: import("react").ReactNode;
|
136
|
-
labelContent?: import("react").ReactNode;
|
137
52
|
multipleStepSize?: number | undefined;
|
138
53
|
view?: string | undefined;
|
139
54
|
size?: "s" | "m" | "l" | undefined;
|
140
55
|
type?: "single" | undefined;
|
141
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
142
56
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
143
57
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeString) => void) | undefined;
|
144
58
|
name?: string | undefined;
|
@@ -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
|
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
|
18
|
-
s: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n
|
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.75rem;\n ", ": -1.25rem;\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 ", ": 1.5rem;\n ", ": 0.125rem solid;\n\n ", ": 1.625rem;\n\n ", ": var(--plasma-typo-text-s-font-family);\n ", ": var(--plasma-typo-text-s-font-size);\n ", ": var(--plasma-typo-text-s-font-style);\n ", ": var(--plasma-typo-text-s-font-weight);\n ", ": var(--plasma-typo-text-s-letter-spacing);\n ", ": var(--plasma-typo-text-s-line-height);\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.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, 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\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 ", ": -1.25rem;\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 ", ": 1.5rem;\n ", ": 0.125rem solid;\n\n ", ": 1.75rem;\n\n ", ": var(--plasma-typo-text-xs-font-family);\n ", ": var(--plasma-typo-text-xs-font-size);\n ", ": var(--plasma-typo-text-xs-font-style);\n ", ": var(--plasma-typo-text-xs-font-weight);\n ", ": var(--plasma-typo-text-xs-letter-spacing);\n ", ": var(--plasma-typo-text-xs-line-height);\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.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, 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\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.5rem;\n ", ": -1.25rem;\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 ", ": 0.125rem solid;\n\n ", ": 1.25rem;\n\n ", ": var(--plasma-typo-text-xs-font-family);\n ", ": var(--plasma-typo-text-xs-font-size);\n ", ": var(--plasma-typo-text-xs-font-style);\n ", ": var(--plasma-typo-text-xs-font-weight);\n ", ": var(--plasma-typo-text-xs-letter-spacing);\n ", ": var(--plasma-typo-text-xs-line-height);\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.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, 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.148.0-canary.
|
3
|
+
"version": "0.148.0-canary.1500.11549138907.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.175.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.175.0-canary.1500.11549138907.0",
|
23
23
|
"@salutejs/sdds-themes": "0.25.0-dev.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Vasiliy Loginevskiy"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "a1be1a44814b9f633cc6ac14bf9d8ae222791257"
|
98
98
|
}
|
@@ -567,6 +567,7 @@ true: PolymorphicClassName;
|
|
567
567
|
text?: string | undefined;
|
568
568
|
contentLeft?: ReactNode;
|
569
569
|
contentRight?: ReactNode;
|
570
|
+
maxWidth?: string | undefined;
|
570
571
|
size?: string | undefined;
|
571
572
|
view?: string | undefined;
|
572
573
|
} & {
|
@@ -579,6 +580,7 @@ transparent?: false | undefined;
|
|
579
580
|
text?: string | undefined;
|
580
581
|
contentLeft?: ReactNode;
|
581
582
|
contentRight?: ReactNode;
|
583
|
+
maxWidth?: string | undefined;
|
582
584
|
size?: string | undefined;
|
583
585
|
view?: string | undefined;
|
584
586
|
} & {
|
@@ -591,6 +593,7 @@ clear?: false | undefined;
|
|
591
593
|
text?: string | undefined;
|
592
594
|
contentLeft?: ReactNode;
|
593
595
|
contentRight?: ReactNode;
|
596
|
+
maxWidth?: string | undefined;
|
594
597
|
size?: string | undefined;
|
595
598
|
view?: string | undefined;
|
596
599
|
} & {
|
@@ -3327,7 +3330,7 @@ accent: PolymorphicClassName;
|
|
3327
3330
|
chipView?: string | undefined;
|
3328
3331
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3329
3332
|
target?: "button-like" | undefined;
|
3330
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
3333
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
3331
3334
|
contentLeft?: undefined;
|
3332
3335
|
labelPlacement?: undefined;
|
3333
3336
|
placeholder?: undefined;
|
@@ -3365,7 +3368,7 @@ accent: PolymorphicClassName;
|
|
3365
3368
|
chipView?: string | undefined;
|
3366
3369
|
} & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
|
3367
3370
|
target?: "button-like" | undefined;
|
3368
|
-
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "
|
3371
|
+
view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
|
3369
3372
|
contentLeft?: undefined;
|
3370
3373
|
labelPlacement?: undefined;
|
3371
3374
|
placeholder?: undefined;
|
@@ -3436,115 +3439,37 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3436
3439
|
name: string;
|
3437
3440
|
value?: undefined;
|
3438
3441
|
defaultValue?: number | undefined;
|
3439
|
-
} & {
|
3440
|
-
orientation?: "horizontal" | undefined;
|
3441
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3442
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3443
|
-
sliderAlign?: "none" | undefined;
|
3444
|
-
reversed?: undefined;
|
3445
|
-
labelReversed?: undefined;
|
3446
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3447
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3448
|
-
ariaLabel?: string | undefined;
|
3449
|
-
showCurrentValue?: boolean | undefined;
|
3450
|
-
showRangeValues?: boolean | undefined;
|
3451
|
-
rangeValuesPlacement?: string | undefined;
|
3452
|
-
showScale?: boolean | undefined;
|
3453
|
-
hideMinValueDiff?: number | undefined;
|
3454
|
-
hideMaxValueDiff?: number | undefined;
|
3455
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3456
|
-
labelContentLeft?: ReactNode;
|
3457
|
-
labelContent?: ReactNode;
|
3458
|
-
multipleStepSize?: number | undefined;
|
3459
|
-
view?: string | undefined;
|
3460
|
-
size?: "s" | "m" | "l" | undefined;
|
3461
|
-
type?: "single" | undefined;
|
3462
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3463
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3464
|
-
onChange?: ((event: FormTypeNumber) => void) | undefined;
|
3465
|
-
name: string;
|
3466
|
-
value?: undefined;
|
3467
|
-
defaultValue?: number | undefined;
|
3468
|
-
} & {
|
3469
|
-
orientation: "vertical";
|
3470
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3471
|
-
scaleAlign?: undefined;
|
3472
|
-
reversed?: boolean | undefined;
|
3473
|
-
labelReversed?: boolean | undefined;
|
3474
3442
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3475
3443
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3476
3444
|
ariaLabel?: string | undefined;
|
3477
3445
|
showCurrentValue?: boolean | undefined;
|
3478
3446
|
showRangeValues?: boolean | undefined;
|
3479
|
-
rangeValuesPlacement?: string | undefined;
|
3480
|
-
showScale?: boolean | undefined;
|
3481
3447
|
hideMinValueDiff?: number | undefined;
|
3482
3448
|
hideMaxValueDiff?: number | undefined;
|
3449
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3483
3450
|
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
-
labelContentLeft?: ReactNode;
|
3485
|
-
labelContent?: ReactNode;
|
3486
3451
|
multipleStepSize?: number | undefined;
|
3487
3452
|
view?: string | undefined;
|
3488
3453
|
size?: "s" | "m" | "l" | undefined;
|
3489
3454
|
type?: "single" | undefined;
|
3490
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3491
3455
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3492
3456
|
onChange?: ((value: number) => void) | undefined;
|
3493
3457
|
value: number;
|
3494
3458
|
name?: undefined;
|
3495
3459
|
defaultValue?: undefined;
|
3496
|
-
} & {
|
3497
|
-
orientation?: "horizontal" | undefined;
|
3498
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3499
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3500
|
-
sliderAlign?: "none" | undefined;
|
3501
|
-
reversed?: undefined;
|
3502
|
-
labelReversed?: undefined;
|
3503
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3504
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3505
|
-
ariaLabel?: string | undefined;
|
3506
|
-
showCurrentValue?: boolean | undefined;
|
3507
|
-
showRangeValues?: boolean | undefined;
|
3508
|
-
rangeValuesPlacement?: string | undefined;
|
3509
|
-
showScale?: boolean | undefined;
|
3510
|
-
hideMinValueDiff?: number | undefined;
|
3511
|
-
hideMaxValueDiff?: number | undefined;
|
3512
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3513
|
-
labelContentLeft?: ReactNode;
|
3514
|
-
labelContent?: ReactNode;
|
3515
|
-
multipleStepSize?: number | undefined;
|
3516
|
-
view?: string | undefined;
|
3517
|
-
size?: "s" | "m" | "l" | undefined;
|
3518
|
-
type?: "single" | undefined;
|
3519
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3520
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3521
|
-
onChange?: ((value: number) => void) | undefined;
|
3522
|
-
value: number;
|
3523
|
-
name?: undefined;
|
3524
|
-
defaultValue?: undefined;
|
3525
|
-
} & {
|
3526
|
-
orientation: "vertical";
|
3527
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3528
|
-
scaleAlign?: undefined;
|
3529
|
-
reversed?: boolean | undefined;
|
3530
|
-
labelReversed?: boolean | undefined;
|
3531
3460
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3532
3461
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3533
3462
|
ariaLabel?: string | undefined;
|
3534
3463
|
showCurrentValue?: boolean | undefined;
|
3535
3464
|
showRangeValues?: boolean | undefined;
|
3536
|
-
rangeValuesPlacement?: string | undefined;
|
3537
|
-
showScale?: boolean | undefined;
|
3538
3465
|
hideMinValueDiff?: number | undefined;
|
3539
3466
|
hideMaxValueDiff?: number | undefined;
|
3467
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3540
3468
|
labelPlacement?: "outer" | "inner" | undefined;
|
3541
|
-
labelContentLeft?: ReactNode;
|
3542
|
-
labelContent?: ReactNode;
|
3543
3469
|
multipleStepSize?: number | undefined;
|
3544
3470
|
view?: string | undefined;
|
3545
3471
|
size?: "s" | "m" | "l" | undefined;
|
3546
3472
|
type?: "single" | undefined;
|
3547
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3548
3473
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3549
3474
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3550
3475
|
name?: string | undefined;
|