@mx-cartographer/experiences 3.17.0 → 3.17.1-alpha.al1
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.es.js +5 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1964,7 +1964,7 @@ const Oc = ({
|
|
|
1964
1964
|
valueFormatterString: m = "0,0",
|
|
1965
1965
|
width: f
|
|
1966
1966
|
}) => {
|
|
1967
|
-
const v = kA(), y = n.flat().map((M) => M.x), S = n.flat().map((M) => M.y), L = Math.round(S.reduce((M, k) => k + M, 0) / S.length), w = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, O = w * 0
|
|
1967
|
+
const v = kA(), y = n.flat().map((M) => M.x), S = n.flat().map((M) => M.y), L = Math.round(S.reduce((M, k) => k + M, 0) / S.length), w = Math.floor(Math.min(...S) / 100) * 100, D = Math.ceil(Math.max(...S) / 100) * 100, O = w * 0, H = D * 0.15, P = n.map((M, k) => ({
|
|
1968
1968
|
type: c ? "bar" : "line",
|
|
1969
1969
|
curve: "linear",
|
|
1970
1970
|
color: c ? v.palette.chart?.chart6 : e[k] ?? v.palette.primary.main,
|
|
@@ -1975,7 +1975,7 @@ const Oc = ({
|
|
|
1975
1975
|
label: a[k],
|
|
1976
1976
|
valueFormatter: (K) => z(K || 0, m)
|
|
1977
1977
|
}));
|
|
1978
|
-
return /* @__PURE__ */ l("div", { style: { position: "relative" }, children: [
|
|
1978
|
+
return console.log("yMin:", w), console.log("yMax:", D), console.log("yColorMin:", O), console.log("yColorMax:", H), console.log("color:", e[0]), /* @__PURE__ */ l("div", { style: { position: "relative" }, children: [
|
|
1979
1979
|
/* @__PURE__ */ l(
|
|
1980
1980
|
No,
|
|
1981
1981
|
{
|
|
@@ -10253,6 +10253,7 @@ const _h = ({
|
|
|
10253
10253
|
{
|
|
10254
10254
|
sx: {
|
|
10255
10255
|
...s,
|
|
10256
|
+
minHeight: 44,
|
|
10256
10257
|
"&:hover": { color: r ? "inherit" : s.color }
|
|
10257
10258
|
},
|
|
10258
10259
|
children: /* @__PURE__ */ t(
|
|
@@ -10261,6 +10262,7 @@ const _h = ({
|
|
|
10261
10262
|
onClick: (h) => a?.(h, A.x),
|
|
10262
10263
|
onMouseEnter: () => i(A.x),
|
|
10263
10264
|
onMouseLeave: () => o(),
|
|
10265
|
+
sx: { minHeight: 44 },
|
|
10264
10266
|
children: /* @__PURE__ */ t(
|
|
10265
10267
|
tA,
|
|
10266
10268
|
{
|
|
@@ -10570,7 +10572,7 @@ const _h = ({
|
|
|
10570
10572
|
/* @__PURE__ */ l(
|
|
10571
10573
|
E,
|
|
10572
10574
|
{
|
|
10573
|
-
alignItems: "center",
|
|
10575
|
+
alignItems: v ? "center" : "flex-start",
|
|
10574
10576
|
direction: v ? "column" : "row",
|
|
10575
10577
|
spacing: v ? 0 : 48,
|
|
10576
10578
|
children: [
|