@synerise/ds-input-number 1.2.5 → 1.2.7

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.6...@synerise/ds-input-number@1.2.7) (2025-07-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-input-number
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.5...@synerise/ds-input-number@1.2.6) (2025-07-17)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-input-number
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.2.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.4...@synerise/ds-input-number@1.2.5) (2025-07-15)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-input-number
@@ -5,8 +5,8 @@ export declare const InputNumberContainer: import("styled-components").StyledCom
5
5
  export declare const AntdInputNumber: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<InputNumberProps<number> & React.RefAttributes<HTMLInputElement>>, any, {
6
6
  error: boolean;
7
7
  } & ThemeProps, never>;
8
- export declare const Prefixel: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const Suffixel: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const Prefixel: import("styled-components").StyledComponent<"div", any, ThemeProps, never>;
9
+ export declare const Suffixel: import("styled-components").StyledComponent<"div", any, ThemeProps, never>;
10
10
  export declare const InputNumberWrapper: import("styled-components").StyledComponent<"div", any, {
11
11
  prefixel: boolean;
12
12
  suffixel: boolean;
@@ -1,4 +1,6 @@
1
1
  import { type ReactText } from 'react';
2
2
  import { type Delimiter, type NumberToFormatOptions } from '@synerise/ds-data-format';
3
- export declare const formatNumber: (value: string | number | undefined | null, formatValue: (value: number, options: NumberToFormatOptions) => string, notationThousandDelimiter: Delimiter, notationDecimalDelimiter: Delimiter, valueFormatOptions?: NumberToFormatOptions) => string;
3
+ export declare const formatNumber: (
4
+ /** Important: value can be null when input string is '' */
5
+ value: string | number | undefined | null, formatValue: (value: number, options: NumberToFormatOptions) => string, notationThousandDelimiter: Delimiter, notationDecimalDelimiter: Delimiter, valueFormatOptions?: NumberToFormatOptions) => string;
4
6
  export declare const parseFormattedNumber: (value: string | undefined, formatValue: (value: number, options: NumberToFormatOptions) => string, notationThousandDelimiter: Delimiter, notationDecimalDelimiter: Delimiter) => ReactText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-input-number",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "Input-Number UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-data-format": "^1.0.1",
38
- "@synerise/ds-form-field": "^1.1.10",
39
- "@synerise/ds-utils": "^1.3.1",
37
+ "@synerise/ds-data-format": "^1.1.0",
38
+ "@synerise/ds-form-field": "^1.1.12",
39
+ "@synerise/ds-utils": "^1.4.0",
40
40
  "uuid": "^8.3.2"
41
41
  },
42
42
  "peerDependencies": {
@@ -45,5 +45,5 @@
45
45
  "react": ">=16.9.0 <= 18.3.1",
46
46
  "styled-components": "^5.3.3"
47
47
  },
48
- "gitHead": "f7c362a4f370d86b51df9aba9e91ac8f7fe4ed8f"
48
+ "gitHead": "b35b1875727156fe9f5b3bad55aed5ca447c8c8d"
49
49
  }