@mx-cartographer/insights-ui 1.7.8 → 1.7.9-alpha.mega1

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 CHANGED
@@ -478,6 +478,7 @@ const Pe = ({
478
478
  fontSize: 11,
479
479
  fontWeight: n === l ? "bold" : 400,
480
480
  textAnchor: "middle",
481
+ transform: `translate(${a.width?.get() / 2}, -8)`,
481
482
  x: a.x,
482
483
  y: a.y,
483
484
  children: m
@@ -1374,11 +1375,12 @@ const vt = ({
1374
1375
  data: a,
1375
1376
  legendLabelAvg: o,
1376
1377
  legendLabelMain: d,
1377
- ...s
1378
+ onBarClick: s,
1379
+ ...c
1378
1380
  }) => /* @__PURE__ */ t(
1379
1381
  z,
1380
1382
  {
1381
- ...s,
1383
+ ...c,
1382
1384
  beat: r,
1383
1385
  button: a.length ? /* @__PURE__ */ h(T, { spacing: 10, sx: { pt: 8 }, children: [
1384
1386
  /* @__PURE__ */ t(
@@ -1386,7 +1388,7 @@ const vt = ({
1386
1388
  {
1387
1389
  ...l,
1388
1390
  beat: r,
1389
- onClick: (c) => l?.onClick?.(c, P.Primary)
1391
+ onClick: (m) => l?.onClick?.(m, P.Primary)
1390
1392
  }
1391
1393
  ),
1392
1394
  /* @__PURE__ */ t(
@@ -1394,7 +1396,7 @@ const vt = ({
1394
1396
  {
1395
1397
  ...l,
1396
1398
  beat: r,
1397
- onClick: (c) => l?.onClick?.(c, P.Secondary),
1399
+ onClick: (m) => l?.onClick?.(m, P.Secondary),
1398
1400
  primary: !1
1399
1401
  }
1400
1402
  )
@@ -1412,7 +1414,8 @@ const vt = ({
1412
1414
  left: 2,
1413
1415
  right: 2,
1414
1416
  top: 24
1415
- }
1417
+ },
1418
+ onBarClick: s
1416
1419
  }
1417
1420
  ) : /* @__PURE__ */ t(C1, {})
1418
1421
  }