@salutejs/sdds-finportal 0.146.1-canary.1502.11462220468.0 → 0.147.0-canary.1452.11462555994.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +84 -3
- package/components/Slider/Slider.config.js +3 -3
- package/components/Slider/Slider.d.ts +92 -2
- package/components/Tabs/TabItem.d.ts +2 -17
- package/components/Tabs/Tabs.d.ts +1 -1
- package/es/components/Slider/Slider.config.js +3 -3
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +84 -3
@@ -67,7 +67,6 @@ import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/componen
|
|
67
67
|
import { ComponentProps } from 'react';
|
68
68
|
import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
|
69
69
|
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
|
70
|
-
import { CustomHeaderTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
71
70
|
import { CustomHorizontalTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
72
71
|
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
|
73
72
|
import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
|
@@ -3436,37 +3435,119 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3436
3435
|
name: string;
|
3437
3436
|
value?: undefined;
|
3438
3437
|
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
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3446
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
3447
|
+
ariaLabel?: string | undefined;
|
3448
|
+
showCurrentValue?: boolean | undefined;
|
3449
|
+
showRangeValues?: boolean | undefined;
|
3450
|
+
rangeValuesPlacement?: string | undefined;
|
3451
|
+
showScale?: boolean | undefined;
|
3452
|
+
hideMinValueDiff?: number | undefined;
|
3453
|
+
hideMaxValueDiff?: number | undefined;
|
3454
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3455
|
+
labelContentLeft?: ReactNode;
|
3456
|
+
labelContent?: ReactNode;
|
3457
|
+
multipleStepSize?: number | undefined;
|
3458
|
+
view?: string | undefined;
|
3459
|
+
size?: "s" | "m" | "l" | undefined;
|
3460
|
+
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;
|
3439
3474
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3440
3475
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3441
3476
|
ariaLabel?: string | undefined;
|
3442
3477
|
showCurrentValue?: boolean | undefined;
|
3443
3478
|
showRangeValues?: boolean | undefined;
|
3479
|
+
rangeValuesPlacement?: string | undefined;
|
3480
|
+
showScale?: boolean | undefined;
|
3444
3481
|
hideMinValueDiff?: number | undefined;
|
3445
3482
|
hideMaxValueDiff?: number | undefined;
|
3446
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3447
3483
|
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
+
labelContentLeft?: ReactNode;
|
3485
|
+
labelContent?: ReactNode;
|
3448
3486
|
multipleStepSize?: number | undefined;
|
3449
3487
|
view?: string | undefined;
|
3450
3488
|
size?: "s" | "m" | "l" | undefined;
|
3451
3489
|
type?: "single" | undefined;
|
3490
|
+
hasPointer?: boolean | undefined;
|
3491
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3452
3492
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3453
3493
|
onChange?: ((value: number) => void) | undefined;
|
3454
3494
|
value: number;
|
3455
3495
|
name?: undefined;
|
3456
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
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3523
|
+
onChange?: ((value: number) => void) | undefined;
|
3524
|
+
value: number;
|
3525
|
+
name?: undefined;
|
3526
|
+
defaultValue?: undefined;
|
3527
|
+
} & {
|
3528
|
+
orientation: "vertical";
|
3529
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3530
|
+
scaleAlign?: undefined;
|
3531
|
+
reversed?: boolean | undefined;
|
3532
|
+
labelReversed?: boolean | undefined;
|
3457
3533
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3458
3534
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3459
3535
|
ariaLabel?: string | undefined;
|
3460
3536
|
showCurrentValue?: boolean | undefined;
|
3461
3537
|
showRangeValues?: boolean | undefined;
|
3538
|
+
rangeValuesPlacement?: string | undefined;
|
3539
|
+
showScale?: boolean | undefined;
|
3462
3540
|
hideMinValueDiff?: number | undefined;
|
3463
3541
|
hideMaxValueDiff?: number | undefined;
|
3464
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3465
3542
|
labelPlacement?: "outer" | "inner" | undefined;
|
3543
|
+
labelContentLeft?: ReactNode;
|
3544
|
+
labelContent?: ReactNode;
|
3466
3545
|
multipleStepSize?: number | undefined;
|
3467
3546
|
view?: string | undefined;
|
3468
3547
|
size?: "s" | "m" | "l" | undefined;
|
3469
3548
|
type?: "single" | undefined;
|
3549
|
+
hasPointer?: boolean | undefined;
|
3550
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3470
3551
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3471
3552
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3472
3553
|
name?: string | undefined;
|
@@ -19,9 +19,9 @@ var config = exports.config = {
|
|
19
19
|
gradient: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n\n ", ": var(--surface-solid-tertiary);\n ", ": var(--on-light-surface-solid-card);\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--surface-solid-tertiary);\n\n ", ": var(--surface-accent-gradient);\n\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n "])), _styledComponents.sliderTokens.labelColor, _styledComponents.sliderTokens.rangeValueColor, _styledComponents.sliderTokens.thumbBorderColor, _styledComponents.sliderTokens.thumbBackgroundColor, _styledComponents.sliderTokens.thumbFocusBorderColor, _styledComponents.sliderTokens.railBackgroundColor, _styledComponents.sliderTokens.fillColor, _styledComponents.sliderTokens.textFieldColor, _styledComponents.sliderTokens.textFieldBackgroundColor, _styledComponents.sliderTokens.textFieldCaretColor, _styledComponents.sliderTokens.textFieldPlaceholderColor, _styledComponents.sliderTokens.textFiledFocusColor, _styledComponents.sliderTokens.textFieldActiveColor)
|
20
20
|
},
|
21
21
|
size: {
|
22
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 0.375rem;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": 0.875rem;\n\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,131 @@ 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
|
+
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;
|
38
117
|
} & 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
118
|
onChange?: ((value: number) => void) | undefined;
|
40
119
|
value: number;
|
41
120
|
name?: undefined;
|
42
121
|
defaultValue?: undefined;
|
122
|
+
} & {
|
123
|
+
orientation: "vertical";
|
124
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
125
|
+
scaleAlign?: undefined;
|
126
|
+
reversed?: boolean | undefined;
|
127
|
+
labelReversed?: boolean | undefined;
|
43
128
|
} & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
44
129
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
45
130
|
ariaLabel?: string | undefined;
|
46
131
|
showCurrentValue?: boolean | undefined;
|
47
132
|
showRangeValues?: boolean | undefined;
|
133
|
+
rangeValuesPlacement?: string | undefined;
|
134
|
+
showScale?: boolean | undefined;
|
48
135
|
hideMinValueDiff?: number | undefined;
|
49
136
|
hideMaxValueDiff?: number | undefined;
|
50
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
51
137
|
labelPlacement?: "outer" | "inner" | undefined;
|
138
|
+
labelContentLeft?: import("react").ReactNode;
|
139
|
+
labelContent?: import("react").ReactNode;
|
52
140
|
multipleStepSize?: number | undefined;
|
53
141
|
view?: string | undefined;
|
54
142
|
size?: "s" | "m" | "l" | undefined;
|
55
143
|
type?: "single" | undefined;
|
144
|
+
hasPointer?: boolean | undefined;
|
145
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
56
146
|
} & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("@salutejs/plasma-new-hope/styled-components").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
57
147
|
onChange?: ((event: import("@salutejs/plasma-new-hope/types/types/FormType").FormTypeString) => void) | undefined;
|
58
148
|
name?: string | undefined;
|
@@ -25,37 +25,24 @@ declare const HorizontalTabItem: React.FunctionComponent<import("@salutejs/plasm
|
|
25
25
|
};
|
26
26
|
}> & ((import("@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types").BaseTabItemProps & {
|
27
27
|
orientation?: "horizontal" | undefined;
|
28
|
-
contentLeft?: React.ReactNode;
|
29
28
|
pilled?: boolean | undefined;
|
30
29
|
animated?: boolean | undefined;
|
31
30
|
view?: string | undefined;
|
32
|
-
size?:
|
31
|
+
size?: string | undefined;
|
33
32
|
isActive?: boolean | undefined;
|
34
33
|
} & {
|
35
34
|
value?: string | number | undefined;
|
36
35
|
contentRight?: undefined;
|
37
36
|
} & React.RefAttributes<HTMLDivElement>) | (import("@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types").BaseTabItemProps & {
|
38
37
|
orientation?: "horizontal" | undefined;
|
39
|
-
contentLeft?: React.ReactNode;
|
40
38
|
pilled?: boolean | undefined;
|
41
39
|
animated?: boolean | undefined;
|
42
40
|
view?: string | undefined;
|
43
|
-
size?:
|
41
|
+
size?: string | undefined;
|
44
42
|
isActive?: boolean | undefined;
|
45
43
|
} & {
|
46
44
|
value?: undefined;
|
47
45
|
contentRight?: React.ReactNode;
|
48
|
-
} & React.RefAttributes<HTMLDivElement>) | (import("@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types").BaseTabItemProps & {
|
49
|
-
orientation?: "horizontal" | undefined;
|
50
|
-
contentLeft?: undefined;
|
51
|
-
pilled?: undefined;
|
52
|
-
animated?: undefined;
|
53
|
-
view?: string | undefined;
|
54
|
-
size: "h1" | "h2" | "h3" | "h4" | "h5";
|
55
|
-
isActive?: undefined;
|
56
|
-
} & {
|
57
|
-
value?: string | number | undefined;
|
58
|
-
contentRight?: undefined;
|
59
46
|
} & React.RefAttributes<HTMLDivElement>))>;
|
60
47
|
declare const VerticalTabItem: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
61
48
|
view: {
|
@@ -72,7 +59,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("@salutejs/plasma-
|
|
72
59
|
};
|
73
60
|
}> & ((import("@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types").BaseTabItemProps & {
|
74
61
|
orientation: "vertical";
|
75
|
-
contentLeft?: React.ReactNode;
|
76
62
|
view?: string | undefined;
|
77
63
|
size?: string | undefined;
|
78
64
|
} & {
|
@@ -80,7 +66,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("@salutejs/plasma-
|
|
80
66
|
contentRight?: undefined;
|
81
67
|
} & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/Tabs/TabItem.types").BaseTabItemProps & {
|
82
68
|
orientation: "vertical";
|
83
|
-
contentLeft?: React.ReactNode;
|
84
69
|
view?: string | undefined;
|
85
70
|
size?: string | undefined;
|
86
71
|
} & {
|
@@ -25,7 +25,7 @@ declare const HorizontalTabs: React.FunctionComponent<import("@salutejs/plasma-n
|
|
25
25
|
pilled: {
|
26
26
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
27
|
};
|
28
|
-
}> &
|
28
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types").BaseTabsProps & import("@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
|
29
29
|
declare const VerticalTabs: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
30
30
|
view: {
|
31
31
|
divider: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -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.
|
3
|
+
"version": "0.147.0-canary.1452.11462555994.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinPortal web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/sdds-finportal"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.
|
22
|
+
"@salutejs/plasma-new-hope": "0.174.0-canary.1452.11462555994.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": "68a2c2c7052c4069a8022e52ba189396563a5412"
|
98
98
|
}
|
@@ -67,7 +67,6 @@ import { CommitInstanceCallback } from '@salutejs/plasma-new-hope/types/componen
|
|
67
67
|
import { ComponentProps } from 'react';
|
68
68
|
import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
|
69
69
|
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
|
70
|
-
import { CustomHeaderTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
71
70
|
import { CustomHorizontalTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/Tabs.types';
|
72
71
|
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
|
73
72
|
import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
|
@@ -3436,37 +3435,119 @@ onChange?: ((event: FormTypeNumber) => void) | undefined;
|
|
3436
3435
|
name: string;
|
3437
3436
|
value?: undefined;
|
3438
3437
|
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
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3446
|
+
onChangeCommitted?: ((value: number) => void) | undefined;
|
3447
|
+
ariaLabel?: string | undefined;
|
3448
|
+
showCurrentValue?: boolean | undefined;
|
3449
|
+
showRangeValues?: boolean | undefined;
|
3450
|
+
rangeValuesPlacement?: string | undefined;
|
3451
|
+
showScale?: boolean | undefined;
|
3452
|
+
hideMinValueDiff?: number | undefined;
|
3453
|
+
hideMaxValueDiff?: number | undefined;
|
3454
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
3455
|
+
labelContentLeft?: ReactNode;
|
3456
|
+
labelContent?: ReactNode;
|
3457
|
+
multipleStepSize?: number | undefined;
|
3458
|
+
view?: string | undefined;
|
3459
|
+
size?: "s" | "m" | "l" | undefined;
|
3460
|
+
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;
|
3439
3474
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3440
3475
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3441
3476
|
ariaLabel?: string | undefined;
|
3442
3477
|
showCurrentValue?: boolean | undefined;
|
3443
3478
|
showRangeValues?: boolean | undefined;
|
3479
|
+
rangeValuesPlacement?: string | undefined;
|
3480
|
+
showScale?: boolean | undefined;
|
3444
3481
|
hideMinValueDiff?: number | undefined;
|
3445
3482
|
hideMaxValueDiff?: number | undefined;
|
3446
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3447
3483
|
labelPlacement?: "outer" | "inner" | undefined;
|
3484
|
+
labelContentLeft?: ReactNode;
|
3485
|
+
labelContent?: ReactNode;
|
3448
3486
|
multipleStepSize?: number | undefined;
|
3449
3487
|
view?: string | undefined;
|
3450
3488
|
size?: "s" | "m" | "l" | undefined;
|
3451
3489
|
type?: "single" | undefined;
|
3490
|
+
hasPointer?: boolean | undefined;
|
3491
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3452
3492
|
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3453
3493
|
onChange?: ((value: number) => void) | undefined;
|
3454
3494
|
value: number;
|
3455
3495
|
name?: undefined;
|
3456
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
|
+
} & RefAttributes<HTMLDivElement>) | (SliderBaseProps & SliderInternalProps & {
|
3523
|
+
onChange?: ((value: number) => void) | undefined;
|
3524
|
+
value: number;
|
3525
|
+
name?: undefined;
|
3526
|
+
defaultValue?: undefined;
|
3527
|
+
} & {
|
3528
|
+
orientation: "vertical";
|
3529
|
+
sliderAlign?: "none" | "center" | "right" | "left" | undefined;
|
3530
|
+
scaleAlign?: undefined;
|
3531
|
+
reversed?: boolean | undefined;
|
3532
|
+
labelReversed?: boolean | undefined;
|
3457
3533
|
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
|
3458
3534
|
onChangeCommitted?: ((value: number) => void) | undefined;
|
3459
3535
|
ariaLabel?: string | undefined;
|
3460
3536
|
showCurrentValue?: boolean | undefined;
|
3461
3537
|
showRangeValues?: boolean | undefined;
|
3538
|
+
rangeValuesPlacement?: string | undefined;
|
3539
|
+
showScale?: boolean | undefined;
|
3462
3540
|
hideMinValueDiff?: number | undefined;
|
3463
3541
|
hideMaxValueDiff?: number | undefined;
|
3464
|
-
rangeValuesPlacement?: "outer" | "inner" | undefined;
|
3465
3542
|
labelPlacement?: "outer" | "inner" | undefined;
|
3543
|
+
labelContentLeft?: ReactNode;
|
3544
|
+
labelContent?: ReactNode;
|
3466
3545
|
multipleStepSize?: number | undefined;
|
3467
3546
|
view?: string | undefined;
|
3468
3547
|
size?: "s" | "m" | "l" | undefined;
|
3469
3548
|
type?: "single" | undefined;
|
3549
|
+
hasPointer?: boolean | undefined;
|
3550
|
+
pointerSize?: "none" | "small" | "large" | undefined;
|
3470
3551
|
} & RefAttributes<HTMLDivElement>) | (Omit<DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
|
3471
3552
|
onChange?: ((event: FormTypeString) => void) | undefined;
|
3472
3553
|
name?: string | undefined;
|