@mechane-ai/elements 0.31.0 → 0.32.1

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 (53) hide show
  1. package/dist/ai.js +19 -19
  2. package/dist/{categorical-values-Cfn6nwHi.js → categorical-values-Devj1xYe.js} +2 -2
  3. package/dist/{chart-frame-C8JU2tlM.js → chart-frame-DepdezdL.js} +91 -61
  4. package/dist/{chart-input-D0hBpH1r.js → chart-input-8sNm47Rp.js} +2 -2
  5. package/dist/charts/cartesian.js +8 -8
  6. package/dist/charts/distribution.js +2 -2
  7. package/dist/charts/graph.js +2 -2
  8. package/dist/charts/hierarchy.js +3 -3
  9. package/dist/charts/matrix.js +3 -3
  10. package/dist/charts/timeline.js +3 -3
  11. package/dist/charts.js +1 -1
  12. package/dist/{code-block-DlzYynjv.js → code-block-B_qJ1JJ3.js} +3 -3
  13. package/dist/collections.js +8 -8
  14. package/dist/content/code.js +1 -1
  15. package/dist/content/diff.js +3 -3
  16. package/dist/content/link.js +1 -1
  17. package/dist/content/markdown.js +2 -2
  18. package/dist/content/tree.js +2 -2
  19. package/dist/{content-link-Dh1hon1m.js → content-link-BtaiSKk8.js} +1 -1
  20. package/dist/content.js +1 -1
  21. package/dist/elements.css +56 -0
  22. package/dist/feedback.js +1 -1
  23. package/dist/forms/dates.js +1 -1
  24. package/dist/forms.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/layout.js +16 -16
  27. package/dist/navigation/commands.js +1 -1
  28. package/dist/packages/charts/src/chart-frame.d.ts +6 -4
  29. package/dist/packages/charts/src/chart-heading.d.ts +9 -0
  30. package/dist/packages/core/src/actions.d.ts +6 -2
  31. package/dist/packages/core/src/index.d.ts +1 -0
  32. package/dist/packages/feedback/src/control-placeholders.d.ts +11 -4
  33. package/dist/packages/forms/src/combobox.d.ts +5 -2
  34. package/dist/packages/forms/src/form-controls.d.ts +9 -4
  35. package/dist/packages/forms/src/forms.d.ts +3 -1
  36. package/dist/packages/forms/src/select.d.ts +3 -1
  37. package/dist/packages/foundations/src/control-density.d.ts +1 -0
  38. package/dist/packages/foundations/src/control-styles.d.ts +33 -1
  39. package/dist/packages/foundations/src/header-styles.d.ts +38 -0
  40. package/dist/packages/foundations/src/tokens.d.ts +1 -1
  41. package/dist/packages/foundations/src/tokens.stylex.d.ts +7 -0
  42. package/dist/{pierre-diff-DOkqEUqx.js → pierre-diff-CaPsfQRo.js} +1 -1
  43. package/dist/{pierre-theme-DsrSwl5m.js → pierre-theme-BpNaWn1x.js} +30 -30
  44. package/dist/{pierre-tree-tdFSl55t.js → pierre-tree-CPhT5CUP.js} +4 -4
  45. package/dist/src-BPIIuMeE.js +1291 -0
  46. package/dist/{src-DvLYUTID.js → src-BjmKVOb2.js} +310 -310
  47. package/dist/{src-SE6QORrJ.js → src-CALHXF-U.js} +331 -229
  48. package/dist/{src-CVleZrPa.js → src-DfPfFOu1.js} +3 -3
  49. package/dist/tokens.js +1 -1
  50. package/dist/{tokens.stylex-BoRZ3D8s.js → tokens.stylex-CJbIDPB9.js} +10 -3
  51. package/package.json +1 -1
  52. package/packages/foundations/src/tokens.stylex.ts +6 -0
  53. package/dist/src-Bb2fDOeE.js +0 -1193
package/dist/ai.js CHANGED
@@ -1,10 +1,10 @@
1
- import { A as e, D as t, E as n, O as r, T as i, h as a, i as o, m as s, t as c, v as l } from "./src-SE6QORrJ.js";
2
- import { t as u } from "./code-block-DlzYynjv.js";
3
- import { a as d } from "./src-CVleZrPa.js";
4
- import { t as f } from "./content-link-Dh1hon1m.js";
1
+ import { D as e, E as t, M as n, O as r, T as i, h as a, i as o, m as s, t as c, v as l } from "./src-CALHXF-U.js";
2
+ import { t as u } from "./code-block-B_qJ1JJ3.js";
3
+ import { a as d } from "./src-DfPfFOu1.js";
4
+ import { t as f } from "./content-link-BtaiSKk8.js";
5
5
  import { r as p, t as m } from "./src-d7EAi61b.js";
6
- import { c as h, d as g } from "./src-DvLYUTID.js";
7
- import { c as _, u as ee } from "./src-Bb2fDOeE.js";
6
+ import { c as h, d as g } from "./src-BjmKVOb2.js";
7
+ import { c as _, u as ee } from "./src-BPIIuMeE.js";
8
8
  import { t as v } from "./accessibility-C-aIZ1Yx.js";
