@salutejs/sdds-finportal 0.155.0-canary.1500.11610401138.0 → 0.155.0-canary.1511.11616350336.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -136,6 +136,8 @@ import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-comp
136
136
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
137
137
  import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
138
138
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
139
+ import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
140
+ import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
139
141
  import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
140
142
  import { Overlay } from '@salutejs/plasma-new-hope/styled-components';
141
143
  import { OverlayProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -194,6 +196,7 @@ import { StepItemProps } from '@salutejs/plasma-new-hope/styled-components';
194
196
  import { StepsProps } from '@salutejs/plasma-new-hope/types/components/Steps/Steps.types';
195
197
  import { StyledComponent } from 'styled-components';
196
198
  import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
199
+ import { SyntheticEvent } from 'react';
197
200
  import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
198
201
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
199
202
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -569,7 +572,6 @@ true: PolymorphicClassName;
569
572
  text?: string | undefined;
570
573
  contentLeft?: ReactNode;
571
574
  contentRight?: ReactNode;
572
- maxWidth?: string | undefined;
573
575
  size?: string | undefined;
574
576
  view?: string | undefined;
575
577
  } & {
@@ -582,7 +584,6 @@ transparent?: false | undefined;
582
584
  text?: string | undefined;
583
585
  contentLeft?: ReactNode;
584
586
  contentRight?: ReactNode;
585
- maxWidth?: string | undefined;
586
587
  size?: string | undefined;
587
588
  view?: string | undefined;
588
589
  } & {
@@ -595,7 +596,6 @@ clear?: false | undefined;
595
596
  text?: string | undefined;
596
597
  contentLeft?: ReactNode;
597
598
  contentRight?: ReactNode;
598
- maxWidth?: string | undefined;
599
599
  size?: string | undefined;
600
600
  view?: string | undefined;
601
601
  } & {
@@ -2915,6 +2915,92 @@ export const NotificationsProvider: React_2.FC<{
2915
2915
  placement?: NotificationPlacement;
2916
2916
  }>;
2917
2917
 
2918
+ // @public (undocumented)
2919
+ export const NumberInput: FunctionComponent<PropsType< {
2920
+ view: {
2921
+ default: PolymorphicClassName;
2922
+ secondary: PolymorphicClassName;
2923
+ accent: PolymorphicClassName;
2924
+ clear: PolymorphicClassName;
2925
+ };
2926
+ size: {
2927
+ l: PolymorphicClassName;
2928
+ m: PolymorphicClassName;
2929
+ s: PolymorphicClassName;
2930
+ xs: PolymorphicClassName;
2931
+ };
2932
+ shape: {
2933
+ cornered: PolymorphicClassName;
2934
+ pilled: PolymorphicClassName;
2935
+ };
2936
+ inputBackgroundType: {
2937
+ fill: PolymorphicClassName;
2938
+ clear: PolymorphicClassName;
2939
+ };
2940
+ segmentation: {
2941
+ default: PolymorphicClassName;
2942
+ segmented: PolymorphicClassName;
2943
+ solid: PolymorphicClassName;
2944
+ };
2945
+ disabled: {
2946
+ true: PolymorphicClassName;
2947
+ };
2948
+ }> & (({
2949
+ value?: number | undefined;
2950
+ min?: number | undefined;
2951
+ max?: number | undefined;
2952
+ step?: number | undefined;
2953
+ isLoading?: boolean | undefined;
2954
+ loader?: ReactNode;
2955
+ size?: string | undefined;
2956
+ view?: string | undefined;
2957
+ clear?: boolean | undefined;
2958
+ shape?: string | undefined;
2959
+ disabled?: boolean | undefined;
2960
+ textBefore?: string | undefined;
2961
+ textAfter?: string | undefined;
2962
+ customIncrementButton?: ReactNode;
2963
+ incrementIcon?: ReactNode;
2964
+ customDecrementButton?: ReactNode;
2965
+ decrementIcon?: ReactNode;
2966
+ isManualInput?: boolean | undefined;
2967
+ onChange?: ((event: SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
2968
+ onIncrement?: ((value: number) => void) | undefined;
2969
+ onDecrement?: ((value: number) => void) | undefined;
2970
+ } & {
2971
+ segmentation?: "clear" | undefined;
2972
+ inputBackgroundType?: undefined;
2973
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
2974
+ value?: number | undefined;
2975
+ min?: number | undefined;
2976
+ max?: number | undefined;
2977
+ step?: number | undefined;
2978
+ isLoading?: boolean | undefined;
2979
+ loader?: ReactNode;
2980
+ size?: string | undefined;
2981
+ view?: string | undefined;
2982
+ clear?: boolean | undefined;
2983
+ shape?: string | undefined;
2984
+ disabled?: boolean | undefined;
2985
+ textBefore?: string | undefined;
2986
+ textAfter?: string | undefined;
2987
+ customIncrementButton?: ReactNode;
2988
+ incrementIcon?: ReactNode;
2989
+ customDecrementButton?: ReactNode;
2990
+ decrementIcon?: ReactNode;
2991
+ isManualInput?: boolean | undefined;
2992
+ onChange?: ((event: SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
2993
+ onIncrement?: ((value: number) => void) | undefined;
2994
+ onDecrement?: ((value: number) => void) | undefined;
2995
+ } & {
2996
+ segmentation?: string | undefined;
2997
+ inputBackgroundType?: string | undefined;
2998
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
2999
+
3000
+ export { numberInputClasses }
3001
+
3002
+ export { numberInputTokens }
3003
+
2918
3004
  export { Overlay }
2919
3005
 
2920
3006
  export { OverlayProps }
@@ -3346,7 +3432,7 @@ accent: PolymorphicClassName;
3346
3432
  chipView?: string | undefined;
3347
3433
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3348
3434
  target?: "button-like" | undefined;
3349
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3435
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3350
3436
  contentLeft?: undefined;
3351
3437
  labelPlacement?: undefined;
3352
3438
  placeholder?: undefined;
@@ -3384,7 +3470,7 @@ accent: PolymorphicClassName;
3384
3470
  chipView?: string | undefined;
3385
3471
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3386
3472
  target?: "button-like" | undefined;
3387
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3473
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3388
3474
  contentLeft?: undefined;
3389
3475
  labelPlacement?: undefined;
3390
3476
  placeholder?: undefined;
@@ -31,7 +31,6 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
31
31
  text?: string | undefined;
32
32
  contentLeft?: import("react").ReactNode;
33
33
  contentRight?: import("react").ReactNode;
34
- maxWidth?: string | undefined;
35
34
  size?: string | undefined;
36
35
  view?: string | undefined;
37
36
  } & {
@@ -44,7 +43,6 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
44
43
  text?: string | undefined;
45
44
  contentLeft?: import("react").ReactNode;
46
45
  contentRight?: import("react").ReactNode;
47
- maxWidth?: string | undefined;
48
46
  size?: string | undefined;
49
47
  view?: string | undefined;
50
48
  } & {
@@ -57,7 +55,6 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
57
55
  text?: string | undefined;
58
56
  contentLeft?: import("react").ReactNode;
59
57
  contentRight?: import("react").ReactNode;
60
- maxWidth?: string | undefined;
61
58
  size?: string | undefined;
62
59
  view?: string | undefined;
63
60
  } & {
@@ -0,0 +1,38 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ shape: string;
6
+ inputBackgroundType: string;
7
+ };
8
+ variations: {
9
+ view: {
10
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
+ secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
+ };
15
+ size: {
16
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
19
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
20
+ };
21
+ shape: {
22
+ cornered: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
+ pilled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
+ };
25
+ inputBackgroundType: {
26
+ fill: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
27
+ clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
28
+ };
29
+ segmentation: {
30
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
31
+ segmented: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
32
+ solid: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
33
+ };
34
+ disabled: {
35
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
36
+ };
37
+ };
38
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 'l',
14
+ shape: 'cornered',
15
+ inputBackgroundType: 'fill'
16
+ },
17
+ variations: {
18
+ view: {
19
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--inverse-text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--inverse-surface-transparent-secondary);\n ", ": var(--surface-solid-default);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--surface-solid-default-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), _styledComponents.numberInputTokens.caretColor, _styledComponents.numberInputTokens.errorColor, _styledComponents.numberInputTokens.backgroundErrorColor, _styledComponents.numberInputTokens.color, _styledComponents.numberInputTokens.colorSolid, _styledComponents.numberInputTokens.additionalTextColor, _styledComponents.numberInputTokens.additionalTextColorSolid, _styledComponents.numberInputTokens.backgroundColorFocus, _styledComponents.numberInputTokens.backgroundColorSolidFocus, _styledComponents.numberInputTokens.backgroundColorSolid, _styledComponents.numberInputTokens.iconButtonColor, _styledComponents.numberInputTokens.iconButtonBackgroundColor, _styledComponents.numberInputTokens.iconButtonColorHover, _styledComponents.numberInputTokens.iconButtonColorSolidHover, _styledComponents.numberInputTokens.iconButtonBackgroundColorHover, _styledComponents.numberInputTokens.iconButtonColorActive, _styledComponents.numberInputTokens.iconButtonColorSolidActive, _styledComponents.numberInputTokens.iconButtonBackgroundColorActive, _styledComponents.numberInputTokens.actionButtonDisabledOpacity, _styledComponents.numberInputTokens.loaderSpinnerColor, _styledComponents.numberInputTokens.loaderSpinnerColorSolid),
20
+ secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--text-primary-active);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), _styledComponents.numberInputTokens.caretColor, _styledComponents.numberInputTokens.errorColor, _styledComponents.numberInputTokens.backgroundErrorColor, _styledComponents.numberInputTokens.color, _styledComponents.numberInputTokens.colorSolid, _styledComponents.numberInputTokens.additionalTextColor, _styledComponents.numberInputTokens.additionalTextColorSolid, _styledComponents.numberInputTokens.backgroundColorFocus, _styledComponents.numberInputTokens.backgroundColorSolidFocus, _styledComponents.numberInputTokens.backgroundColorSolid, _styledComponents.numberInputTokens.iconButtonColor, _styledComponents.numberInputTokens.iconButtonBackgroundColor, _styledComponents.numberInputTokens.iconButtonColorHover, _styledComponents.numberInputTokens.iconButtonColorSolidHover, _styledComponents.numberInputTokens.iconButtonBackgroundColorHover, _styledComponents.numberInputTokens.iconButtonColorActive, _styledComponents.numberInputTokens.iconButtonColorSolidActive, _styledComponents.numberInputTokens.iconButtonBackgroundColorActive, _styledComponents.numberInputTokens.actionButtonDisabledOpacity, _styledComponents.numberInputTokens.loaderSpinnerColor, _styledComponents.numberInputTokens.loaderSpinnerColorSolid),
21
+ accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--on-dark-text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--on-dark-surface-transparent-secondary);\n ", ": var(--surface-accent);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--surface-accent-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--surface-accent-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), _styledComponents.numberInputTokens.caretColor, _styledComponents.numberInputTokens.caretColorSolid, _styledComponents.numberInputTokens.errorColor, _styledComponents.numberInputTokens.backgroundErrorColor, _styledComponents.numberInputTokens.color, _styledComponents.numberInputTokens.colorSolid, _styledComponents.numberInputTokens.additionalTextColor, _styledComponents.numberInputTokens.additionalTextColorSolid, _styledComponents.numberInputTokens.backgroundColorFocus, _styledComponents.numberInputTokens.backgroundColorSolidFocus, _styledComponents.numberInputTokens.backgroundColorSolid, _styledComponents.numberInputTokens.iconButtonColor, _styledComponents.numberInputTokens.iconButtonBackgroundColor, _styledComponents.numberInputTokens.iconButtonColorHover, _styledComponents.numberInputTokens.iconButtonColorSolidHover, _styledComponents.numberInputTokens.iconButtonBackgroundColorHover, _styledComponents.numberInputTokens.iconButtonColorActive, _styledComponents.numberInputTokens.iconButtonColorSolidActive, _styledComponents.numberInputTokens.iconButtonBackgroundColorActive, _styledComponents.numberInputTokens.actionButtonDisabledOpacity, _styledComponents.numberInputTokens.loaderSpinnerColor, _styledComponents.numberInputTokens.loaderSpinnerColorSolid),
22
+ clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": transparent;\n\n ", ": var(--text-primary);\n ", ": transparent;\n ", ": var(--text-primary-hover);\n ", ": transparent;\n ", ": var(--text-primary-active);\n ", ": transparent;\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), _styledComponents.numberInputTokens.caretColor, _styledComponents.numberInputTokens.caretColorSolid, _styledComponents.numberInputTokens.errorColor, _styledComponents.numberInputTokens.backgroundErrorColor, _styledComponents.numberInputTokens.color, _styledComponents.numberInputTokens.colorSolid, _styledComponents.numberInputTokens.iconButtonColorSolidHover, _styledComponents.numberInputTokens.additionalTextColor, _styledComponents.numberInputTokens.additionalTextColorSolid, _styledComponents.numberInputTokens.backgroundColorFocus, _styledComponents.numberInputTokens.backgroundColorSolidFocus, _styledComponents.numberInputTokens.backgroundColorSolid, _styledComponents.numberInputTokens.iconButtonColor, _styledComponents.numberInputTokens.iconButtonBackgroundColor, _styledComponents.numberInputTokens.iconButtonColorHover, _styledComponents.numberInputTokens.iconButtonBackgroundColorHover, _styledComponents.numberInputTokens.iconButtonColorActive, _styledComponents.numberInputTokens.iconButtonBackgroundColorActive, _styledComponents.numberInputTokens.actionButtonDisabledOpacity, _styledComponents.numberInputTokens.loaderSpinnerColor, _styledComponents.numberInputTokens.loaderSpinnerColorSolid)
23
+ },
24
+ size: {
25
+ l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 11.75rem;\n ", ": 3.5rem;\n ", ": 3.5rem;\n ", ": 1.5rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.875rem;\n ", ": 0.375rem;\n\n ", ": 0 0.125rem;\n ", ": 0.875rem;\n ", ": 3.5rem;\n ", ": 1.063rem 1.125rem;\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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), _styledComponents.numberInputTokens.rootMinWidth, _styledComponents.numberInputTokens.iconButtonHeight, _styledComponents.numberInputTokens.iconButtonWidth, _styledComponents.numberInputTokens.iconButtonPadding, _styledComponents.numberInputTokens.iconButtonFontFamily, _styledComponents.numberInputTokens.iconButtonFontSize, _styledComponents.numberInputTokens.iconButtonFontStyle, _styledComponents.numberInputTokens.iconButtonFontWeight, _styledComponents.numberInputTokens.iconButtonLetterSpacing, _styledComponents.numberInputTokens.iconButtonLineHeight, _styledComponents.numberInputTokens.iconButtonRadius, _styledComponents.numberInputTokens.iconButtonSegmentationRadius, _styledComponents.numberInputTokens.inputWrapperMargin, _styledComponents.numberInputTokens.inputWrapperBorderRadius, _styledComponents.numberInputTokens.textWrapperHeight, _styledComponents.numberInputTokens.textWrapperPadding, _styledComponents.numberInputTokens.fontFamily, _styledComponents.numberInputTokens.fontSize, _styledComponents.numberInputTokens.fontStyle, _styledComponents.numberInputTokens.fontWeight, _styledComponents.numberInputTokens.letterSpacing, _styledComponents.numberInputTokens.lineHeight, _styledComponents.numberInputTokens.textBeforeMarginRight, _styledComponents.numberInputTokens.textAfterMarginLeft, _styledComponents.numberInputTokens.loaderSpinnerSize),
26
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 10.25rem;\n ", ": 3rem;\n ", ": 3rem;\n ", ": 1.25rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.75rem;\n ", ": 3rem;\n ", ": 0.875rem 1rem;\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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), _styledComponents.numberInputTokens.rootMinWidth, _styledComponents.numberInputTokens.iconButtonHeight, _styledComponents.numberInputTokens.iconButtonWidth, _styledComponents.numberInputTokens.iconButtonPadding, _styledComponents.numberInputTokens.iconButtonFontFamily, _styledComponents.numberInputTokens.iconButtonFontSize, _styledComponents.numberInputTokens.iconButtonFontStyle, _styledComponents.numberInputTokens.iconButtonFontWeight, _styledComponents.numberInputTokens.iconButtonLetterSpacing, _styledComponents.numberInputTokens.iconButtonLineHeight, _styledComponents.numberInputTokens.iconButtonRadius, _styledComponents.numberInputTokens.iconButtonSegmentationRadius, _styledComponents.numberInputTokens.inputWrapperMargin, _styledComponents.numberInputTokens.inputWrapperBorderRadius, _styledComponents.numberInputTokens.textWrapperHeight, _styledComponents.numberInputTokens.textWrapperPadding, _styledComponents.numberInputTokens.fontFamily, _styledComponents.numberInputTokens.fontSize, _styledComponents.numberInputTokens.fontStyle, _styledComponents.numberInputTokens.fontWeight, _styledComponents.numberInputTokens.letterSpacing, _styledComponents.numberInputTokens.lineHeight, _styledComponents.numberInputTokens.textBeforeMarginRight, _styledComponents.numberInputTokens.textAfterMarginLeft, _styledComponents.numberInputTokens.loaderSpinnerSize),
27
+ s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 8.75rem;\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.625rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.625rem;\n ", ": 2.5rem;\n ", ": 0.688rem 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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), _styledComponents.numberInputTokens.rootMinWidth, _styledComponents.numberInputTokens.iconButtonHeight, _styledComponents.numberInputTokens.iconButtonWidth, _styledComponents.numberInputTokens.iconButtonPadding, _styledComponents.numberInputTokens.iconButtonFontFamily, _styledComponents.numberInputTokens.iconButtonFontSize, _styledComponents.numberInputTokens.iconButtonFontStyle, _styledComponents.numberInputTokens.iconButtonFontWeight, _styledComponents.numberInputTokens.iconButtonLetterSpacing, _styledComponents.numberInputTokens.iconButtonLineHeight, _styledComponents.numberInputTokens.iconButtonRadius, _styledComponents.numberInputTokens.iconButtonSegmentationRadius, _styledComponents.numberInputTokens.inputWrapperMargin, _styledComponents.numberInputTokens.inputWrapperBorderRadius, _styledComponents.numberInputTokens.textWrapperHeight, _styledComponents.numberInputTokens.textWrapperPadding, _styledComponents.numberInputTokens.fontFamily, _styledComponents.numberInputTokens.fontSize, _styledComponents.numberInputTokens.fontStyle, _styledComponents.numberInputTokens.fontWeight, _styledComponents.numberInputTokens.letterSpacing, _styledComponents.numberInputTokens.lineHeight, _styledComponents.numberInputTokens.textBeforeMarginRight, _styledComponents.numberInputTokens.textAfterMarginLeft, _styledComponents.numberInputTokens.loaderSpinnerSize),
28
+ xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 6.875rem;\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0.5rem;\n ", ": 0.125rem;\n\n ", ": 0 0.125rem;\n ", ": 0.5rem;\n ", ": 2rem;\n ", ": 0.563rem 0.625rem;\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 ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1rem;\n "])), _styledComponents.numberInputTokens.rootMinWidth, _styledComponents.numberInputTokens.iconButtonHeight, _styledComponents.numberInputTokens.iconButtonWidth, _styledComponents.numberInputTokens.iconButtonPadding, _styledComponents.numberInputTokens.iconButtonFontFamily, _styledComponents.numberInputTokens.iconButtonFontSize, _styledComponents.numberInputTokens.iconButtonFontStyle, _styledComponents.numberInputTokens.iconButtonFontWeight, _styledComponents.numberInputTokens.iconButtonLetterSpacing, _styledComponents.numberInputTokens.iconButtonLineHeight, _styledComponents.numberInputTokens.iconButtonRadius, _styledComponents.numberInputTokens.iconButtonSegmentationRadius, _styledComponents.numberInputTokens.inputWrapperMargin, _styledComponents.numberInputTokens.inputWrapperBorderRadius, _styledComponents.numberInputTokens.textWrapperHeight, _styledComponents.numberInputTokens.textWrapperPadding, _styledComponents.numberInputTokens.fontFamily, _styledComponents.numberInputTokens.fontSize, _styledComponents.numberInputTokens.fontStyle, _styledComponents.numberInputTokens.fontWeight, _styledComponents.numberInputTokens.letterSpacing, _styledComponents.numberInputTokens.lineHeight, _styledComponents.numberInputTokens.textBeforeMarginRight, _styledComponents.numberInputTokens.textAfterMarginLeft, _styledComponents.numberInputTokens.loaderSpinnerSize)
29
+ },
30
+ shape: {
31
+ cornered: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
32
+ pilled: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 50%;\n "])), _styledComponents.numberInputTokens.iconButtonRadius)
33
+ },
34
+ inputBackgroundType: {
35
+ fill: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-primary);\n ", ": var(--surface-transparent-primary);\n "])), _styledComponents.numberInputTokens.backgroundColor, _styledComponents.numberInputTokens.backgroundColorHover),
36
+ clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": transparent;\n ", ": transparent;\n "])), _styledComponents.numberInputTokens.backgroundColor, _styledComponents.numberInputTokens.backgroundColorHover)
37
+ },
38
+ segmentation: {
39
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
40
+ segmented: /*#__PURE__*/(0, _styledComponents.css)(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
41
+ solid: /*#__PURE__*/(0, _styledComponents.css)(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n "])), _styledComponents.numberInputTokens.iconButtonSegmentationRadius)
42
+ },
43
+ disabled: {
44
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.numberInputTokens.disabledOpacity)
45
+ }
46
+ }
47
+ };
@@ -0,0 +1,81 @@
1
+ /// <reference types="react" />
2
+ export declare const NumberInput: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
3
+ view: {
4
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
5
+ secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
6
+ accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
+ clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
8
+ };
9
+ size: {
10
+ l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
+ m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
+ s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
+ xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
+ };
15
+ shape: {
16
+ cornered: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
+ pilled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
+ };
19
+ inputBackgroundType: {
20
+ fill: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
+ clear: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
22
+ };
23
+ segmentation: {
24
+ default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
+ segmented: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
26
+ solid: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
27
+ };
28
+ disabled: {
29
+ true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
30
+ };
31
+ }> & (({
32
+ value?: number | undefined;
33
+ min?: number | undefined;
34
+ max?: number | undefined;
35
+ step?: number | undefined;
36
+ isLoading?: boolean | undefined;
37
+ loader?: import("react").ReactNode;
38
+ size?: string | undefined;
39
+ view?: string | undefined;
40
+ clear?: boolean | undefined;
41
+ shape?: string | undefined;
42
+ disabled?: boolean | undefined;
43
+ textBefore?: string | undefined;
44
+ textAfter?: string | undefined;
45
+ customIncrementButton?: import("react").ReactNode;
46
+ incrementIcon?: import("react").ReactNode;
47
+ customDecrementButton?: import("react").ReactNode;
48
+ decrementIcon?: import("react").ReactNode;
49
+ isManualInput?: boolean | undefined;
50
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
51
+ onIncrement?: ((value: number) => void) | undefined;
52
+ onDecrement?: ((value: number) => void) | undefined;
53
+ } & {
54
+ segmentation?: "clear" | undefined;
55
+ inputBackgroundType?: undefined;
56
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
57
+ value?: number | undefined;
58
+ min?: number | undefined;
59
+ max?: number | undefined;
60
+ step?: number | undefined;
61
+ isLoading?: boolean | undefined;
62
+ loader?: import("react").ReactNode;
63
+ size?: string | undefined;
64
+ view?: string | undefined;
65
+ clear?: boolean | undefined;
66
+ shape?: string | undefined;
67
+ disabled?: boolean | undefined;
68
+ textBefore?: string | undefined;
69
+ textAfter?: string | undefined;
70
+ customIncrementButton?: import("react").ReactNode;
71
+ incrementIcon?: import("react").ReactNode;
72
+ customDecrementButton?: import("react").ReactNode;
73
+ decrementIcon?: import("react").ReactNode;
74
+ isManualInput?: boolean | undefined;
75
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
76
+ onIncrement?: ((value: number) => void) | undefined;
77
+ onDecrement?: ((value: number) => void) | undefined;
78
+ } & {
79
+ segmentation?: string | undefined;
80
+ inputBackgroundType?: string | undefined;
81
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NumberInput = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("./NumberInput.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.numberInputConfig, _NumberInput.config);
10
+ var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -0,0 +1,2 @@
1
+ export { NumberInput } from './NumberInput';
2
+ export { numberInputTokens, numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "NumberInput", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _NumberInput.NumberInput;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "numberInputClasses", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _styledComponents.numberInputClasses;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "numberInputTokens", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _styledComponents.numberInputTokens;
22
+ }
23
+ });
24
+ var _NumberInput = /*#__PURE__*/require("./NumberInput");
25
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
@@ -102,7 +102,7 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
102
102
  chipView?: string | undefined;
103
103
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
104
104
  target?: "button-like" | undefined;
105
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
105
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
106
106
  contentLeft?: undefined;
107
107
  labelPlacement?: undefined;
108
108
  placeholder?: undefined;
@@ -140,7 +140,7 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
140
140
  chipView?: string | undefined;
141
141
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
142
142
  target?: "button-like" | undefined;
143
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
143
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
144
144
  contentLeft?: undefined;
145
145
  labelPlacement?: undefined;
146
146
  placeholder?: undefined;
@@ -23,9 +23,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("@salutejs/plasm
23
23
  pilled: {
24
24
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
25
  };
26
- truncate: {
27
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
28
- };
29
26
  }> & ((import("@salutejs/plasma-new-hope/styled-components").BaseTabItemProps & {
30
27
  orientation?: "horizontal" | undefined;
31
28
  contentLeft?: React.ReactNode;
@@ -73,9 +70,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("@salutejs/plasma-
73
70
  disabled: {
74
71
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
75
72
  };
76
- truncate: {
77
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
78
- };
79
73
  }> & ((import("@salutejs/plasma-new-hope/styled-components").BaseTabItemProps & {
80
74
  orientation: "vertical";
81
75
  contentLeft?: React.ReactNode;
@@ -27,8 +27,5 @@ export declare const config: {
27
27
  pilled: {
28
28
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
29
29
  };
30
- truncate: {
31
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
32
- };
33
30
  };
34
31
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.config = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
10
  var config = exports.config = {
11
11
  defaults: {
@@ -35,9 +35,6 @@ var config = exports.config = {
35
35
  },
36
36
  pilled: {
37
37
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n "])), _styledComponents.tabsTokens.itemPilledBorderRadius)
38
- },
39
- truncate: {
40
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral([""])))
41
38
  }
42
39
  }
43
40
  };
@@ -16,8 +16,5 @@ export declare const config: {
16
16
  disabled: {
17
17
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
18
  };
19
- truncate: {
20
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
- };
22
19
  };
23
20
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.config = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
10
  var config = exports.config = {
11
11
  defaults: {
@@ -24,9 +24,6 @@ var config = exports.config = {
24
24
  },
25
25
  disabled: {
26
26
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.tabsTokens.disabledOpacity)
27
- },
28
- truncate: {
29
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral([""])))
30
27
  }
31
28
  }
32
29
  };
@@ -0,0 +1,41 @@
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
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, numberInputTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
4
+ export var config = {
5
+ defaults: {
6
+ view: 'default',
7
+ size: 'l',
8
+ shape: 'cornered',
9
+ inputBackgroundType: 'fill'
10
+ },
11
+ variations: {
12
+ view: {
13
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--inverse-text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--inverse-surface-transparent-secondary);\n ", ": var(--surface-solid-default);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--surface-solid-default-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.errorColor, tokens.backgroundErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.backgroundColorFocus, tokens.backgroundColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
14
+ secondary: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--text-primary-active);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.errorColor, tokens.backgroundErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.backgroundColorFocus, tokens.backgroundColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
15
+ accent: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--on-dark-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--on-dark-text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--on-dark-surface-transparent-secondary);\n ", ": var(--surface-accent);\n\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--on-dark-text-primary-hover);\n ", ": var(--surface-accent-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--on-dark-text-primary-active);\n ", ": var(--surface-accent-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.caretColorSolid, tokens.errorColor, tokens.backgroundErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.backgroundColorFocus, tokens.backgroundColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
16
+ clear: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-transparent-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": transparent;\n\n ", ": var(--text-primary);\n ", ": transparent;\n ", ": var(--text-primary-hover);\n ", ": transparent;\n ", ": var(--text-primary-active);\n ", ": transparent;\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.caretColorSolid, tokens.errorColor, tokens.backgroundErrorColor, tokens.color, tokens.colorSolid, tokens.iconButtonColorSolidHover, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.backgroundColorFocus, tokens.backgroundColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid)
17
+ },
18
+ size: {
19
+ l: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 11.75rem;\n ", ": 3.5rem;\n ", ": 3.5rem;\n ", ": 1.5rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.875rem;\n ", ": 0.375rem;\n\n ", ": 0 0.125rem;\n ", ": 0.875rem;\n ", ": 3.5rem;\n ", ": 1.063rem 1.125rem;\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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
20
+ m: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 10.25rem;\n ", ": 3rem;\n ", ": 3rem;\n ", ": 1.25rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.75rem;\n ", ": 3rem;\n ", ": 0.875rem 1rem;\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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
21
+ s: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 8.75rem;\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.625rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.625rem;\n ", ": 2.5rem;\n ", ": 0.688rem 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.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
22
+ xs: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 6.875rem;\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\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-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0.5rem;\n ", ": 0.125rem;\n\n ", ": 0 0.125rem;\n ", ": 0.5rem;\n ", ": 2rem;\n ", ": 0.563rem 0.625rem;\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 ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize)
23
+ },
24
+ shape: {
25
+ cornered: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
26
+ pilled: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 50%;\n "])), tokens.iconButtonRadius)
27
+ },
28
+ inputBackgroundType: {
29
+ fill: /*#__PURE__*/css(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-primary);\n ", ": var(--surface-transparent-primary);\n "])), tokens.backgroundColor, tokens.backgroundColorHover),
30
+ clear: /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": transparent;\n ", ": transparent;\n "])), tokens.backgroundColor, tokens.backgroundColorHover)
31
+ },
32
+ segmentation: {
33
+ "default": /*#__PURE__*/css(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
34
+ segmented: /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
35
+ solid: /*#__PURE__*/css(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n "])), tokens.iconButtonSegmentationRadius)
36
+ },
37
+ disabled: {
38
+ "true": /*#__PURE__*/css(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), tokens.disabledOpacity)
39
+ }
40
+ }
41
+ };
@@ -0,0 +1,4 @@
1
+ import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './NumberInput.config';
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(numberInputConfig, config);
4
+ export var NumberInput = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,2 @@
1
+ export { NumberInput } from './NumberInput';
2
+ export { numberInputTokens, numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
@@ -29,9 +29,6 @@ export var config = {
29
29
  },
30
30
  pilled: {
31
31
  "true": /*#__PURE__*/css(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n "])), tabsTokens.itemPilledBorderRadius)
32
- },
33
- truncate: {
34
- "true": /*#__PURE__*/css(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral([""])))
35
32
  }
36
33
  }
