assui 3.1.76 → 3.1.77

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.
@@ -70,9 +70,9 @@ var CopyToClipboard = function CopyToClipboard(props) {
70
70
  placement: "topLeft",
71
71
  open: tooltipVisible,
72
72
  title: tooltipTitle
73
- }, tooltipProps), /*#__PURE__*/React.cloneElement(children, {
73
+ }, tooltipProps), /*#__PURE__*/React.createElement("span", {
74
74
  onClick: onClick
75
- })) : /*#__PURE__*/React.cloneElement(children, {
75
+ }, children)) : /*#__PURE__*/React.cloneElement(children, {
76
76
  onClick: onClick
77
77
  });
78
78
  };
@@ -113,9 +113,9 @@ var CopyToClipboard = function CopyToClipboard(props) {
113
113
  placement: "topLeft",
114
114
  open: tooltipVisible,
115
115
  title: tooltipTitle
116
- }, tooltipProps), react_1["default"].cloneElement(children, {
116
+ }, tooltipProps), react_1["default"].createElement("span", {
117
117
  onClick: onClick
118
- })) : react_1["default"].cloneElement(children, {
118
+ }, children)) : react_1["default"].cloneElement(children, {
119
119
  onClick: onClick
120
120
  });
121
121
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.76",
3
+ "version": "3.1.77",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "25f97cf662b09a287d612a4ab8f68d09e1438617"
83
+ "gitHead": "92f67e49ce619e4ecfe7a2ac52a864dc3f58f94e"
84
84
  }