@salutejs/sdds-finportal 0.149.0-canary.1514.11559014063.0 → 0.149.0-dev.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 -5
- package/components/Counter/Counter.config.d.ts +0 -3
- package/components/Counter/Counter.config.js +3 -6
- package/components/Counter/Counter.d.ts +0 -3
- package/components/Slider/Slider.config.js +3 -3
- package/components/Slider/Slider.d.ts +88 -2
- package/es/components/Counter/Counter.config.js +3 -6
- package/es/components/Slider/Slider.config.js +3 -3
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +0 -5180
@@ -1237,9 +1237,6 @@ dark: PolymorphicClassName;
|
|
1237
1237
|
light: PolymorphicClassName;
|
1238
1238
|
};
|
1239
1239
|
size: {
|
1240
|
-
l: PolymorphicClassName;
|
1241
|
-
m: PolymorphicClassName;
|
1242
|
-
s: PolymorphicClassName;
|
1243
1240
|
xs: PolymorphicClassName;
|
1244
1241
|
xxs: PolymorphicClassName;
|
1245
1242
|
};
|
@@ -3449,37 +3446,115 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3449
3446
|
name: string;
|
3450
3447
|
value?: undefined;
|
3451
3448
|
defaultValue?: number | undefined;
|
3449
|
+
} & {
|
3450
|
+
orientation?: "horizontal" | undefined;
|
3451
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
3452
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3453
|
+
sliderAlign?: "none" | undefined;
|
3454
|
+
reversed?: undefined;
|
3455
|
+
labelReversed?: undefined;
|
3452
3456
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3453
3457
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3454
3458
|
ariaLabel?: string | undefined;
|
3455
3459
|
showCurrentValue?: boolean | undefined;
|
3456
3460
|
showRangeValues?: boolean | undefined;
|
3461
|
+
rangeValuesPlacement?: string | undefined;
|
3462
|
+
showScale?: boolean | undefined;
|
3457
3463
|
hideMinValueDiff?: number | undefined;
|
3458
3464
|
hideMaxValueDiff?: number | undefined;
|
3459
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3460
3465
|
labelPlacement?: "outer" | "inner" | undefined;
|
3466
|
+
labelContentLeft?: ReactNode;
|
3467
|
+
labelContent?: ReactNode;
|
3461
3468
|
multipleStepSize?: number | undefined;
|
3462
3469
|
view?: string | undefined;
|
3463
3470
|
size?: "s" | "m" | "l" | undefined;
|
3464
3471
|
type?: "single" | undefined;
|
3472
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3473
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3474
|
+
onChange?: ((event: FormTypeNumber) => void) | undefined;
|
3475
|
+
name: string;
|
3476
|
+
value?: undefined;
|
3477
|
+
defaultValue?: number | undefined;
|
3478
|
+
} & {
|
3479
|
+
orientation: "vertical";
|
3480
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3481
|
+
scaleAlign?: undefined;
|
3482
|
+
reversed?: boolean | undefined;
|
3483
|
+
labelReversed?: boolean | undefined;
|
3484
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3485
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
3486
|
+
ariaLabel?: string | undefined;
|
3487
|
+
showCurrentValue?: boolean | undefined;
|
3488
|
+
showRangeValues?: boolean | undefined;
|
3489
|
+
rangeValuesPlacement?: string | undefined;
|
3490
|
+
showScale?: boolean | undefined;
|
3491
|
+
hideMinValueDiff?: number | undefined;
|
3492
|
+
hideMaxValueDiff?: number | undefined;
|
3493
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3494
|
+
labelContentLeft?: ReactNode;
|
3495
|
+
labelContent?: ReactNode;
|
3496
|
+
multipleStepSize?: number | undefined;
|
3497
|
+
view?: string | undefined;
|
3498
|
+
size?: "s" | "m" | "l" | undefined;
|
3499
|
+
type?: "single" | undefined;
|
3500
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3501
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3502
|
+
onChange?: ((value: number) => void) | undefined;
|
3503
|
+
value: number;
|
3504
|
+
name?: undefined;
|
3505
|
+
defaultValue?: undefined;
|
3506
|
+
} & {
|
3507
|
+
orientation?: "horizontal" | undefined;
|
3508
|
+
labelPlacement?: "none" | "top" | "left" | undefined;
|
3509
|
+
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3510
|
+
sliderAlign?: "none" | undefined;
|
3511
|
+
reversed?: undefined;
|
3512
|
+
labelReversed?: undefined;
|
3513
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3514
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
3515
|
+
ariaLabel?: string | undefined;
|
3516
|
+
showCurrentValue?: boolean | undefined;
|
3517
|
+
showRangeValues?: boolean | undefined;
|
3518
|
+
rangeValuesPlacement?: string | undefined;
|
3519
|
+
showScale?: boolean | undefined;
|
3520
|
+
hideMinValueDiff?: number | undefined;
|
3521
|
+
hideMaxValueDiff?: number | undefined;
|
3522
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3523
|
+
labelContentLeft?: ReactNode;
|
3524
|
+
labelContent?: ReactNode;
|
3525
|
+
multipleStepSize?: number | undefined;
|
3526
|
+
view?: string | undefined;
|
3527
|
+
size?: "s" | "m" | "l" | undefined;
|
3528
|
+
type?: "single" | undefined;
|
3529
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3465
3530
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3466
3531
|
onChange?: ((value: number) => void) | undefined;
|
3467
3532
|
value: number;
|
3468
3533
|
name?: undefined;
|
3469
3534
|
defaultValue?: undefined;
|
3535
|
+
} & {
|
3536
|
+
orientation: "vertical";
|
3537
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3538
|
+
scaleAlign?: undefined;
|
3539
|
+
reversed?: boolean | undefined;
|
3540
|
+
labelReversed?: boolean | undefined;
|
3470
3541
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3471
3542
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3472
3543
|
ariaLabel?: string | undefined;
|
3473
3544
|
showCurrentValue?: boolean | undefined;
|
3474
3545
|
showRangeValues?: boolean | undefined;
|
3546
|
+
rangeValuesPlacement?: string | undefined;
|
3547
|
+
showScale?: boolean | undefined;
|
3475
3548
|
hideMinValueDiff?: number | undefined;
|
3476
3549
|
hideMaxValueDiff?: number | undefined;
|
3477
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3478
3550
|
labelPlacement?: "outer" | "inner" | undefined;
|
3551
|
+
labelContentLeft?: ReactNode;
|
3552
|
+
labelContent?: ReactNode;
|
3479
3553
|
multipleStepSize?: number | undefined;
|
3480
3554
|
view?: string | undefined;
|
3481
3555
|
size?: "s" | "m" | "l" | undefined;
|
3482
3556
|
type?: "single" | undefined;
|
3557
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3483
3558
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3484
3559
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3485
3560
|
name?: string | undefined;
|
@@ -14,9 +14,6 @@ export declare const config: {
|
|
14
14
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
15
|
};
|
16
16
|
size: {
|
17
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
17
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
18
|
xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
22
19
|
};
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.config = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
9
9
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
@@ -23,11 +23,8 @@ var config = exports.config = {
|
|
23
23
|
light: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default);\n "])), _styledComponents.counterTokens.color, _styledComponents.counterTokens.background)
|
24
24
|
},
|
25
25
|
size: {
|
26
|
-
|
27
|
-
|
28
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), _styledComponents.counterTokens.borderRadius, _styledComponents.counterTokens.height, _styledComponents.counterTokens.paddingRight, _styledComponents.counterTokens.paddingLeft, _styledComponents.counterTokens.fontFamily, _styledComponents.counterTokens.fontSize, _styledComponents.counterTokens.fontStyle, _styledComponents.counterTokens.fontWeight, _styledComponents.counterTokens.letterSpacing, _styledComponents.counterTokens.lineHeight),
|
29
|
-
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), _styledComponents.counterTokens.borderRadius, _styledComponents.counterTokens.height, _styledComponents.counterTokens.paddingRight, _styledComponents.counterTokens.paddingLeft, _styledComponents.counterTokens.fontFamily, _styledComponents.counterTokens.fontSize, _styledComponents.counterTokens.fontStyle, _styledComponents.counterTokens.fontWeight, _styledComponents.counterTokens.letterSpacing, _styledComponents.counterTokens.lineHeight),
|
30
|
-
xxs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.75rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), _styledComponents.counterTokens.borderRadius, _styledComponents.counterTokens.height, _styledComponents.counterTokens.paddingRight, _styledComponents.counterTokens.paddingLeft, _styledComponents.counterTokens.fontFamily, _styledComponents.counterTokens.fontSize, _styledComponents.counterTokens.fontStyle, _styledComponents.counterTokens.fontWeight, _styledComponents.counterTokens.letterSpacing, _styledComponents.counterTokens.lineHeight)
|
26
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), _styledComponents.counterTokens.borderRadius, _styledComponents.counterTokens.height, _styledComponents.counterTokens.paddingRight, _styledComponents.counterTokens.paddingLeft, _styledComponents.counterTokens.fontFamily, _styledComponents.counterTokens.fontSize, _styledComponents.counterTokens.fontStyle, _styledComponents.counterTokens.fontWeight, _styledComponents.counterTokens.letterSpacing, _styledComponents.counterTokens.lineHeight),
|
27
|
+
xxs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), _styledComponents.counterTokens.borderRadius, _styledComponents.counterTokens.height, _styledComponents.counterTokens.paddingRight, _styledComponents.counterTokens.paddingLeft, _styledComponents.counterTokens.fontFamily, _styledComponents.counterTokens.fontSize, _styledComponents.counterTokens.fontStyle, _styledComponents.counterTokens.fontWeight, _styledComponents.counterTokens.letterSpacing, _styledComponents.counterTokens.lineHeight)
|
31
28
|
}
|
32
29
|
}
|
33
30
|
};
|
@@ -13,9 +13,6 @@ export declare const Counter: import("react").FunctionComponent<import("@salutej
|
|
13
13
|
light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
14
|
};
|
15
15
|
size: {
|
16
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
16
|
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
17
|
xxs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
18
|
};
|
@@ -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.rangeValueHorizontalOffset, _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.rangeValueHorizontalOffset, _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.rangeValueHorizontalOffset, _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
|
+
rangeValuesPlacement?: string | undefined;
|
42
|
+
showScale?: boolean | undefined;
|
30
43
|
hideMinValueDiff?: number | undefined;
|
31
44
|
hideMaxValueDiff?: number | undefined;
|
32
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
33
45
|
labelPlacement?: "outer" | "inner" | undefined;
|
46
|
+
labelContentLeft?: import("react").ReactNode;
|
47
|
+
labelContent?: import("react").ReactNode;
|
34
48
|
multipleStepSize?: number | undefined;
|
35
49
|
view?: string | undefined;
|
36
50
|
size?: "s" | "m" | "l" | undefined;
|
37
51
|
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;
|
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
|
+
rangeValuesPlacement?: string | undefined;
|
131
|
+
showScale?: boolean | undefined;
|
48
132
|
hideMinValueDiff?: number | undefined;
|
49
133
|
hideMaxValueDiff?: number | undefined;
|
50
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
51
134
|
labelPlacement?: "outer" | "inner" | undefined;
|
135
|
+
labelContentLeft?: import("react").ReactNode;
|
136
|
+
labelContent?: import("react").ReactNode;
|
52
137
|
multipleStepSize?: number | undefined;
|
53
138
|
view?: string | undefined;
|
54
139
|
size?: "s" | "m" | "l" | undefined;
|
55
140
|
type?: "single" | 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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
3
|
import { css, counterTokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
@@ -17,11 +17,8 @@ export var config = {
|
|
17
17
|
light: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-light-text-primary);\n ", ": var(--on-dark-surface-solid-default);\n "])), counterTokens.color, counterTokens.background)
|
18
18
|
},
|
19
19
|
size: {
|
20
|
-
|
21
|
-
|
22
|
-
s: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1.25rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), counterTokens.borderRadius, counterTokens.height, counterTokens.paddingRight, counterTokens.paddingLeft, counterTokens.fontFamily, counterTokens.fontSize, counterTokens.fontStyle, counterTokens.fontWeight, counterTokens.letterSpacing, counterTokens.lineHeight),
|
23
|
-
xs: /*#__PURE__*/css(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), counterTokens.borderRadius, counterTokens.height, counterTokens.paddingRight, counterTokens.paddingLeft, counterTokens.fontFamily, counterTokens.fontSize, counterTokens.fontStyle, counterTokens.fontWeight, counterTokens.letterSpacing, counterTokens.lineHeight),
|
24
|
-
xxs: /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 0.75rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), counterTokens.borderRadius, counterTokens.height, counterTokens.paddingRight, counterTokens.paddingLeft, counterTokens.fontFamily, counterTokens.fontSize, counterTokens.fontStyle, counterTokens.fontWeight, counterTokens.letterSpacing, counterTokens.lineHeight)
|
20
|
+
xs: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 1rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), counterTokens.borderRadius, counterTokens.height, counterTokens.paddingRight, counterTokens.paddingLeft, counterTokens.fontFamily, counterTokens.fontSize, counterTokens.fontStyle, counterTokens.fontWeight, counterTokens.letterSpacing, counterTokens.lineHeight),
|
21
|
+
xxs: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-xxs-font-family);\n ", ": var(--plasma-typo-body-xxs-font-size);\n ", ": var(--plasma-typo-body-xxs-font-style);\n ", ": var(--plasma-typo-body-xxs-font-weight);\n ", ": var(--plasma-typo-body-xxs-letter-spacing);\n ", ": var(--plasma-typo-body-xxs-line-height);\n "])), counterTokens.borderRadius, counterTokens.height, counterTokens.paddingRight, counterTokens.paddingLeft, counterTokens.fontFamily, counterTokens.fontSize, counterTokens.fontStyle, counterTokens.fontWeight, counterTokens.letterSpacing, counterTokens.lineHeight)
|
25
22
|
}
|
26
23
|
}
|
27
24
|
};
|
@@ -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.rangeValueHorizontalOffset, 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.rangeValueHorizontalOffset, 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.rangeValueHorizontalOffset, 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.149.0-
|
3
|
+
"version": "0.149.0-dev.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.176.0-
|
22
|
+
"@salutejs/plasma-new-hope": "0.176.0-dev.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": "2b5a54e30d69bb6530e9bc5e5130a2a7bfa0309c"
|
98
98
|
}
|