37
34
  };
@@ -1,4 +1,4 @@
1
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css, tabsTokens } from '@salutejs/plasma-new-hope/styled-components';
4
4
  export var config = {
@@ -18,9 +18,6 @@ export var config = {
18
18
  },
19
19
  disabled: {
20
20
  "true": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), tabsTokens.disabledOpacity)
21
- },
22
- truncate: {
23
- "true": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral([""])))
24
21
  }
25
22
  }
26
23
  };
package/es/index.js CHANGED
@@ -55,5 +55,6 @@ export * from './components/Autocomplete';
55
55
  export * from './components/EmptyState';
56
56
  export * from './components/Attach';
57
57
  export * from './components/ViewContainer';
58
+ export * from './components/NumberInput';
58
59
  export * from './mixins';
59
60
  export * from './tokens';
package/index.d.ts CHANGED
@@ -55,5 +55,6 @@ export * from './components/Autocomplete';
55
55
  export * from './components/EmptyState';
56
56
  export * from './components/Attach';
57
57
  export * from './components/ViewContainer';
58
+ export * from './components/NumberInput';
58
59
  export * from './mixins';
59
60
  export * from './tokens';
package/index.js CHANGED
@@ -630,6 +630,17 @@ Object.keys(_ViewContainer).forEach(function (key) {
630
630
  }
631
631
  });
