impaktapps-design 0.2.89-alpha.404 → 0.2.89-alpha.405

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.
@@ -10461,21 +10461,23 @@ const ToolTip = ({
10461
10461
  left: left2,
10462
10462
  tooltipData
10463
10463
  }) => {
10464
- useTooltipInPortal({
10464
+ const {
10465
+ TooltipInPortal
10466
+ } = useTooltipInPortal({
10465
10467
  detectBounds: true,
10466
10468
  scroll: true
10467
10469
  });
10468
- ({
10470
+ const tooltipStyles2 = {
10469
10471
  ...defaultStyles,
10470
10472
  minWidth: 200,
10471
10473
  height: 20,
10472
10474
  backgroundColor: "lightgrey",
10473
10475
  color: "black"
10474
- });
10475
- return /* @__PURE__ */ jsx(Tooltip$1, {
10476
+ };
10477
+ return /* @__PURE__ */ jsx(TooltipInPortal, {
10476
10478
  top: top2,
10477
10479
  left: left2,
10478
- style: style2 == null ? void 0 : style2.tooltipStyle,
10480
+ style: tooltipStyles2,
10479
10481
  children: /* @__PURE__ */ jsxs("div", {
10480
10482
  style: {
10481
10483
  display: "flex",
@@ -10493,7 +10495,7 @@ const ToolTip = ({
10493
10495
  })
10494
10496
  })]
10495
10497
  })
10496
- });
10498
+ }, Math.random());
10497
10499
  };
10498
10500
  var _excluded$F = ["flexDirection", "alignItems", "margin", "display", "children"];
10499
10501
  function _extends$B() {
@@ -11796,6 +11798,7 @@ const DrawPieGraph = ({
11796
11798
  const arcFill = getLetterFrequencyColor(letter, indexParam);
11797
11799
  return /* @__PURE__ */ jsxs("g", {
11798
11800
  onMouseOut: hideTooltip,
11801
+ onMouseLeave: () => setActive(null),
11799
11802
  onMouseOver: (e3) => handleMouse(e3, arc2, arc2.data),
11800
11803
  className: "pieTooltipHolder",
11801
11804
  children: [/* @__PURE__ */ jsx("path", {