@alfalab/core-components-number-input 1.2.1 → 1.2.2

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.
@@ -39,7 +39,7 @@ type NumberInputProps = Omit<InputProps, 'value' | 'onChange' | 'type'> & {
39
39
  valueString: string;
40
40
  }) => void;
41
41
  };
42
- declare const NumberInput: React.ForwardRefExoticComponent<Omit<InputProps, "onChange" | "type" | "value"> & {
42
+ declare const NumberInput: React.ForwardRefExoticComponent<Omit<InputProps, "type" | "onChange" | "value"> & {
43
43
  /**
44
44
  * Значение поля ввода
45
45
  */
@@ -12,4 +12,11 @@ declare function disableUserInput<T>(disabled: boolean | undefined, event: React
12
12
  declare const inputUtils: {
13
13
  disableUserInput: typeof disableUserInput;
14
14
  };
15
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils };
15
+ /**
16
+ * Возвращает true, если значение равно null или undefined
17
+ */
18
+ declare function isNil(value: unknown): boolean;
19
+ declare const fnUtils: {
20
+ isNil: typeof isNil;
21
+ };
22
+ export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -12,4 +12,11 @@ declare function disableUserInput<T>(disabled: boolean | undefined, event: React
12
12
  declare const inputUtils: {
13
13
  disableUserInput: typeof disableUserInput;
14
14
  };
15
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils };
15
+ /**
16
+ * Возвращает true, если значение равно null или undefined
17
+ */
18
+ declare function isNil(value: unknown): boolean;
19
+ declare const fnUtils: {
20
+ isNil: typeof isNil;
21
+ };
22
+ export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -12,4 +12,11 @@ declare function disableUserInput<T>(disabled: boolean | undefined, event: React
12
12
  declare const inputUtils: {
13
13
  disableUserInput: typeof disableUserInput;
14
14
  };
15
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils };
15
+ /**
16
+ * Возвращает true, если значение равно null или undefined
17
+ */
18
+ declare function isNil(value: unknown): boolean;
19
+ declare const fnUtils: {
20
+ isNil: typeof isNil;
21
+ };
22
+ export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
@@ -12,4 +12,11 @@ declare function disableUserInput<T>(disabled: boolean | undefined, event: React
12
12
  declare const inputUtils: {
13
13
  disableUserInput: typeof disableUserInput;
14
14
  };
15
- export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils };
15
+ /**
16
+ * Возвращает true, если значение равно null или undefined
17
+ */
18
+ declare function isNil(value: unknown): boolean;
19
+ declare const fnUtils: {
20
+ isNil: typeof isNil;
21
+ };
22
+ export { createPaddingStyle, isClient, getDataTestId, easingFns, inputUtils, fnUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-number-input",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@alfalab/core-components-input": "^12.1.1",
17
+ "@alfalab/core-components-input": "^12.1.2",
18
18
  "react-merge-refs": "^1.1.0",
19
19
  "tslib": "^2.4.0"
20
20
  }