@synerise/ds-factors 0.20.15 → 0.20.17
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,25 @@
|
|
|
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.20.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.16...@synerise/ds-factors@0.20.17) (2024-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **filter:** fixed zindex issues ([71ce5bc](https://github.com/Synerise/synerise-design/commit/71ce5bcf25f2107fd1b43969d2c255e18c112b47))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.20.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.15...@synerise/ds-factors@0.20.16) (2023-12-14)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.20.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.14...@synerise/ds-factors@0.20.15) (2023-12-13)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-factors
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { getPopupContainer } from '@synerise/ds-utils';
|
|
2
3
|
import DatePicker from '@synerise/ds-date-picker/dist/DatePicker';
|
|
3
4
|
|
|
4
5
|
var DateInput = function DateInput(_ref) {
|
|
@@ -10,7 +11,8 @@ var DateInput = function DateInput(_ref) {
|
|
|
10
11
|
onActivate = _ref.onActivate,
|
|
11
12
|
error = _ref.error,
|
|
12
13
|
_ref$readOnly = _ref.readOnly,
|
|
13
|
-
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly
|
|
14
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
15
|
+
getPopupContainerOverride = _ref.getPopupContainerOverride;
|
|
14
16
|
|
|
15
17
|
var _useState = useState(value),
|
|
16
18
|
localValue = _useState[0],
|
|
@@ -53,6 +55,7 @@ var DateInput = function DateInput(_ref) {
|
|
|
53
55
|
readOnly: readOnly,
|
|
54
56
|
dropdownProps: {
|
|
55
57
|
visible: opened,
|
|
58
|
+
getPopupContainer: getPopupContainerOverride || getPopupContainer,
|
|
56
59
|
onVisibleChange: handleVisibleChange
|
|
57
60
|
}
|
|
58
61
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { InputProps } from '../../Factors.types';
|
|
2
|
-
declare const DateRangeInput: ({ value, onChange, error, texts, onDeactivate, readOnly }: InputProps) => JSX.Element;
|
|
2
|
+
declare const DateRangeInput: ({ getPopupContainerOverride, value, onChange, error, texts, onDeactivate, readOnly, }: InputProps) => JSX.Element;
|
|
3
3
|
export default DateRangeInput;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import DateRangePicker from '@synerise/ds-date-range-picker';
|
|
3
|
+
import { getPopupContainer } from '@synerise/ds-utils';
|
|
3
4
|
import { useIntl } from 'react-intl';
|
|
4
5
|
|
|
5
6
|
var DateRangeInput = function DateRangeInput(_ref) {
|
|
6
|
-
var
|
|
7
|
+
var getPopupContainerOverride = _ref.getPopupContainerOverride,
|
|
8
|
+
value = _ref.value,
|
|
7
9
|
onChange = _ref.onChange,
|
|
8
10
|
error = _ref.error,
|
|
9
11
|
texts = _ref.texts,
|
|
@@ -24,6 +26,7 @@ var DateRangeInput = function DateRangeInput(_ref) {
|
|
|
24
26
|
onApply: changeHandler,
|
|
25
27
|
onValueChange: changeHandler,
|
|
26
28
|
showTime: true,
|
|
29
|
+
getPopupContainer: getPopupContainerOverride || getPopupContainer,
|
|
27
30
|
showFilter: true,
|
|
28
31
|
value: value,
|
|
29
32
|
texts: texts.dateRangePicker,
|
package/dist/Factors.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const factorTypes: {
|
|
|
44
44
|
dateRange: {
|
|
45
45
|
icon: JSX.Element;
|
|
46
46
|
name: string;
|
|
47
|
-
input: ({ value, onChange, error, texts, onDeactivate, readOnly }: import("./Factors.types").InputProps) => JSX.Element;
|
|
47
|
+
input: ({ getPopupContainerOverride, value, onChange, error, texts, onDeactivate, readOnly, }: import("./Factors.types").InputProps) => JSX.Element;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
declare const Factors: React.FC<FactorsProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.17",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,24 +33,24 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-autocomplete": "^0.5.
|
|
36
|
+
"@synerise/ds-autocomplete": "^0.5.13",
|
|
37
37
|
"@synerise/ds-badge": "^0.6.46",
|
|
38
|
-
"@synerise/ds-button": "^0.18.
|
|
39
|
-
"@synerise/ds-date-picker": "^0.10.
|
|
40
|
-
"@synerise/ds-date-range-picker": "^0.26.
|
|
41
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
42
|
-
"@synerise/ds-icon": "^0.
|
|
43
|
-
"@synerise/ds-information-card": "^0.3.
|
|
44
|
-
"@synerise/ds-inline-edit": "^0.6.
|
|
45
|
-
"@synerise/ds-input": "^0.19.
|
|
46
|
-
"@synerise/ds-input-number": "^0.
|
|
38
|
+
"@synerise/ds-button": "^0.18.10",
|
|
39
|
+
"@synerise/ds-date-picker": "^0.10.30",
|
|
40
|
+
"@synerise/ds-date-range-picker": "^0.26.3",
|
|
41
|
+
"@synerise/ds-dropdown": "^0.17.92",
|
|
42
|
+
"@synerise/ds-icon": "^0.59.0",
|
|
43
|
+
"@synerise/ds-information-card": "^0.3.52",
|
|
44
|
+
"@synerise/ds-inline-edit": "^0.6.92",
|
|
45
|
+
"@synerise/ds-input": "^0.19.13",
|
|
46
|
+
"@synerise/ds-input-number": "^0.9.0",
|
|
47
47
|
"@synerise/ds-loader": "^0.2.51",
|
|
48
|
-
"@synerise/ds-menu": "^0.18.
|
|
49
|
-
"@synerise/ds-modal": "^0.17.
|
|
50
|
-
"@synerise/ds-result": "^0.6.
|
|
51
|
-
"@synerise/ds-scrollbar": "^0.7.
|
|
52
|
-
"@synerise/ds-tabs": "^0.13.
|
|
53
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
48
|
+
"@synerise/ds-menu": "^0.18.9",
|
|
49
|
+
"@synerise/ds-modal": "^0.17.15",
|
|
50
|
+
"@synerise/ds-result": "^0.6.41",
|
|
51
|
+
"@synerise/ds-scrollbar": "^0.7.1",
|
|
52
|
+
"@synerise/ds-tabs": "^0.13.90",
|
|
53
|
+
"@synerise/ds-tooltip": "^0.14.14",
|
|
54
54
|
"@synerise/ds-utils": "^0.24.23",
|
|
55
55
|
"lodash": "^4.17.19",
|
|
56
56
|
"react-intl": "3.12.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@testing-library/react": "10.0.1",
|
|
68
68
|
"@testing-library/user-event": "^10.3.1"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "ba51e38beff83b8adba409f09311131f429ada01"
|
|
71
71
|
}
|