@mechane-ai/elements 0.25.0 → 0.27.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 (69) hide show
  1. package/README.md +9 -6
  2. package/dist/ai.js +56 -56
  3. package/dist/{categorical-values-CPRt9uzI.js → categorical-values-DqoH9l1M.js} +2 -2
  4. package/dist/chart-frame-CYdrUwvP.js +239 -0
  5. package/dist/{chart-input-DDAjzy-O.js → chart-input--Q3Jdono.js} +4 -3
  6. package/dist/charts/cartesian.js +527 -434
  7. package/dist/charts/distribution.js +134 -126
  8. package/dist/charts/graph.js +46 -43
  9. package/dist/charts/hierarchy.js +28 -26
  10. package/dist/charts/matrix.js +81 -77
  11. package/dist/charts/timeline.js +87 -80
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-DENC5fD_.js → code-block-DPeyW4sm.js} +3 -3
  14. package/dist/collections.js +55 -54
  15. package/dist/content/code.js +1 -1
  16. package/dist/content/diff.js +10 -10
  17. package/dist/content/link.js +1 -1
  18. package/dist/content/markdown.js +2 -2
  19. package/dist/content/tree.js +2 -2
  20. package/dist/{content-link-CGIua9If.js → content-link-5oRGjDHa.js} +1 -1
  21. package/dist/content.js +18 -18
  22. package/dist/elements.css +22 -0
  23. package/dist/feedback.js +1 -1
  24. package/dist/forms/dates.js +7 -7
  25. package/dist/forms.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/layout.js +125 -97
  28. package/dist/navigation/commands.js +1 -1
  29. package/dist/navigation.js +61 -25
  30. package/dist/packages/charts/src/cartesian/bar-chart.d.ts +5 -4
  31. package/dist/packages/charts/src/cartesian/breakdown-bar.d.ts +3 -2
  32. package/dist/packages/charts/src/cartesian/index.d.ts +2 -2
  33. package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +2 -1
  34. package/dist/packages/charts/src/cartesian/time-series.d.ts +12 -3
  35. package/dist/packages/charts/src/chart-frame.d.ts +15 -7
  36. package/dist/packages/charts/src/chart-input.d.ts +3 -1
  37. package/dist/packages/charts/src/chart-inspection.d.ts +3 -1
  38. package/dist/packages/charts/src/chart-series-summary.d.ts +6 -0
  39. package/dist/packages/charts/src/chart-theme.d.ts +5 -0
  40. package/dist/packages/charts/src/distribution/ecdf.d.ts +3 -2
  41. package/dist/packages/charts/src/distribution/histogram.d.ts +3 -2
  42. package/dist/packages/charts/src/distribution/interval-plot.d.ts +3 -2
  43. package/dist/packages/charts/src/distribution/ranked-bars.d.ts +3 -2
  44. package/dist/packages/charts/src/graph/relation-graph.d.ts +3 -2
  45. package/dist/packages/charts/src/hierarchy/treemap.d.ts +3 -2
  46. package/dist/packages/charts/src/index.d.ts +1 -1
  47. package/dist/packages/charts/src/matrix/matrix.d.ts +3 -2
  48. package/dist/packages/charts/src/matrix/token-heatmap.d.ts +3 -2
  49. package/dist/packages/charts/src/timeline/waterfall.d.ts +4 -1
  50. package/dist/packages/core/src/index.d.ts +2 -0
  51. package/dist/packages/core/src/section-heading.d.ts +8 -0
  52. package/dist/packages/layout/src/collection-layout.d.ts +6 -0
  53. package/dist/packages/layout/src/detail-page.d.ts +2 -1
  54. package/dist/packages/layout/src/index.d.ts +4 -0
  55. package/dist/packages/layout/src/record-page.d.ts +2 -1
  56. package/dist/packages/layout/src/report-content.d.ts +6 -0
  57. package/dist/packages/navigation/src/content-tabs.d.ts +17 -0
  58. package/dist/packages/navigation/src/index.d.ts +2 -0
  59. package/dist/{pierre-diff-CHQsoQSZ.js → pierre-diff-C3U_qae6.js} +1 -1
  60. package/dist/{pierre-theme-CLgk9v3e.js → pierre-theme-DsrSwl5m.js} +19 -20
  61. package/dist/{pierre-tree-C3nKYyoN.js → pierre-tree-KSFewJrY.js} +4 -4
  62. package/dist/{src-CQOgWIzP.js → src-DYwAhQHt.js} +98 -98
  63. package/dist/{src-DLReNPV9.js → src-E3Or8tkO.js} +38 -18
  64. package/dist/{src-DHYcohZP.js → src-eWcNz_oB.js} +25 -26
  65. package/dist/tokens.js +1 -3
  66. package/dist/{tokens.stylex-DTHHFbyl.js → tokens.stylex-BoRZ3D8s.js} +92 -12
  67. package/package.json +1 -1
  68. package/dist/chart-frame-CNr8M_b2.js +0 -166
  69. package/dist/constants.stylex-BILvnwUk.js +0 -84
