@mechane-ai/elements 0.19.0 → 0.20.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 (44) hide show
  1. package/README.md +11 -3
  2. package/dist/ai.js +4 -4
  3. package/dist/{categorical-values-D-sSI9JB.js → categorical-values-Cf-zlA1u.js} +2 -2
  4. package/dist/{chart-frame-vwS7YVgv.js → chart-frame-Cf6LBA8M.js} +1 -1
  5. package/dist/{chart-input-D6Fw2UGV.js → chart-input-BTDzeBQU.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 +2 -2
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-DB42-a0M.js → code-block-D1_kzPrs.js} +2 -2
  14. package/dist/collections.js +4 -4
  15. package/dist/{constants.stylex-bbdiv1fD.js → constants.stylex-BILvnwUk.js} +1 -0
  16. package/dist/content/code.js +1 -1
  17. package/dist/content/diff.js +3 -3
  18. package/dist/content/link.js +1 -1
  19. package/dist/content/markdown.js +2 -2
  20. package/dist/content/tree.js +2 -2
  21. package/dist/{content-link-rdxJ94P8.js → content-link-BIMrgXbz.js} +1 -1
  22. package/dist/content.js +3 -3
  23. package/dist/elements.css +20 -0
  24. package/dist/feedback.js +1 -1
  25. package/dist/forms/dates.js +1 -1
  26. package/dist/forms.js +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/layout.js +342 -207
  29. package/dist/navigation/commands.js +1 -1
  30. package/dist/packages/feedback/src/async-region.d.ts +3 -1
  31. package/dist/packages/foundations/src/constants.stylex.d.ts +1 -0
  32. package/dist/packages/layout/src/app-shell.d.ts +2 -1
  33. package/dist/packages/layout/src/index.d.ts +2 -0
  34. package/dist/packages/layout/src/navigation-rail.d.ts +18 -0
  35. package/dist/packages/layout/src/sidebar.d.ts +2 -1
  36. package/dist/{pierre-diff-C_j0nxwS.js → pierre-diff-hAwARDse.js} +1 -1
  37. package/dist/{pierre-theme-BUeJim8s.js → pierre-theme-CLgk9v3e.js} +1 -1
  38. package/dist/{pierre-tree-BQBbAhmI.js → pierre-tree-D3XsgEH6.js} +4 -4
  39. package/dist/{src-BVsyKLQ8.js → src-0mocxTaR.js} +64 -43
  40. package/dist/{src-Dven_9lR.js → src-D4zPPr32.js} +1 -1
  41. package/dist/{src-BXh4g2VY.js → src-qU5Z5LRH.js} +1 -0
  42. package/dist/tokens.js +1 -1
  43. package/package.json +1 -1
  44. package/packages/foundations/src/constants.stylex.ts +1 -1
package/dist/layout.js CHANGED
@@ -1,22 +1,22 @@
1
- import { a as e } from "./src-d7EAi61b.js";
2
- import { C as t, i as n, n as r, w as i } from "./src-BXh4g2VY.js";
3
- import { t as a } from "./style-composition-uYlczSsB.js";
4
- import { Button as o } from "@base-ui/react/button";
5
- import { mergeProps as s } from "@base-ui/react/merge-props";
6
- import * as c from "@stylexjs/stylex";
7
- import { Children as l, createContext as u, useContext as d, useEffect as f, useId as p, useRef as m, useState as h } from "react";
8
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
9
- import { ArrowLeft as y, PanelLeft as b, X as x } from "lucide-react";
10
- import { Group as S, Panel as C, Separator as w } from "react-resizable-panels";
1
+ import { a as e, t } from "./src-d7EAi61b.js";
2
+ import { C as n, O as r, T as i, i as a, n as o, w as s } from "./src-qU5Z5LRH.js";
3
+ import { t as c } from "./style-composition-uYlczSsB.js";
4
+ import { Button as l } from "@base-ui/react/button";
5
+ import { mergeProps as u } from "@base-ui/react/merge-props";
6
+ import * as d from "@stylexjs/stylex";
7
+ import { Children as f, createContext as p, useContext as m, useEffect as ee, useId as h, useRef as g, useState as _ } from "react";
8
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
9
+ import { ArrowLeft as x, PanelLeft as S, X as C } from "lucide-react";
10
+ import { Group as w, Panel as T, Separator as E } from "react-resizable-panels";
11
11
  // packages/layout/src/frame.stylex.ts
