@synerise/ds-factors 0.25.2 → 0.25.3
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 +8 -0
- package/dist/FactorValue/DynamicKey/DynamicKey.d.ts +1 -1
- package/dist/FactorValue/DynamicKey/DynamicKey.js +1 -1
- package/dist/FactorValue/FactorValue.d.ts +1 -1
- package/dist/FactorValue/FactorValue.js +1 -1
- package/dist/FactorValue/Formula/FormulaModal.d.ts +1 -1
- package/dist/FactorValue/Formula/FormulaModal.js +1 -1
- package/dist/FactorValue/Number/NumberInput.d.ts +2 -2
- package/dist/FactorValue/Number/NumberInput.js +4 -5
- package/dist/FactorValue/Text/TextModal.d.ts +1 -1
- package/dist/FactorValue/Text/TextModal.js +1 -1
- package/dist/Factors.d.ts +2 -2
- package/dist/Factors.js +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [0.25.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.25.2...@synerise/ds-factors@0.25.3) (2024-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.25.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.25.1...@synerise/ds-factors@0.25.2) (2024-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-factors
|
|
@@ -4,7 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import { RawInput } from '@synerise/ds-input';
|
|
9
9
|
import { debounce } from 'lodash';
|
|
10
10
|
import * as S from './DynamicKey.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { InputProps } from '../../Factors.types';
|
|
3
|
-
declare const NumberInput: React.
|
|
3
|
+
declare const NumberInput: ({ error, value, onChange, texts, opened, onDeactivate, readOnly }: InputProps) => React.JSX.Element;
|
|
4
4
|
export default NumberInput;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
2
2
|
import InputNumber from '@synerise/ds-input-number';
|
|
3
3
|
import { debounce } from 'lodash';
|
|
4
|
-
import { useEffect, useRef } from 'react';
|
|
5
4
|
|
|
6
5
|
var NumberInput = function NumberInput(_ref) {
|
|
7
6
|
var error = _ref.error,
|
|
@@ -13,9 +12,9 @@ var NumberInput = function NumberInput(_ref) {
|
|
|
13
12
|
_ref$readOnly = _ref.readOnly,
|
|
14
13
|
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly;
|
|
15
14
|
|
|
16
|
-
var
|
|
17
|
-
localValue =
|
|
18
|
-
setLocalValue =
|
|
15
|
+
var _useState = useState(value),
|
|
16
|
+
localValue = _useState[0],
|
|
17
|
+
setLocalValue = _useState[1];
|
|
19
18
|
|
|
20
19
|
var onChangeRef = useRef(onChange);
|
|
21
20
|
useEffect(function () {
|
package/dist/Factors.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { FactorsProps } from './Factors.types';
|
|
3
3
|
export declare const factorTypes: {
|
|
4
4
|
text: {
|
|
@@ -9,7 +9,7 @@ export declare const factorTypes: {
|
|
|
9
9
|
number: {
|
|
10
10
|
icon: React.JSX.Element;
|
|
11
11
|
name: string;
|
|
12
|
-
input:
|
|
12
|
+
input: ({ error, value, onChange, texts, opened, onDeactivate, readOnly }: import("./Factors.types").InputProps) => React.JSX.Element;
|
|
13
13
|
};
|
|
14
14
|
parameter: {
|
|
15
15
|
icon: React.JSX.Element;
|
package/dist/Factors.js
CHANGED
|
@@ -4,7 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
|
|
5
5
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
9
|
import { BookM, Calendar2M, DynamicKeyM, FormulaM, HashM, ListM, ShowM, TextM } from '@synerise/ds-icon';
|
|
10
10
|
import * as S from './style/Factors.style';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.3",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,27 +33,27 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-autocomplete": "^0.8.
|
|
37
|
-
"@synerise/ds-badge": "^0.8.
|
|
38
|
-
"@synerise/ds-button": "^0.21.
|
|
39
|
-
"@synerise/ds-date-picker": "^0.11.
|
|
40
|
-
"@synerise/ds-date-range-picker": "^0.29.
|
|
41
|
-
"@synerise/ds-dropdown": "^0.18.
|
|
42
|
-
"@synerise/ds-icon": "^0.65.
|
|
43
|
-
"@synerise/ds-information-card": "^0.5.
|
|
44
|
-
"@synerise/ds-inline-edit": "^0.8.
|
|
45
|
-
"@synerise/ds-input": "^0.24.
|
|
46
|
-
"@synerise/ds-input-number": "^0.10.
|
|
47
|
-
"@synerise/ds-list-item": "^0.4.
|
|
48
|
-
"@synerise/ds-menu": "^0.19.
|
|
49
|
-
"@synerise/ds-modal": "^0.17.
|
|
50
|
-
"@synerise/ds-result": "^0.7.
|
|
51
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
52
|
-
"@synerise/ds-skeleton": "^0.6.
|
|
53
|
-
"@synerise/ds-tabs": "^0.16.
|
|
54
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
55
|
-
"@synerise/ds-utils": "^0.29.
|
|
56
|
-
"lodash": "^4.17.
|
|
36
|
+
"@synerise/ds-autocomplete": "^0.8.19",
|
|
37
|
+
"@synerise/ds-badge": "^0.8.10",
|
|
38
|
+
"@synerise/ds-button": "^0.21.11",
|
|
39
|
+
"@synerise/ds-date-picker": "^0.11.17",
|
|
40
|
+
"@synerise/ds-date-range-picker": "^0.29.12",
|
|
41
|
+
"@synerise/ds-dropdown": "^0.18.15",
|
|
42
|
+
"@synerise/ds-icon": "^0.65.6",
|
|
43
|
+
"@synerise/ds-information-card": "^0.5.9",
|
|
44
|
+
"@synerise/ds-inline-edit": "^0.8.11",
|
|
45
|
+
"@synerise/ds-input": "^0.24.5",
|
|
46
|
+
"@synerise/ds-input-number": "^0.10.6",
|
|
47
|
+
"@synerise/ds-list-item": "^0.4.11",
|
|
48
|
+
"@synerise/ds-menu": "^0.19.15",
|
|
49
|
+
"@synerise/ds-modal": "^0.17.42",
|
|
50
|
+
"@synerise/ds-result": "^0.7.5",
|
|
51
|
+
"@synerise/ds-scrollbar": "^0.11.11",
|
|
52
|
+
"@synerise/ds-skeleton": "^0.6.9",
|
|
53
|
+
"@synerise/ds-tabs": "^0.16.1",
|
|
54
|
+
"@synerise/ds-tooltip": "^0.14.41",
|
|
55
|
+
"@synerise/ds-utils": "^0.29.3",
|
|
56
|
+
"lodash": "^4.17.21",
|
|
57
57
|
"react-intl": "3.12.0",
|
|
58
58
|
"react-window": "1.8.5",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react": ">=16.9.0 <= 17.0.2",
|
|
65
65
|
"styled-components": "5.0.1"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
|
|
68
68
|
}
|