@mechane-ai/elements 0.52.1 → 0.54.0

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.
Files changed (54) hide show
  1. package/dist/ai.js +1 -1
  2. package/dist/{article-BDVuehRt.js → article-DPDk0Xgp.js} +1 -1
  3. package/dist/article.js +1 -1
  4. package/dist/catalog.json +1 -1
  5. package/dist/{categorical-values-BoS03HcI.js → categorical-values-CGavb4HZ.js} +1 -1
  6. package/dist/{cells-CNZE4us2.js → cells-BTTLURWI.js} +32 -26
  7. package/dist/charts/cartesian.js +1 -1
  8. package/dist/charts/cells.js +1 -1
  9. package/dist/charts/comparison.js +1 -1
  10. package/dist/charts/distribution.js +1 -1
  11. package/dist/charts/figure.js +12 -12
  12. package/dist/charts/graph.js +1 -1
  13. package/dist/charts/hierarchy.js +1 -1
  14. package/dist/charts/image.js +1 -1
  15. package/dist/charts/matrix.js +1 -1
  16. package/dist/charts/plot.js +3 -3
  17. package/dist/charts/relationship.js +1 -1
  18. package/dist/charts/text.js +1 -1
  19. package/dist/charts/timeline.js +1 -1
  20. package/dist/charts/trend.js +1 -1
  21. package/dist/charts.js +2 -2
  22. package/dist/collections.js +1 -1
  23. package/dist/{dumbbell-plot-Xxl6P7D1.js → dumbbell-plot-DJOyXW7m.js} +3 -3
  24. package/dist/{embedding-map-tU8hT_aC.js → embedding-map-BSlNwXs2.js} +3 -3
  25. package/dist/feedback.js +1 -1
  26. package/dist/{figure-frame-BKc9TvtX.js → figure-frame-C2hCrRX4.js} +2 -2
  27. package/dist/{image-grid-BZy2lkNb.js → image-grid-D0Xk_KNk.js} +2 -2
  28. package/dist/kits/evaluation.js +5 -5
  29. package/dist/kits/interpretability.js +9 -9
  30. package/dist/kits/operations.js +5 -5
  31. package/dist/kits/research.js +107 -102
  32. package/dist/kits/training.js +5 -5
  33. package/dist/mdx.js +2 -2
  34. package/dist/packages/charts/src/cells/heat-cell.d.ts +3 -1
  35. package/dist/packages/charts/src/trend/line-locate.d.ts +5 -3
  36. package/dist/packages/feedback/src/async-region.d.ts +1 -0
  37. package/dist/packages/kits/src/research/lineage-graph.d.ts +4 -0
  38. package/dist/{plot-layout-D8j-ozGR.js → plot-layout-PBlcYu9p.js} +6 -3
  39. package/dist/{plot-surface-5e3xeiub.js → plot-surface-CdqANDC1.js} +1 -1
  40. package/dist/{reference-lines-1FttCg46.js → reference-lines-Cdrs0B3S.js} +1 -1
  41. package/dist/{scene-8F-fQksU.js → scene-CcJb3zcs.js} +4 -4
  42. package/dist/scene.js +1 -1
  43. package/dist/{slope-chart-B35ZfaYn.js → slope-chart-CagCaJYG.js} +289 -288
  44. package/dist/{src-fvoTU3Bq.js → src-BdMdzP0t.js} +1 -1
  45. package/dist/{src-npqwq3Sa.js → src-Bg4eyJZO.js} +95 -94
  46. package/dist/styles2.css +4 -0
  47. package/dist/{time-series-DoFMGmFV.js → time-series-g4trCNxp.js} +6 -6
  48. package/dist/{token-heatmap-DLPQWwMv.js → token-heatmap-D3v9r6jf.js} +2 -2
  49. package/dist/{token-predictions-D_Jwf8Aw.js → token-predictions-BMVVfAL3.js} +3 -3
  50. package/dist/{tree-diagram-DreDBCvt.js → tree-diagram-BHLewHQl.js} +4 -4
  51. package/dist/{treemap-MVX-wa4t.js → treemap-n3Er3k6e.js} +4 -4
  52. package/dist/{violin-plot-Bi71NqXF.js → violin-plot-qCMn4e1I.js} +3 -3
  53. package/dist/{waterfall-8y8ANO3c.js → waterfall-ChExGsn8.js} +3 -3
  54. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { D as e, T as t, c as n, i as r, m as i, u as a, v as o } from "./src-9EJskqB_.js";
2
2
  import { c as s } from "./src-Dxs3Buo_.js";
3
3
  import { i as c, r as l, t as u } from "./src-na2DdkKI.js";
4
- import { d } from "./src-npqwq3Sa.js";
4
+ import { d } from "./src-Bg4eyJZO.js";
5
5
  import { l as f, t as p } from "./constants.stylex-CqhVl0uU.js";
6
6
  import { t as ee } from "./accessibility-P89UG9-r.js";
7
7
  import { t as te } from "./use-scroll-tab-index-Dxpdh4W7.js";
@@ -11,9 +11,9 @@ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
11
11
  import { Box as b, CircleCheck as ee, CircleX as te, Info as x, LoaderCircle as S, TriangleAlert as ne, X as C } from "lucide-react";
12
12
  import { Meter as re, MeterIndicator as w, MeterLabel as T, MeterTrack as E } from "@ui-sdk/react/meter";
13
13
  import { Progress as ie, ProgressIndicator as ae, ProgressLabel as oe, ProgressTrack as se } from "@ui-sdk/react/progress";
