@synerise/ds-input-number 1.2.8 → 1.2.10
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.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.9...@synerise/ds-input-number@1.2.10) (2025-09-16)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @synerise/ds-input-number
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [1.2.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.8...@synerise/ds-input-number@1.2.9) (2025-08-28)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @synerise/ds-input-number
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
6
22
|
## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-input-number@1.2.7...@synerise/ds-input-number@1.2.8) (2025-08-14)
|
7
23
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-input-number
|
package/dist/InputNumber.js
CHANGED
@@ -3,8 +3,8 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
4
4
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
5
5
|
import { v4 as uuid } from 'uuid';
|
6
|
+
import { useDataFormat } from '@synerise/ds-core';
|
6
7
|
import '@synerise/ds-core/dist/js/style';
|
7
|
-
import { useDataFormat } from '@synerise/ds-data-format';
|
8
8
|
import FormField from '@synerise/ds-form-field';
|
9
9
|
import * as S from './InputNumber.styles';
|
10
10
|
import "./style/index.css";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { InputNumberProps as AntdInputNumberProps } from 'antd/lib/input-number';
|
2
2
|
import type { ReactNode } from 'react';
|
3
|
-
import type { NumberToFormatOptions } from '@synerise/ds-
|
3
|
+
import type { NumberToFormatOptions } from '@synerise/ds-core';
|
4
4
|
import type { FormFieldCommonProps } from '@synerise/ds-form-field';
|
5
5
|
export type InputNumberProps = AntdInputNumberProps<number> & {
|
6
6
|
defaultValue?: number | null;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type ReactText } from 'react';
|
2
|
-
import { type Delimiter, type NumberToFormatOptions } from '@synerise/ds-
|
2
|
+
import { type Delimiter, type NumberToFormatOptions } from '@synerise/ds-core';
|
3
3
|
export declare const formatNumber: (
|
4
4
|
/** Important: value can be null when input string is '' */
|
5
5
|
value: string | number | undefined | null, formatValue: (value: number, options: NumberToFormatOptions) => string, notationThousandDelimiter: Delimiter, notationDecimalDelimiter: Delimiter, valueFormatOptions?: NumberToFormatOptions) => string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@synerise/ds-input-number",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.10",
|
4
4
|
"description": "Input-Number UI Component for the Synerise Design System",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": "Synerise/synerise-design",
|
@@ -26,6 +26,7 @@
|
|
26
26
|
"test": "jest",
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
28
28
|
"types": "tsc --noEmit",
|
29
|
+
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
29
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
30
31
|
},
|
31
32
|
"sideEffects": [
|
@@ -34,9 +35,8 @@
|
|
34
35
|
],
|
35
36
|
"types": "dist/index.d.ts",
|
36
37
|
"dependencies": {
|
37
|
-
"@synerise/ds-
|
38
|
-
"@synerise/ds-
|
39
|
-
"@synerise/ds-utils": "^1.4.0",
|
38
|
+
"@synerise/ds-form-field": "^1.1.15",
|
39
|
+
"@synerise/ds-utils": "^1.4.2",
|
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": "
|
48
|
+
"gitHead": "5beb6ab5f2d77b9e98e04caab7dff20b8436078b"
|
49
49
|
}
|