632
632
  });
633
+ var _NumberInput = /*#__PURE__*/require("./components/NumberInput");
634
+ Object.keys(_NumberInput).forEach(function (key) {
635
+ if (key === "default" || key === "__esModule") return;
636
+ if (key in exports && exports[key] === _NumberInput[key]) return;
637
+ Object.defineProperty(exports, key, {
638
+ enumerable: true,
639
+ get: function get() {
640
+ return _NumberInput[key];
641
+ }
642
+ });
643
+ });
633
644
  var _mixins = /*#__PURE__*/require("./mixins");
634
645
  Object.keys(_mixins).forEach(function (key) {
635
646
  if (key === "default" || key === "__esModule") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-finportal",
3
- "version": "0.155.0-canary.1500.11610401138.0",
3
+ "version": "0.155.0-canary.1511.11616350336.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.182.0-canary.1500.11610401138.0",
22
+ "@salutejs/plasma-new-hope": "0.182.0-canary.1511.11616350336.0",
23
23
  "@salutejs/sdds-themes": "0.26.0"
24
24
  },
25
25
  "peerDependencies": {
@@ -94,5 +94,5 @@
94
94
  "Vasiliy Loginevskiy"
95
95
  ],
96
96
  "sideEffects": false,
97
- "gitHead": "eb3290efd3e0dfc5541cbcacecd8280fd5d5fee4"
97
+ "gitHead": "d3fc04e62e36c78df984417ed46fd0f6c0780b81"
98
98
  }
