@mechane-ai/elements 0.32.1 → 0.34.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 (49) hide show
  1. package/README.md +20 -14
  2. package/dist/ai.js +43 -43
  3. package/dist/{categorical-values-Devj1xYe.js → categorical-values-bWZBzMpX.js} +2 -2
  4. package/dist/{chart-frame-DepdezdL.js → chart-frame-Cr4P6MF5.js} +20 -19
  5. package/dist/{chart-input-8sNm47Rp.js → chart-input-3wX0JoPE.js} +2 -2
  6. package/dist/charts/cartesian.js +6 -6
  7. package/dist/charts/distribution.js +2 -2
  8. package/dist/charts/graph.js +2 -2
  9. package/dist/charts/hierarchy.js +3 -3
  10. package/dist/charts/matrix.js +2 -2
  11. package/dist/charts/timeline.js +3 -3
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-B_qJ1JJ3.js → code-block-DT1TCkTC.js} +1 -1
  14. package/dist/collections.js +47 -46
  15. package/dist/content/code.js +1 -1
  16. package/dist/content/diff.js +2 -2
  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-BtaiSKk8.js → content-link-B3ObdyZY.js} +1 -1
  21. package/dist/content.js +1 -1
  22. package/dist/elements.css +22 -10
  23. package/dist/feedback.js +1 -1
  24. package/dist/forms/dates.js +519 -73
  25. package/dist/forms-BQQFas9g.js +118 -0
  26. package/dist/forms.js +3 -1
  27. package/dist/header-styles-COxCYFZx.js +90 -0
  28. package/dist/index.js +1 -1
  29. package/dist/layout.js +126 -124
  30. package/dist/navigation/commands.js +1 -1
  31. package/dist/navigation.js +171 -76
  32. package/dist/packages/forms/src/dates/calendar.d.ts +2 -5
  33. package/dist/packages/forms/src/dates/civil.d.ts +28 -0
  34. package/dist/packages/forms/src/dates/date-inputs.d.ts +20 -0
  35. package/dist/packages/forms/src/dates/date-picker.d.ts +13 -0
  36. package/dist/packages/forms/src/dates/date-range-picker.d.ts +14 -12
  37. package/dist/packages/forms/src/dates/index.d.ts +8 -0
  38. package/dist/packages/forms/src/dates/month-calendar.d.ts +19 -0
  39. package/dist/packages/forms/src/dates/month-picker.d.ts +14 -0
  40. package/dist/packages/forms/src/dates/month-range-picker.d.ts +18 -0
  41. package/dist/packages/forms/src/dates/picker-popover.d.ts +22 -0
  42. package/dist/packages/navigation/src/page-navigation.d.ts +4 -2
  43. package/dist/packages/navigation/src/tab-styles.d.ts +89 -0
  44. package/dist/{pierre-tree-CPhT5CUP.js → pierre-tree-CYCRjdGG.js} +2 -2
  45. package/dist/{src-BjmKVOb2.js → src-BOZsJ8td.js} +18 -18
  46. package/dist/{src-BPIIuMeE.js → src-BYKjPC-0.js} +339 -448
  47. package/dist/{src-CALHXF-U.js → src-C-Sx37kz.js} +373 -458
  48. package/dist/{src-DfPfFOu1.js → src-D9DktxEq.js} +17 -17
  49. package/package.json +1 -1
package/dist/layout.js CHANGED
@@ -1,5 +1,6 @@
1
- import { D as e, E as t, M as n, T as r, i, n as a, u as o } from "./src-CALHXF-U.js";
2
- import { a as s, i as c, t as l } from "./src-d7EAi61b.js";
1
+ import { t as e } from "./header-styles-COxCYFZx.js";
2
+ import { a as t, i as n, t as r } from "./src-d7EAi61b.js";
3
+ import { E as i, T as a, i as o, j as s, n as c, w as l } from "./src-C-Sx37kz.js";
3
4
  import { t as u } from "./style-composition-uYlczSsB.js";
4
5
  import { t as d } from "./use-scroll-tab-index-Dxpdh4W7.js";