9
9
  import { t as y } from "./visible-motion-1GcUaEi4.js";
10
10
  import * as b from "@stylexjs/stylex";
@@ -327,16 +327,16 @@ function oe({ name: e, description: t, href: n, actions: r }) {
327
327
  });
328
328
  }
329
329
  // packages/ai/src/message-action.tsx
330
- function se(e) {
331
- if (e.kind === "link") {
332
- let { kind: n, label: r, ...i } = e;
333
- return /* @__PURE__ */ O(t, {
330
+ function se(n) {
331
+ if (n.kind === "link") {
332
+ let { kind: t, label: r, ...i } = n;
333
+ return /* @__PURE__ */ O(e, {
334
334
  ...i,
335
335
  "aria-label": r
336
336
  });
337
337
  }
338
- let { kind: r, label: i, ...a } = e;
339
- return /* @__PURE__ */ O(n, {
338
+ let { kind: r, label: i, ...a } = n;
339
+ return /* @__PURE__ */ O(t, {
340
340
  ...a,
341
341
  variant: "ghost",
342
342
  "aria-label": i
@@ -377,7 +377,7 @@ var $ = {
377
377
  $$css: !0
378
378
  }
379
379
  };
380
- function ue({ isCompact: t = !1 }) {
380
+ function ue({ isCompact: e = !1 }) {
381
381
  return /* @__PURE__ */ O("div", {
382
382
  "aria-hidden": !0,
383
383
  inert: !0,
@@ -385,9 +385,9 @@ function ue({ isCompact: t = !1 }) {
385
385
  children: /* @__PURE__ */ k("div", {
386
386
  className: "x78zum5 xdt5ytf x1hnptsi xeuugli x1mvvolr xmkeg23 x1y0btm7 x1ey3b81 xy32g2j x1r7kqkb x1gd1hh4 x1u8w8hx x14xc8xn x1nvizq4 xgzwmep",
387
387
  children: [/* @__PURE__ */ O("div", {
388
- ...b.props(e.base, e.field, e.textarea, e.plainTextarea),
388
+ ...b.props(n.base, n.field, n.textarea, n.plainTextarea),
389
389
  children: /* @__PURE__ */ O(g, {
390
- lines: t ? 1 : 2,
390
+ lines: e ? 1 : 2,
391
391
  width: "22ch"
392
392
  })
393
393
  }), /* @__PURE__ */ k("div", {
@@ -403,7 +403,7 @@ function ue({ isCompact: t = !1 }) {
403
403
  })
404
404
  });
405
405
  }
406
- function de({ label: e, value: t, onValueChange: r, onSubmit: i, name: a = "prompt", placeholder: o, maxLength: s, required: c = !0, isPending: l = !1, disabled: u = !1, isSubmitDisabled: d = !1, submitLabel: f = "Send message", pendingLabel: p = "Sending…", enterBehavior: h = "newline", isCompact: g = !1, description: y, error: x, controls: S, attachments: C, onStop: T, isStopPending: E = !1, stopLabel: D = "Stop response" }) {
406
+ function de({ label: e, value: n, onValueChange: r, onSubmit: i, name: a = "prompt", placeholder: o, maxLength: s, required: c = !0, isPending: l = !1, disabled: u = !1, isSubmitDisabled: d = !1, submitLabel: f = "Send message", pendingLabel: p = "Sending…", enterBehavior: h = "newline", isCompact: g = !1, description: y, error: x, controls: S, attachments: C, onStop: T, isStopPending: E = !1, stopLabel: D = "Stop response" }) {
407
407
  let A = w(), M = u, N = g && C === void 0 && S === void 0, P = !M && !l && !d, F = f;
408
408
  T === void 0 ? l ? F = p : h === "submit" && (F = `${f} · Enter`) : F = E ? "Stopping…" : D;
409
409
  function I(e) {
@@ -439,7 +439,7 @@ function de({ label: e, value: t, onValueChange: r, onSubmit: i, name: a = "prom
439
439
  shouldGrow: N,
440
440
  xstyle: N ? $.inlineInput : void 0,
441
441
  name: a,
442
- value: t,
442
+ value: n,
443
443
  onChange: (e) => r(e.currentTarget.value),
444
444
  onKeyDown: I,
445
445
  placeholder: o ?? e,
@@ -457,7 +457,7 @@ function de({ label: e, value: t, onValueChange: r, onSubmit: i, name: a = "prom
457
457
  children: [S !== void 0 && /* @__PURE__ */ O("div", {
458
458
  className: "x78zum5 x1a02dak x6s0dn4 x1hnptsi xeuugli x12lumcd",
459
459
  children: S
460
- }), /* @__PURE__ */ k(m.Root, { children: [/* @__PURE__ */ O(m.Trigger, { render: T === void 0 ? /* @__PURE__ */ O(n, {
460
+ }), /* @__PURE__ */ k(m.Root, { children: [/* @__PURE__ */ O(m.Trigger, { render: T === void 0 ? /* @__PURE__ */ O(t, {
461
461
  xstyle: $.action,
462
462
  type: "submit",
463
463
  variant: "solid",
@@ -468,7 +468,7 @@ function de({ label: e, value: t, onValueChange: r, onSubmit: i, name: a = "prom
468
468
  size: 16,
469
469
  "aria-hidden": !0
470
470
  })
471
- }) : /* @__PURE__ */ O(n, {
471
+ }) : /* @__PURE__ */ O(t, {
472
472
  xstyle: $.action,
473
473
  type: "button",
474
474
  "aria-label": E ? "Stopping…" : D,
@@ -1,5 +1,5 @@
1
- import { n as e, s as t } from "./chart-frame-C8JU2tlM.js";
2
- import { n } from "./chart-input-D0hBpH1r.js";
1
+ import { n as e, s as t } from "./chart-frame-DepdezdL.js";
2
+ import { n } from "./chart-input-8sNm47Rp.js";
3
3
  import * as r from "@stylexjs/stylex";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  // packages/charts/src/categorical-values.tsx
@@ -1,12 +1,42 @@
1
- import { l as e, v as t } from "./src-SE6QORrJ.js";
1
+ import { u as e, v as t } from "./src-CALHXF-U.js";
2
2
  import { t as n } from "./use-scroll-tab-index-Dxpdh4W7.js";
3
- import { d as r, m as i } from "./src-DvLYUTID.js";
4
- import { n as a, r as o } from "./tokens.stylex-BoRZ3D8s.js";
3
+ import { d as r, m as i } from "./src-BjmKVOb2.js";
4
+ import { n as a, r as o } from "./tokens.stylex-CJbIDPB9.js";
5
5
  import * as s from "@stylexjs/stylex";
6
- import { useId as c } from "react";
7
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
+ import { Children as c, useId as l } from "react";
7
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
8
+ // packages/charts/src/chart-heading.tsx
9
+ var p = { root: {
10
+ k1C7PZ: "x8zbtdt",
11
+ khm7nJ: "x1gkm1c7",
12
+ kMwMTN: "xbixft",
13
+ kMv6JI: "x1hz01jw",
14
+ kGuDYH: "xtqrqnz",
15
+ kLWn49: "x1778rvt",
16
+ $$css: !0
17
+ } };
18
+ function m({ title: t, id: n, meta: r, actions: i }) {
19
+ let a = c.toArray(r).length > 0, o = c.toArray(i).length > 0, l = a || o, u = a && /* @__PURE__ */ d("div", {
20
+ ...s.props(e.meta),
21
+ children: r
22
+ }), m = o && /* @__PURE__ */ d("div", {
23
+ ...s.props(e.actions),
24
+ children: i
25
+ });
26
+ return /* @__PURE__ */ f("div", {
27
+ ...s.props(e.row, e.reportRow, p.root),
28
+ children: [/* @__PURE__ */ d("p", {
29
+ id: n,
30
+ ...s.props(e.title),
31
+ children: t
32
+ }), l && /* @__PURE__ */ f("div", {
33
+ ...s.props(e.trailing),
34
+ children: [u, m]
35
+ })]
36
+ });
37
+ }
8
38
  // packages/charts/src/chart-theme.ts
9
- var d = {
39
+ var h = {
10
40
  series1: a.series1,
11
41
  series2: a.series2,
12
42
  series3: a.series3,
@@ -16,7 +46,7 @@ var d = {
16
46
  positive: a.positive,
17
47
  negative: a.negative,
18
48
  neutral: o.muted
19
- }, f = {
49
+ }, g = {
20
50
  plot: {
21
51
  k7Eaqz: "xeuugli",
22
52
  kVQacm: "xb3r6kr",
@@ -64,86 +94,86 @@ var d = {
64
94
  k3XXqK: "x1t137rt",
65
95
  $$css: !0
66
96
  }
67
- }, p = {
97
+ }, _ = {
68
98
  kzqmXN: "x1xc55vz",
69
99
  kZKoxP: "xdk7pt",
70
100
  kmuXW: "x2lah0s",
71
101
  $$css: !0
72
- }, m = { swatch: (e) => [
73
- p,
102
+ }, v = { swatch: (e) => [
103
+ _,
74
104
  {
75
105
  kWkggS: e == null ? e : "xl8spv7",
76
106
  $$css: !0
77
107
  },
78
108
  { "--x-backgroundColor": e ?? void 0 }
79
109
  ] };
80
- function h({ series: e, values: t }) {
81
- return Object.keys(t).length === e.length && e.every((e) => Object.hasOwn(t, e.id)) ? /* @__PURE__ */ l("dl", {
110
+ function y({ series: e, values: t }) {
111
+ return Object.keys(t).length === e.length && e.every((e) => Object.hasOwn(t, e.id)) ? /* @__PURE__ */ d("dl", {
82
112
  "aria-label": "Period summary",
83
113
  className: "x78zum5 x1a02dak xaml1ju x1ghz6dp xeuugli",
84
- children: e.map((e, n) => /* @__PURE__ */ u("div", {
114
+ children: e.map((e, n) => /* @__PURE__ */ f("div", {
85
115
  ...{
86
116
  0: { className: "xeuugli" },
87
117
  1: { className: "xeuugli xo02m6d xpilrb4 x1t7ytsu x97x49r" }
88
118
  }[n > 0 | 0],
89
- children: [/* @__PURE__ */ u("dt", {
119
+ children: [/* @__PURE__ */ f("dt", {
90
120
  className: "x78zum5 x6s0dn4 xunmzkg x153jb6y xy8obcc",
91
- children: [/* @__PURE__ */ l("span", {
121
+ children: [/* @__PURE__ */ d("span", {
92
122
  "aria-hidden": !0,
93
- ...s.props(m.swatch(d[e.tone]))
123
+ ...s.props(v.swatch(h[e.tone]))
94
124
  }), e.label]
95
- }), /* @__PURE__ */ l("dd", {
125
+ }), /* @__PURE__ */ d("dd", {
96
126
  className: "x1ghz6dp xbixft x71lla1 xgkpprq xk4h15q x1wjjqco xss6m8b xj0a0fe",
97
- children: t[e.id] === void 0 ? /* @__PURE__ */ l(r, { width: "6ch" }) : t[e.id]
127
+ children: t[e.id] === void 0 ? /* @__PURE__ */ d(r, { width: "6ch" }) : t[e.id]
98
128
  })]
99
129
  }, e.id))
100
- }) : /* @__PURE__ */ l(i, {
130
+ }) : /* @__PURE__ */ d(i, {
101
131
  hasError: !0,
102
132
  children: "Period values must match the chart series identifiers."
103
133
  });
104
134
  }
105
135
  // packages/charts/src/chart-frame.tsx
106
- var g = {
136
+ var b = {
107
137
  kzqmXN: "x1xc55vz",
108
138
  kZKoxP: "xdk7pt",
109
139
  kmuXW: "x2lah0s",
110
140
  $$css: !0
111
- }, _ = { swatch: (e) => [
112
- g,
141
+ }, x = { swatch: (e) => [
142
+ b,
113
143
  {
114
144
  kWkggS: e == null ? e : "xl8spv7",
115
145
  $$css: !0
116
146
  },
117
147
  { "--x-backgroundColor": e ?? void 0 }
118
148
  ] };
119
- function v({ title: t, description: n, children: r, actions: i, footer: a, report: o, series: s = [] }) {
120
- let d = c();
149
+ function S({ title: t, description: n, children: r, actions: i, footer: a, report: o, series: p = [] }) {
150
+ let h = l();
121
151
  if (o !== void 0) {
122
- let c = o.seriesValues === void 0 ? o.summary : /* @__PURE__ */ l(h, {
123
- series: s,
152
+ let e = o.seriesValues === void 0 ? o.summary : /* @__PURE__ */ d(y, {
153
+ series: p,
124
154
  values: o.seriesValues
125
- }), f = c != null && c !== !1;
126
- return /* @__PURE__ */ u("figure", {
127
- "aria-labelledby": d,
155
+ }), s = e != null && e !== !1, l = c.toArray([o.actions, i]).length > 0, g = /* @__PURE__ */ f(u, { children: [o.actions, i] });
156
+ return /* @__PURE__ */ f("figure", {
157
+ "aria-labelledby": h,
128
158
  className: "xeuugli x1ghz6dp xbixft xpvm0e4 x1hz01jw xtqrqnz xj57cvi x1778rvt xmkeg23 x1y0btm7 x1ey3b81",
129
- children: [/* @__PURE__ */ l("figcaption", { children: /* @__PURE__ */ l(e, {
130
- id: d,
159
+ children: [/* @__PURE__ */ d("figcaption", { children: /* @__PURE__ */ d(m, {
160
+ id: h,
131
161
  title: t,
132
162
  meta: o.meta,
133
- actions: i
134
- }) }), /* @__PURE__ */ u("div", {
163
+ actions: l && g
164
+ }) }), /* @__PURE__ */ f("div", {
135
165
  className: "xeuugli xg7ukam",
136
166
  children: [
137
- f && /* @__PURE__ */ l("div", {
167
+ s && /* @__PURE__ */ d("div", {
138
168
  className: "x1xxlxpq xeuugli",
139
- children: c
169
+ children: e
140
170
  }),
141
- n !== void 0 && /* @__PURE__ */ l("p", {
171
+ n !== void 0 && /* @__PURE__ */ d("p", {
142
172
  className: "x1ghz6dp x1c87qhr x153jb6y xy8obcc xas2l8k",
143
173
  children: n
144
174
  }),
145
175
  r,
146
- a !== void 0 && /* @__PURE__ */ l("div", {
176
+ a !== void 0 && /* @__PURE__ */ d("div", {
147
177
  className: "x1xxf3xd xeuugli x153jb6y xy8obcc xas2l8k xj0a0fe",
148
178
  children: a
149
179
  })
@@ -151,59 +181,59 @@ function v({ title: t, description: n, children: r, actions: i, footer: a, repor
151
181
  })]
152
182
  });
153
183
  }
154
- return /* @__PURE__ */ u("figure", {
155
- "aria-labelledby": d,
184
+ return /* @__PURE__ */ f("figure", {
185
+ "aria-labelledby": h,
156
186
  className: "xeuugli x1ghz6dp xbixft xpvm0e4 x1hz01jw xtqrqnz xj57cvi x1778rvt",
157
187
  children: [
158
- /* @__PURE__ */ u("figcaption", {
188
+ /* @__PURE__ */ f("figcaption", {
159
189
  className: "x78zum5 x1a02dak x1qughib x7a106z x1n8ia3y x1wv5www",
160
- children: [/* @__PURE__ */ u("div", {
190
+ children: [/* @__PURE__ */ f("div", {
161
191
  className: "x1cqoux5 xeuugli xj0a0fe",
162
- children: [/* @__PURE__ */ l("p", {
163
- id: d,
192
+ children: [/* @__PURE__ */ d("p", {
193
+ id: h,
164
194
  className: "x1ghz6dp x12myhf4 x1778rvt xk4h15q",
165
195
  children: t
166
- }), n !== void 0 && /* @__PURE__ */ l("p", {
196
+ }), n !== void 0 && /* @__PURE__ */ d("p", {
167
197
  className: "x1ghz6dp x1c87qhr x153jb6y xy8obcc xas2l8k",
168
198
  children: n
169
199
  })]
170
- }), i !== void 0 && /* @__PURE__ */ l("div", {
171
- className: "x78zum5 x1a02dak x1hnptsi x193iq5w",
200
+ }), i !== void 0 && /* @__PURE__ */ d("div", {
201
+ ...s.props(e.actions),
172
202
  children: i
173
203
  })]
174
204
  }),
175
205
  r,
176
- a !== void 0 && /* @__PURE__ */ l("div", {
206
+ a !== void 0 && /* @__PURE__ */ d("div", {
177
207
  className: "x1xxf3xd xeuugli x153jb6y xy8obcc xas2l8k xj0a0fe",
178
208
  children: a
179
209
  })
180
210
  ]
181
211
  });
182
212
  }
183
- function y({ items: e, label: t = "Legend", isScrollable: n = !1 }) {
184
- return /* @__PURE__ */ l("ul", {
213
+ function C({ items: e, label: t = "Legend", isScrollable: n = !1 }) {
214
+ return /* @__PURE__ */ d("ul", {
185
215
  "aria-label": t,
186
216
  ...{
187
217
  0: { className: "x78zum5 x1a02dak x8zbtdt x1gkm1c7 xe8uvvx x1ghz6dp x1717udv x153jb6y x1hz01jw xy8obcc xas2l8k" },
188
218
  1: { className: "x78zum5 x8zbtdt x1gkm1c7 xe8uvvx x1ghz6dp x1717udv x153jb6y x1hz01jw xy8obcc xas2l8k xozqiw3 xw2csxc x1mqbd49" }
189
219
  }[!!n | 0],
190
- children: e.map((e) => /* @__PURE__ */ u("li", {
220
+ children: e.map((e) => /* @__PURE__ */ f("li", {
191
221
  ...{
192
222
  0: { className: "x3nfvp2 x6s0dn4 xunmzkg xeuugli x193iq5w xj0a0fe" },
193
223
  1: { className: "x3nfvp2 x6s0dn4 xunmzkg xeuugli xj0a0fe x2lah0s x1x1rfll xuxw1ft" }
194
224
  }[!!n | 0],
195
- children: [/* @__PURE__ */ l("span", {
225
+ children: [/* @__PURE__ */ d("span", {
196
226
  "aria-hidden": !0,
197
- ...s.props(_.swatch(d[e.tone]))
227
+ ...s.props(x.swatch(h[e.tone]))
198
228
  }), e.label]
199
229
  }, e.id))
200
230
  });
201
231
  }
202
- function b({ label: e, isSelected: t = !1, onSelect: n, children: r }) {
203
- return n === void 0 ? /* @__PURE__ */ l("div", {
232
+ function w({ label: e, isSelected: t = !1, onSelect: n, children: r }) {
233
+ return n === void 0 ? /* @__PURE__ */ d("div", {
204
234
  className: "x78zum5 x1a02dak x6s0dn4 x1qughib x8zbtdt x1gkm1c7 xeuugli x17tes2r x17oiadl x9f619 xh8yej3 xc342km x1hmw7ec x5g2kb4 x1hz01jw xtqrqnz xj57cvi x1778rvt x1yc453h xj0a0fe xbixft xpvm0e4 xss6m8b",
205
235
  children: r
206
- }) : /* @__PURE__ */ l("button", {
236
+ }) : /* @__PURE__ */ d("button", {
207
237
  type: "button",
208
238
  "aria-label": e,
209
239
  "aria-pressed": t,
@@ -215,18 +245,18 @@ function b({ label: e, isSelected: t = !1, onSelect: n, children: r }) {
215
245
  children: r
216
246
  });
217
247
  }
218
- function x({ children: e }) {
219
- return /* @__PURE__ */ l("p", {
248
+ function T({ children: e }) {
249
+ return /* @__PURE__ */ d("p", {
220
250
  "aria-live": "polite",
221
251
  className: "x1ghz6dp xeuugli x1mqbd49 xbixft xy8obcc xas2l8k xss6m8b xj0a0fe",
222
252
  children: e
223
253
  });
224
254
  }
225
- function S({ children: e, label: r = "View data" }) {
255
+ function E({ children: e, label: r = "View data" }) {
226
256
  let i = n();
227
- return /* @__PURE__ */ l("div", {
257
+ return /* @__PURE__ */ d("div", {
228
258
  className: "x1xxf3xd x178xt8z x13fuv20 xhjagg4",
229
- children: /* @__PURE__ */ u(t.Root, { children: [/* @__PURE__ */ l(t.Trigger, { children: r }), /* @__PURE__ */ l(t.Panel, { children: /* @__PURE__ */ l("div", {
259
+ children: /* @__PURE__ */ f(t.Root, { children: [/* @__PURE__ */ d(t.Trigger, { children: r }), /* @__PURE__ */ d(t.Panel, { children: /* @__PURE__ */ d("div", {
230
260
  ref: i.ref,
231
261
  role: "region",
232
262
  "aria-label": r,
@@ -236,4 +266,4 @@ function S({ children: e, label: r = "View data" }) {
236
266
  }) })] })
237
267
  });
238
268
  }
239
- export { x as a, y as i, b as n, f as o, v as r, d as s, S as t };
269
+ export { T as a, C as i, w as n, g as o, S as r, h as s, E as t };
@@ -1,5 +1,5 @@
1
- import { m as e } from "./src-DvLYUTID.js";
2
- import { r as t } from "./chart-frame-C8JU2tlM.js";
1
+ import { m as e } from "./src-BjmKVOb2.js";
2
+ import { r as t } from "./chart-frame-DepdezdL.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  // packages/charts/src/chart-input.tsx
5
5
  function r(e) {
@@ -1,13 +1,13 @@
1
- import { d as e, u as t } from "../src-DvLYUTID.js";
2
- import { i as n, n as r, r as i, t as a } from "../categorical-values-Cfn6nwHi.js";
3
- import { O as o } from "../src-SE6QORrJ.js";
1
+ import { d as e, u as t } from "../src-BjmKVOb2.js";
2
+ import { i as n, n as r, r as i, t as a } from "../categorical-values-Devj1xYe.js";
3
+ import { O as o } from "../src-CALHXF-U.js";
4
4
  import { t as s } from "../use-scroll-tab-index-Dxpdh4W7.js";
5
5
  import { s as c } from "../src-d7EAi61b.js";
6
- import { a as l, n as u, o as d, r as f, s as p, t as m } from "../chart-frame-C8JU2tlM.js";
7
- import { n as h, r as g, t as _ } from "../chart-input-D0hBpH1r.js";
8
- import { r as v } from "../tokens.stylex-BoRZ3D8s.js";
6
+ import { a as l, n as u, o as d, r as f, s as p, t as m } from "../chart-frame-DepdezdL.js";
7
+ import { n as h, r as g, t as _ } from "../chart-input-8sNm47Rp.js";
8
+ import { r as v } from "../tokens.stylex-CJbIDPB9.js";
9
9
  import { t as y } from "../plot-width--OgdohB5.js";
10
- import { g as b } from "../src-Bb2fDOeE.js";
10
+ import { g as b } from "../src-BPIIuMeE.js";
11
11
  import * as x from "@stylexjs/stylex";
12
12
  import { useEffect as ee, useId as S, useMemo as te, useRef as ne, useState as C } from "react";
13
13
  import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -37,7 +37,7 @@ function oe({ x: e, top: t, bottom: n, width: r }) {
37
37
  function se({ title: e, children: t }) {
38
38
  let n = s();
39
39
  return /* @__PURE__ */ E(c.Root, { children: [/* @__PURE__ */ T(c.Trigger, {
40
- render: /* @__PURE__ */ T(o, {}),
40
+ render: /* @__PURE__ */ T(o, { density: "compact" }),
41
41
  children: "Chart data"
42
42
  }), /* @__PURE__ */ E(c.Portal, { children: [/* @__PURE__ */ T(c.Backdrop, {}), /* @__PURE__ */ E(c.Popup, { children: [
43
43
  /* @__PURE__ */ T(c.Title, { children: e }),
@@ -1,5 +1,5 @@
1
- import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-C8JU2tlM.js";
2
- import { n as a, r as o, t as s } from "../chart-input-D0hBpH1r.js";
1
+ import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-DepdezdL.js";
2
+ import { n as a, r as o, t as s } from "../chart-input-8sNm47Rp.js";
3
3
  import { t as c } from "../plot-width--OgdohB5.js";
4
4
  import * as l from "@stylexjs/stylex";
5
5
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
2
- import { a as t, n, r, s as i, t as a } from "../chart-frame-C8JU2tlM.js";
3
- import { n as o, t as s } from "../chart-input-D0hBpH1r.js";
2
+ import { a as t, n, r, s as i, t as a } from "../chart-frame-DepdezdL.js";
3
+ import { n as o, t as s } from "../chart-input-8sNm47Rp.js";
4
4
  import * as c from "@stylexjs/stylex";
5
5
  import { useId as l } from "react";
6
6
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { i as e, r as t, t as n } from "../categorical-values-Cfn6nwHi.js";
2
- import { o as r, r as i, s as a } from "../chart-frame-C8JU2tlM.js";
3
- import { t as o } from "../chart-input-D0hBpH1r.js";
1
+ import { i as e, r as t, t as n } from "../categorical-values-Devj1xYe.js";
2
+ import { o as r, r as i, s as a } from "../chart-frame-DepdezdL.js";
3
+ import { t as o } from "../chart-input-8sNm47Rp.js";
4
4
  import { t as s } from "../plot-width--OgdohB5.js";
5
5
  import * as c from "@stylexjs/stylex";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { r as e } from "../tokens.stylex-BoRZ3D8s.js";
2
- import { n as t, r as n, t as r } from "../chart-input-D0hBpH1r.js";
3
- import { a as i, n as a, r as o, s, t as c } from "../chart-frame-C8JU2tlM.js";
1
+ import { r as e } from "../tokens.stylex-CJbIDPB9.js";
2
+ import { n as t, r as n, t as r } from "../chart-input-8sNm47Rp.js";
3
+ import { a as i, n as a, r as o, s, t as c } from "../chart-frame-DepdezdL.js";
4
4
  import { t as l } from "../use-scroll-tab-index-Dxpdh4W7.js";
5
5
  import * as u from "@stylexjs/stylex";
6
6
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { c as e } from "../src-SE6QORrJ.js";
2
- import { r as t } from "../chart-frame-C8JU2tlM.js";
3
- import { n, t as r } from "../chart-input-D0hBpH1r.js";
1
+ import { c as e } from "../src-CALHXF-U.js";
2
+ import { r as t } from "../chart-frame-DepdezdL.js";
3
+ import { n, t as r } from "../chart-input-8sNm47Rp.js";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  import { scaleLinear as s } from "@visx/scale";
package/dist/charts.js CHANGED
@@ -1 +1 @@
1
- export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-C8JU2tlM.js";
1
+ export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-DepdezdL.js";
@@ -1,8 +1,8 @@
1
- import { y as e } from "./src-SE6QORrJ.js";
2
- import { r as t } from "./tokens.stylex-BoRZ3D8s.js";
1
+ import { y as e } from "./src-CALHXF-U.js";
2
+ import { r as t } from "./tokens.stylex-CJbIDPB9.js";
3
3
  import { t as n } from "./use-scroll-tab-index-Dxpdh4W7.js";
4
4
  import { t as r } from "./viewer-styles-DsFYri4K.js";
5
- import { t as i } from "./pierre-theme-DsrSwl5m.js";
5
+ import { t as i } from "./pierre-theme-BpNaWn1x.js";
6
6
  import * as a from "@stylexjs/stylex";
7
7
  import { useEffect as o, useRef as s, useState as c } from "react";
8
8
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
- import { E as e, T as t, c as n, m as r, u as i, v as a } from "./src-SE6QORrJ.js";
2
- import { r as o } from "./src-Bb2fDOeE.js";
1
+ import { E as e, T as t, c as n, m as r, u as i, v as a } from "./src-CALHXF-U.js";
2
+ import { r as o } from "./src-BPIIuMeE.js";
3
3
  import { r as s, t as c } from "./src-d7EAi61b.js";
4
- import { d as l } from "./src-DvLYUTID.js";
4
+ import { d as l } from "./src-BjmKVOb2.js";
5
5
  import { t as u } from "./accessibility-C-aIZ1Yx.js";
6
- import { b as d, f as ee } from "./tokens.stylex-BoRZ3D8s.js";
6
+ import { p as d, x as ee } from "./tokens.stylex-CJbIDPB9.js";
7
7
  import { t as te } from "./use-scroll-tab-index-Dxpdh4W7.js";
8
8
  import { mergeProps as f } from "@base-ui/react/merge-props";
9
9
  import * as p from "@stylexjs/stylex";
@@ -137,7 +137,7 @@ function me({ end: e, viewport: t, onEndReached: n, content: r }) {
137
137
  ]);
138
138
  }
139
139
  // packages/collections/src/data-table.tsx
140
- var he = E({}), ge = 76, A = ee.compactTable.slice(7), _e = /* @__PURE__ */ new Map([["ArrowUp", -1], ["ArrowDown", 1]]), j = {
140
+ var he = E({}), ge = 76, A = d.compactTable.slice(7), _e = /* @__PURE__ */ new Map([["ArrowUp", -1], ["ArrowDown", 1]]), j = {
141
141
  kmVPX3: "x1717udv",
142
142
  kMzoRj: "xc342km",
143
143
  $$css: !0
@@ -438,7 +438,7 @@ function V({ leading: e, isSecondary: t = !1 }) {
438
438
  })]
439
439
  });
440
440
  }
441
- function Ce({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: a, onSortChange: s, selectedIds: c, onSelectionChange: l, selectionLabel: ee, rowAction: f, activeRowId: m, focusRowId: y, hideCaption: S = !1, hideHeaders: C = !1, rowSizing: w = "fixed", window: T, endContent: E, onEndReached: D, footer: O }) {
441
+ function Ce({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: a, onSortChange: s, selectedIds: c, onSelectionChange: l, selectionLabel: d, rowAction: f, activeRowId: m, focusRowId: y, hideCaption: S = !1, hideHeaders: C = !1, rowSizing: w = "fixed", window: T, endContent: E, onEndReached: D, footer: O }) {
442
442
  let k = re(() => ve(t), [t]), fe = ie(be, xe, () => !1), pe = re(() => {
443
443
  let e = ce();
444
444
  return e.columns(k.map((t) => e.display({
@@ -486,7 +486,7 @@ function Ce({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: a, o
486
486
  if (r === void 0) throw RangeError("The virtual row is outside the supplied table page.");
487
487
  return n(r);
488
488
  },
489
- estimateSize: () => w === "fixed" ? d.rowHeight : T?.estimatedRowHeight ?? d.rowHeight,
489
+ estimateSize: () => w === "fixed" ? ee.rowHeight : T?.estimatedRowHeight ?? ee.rowHeight,
490
490
  scrollMargin: V,
491
491
  scrollPaddingStart: V,
492
492
  overscan: 6,
@@ -624,7 +624,7 @@ function Ce({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: a, o
624
624
  children: [c !== void 0 && /* @__PURE__ */ b("td", {
625
625
  className: "x9f619 xt970qd xxymvpz xj0a0fe x1d7z9mz xeuugli x1dc62k6 x1n2onr6 x1vjfegm",
626
626
  children: /* @__PURE__ */ b(o.Root, {
627
- "aria-label": ee(e.original),
627
+ "aria-label": d(e.original),
628
628
  checked: c.has(e.id),
629
629
  onCheckedChange: (t) => {
630
630
  let n = new Set(c);
@@ -1 +1 @@
1
- export { t as CodeBlock } from "../code-block-DlzYynjv.js";
1
+ export { t as CodeBlock } from "../code-block-B_qJ1JJ3.js";
@@ -1,5 +1,5 @@
1
- import { O as e, v as t, y as n } from "../src-SE6QORrJ.js";
2
- import { t as r } from "../code-block-DlzYynjv.js";
1
+ import { O as e, v as t, y as n } from "../src-CALHXF-U.js";
2
+ import { t as r } from "../code-block-B_qJ1JJ3.js";
3
3
  import { t as i } from "../viewer-styles-DsFYri4K.js";
4
4
  import * as a from "@stylexjs/stylex";
5
5
  import { useEffect as o, useState as s } from "react";
@@ -44,7 +44,7 @@ function m(t) {
44
44
  let e = !0;
45
45
  async function t() {
46
46
  if (!A) try {
47
- let t = await import("../pierre-diff-DOkqEUqx.js"), n = t.prepareDiff(x);
47
+ let t = await import("../pierre-diff-CaPsfQRo.js"), n = t.prepareDiff(x);
48
48
  e && w({
49
49
  source: x,
50
50
  Component: t.PierreDiff,
@@ -1 +1 @@
1
- export { t as ContentLink } from "../content-link-Dh1hon1m.js";
1
+ export { t as ContentLink } from "../content-link-BtaiSKk8.js";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
2
2
  import { t } from "../visible-motion-1GcUaEi4.js";
3
- import { t as n } from "../code-block-DlzYynjv.js";
4
- import { n as r, t as i } from "../content-link-Dh1hon1m.js";
3
+ import { t as n } from "../code-block-B_qJ1JJ3.js";
4
+ import { n as r, t as i } from "../content-link-BtaiSKk8.js";
5
5
  import { t as a } from "../viewer-styles-DsFYri4K.js";
6
6
  import * as o from "@stylexjs/stylex";
7
7
  import { Children as s, createContext as c, createElement as l, memo as u, useContext as d } from "react";
@@ -1,4 +1,4 @@
1
- import { O as e } from "../src-SE6QORrJ.js";
1
+ import { O as e } from "../src-CALHXF-U.js";
2
2
  import { t } from "../use-scroll-tab-index-Dxpdh4W7.js";
3
3
  import { t as n } from "../viewer-styles-DsFYri4K.js";
4
4
  import * as r from "@stylexjs/stylex";
@@ -28,7 +28,7 @@ function f(u) {
28
28
  let e = !0;
29
29
  async function t() {
30
30
  try {
31
- let t = await import("../pierre-tree-tdFSl55t.js");
31
+ let t = await import("../pierre-tree-CPhT5CUP.js");
32
32
  e && m({
33
33
  Component: t.PierreTree,
34
34
  hasFailed: !1
@@ -1,4 +1,4 @@
1
- import { k as e } from "./src-SE6QORrJ.js";
1
+ import { k as e } from "./src-CALHXF-U.js";
2
2
  import "@stylexjs/stylex";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  // packages/content/src/content-link.tsx
package/dist/content.js CHANGED
@@ -1 +1 @@
1
- export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-CVleZrPa.js";
1
+ export { o as JsonViewer, a as LogViewer, r as MediaViewer, i as MediaViewerPlaceholder, n as StackTrace, t as Trace } from "./src-DfPfFOu1.js";