@synerise/ds-factors 0.12.0 → 0.12.2

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.12.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.12.1...@synerise/ds-factors@0.12.2) (2022-04-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix filter dropdowns ([eaab107](https://github.com/Synerise/synerise-design/commit/eaab107b6dca7401a17c2e36806febd11edc677b))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.12.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.12.0...@synerise/ds-factors@0.12.1) (2022-04-08)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-factors
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.12.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.11.9...@synerise/ds-factors@0.12.0) (2022-04-05)
7
26
 
8
27
 
@@ -48,6 +48,7 @@ var ParameterInput = function ParameterInput(_ref) {
48
48
 
49
49
  if (opened) {
50
50
  onParamsClick && onParamsClick();
51
+ onActivate && onActivate();
51
52
  } // eslint-disable-next-line
52
53
 
53
54
  }, [opened]);
@@ -55,13 +56,14 @@ var ParameterInput = function ParameterInput(_ref) {
55
56
  !preventAutoloadData && onParamsClick && onParamsClick(); // eslint-disable-next-line
56
57
  }, []);
57
58
  var onDropdownVisibilityChange = React.useCallback(function (newValue) {
58
- return newValue && onActivate && onActivate();
59
+ newValue && onActivate && onActivate();
60
+ !newValue && setDropdownVisible(false);
59
61
  }, [onActivate]);
60
62
  return /*#__PURE__*/React.createElement("div", {
61
63
  "data-popup-container": true
62
64
  }, /*#__PURE__*/React.createElement(Dropdown, {
63
65
  visible: dropdownVisible,
64
- getPopupContainer: getPopupContainer,
66
+ getPopupContainer: getPopupContainerOverride || getPopupContainer,
65
67
  onVisibleChange: onDropdownVisibilityChange,
66
68
  overlay: /*#__PURE__*/React.createElement(ParameterDropdown, _extends({
67
69
  setDropdownVisible: setDropdownVisible,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -36,10 +36,10 @@
36
36
  "@synerise/ds-badge": "^0.6.2",
37
37
  "@synerise/ds-button": "^0.17.2",
38
38
  "@synerise/ds-date-picker": "^0.6.16",
39
- "@synerise/ds-date-range-picker": "^0.12.11",
39
+ "@synerise/ds-date-range-picker": "^0.12.12",
40
40
  "@synerise/ds-dropdown": "^0.17.16",
41
41
  "@synerise/ds-icon": "^0.49.0",
42
- "@synerise/ds-inline-edit": "^0.6.10",
42
+ "@synerise/ds-inline-edit": "^0.6.11",
43
43
  "@synerise/ds-input": "^0.18.10",
44
44
  "@synerise/ds-input-number": "^0.6.9",
45
45
  "@synerise/ds-menu": "^0.13.2",
@@ -55,5 +55,5 @@
55
55
  "@synerise/ds-core": "*",
56
56
  "react": ">=16.9.0 < 17.0.0"
57
57
  },
58
- "gitHead": "5793ce09feb88b36cc8ca1923ddfcb272b889cb0"
58
+ "gitHead": "78a3de75d8ec9c917d96c1b54c70d24f50dc8c7a"
59
59
  }