5
6
  import { Button as f } from "@base-ui/react/button";
@@ -85,37 +86,37 @@ var j = {
85
86
  inline: N.inlineFooter,
86
87
  navigation: N.navigationFooter
87
88
  };
88
- function F({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
89
- let a = _(M), s = a !== null && !a.isExpanded, c = e != null;
89
+ function F({ header: t, navigationHeader: n, footer: r, close: i, children: a }) {
90
+ let o = _(M), s = o !== null && !o.isExpanded, c = t != null;
90
91
  return /* @__PURE__ */ w(S, { children: [
91
92
  /* @__PURE__ */ w("div", {
92
- ...m.props(N.header, o.blockEnd, !c && N.emptyHeader),
93
+ ...m.props(N.header, e.blockEnd, !c && N.emptyHeader),
93
94
  children: [/* @__PURE__ */ C("div", {
94
95
  ...{
95
96
  0: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli x1dc62k6" },
96
97
  1: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli xl56j7k x1l31gyv xnjsko4 x7qzpmf" }
97
98
  }[!!s | 0],
98
- children: e
99
- }), r]
99
+ children: t
100
+ }), i]
100
101
  }),
101
- t,
102
+ n,
102
103
  /* @__PURE__ */ C("div", {
103
104
  role: "region",
104
105
  "aria-label": "Navigation links",
105
106
  className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
106
- children: i
107
+ children: a
107
108
  }),
108
- n != null && /* @__PURE__ */ C("div", {
109
+ r != null && /* @__PURE__ */ C("div", {
109
110
  className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
110
- children: n
111
+ children: r
111
112
  })
112
113
  ] });
113
114
  }
114
115
  function I() {
115
116
  return /* @__PURE__ */ C("div", {
116
117
  className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
117
- children: /* @__PURE__ */ C(s.Close, {
118
- render: /* @__PURE__ */ C(t, {
118
+ children: /* @__PURE__ */ C(t.Close, {
119
+ render: /* @__PURE__ */ C(a, {
119
120
  variant: "ghost",
120
121
  "aria-label": "Close navigation"
121
122
  }),
@@ -238,35 +239,35 @@ function ne({ children: e, shouldGrow: t = !1 }) {
238
239
  children: e
239
240
  });
240
241
  }
241
- function re({ children: e, layout: t = "inline" }) {
242
- let n = _(M), r = n !== null && !n.isExpanded;
242
+ function re({ children: t, layout: n = "inline" }) {
243
+ let r = _(M), i = r !== null && !r.isExpanded;
243
244
  return /* @__PURE__ */ C("div", {
244
- ...m.props(N.footer, o.blockStart, r && N.collapsedFooter, P[t]),
245
- children: e
245
+ ...m.props(N.footer, e.blockStart, i && N.collapsedFooter, P[n]),
246
+ children: t
246
247
  });
247
248
  }
248
249
  function ie() {
249
- let e = _(M);
250
- return e === null ? null : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("div", {
251
- ...m.props(N.toggleCell, o.inlineEnd, N.desktop),
252
- children: /* @__PURE__ */ C(t, {
253
- ref: e.navigationToggleRef,
250
+ let n = _(M);
251
+ return n === null ? null : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("div", {
252
+ ...m.props(N.toggleCell, e.inlineEnd, N.desktop),
253
+ children: /* @__PURE__ */ C(a, {
254
+ ref: n.navigationToggleRef,
254
255
  variant: "ghost",
255
- "aria-label": e.isExpanded ? "Collapse navigation" : "Expand navigation",
256
- "aria-controls": e.sidebarId,
257
- "aria-expanded": e.isExpanded,
258
- onClick: e.onToggle,
256
+ "aria-label": n.isExpanded ? "Collapse navigation" : "Expand navigation",
257
+ "aria-controls": n.sidebarId,
258
+ "aria-expanded": n.isExpanded,
259
+ onClick: n.onToggle,
259
260
  children: /* @__PURE__ */ C(E, {
260
261
  size: 16,
261
262
  "aria-hidden": !0
262
263
  })
263
264
  })
264
265
  }), /* @__PURE__ */ C("div", {
265
- ...m.props(N.toggleCell, o.inlineEnd, N.mobile),
266
- children: /* @__PURE__ */ C(s.Trigger, {
267
- ref: e.mobileNavigationToggleRef,
268
- handle: e.drawerHandle,
269
- render: /* @__PURE__ */ C(t, {
266
+ ...m.props(N.toggleCell, e.inlineEnd, N.mobile),
267
+ children: /* @__PURE__ */ C(t.Trigger, {
268
+ ref: n.mobileNavigationToggleRef,
269
+ handle: n.drawerHandle,
270
+ render: /* @__PURE__ */ C(a, {
270
271
  variant: "ghost",
271
272
  "aria-label": "Open navigation"
272
273
  }),
@@ -308,25 +309,25 @@ var z = g("rail"), B = {
308
309
  $$css: !0
309
310
  }
310
311
  };
311
- function V({ label: i, links: a, action: o }) {
312
- let s = _(z) === "drawer", c = _(M);
312
+ function V({ label: e, links: t, action: n }) {
313
+ let o = _(z) === "drawer", c = _(M);
313
314
  function u(e, t) {
314
315
  e?.(t);
315
316
  let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
316
317
  t.button !== 0 || n || r || c?.onNavigate();
317
318
  }
318
319
  let d = (e) => {
319
- o?.onClick(e), e.defaultPrevented || c?.onNavigate();
320
+ n?.onClick(e), e.defaultPrevented || c?.onNavigate();
320
321
  };
321
- return s ? /* @__PURE__ */ w("div", {
322
+ return o ? /* @__PURE__ */ w("div", {
322
323
  className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
323
324
  children: [/* @__PURE__ */ C("nav", {
324
- "aria-label": i,
325
+ "aria-label": e,
325
326
  className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
326
- children: a.map(({ label: e, icon: t, isCurrent: r = !1, ...i }) => /* @__PURE__ */ w("a", {
327
- ...p(m.props(n.base, n.button, B.mobileLink, B.rounded, B.selected), i),
328
- "aria-current": r ? "location" : void 0,
329
- onClick: (e) => u(i.onClick, e),
327
+ children: t.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */ w("a", {
328
+ ...p(m.props(s.base, s.button, B.mobileLink, B.rounded, B.selected), r),
329
+ "aria-current": n ? "location" : void 0,
330
+ onClick: (e) => u(r.onClick, e),
330
331
  children: [/* @__PURE__ */ C("span", {
331
332
  "aria-hidden": !0,
332
333
  className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
@@ -335,51 +336,51 @@ function V({ label: i, links: a, action: o }) {
335
336
  className: "xeuugli x193iq5w xj0a0fe",
336
337
  children: e
337
338
  })]
338
- }, i.href))
339
- }), o !== void 0 && /* @__PURE__ */ C("div", {
339
+ }, r.href))
340
+ }), n !== void 0 && /* @__PURE__ */ C("div", {
340
341
  className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
341
- children: /* @__PURE__ */ w(r, {
342
+ children: /* @__PURE__ */ w(l, {
342
343
  variant: "ghost",
343
344
  onClick: d,
344
345
  children: [/* @__PURE__ */ C("span", {
345
346
  "aria-hidden": !0,
346
347
  className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
347
- children: o.icon
348
- }), o.label]
348
+ children: n.icon
349
+ }), n.label]
349
350
  })
350
351
  })]
351
- }) : /* @__PURE__ */ C(l.Provider, { children: /* @__PURE__ */ w("div", {
352
+ }) : /* @__PURE__ */ C(r.Provider, { children: /* @__PURE__ */ w("div", {
352
353
  className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
353
354
  children: [/* @__PURE__ */ C("nav", {
354
- "aria-label": i,
355
+ "aria-label": e,
355
356
  className: "x78zum5 xdt5ytf x1qjc9v5",
356
- children: a.map(({ label: t, icon: n, isCurrent: r = !1, ...i }) => /* @__PURE__ */ C("div", {
357
+ children: t.map(({ label: e, icon: t, isCurrent: n = !1, ...a }) => /* @__PURE__ */ C("div", {
357
358
  className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
358
- children: /* @__PURE__ */ w(l.Root, { children: [/* @__PURE__ */ C(l.Trigger, {
359
- render: /* @__PURE__ */ C(e, {
360
- ...p({ className: "x1yk04ar" }, i),
361
- "aria-label": t,
362
- "aria-current": r ? "location" : void 0,
363
- onClick: (e) => u(i.onClick, e)
359
+ children: /* @__PURE__ */ w(r.Root, { children: [/* @__PURE__ */ C(r.Trigger, {
360
+ render: /* @__PURE__ */ C(i, {
361
+ ...p({ className: "x1yk04ar" }, a),
362
+ "aria-label": e,
363
+ "aria-current": n ? "location" : void 0,
364
+ onClick: (e) => u(a.onClick, e)
364
365
  }),
365
- children: n
366
- }), /* @__PURE__ */ C(l.Portal, { children: /* @__PURE__ */ C(l.Positioner, {
366
+ children: t
367
+ }), /* @__PURE__ */ C(r.Portal, { children: /* @__PURE__ */ C(r.Positioner, {
367
368
  side: "right",
368
- children: /* @__PURE__ */ C(l.Popup, { children: t })
369
+ children: /* @__PURE__ */ C(r.Popup, { children: e })
369
370
  }) })] })
370
- }, i.href))
371
- }), o !== void 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ C("div", {
371
+ }, a.href))
372
+ }), n !== void 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ C("div", {
372
373
  className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
373
- children: /* @__PURE__ */ w(l.Root, { children: [/* @__PURE__ */ C(l.Trigger, {
374
- render: /* @__PURE__ */ C(t, {
374
+ children: /* @__PURE__ */ w(r.Root, { children: [/* @__PURE__ */ C(r.Trigger, {
375
+ render: /* @__PURE__ */ C(a, {
375
376
  variant: "ghost",
376
- "aria-label": o.label
377
+ "aria-label": n.label
377
378
  }),
378
379
  onClick: d,
379
- children: o.icon
380
- }), /* @__PURE__ */ C(l.Portal, { children: /* @__PURE__ */ C(l.Positioner, {
380
+ children: n.icon
381
+ }), /* @__PURE__ */ C(r.Portal, { children: /* @__PURE__ */ C(r.Positioner, {
381
382
  side: "right",
382
- children: /* @__PURE__ */ C(l.Popup, { children: o.label })
383
+ children: /* @__PURE__ */ C(r.Popup, { children: n.label })
383
384
  }) })] })
384
385
  })] })]
385
386
  }) });
@@ -422,8 +423,8 @@ var H = {
422
423
  $$css: !0
423
424
  }
424
425
  };
425
- function U({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, children: a, mainId: c = "main", shouldFocus: l = !1 }) {
426
- let u = e != null, d = t != null, [f, p] = x(!0), [h, g] = x(!1), _ = l || u && !f, [T] = x(() => s.createHandle()), E = y(), D = b(null), O = b(null), k = b(null), A = b(!1);
426
+ function U({ rail: n, railFooter: r, sidebarHeader: i, sidebar: a, footer: o, children: s, mainId: c = "main", shouldFocus: l = !1 }) {
427
+ let u = n != null, d = r != null, [f, p] = x(!0), [h, g] = x(!1), _ = l || u && !f, [T] = x(() => t.createHandle()), E = y(), D = b(null), O = b(null), k = b(null), A = b(!1);
427
428
  return v(() => {
428
429
  let e = globalThis.matchMedia(j.sidebarDesktopQuery);
429
430
  function t() {
@@ -447,15 +448,15 @@ function U({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, ch
447
448
  children: [
448
449
  u && /* @__PURE__ */ w("div", {
449
450
  hidden: l,
450
- ...m.props(H.sidebar, o.inlineEnd, H.rail, l && H.hidden),
451
+ ...m.props(H.sidebar, e.inlineEnd, H.rail, l && H.hidden),
451
452
  children: [/* @__PURE__ */ C("div", {
452
453
  className: "x98rzlu x2lwn1j x1odjw0f x1e4zzel",
453
- children: e
454
+ children: n
454
455
  }), d && /* @__PURE__ */ C("div", {
455
456
  className: "x2lah0s x1a148e8",
456
457
  children: /* @__PURE__ */ C("div", {
457
458
  className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g xnyqvp6",
458
- children: t
459
+ children: r
459
460
  })
460
461
  })]
461
462
  }),
@@ -463,25 +464,25 @@ function U({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, ch
463
464
  id: E,
464
465
  "aria-label": "Navigation",
465
466
  hidden: _,
466
- ...m.props(H.sidebar, o.inlineEnd, u && H.secondary, !u && !f && H.collapsed, _ && H.hidden),
467
+ ...m.props(H.sidebar, e.inlineEnd, u && H.secondary, !u && !f && H.collapsed, _ && H.hidden),
467
468
  children: /* @__PURE__ */ C(F, {
468
- header: n,
469
- footer: i,
470
- children: r
469
+ header: i,
470
+ footer: o,
471
+ children: a
471
472
  })
472
473
  }),
473
474
  /* @__PURE__ */ C("main", {
474
475
  id: c,
475
476
  tabIndex: -1,
476
477
  className: "xeuugli x98rzlu",
477
- children: a
478
+ children: s
478
479
  })
479
480
  ]
480
- }), /* @__PURE__ */ C(s.Root, {
481
+ }), /* @__PURE__ */ C(t.Root, {
481
482
  handle: T,
482
483
  open: h && !l,
483
484
  onOpenChange: g,
484
- children: /* @__PURE__ */ w(s.Portal, { children: [/* @__PURE__ */ C(s.Backdrop, {}), /* @__PURE__ */ C(s.Viewport, { children: /* @__PURE__ */ w(s.Popup, {
485
+ children: /* @__PURE__ */ w(t.Portal, { children: [/* @__PURE__ */ C(t.Backdrop, {}), /* @__PURE__ */ C(t.Viewport, { children: /* @__PURE__ */ w(t.Popup, {
485
486
  ref: k,
486
487
  xstyle: H.drawer,
487
488
  finalFocus: () => {
@@ -496,27 +497,27 @@ function U({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, ch
496
497
  }
497
498
  return globalThis.matchMedia(j.sidebarDesktopQuery).matches ? D.current : O.current;
498
499
  },
499
- children: [/* @__PURE__ */ C(s.Title, {
500
+ children: [/* @__PURE__ */ C(t.Title, {
500
501
  isVisuallyHidden: !0,
501
502
  children: "Navigation"
502
503
  }), /* @__PURE__ */ C(F, {
503
- header: n,
504
+ header: i,
504
505
  navigationHeader: u && /* @__PURE__ */ C(z.Provider, {
505
506
  value: "drawer",
506
- children: e
507
+ children: n
507
508
  }),
508
- footer: /* @__PURE__ */ w(S, { children: [i, u && d && /* @__PURE__ */ C(z.Provider, {
509
+ footer: /* @__PURE__ */ w(S, { children: [o, u && d && /* @__PURE__ */ C(z.Provider, {
509
510
  value: "drawer",
510
511
  children: /* @__PURE__ */ C("div", {
511
512
  className: "x2lah0s x1a148e8",
512
513
  children: /* @__PURE__ */ C("div", {
513
514
  className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g xnyqvp6",
514
- children: t
515
+ children: r
515
516
  })
516
517
  })
517
518
  })] }),
518
519
  close: /* @__PURE__ */ C(I, {}),
519
- children: r
520
+ children: a
520
521
  })]
521
522
  }) })] })
522
523
  })]
@@ -533,38 +534,38 @@ var W = {
533
534
  align: "start"
534
535
  }
535
536
  };
536
- function G({ label: e, icon: n, children: r }) {
537
- let i = _(z), [a, o] = x(!1);
537
+ function G({ label: e, icon: t, children: i }) {
538
+ let o = _(z), [s, c] = x(!1);
538
539
  return v(() => {
539
540
  let e = globalThis.matchMedia(j.sidebarDesktopQuery);
540
541
  function t() {
541
- o(!1);
542
+ c(!1);
542
543
  }
543
544
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
544
- }, []), /* @__PURE__ */ w(c.Root, {
545
- open: a,
546
- onOpenChange: o,
545
+ }, []), /* @__PURE__ */ w(n.Root, {
546
+ open: s,
547
+ onOpenChange: c,
547
548
  modal: !1,
548
- children: [/* @__PURE__ */ C(l.Provider, { children: /* @__PURE__ */ w(l.Root, {
549
- disabled: a || i === "drawer",
550
- children: [/* @__PURE__ */ C(l.Trigger, {
551
- render: /* @__PURE__ */ C(c.Trigger, { render: /* @__PURE__ */ C(t, {
549
+ children: [/* @__PURE__ */ C(r.Provider, { children: /* @__PURE__ */ w(r.Root, {
550
+ disabled: s || o === "drawer",
551
+ children: [/* @__PURE__ */ C(r.Trigger, {
552
+ render: /* @__PURE__ */ C(n.Trigger, { render: /* @__PURE__ */ C(a, {
552
553
  variant: "ghost",
553
554
  "aria-label": e
554
555
  }) }),
555
- children: n
556
- }), /* @__PURE__ */ C(l.Portal, { children: /* @__PURE__ */ C(l.Positioner, {
556
+ children: t
557
+ }), /* @__PURE__ */ C(r.Portal, { children: /* @__PURE__ */ C(r.Positioner, {
557
558
  side: "right",
558
- children: /* @__PURE__ */ C(l.Popup, { children: e })
559
+ children: /* @__PURE__ */ C(r.Popup, { children: e })
559
560
  }) })]
560
- }) }), /* @__PURE__ */ C(c.Portal, { children: /* @__PURE__ */ C(c.Positioner, {
561
- ...W[i],
561
+ }) }), /* @__PURE__ */ C(n.Portal, { children: /* @__PURE__ */ C(n.Positioner, {
562
+ ...W[o],
562
563
  sideOffset: 4,
563
564
  collisionPadding: 8,
564
- children: /* @__PURE__ */ C(c.Popup, {
565
+ children: /* @__PURE__ */ C(n.Popup, {
565
566
  "aria-label": e,
566
567
  className: "x1uncgzr",
567
- children: r
568
+ children: i
568
569
  })
569
570
  }) })]
570
571
  });
@@ -661,10 +662,11 @@ var ce = {
661
662
  kB7OPa: "x9f619",
662
663
  kVAEAm: "x1n2onr6",
663
664
  k1xSpc: "x78zum5",
665
+ kwnvtZ: "x1a02dak",
664
666
  k9g6sI: "x12h1iku",
665
667
  kanfag: "x14ut1dr",
666
668
  kGNEyG: "x1qjc9v5",
667
- kZKoxP: "xnyqvp6",
669
+ kAzted: "x1oec0jp",
668
670
  kmuXW: "x2lah0s",
669
671
  kWkggS: "xpvm0e4",
670
672
  kMwMTN: "xbixft",
@@ -682,60 +684,60 @@ var ce = {
682
684
  $$css: !0
683
685
  }
684
686
  };
685
- function Z({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
686
- let s = h.toArray(e).length > 0, c = h.toArray(t).length > 0, l = h.toArray(i).length > 0, u = h.toArray(a).length > 0;
687
+ function Z({ title: t, actions: n, showBreadcrumb: r = !1, showNavigation: i = !0, views: a, leading: o }) {
688
+ let s = h.toArray(t).length > 0, c = h.toArray(n).length > 0, l = h.toArray(a).length > 0, u = h.toArray(o).length > 0;
687
689
  if (h.toArray([
688
- e,
689
690
  t,
690
- i,
691
- a
691
+ n,
692
+ a,
693
+ o
692
694
  ]).length === 0) return null;
693
- let d = n ? "nav" : "h1", f = n ? "div" : "span";
695
+ let d = r ? "nav" : "h1", f = r ? "div" : "span";
694
696
  return /* @__PURE__ */ w("div", {
695
- ...m.props(X.toolbar, o.blockEnd),
697
+ ...m.props(X.toolbar, e.blockEnd),
696
698
  children: [
697
699
  u ? /* @__PURE__ */ C("div", {
698
700
  className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
699
- children: a
700
- }) : r && /* @__PURE__ */ C(ie, {}),
701
+ children: o
702
+ }) : i && /* @__PURE__ */ C(ie, {}),
701
703
  s && /* @__PURE__ */ C(d, {
702
- tabIndex: n ? void 0 : -1,
703
- "aria-label": n ? "Breadcrumb" : void 0,
704
- className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
704
+ tabIndex: r ? void 0 : -1,
705
+ "aria-label": r ? "Breadcrumb" : void 0,
706
+ className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xjnfzvw x1oec0jp x1cqoux5 x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
705
707
  children: /* @__PURE__ */ C(f, {
706
708
  className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
707
- children: e
709
+ children: t
708
710
  })
709
711
  }),
710
712
  l && /* @__PURE__ */ C("div", {
711
713
  className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
712
- children: i
714
+ children: a
713
715
  }),
714
716
  c && /* @__PURE__ */ C("div", {
715
- className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli x2lah0s x8x9d4c",
716
- children: t
717
+ className: "x78zum5 x1a02dak x6s0dn4 xunmzkg x1dc62k6 xeuugli x1oec0jp x193iq5w x9f619 xs83m0k x8x9d4c",
718
+ children: n
717
719
  })
718
720
  ]
719
721
  });
720
722
  }
721
723
  function le({ icon: e, children: t, ...n }) {
722
- let i = e != null;
724
+ let r = e != null;
723
725
  return /* @__PURE__ */ C("div", {
724
726
  className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
725
- children: /* @__PURE__ */ w(r, {
727
+ children: /* @__PURE__ */ w(l, {
726
728
  ...n,
727
729
  variant: "ghost",
728
730
  "aria-label": n["aria-label"] ?? (typeof t == "string" ? t : void 0),
729
731
  xstyle: X.action,
730
- children: [i && /* @__PURE__ */ C("span", {
732
+ children: [r && /* @__PURE__ */ C("span", {
731
733
  "aria-hidden": !0,
732
734
  className: "x3nfvp2 x2lah0s x6s0dn4",
733
735
  children: e
734
- }), i || typeof t == "string" ? /* @__PURE__ */ C("span", {
736
+ }), r || typeof t == "string" ? /* @__PURE__ */ C("span", {
735
737
  ...{
736
738
  0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
737
739
  1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
738
- }[!!i | 0],
740
+ }[!!r | 0],
739
741
  children: t
740
742
  }) : t]
741
743
  })
@@ -825,13 +827,13 @@ function he({ title: e, description: t, icon: n, titleRef: r }) {
825
827
  "aria-hidden": !0,
826
828
  className: "x3nfvp2 x6s0dn4 x2lah0s",
827
829
  children: n
828
- }), /* @__PURE__ */ C(a, {
830
+ }), /* @__PURE__ */ C(c, {
829
831
  ref: r,
830
832
  tabIndex: -1,
831
833
  className: "xeuugli x1t137rt",
832
834
  children: e
833
835
  })]
834
- }), t != null && /* @__PURE__ */ C(i, { children: t })]
836
+ }), t != null && /* @__PURE__ */ C(o, { children: t })]
835
837
  });
836
838
  }
837
839
  function ge({ children: e, label: t = "Properties" }) {
@@ -1,4 +1,4 @@
1
- import { l as e } from "../src-BPIIuMeE.js";
1
+ import { n as e } from "../forms-BQQFas9g.js";
2
2
  import { s as t } from "../src-d7EAi61b.js";
3
3
  import { n } from "../navigation-D2_sGy3C.js";
4
4
  import "@stylexjs/stylex";