@onesy/ui-react 1.0.19 → 1.0.20
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/Tooltip/Tooltip.js +0 -1
- package/esm/Tooltip/Tooltip.js +0 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
package/Tooltip/Tooltip.js
CHANGED
@@ -441,7 +441,6 @@ const Tooltip = react_1.default.forwardRef((props_, ref) => {
|
|
441
441
|
}, onMouseMove }, (click && {
|
442
442
|
onClick: (event) => {
|
443
443
|
var _a, _b;
|
444
|
-
event.stopPropagation();
|
445
444
|
if ((0, utils_1.is)('function', (_a = children === null || children === void 0 ? void 0 : children.props) === null || _a === void 0 ? void 0 : _a.onClick))
|
446
445
|
(_b = children === null || children === void 0 ? void 0 : children.props) === null || _b === void 0 ? void 0 : _b.onClick(event);
|
447
446
|
onClick(event);
|
package/esm/Tooltip/Tooltip.js
CHANGED
@@ -451,7 +451,6 @@ const Tooltip = /*#__PURE__*/React.forwardRef((props_, ref) => {
|
|
451
451
|
onMouseMove
|
452
452
|
}, click && {
|
453
453
|
onClick: event => {
|
454
|
-
event.stopPropagation();
|
455
454
|
if (is('function', children?.props?.onClick)) children?.props?.onClick(event);
|
456
455
|
onClick(event);
|
457
456
|
}
|
package/esm/index.js
CHANGED