@cypress-design/react-tooltip 0.3.3 → 0.3.4

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.umd.js CHANGED
@@ -30418,7 +30418,7 @@ var Tooltip = function (_a) {
30418
30418
  var colors = getColors();
30419
30419
  return (React__namespace.createElement(React__namespace.Fragment, null,
30420
30420
  React__namespace.createElement("div", __assign({}, getReferenceProps(), { ref: reference, className: className }, rest), children),
30421
- React__namespace.createElement(FloatingPortal, null, open && !disabled && (React__namespace.createElement("div", __assign({}, getFloatingProps({
30421
+ disabled ? null : (React__namespace.createElement(FloatingPortal, null, open && (React__namespace.createElement("div", __assign({}, getFloatingProps({
30422
30422
  ref: floating,
30423
30423
  style: __assign({ position: strategy, top: y !== null && y !== void 0 ? y : '', left: x !== null && x !== void 0 ? x : '' }, (interactive ? { padding: '16px' } : {}))
30424
30424
  })),
@@ -30438,7 +30438,7 @@ var Tooltip = function (_a) {
30438
30438
  _b), fill: "none" },
30439
30439
  React__namespace.createElement("rect", { x: "0", y: "0", width: "48", height: "4", strokeWidth: "0" }),
30440
30440
  React__namespace.createElement("path", { d: "M 0 3 C 12 3 18 18 24 18 C 30 18 36 3 48 3", strokeWidth: "2" })),
30441
- React__namespace.createElement("div", { className: clsx__default["default"]('rounded text-16px leading-24px min-w-160px text-center p-8px relative z-20', colors.background) }, popper)))))));
30441
+ React__namespace.createElement("div", { className: clsx__default["default"]('rounded text-16px leading-24px min-w-160px text-center p-8px relative z-20', colors.background) }, popper))))))));
30442
30442
  };
30443
30443
 
30444
30444
  module.exports = Tooltip;