@synerise/ds-factors 0.16.4 → 0.16.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 +33 -0
- package/dist/FactorValue/Text/Text.js +2 -2
- package/dist/Factors.types.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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.16.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.16.6...@synerise/ds-factors@0.16.7) (2023-01-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **factors:** add autoResize in FactorValueProps ([85a7c38](https://github.com/Synerise/synerise-design/commit/85a7c384d1784e43f9c8425c15aee100f8c300f9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.16.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.16.5...@synerise/ds-factors@0.16.6) (2023-01-30)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **factors:** fix debounce on onChange ([954808d](https://github.com/Synerise/synerise-design/commit/954808daf1498f1c2260eb3d47c38cd9fed2452a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [0.16.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.16.4...@synerise/ds-factors@0.16.5) (2023-01-30)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **factors:** fix debounce on onChange ([ea297f7](https://github.com/Synerise/synerise-design/commit/ea297f7f298a5493b58bdb6ef3a18750ebf64443))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
## [0.16.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.16.3...@synerise/ds-factors@0.16.4) (2023-01-25)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @synerise/ds-factors
|
|
@@ -69,8 +69,8 @@ var TextInput = function TextInput(_ref) {
|
|
|
69
69
|
}, [onChangeDebounce]);
|
|
70
70
|
var handleAutocomplete = React.useCallback(function (val) {
|
|
71
71
|
setLocalValue(val);
|
|
72
|
-
|
|
73
|
-
}, [
|
|
72
|
+
onChangeDebounce(val);
|
|
73
|
+
}, [onChangeDebounce]);
|
|
74
74
|
var autocompleteOptions = React.useMemo(function () {
|
|
75
75
|
return autocompleteText && autocompleteText.options.filter(function (option) {
|
|
76
76
|
return option.toLowerCase().includes(String(localValue).toLowerCase());
|
package/dist/Factors.types.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare type FactorsProps = {
|
|
|
105
105
|
loading?: boolean;
|
|
106
106
|
preventAutoloadData?: boolean;
|
|
107
107
|
withCustomFactor?: React.ReactNode;
|
|
108
|
-
inputProps?: InputProps
|
|
108
|
+
inputProps?: Partial<InputProps>;
|
|
109
109
|
readOnly?: boolean;
|
|
110
110
|
};
|
|
111
111
|
export declare type FactorTypeSelectorProps = Pick<FactorsProps, 'unavailableFactorTypes' | 'availableFactorTypes' | 'selectedFactorType' | 'readOnly'> & {
|
|
@@ -115,7 +115,7 @@ export declare type FactorTypeSelectorProps = Pick<FactorsProps, 'unavailableFac
|
|
|
115
115
|
[k in DefinedFactorTypes]: string;
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
export declare type FactorValueProps = Pick<FactorsProps, 'onChangeValue' | 'onParamsClick' | 'value' | 'selectedFactorType' | 'parameters' | 'autocompleteText' | 'withoutTypeSelector' | 'textType' | 'formulaEditor' | 'opened' | 'loading' | 'factorKey' | 'preventAutoloadData' | 'getPopupContainerOverride' | 'onActivate' | 'onDeactivate' | 'error' | 'inputProps' | 'readOnly'> & {
|
|
118
|
+
export declare type FactorValueProps = Pick<FactorsProps, 'onChangeValue' | 'onParamsClick' | 'value' | 'selectedFactorType' | 'parameters' | 'autocompleteText' | 'withoutTypeSelector' | 'textType' | 'formulaEditor' | 'opened' | 'loading' | 'factorKey' | 'preventAutoloadData' | 'getPopupContainerOverride' | 'onActivate' | 'onDeactivate' | 'error' | 'inputProps' | 'autoResize' | 'readOnly'> & {
|
|
119
119
|
texts: FactorsTexts;
|
|
120
120
|
selectedFactor: SelectedFactorType;
|
|
121
121
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.7",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"@synerise/ds-core": "*",
|
|
57
57
|
"react": ">=16.9.0 < 17.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "0975dde05fb11432a2dbfdde59a64b8277426110"
|
|
60
60
|
}
|