@salutejs/sdds-cs 0.325.0-dev.0 → 0.326.0-canary.2065.16966189484.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
19
19
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
20
20
  };
21
21
  }> & (({
22
- value?: number;
22
+ value?: string | number;
23
23
  min?: number;
24
24
  max?: number;
25
25
  step?: number;
@@ -38,14 +38,14 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
38
38
  customDecrementButton?: import("react").ReactNode;
39
39
  decrementIcon?: import("react").ReactNode;
40
40
  isManualInput?: boolean;
41
- onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value: number | string) => void;
41
+ onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value: number | string | undefined) => void;
42
42
  onIncrement?: (value: number) => void;
43
43
  onDecrement?: (value: number) => void;
44
44
  } & {
45
45
  segmentation?: "clear";
46
46
  inputBackgroundType?: never;
47
47
  } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
48
- value?: number;
48
+ value?: string | number;
49
49
  min?: number;
50
50
  max?: number;
51
51
  step?: number;
@@ -64,7 +64,7 @@ export declare const NumberInput: import("react").FunctionComponent<import("@sal
64
64
  customDecrementButton?: import("react").ReactNode;
65
65
  decrementIcon?: import("react").ReactNode;
66
66
  isManualInput?: boolean;
67
- onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value: number | string) => void;
67
+ onChange?: (event: import("react").SyntheticEvent<HTMLInputElement> | null, value: number | string | undefined) => void;
68
68
  onIncrement?: (value: number) => void;
69
69
  onDecrement?: (value: number) => void;
70
70
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.325.0-dev.0",
3
+ "version": "0.326.0-canary.2065.16966189484.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "directory": "packages/sdds-cs"
31
31
  },
32
32
  "dependencies": {
33
- "@salutejs/plasma-new-hope": "0.333.0-dev.0",
33
+ "@salutejs/plasma-new-hope": "0.334.0-canary.2065.16966189484.0",
34
34
  "@salutejs/sdds-themes": "0.45.0-dev.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -123,5 +123,5 @@
123
123
  "Anton Vinogradov"
124
124
  ],
125
125
  "sideEffects": false,
126
- "gitHead": "e1396b0bef4ae773c438eff6f1d00d3203422a0e"
126
+ "gitHead": "99fd7efe54833458da3a20dac6ae63c8f4fb0b56"
127
127
  }