@@ -3,3 +3,5 @@ export type { PageNavigationItem, PageNavigationProps, PageNavigationPlaceholder
3
3
  export { PageNavigation, PageNavigationPlaceholder } from './page-navigation.tsx';
4
4
  export { SkipLink } from './skip-link.tsx';
5
5
  export { Tabs } from './tabs.tsx';
6
+ export { ContentTabs } from './content-tabs.tsx';
7
+ export type { ContentTab, ContentTabNavigation, ContentTabsProps } from './content-tabs.tsx';
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./use-scroll-tab-index-Dxpdh4W7.js";
2
- import { n as t, t as n } from "./pierre-theme-CLgk9v3e.js";
2
+ import { n as t, t as n } from "./pierre-theme-DsrSwl5m.js";
3
3
  import { t as r } from "./viewer-styles-CpHqp5Qv.js";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { useCallback as a, useState as o } from "react";
@@ -1,5 +1,4 @@
1
- import { t as e } from "./constants.stylex-BILvnwUk.js";
2
- import { d as t, i as n, l as r, r as i, u as a } from "./tokens.stylex-DTHHFbyl.js";
1
+ import { d as e, f as t, i as n, l as r, r as i, u as a } from "./tokens.stylex-BoRZ3D8s.js";
3
2
  // packages/content/src/pierre-theme.ts
4
3
  var o = {
5
4
  name: "Elements",
@@ -37,10 +36,10 @@ var o = {
37
36
  }, s = `
38
37
  :host {
39
38
  color-scheme: inherit;
40
- --diffs-font-family: ${t.monoFamily};
41
- --diffs-header-font-family: ${t.fontFamily};
42
- --diffs-font-size: ${t.captionSize};
43
- --diffs-line-height: ${t.bodyLineHeight};
39
+ --diffs-font-family: ${e.monoFamily};
40
+ --diffs-header-font-family: ${e.fontFamily};
41
+ --diffs-font-size: ${e.captionSize};
42
+ --diffs-line-height: ${e.bodyLineHeight};
44
43
  --diffs-gap-inline: ${r.sm};
45
44
  --diffs-gap-block: ${r.sm};
46
45
  --diffs-bg: ${i.surface};
@@ -55,21 +54,21 @@ var o = {
55
54
  --diffs-bg-context-gutter-override: ${i.canvas};
56
55
  --diffs-bg-separator-override: ${i.canvas};
57
56
  --diffs-selection-background: ${i.accentSoft};
58
- font-family: ${t.monoFamily};
59
- font-size: ${t.captionSize};
57
+ font-family: ${e.monoFamily};
58
+ font-size: ${e.captionSize};
60
59
  color: ${i.ink};
61
60
  background: ${i.surface};
62
61
  }
63
- pre { font-family: ${t.monoFamily}; font-size: ${t.captionSize}; line-height: ${t.bodyLineHeight}; }
62
+ pre { font-family: ${e.monoFamily}; font-size: ${e.captionSize}; line-height: ${e.bodyLineHeight}; }
64
63
  [data-line-number] { color: ${i.muted}; }
65
64
  [data-diffs-header] {
66
65
  min-height: ${n.height};
67
66
  padding-block: ${r.sm};
68
67
  padding-inline: ${r.md};
69
68
  border-bottom: 1px solid ${i.line};
70
- font-size: ${t.captionSize};
71
- line-height: ${t.captionLineHeight};
72
- font-weight: ${t.mediumWeight};
69
+ font-size: ${e.captionSize};
70
+ line-height: ${e.captionLineHeight};
71
+ font-weight: ${e.mediumWeight};
73
72
  flex-wrap: wrap;
74
73
  }
75
74
  [data-header-content] { flex: 1 1 12ch; }
@@ -78,13 +77,13 @@ pre { font-family: ${t.monoFamily}; font-size: ${t.captionSize}; line-height: ${
78
77
  color-scheme: inherit;
79
78
  color: ${i.ink};
80
79
  background: ${i.surface};
81
- font-family: ${t.fontFamily};
82
- font-size: ${t.bodySize};
83
- --trees-font-family-override: ${t.fontFamily};
84
- --trees-font-size-override: ${t.bodySize};
85
- --trees-font-weight-regular-override: ${t.regularWeight};
86
- --trees-font-weight-semibold-override: ${t.strongWeight};
87
- --trees-search-font-weight-override: ${t.strongWeight};
80
+ font-family: ${e.fontFamily};
81
+ font-size: ${e.bodySize};
82
+ --trees-font-family-override: ${e.fontFamily};
83
+ --trees-font-size-override: ${e.bodySize};
84
+ --trees-font-weight-regular-override: ${e.regularWeight};
85
+ --trees-font-weight-semibold-override: ${e.strongWeight};
86
+ --trees-search-font-weight-override: ${e.strongWeight};
88
87
  --trees-padding-inline-override: ${r.md};
89
88
  --trees-item-padding-x-override: ${r.sm};
90
89
  --trees-item-row-gap-override: ${n.gap};
@@ -113,7 +112,7 @@ pre { font-family: ${t.monoFamily}; font-size: ${t.captionSize}; line-height: ${
113
112
  background-color: ${i.surface};
114
113
  --truncate-marker-background-overlay-color: transparent;
115
114
  }
116
- ${e.hoverPointer} {
115
+ ${t.hoverPointer} {
117
116
  [data-type="item"]:hover:not([data-item-selected="true"]):not([data-item-context-hover="true"]) {
118
117
  background-color: ${i.canvas};
119
118
  --truncate-marker-background-overlay-color: ${i.canvas};
@@ -1,7 +1,7 @@
1
- import { c as e } from "./src-DLReNPV9.js";
2
- import { l as t } from "./src-CQOgWIzP.js";
3
- import { t as n } from "./constants.stylex-BILvnwUk.js";
4
- import { r } from "./pierre-theme-CLgk9v3e.js";
1
+ import { c as e } from "./src-E3Or8tkO.js";
2
+ import { l as t } from "./src-DYwAhQHt.js";
3
+ import { f as n } from "./tokens.stylex-BoRZ3D8s.js";
4
+ import { r } from "./pierre-theme-DsrSwl5m.js";
5
5
  import * as i from "@stylexjs/stylex";
6
6
  import { useEffect as a, useId as o, useRef as s, useState as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { O as e, b as t, i as n, s as r, v as i, x as a } from "./src-DLReNPV9.js";
1
+ import { S as e, i as t, k as n, s as r, x as i, y as a } from "./src-E3Or8tkO.js";
2
2
  import { t as o } from "./style-composition-uYlczSsB.js";
3
3
  import { mergeProps as s } from "@base-ui/react/merge-props";
4
4
  import * as c from "@stylexjs/stylex";
@@ -53,7 +53,7 @@ var E = {
53
53
  }
54
54
  }, D = {
55
55
  field: { field: { $$css: !0 } }.field,
56
- plain: e.plainTextarea
56
+ plain: n.plainTextarea
57
57
  }, O = {
58
58
  trigger: {
59
59
  k1xSpc: "x3nfvp2",
@@ -186,36 +186,36 @@ var E = {
186
186
  function ne(e) {
187
187
  return /* @__PURE__ */ u(h.Root, { ...e });
188
188
  }
189
- function re({ className: t, style: n, xstyle: r, ...i }) {
189
+ function re({ className: e, style: t, xstyle: r, ...i }) {
190
190
  return /* @__PURE__ */ u(h.InputGroup, {
191
191
  ...i,
192
192
  ...o({
193
- className: t,
194
- style: n,
195
- styles: c.props(e.group, k.inputGroup, r)
193
+ className: e,
194
+ style: t,
195
+ styles: c.props(n.group, k.inputGroup, r)
196
196
  })
197
197
  });
198
198
  }
199
- function A({ className: t, style: n, ...r }) {
199
+ function A({ className: e, style: t, ...r }) {
200
200
  return /* @__PURE__ */ u(h.Label, {
201
201
  ...r,
202
202
  ...o({
203
- className: t,
204
- style: n,
205
- styles: c.props(e.label)
203
+ className: e,
204
+ style: t,
205
+ styles: c.props(n.label)
206
206
  })
207
207
  });
208
208
  }
209
209
  function j(e) {
210
210
  return /* @__PURE__ */ u(h.Value, { ...e });
211
211
  }
212
- function M({ className: t, style: n, ...r }) {
212
+ function M({ className: e, style: t, ...r }) {
213
213
  return /* @__PURE__ */ u(h.Input, {
214
214
  ...r,
215
215
  ...o({
216
- className: t,
217
- style: n,
218
- styles: c.props(e.base, e.field, E.input, e.embedded, k.input)
216
+ className: e,
217
+ style: t,
218
+ styles: c.props(n.base, n.field, E.input, n.embedded, k.input)
219
219
  })
220
220
  });
221
221
  }
@@ -344,13 +344,13 @@ function U({ className: e, style: t, ...n }) {
344
344
  })
345
345
  });
346
346
  }
347
- function W({ className: t, style: n, ...r }) {
347
+ function W({ className: e, style: t, ...r }) {
348
348
  return /* @__PURE__ */ u(h.Chip, {
349
349
  ...r,
350
350
  ...o({
351
- className: t,
352
- style: n,
353
- styles: c.props(e.group, k.chip)
351
+ className: e,
352
+ style: t,
353
+ styles: c.props(n.group, k.chip)
354
354
  })
355
355
  });
356
356
  }
@@ -392,25 +392,25 @@ var K = {
392
392
  Collection: h.Collection
393
393
  };
394
394
  // packages/forms/src/agent-avatar-picker.tsx
395
- function q({ value: e, onValueChange: n, disabled: r = !1 }) {
395
+ function q({ value: t, onValueChange: n, disabled: r = !1 }) {
396
396
  let o = l(), s = l();
397
397
  return /* @__PURE__ */ d("div", {
398
398
  className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
399
399
  children: [
400
400
  /* @__PURE__ */ d("div", {
401
401
  className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
402
- children: [/* @__PURE__ */ u(i, {
402
+ children: [/* @__PURE__ */ u(a, {
403
403
  seed: "preview",
404
- appearance: e,
404
+ appearance: t,
405
405
  size: "lg"
406
406
  }), /* @__PURE__ */ d("div", {
407
407
  className: "x78zum5 xdt5ytf xeuugli",
408
408
  children: [/* @__PURE__ */ u("span", {
409
409
  className: "xbixft xtqrqnz xk4h15q x1778rvt xn80e1m",
410
- children: e.shape
410
+ children: t.shape
411
411
  }), /* @__PURE__ */ u("span", {
412
412
  className: "x153jb6y xy8obcc xas2l8k xn80e1m",
413
- children: e.color
413
+ children: t.color
414
414
  })]
415
415
  })]
416
416
  }),
@@ -422,27 +422,27 @@ function q({ value: e, onValueChange: n, disabled: r = !1 }) {
422
422
  children: "Shape"
423
423
  }), /* @__PURE__ */ u(_, {
424
424
  "aria-labelledby": o,
425
- value: e.shape,
426
- onValueChange: (t) => n({
427
- ...e,
428
- shape: t
425
+ value: t.shape,
426
+ onValueChange: (e) => n({
427
+ ...t,
428
+ shape: e
429
429
  }),
430
430
  disabled: r,
431
431
  className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
432
- children: a.map((t) => /* @__PURE__ */ u(g.Root, {
433
- value: t,
434
- "aria-label": t,
435
- title: t,
432
+ children: e.map((e) => /* @__PURE__ */ u(g.Root, {
433
+ value: e,
434
+ "aria-label": e,
435
+ title: e,
436
436
  className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x16opp91 x1gjsuxi x17tes2r x17oiadl x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
437
- children: /* @__PURE__ */ u(i, {
438
- seed: t,
437
+ children: /* @__PURE__ */ u(a, {
438
+ seed: e,
439
439
  appearance: {
440
- ...e,
441
- shape: t
440
+ ...t,
441
+ shape: e
442
442
  },
443
443
  size: "md"
444
444
  })
445
- }, t))
445
+ }, e))
446
446
  })]
447
447
  }),
448
448
  /* @__PURE__ */ d("div", {
@@ -453,27 +453,27 @@ function q({ value: e, onValueChange: n, disabled: r = !1 }) {
453
453
  children: "Color"
454
454
  }), /* @__PURE__ */ u(_, {
455
455
  "aria-labelledby": s,
456
- value: e.color,
457
- onValueChange: (t) => n({
458
- ...e,
459
- color: t
456
+ value: t.color,
457
+ onValueChange: (e) => n({
458
+ ...t,
459
+ color: e
460
460
  }),
461
461
  disabled: r,
462
462
  className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
463
- children: t.map((t) => /* @__PURE__ */ u(g.Root, {
464
- value: t,
465
- "aria-label": t,
466
- title: t,
463
+ children: i.map((e) => /* @__PURE__ */ u(g.Root, {
464
+ value: e,
465
+ "aria-label": e,
466
+ title: e,
467
467
  className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x16opp91 x1gjsuxi x17tes2r x17oiadl x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
468
- children: /* @__PURE__ */ u(i, {
469
- seed: t,
468
+ children: /* @__PURE__ */ u(a, {
469
+ seed: e,
470
470
  appearance: {
471
- ...e,
472
- color: t
471
+ ...t,
472
+ color: e
473
473
  },
474
474
  size: "md"
475
475
  })
476
- }, t))
476
+ }, e))
477
477
  })]
478
478
  })
479
479
  ]
@@ -554,49 +554,49 @@ function X({ className: e, style: t, ...n }) {
554
554
  })
555
555
  });
556
556
  }
557
- function ie({ xstyle: t, ...n }) {
558
- return /* @__PURE__ */ u("div", { ...s(c.props(e.group, t), n) });
557
+ function ie({ xstyle: e, ...t }) {
558
+ return /* @__PURE__ */ u("div", { ...s(c.props(n.group, e), t) });
559
559
  }
560
560
  function ae(e) {
561
561
  return /* @__PURE__ */ u("span", { ...s({ className: "x3nfvp2 x2lah0s x6s0dn4 x1atzlso x153jb6y x1hz01jw xj57cvi xtqrqnz x1778rvt" }, e) });
562
562
  }
563
- function oe({ className: t, style: n, xstyle: r, ...i }) {
563
+ function oe({ className: e, style: t, xstyle: r, ...i }) {
564
564
  return /* @__PURE__ */ u(y, {
565
565
  ...i,
566
566
  ...o({
567
- className: t,
568
- style: n,
569
- styles: c.props(e.base, e.field, E.input, e.embedded, r)
567
+ className: e,
568
+ style: t,
569
+ styles: c.props(n.base, n.field, E.input, n.embedded, r)
570
570
  })
571
571
  });
572
572
  }
573
- function se({ className: t, style: n, xstyle: r, ...i }) {
573
+ function se({ className: e, style: t, xstyle: r, ...i }) {
574
574
  return /* @__PURE__ */ u(b.Root, {
575
575
  ...i,
576
576
  ...o({
577
- className: t,
578
- style: n,
579
- styles: c.props(e.fieldRoot, r)
577
+ className: e,
578
+ style: t,
579
+ styles: c.props(n.fieldRoot, r)
580
580
  })
581
581
  });
582
582
  }
583
- function ce({ className: t, style: n, ...r }) {
583
+ function ce({ className: e, style: t, ...r }) {
584
584
  return /* @__PURE__ */ u(b.Group, {
585
585
  ...r,
586
586
  ...o({
587
- className: t,
588
- style: n,
589
- styles: c.props(e.group)
587
+ className: e,
588
+ style: t,
589
+ styles: c.props(n.group)
590
590
  })
591
591
  });
592
592
  }
593
- function le({ className: t, style: n, ...r }) {
593
+ function le({ className: e, style: t, ...r }) {
594
594
  return /* @__PURE__ */ u(b.Input, {
595
595
  ...r,
596
596
  ...o({
597
- className: t,
598
- style: n,
599
- styles: c.props(e.base, e.field, E.input, e.embedded, J.numberInput)
597
+ className: e,
598
+ style: t,
599
+ styles: c.props(n.base, n.field, E.input, n.embedded, J.numberInput)
600
600
  })
601
601
  });
602
602
  }
@@ -674,13 +674,13 @@ function ge({ className: e, style: t, ...n }) {
674
674
  })
675
675
  });
676
676
  }
677
- function _e({ className: t, style: n, ...r }) {
677
+ function _e({ className: e, style: t, ...r }) {
678
678
  return /* @__PURE__ */ u(x.Label, {
679
679
  ...r,
680
680
  ...o({
681
- className: t,
682
- style: n,
683
- styles: c.props(e.label)
681
+ className: e,
682
+ style: t,
683
+ styles: c.props(n.label)
684
684
  })
685
685
  });
686
686
  }
@@ -694,14 +694,14 @@ function ve({ className: e, style: t, ...n }) {
694
694
  })
695
695
  });
696
696
  }
697
- function ye({ className: t, style: n, xstyle: r, ...i }) {
697
+ function ye({ className: e, style: t, xstyle: r, ...i }) {
698
698
  return /* @__PURE__ */ u(y, {
699
699
  ...i,
700
700
  type: "file",
701
701
  ...o({
702
- className: t,
703
- style: n,
704
- styles: c.props(e.base, e.field, E.input, J.file, r)
702
+ className: e,
703
+ style: t,
704
+ styles: c.props(n.base, n.field, E.input, J.file, r)
705
705
  })
706
706
  });
707
707
  }
@@ -759,33 +759,33 @@ function Te({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r })
759
759
  });
760
760
  }
761
761
  // packages/forms/src/forms.tsx
762
- function Ee({ className: t, style: n, xstyle: r, ...i }) {
762
+ function Ee({ className: e, style: t, xstyle: r, ...i }) {
763
763
  return /* @__PURE__ */ u(S.Root, {
764
764
  ...i,
765
765
  ...o({
766
- className: t,
767
- style: n,
768
- styles: c.props(e.fieldRoot, r)
766
+ className: e,
767
+ style: t,
768
+ styles: c.props(n.fieldRoot, r)
769
769
  })
770
770
  });
771
771
  }
772
- function De({ className: t, style: n, ...r }) {
772
+ function De({ className: e, style: t, ...r }) {
773
773
  return /* @__PURE__ */ u(S.Label, {
774
774
  ...r,
775
775
  ...o({
776
- className: t,
777
- style: n,
778
- styles: c.props(e.label)
776
+ className: e,
777
+ style: t,
778
+ styles: c.props(n.label)
779
779
  })
780
780
  });
781
781
  }
782
- function Oe({ className: t, style: n, ...r }) {
782
+ function Oe({ className: e, style: t, ...r }) {
783
783
  return /* @__PURE__ */ u(S.Description, {
784
784
  ...r,
785
785
  ...o({
786
- className: t,
787
- style: n,
788
- styles: c.props(e.description)
786
+ className: e,
787
+ style: t,
788
+ styles: c.props(n.description)
789
789
  })
790
790
  });
791
791
  }
@@ -805,17 +805,17 @@ var Ae = {
805
805
  Description: Oe,
806
806
  Error: ke
807
807
  };
808
- function je({ className: t, style: n, xstyle: r, ...i }) {
808
+ function je({ className: e, style: t, xstyle: r, ...i }) {
809
809
  return /* @__PURE__ */ u(y, {
810
810
  ...i,
811
811
  ...o({
812
- className: t,
813
- style: n,
814
- styles: c.props(e.base, e.field, E.input, r)
812
+ className: e,
813
+ style: t,
814
+ styles: c.props(n.base, n.field, E.input, r)
815
815
  })
816
816
  });
817
817
  }
818
- function Me({ isCompact: t = !1, shouldGrow: n = !1, appearance: r = "field", value: i, defaultValue: a, onValueChange: s, name: l, disabled: d, readOnly: f, required: p, className: m, style: h, xstyle: g, ..._ }) {
818
+ function Me({ isCompact: e = !1, shouldGrow: t = !1, appearance: r = "field", value: i, defaultValue: a, onValueChange: s, name: l, disabled: d, readOnly: f, required: p, className: m, style: h, xstyle: g, ..._ }) {
819
819
  return /* @__PURE__ */ u(S.Control, {
820
820
  value: i,
821
821
  defaultValue: a,
@@ -828,7 +828,7 @@ function Me({ isCompact: t = !1, shouldGrow: n = !1, appearance: r = "field", va
828
828
  ...o({
829
829
  className: m,
830
830
  style: h,
831
- styles: c.props(e.base, e.field, E.input, e.textarea, t && E.compactTextarea, n && E.growingTextarea, D[r], g)
831
+ styles: c.props(n.base, n.field, E.input, n.textarea, e && E.compactTextarea, t && E.growingTextarea, D[r], g)
832
832
  })
833
833
  });
834
834
  }
@@ -840,13 +840,13 @@ var Ne = {
840
840
  function Pe(e) {
841
841
  return /* @__PURE__ */ u(C.Root, { ...e });
842
842
  }
843
- function Fe({ variant: t = "outline", className: n, style: r, xstyle: i, ...a }) {
843
+ function Fe({ variant: e = "outline", className: t, style: r, xstyle: i, ...a }) {
844
844
  return /* @__PURE__ */ u(C.Trigger, {
845
845
  ...a,
846
846
  ...o({
847
- className: n,
847
+ className: t,
848
848
  style: r,
849
- styles: c.props(e.base, O.trigger, Ne[t], i)
849
+ styles: c.props(n.base, O.trigger, Ne[e], i)
850
850
  })
851
851
  });
852
852
  }
@@ -1174,7 +1174,7 @@ function nt({ label: e, description: t, controlId: n, children: r }) {
1174
1174
  });
1175
1175
  }
1176
1176
  // packages/forms/src/settings-section.tsx
1177
- function rt({ title: e, description: t, children: i }) {
1177
+ function rt({ title: e, description: n, children: i }) {
1178
1178
  let a = l();
1179
1179
  return /* @__PURE__ */ d("section", {
1180
1180
  "aria-labelledby": a,
@@ -1184,7 +1184,7 @@ function rt({ title: e, description: t, children: i }) {
1184
1184
  children: [/* @__PURE__ */ u(r, {
1185
1185
  id: a,
1186
1186
  children: e
1187
- }), t !== void 0 && /* @__PURE__ */ u(n, { children: t })]
1187
+ }), n !== void 0 && /* @__PURE__ */ u(t, { children: n })]
1188
1188
  }), /* @__PURE__ */ u("div", { children: i })]
1189
1189
  });
1190
1190
  }
@@ -1623,6 +1623,26 @@ function Se(e) {
1623
1623
  function Ce(e) {
1624
1624
  return /* @__PURE__ */ d("hr", { ...r({ className: "xc342km x178xt8z x1y0btm7 x1ey3b81 x1ghz6dp" }, e) });
1625
1625
  }
1626
+ // packages/core/src/section-heading.tsx
1627
+ function we({ title: e, id: t, meta: n, actions: r }) {
1628
+ return /* @__PURE__ */ f("div", {
1629
+ className: "x78zum5 x1a02dak x6s0dn4 x1n8ia3y x1oec0jp xeuugli x9f619 xn9t2bk x1dc62k6 xso031l x1q0q8m5 x1qndepd x1r7kqkb xbixft x1hz01jw xtqrqnz x1778rvt",
1630
+ children: [/* @__PURE__ */ d("h2", {
1631
+ id: t,
1632
+ className: "x12lumcd xeuugli x1ghz6dp xj0a0fe x12myhf4 xk4h15q x1778rvt",
1633
+ children: e
1634
+ }), (n !== void 0 || r !== void 0) && /* @__PURE__ */ f("div", {
1635
+ className: "x78zum5 x1a02dak x6s0dn4 x1n8ia3y xvc5jky xeuugli x193iq5w",
1636
+ children: [n !== void 0 && /* @__PURE__ */ d("div", {
1637
+ className: "xeuugli xvc5jky xj0a0fe x153jb6y xy8obcc xas2l8k",
1638
+ children: n
1639
+ }), r !== void 0 && /* @__PURE__ */ d("div", {
1640
+ className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi x193iq5w",
1641
+ children: r
1642
+ })]
1643
+ })]
1644
+ });
1645
+ }
1626
1646
  // packages/core/src/text.tsx
1627
1647
  var Q = {
1628
1648
  text: {
@@ -1724,54 +1744,54 @@ var Q = {
1724
1744
  kMwMTN: "xr5kp14",
1725
1745
  $$css: !0
1726
1746
  }
1727
- }, we = {
1747
+ }, Te = {
1728
1748
  body: Q.body,
1729
1749
  caption: Q.caption,
1730
1750
  mono: Q.mono,
1731
1751
  prose: Q.prose
1732
- }, Te = {
1752
+ }, Ee = {
1733
1753
  ink: Q.ink,
1734
1754
  muted: Q.muted
1735
- }, Ee = {
1755
+ }, De = {
1736
1756
  neutral: Q.neutral,
1737
1757
  positive: Q.positive,
1738
1758
  warning: Q.warning,
1739
1759
  negative: Q.negative
1740
- }, De = {
1760
+ }, Oe = {
1741
1761
  neutral: Q.neutralIcon,
1742
1762
  positive: Q.positiveIcon,
1743
1763
  warning: Q.warningIcon,
1744
1764
  negative: Q.negativeIcon
1745
- }, $ = {
1765
+ }, ke = {
1746
1766
  neutral: g,
1747
1767
  positive: _,
1748
1768
  warning: y,
1749
1769
  negative: v
1750
1770
  };
1751
- function Oe({ variant: e = "body", tone: t = "ink", xstyle: n, ...i }) {
1752
- return /* @__PURE__ */ d("span", { ...r(a.props(Q.text, we[e], Te[t], n), i) });
1771
+ function Ae({ variant: e = "body", tone: t = "ink", xstyle: n, ...i }) {
1772
+ return /* @__PURE__ */ d("span", { ...r(a.props(Q.text, Te[e], Ee[t], n), i) });
1753
1773
  }
1754
- function ke({ isCompact: e = !1, ...t }) {
1774
+ function $({ isCompact: e = !1, ...t }) {
1755
1775
  return /* @__PURE__ */ d("h1", { ...r({
1756
1776
  0: { className: "x1ghz6dp x1hz01jw xvmahel xc0f4dz xvukjed xzju6ct x1vxm5eg x1b5ytql x1wjjqco xbixft xj0a0fe" },
1757
1777
  1: { className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }
1758
1778
  }[!!e | 0], t) });
1759
1779
  }
1760
- function Ae(e) {
1780
+ function je(e) {
1761
1781
  return /* @__PURE__ */ d("h2", { ...r({ className: "x1ghz6dp x1hz01jw xvmahel x1i2cqwi x4fansv x1b5ytql xbixft xj0a0fe" }, e) });
1762
1782
  }
1763
- function je(e) {
1783
+ function Me(e) {
1764
1784
  return /* @__PURE__ */ d("p", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel xj0a0fe xtqrqnz x1778rvt x153jb6y" }, e) });
1765
1785
  }
1766
- function Me(e) {
1786
+ function Ne(e) {
1767
1787
  return /* @__PURE__ */ d("span", { ...r({ className: "x1ghz6dp xj57cvi xvmahel xiard35 xy8obcc x1778rvt xj0a0fe x153jb6y" }, e) });
1768
1788
  }
1769
- function Ne(e) {
1789
+ function Pe(e) {
1770
1790
  return /* @__PURE__ */ d("pre", { ...r({ className: "x1ghz6dp x1hz01jw xj57cvi xvmahel x1ewvobj x126k92a xj0a0fe x12myhf4 x1ytb0s6 xbixft" }, e) });
1771
1791
  }
1772
- function Pe({ children: e, tone: t = "neutral", ...n }) {
1792
+ function Fe({ children: e, tone: t = "neutral", ...n }) {
1773
1793
  return /* @__PURE__ */ f("span", {
1774
- ...r(a.props(Q.badge, Ee[t]), n),
1794
+ ...r(a.props(Q.badge, De[t]), n),
1775
1795
  children: [/* @__PURE__ */ d(g, {
1776
1796
  size: 5,
1777
1797
  fill: "currentColor",
@@ -1783,18 +1803,18 @@ function Pe({ children: e, tone: t = "neutral", ...n }) {
1783
1803
  })]
1784
1804
  });
1785
1805
  }
1786
- function Fe({ children: e, tone: t = "neutral", ...n }) {
1787
- let i = $[t];
1806
+ function Ie({ children: e, tone: t = "neutral", ...n }) {
1807
+ let i = ke[t];
1788
1808
  return /* @__PURE__ */ f("span", {
1789
1809
  ...r({ className: "x3nfvp2 x6s0dn4 xbgj81g xbixft x1hz01jw xvmahel xtqrqnz x1778rvt xj57cvi x193iq5w" }, n),
1790
1810
  children: [/* @__PURE__ */ d(i, {
1791
1811
  size: 14,
1792
1812
  "aria-hidden": !0,
1793
- ...a.props(Q.statusIcon, De[t])
1813
+ ...a.props(Q.statusIcon, Oe[t])
1794
1814
  }), /* @__PURE__ */ d("span", {
1795
1815
  className: "xeuugli xj0a0fe",
1796
1816
  children: e
1797
1817
  })]
1798
1818
  });
1799
1819
  }
1800
- export { k as C, j as D, A as E, C as O, ne as S, M as T, X as _, Ne as a, z as b, Oe as c, ve as d, be as f, ge as g, he as h, je as i, Se as l, ye as m, ke as n, Fe as o, xe as p, Me as r, Ae as s, Pe as t, Ce as u, W as v, ee as w, re as x, U as y };
1820
+ export { ne as C, A as D, M as E, j as O, re as S, ee as T, ge as _, Pe as a, U as b, Ae as c, Ce as d, ve as f, he as g, ye as h, Me as i, C as k, we as l, xe as m, $ as n, Ie as o, be as p, Ne as r, je as s, Fe as t, Se as u, X as v, k as w, z as x, W as y };