12
- var T = {
12
+ var D = {
13
13
  sidebarMobile: "@media (max-width:800px)",
14
14
  sidebarDesktopQuery: "(min-width:801px)",
15
15
  sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
16
16
  detailMobile: "@media (max-width:720px)",
17
17
  toolbarCompact: "@container toolbar (max-width:600px)",
18
18
  workbenchCompact: "@container workbench (max-width:860px)"
19
- }, E = u(null), D = {
19
+ }, O = p(null), k = {
20
20
  footer: {
21
21
  kB7OPa: "x9f619",
22
22
  k1xSpc: "x78zum5",
@@ -50,53 +50,54 @@ var T = {
50
50
  k8WAf4: "xn9t2bk",
51
51
  $$css: !0
52
52
  }
53
- }, O = {
54
- inline: D.inlineFooter,
55
- navigation: D.navigationFooter
53
+ }, A = {
54
+ inline: k.inlineFooter,
55
+ navigation: k.navigationFooter
56
56
  };
57
- function k({ header: e, footer: t, close: n, children: r }) {
58
- return /* @__PURE__ */ v(g, { children: [
59
- /* @__PURE__ */ v("div", {
57
+ function j({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
58
+ return /* @__PURE__ */ b(v, { children: [
59
+ /* @__PURE__ */ b("div", {
60
60
  ...{
61
61
  0: { className: "x9f619 x78zum5 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
62
62
  1: { className: "x9f619 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
63
63
  }[e == null | 0],
64
- children: [/* @__PURE__ */ _("div", {
64
+ children: [/* @__PURE__ */ y("div", {
65
65
  className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
66
66
  children: e
67
- }), n]
67
+ }), r]
68
68
  }),
69
- /* @__PURE__ */ _("div", {
69
+ t,
70
+ /* @__PURE__ */ y("div", {
70
71
  role: "region",
71
72
  "aria-label": "Navigation links",
72
73
  tabIndex: 0,
73
74
  className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
74
- children: r
75
+ children: i
75
76
  }),
76
- t != null && /* @__PURE__ */ _("div", {
77
+ n != null && /* @__PURE__ */ y("div", {
77
78
  className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
78
- children: t
79
+ children: n
79
80
  })
80
81
  ] });
81
82
  }
82
- function A() {
83
- return /* @__PURE__ */ _("div", {
83
+ function te() {
84
+ return /* @__PURE__ */ y("div", {
84
85
  className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
85
- children: /* @__PURE__ */ _(e.Close, {
86
- render: /* @__PURE__ */ _(i, {
86
+ children: /* @__PURE__ */ y(e.Close, {
87
+ render: /* @__PURE__ */ y(s, {
87
88
  variant: "ghost",
88
89
  "aria-label": "Close navigation"
89
90
  }),
90
- children: /* @__PURE__ */ _(x, {
91
+ children: /* @__PURE__ */ y(C, {
91
92
  size: 16,
92
93
  "aria-hidden": !0
93
94
  })
94
95
  })
95
96
  });
96
97
  }
97
- function j({ children: e, label: t = "Main" }) {
98
- let n = d(E), r = n !== null && !n.isExpanded;
99
- return /* @__PURE__ */ _("nav", {
98
+ function M({ children: e, label: t = "Main" }) {
99
+ let n = m(O), r = n !== null && !n.isExpanded;
100
+ return /* @__PURE__ */ y("nav", {
100
101
  "aria-label": t,
101
102
  ...{
102
103
  0: { className: "x78zum5 xdt5ytf xksvo5r" },
@@ -105,12 +106,12 @@ function j({ children: e, label: t = "Main" }) {
105
106
  children: e
106
107
  });
107
108
  }
108
- function M({ children: e, label: t }) {
109
- let n = d(E), r = n !== null && !n.isExpanded, i = p();
110
- return /* @__PURE__ */ v("section", {
109
+ function N({ children: e, label: t }) {
110
+ let n = m(O), r = n !== null && !n.isExpanded, i = h();
111
+ return /* @__PURE__ */ b("section", {
111
112
  "aria-labelledby": i,
112
113
  className: "xn9t2bk",
113
- children: [/* @__PURE__ */ _("div", {
114
+ children: [/* @__PURE__ */ y("div", {
114
115
  id: i,
115
116
  ...{
116
117
  0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
@@ -120,52 +121,52 @@ function M({ children: e, label: t }) {
120
121
  }), e]
121
122
  });
122
123
  }
123
- function N({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: s, style: c, ...l }) {
124
- let u = d(E), f = p(), m = u !== null && !u.isExpanded;
125
- return /* @__PURE__ */ _("div", {
124
+ function P({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
125
+ let u = m(O), d = h(), f = u !== null && !u.isExpanded;
126
+ return /* @__PURE__ */ y("div", {
126
127
  ...{
127
128
  0: { className: "x78zum5 xeuugli x1ok0vyi" },
128
129
  1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
129
130
  }[!!n | 0],
130
- children: /* @__PURE__ */ v(o, {
131
- ...l,
132
- ...a({
133
- className: s,
134
- style: c,
131
+ children: /* @__PURE__ */ b(l, {
132
+ ...s,
133
+ ...c({
134
+ className: a,
135
+ style: o,
135
136
  styles: {
136
137
  0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
137
138
  1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" }
138
- }[!!m | 0]
139
+ }[!!f | 0]
139
140
  }),
140
141
  "aria-current": n ? "page" : void 0,
141
- "aria-labelledby": l["aria-labelledby"] ?? (l["aria-label"] === void 0 ? f : void 0),
142
- title: l.title ?? (typeof e == "string" ? e : void 0),
142
+ "aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? d : void 0),
143
+ title: s.title ?? (typeof e == "string" ? e : void 0),
143
144
  onClick: (e) => {
144
145
  i !== void 0 && i(e), !e.defaultPrevented && u !== null && r && u.onNavigate();
145
146
  },
146
- children: [t != null && /* @__PURE__ */ _("span", {
147
+ children: [t != null && /* @__PURE__ */ y("span", {
147
148
  "aria-hidden": !0,
148
149
  className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
149
150
  children: t
150
- }), /* @__PURE__ */ _("span", {
151
- id: f,
151
+ }), /* @__PURE__ */ y("span", {
152
+ id: d,
152
153
  ...{
153
154
  0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
154
155
  1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
155
- }[!!m | 0],
156
+ }[!!f | 0],
156
157
  children: e
157
158
  })]
158
159
  })
159
160
  });
160
161
  }
161
- function P({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i, style: a, ...o }) {
162
- let s = d(E), c = p(), l = s !== null && !s.isExpanded, u = {
162
+ function F({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i, style: a, ...o }) {
163
+ let s = m(O), c = h(), l = s !== null && !s.isExpanded, u = {
163
164
  0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
164
165
  2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
165
166
  1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
166
167
  3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
167
168
  }[!!l << 1 | !!n];
168
- return /* @__PURE__ */ v("a", {
169
+ return /* @__PURE__ */ b("a", {
169
170
  ...o,
170
171
  "aria-current": n ? "page" : void 0,
171
172
  "aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ? c : void 0),
@@ -180,11 +181,11 @@ function P({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
180
181
  ...u.style,
181
182
  ...a
182
183
  },
183
- children: [t != null && /* @__PURE__ */ _("span", {
184
+ children: [t != null && /* @__PURE__ */ y("span", {
184
185
  "aria-hidden": !0,
185
186
  className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
186
187
  children: t
187
- }), /* @__PURE__ */ _("span", {
188
+ }), /* @__PURE__ */ y("span", {
188
189
  id: c,
189
190
  ...{
190
191
  0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
@@ -194,9 +195,9 @@ function P({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
194
195
  })]
195
196
  });
196
197
  }
197
- function F({ children: e, shouldGrow: t = !1 }) {
198
- let n = d(E), r = n !== null && !n.isExpanded;
199
- return /* @__PURE__ */ _("span", {
198
+ function I({ children: e, shouldGrow: t = !1 }) {
199
+ let n = m(O), r = n !== null && !n.isExpanded;
200
+ return /* @__PURE__ */ y("span", {
200
201
  ...{
201
202
  0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
202
203
  2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
@@ -206,156 +207,290 @@ function F({ children: e, shouldGrow: t = !1 }) {
206
207
  children: e
207
208
  });
208
209
  }
209
- function I({ children: e, layout: t = "inline" }) {
210
- let n = d(E), r = n !== null && !n.isExpanded;
211
- return /* @__PURE__ */ _("div", {
212
- ...c.props(D.footer, r && D.collapsedFooter, O[t]),
210
+ function L({ children: e, layout: t = "inline" }) {
211
+ let n = m(O), r = n !== null && !n.isExpanded;
212
+ return /* @__PURE__ */ y("div", {
213
+ ...d.props(k.footer, r && k.collapsedFooter, A[t]),
213
214
  children: e
214
215
  });
215
216
  }
216
- function L() {
217
- let t = d(E);
218
- return t === null ? null : /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _("div", {
217
+ function R() {
218
+ let t = m(O);
219
+ return t === null ? null : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("div", {
219
220
  className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
220
- children: /* @__PURE__ */ _(i, {
221
+ children: /* @__PURE__ */ y(s, {
221
222
  ref: t.navigationToggleRef,
222
223
  variant: "ghost",
223
224
  "aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
224
225
  "aria-controls": t.sidebarId,
225
226
  "aria-expanded": t.isExpanded,
226
227
  onClick: t.onToggle,
227
- children: /* @__PURE__ */ _(b, {
228
+ children: /* @__PURE__ */ y(S, {
228
229
  size: 16,
229
230
  "aria-hidden": !0
230
231
  })
231
232
  })
232
- }), /* @__PURE__ */ _("div", {
233
+ }), /* @__PURE__ */ y("div", {
233
234
  className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
234
- children: /* @__PURE__ */ _(e.Trigger, {
235
+ children: /* @__PURE__ */ y(e.Trigger, {
235
236
  ref: t.mobileNavigationToggleRef,
236
237
  handle: t.drawerHandle,
237
- render: /* @__PURE__ */ _(i, {
238
+ render: /* @__PURE__ */ y(s, {
238
239
  variant: "ghost",
239
240
  "aria-label": "Open navigation"
240
241
  }),
241
- children: /* @__PURE__ */ _(b, {
242
+ children: /* @__PURE__ */ y(S, {
242
243
  size: 16,
243
244
  "aria-hidden": !0
244
245
  })
245
246
  })
246
247
  })] });
247
248
  }
249
+ // packages/layout/src/navigation-rail.tsx
250
+ var z = p(!1), B = {
251
+ mobileSelected: {
252
+ kWkggS: "x1r7kqkb",
253
+ $$css: !0
254
+ },
255
+ mobileLink: {
256
+ kXwgrk: "xdt5ytf",
257
+ kAzted: "xid9utz",
258
+ kg3NbH: "x14w6jbu",
259
+ k8WAf4: "x1hmw7ec",
260
+ kOIVth: "xunmzkg",
261
+ kVAM5u: "x9r1u3d",
262
+ kWkggS: "xjbqb8w",
263
+ kMwMTN: "xbixft",
264
+ kGuDYH: "xy8obcc",
265
+ kLWn49: "xas2l8k",
266
+ kMnn75: "xkrqix3",
267
+ kGzVvX: "xif5pkx",
268
+ kSReZ0: "x1ecmtor",
269
+ kPJHz1: "x13qnu6",
270
+ k7shQP: "x9v5kkp",
271
+ kZs9gx: "x19rmrnh",
272
+ kiEn40: "x1bqaal",
273
+ $$css: !0
274
+ },
275
+ rounded: {
276
+ kaIpWk: "x1ok0vyi",
277
+ $$css: !0
278
+ }
279
+ };
280
+ function V({ label: e, links: a, action: o }) {
281
+ let c = m(z), l = m(O);
282
+ function f(e, t) {
283
+ e?.(t);
284
+ let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
285
+ t.button !== 0 || n || r || l?.onNavigate();
286
+ }
287
+ let p = (e) => {
288
+ o?.onClick(e), e.defaultPrevented || l?.onNavigate();
289
+ };
290
+ return c ? /* @__PURE__ */ b("div", {
291
+ className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
292
+ children: [/* @__PURE__ */ y("nav", {
293
+ "aria-label": e,
294
+ className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
295
+ children: a.map(({ label: e, icon: t, isCurrent: n = !1, ...i }) => /* @__PURE__ */ b("a", {
296
+ ...u(d.props(r.base, r.button, B.mobileLink, B.rounded, n && B.mobileSelected), i),
297
+ "aria-current": n ? "location" : void 0,
298
+ onClick: (e) => f(i.onClick, e),
299
+ children: [/* @__PURE__ */ y("span", {
300
+ "aria-hidden": !0,
301
+ className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
302
+ children: t
303
+ }), /* @__PURE__ */ y("span", {
304
+ className: "xeuugli x193iq5w xj0a0fe",
305
+ children: e
306
+ })]
307
+ }, i.href))
308
+ }), o !== void 0 && /* @__PURE__ */ y("div", {
309
+ className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
310
+ children: /* @__PURE__ */ b(n, {
311
+ variant: "ghost",
312
+ onClick: p,
313
+ children: [/* @__PURE__ */ y("span", {
314
+ "aria-hidden": !0,
315
+ className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
316
+ children: o.icon
317
+ }), o.label]
318
+ })
319
+ })]
320
+ }) : /* @__PURE__ */ y(t.Provider, { children: /* @__PURE__ */ b("div", {
321
+ className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
322
+ children: [/* @__PURE__ */ y("nav", {
323
+ "aria-label": e,
324
+ className: "x78zum5 xdt5ytf x1qjc9v5",
325
+ children: a.map(({ label: e, icon: n, isCurrent: r = !1, ...a }) => /* @__PURE__ */ y("div", {
326
+ ...{
327
+ 0: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp" },
328
+ 1: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp x1r7kqkb xh3r7i3" }
329
+ }[!!r | 0],
330
+ children: /* @__PURE__ */ b(t.Root, { children: [/* @__PURE__ */ y(t.Trigger, {
331
+ render: /* @__PURE__ */ y(i, {
332
+ ...a,
333
+ "aria-label": e,
334
+ "aria-current": r ? "location" : void 0,
335
+ onClick: (e) => f(a.onClick, e)
336
+ }),
337
+ children: n
338
+ }), /* @__PURE__ */ y(t.Portal, { children: /* @__PURE__ */ y(t.Positioner, {
339
+ side: "right",
340
+ children: /* @__PURE__ */ y(t.Popup, { children: e })
341
+ }) })] })
342
+ }, a.href))
343
+ }), o !== void 0 && /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ y("div", {
344
+ className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
345
+ children: /* @__PURE__ */ b(t.Root, { children: [/* @__PURE__ */ y(t.Trigger, {
346
+ render: /* @__PURE__ */ y(s, {
347
+ variant: "ghost",
348
+ "aria-label": o.label
349
+ }),
350
+ onClick: p,
351
+ children: o.icon
352
+ }), /* @__PURE__ */ y(t.Portal, { children: /* @__PURE__ */ y(t.Positioner, {
353
+ side: "right",
354
+ children: /* @__PURE__ */ y(t.Popup, { children: o.label })
355
+ }) })] })
356
+ })] })]
357
+ }) });
358
+ }
248
359
  // packages/layout/src/app-shell.tsx
249
- var R = { drawer: {
360
+ var H = { drawer: {
250
361
  kzqmXN: "x68ju84",
251
362
  ks0D6T: "x1recik0",
252
363
  $$css: !0
253
364
  } };
254
- function z({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "main", shouldFocus: o = !1 }) {
255
- let [s, c] = h(!0), [l, u] = h(!1), [d] = h(() => e.createHandle()), g = p(), y = m(null), b = m(null), x = m(!1);
256
- return f(() => {
257
- let e = globalThis.matchMedia(T.sidebarDesktopQuery);
365
+ function U({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, mainId: o = "main", shouldFocus: s = !1 }) {
366
+ let c = t != null, [l, u] = _(!0), [d, f] = _(!1), p = s || c && !l, [m] = _(() => e.createHandle()), v = h(), x = g(null), S = g(null), C = g(null), w = g(!1);
367
+ return ee(() => {
368
+ let e = globalThis.matchMedia(D.sidebarDesktopQuery);
258
369
  function t() {
259
- e.matches && u(!1);
370
+ e.matches && f(!1);
260
371
  }
261
372
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
262
- }, []), /* @__PURE__ */ v(E.Provider, {
373
+ }, []), /* @__PURE__ */ b(O.Provider, {
263
374
  value: {
264
- isExpanded: s,
265
- sidebarId: g,
266
- drawerHandle: d,
267
- navigationToggleRef: y,
268
- mobileNavigationToggleRef: b,
269
- onToggle: () => c((e) => !e),
375
+ isExpanded: l,
376
+ sidebarId: v,
377
+ drawerHandle: m,
378
+ navigationToggleRef: x,
379
+ mobileNavigationToggleRef: S,
380
+ onToggle: () => u((e) => !e),
270
381
  onNavigate: () => {
271
- x.current = l, u(!1);
382
+ w.current = d, f(!1);
272
383
  }
273
384
  },
274
- children: [/* @__PURE__ */ v("div", {
385
+ children: [/* @__PURE__ */ b("div", {
275
386
  className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
276
- children: [/* @__PURE__ */ _("aside", {
277
- id: g,
278
- "aria-label": "Navigation",
279
- hidden: o,
280
- ...{
281
- 0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli" },
282
- 2: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
283
- 1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli x1s85apg" },
284
- 3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
285
- }[!s << 1 | !!o],
286
- children: /* @__PURE__ */ _(k, {
287
- header: t,
288
- footer: r,
289
- children: n
387
+ children: [
388
+ c && /* @__PURE__ */ y("div", {
389
+ hidden: s,
390
+ ...{
391
+ 0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
392
+ 1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
393
+ }[!!s | 0],
394
+ children: t
395
+ }),
396
+ /* @__PURE__ */ y("aside", {
397
+ id: v,
398
+ "aria-label": "Navigation",
399
+ hidden: p,
400
+ ...{
401
+ 0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli" },
402
+ 4: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli xuqhkz3" },
403
+ 2: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
404
+ 6: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
405
+ 1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli x1s85apg" },
406
+ 5: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli xuqhkz3 x1s85apg" },
407
+ 3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" },
408
+ 7: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
409
+ }[!!c << 2 | !(c || l) << 1 | !!p],
410
+ children: /* @__PURE__ */ y(j, {
411
+ header: n,
412
+ footer: i,
413
+ children: r
414
+ })
415
+ }),
416
+ /* @__PURE__ */ y("main", {
417
+ id: o,
418
+ tabIndex: -1,
419
+ className: "xeuugli x98rzlu",
420
+ children: a
290
421
  })
291
- }), /* @__PURE__ */ _("main", {
292
- id: a,
293
- tabIndex: -1,
294
- className: "xeuugli x98rzlu",
295
- children: i
296
- })]
297
- }), /* @__PURE__ */ _(e.Root, {
298
- handle: d,
299
- open: l && !o,
300
- onOpenChange: u,
301
- children: /* @__PURE__ */ v(e.Portal, { children: [/* @__PURE__ */ _(e.Backdrop, {}), /* @__PURE__ */ _(e.Viewport, { children: /* @__PURE__ */ v(e.Popup, {
302
- xstyle: R.drawer,
422
+ ]
423
+ }), /* @__PURE__ */ y(e.Root, {
424
+ handle: m,
425
+ open: d && !s,
426
+ onOpenChange: f,
427
+ children: /* @__PURE__ */ b(e.Portal, { children: [/* @__PURE__ */ y(e.Backdrop, {}), /* @__PURE__ */ y(e.Viewport, { children: /* @__PURE__ */ b(e.Popup, {
428
+ ref: C,
429
+ xstyle: H.drawer,
303
430
  finalFocus: () => {
304
- if (x.current) {
305
- x.current = !1;
306
- let e = document.querySelector(`#${CSS.escape(a)}`), t = document.activeElement;
431
+ if (w.current) {
432
+ w.current = !1;
433
+ let e = document.querySelector(`#${CSS.escape(o)}`), t = document.activeElement;
434
+ if (t instanceof HTMLElement) {
435
+ let e = t.closest("[role=\"dialog\"], [role=\"alertdialog\"]");
436
+ if (e !== null && e !== C.current) return t;
437
+ }
307
438
  return t instanceof HTMLElement && e?.contains(t) === !0 ? t : e;
308
439
  }
309
- return globalThis.matchMedia(T.sidebarDesktopQuery).matches ? y.current : b.current;
440
+ return globalThis.matchMedia(D.sidebarDesktopQuery).matches ? x.current : S.current;
310
441
  },
311
- children: [/* @__PURE__ */ _(e.Title, {
442
+ children: [/* @__PURE__ */ y(e.Title, {
312
443
  isVisuallyHidden: !0,
313
444
  children: "Navigation"
314
- }), /* @__PURE__ */ _(k, {
315
- header: t,
316
- footer: r,
317
- close: /* @__PURE__ */ _(A, {}),
318
- children: n
445
+ }), /* @__PURE__ */ y(j, {
446
+ header: n,
447
+ navigationHeader: c && /* @__PURE__ */ y(z.Provider, {
448
+ value: !0,
449
+ children: t
450
+ }),
451
+ footer: i,
452
+ close: /* @__PURE__ */ y(te, {}),
453
+ children: r
319
454
  })]
320
455
  }) })] })
321
456
  })]
322
457
  });
323
458
  }
324
459
  // packages/layout/src/detail-page.tsx
325
- function B({ children: e }) {
326
- return /* @__PURE__ */ _("div", {
460
+ function W({ children: e }) {
461
+ return /* @__PURE__ */ y("div", {
327
462
  className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y",
328
463
  children: e
329
464
  });
330
465
  }
331
466
  // packages/layout/src/focus-page.tsx
332
- function V({ children: e }) {
333
- return /* @__PURE__ */ _("main", {
467
+ function G({ children: e }) {
468
+ return /* @__PURE__ */ y("main", {
334
469
  id: "main",
335
470
  tabIndex: -1,
336
471
  className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
337
- children: /* @__PURE__ */ _("div", {
472
+ children: /* @__PURE__ */ y("div", {
338
473
  className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
339
474
  children: e
340
475
  })
341
476
  });
342
477
  }
343
478
  // packages/layout/src/workbench.tsx
344
- function H({ header: e, children: t, inspector: n }) {
345
- return /* @__PURE__ */ v("div", {
479
+ function K({ header: e, children: t, inspector: n }) {
480
+ return /* @__PURE__ */ b("div", {
346
481
  className: "x78zum5 xdt5ytf x1r09gfs xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
347
- children: [e != null && /* @__PURE__ */ _("div", {
482
+ children: [e != null && /* @__PURE__ */ y("div", {
348
483
  className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
349
484
  children: e
350
- }), /* @__PURE__ */ v("div", {
485
+ }), /* @__PURE__ */ b("div", {
351
486
  className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
352
- children: [/* @__PURE__ */ _("div", {
487
+ children: [/* @__PURE__ */ y("div", {
353
488
  ...{
354
489
  0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
355
490
  1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
356
491
  }[n !== void 0 | 0],
357
492
  children: t
358
- }), n !== void 0 && /* @__PURE__ */ _("aside", {
493
+ }), n !== void 0 && /* @__PURE__ */ y("aside", {
359
494
  "aria-label": n.label,
360
495
  className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
361
496
  children: n.content
@@ -363,8 +498,8 @@ function H({ header: e, children: t, inspector: n }) {
363
498
  })]
364
499
  });
365
500
  }
366
- function U({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
367
- return /* @__PURE__ */ _("div", {
501
+ function q({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
502
+ return /* @__PURE__ */ y("div", {
368
503
  role: "region",
369
504
  "aria-label": e,
370
505
  tabIndex: 0,
@@ -376,21 +511,21 @@ function U({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
376
511
  children: t
377
512
  });
378
513
  }
379
- function W({ children: e }) {
380
- return /* @__PURE__ */ _("div", {
514
+ function ne({ children: e }) {
515
+ return /* @__PURE__ */ y("div", {
381
516
  className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
382
517
  children: e
383
518
  });
384
519
  }
385
520
  // packages/layout/src/view-stack.tsx
386
- function ee({ children: e }) {
387
- return /* @__PURE__ */ _("div", {
521
+ function J({ children: e }) {
522
+ return /* @__PURE__ */ y("div", {
388
523
  className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
389
524
  children: e
390
525
  });
391
526
  }
392
- function G({ isActive: e, children: t }) {
393
- return /* @__PURE__ */ _("section", {
527
+ function Y({ isActive: e, children: t }) {
528
+ return /* @__PURE__ */ y("section", {
394
529
  "aria-hidden": !e,
395
530
  inert: !e,
396
531
  ...{
@@ -400,91 +535,91 @@ function G({ isActive: e, children: t }) {
400
535
  children: t
401
536
  });
402
537
  }
403
- var K = {
404
- Root: ee,
405
- Panel: G
406
- }, q = { action: {
538
+ var X = {
539
+ Root: J,
540
+ Panel: Y
541
+ }, Z = { action: {
407
542
  k7Eaqz: "xeuugli",
408
543
  ks0D6T: "x193iq5w",
409
544
  $$css: !0
410
545
  } };
411
- function J({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
412
- let o = l.toArray(e).length > 0, s = l.toArray(t).length > 0, c = l.toArray(i).length > 0, u = l.toArray(a).length > 0;
413
- return l.toArray([
546
+ function Q({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
547
+ let o = f.toArray(e).length > 0, s = f.toArray(t).length > 0, c = f.toArray(i).length > 0, l = f.toArray(a).length > 0;
548
+ return f.toArray([
414
549
  e,
415
550
  t,
416
551
  i,
417
552
  a
418
- ]).length === 0 ? null : /* @__PURE__ */ v("div", {
553
+ ]).length === 0 ? null : /* @__PURE__ */ b("div", {
419
554
  className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xnyqvp6 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
420
555
  children: [
421
- u ? /* @__PURE__ */ _("div", {
556
+ l ? /* @__PURE__ */ y("div", {
422
557
  className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
423
558
  children: a
424
- }) : r && /* @__PURE__ */ _(L, {}),
425
- o && /* @__PURE__ */ _(n ? "nav" : "h1", {
559
+ }) : r && /* @__PURE__ */ y(R, {}),
560
+ o && /* @__PURE__ */ y(n ? "nav" : "h1", {
426
561
  tabIndex: n ? void 0 : -1,
427
562
  "aria-label": n ? "Breadcrumb" : void 0,
428
563
  className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
429
- children: /* @__PURE__ */ _("span", {
564
+ children: /* @__PURE__ */ y("span", {
430
565
  className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
431
566
  children: e
432
567
  })
433
568
  }),
434
- c && /* @__PURE__ */ _("div", {
569
+ c && /* @__PURE__ */ y("div", {
435
570
  className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
436
571
  children: i
437
572
  }),
438
- s && /* @__PURE__ */ _("div", {
573
+ s && /* @__PURE__ */ y("div", {
439
574
  className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli x2lah0s x8x9d4c",
440
575
  children: t
441
576
  })
442
577
  ]
443
578
  });
444
579
  }
445
- function Y({ icon: e, children: n, ...r }) {
580
+ function re({ icon: e, children: t, ...r }) {
446
581
  let i = e != null;
447
- return /* @__PURE__ */ _("div", {
582
+ return /* @__PURE__ */ y("div", {
448
583
  className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
449
- children: /* @__PURE__ */ v(t, {
584
+ children: /* @__PURE__ */ b(n, {
450
585
  ...r,
451
586
  variant: "ghost",
452
- "aria-label": r["aria-label"] ?? (typeof n == "string" ? n : void 0),
453
- xstyle: q.action,
454
- children: [i && /* @__PURE__ */ _("span", {
587
+ "aria-label": r["aria-label"] ?? (typeof t == "string" ? t : void 0),
588
+ xstyle: Z.action,
589
+ children: [i && /* @__PURE__ */ y("span", {
455
590
  "aria-hidden": !0,
456
591
  className: "x3nfvp2 x2lah0s x6s0dn4",
457
592
  children: e
458
- }), i || typeof n == "string" ? /* @__PURE__ */ _("span", {
593
+ }), i || typeof t == "string" ? /* @__PURE__ */ y("span", {
459
594
  ...{
460
595
  0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
461
596
  1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
462
597
  }[!!i | 0],
463
- children: n
464
- }) : n]
598
+ children: t
599
+ }) : t]
465
600
  })
466
601
  });
467
602
  }
468
603
  // packages/layout/src/page-content.tsx
469
- function X({ children: e }) {
470
- return /* @__PURE__ */ _("div", {
604
+ function ie({ children: e }) {
605
+ return /* @__PURE__ */ y("div", {
471
606
  className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
472
607
  children: e
473
608
  });
474
609
  }
475
610
  // packages/layout/src/record-page.tsx
476
- function Z({ children: e }) {
477
- return /* @__PURE__ */ _("div", {
611
+ function ae({ children: e }) {
612
+ return /* @__PURE__ */ y("div", {
478
613
  className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
479
614
  children: e
480
615
  });
481
616
  }
482
- function Q({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
483
- return /* @__PURE__ */ _(J, {
617
+ function oe({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
618
+ return /* @__PURE__ */ y(Q, {
484
619
  showBreadcrumb: !0,
485
620
  showNavigation: i,
486
621
  actions: r,
487
- title: /* @__PURE__ */ v("a", {
622
+ title: /* @__PURE__ */ b("a", {
488
623
  href: t,
489
624
  className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
490
625
  onClick: (e) => {
@@ -492,11 +627,11 @@ function Q({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i
492
627
  let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
493
628
  t || r || (e.preventDefault(), n());
494
629
  },
495
- children: [/* @__PURE__ */ _(y, {
630
+ children: [/* @__PURE__ */ y(x, {
496
631
  size: 16,
497
632
  "aria-hidden": !0,
498
633
  className: "x2lah0s"
499
- }), /* @__PURE__ */ _("span", {
634
+ }), /* @__PURE__ */ y("span", {
500
635
  className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
501
636
  children: e
502
637
  })]
@@ -504,53 +639,53 @@ function Q({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i
504
639
  });
505
640
  }
506
641
  function $({ children: e }) {
507
- return /* @__PURE__ */ _(B, { children: /* @__PURE__ */ _("div", {
642
+ return /* @__PURE__ */ y(W, { children: /* @__PURE__ */ y("div", {
508
643
  className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
509
644
  children: e
510
645
  }) });
511
646
  }
512
- function te({ children: e }) {
513
- return /* @__PURE__ */ _("div", {
647
+ function se({ children: e }) {
648
+ return /* @__PURE__ */ y("div", {
514
649
  className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
515
650
  children: e
516
651
  });
517
652
  }
518
- function ne({ title: e, description: t, icon: i, titleRef: a }) {
519
- return /* @__PURE__ */ v("header", {
653
+ function ce({ title: e, description: t, icon: n, titleRef: r }) {
654
+ return /* @__PURE__ */ b("header", {
520
655
  className: "xrvj5dj x1n8ia3y xeuugli",
521
- children: [/* @__PURE__ */ v("div", {
656
+ children: [/* @__PURE__ */ b("div", {
522
657
  className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
523
- children: [i != null && /* @__PURE__ */ _("span", {
658
+ children: [n != null && /* @__PURE__ */ y("span", {
524
659
  "aria-hidden": !0,
525
660
  className: "x3nfvp2 x6s0dn4 x2lah0s",
526
- children: i
527
- }), /* @__PURE__ */ _(r, {
528
- ref: a,
661
+ children: n
662
+ }), /* @__PURE__ */ y(o, {
663
+ ref: r,
529
664
  tabIndex: -1,
530
665
  className: "xeuugli x1t137rt",
531
666
  children: e
532
667
  })]
533
- }), t != null && /* @__PURE__ */ _(n, { children: t })]
668
+ }), t != null && /* @__PURE__ */ y(a, { children: t })]
534
669
  });
535
670
  }
536
- function re({ children: e, label: t = "Properties" }) {
537
- return /* @__PURE__ */ _("aside", {
671
+ function le({ children: e, label: t = "Properties" }) {
672
+ return /* @__PURE__ */ y("aside", {
538
673
  "aria-label": t,
539
674
  className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
540
675
  children: e
541
676
  });
542
677
  }
543
- var ie = {
544
- Root: Z,
545
- Toolbar: Q,
678
+ var ue = {
679
+ Root: ae,
680
+ Toolbar: oe,
546
681
  Body: $,
547
- Content: te,
548
- Header: ne,
549
- Aside: re
682
+ Content: se,
683
+ Header: ce,
684
+ Aside: le
550
685
  };
551
686
  // packages/layout/src/resizable.tsx
552
- function ae({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
553
- return /* @__PURE__ */ _(S, {
687
+ function de({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
688
+ return /* @__PURE__ */ y(w, {
554
689
  orientation: e,
555
690
  defaultLayout: t,
556
691
  onLayoutChanged: (e, t) => {
@@ -562,29 +697,29 @@ function ae({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
562
697
  coarse: 44,
563
698
  fine: 12
564
699
  },
565
- ...s({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
700
+ ...u({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
566
701
  });
567
702
  }
568
- function oe({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
569
- return /* @__PURE__ */ _(C, {
703
+ function fe({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
704
+ return /* @__PURE__ */ y(T, {
570
705
  id: e,
571
706
  defaultSize: t === void 0 ? void 0 : `${t}%`,
572
707
  minSize: `${n}%`,
573
708
  maxSize: `${r}%`,
574
709
  collapsible: i,
575
710
  elementRef: a,
576
- ...s({ className: "xeuugli x2lwn1j xysyzu8" }, o)
711
+ ...u({ className: "xeuugli x2lwn1j xysyzu8" }, o)
577
712
  });
578
713
  }
579
- function se({ ref: e, ...t }) {
580
- return /* @__PURE__ */ _(w, {
714
+ function pe({ ref: e, ...t }) {
715
+ return /* @__PURE__ */ y(E, {
581
716
  elementRef: e,
582
- ...s({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
717
+ ...u({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
583
718
  });
584
719
  }
585
- var ce = {
586
- Root: ae,
587
- Pane: oe,
588
- Handle: se
720
+ var me = {
721
+ Root: de,
722
+ Pane: fe,
723
+ Handle: pe
589
724
  };
590
- export { z as AppShell, B as DetailPage, V as FocusPage, j as Navigation, N as NavigationItem, P as NavigationLink, M as NavigationSection, X as PageContent, J as PageToolbar, ie as RecordPage, ce as Resizable, I as SidebarFooter, F as SidebarLabel, Y as ToolbarAction, K as ViewStack, H as Workbench, W as WorkbenchFooter, U as WorkbenchScroll };
725
+ export { U as AppShell, W as DetailPage, G as FocusPage, M as Navigation, P as NavigationItem, F as NavigationLink, V as NavigationRail, N as NavigationSection, ie as PageContent, Q as PageToolbar, ue as RecordPage, me as Resizable, L as SidebarFooter, I as SidebarLabel, re as ToolbarAction, X as ViewStack, K as Workbench, ne as WorkbenchFooter, q as WorkbenchScroll };