impaktapps-design 0.2.993-alpha.242 → 0.2.993-alpha.244

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.
@@ -22537,11 +22537,12 @@ const DrawStackBarLineGraph = ({
22537
22537
  const xAxisValue = (_c = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _c.xAxisValue;
22538
22538
  const legendLabels = (_d = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _d.legendLabels;
22539
22539
  const growthRateKey = ((_e = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _e.growthRateKey) || "growthRate";
22540
+ console.log("stackBarLineValue >>", stackBarLineValue);
22540
22541
  const colorMap = (_g = (_f = stackBarLineValue == null ? void 0 : stackBarLineValue.style) == null ? void 0 : _f.stackBarLineStyle) == null ? void 0 : _g.colorMap;
22541
22542
  const defaultColour = (_j = (_i = (_h = theme == null ? void 0 : theme.myTheme) == null ? void 0 : _h.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main;
22542
22543
  const yAxisTickCount = (_k = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _k.yAxisTickCount;
22543
22544
  const disableLeftLabel = (_l = stackBarLineValue.main) == null ? void 0 : _l.disableLeftLabel;
22544
- const tooltipValueSuffix = (_m = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _m.tooltipValueSuffix;
22545
+ const tooltipUnit = (_m = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _m.tooltipUnit;
22545
22546
  const trendColor = (_n = colorMap == null ? void 0 : colorMap[growthRateKey]) != null ? _n : "#E24B4A";
22546
22547
  const isSmallScreen = width2 < 600;
22547
22548
  const longestLabelLength = useMemo(() => Math.max(...chartData.map((d2) => String(d2[xAxisValue]).length)), [chartData, xAxisValue]);
@@ -22833,7 +22834,7 @@ const DrawStackBarLineGraph = ({
22833
22834
  color: "#454444",
22834
22835
  fontWeight: 600
22835
22836
  },
22836
- children: [tooltipData[key], tooltipValueSuffix]
22837
+ children: [tooltipData[key], tooltipUnit]
22837
22838
  })]
22838
22839
  }, key);
22839
22840
  })
@@ -22847,6 +22848,7 @@ const StackBarLineGraph = ({
22847
22848
  }) => {
22848
22849
  var _a, _b;
22849
22850
  const stackBarLineData = finalDataProvider("StackBarLineGraph", value, theme);
22851
+ console.log("stackBarLineData >>", stackBarLineData);
22850
22852
  const GraphRender = /* @__PURE__ */ jsx$1(ParentSize$1, {
22851
22853
  children: (parent) => {
22852
22854
  var _a2, _b2;