@salutejs/sdds-finportal 0.147.0-canary.1452.11462555994.0 → 0.147.0-canary.1497.11463811587.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +6 -90
- package/components/Dropdown/Dropdown.config.d.ts +3 -3
- package/components/Dropdown/Dropdown.config.js +5 -5
- package/components/Dropdown/Dropdown.d.ts +4 -4
- package/components/Dropdown/index.d.ts +0 -1
- package/components/Slider/Slider.config.js +3 -3
- package/components/Slider/Slider.d.ts +2 -92
- package/es/components/Dropdown/Dropdown.config.js +6 -6
- package/es/components/Slider/Slider.config.js +3 -3
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +6 -90
@@ -89,7 +89,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
89
89
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
91
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
|
-
import { DropdownProps } from '@salutejs/plasma-new-hope/
|
92
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
93
93
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
94
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
95
95
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -1412,18 +1412,16 @@ export { DrawerProps }
|
|
1412
1412
|
// @public (undocumented)
|
1413
1413
|
export const Dropdown: FunctionComponent<PropsType< {
|
1414
1414
|
size: {
|
1415
|
-
xs: PolymorphicClassName;
|
1416
|
-
s: PolymorphicClassName;
|
1417
|
-
m: PolymorphicClassName;
|
1418
1415
|
l: PolymorphicClassName;
|
1416
|
+
m: PolymorphicClassName;
|
1417
|
+
s: PolymorphicClassName;
|
1418
|
+
xs: PolymorphicClassName;
|
1419
1419
|
};
|
1420
1420
|
view: {
|
1421
1421
|
default: PolymorphicClassName;
|
1422
1422
|
};
|
1423
1423
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1424
1424
|
|
1425
|
-
export { DropdownProps }
|
1426
|
-
|
1427
1425
|
// @public (undocumented)
|
1428
1426
|
export const DsplL: FunctionComponent<PropsType< {
|
1429
1427
|
size: {
|
@@ -3435,119 +3433,37 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3435
3433
|
name: string;
|
3436
3434
|
value?: undefined;
|
3437
3435
|
defaultValue?: number | undefined;
|
3438
|
-
} & {
|
3439
|
-
orientation?: "horizontal" | undefined;
|
3440
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3441
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3442
|
-
sliderAlign?: "none" | undefined;
|
3443
|
-
reversed?: undefined;
|
3444
|
-
labelReversed?: undefined;
|
3445
3436
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3446
3437
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3447
3438
|
ariaLabel?: string | undefined;
|
3448
3439
|
showCurrentValue?: boolean | undefined;
|
3449
3440
|
showRangeValues?: boolean | undefined;
|
3450
|
-
rangeValuesPlacement?: string | undefined;
|
3451
|
-
showScale?: boolean | undefined;
|
3452
3441
|
hideMinValueDiff?: number | undefined;
|
3453
3442
|
hideMaxValueDiff?: number | undefined;
|
3443
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3454
3444
|
labelPlacement?: "outer" | "inner" | undefined;
|
3455
|
-
labelContentLeft?: ReactNode;
|
3456
|
-
labelContent?: ReactNode;
|
3457
3445
|
multipleStepSize?: number | undefined;
|
3458
3446
|
view?: string | undefined;
|
3459
3447
|
size?: "s" | "m" | "l" | undefined;
|
3460
3448
|
type?: "single" | undefined;
|
3461
|
-
hasPointer?: boolean | 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
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3475
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3476
|
-
ariaLabel?: string | undefined;
|
3477
|
-
showCurrentValue?: boolean | undefined;
|
3478
|
-
showRangeValues?: boolean | undefined;
|
3479
|
-
rangeValuesPlacement?: string | undefined;
|
3480
|
-
showScale?: boolean | undefined;
|
3481
|
-
hideMinValueDiff?: number | undefined;
|
3482
|
-
hideMaxValueDiff?: number | undefined;
|
3483
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
-
labelContentLeft?: ReactNode;
|
3485
|
-
labelContent?: ReactNode;
|
3486
|
-
multipleStepSize?: number | undefined;
|
3487
|
-
view?: string | undefined;
|
3488
|
-
size?: "s" | "m" | "l" | undefined;
|
3489
|
-
type?: "single" | undefined;
|
3490
|
-
hasPointer?: boolean | undefined;
|
3491
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3492
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3493
|
-
onChange?: ((value: number) => void) | undefined;
|
3494
|
-
value: number;
|
3495
|
-
name?: undefined;
|
3496
|
-
defaultValue?: undefined;
|
3497
|
-
} & {
|
3498
|
-
orientation?: "horizontal" | undefined;
|
3499
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3500
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3501
|
-
sliderAlign?: "none" | undefined;
|
3502
|
-
reversed?: undefined;
|
3503
|
-
labelReversed?: undefined;
|
3504
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3505
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3506
|
-
ariaLabel?: string | undefined;
|
3507
|
-
showCurrentValue?: boolean | undefined;
|
3508
|
-
showRangeValues?: boolean | undefined;
|
3509
|
-
rangeValuesPlacement?: string | undefined;
|
3510
|
-
showScale?: boolean | undefined;
|
3511
|
-
hideMinValueDiff?: number | undefined;
|
3512
|
-
hideMaxValueDiff?: number | undefined;
|
3513
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3514
|
-
labelContentLeft?: ReactNode;
|
3515
|
-
labelContent?: ReactNode;
|
3516
|
-
multipleStepSize?: number | undefined;
|
3517
|
-
view?: string | undefined;
|
3518
|
-
size?: "s" | "m" | "l" | undefined;
|
3519
|
-
type?: "single" | undefined;
|
3520
|
-
hasPointer?: boolean | undefined;
|
3521
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3522
3449
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3523
3450
|
onChange?: ((value: number) => void) | undefined;
|
3524
3451
|
value: number;
|
3525
3452
|
name?: undefined;
|
3526
3453
|
defaultValue?: undefined;
|
3527
|
-
} & {
|
3528
|
-
orientation: "vertical";
|
3529
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3530
|
-
scaleAlign?: undefined;
|
3531
|
-
reversed?: boolean | undefined;
|
3532
|
-
labelReversed?: boolean | undefined;
|
3533
3454
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3534
3455
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3535
3456
|
ariaLabel?: string | undefined;
|
3536
3457
|
showCurrentValue?: boolean | undefined;
|
3537
3458
|
showRangeValues?: boolean | undefined;
|
3538
|
-
rangeValuesPlacement?: string | undefined;
|
3539
|
-
showScale?: boolean | undefined;
|
3540
3459
|
hideMinValueDiff?: number | undefined;
|
3541
3460
|
hideMaxValueDiff?: number | undefined;
|
3461
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3542
3462
|
labelPlacement?: "outer" | "inner" | undefined;
|
3543
|
-
labelContentLeft?: ReactNode;
|
3544
|
-
labelContent?: ReactNode;
|
3545
3463
|
multipleStepSize?: number | undefined;
|
3546
3464
|
view?: string | undefined;
|
3547
3465
|
size?: "s" | "m" | "l" | undefined;
|
3548
3466
|
type?: "single" | undefined;
|
3549
|
-
hasPointer?: boolean | undefined;
|
3550
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3551
3467
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3552
3468
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3553
3469
|
name?: string | undefined;
|
@@ -5,10 +5,10 @@ export declare const config: {
|
|
5
5
|
};
|
6
6
|
variations: {
|
7
7
|
size: {
|
8
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
8
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
12
|
};
|
13
13
|
view: {
|
14
14
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -14,13 +14,13 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
size: {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 17.5rem;\n ", ": 0.875rem;\n\n ", ": 1.5rem;\n ", ": 1rem 1rem 1rem 0.875rem;\n ", ": 0.75rem 1rem 0.75rem 0.875rem;\n ", ": 0.75rem;\n\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemHeight, _styledComponents.dropdownTokens.itemPadding, _styledComponents.dropdownTokens.itemPaddingTight, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight, _styledComponents.dropdownTokens.cellPadding, _styledComponents.dropdownTokens.cellPaddingLeftContent, _styledComponents.dropdownTokens.cellPaddingContent, _styledComponents.dropdownTokens.cellPaddingRightContent, _styledComponents.dropdownTokens.cellTextboxGap, _styledComponents.dropdownTokens.cellGap, _styledComponents.dropdownTokens.cellTitleFontFamily, _styledComponents.dropdownTokens.cellTitleFontSize, _styledComponents.dropdownTokens.cellTitleFontStyle, _styledComponents.dropdownTokens.cellTitleFontWeight, _styledComponents.dropdownTokens.cellTitleLetterSpacing, _styledComponents.dropdownTokens.cellTitleLineHeight),
|
18
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 15rem;\n ", ": 0.75rem;\n\n ", ": 1.5rem;\n ", ": 0.75rem 0.75rem 0.75rem 0.75rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.75rem;\n ", ": 0.625rem;\n\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemHeight, _styledComponents.dropdownTokens.itemPadding, _styledComponents.dropdownTokens.itemPaddingTight, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight, _styledComponents.dropdownTokens.cellPadding, _styledComponents.dropdownTokens.cellPaddingLeftContent, _styledComponents.dropdownTokens.cellPaddingContent, _styledComponents.dropdownTokens.cellPaddingRightContent, _styledComponents.dropdownTokens.cellTextboxGap, _styledComponents.dropdownTokens.cellGap, _styledComponents.dropdownTokens.cellTitleFontFamily, _styledComponents.dropdownTokens.cellTitleFontSize, _styledComponents.dropdownTokens.cellTitleFontStyle, _styledComponents.dropdownTokens.cellTitleFontWeight, _styledComponents.dropdownTokens.cellTitleLetterSpacing, _styledComponents.dropdownTokens.cellTitleLineHeight),
|
19
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 12.5rem;\n ", ": 0.625rem;\n\n ", ": 1.5rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.675rem;\n ", ": 0.25rem 0.75rem 0.25rem 0.675rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemHeight, _styledComponents.dropdownTokens.itemPadding, _styledComponents.dropdownTokens.itemPaddingTight, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight, _styledComponents.dropdownTokens.cellPadding, _styledComponents.dropdownTokens.cellPaddingLeftContent, _styledComponents.dropdownTokens.cellPaddingContent, _styledComponents.dropdownTokens.cellPaddingRightContent, _styledComponents.dropdownTokens.cellTextboxGap, _styledComponents.dropdownTokens.cellGap, _styledComponents.dropdownTokens.cellTitleFontFamily, _styledComponents.dropdownTokens.cellTitleFontSize, _styledComponents.dropdownTokens.cellTitleFontStyle, _styledComponents.dropdownTokens.cellTitleFontWeight, _styledComponents.dropdownTokens.cellTitleLetterSpacing, _styledComponents.dropdownTokens.cellTitleLineHeight),
|
20
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 10rem;\n ", ": 0.5rem;\n\n ", ": 1rem;\n ", ": 0.5rem 0.5rem 0.5rem 0.375rem;\n ", ": 0.25rem 0.5rem 0.25rem 0.375rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.25rem;\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 "])), _styledComponents.dropdownTokens.padding, _styledComponents.dropdownTokens.width, _styledComponents.dropdownTokens.borderRadius, _styledComponents.dropdownTokens.itemHeight, _styledComponents.dropdownTokens.itemPadding, _styledComponents.dropdownTokens.itemPaddingTight, _styledComponents.dropdownTokens.itemBorderRadius, _styledComponents.dropdownTokens.dividerMarginTop, _styledComponents.dropdownTokens.dividerMarginRight, _styledComponents.dropdownTokens.dividerMarginBottom, _styledComponents.dropdownTokens.dividerMarginLeft, _styledComponents.dropdownTokens.dividerMarginTopTight, _styledComponents.dropdownTokens.dividerMarginBottomTight, _styledComponents.dropdownTokens.itemFontFamily, _styledComponents.dropdownTokens.itemFontSize, _styledComponents.dropdownTokens.itemFontStyle, _styledComponents.dropdownTokens.itemFontWeightBold, _styledComponents.dropdownTokens.itemFontLetterSpacing, _styledComponents.dropdownTokens.itemFontLineHeight, _styledComponents.dropdownTokens.cellPadding, _styledComponents.dropdownTokens.cellPaddingLeftContent, _styledComponents.dropdownTokens.cellPaddingContent, _styledComponents.dropdownTokens.cellPaddingRightContent, _styledComponents.dropdownTokens.cellTextboxGap, _styledComponents.dropdownTokens.cellGap, _styledComponents.dropdownTokens.cellTitleFontFamily, _styledComponents.dropdownTokens.cellTitleFontSize, _styledComponents.dropdownTokens.cellTitleFontStyle, _styledComponents.dropdownTokens.cellTitleFontWeight, _styledComponents.dropdownTokens.cellTitleLetterSpacing, _styledComponents.dropdownTokens.cellTitleLineHeight)
|
21
21
|
},
|
22
22
|
view: {
|
23
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ":
|
23
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n "])), _styledComponents.dropdownTokens.dividerColor)
|
24
24
|
}
|
25
25
|
}
|
26
26
|
};
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const Dropdown: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
3
|
size: {
|
4
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
4
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
8
|
};
|
9
9
|
view: {
|
10
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
11
|
};
|
12
|
-
}> & import("@salutejs/plasma-new-hope/
|
12
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
|
13
13
|
export { Dropdown };
|
@@ -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,131 +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
|
-
hasPointer?: boolean | undefined;
|
53
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
54
|
-
} & 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 & {
|
55
|
-
/**
|
56
|
-
* Слайдер позволяет определить числовое значение в пределах указанного промежутка.
|
57
|
-
* Можно указать два значения.
|
58
|
-
*/
|
59
|
-
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeNumber) => void) | undefined;
|
60
|
-
name: string;
|
61
|
-
value?: undefined;
|
62
|
-
defaultValue?: number | undefined;
|
63
|
-
} & {
|
64
|
-
orientation: "vertical";
|
65
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
66
|
-
scaleAlign?: undefined;
|
67
|
-
reversed?: boolean | undefined;
|
68
|
-
labelReversed?: boolean | undefined;
|
69
|
-
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
70
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
71
|
-
ariaLabel?: string | undefined;
|
72
|
-
showCurrentValue?: boolean | undefined;
|
73
|
-
showRangeValues?: boolean | undefined;
|
74
|
-
rangeValuesPlacement?: string | undefined;
|
75
|
-
showScale?: boolean | undefined;
|
76
|
-
hideMinValueDiff?: number | undefined;
|
77
|
-
hideMaxValueDiff?: number | undefined;
|
78
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
79
|
-
labelContentLeft?: import("react").ReactNode;
|
80
|
-
labelContent?: import("react").ReactNode;
|
81
|
-
multipleStepSize?: number | undefined;
|
82
|
-
view?: string | undefined;
|
83
|
-
size?: "s" | "m" | "l" | undefined;
|
84
|
-
type?: "single" | undefined;
|
85
|
-
hasPointer?: boolean | undefined;
|
86
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
87
|
-
} & 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 & {
|
88
|
-
onChange?: ((value: number) => void) | undefined;
|
89
|
-
value: number;
|
90
|
-
name?: undefined;
|
91
|
-
defaultValue?: undefined;
|
92
|
-
} & {
|
93
|
-
orientation?: "horizontal" | undefined;
|
94
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
95
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
96
|
-
sliderAlign?: "none" | undefined;
|
97
|
-
reversed?: undefined;
|
98
|
-
labelReversed?: undefined;
|
99
|
-
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
100
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
101
|
-
ariaLabel?: string | undefined;
|
102
|
-
showCurrentValue?: boolean | undefined;
|
103
|
-
showRangeValues?: boolean | undefined;
|
104
|
-
rangeValuesPlacement?: string | undefined;
|
105
|
-
showScale?: boolean | undefined;
|
106
|
-
hideMinValueDiff?: number | undefined;
|
107
|
-
hideMaxValueDiff?: number | undefined;
|
108
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
109
|
-
labelContentLeft?: import("react").ReactNode;
|
110
|
-
labelContent?: import("react").ReactNode;
|
111
|
-
multipleStepSize?: number | undefined;
|
112
|
-
view?: string | undefined;
|
113
|
-
size?: "s" | "m" | "l" | undefined;
|
114
|
-
type?: "single" | undefined;
|
115
|
-
hasPointer?: boolean | undefined;
|
116
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
117
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 & {
|
118
39
|
onChange?: ((value: number) => void) | undefined;
|
119
40
|
value: number;
|
120
41
|
name?: undefined;
|
121
42
|
defaultValue?: undefined;
|
122
|
-
} & {
|
123
|
-
orientation: "vertical";
|
124
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
125
|
-
scaleAlign?: undefined;
|
126
|
-
reversed?: boolean | undefined;
|
127
|
-
labelReversed?: boolean | undefined;
|
128
43
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
129
44
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
130
45
|
ariaLabel?: string | undefined;
|
131
46
|
showCurrentValue?: boolean | undefined;
|
132
47
|
showRangeValues?: boolean | undefined;
|
133
|
-
rangeValuesPlacement?: string | undefined;
|
134
|
-
showScale?: boolean | undefined;
|
135
48
|
hideMinValueDiff?: number | undefined;
|
136
49
|
hideMaxValueDiff?: number | undefined;
|
50
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
137
51
|
labelPlacement?: "outer" | "inner" | undefined;
|
138
|
-
labelContentLeft?: import("react").ReactNode;
|
139
|
-
labelContent?: import("react").ReactNode;
|
140
52
|
multipleStepSize?: number | undefined;
|
141
53
|
view?: string | undefined;
|
142
54
|
size?: "s" | "m" | "l" | undefined;
|
143
55
|
type?: "single" | undefined;
|
144
|
-
hasPointer?: boolean | undefined;
|
145
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
146
56
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
147
57
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeString) => void) | undefined;
|
148
58
|
name?: string | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
|
-
import { css, dropdownTokens } from '@salutejs/plasma-new-hope/styled-components';
|
3
|
+
import { css, dropdownTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
|
4
4
|
export var config = {
|
5
5
|
defaults: {
|
6
6
|
view: 'default',
|
@@ -8,13 +8,13 @@ export var config = {
|
|
8
8
|
},
|
9
9
|
variations: {
|
10
10
|
size: {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
l: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 17.5rem;\n ", ": 0.875rem;\n\n ", ": 1.5rem;\n ", ": 1rem 1rem 1rem 0.875rem;\n ", ": 0.75rem 1rem 0.75rem 0.875rem;\n ", ": 0.75rem;\n\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.5rem;\n ", ": 1.125rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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 "])), tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
|
12
|
+
m: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 15rem;\n ", ": 0.75rem;\n\n ", ": 1.5rem;\n ", ": 0.75rem 0.75rem 0.75rem 0.75rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.75rem;\n ", ": 0.625rem;\n\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.375rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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 "])), tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
|
13
|
+
s: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 12.5rem;\n ", ": 0.625rem;\n\n ", ": 1.5rem;\n ", ": 0.5rem 0.75rem 0.5rem 0.675rem;\n ", ": 0.25rem 0.75rem 0.25rem 0.675rem;\n ", ": 0.5rem;\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\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 "])), tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
|
14
|
+
xs: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n ", ": 10rem;\n ", ": 0.5rem;\n\n ", ": 1rem;\n ", ": 0.5rem 0.5rem 0.5rem 0.375rem;\n ", ": 0.25rem 0.5rem 0.25rem 0.375rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n ", ": 0.125rem;\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 ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.25rem;\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 "])), tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight)
|
15
15
|
},
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ":
|
17
|
+
"default": /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n "])), tokens.dividerColor)
|
18
18
|
}
|
19
19
|
}
|
20
20
|
};
|
@@ -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.147.0-canary.
|
3
|
+
"version": "0.147.0-canary.1497.11463811587.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.174.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.174.0-canary.1497.11463811587.0",
|
23
23
|
"@salutejs/sdds-themes": "0.24.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": "5cc427767547125b6148010184d99656df1af9a1"
|
98
98
|
}
|
@@ -89,7 +89,7 @@ import { DrawerContentProps } from '@salutejs/plasma-new-hope/styled-components'
|
|
89
89
|
import { DrawerFooterProps } from '@salutejs/plasma-new-hope/styled-components';
|
90
90
|
import { DrawerHeaderProps } from '@salutejs/plasma-new-hope/styled-components';
|
91
91
|
import { DrawerProps } from '@salutejs/plasma-new-hope/styled-components';
|
92
|
-
import { DropdownProps } from '@salutejs/plasma-new-hope/
|
92
|
+
import { DropdownProps } from '@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types';
|
93
93
|
import { dsplL } from '@salutejs/sdds-themes/tokens';
|
94
94
|
import { dsplLBold } from '@salutejs/sdds-themes/tokens';
|
95
95
|
import { dsplM } from '@salutejs/sdds-themes/tokens';
|
@@ -1412,18 +1412,16 @@ export { DrawerProps }
|
|
1412
1412
|
// @public (undocumented)
|
1413
1413
|
export const Dropdown: FunctionComponent<PropsType< {
|
1414
1414
|
size: {
|
1415
|
-
xs: PolymorphicClassName;
|
1416
|
-
s: PolymorphicClassName;
|
1417
|
-
m: PolymorphicClassName;
|
1418
1415
|
l: PolymorphicClassName;
|
1416
|
+
m: PolymorphicClassName;
|
1417
|
+
s: PolymorphicClassName;
|
1418
|
+
xs: PolymorphicClassName;
|
1419
1419
|
};
|
1420
1420
|
view: {
|
1421
1421
|
default: PolymorphicClassName;
|
1422
1422
|
};
|
1423
1423
|
}> & DropdownProps & RefAttributes<HTMLDivElement>>;
|
1424
1424
|
|
1425
|
-
export { DropdownProps }
|
1426
|
-
|
1427
1425
|
// @public (undocumented)
|
1428
1426
|
export const DsplL: FunctionComponent<PropsType< {
|
1429
1427
|
size: {
|
@@ -3435,119 +3433,37 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3435
3433
|
name: string;
|
3436
3434
|
value?: undefined;
|
3437
3435
|
defaultValue?: number | undefined;
|
3438
|
-
} & {
|
3439
|
-
orientation?: "horizontal" | undefined;
|
3440
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3441
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3442
|
-
sliderAlign?: "none" | undefined;
|
3443
|
-
reversed?: undefined;
|
3444
|
-
labelReversed?: undefined;
|
3445
3436
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3446
3437
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3447
3438
|
ariaLabel?: string | undefined;
|
3448
3439
|
showCurrentValue?: boolean | undefined;
|
3449
3440
|
showRangeValues?: boolean | undefined;
|
3450
|
-
rangeValuesPlacement?: string | undefined;
|
3451
|
-
showScale?: boolean | undefined;
|
3452
3441
|
hideMinValueDiff?: number | undefined;
|
3453
3442
|
hideMaxValueDiff?: number | undefined;
|
3443
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3454
3444
|
labelPlacement?: "outer" | "inner" | undefined;
|
3455
|
-
labelContentLeft?: ReactNode;
|
3456
|
-
labelContent?: ReactNode;
|
3457
3445
|
multipleStepSize?: number | undefined;
|
3458
3446
|
view?: string | undefined;
|
3459
3447
|
size?: "s" | "m" | "l" | undefined;
|
3460
3448
|
type?: "single" | undefined;
|
3461
|
-
hasPointer?: boolean | 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
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3475
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3476
|
-
ariaLabel?: string | undefined;
|
3477
|
-
showCurrentValue?: boolean | undefined;
|
3478
|
-
showRangeValues?: boolean | undefined;
|
3479
|
-
rangeValuesPlacement?: string | undefined;
|
3480
|
-
showScale?: boolean | undefined;
|
3481
|
-
hideMinValueDiff?: number | undefined;
|
3482
|
-
hideMaxValueDiff?: number | undefined;
|
3483
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
-
labelContentLeft?: ReactNode;
|
3485
|
-
labelContent?: ReactNode;
|
3486
|
-
multipleStepSize?: number | undefined;
|
3487
|
-
view?: string | undefined;
|
3488
|
-
size?: "s" | "m" | "l" | undefined;
|
3489
|
-
type?: "single" | undefined;
|
3490
|
-
hasPointer?: boolean | undefined;
|
3491
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3492
|
-
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3493
|
-
onChange?: ((value: number) => void) | undefined;
|
3494
|
-
value: number;
|
3495
|
-
name?: undefined;
|
3496
|
-
defaultValue?: undefined;
|
3497
|
-
} & {
|
3498
|
-
orientation?: "horizontal" | undefined;
|
3499
|
-
labelPlacement?: "none" | "top" | "left" | undefined;
|
3500
|
-
scaleAlign?: "none" | "bottom" | "side" | undefined;
|
3501
|
-
sliderAlign?: "none" | undefined;
|
3502
|
-
reversed?: undefined;
|
3503
|
-
labelReversed?: undefined;
|
3504
|
-
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3505
|
-
onChangeCommitted?: ((value: number) => void) | undefined;
|
3506
|
-
ariaLabel?: string | undefined;
|
3507
|
-
showCurrentValue?: boolean | undefined;
|
3508
|
-
showRangeValues?: boolean | undefined;
|
3509
|
-
rangeValuesPlacement?: string | undefined;
|
3510
|
-
showScale?: boolean | undefined;
|
3511
|
-
hideMinValueDiff?: number | undefined;
|
3512
|
-
hideMaxValueDiff?: number | undefined;
|
3513
|
-
labelPlacement?: "outer" | "inner" | undefined;
|
3514
|
-
labelContentLeft?: ReactNode;
|
3515
|
-
labelContent?: ReactNode;
|
3516
|
-
multipleStepSize?: number | undefined;
|
3517
|
-
view?: string | undefined;
|
3518
|
-
size?: "s" | "m" | "l" | undefined;
|
3519
|
-
type?: "single" | undefined;
|
3520
|
-
hasPointer?: boolean | undefined;
|
3521
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3522
3449
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3523
3450
|
onChange?: ((value: number) => void) | undefined;
|
3524
3451
|
value: number;
|
3525
3452
|
name?: undefined;
|
3526
3453
|
defaultValue?: undefined;
|
3527
|
-
} & {
|
3528
|
-
orientation: "vertical";
|
3529
|
-
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3530
|
-
scaleAlign?: undefined;
|
3531
|
-
reversed?: boolean | undefined;
|
3532
|
-
labelReversed?: boolean | undefined;
|
3533
3454
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3534
3455
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3535
3456
|
ariaLabel?: string | undefined;
|
3536
3457
|
showCurrentValue?: boolean | undefined;
|
3537
3458
|
showRangeValues?: boolean | undefined;
|
3538
|
-
rangeValuesPlacement?: string | undefined;
|
3539
|
-
showScale?: boolean | undefined;
|
3540
3459
|
hideMinValueDiff?: number | undefined;
|
3541
3460
|
hideMaxValueDiff?: number | undefined;
|
3461
|
+
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3542
3462
|
labelPlacement?: "outer" | "inner" | undefined;
|
3543
|
-
labelContentLeft?: ReactNode;
|
3544
|
-
labelContent?: ReactNode;
|
3545
3463
|
multipleStepSize?: number | undefined;
|
3546
3464
|
view?: string | undefined;
|
3547
3465
|
size?: "s" | "m" | "l" | undefined;
|
3548
3466
|
type?: "single" | undefined;
|
3549
|
-
hasPointer?: boolean | undefined;
|
3550
|
-
pointerSize?: "none" | "small" | "large" | undefined;
|
3551
3467
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3552
3468
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3553
3469
|
name?: string | undefined;
|