@@ -136,6 +136,8 @@ import { NotificationIconPlacement } from '@salutejs/plasma-new-hope/styled-comp
136
136
  import { NotificationLayout } from '@salutejs/plasma-new-hope/styled-components';
137
137
  import { NotificationPlacement } from '@salutejs/plasma-new-hope/styled-components';
138
138
  import { NotificationProps } from '@salutejs/plasma-new-hope/styled-components';
139
+ import { numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
140
+ import { numberInputTokens } from '@salutejs/plasma-new-hope/styled-components';
139
141
  import { Orientation } from '@salutejs/plasma-new-hope/types/components/TextFieldGroup/TextFieldGroup.types';
140
142
  import { Overlay } from '@salutejs/plasma-new-hope/styled-components';
141
143
  import { OverlayProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -194,6 +196,7 @@ import { StepItemProps } from '@salutejs/plasma-new-hope/styled-components';
194
196
  import { StepsProps } from '@salutejs/plasma-new-hope/types/components/Steps/Steps.types';
195
197
  import { StyledComponent } from 'styled-components';
196
198
  import { SwitchProps as SwitchProps_2 } from '@salutejs/plasma-new-hope/styled-components';
199
+ import { SyntheticEvent } from 'react';
197
200
  import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
198
201
  import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
199
202
  import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
@@ -569,7 +572,6 @@ true: PolymorphicClassName;
569
572
  text?: string | undefined;
570
573
  contentLeft?: ReactNode;
571
574
  contentRight?: ReactNode;
572
- maxWidth?: string | undefined;
573
575
  size?: string | undefined;
574
576
  view?: string | undefined;
575
577
  } & {
@@ -582,7 +584,6 @@ transparent?: false | undefined;
582
584
  text?: string | undefined;
583
585
  contentLeft?: ReactNode;
584
586
  contentRight?: ReactNode;
585
- maxWidth?: string | undefined;
586
587
  size?: string | undefined;
587
588
  view?: string | undefined;
588
589
  } & {
@@ -595,7 +596,6 @@ clear?: false | undefined;
595
596
  text?: string | undefined;
596
597
  contentLeft?: ReactNode;
597
598
  contentRight?: ReactNode;
598
- maxWidth?: string | undefined;
599
599
  size?: string | undefined;
600
600
  view?: string | undefined;
601
601
  } & {
@@ -2915,6 +2915,92 @@ export const NotificationsProvider: React_2.FC<{
2915
2915
  placement?: NotificationPlacement;
2916
2916
  }>;
2917
2917
 
2918
+ // @public (undocumented)
2919
+ export const NumberInput: FunctionComponent<PropsType< {
2920
+ view: {
2921
+ default: PolymorphicClassName;
2922
+ secondary: PolymorphicClassName;
2923
+ accent: PolymorphicClassName;
2924
+ clear: PolymorphicClassName;
2925
+ };
2926
+ size: {
2927
+ l: PolymorphicClassName;
2928
+ m: PolymorphicClassName;
2929
+ s: PolymorphicClassName;
2930
+ xs: PolymorphicClassName;
2931
+ };
2932
+ shape: {
2933
+ cornered: PolymorphicClassName;
2934
+ pilled: PolymorphicClassName;
2935
+ };
2936
+ inputBackgroundType: {
2937
+ fill: PolymorphicClassName;
2938
+ clear: PolymorphicClassName;
2939
+ };
2940
+ segmentation: {
2941
+ default: PolymorphicClassName;
2942
+ segmented: PolymorphicClassName;
2943
+ solid: PolymorphicClassName;
2944
+ };
2945
+ disabled: {
2946
+ true: PolymorphicClassName;
2947
+ };
2948
+ }> & (({
2949
+ value?: number | undefined;
2950
+ min?: number | undefined;
2951
+ max?: number | undefined;
2952
+ step?: number | undefined;
2953
+ isLoading?: boolean | undefined;
2954
+ loader?: ReactNode;
2955
+ size?: string | undefined;
2956
+ view?: string | undefined;
2957
+ clear?: boolean | undefined;
2958
+ shape?: string | undefined;
2959
+ disabled?: boolean | undefined;
2960
+ textBefore?: string | undefined;
2961
+ textAfter?: string | undefined;
2962
+ customIncrementButton?: ReactNode;
2963
+ incrementIcon?: ReactNode;
2964
+ customDecrementButton?: ReactNode;
2965
+ decrementIcon?: ReactNode;
2966
+ isManualInput?: boolean | undefined;
2967
+ onChange?: ((event: SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
2968
+ onIncrement?: ((value: number) => void) | undefined;
2969
+ onDecrement?: ((value: number) => void) | undefined;
2970
+ } & {
2971
+ segmentation?: "clear" | undefined;
2972
+ inputBackgroundType?: undefined;
2973
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
2974
+ value?: number | undefined;
2975
+ min?: number | undefined;
2976
+ max?: number | undefined;
2977
+ step?: number | undefined;
2978
+ isLoading?: boolean | undefined;
2979
+ loader?: ReactNode;
2980
+ size?: string | undefined;
2981
+ view?: string | undefined;
2982
+ clear?: boolean | undefined;
2983
+ shape?: string | undefined;
2984
+ disabled?: boolean | undefined;
2985
+ textBefore?: string | undefined;
2986
+ textAfter?: string | undefined;
2987
+ customIncrementButton?: ReactNode;
2988
+ incrementIcon?: ReactNode;
2989
+ customDecrementButton?: ReactNode;
2990
+ decrementIcon?: ReactNode;
2991
+ isManualInput?: boolean | undefined;
2992
+ onChange?: ((event: SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
2993
+ onIncrement?: ((value: number) => void) | undefined;
2994
+ onDecrement?: ((value: number) => void) | undefined;
2995
+ } & {
2996
+ segmentation?: string | undefined;
2997
+ inputBackgroundType?: string | undefined;
2998
+ } & Omit<InputHTMLAttributes_2<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;
2999
+
3000
+ export { numberInputClasses }
3001
+
3002
+ export { numberInputTokens }
3003
+
2918
3004
  export { Overlay }
2919
3005
 
2920
3006
  export { OverlayProps }
@@ -3346,7 +3432,7 @@ accent: PolymorphicClassName;
3346
3432
  chipView?: string | undefined;
3347
3433
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3348
3434
  target?: "button-like" | undefined;
3349
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3435
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3350
3436
  contentLeft?: undefined;
3351
3437
  labelPlacement?: undefined;
3352
3438
  placeholder?: undefined;
@@ -3384,7 +3470,7 @@ accent: PolymorphicClassName;
3384
3470
  chipView?: string | undefined;
3385
3471
  } & Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React_2.RefAttributes<HTMLButtonElement>) | ({
3386
3472
  target?: "button-like" | undefined;
3387
- view?: "default" | "clear" | "accent" | "secondary" | "positive" | "warning" | "negative" | "dark" | "black" | "white" | undefined;
3473
+ view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
3388
3474
  contentLeft?: undefined;
3389
3475
  labelPlacement?: undefined;
3390
3476
  placeholder?: undefined;