@luminati-io/uikit 6.1.3 → 6.1.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -46114,7 +46114,6 @@ var _Tooltip = function Tooltip(_ref) {
46114
46114
  var tooltipRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
46115
46115
  if (visible && tooltip != tooltipRef.current && typeof update == 'function') update();
46116
46116
  tooltipRef.current = tooltip;
46117
- if (!tooltip) return children;
46118
46117
  var triggerProps = {};
46119
46118
  if (trigger == 'hover') {
46120
46119
  triggerProps.onPointerEnter = show;
@@ -46123,7 +46122,7 @@ var _Tooltip = function Tooltip(_ref) {
46123
46122
  triggerProps.onFocus = show;
46124
46123
  triggerProps.onBlur = hide;
46125
46124
  }
46126
- var tooltipNode = visible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipBody, _extends({
46125
+ var tooltipNode = tooltip && visible ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledTooltipBody, _extends({
46127
46126
  ref: setPopperElement,
46128
46127
  role: "tooltip",
46129
46128
  $variant: variant,