@mesh.ai/rabbit 1.21.0 → 1.21.2

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.
@@ -13047,11 +13047,12 @@ const Wd = ({ bold: e = !1, color: t = "text-font-primary" }) => de("rabbit-ds-t
13047
13047
  onKeyDown: s,
13048
13048
  tabIndex: 0,
13049
13049
  className: de(
13050
- "rabbit-ds box-border inline-flex w-full flex-col items-start justify-start rounded-lg bg-white shadow-card hover:bg-metric-card-bg-hover",
13051
- e,
13050
+ "rabbit-ds box-border inline-flex w-full flex-col items-start justify-start rounded-lg bg-white shadow-card ",
13052
13051
  "group",
13053
- r ? "" : "cursor-pointer",
13054
- r ? "border border-solid border-[#004F67] bg-metric-card-bg-focus" : ""
13052
+ !r && o ? "cursor-pointer" : "",
13053
+ r ? "border border-solid border-[#004F67] bg-metric-card-bg-focus" : "",
13054
+ o && "hover:bg-metric-card-bg-hover",
13055
+ e
13055
13056
  ),
13056
13057
  ...a,
13057
13058
  children: [
@@ -25375,7 +25376,7 @@ const fz = ({ x: e, y: t, datum: n, size: r }) => /* @__PURE__ */ u(_o, { cx: e,
25375
25376
  /* @__PURE__ */ u("div", { className: "h-full min-h-0 w-full min-w-0", children: /* @__PURE__ */ W(
25376
25377
  or,
25377
25378
  {
25378
- margin: { top: 10, left: 50, right: 50, bottom: 50 },
25379
+ margin: { top: 10, left: 70, right: 50, bottom: 50 },
25379
25380
  xScale: { type: "band", nice: !0, ...s && { domain: s } },
25380
25381
  yScale: { type: "linear", nice: !0, ...l && { domain: l } },
25381
25382
  children: [
@@ -25422,7 +25423,11 @@ const fz = ({ x: e, y: t, datum: n, size: r }) => /* @__PURE__ */ u(_o, { cx: e,
25422
25423
  orientation: "left",
25423
25424
  stroke: "#CFD7DF",
25424
25425
  label: `${i} ➔`,
25425
- tickFormat: (M) => d ? wh(Bn("~s")(M), d.symbol, d.position) : Bn("~s")(M),
25426
+ tickFormat: (M) => d ? wh(
25427
+ Bn(M >= 1e3 ? "~s" : "")(M),
25428
+ d.symbol,
25429
+ d.position
25430
+ ) : Bn(M >= 1e3 ? "~s" : "")(M),
25426
25431
  tickLabelProps: {
25427
25432
  fontFamily: "system-ui",
25428
25433
  fontSize: "10px",
@@ -25433,7 +25438,7 @@ const fz = ({ x: e, y: t, datum: n, size: r }) => /* @__PURE__ */ u(_o, { cx: e,
25433
25438
  fontFamily: "system-ui",
25434
25439
  fontSize: "10px",
25435
25440
  fontWeight: 600,
25436
- dx: -20,
25441
+ dx: -35,
25437
25442
  fill: "#666666",
25438
25443
  textAnchor: "middle",
25439
25444
  verticalAnchor: "middle"
@@ -26804,7 +26809,7 @@ const Dz = ({ x: e, y: t, datum: n }) => /* @__PURE__ */ u(
26804
26809
  /* @__PURE__ */ u("div", { className: "h-full min-h-0 w-full min-w-0", children: /* @__PURE__ */ W(
26805
26810
  or,
26806
26811
  {
26807
- margin: { top: 10, left: 50, right: 50, bottom: 50 },
26812
+ margin: { top: 10, left: 70, right: 50, bottom: 50 },
26808
26813
  xScale: {
26809
26814
  type: "band",
26810
26815
  nice: !0,
@@ -26856,7 +26861,11 @@ const Dz = ({ x: e, y: t, datum: n }) => /* @__PURE__ */ u(
26856
26861
  orientation: "left",
26857
26862
  stroke: "#CFD7DF",
26858
26863
  label: `${i} ➔`,
26859
- tickFormat: ($) => d ? Dh(Bn("~s")($), d.symbol, d.position) : Bn("~s")($),
26864
+ tickFormat: ($) => d ? Dh(
26865
+ Bn($ >= 1e3 ? "~s" : "")($),
26866
+ d.symbol,
26867
+ d.position
26868
+ ) : Bn($ >= 1e3 ? "~s" : "")($),
26860
26869
  tickLabelProps: {
26861
26870
  fontFamily: "system-ui",
26862
26871
  fontSize: "10px",
@@ -26867,7 +26876,7 @@ const Dz = ({ x: e, y: t, datum: n }) => /* @__PURE__ */ u(
26867
26876
  fontFamily: "system-ui",
26868
26877
  fontSize: "10px",
26869
26878
  fontWeight: 600,
26870
- dx: -20,
26879
+ dx: -35,
26871
26880
  fill: "#666666",
26872
26881
  textAnchor: "middle",
26873
26882
  verticalAnchor: "middle"