impaktapps-design 0.2.993-alpha.256 → 0.2.993-alpha.258
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/impaktapps-design.es.js +14 -23
- package/dist/impaktapps-design.es.js.map +1 -1
- package/dist/impaktapps-design.umd.js +2 -2
- package/dist/impaktapps-design.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/component/AreaGraph/DrawAreaGraph.tsx +1 -1
- package/src/component/StackBarLineGraph/DrawStackBarLineGraph.tsx +13 -15
- package/src/component/StackBarLineGraph/StackBarLineGraph.tsx +1 -1
|
@@ -22323,7 +22323,7 @@ const DrawAreaGraph = ({
|
|
|
22323
22323
|
children: [/* @__PURE__ */ jsx$1("div", {
|
|
22324
22324
|
style: {
|
|
22325
22325
|
fontWeight: 600,
|
|
22326
|
-
marginBottom:
|
|
22326
|
+
marginBottom: 10
|
|
22327
22327
|
},
|
|
22328
22328
|
children: formatXTick(tooltipData[xAxisValue])
|
|
22329
22329
|
}), labelsArray.map((key, i) => {
|
|
@@ -22676,31 +22676,22 @@ const DrawStackBarLineGraph = ({
|
|
|
22676
22676
|
boxShadow: "0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06)",
|
|
22677
22677
|
fontSize: "12px"
|
|
22678
22678
|
},
|
|
22679
|
-
children: [/* @__PURE__ */ jsx$1("
|
|
22679
|
+
children: [/* @__PURE__ */ jsx$1("div", {
|
|
22680
22680
|
style: {
|
|
22681
22681
|
fontWeight: 600,
|
|
22682
|
-
|
|
22683
|
-
margin: "0 0 12px",
|
|
22684
|
-
fontSize: 13
|
|
22682
|
+
marginBottom: 10
|
|
22685
22683
|
},
|
|
22686
22684
|
children: tooltipData[xAxisValue]
|
|
22687
|
-
}),
|
|
22688
|
-
|
|
22689
|
-
|
|
22690
|
-
|
|
22691
|
-
|
|
22692
|
-
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22696
|
-
|
|
22697
|
-
paddingBottom: "11px",
|
|
22698
|
-
fontWeight: 500,
|
|
22699
|
-
color: "#756d6d"
|
|
22700
|
-
},
|
|
22701
|
-
children: [(_a2 = legendLabels == null ? void 0 : legendLabels[key]) != null ? _a2 : key, " : ", tooltipData[key], tooltipUnit]
|
|
22702
|
-
}, key);
|
|
22703
|
-
})
|
|
22685
|
+
}), labelsArray.map((key, i) => {
|
|
22686
|
+
var _a2;
|
|
22687
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
22688
|
+
style: {
|
|
22689
|
+
paddingBottom: "11px",
|
|
22690
|
+
fontWeight: 500,
|
|
22691
|
+
color: "#756d6d"
|
|
22692
|
+
},
|
|
22693
|
+
children: [(_a2 = legendLabels == null ? void 0 : legendLabels[key]) != null ? _a2 : key, " : ", tooltipData[key], tooltipUnit]
|
|
22694
|
+
}, key);
|
|
22704
22695
|
})]
|
|
22705
22696
|
})]
|
|
22706
22697
|
});
|
|
@@ -22716,7 +22707,7 @@ const StackBarLineGraph = ({
|
|
|
22716
22707
|
return /* @__PURE__ */ jsx$1(DrawStackBarLineGraph, {
|
|
22717
22708
|
theme,
|
|
22718
22709
|
width: parent.width,
|
|
22719
|
-
height: parseInt(String((_b2 = (_a2 = value.style) == null ? void 0 : _a2.containerStyle) == null ? void 0 : _b2.height) || "300"),
|
|
22710
|
+
height: parseInt(String(((_b2 = (_a2 = value.style) == null ? void 0 : _a2.containerStyle) == null ? void 0 : _b2.height) || "300")),
|
|
22720
22711
|
margin: {
|
|
22721
22712
|
top: 40,
|
|
22722
22713
|
right: 80,
|