@zenkigen-inc/component-ui 1.7.1 → 1.7.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/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/tooltip/tooltip.d.ts +3 -3
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -32794,7 +32794,7 @@ function Tooltip(_ref) {
|
|
|
32794
32794
|
horizontalAlign = _ref$horizontalAlign === void 0 ? 'center' : _ref$horizontalAlign,
|
|
32795
32795
|
_ref$isDisabledHover = _ref.isDisabledHover,
|
|
32796
32796
|
isDisabledHover = _ref$isDisabledHover === void 0 ? false : _ref$isDisabledHover,
|
|
32797
|
-
|
|
32797
|
+
portalTarget = _ref.portalTarget;
|
|
32798
32798
|
var _useTooltip = useTooltip(),
|
|
32799
32799
|
calculatePosition = _useTooltip.calculatePosition;
|
|
32800
32800
|
var _useState = useState(false),
|
|
@@ -32839,7 +32839,7 @@ function Tooltip(_ref) {
|
|
|
32839
32839
|
className: "relative flex items-center justify-center",
|
|
32840
32840
|
onMouseOver: handleMouseOverWrapper,
|
|
32841
32841
|
onMouseLeave: handleMouseOutWrapper,
|
|
32842
|
-
children: [children, isVisible && (
|
|
32842
|
+
children: [children, isVisible && (portalTarget == null ? /*#__PURE__*/jsx(TooltipContent, {
|
|
32843
32843
|
content: content,
|
|
32844
32844
|
size: size,
|
|
32845
32845
|
maxWidth: maxWidth,
|
|
@@ -32854,7 +32854,7 @@ function Tooltip(_ref) {
|
|
|
32854
32854
|
verticalPosition: verticalPosition,
|
|
32855
32855
|
horizontalAlign: horizontalAlign,
|
|
32856
32856
|
tooltipPosition: tooltipPosition
|
|
32857
|
-
}),
|
|
32857
|
+
}), portalTarget)))]
|
|
32858
32858
|
});
|
|
32859
32859
|
}
|
|
32860
32860
|
|