@synerise/ds-popconfirm 0.8.3 → 0.9.1

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,41 @@
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.9.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popconfirm@0.9.0...@synerise/ds-popconfirm@0.9.1) (2022-01-17)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-popconfirm
9
+
10
+
11
+
12
+
13
+
14
+ # [0.9.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popconfirm@0.8.5...@synerise/ds-popconfirm@0.9.0) (2022-01-13)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **popconfirm:** calls onVisibleChange from popconfirm ([ccdee25](https://github.com/Synerise/synerise-design/commit/ccdee25863dc36dbda6620a245ec2916532c293f))
20
+
21
+
22
+
23
+
24
+
25
+ ## [0.8.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popconfirm@0.8.4...@synerise/ds-popconfirm@0.8.5) (2021-12-29)
26
+
27
+ **Note:** Version bump only for package @synerise/ds-popconfirm
28
+
29
+
30
+
31
+
32
+
33
+ ## [0.8.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popconfirm@0.8.3...@synerise/ds-popconfirm@0.8.4) (2021-12-22)
34
+
35
+ **Note:** Version bump only for package @synerise/ds-popconfirm
36
+
37
+
38
+
39
+
40
+
6
41
  ## [0.8.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popconfirm@0.8.2...@synerise/ds-popconfirm@0.8.3) (2021-12-20)
7
42
 
8
43
 
@@ -63,7 +63,11 @@ var Popconfirm = function Popconfirm(_ref) {
63
63
  return /*#__PURE__*/React.createElement(S.AntdPopconfirm, _extends({}, antdProps, {
64
64
  visible: visible,
65
65
  onVisibleChange: function onVisibleChange(isVisible) {
66
- if (isVisible !== visible) setVisible(isVisible);
66
+ if (antdProps.onVisibleChange) {
67
+ antdProps.onVisibleChange(isVisible);
68
+ } else if (isVisible !== visible) {
69
+ setVisible(isVisible);
70
+ }
67
71
  },
68
72
  title: /*#__PURE__*/React.createElement(S.PopconfirmContent, {
69
73
  ref: popupRef
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-popconfirm",
3
- "version": "0.8.3",
3
+ "version": "0.9.1",
4
4
  "description": "Popconfirm UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,7 +32,8 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.16.2",
35
+ "@synerise/ds-button": "^0.16.4",
36
+ "@synerise/ds-icon": "^0.47.0",
36
37
  "@synerise/ds-typography": "^0.12.2",
37
38
  "@synerise/ds-utils": "^0.19.0"
38
39
  },
@@ -44,5 +45,5 @@
44
45
  "devDependencies": {
45
46
  "@synerise/ds-utils": "^0.11.5"
46
47
  },
47
- "gitHead": "dd78d8abea639d2d77cf841f8b41a1382cf8d827"
48
+ "gitHead": "56c08eca6e2a1e41b8a39e28a9ec657ac1bdec83"
48
49
  }