14
- import { Toast as ce, ToastAction as le, ToastClose as D, ToastDescription as O, ToastRegion as k, ToastTitle as A, createToaster as j } from "@ui-sdk/react/toast";
14
+ import { Toast as ce, ToastAction as D, ToastClose as O, ToastDescription as k, ToastRegion as A, ToastTitle as j, createToaster as M } from "@ui-sdk/react/toast";
15
15
  // packages/feedback/src/feedback.tsx
16
- function M({ title: n, children: r, action: i, ...a }) {
16
+ function N({ title: n, children: r, action: i, ...a }) {
17
17
  return /* @__PURE__ */ y("div", {
18
18
  ...d({ className: "x78zum5 xdt5ytf x6s0dn4 xl56j7k x2b8uid xeuugli x193iq5w x9f619 x9w77qv xnx3t7k x1n8ia3y x1hz01jw xj57cvi xvmahel xj0a0fe" }, a),
19
19
  children: [
@@ -31,14 +31,14 @@ function M({ title: n, children: r, action: i, ...a }) {
31
31
  ]
32
32
  });
33
33
  }
34
- function N({ hasError: e = !1, ...t }) {
34
+ function P({ hasError: e = !1, ...t }) {
35
35
  return /* @__PURE__ */ v("div", { ...d({ role: e ? "alert" : "status" }, {
36
36
  0: { className: "xeuugli x193iq5w x9f619 x1qokhjc x1doqdfy x1ok0vyi x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x1dqe72f x1f9ixgr xj0a0fe" },
37
37
  1: { className: "xeuugli x193iq5w x9f619 x1qokhjc x1doqdfy x1ok0vyi x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi xj0a0fe xr5kp14 xcqwzn" }
38
38
  }[!!e | 0], t) });
39
39
  }
40
40
  // packages/feedback/src/skeleton.tsx
41
- var P = {
41
+ var F = {
42
42
  skeleton: {
43
43
  k1xSpc: "x1lliihq",
44
44
  ks0D6T: "x193iq5w",
@@ -76,30 +76,30 @@ var P = {
76
76
  k7Eaqz: "xeuugli",
77
77
  $$css: !0
78
78
  }
79
- }, F = {
80
- rectangle: P.rectangle,
81
- circle: P.circle
79
+ }, I = {
80
+ rectangle: F.rectangle,
81
+ circle: F.circle
82
82
  };
83
- function I({ width: e = "100%", height: t = 8, shape: n = "rectangle" }) {
83
+ function L({ width: e = "100%", height: t = 8, shape: n = "rectangle" }) {
84
84
  return /* @__PURE__ */ v("span", {
85
85
  "aria-hidden": !0,
86
- ...u.props(P.skeleton, P.dimensions(e, t), F[n])
86
+ ...u.props(F.skeleton, F.dimensions(e, t), I[n])
87
87
  });
88
88
  }
89
- function L({ lines: e = 1, width: t = "100%" }) {
89
+ function R({ lines: e = 1, width: t = "100%" }) {
90
90
  return /* @__PURE__ */ v("span", {
91
91
  "aria-hidden": !0,
92
- ...u.props(P.text, P.width(t)),
92
+ ...u.props(F.text, F.width(t)),
93
93
  children: Array.from({ length: e }, (t, n) => /* @__PURE__ */ v("span", {
94
94
  className: "x78zum5 x6s0dn4 xg2ss61",
95
- children: /* @__PURE__ */ v(I, {
95
+ children: /* @__PURE__ */ v(L, {
96
96
  width: e > 1 && n === e - 1 ? "65%" : "100%",
97
97
  height: "0.6em"
98
98
  })
99
99
  }, `placeholder-${n}`))
100
100
  });
101
101
  }
102
- function R({ label: e, showLabel: t = !1 }) {
102
+ function z({ label: e, showLabel: t = !1 }) {
103
103
  return /* @__PURE__ */ y("span", {
104
104
  role: "status",
105
105
  className: "x3nfvp2 x1n2onr6 x6s0dn4 xeuugli x193iq5w x1hnptsi x153jb6y x1hz01jw xtqrqnz x1778rvt xj57cvi xj0a0fe",
@@ -107,19 +107,19 @@ function R({ label: e, showLabel: t = !1 }) {
107
107
  "aria-hidden": !0,
108
108
  className: "xtwnzbg x18utl2x x2lah0s"
109
109
  }), /* @__PURE__ */ v("span", {
110
- ...u.props(P.label, !t && s.hidden),
110
+ ...u.props(F.label, !t && s.hidden),
111
111
  children: e
112
112
  })]
113
113
  });
114
114
  }
115
115
  // packages/feedback/src/control-placeholders.tsx
116
- var z = {
116
+ var B = {
117
117
  ks0D6T: "x193iq5w",
118
118
  $$css: !0
119
- }, B = {
119
+ }, V = {
120
120
  kZKoxP: "x16ye13r",
121
121
  $$css: !0
122
- }, V = {
122
+ }, H = {
123
123
  button: {
124
124
  kWkggS: "x1r7kqkb",
125
125
  kXLuUW: "xxymvpz",
@@ -131,39 +131,39 @@ var z = {
131
131
  $$css: !0
132
132
  },
133
133
  width: (e) => [
134
- z,
134
+ B,
135
135
  {
136
136
  kzqmXN: e == null ? e : "x5lhr3w",
137
137
  $$css: !0
138
138
  },
139
139
  { "--x-width": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
140
140
  ],
141
- rows: (e) => [B, { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`calc(${e} * 1lh + 2 * ${o.paddingBlock} + 2px)`) }]
141
+ rows: (e) => [V, { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`calc(${e} * 1lh + 2 * ${o.paddingBlock} + 2px)`) }]
142
142
  };
143
- function H({ width: e = "7ch", isIconOnly: t = !1, density: n = "standard", xstyle: s }) {
143
+ function U({ width: e = "7ch", isIconOnly: t = !1, density: n = "standard", xstyle: s }) {
144
144
  return /* @__PURE__ */ v("span", {
145
145
  "aria-hidden": !0,
146
146
  inert: !0,
147
- ...u.props(i.base, i.button, r[n], a[n], t && i.iconButton, V.button, s),
148
- children: t ? /* @__PURE__ */ v(I, {
147
+ ...u.props(i.base, i.button, r[n], a[n], t && i.iconButton, H.button, s),
148
+ children: t ? /* @__PURE__ */ v(L, {
149
149
  width: o.iconSize,
150
150
  height: o.iconSize
151
- }) : /* @__PURE__ */ v(L, { width: e })
151
+ }) : /* @__PURE__ */ v(R, { width: e })
152
152
  });
153
153
  }
154
- function U({ label: e, hint: t, isMultiline: a = !1, density: o = "standard", rows: s = 4, width: c = "100%", xstyle: l }) {
154
+ function W({ label: e, hint: t, isMultiline: a = !1, density: o = "standard", rows: s = 4, width: c = "100%", xstyle: l }) {
155
155
  let d = a ? Math.min(s, 6) : 1;
156
156
  return /* @__PURE__ */ y("div", {
157
157
  "aria-hidden": !0,
158
- ...u.props(i.fieldRoot, V.width(c), l),
158
+ ...u.props(i.fieldRoot, H.width(c), l),
159
159
  children: [
160
160
  e !== void 0 && /* @__PURE__ */ v("span", {
161
161
  ...u.props(i.label),
162
162
  children: e
163
163
  }),
164
164
  /* @__PURE__ */ v("div", {
165
- ...u.props(i.base, i.field, r[o], !a && i.singleLineField, !a && n[o], !a && V.singleLine, a && i.textarea, a && V.rows(s)),
166
- children: /* @__PURE__ */ v(L, {
165
+ ...u.props(i.base, i.field, r[o], !a && i.singleLineField, !a && n[o], !a && H.singleLine, a && i.textarea, a && H.rows(s)),
166
+ children: /* @__PURE__ */ v(R, {
167
167
  width: "60%",
168
168
  lines: d
169
169
  })
@@ -176,7 +176,7 @@ function U({ label: e, hint: t, isMultiline: a = !1, density: o = "standard", ro
176
176
  });
177
177
  }
178
178
  // packages/feedback/src/progress.tsx
179
- var W = {
179
+ var G = {
180
180
  root: {
181
181
  k1xSpc: "x78zum5",
182
182
  kXwgrk: "xdt5ytf",
@@ -257,7 +257,7 @@ var W = {
257
257
  kB7OPa: "x9f619",
258
258
  $$css: !0
259
259
  }
260
- }, ue = {
260
+ }, le = {
261
261
  stacked: {
262
262
  root: void 0,
263
263
  heading: void 0,
@@ -266,14 +266,14 @@ var W = {
266
266
  track: void 0
267
267
  },
268
268
  inline: {
269
- root: W.inline,
270
- heading: W.inlineHeading,
269
+ root: G.inline,
270
+ heading: G.inlineHeading,
271
271
  label: s.hidden,
272
- value: W.inlineValue,
273
- track: W.inlineTrack
272
+ value: G.inlineValue,
273
+ track: G.inlineTrack
274
274
  }
275
275
  };
276
- function de({ label: e, value: t, max: n, valueLabel: r }) {
276
+ function ue({ label: e, value: t, max: n, valueLabel: r }) {
277
277
  return /* @__PURE__ */ y(ie, {
278
278
  value: t,
279
279
  max: n,
@@ -298,53 +298,53 @@ function de({ label: e, value: t, max: n, valueLabel: r }) {
298
298
  })]
299
299
  });
300
300
  }
301
- function fe({ label: e, value: t, max: n, valueLabel: r, layout: i = "stacked", tone: a }) {
302
- let o = ue[i], s = a === void 0 ? void 0 : W.tone(c[a]), l = t !== null && Number.isFinite(t);
301
+ function de({ label: e, value: t, max: n, valueLabel: r, layout: i = "stacked", tone: a }) {
302
+ let o = le[i], s = a === void 0 ? void 0 : G.tone(c[a]), l = t !== null && Number.isFinite(t);
303
303
  return Number.isFinite(n) && n > 0 && l && t >= 0 && t <= n ? /* @__PURE__ */ y(re, {
304
304
  value: t,
305
305
  max: n,
306
306
  locale: "en-US",
307
307
  getValueLabel: () => r,
308
- ...u.props(W.root, o.root),
308
+ ...u.props(G.root, o.root),
309
309
  children: [/* @__PURE__ */ y("div", {
310
- ...u.props(W.heading, o.heading),
310
+ ...u.props(G.heading, o.heading),
311
311
  children: [/* @__PURE__ */ v(T, {
312
- ...u.props(W.label, o.label),
312
+ ...u.props(G.label, o.label),
313
313
  children: e
314
314
  }), /* @__PURE__ */ v("span", {
315
- ...u.props(W.value, o.value),
315
+ ...u.props(G.value, o.value),
316
316
  children: r
317
317
  })]
318
318
  }), /* @__PURE__ */ v(E, {
319
- ...u.props(W.track, o.track),
320
- children: /* @__PURE__ */ v(w, { ...u.props(W.indicator, s) })
319
+ ...u.props(G.track, o.track),
320
+ children: /* @__PURE__ */ v(w, { ...u.props(G.indicator, s) })
321
321
  })]
322
322
  }) : /* @__PURE__ */ y("div", {
323
- ...u.props(W.root, o.root),
323
+ ...u.props(G.root, o.root),
324
324
  children: [/* @__PURE__ */ y("div", {
325
- ...u.props(W.heading, o.heading),
325
+ ...u.props(G.heading, o.heading),
326
326
  children: [/* @__PURE__ */ v("span", {
327
- ...u.props(W.label, o.label),
327
+ ...u.props(G.label, o.label),
328
328
  children: e
329
329
  }), /* @__PURE__ */ v("span", {
330
- ...u.props(W.value, o.value),
330
+ ...u.props(G.value, o.value),
331
331
  children: r
332
332
  })]
333
333
  }), /* @__PURE__ */ v("div", {
334
334
  "aria-hidden": !0,
335
- ...u.props(W.track, o.track, W.unknown)
335
+ ...u.props(G.track, o.track, G.unknown)
336
336
  })]
337
337
  });
338
338
  }
339
339
  // packages/feedback/src/notifications.ts
340
- var pe = 1e3, me = 4;
341
- function he() {
342
- let e = j(), t = /* @__PURE__ */ new Map();
340
+ var fe = 1e3, pe = 4;
341
+ function me() {
342
+ let e = M(), t = /* @__PURE__ */ new Map();
343
343
  function n(n) {
344
344
  if (n === void 0) return e;
345
345
  let r = t.get(n);
346
346
  if (r !== void 0) return r;
347
- let i = j();
347
+ let i = M();
348
348
  return typeof document < "u" && t.set(n, i), i;
349
349
  }
350
350
  function r(e, n) {
@@ -362,13 +362,13 @@ function he() {
362
362
  dismiss: i
363
363
  };
364
364
  }
365
- var G = he();
366
- function K(e) {
365
+ var K = me();
366
+ function q(e) {
367
367
  return typeof e == "number" ? `#${e}` : e.replace(/^#/, "##");
368
368
  }
369
- function q(e, { id: t, toasterId: n, title: r, description: i, action: a, shouldPersist: o }) {
370
- let s = G.queueFor(n)({
371
- ...t !== void 0 && { id: K(t) },
369
+ function J(e, { id: t, toasterId: n, title: r, description: i, action: a, shouldPersist: o }) {
370
+ let s = K.queueFor(n)({
371
+ ...t !== void 0 && { id: q(t) },
372
372
  type: e,
373
373
  title: r,
374
374
  description: i,
@@ -377,18 +377,18 @@ function q(e, { id: t, toasterId: n, title: r, description: i, action: a, should
377
377
  dismiss: a?.shouldDismiss ?? !0,
378
378
  ...a !== void 0 && { onAction: a.onClick }
379
379
  },
380
- duration: o === !0 || a !== void 0 || e === "loading" ? Infinity : me * pe
380
+ duration: o === !0 || a !== void 0 || e === "loading" ? Infinity : pe * fe
381
381
  });
382
382
  return t ?? s;
383
383
  }
384
- var ge = {
385
- success: (e) => q("success", e),
386
- error: (e) => q("error", e),
387
- info: (e) => q("info", e),
388
- warning: (e) => q("warning", e),
389
- loading: (e) => q("loading", e),
390
- dismiss: ({ id: e }) => G.dismiss(K(e))
391
- }, J = {
384
+ var he = {
385
+ success: (e) => J("success", e),
386
+ error: (e) => J("error", e),
387
+ info: (e) => J("info", e),
388
+ warning: (e) => J("warning", e),
389
+ loading: (e) => J("loading", e),
390
+ dismiss: ({ id: e }) => K.dismiss(q(e))
391
+ }, Y = {
392
392
  region: {
393
393
  kzqmXN: "x1261nif xqu3jwc",
394
394
  kqGvvJ: "xtru72a xf6ji1w",
@@ -556,38 +556,38 @@ var ge = {
556
556
  kBLIq6: "xvivl9a",
557
557
  $$css: !0
558
558
  }
559
- }, _e = {
559
+ }, ge = {
560
560
  default: {
561
561
  Icon: x,
562
- tone: J.neutral
562
+ tone: Y.neutral
563
563
  },
564
564
  info: {
565
565
  Icon: x,
566
- tone: J.neutral
566
+ tone: Y.neutral
567
567
  },
568
568
  success: {
569
569
  Icon: ee,
570
- tone: J.success
570
+ tone: Y.success
571
571
  },
572
572
  warning: {
573
573
  Icon: ne,
574
- tone: J.warning
574
+ tone: Y.warning
575
575
  },
576
576
  error: {
577
577
  Icon: te,
578
- tone: J.error
578
+ tone: Y.error
579
579
  },
580
580
  loading: {
581
581
  Icon: S,
582
- tone: J.neutral
582
+ tone: Y.neutral
583
583
  }
584
- }, ve = {
584
+ }, _e = {
585
585
  "x-default-marker": "x-default-marker",
586
586
  $$css: !0
587
587
  };
588
- function ye({ id: e, side: t = "bottom", align: n = "end", isExpanded: r = !1, visibleToasts: i = 3, showCloseButton: a = !0, closeButtonAriaLabel: o = "Dismiss notification", containerAriaLabel: s = "Notifications" }) {
589
- let c = G.queueFor(e);
590
- return m(() => G.bind(e, c), [e, c]), /* @__PURE__ */ v(k, {
588
+ function ve({ id: e, side: t = "bottom", align: n = "end", isExpanded: r = !1, visibleToasts: i = 3, showCloseButton: a = !0, closeButtonAriaLabel: o = "Dismiss notification", containerAriaLabel: s = "Notifications" }) {
589
+ let c = K.queueFor(e);
590
+ return m(() => K.bind(e, c), [e, c]), /* @__PURE__ */ v(A, {
591
591
  toaster: c,
592
592
  side: t,
593
593
  align: n,
@@ -597,20 +597,20 @@ function ye({ id: e, side: t = "bottom", align: n = "end", isExpanded: r = !1, v
597
597
  "aria-label": s,
598
598
  className: "x1261nif xqu3jwc xtru72a xf6ji1w xqv9vo9 xyt9zns x1u22o8f xviucbn x1572sgj",
599
599
  children: (e) => {
600
- let { Icon: n, tone: r } = _e[e.type];
600
+ let { Icon: n, tone: r } = ge[e.type];
601
601
  return /* @__PURE__ */ y(ce, {
602
- ...u.props(J.toast, J[t], J.focus, ve),
602
+ ...u.props(Y.toast, Y[t], Y.focus, _e),
603
603
  children: [
604
604
  /* @__PURE__ */ v(n, {
605
605
  "aria-hidden": !0,
606
- ...u.props(J.icon, J.part, r)
606
+ ...u.props(Y.icon, Y.part, r)
607
607
  }),
608
608
  /* @__PURE__ */ y("div", {
609
609
  className: "x78zum5 xdt5ytf x148l3ej xeuugli xfko13i x1hc1fzr x1gqwzbp x19991ni xtitasy x1faw7qm",
610
- children: [/* @__PURE__ */ v(A, { className: "xk4h15q x104kibb x1ua5tub xh0615m xb3r6kr xj0a0fe" }), /* @__PURE__ */ v(O, { className: "x153jb6y x104kibb x1ua5tub xh0615m xb3r6kr xj0a0fe" })]
610
+ children: [/* @__PURE__ */ v(j, { className: "xk4h15q x104kibb x1ua5tub xh0615m xb3r6kr xj0a0fe" }), /* @__PURE__ */ v(k, { className: "x153jb6y x104kibb x1ua5tub xh0615m xb3r6kr xj0a0fe" })]
611
611
  }),
612
- e.action?.label !== void 0 && /* @__PURE__ */ v(le, { className: "x3nfvp2 x6s0dn4 xl56j7k x2lah0s x9f619 xeuugli x193iq5w x17tes2r x17oiadl x1hmw7ec x1atzlso xc342km x1ok0vyi x1hz01jw xtqrqnz x1778rvt xk4h15q xeaf4i8 xj0a0fe x1ypdohk x1pt885t x1ymx3u3 xmn6lam x1eou8nq x13qnu6 x9v5kkp x19rmrnh x7s97pk x1hc1fzr x1gqwzbp x19991ni xtitasy x1faw7qm" }),
613
- a && /* @__PURE__ */ v(D, {
612
+ e.action?.label !== void 0 && /* @__PURE__ */ v(D, { className: "x3nfvp2 x6s0dn4 xl56j7k x2lah0s x9f619 xeuugli x193iq5w x17tes2r x17oiadl x1hmw7ec x1atzlso xc342km x1ok0vyi x1hz01jw xtqrqnz x1778rvt xk4h15q xeaf4i8 xj0a0fe x1ypdohk x1pt885t x1ymx3u3 xmn6lam x1eou8nq x13qnu6 x9v5kkp x19rmrnh x7s97pk x1hc1fzr x1gqwzbp x19991ni xtitasy x1faw7qm" }),
613
+ a && /* @__PURE__ */ v(O, {
614
614
  "aria-label": o,
615
615
  className: "x3nfvp2 x6s0dn4 xl56j7k x2lah0s x9f619 x193iq5w x17tes2r x17oiadl x1hmw7ec xc342km x1ok0vyi x1hz01jw xtqrqnz x1778rvt xk4h15q xeaf4i8 xj0a0fe x1ypdohk x10l6tqk x1m7q2ru x1b86y6l x16opp91 x1gjsuxi xnjsko4 xjbqb8w x153jb6y x1rfq5r5 x1dqpf9g x15wa9bl xvivl9a x13qnu6 x9v5kkp x19rmrnh x7s97pk x1hc1fzr x1gqwzbp x19991ni xtitasy x1faw7qm",
616
616
  children: /* @__PURE__ */ v(C, {
@@ -624,7 +624,7 @@ function ye({ id: e, side: t = "bottom", align: n = "end", isExpanded: r = !1, v
624
624
  });
625
625
  }
626
626
  // packages/feedback/src/async-region.tsx
627
- var Y = f(void 0), X = f(!1), Z = l.delaySeconds * 1e3, Q = {
627
+ var X = f(void 0), Z = f(!1), ye = l.delaySeconds * 1e3, Q = {
628
628
  content: {
629
629
  k7Eaqz: "xeuugli",
630
630
  kAzted: "x2lwn1j",
@@ -655,13 +655,13 @@ function xe({ identity: e, initialStartedAt: t, children: n }) {
655
655
  return r.identity !== e && (a = {
656
656
  identity: e,
657
657
  startedAt: Date.now()
658
- }, i(a)), /* @__PURE__ */ v(Y, {
658
+ }, i(a)), /* @__PURE__ */ v(X, {
659
659
  value: a,
660
660
  children: n
661
661
  });
662
662
  }
663
663
  function $({ shouldEnter: e, presentation: t = "content", children: n }) {
664
- let r = p(X), [i, a] = g(e && !r), o = h(null);
664
+ let r = p(Z), [i, a] = g(e && !r), o = h(null);
665
665
  return m(() => {
666
666
  let e = o.current;
667
667
  if (!i || e === null) return;
@@ -674,18 +674,18 @@ function $({ shouldEnter: e, presentation: t = "content", children: n }) {
674
674
  }, [i]), /* @__PURE__ */ v("div", {
675
675
  ref: o,
676
676
  ...u.props(Q.content, i && Q.reveal, be[t]),
677
- children: /* @__PURE__ */ v(X, {
677
+ children: /* @__PURE__ */ v(Z, {
678
678
  value: r || i,
679
679
  children: n
680
680
  })
681
681
  });
682
682
  }
683
- function Se({ label: e, placeholder: t, startedAt: n, presentation: r }) {
684
- let [i, a] = g(() => Date.now() - n >= Z ? n : void 0), o = i === n, c = r === "image";
683
+ function Se({ label: e, placeholder: t, startedAt: n, placeholderDelayMs: r, presentation: i }) {
684
+ let [a, o] = g(() => Date.now() - n >= r ? n : void 0), c = a === n, l = i === "image";
685
685
  return m(() => {
686
- let e = Math.max(0, Z - (Date.now() - n)), t = setTimeout(() => a(n), e);
686
+ let e = Math.max(0, r - (Date.now() - n)), t = setTimeout(() => o(n), e);
687
687
  return () => clearTimeout(t);
688
- }, [n]), /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("div", {
688
+ }, [n, r]), /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("div", {
689
689
  "aria-busy": !0,
690
690
  className: "xeuugli x2lwn1j x78zum5 xdt5ytf x98rzlu",
691
691
  children: /* @__PURE__ */ v("div", {
@@ -696,17 +696,17 @@ function Se({ label: e, placeholder: t, startedAt: n, presentation: r }) {
696
696
  2: { className: "xeuugli x2lwn1j x78zum5 xdt5ytf x98rzlu xlshs6z x18usnwx" },
697
697
  1: { className: "xeuugli x2lwn1j x78zum5 xdt5ytf x98rzlu xqcmdr3 x1qme5af x1c3o69q x18usnwx" },
698
698
  3: { className: "xeuugli x2lwn1j x78zum5 xdt5ytf x98rzlu xlshs6z xqcmdr3 x1qme5af x1c3o69q x18usnwx" }
699
- }[!(c || o) << 1 | !(c || !o)],
699
+ }[!(l || c) << 1 | !(l || !c)],
700
700
  children: t
701
701
  })
702
- }), o && /* @__PURE__ */ v("span", {
702
+ }), c && /* @__PURE__ */ v("span", {
703
703
  role: "status",
704
704
  ...u.props(s.hidden),
705
705
  children: e
706
706
  })] });
707
707
  }
708
708
  function Ce(e) {
709
- let t = p(Y), [n, r] = g(() => ({
709
+ let t = p(X), [n, r] = g(() => ({
710
710
  state: e.state,
711
711
  scope: t,
712
712
  startedAt: t?.startedAt ?? Date.now(),
@@ -724,6 +724,7 @@ function Ce(e) {
724
724
  return /* @__PURE__ */ v("div", {
725
725
  className: "x1n2onr6 xeuugli x2lwn1j x78zum5 xdt5ytf x98rzlu",
726
726
  children: e.state === "pending" ? /* @__PURE__ */ v(Se, {
727
+ placeholderDelayMs: e.placeholderDelayMs ?? ye,
727
728
  label: e.label,
728
729
  placeholder: e.placeholder,
729
730
  startedAt: i.startedAt,
@@ -738,4 +739,4 @@ function Ce(e) {
738
739
  })
739
740
  });
740
741
  }
741
- export { ge as a, H as c, L as d, R as f, ye as i, U as l, N as m, $ as n, fe as o, M as p, xe as r, de as s, Ce as t, I as u };
742
+ export { he as a, U as c, R as d, z as f, ve as i, W as l, P as m, $ as n, de as o, N as p, xe as r, ue as s, Ce as t, L as u };
package/dist/styles2.css CHANGED
@@ -3325,6 +3325,10 @@
3325
3325
  height: var(--xcmidyz);
3326
3326
  }
3327
3327
 
3328
+ .xq63h3q {
3329
+ height: var(--xdvbmuj);
3330
+ }
3331
+
3328
3332
  .x8qmimb {
3329
3333
  height: var(--xjighox);
3330
3334
  }
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./accessibility-P89UG9-r.js";
2
2
  import { k as t } from "./src-9EJskqB_.js";
3
3
  import { x as n } from "./src-Dxs3Buo_.js";
4
- import { d as r, u as i } from "./src-npqwq3Sa.js";
4
+ import { d as r, u as i } from "./src-Bg4eyJZO.js";
5
5
  import { n as a, t as o } from "./chart-tones-ei3BC2AL.js";
6
- import { A as s, D as c, E as l, M as u, S as d, a as f, b as p, c as m, i as h, j as ee, m as g, n as _, o as v, p as y, w as b } from "./plot-layout-D8j-ozGR.js";
7
- import { i as te, n as x, r as S, t as C } from "./categorical-values-BoS03HcI.js";
6
+ import { A as s, D as c, E as l, M as u, S as d, a as f, b as p, c as m, i as h, j as ee, m as g, n as _, o as v, p as y, w as b } from "./plot-layout-PBlcYu9p.js";
7
+ import { i as te, n as x, r as S, t as C } from "./categorical-values-CGavb4HZ.js";
8
8
  import { i as w } from "./chart-link-AE_xuxiP.js";
9
9
  import { a as T } from "./tone-scope-DKiSw-JR.js";
10
10
  import { n as ne, r as re, t as E } from "./figure-format-B8kRZMlo.js";
11
11
  import { a as D, i as O, o as k, r as A, t as ie } from "./scale-C2xgZyZN.js";
12
12
  import { t as ae } from "./chart-cursor-1mFd48Jc.js";
13
- import { c as oe, i as j, l as se, n as ce, o as M, r as le, s as N, t as ue } from "./figure-frame-BKc9TvtX.js";
13
+ import { c as oe, i as j, l as se, n as ce, o as M, r as le, s as N, t as ue } from "./figure-frame-C2hCrRX4.js";
14
14
  import { n as P, t as F } from "./plot-width-D3hTycYX.js";
15
15
  import { t as de } from "./plot-axes-D5S9BnBa.js";
16
16
  import { a as I, c as L, d as R, f as z, i as fe, l as pe, n as B, o as me, r as V, s as he, t as ge } from "./plot-marks-FVsbFkUs.js";
17
- import { n as _e, r as ve, t as ye } from "./plot-surface-5e3xeiub.js";
18
- import { n as be, t as xe } from "./reference-lines-1FttCg46.js";
17
+ import { n as _e, r as ve, t as ye } from "./plot-surface-CdqANDC1.js";
18
+ import { n as be, t as xe } from "./reference-lines-Cdrs0B3S.js";
19
19
  import { n as Se, r as H, t as Ce } from "./path-BglsXpnO.js";
20
20
  import { t as we } from "./locate-Bcg3QcP4.js";
21
21
  import * as U from "@stylexjs/stylex";
@@ -1,9 +1,9 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
2
  import { d as t, l as n, s as r } from "./dates-CjlTzw00.js";
3
- import { A as i, D as a, E as o, M as s, O as c, S as l, a as u, j as d, k as f } from "./plot-layout-D8j-ozGR.js";
3
+ import { A as i, D as a, E as o, M as s, O as c, S as l, a as u, j as d, k as f } from "./plot-layout-PBlcYu9p.js";
4
4
  import { i as p } from "./chart-link-AE_xuxiP.js";
5
5
  import { n as m, r as h } from "./figure-format-B8kRZMlo.js";
6
- import { i as g, l as _, n as ee, r as te, t as ne } from "./figure-frame-BKc9TvtX.js";
6
+ import { i as g, l as _, n as ee, r as te, t as ne } from "./figure-frame-C2hCrRX4.js";
7
7
  import { n as v, t as re } from "./plot-width-D3hTycYX.js";
8
8
  import { n as y, r as b, t as ie } from "./heatmap-scale-Zte6Ya-g.js";
9
9
  import { t as ae } from "./color-legend-CIo7DhXB.js";
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./tokens.stylex-dF5CACEJ.js";
2
2
  import { t } from "./chart-tones-ei3BC2AL.js";
3
- import { A as n, D as r, E as i, M as a, O as o, S as s, a as c, i as l, j as u, n as d, s as f, x as p } from "./plot-layout-D8j-ozGR.js";
3
+ import { A as n, D as r, E as i, M as a, O as o, S as s, a as c, i as l, j as u, n as d, s as f, x as p } from "./plot-layout-PBlcYu9p.js";
4
4
  import { i as ee } from "./chart-link-AE_xuxiP.js";
5
5
  import { r as m } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as h, i as g, o as _ } from "./scale-C2xgZyZN.js";
7
- import { i as te, l as ne, n as re, r as v, t as ie } from "./figure-frame-BKc9TvtX.js";
7
+ import { i as te, l as ne, n as re, r as v, t as ie } from "./figure-frame-C2hCrRX4.js";
8
8
  import { n as ae } from "./plot-width-D3hTycYX.js";
9
9
  import { t as y } from "./plot-axes-D5S9BnBa.js";
10
10
  import { c as b, f as x, r as S, u as C } from "./plot-marks-FVsbFkUs.js";
11
- import { n as w, r as T, t as E } from "./plot-surface-5e3xeiub.js";
11
+ import { n as w, r as T, t as E } from "./plot-surface-CdqANDC1.js";
12
12
  import { r as D } from "./path-BglsXpnO.js";
13
13
  import { t as O } from "./locate-Bcg3QcP4.js";
14
14
  import * as k from "@stylexjs/stylex";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./accessibility-P89UG9-r.js";
2
2
  import { T as t, k as n } from "./src-9EJskqB_.js";
3
3
  import { n as r, t as i } from "./chart-tones-ei3BC2AL.js";
4
- import { A as a, D as o, E as s, M as c, O as l, S as u, T as d, c as f, j as p, x as m } from "./plot-layout-D8j-ozGR.js";
4
+ import { A as a, D as o, E as s, M as c, O as l, S as u, T as d, c as f, j as p, x as m } from "./plot-layout-PBlcYu9p.js";
5
5
  import { i as h } from "./chart-link-AE_xuxiP.js";
6
6
  import { a as g } from "./tone-scope-DKiSw-JR.js";
7
7
  import { r as _ } from "./figure-format-B8kRZMlo.js";
8
- import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-BKc9TvtX.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.js";
9
9
  import { n as C, t as w } from "./plot-width-D3hTycYX.js";
10
10
  import { a as T, c as E, p as D, u as O } from "./plot-marks-FVsbFkUs.js";
11
- import { r as k } from "./plot-surface-5e3xeiub.js";
11
+ import { r as k } from "./plot-surface-CdqANDC1.js";
12
12
  import { t as A } from "./label-spacing-BncjePGb.js";
13
13
  import { i as ee } from "./path-BglsXpnO.js";
14
14
  import { m as j } from "./values-963L6n1m.js";
@@ -407,7 +407,7 @@ function xe({ nodes: e, columnCount: t, width: n, top: r, bottom: i, amountText:
407
407
  }) });
408
408
  }
409
409
  // packages/charts/src/graph/relation-graph.tsx
410
- var Se = 2, Ce = 80;
410
+ var Se = 2, Ce = 136;
411
411
  function we(e, t) {
412
412
  let n = e.width * Math.min(1, t);
413
413
  return {
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./chart-tones-ei3BC2AL.js";
2
- import { A as t, E as n, M as r, S as i, j as a, s as o } from "./plot-layout-D8j-ozGR.js";
3
- import { i as s, n as c, t as l } from "./categorical-values-BoS03HcI.js";
2
+ import { A as t, E as n, M as r, S as i, j as a, s as o } from "./plot-layout-PBlcYu9p.js";
3
+ import { i as s, n as c, t as l } from "./categorical-values-CGavb4HZ.js";
4
4
  import { i as u } from "./chart-link-AE_xuxiP.js";
5
5
  import { a as d } from "./tone-scope-DKiSw-JR.js";
6
6
  import { r as f } from "./figure-format-B8kRZMlo.js";
7
- import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-BKc9TvtX.js";
7
+ import { i as p, l as m, n as h, r as g, t as _ } from "./figure-frame-C2hCrRX4.js";
8
8
  import { n as v } from "./plot-width-D3hTycYX.js";
9
- import { n as y, r as b } from "./plot-surface-5e3xeiub.js";
9
+ import { n as y, r as b } from "./plot-surface-CdqANDC1.js";
10
10
  import * as x from "@stylexjs/stylex";
11
11
  import { useId as S } from "react";
12
12
  import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  import { n as e, t } from "./chart-tones-ei3BC2AL.js";
2
- import { A as n, E as r, M as i, S as a, a as o, c as s, i as c, j as l, n as u, o as d } from "./plot-layout-D8j-ozGR.js";
2
+ import { A as n, E as r, M as i, S as a, a as o, c as s, i as c, j as l, n as u, o as d } from "./plot-layout-PBlcYu9p.js";
3
3
  import { i as f } from "./chart-link-AE_xuxiP.js";
4
4
  import { a as p } from "./tone-scope-DKiSw-JR.js";
5
5
  import { r as m } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as h, o as g } from "./scale-C2xgZyZN.js";
7
7
  import { t as _ } from "./chart-cursor-1mFd48Jc.js";
8
- import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-BKc9TvtX.js";
8
+ import { i as v, l as y, n as b, r as x, t as S } from "./figure-frame-C2hCrRX4.js";
9
9
  import { n as C, t as w } from "./plot-width-D3hTycYX.js";
10
10
  import { t as T } from "./plot-axes-D5S9BnBa.js";
11
11
  import { a as E, f as D, l as O, r as k, s as A } from "./plot-marks-FVsbFkUs.js";
12
- import { n as ee, r as j, t as te } from "./plot-surface-5e3xeiub.js";
12
+ import { n as ee, r as j, t as te } from "./plot-surface-CdqANDC1.js";
13
13
  import { r as ne } from "./path-BglsXpnO.js";
14
14
  import { t as M } from "./locate-Bcg3QcP4.js";
15
15
  import * as N from "@stylexjs/stylex";
@@ -1,15 +1,15 @@
1
1
  import { T as e, c as t, m as n } from "./src-9EJskqB_.js";
2
- import { A as r, E as i, M as a, S as o, f as s, j as c, l, s as u } from "./plot-layout-D8j-ozGR.js";
2
+ import { A as r, E as i, M as a, S as o, f as s, j as c, l, s as u } from "./plot-layout-PBlcYu9p.js";
3
3
  import { i as d } from "./chart-link-AE_xuxiP.js";
4
4
  import { a as f } from "./tone-scope-DKiSw-JR.js";
5
5
  import { n as ee, r as p } from "./figure-format-B8kRZMlo.js";
6
6
  import { a as m, o as h, r as te } from "./scale-C2xgZyZN.js";
7
7
  import { t as ne } from "./chart-cursor-1mFd48Jc.js";
8
- import { i as re, l as ie, n as ae, r as oe, t as g } from "./figure-frame-BKc9TvtX.js";
8
+ import { i as re, l as ie, n as ae, r as oe, t as g } from "./figure-frame-C2hCrRX4.js";
9
9
  import { n as _ } from "./plot-width-D3hTycYX.js";
10
10
  import { t as se } from "./plot-axes-D5S9BnBa.js";
11
11
  import { a as ce, c as le, f as ue, r as de } from "./plot-marks-FVsbFkUs.js";
12
- import { n as fe, r as pe, t as me } from "./plot-surface-5e3xeiub.js";
12
+ import { n as fe, r as pe, t as me } from "./plot-surface-CdqANDC1.js";
13
13
  import { t as he } from "./locate-Bcg3QcP4.js";
14
14
  import * as ge from "@stylexjs/stylex";
15
15
  import { useId as _e, useState as ve } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mechane-ai/elements",
3
- "version": "0.52.1",
3
+ "version": "0.54.0",
4
4
  "description": "Elements by Mechane — React components for applications, AI interfaces, and analytical graphics",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {