@mechane-ai/elements 0.41.0 → 0.43.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 (92) hide show
  1. package/README.md +72 -41
  2. package/bin/catalog.d.mts +17 -0
  3. package/bin/mechane-elements-catalog.mjs +60 -0
  4. package/dist/agent.js +1 -1
  5. package/dist/ai.js +23 -23
  6. package/dist/catalog.json +1984 -0
  7. package/dist/{categorical-values-DnGR_pQx.js → categorical-values-DzhbfZ5w.js} +3 -3
  8. package/dist/{chart-frame-BsyI1Zc8.js → chart-frame-9dQQNF3F.js} +74 -22
  9. package/dist/{chart-input-r4S3-QCT.js → chart-input-DT0STflx.js} +2 -2
  10. package/dist/{chart-navigation-D7OkLdSx.js → chart-navigation-BAbb5PV9.js} +67 -32
  11. package/dist/charts/cartesian.js +1728 -559
  12. package/dist/charts/distribution.js +5 -5
  13. package/dist/charts/graph.js +443 -76
  14. package/dist/charts/hierarchy.js +5 -5
  15. package/dist/charts/matrix.js +232 -63
  16. package/dist/charts/timeline.js +3 -3
  17. package/dist/charts.js +2 -2
  18. package/dist/{code-block-C4K1sM9O.js → code-block-Cpfr7B6a.js} +1 -1
  19. package/dist/collections.js +475 -354
  20. package/dist/content/code.js +1 -1
  21. package/dist/content/diff.js +3 -3
  22. package/dist/content/link.js +1 -1
  23. package/dist/content/markdown.js +2 -2
  24. package/dist/content/tree.js +2 -2
  25. package/dist/{content-link-CBDqSvgP.js → content-link-CGeFFb9F.js} +1 -1
  26. package/dist/content.js +1 -1
  27. package/dist/feedback.js +1 -1
  28. package/dist/forms/dates.js +11 -11
  29. package/dist/{forms-I-WMHTkr.js → forms-DeU0Tiv3.js} +6 -2
  30. package/dist/forms.js +3 -3
  31. package/dist/index.js +1 -1
  32. package/dist/label-spacing-BncjePGb.js +6 -0
  33. package/dist/layout.js +275 -249
  34. package/dist/mechane-elements-catalog.mjs +4 -0
  35. package/dist/navigation.js +2 -2
  36. package/dist/packages/charts/src/cartesian/bar-chart.d.ts +15 -3
  37. package/dist/packages/charts/src/cartesian/bar-data.d.ts +43 -0
  38. package/dist/packages/charts/src/cartesian/bar-overlays.d.ts +32 -0
  39. package/dist/packages/charts/src/cartesian/bridge-chart.d.ts +29 -0
  40. package/dist/packages/charts/src/cartesian/bridge-data.d.ts +40 -0
  41. package/dist/packages/charts/src/cartesian/index.d.ts +7 -2
  42. package/dist/packages/charts/src/cartesian/reference-lines.d.ts +34 -0
  43. package/dist/packages/charts/src/cartesian/sparkline.d.ts +10 -1
  44. package/dist/packages/charts/src/cartesian/time-series-bands.d.ts +66 -0
  45. package/dist/packages/charts/src/cartesian/time-series-data.d.ts +11 -1
  46. package/dist/packages/charts/src/cartesian/time-series-overlays.d.ts +35 -0
  47. package/dist/packages/charts/src/cartesian/time-series.d.ts +6 -1
  48. package/dist/packages/charts/src/chart-inspection.d.ts +4 -1
  49. package/dist/packages/charts/src/chart-navigation.d.ts +5 -1
  50. package/dist/packages/charts/src/chart-series-marker.d.ts +8 -1
  51. package/dist/packages/charts/src/chart-surface.d.ts +4 -0
  52. package/dist/packages/charts/src/chart-theme.d.ts +26 -0
  53. package/dist/packages/charts/src/graph/flow-diagram.d.ts +26 -0
  54. package/dist/packages/charts/src/graph/flow-layout.d.ts +70 -0
  55. package/dist/packages/charts/src/graph/index.d.ts +2 -0
  56. package/dist/packages/charts/src/index.d.ts +1 -1
  57. package/dist/packages/charts/src/label-spacing.d.ts +15 -0
  58. package/dist/packages/charts/src/matrix/matrix-cells.d.ts +4 -0
  59. package/dist/packages/charts/src/matrix/matrix-strip.d.ts +20 -0
  60. package/dist/packages/charts/src/matrix/matrix-types.d.ts +21 -0
  61. package/dist/packages/charts/src/matrix/matrix.d.ts +8 -19
  62. package/dist/packages/collections/src/collection-controls.d.ts +2 -1
  63. package/dist/packages/collections/src/data-table.d.ts +12 -8
  64. package/dist/packages/collections/src/index.d.ts +1 -0
  65. package/dist/packages/collections/src/table-results.d.ts +26 -0
  66. package/dist/packages/core/src/actions.d.ts +6 -0
  67. package/dist/packages/core/src/index.d.ts +1 -1
  68. package/dist/packages/forms/src/form-status.d.ts +7 -0
  69. package/dist/packages/forms/src/forms.d.ts +3 -1
  70. package/dist/packages/forms/src/index.d.ts +2 -0
  71. package/dist/packages/foundations/src/agent/index.d.ts +2 -2
  72. package/dist/packages/layout/src/page-context.d.ts +4 -0
  73. package/dist/packages/navigation/src/index.d.ts +1 -0
  74. package/dist/packages/navigation/src/route-link.d.ts +2 -0
  75. package/dist/{pierre-diff-DJ3oOfPX.js → pierre-diff-B3tD3-6z.js} +1 -1
  76. package/dist/{plot-width-BQQS-mw9.js → plot-width-DzCmthQW.js} +28 -0
  77. package/dist/{src-D2OHco8V.js → src-Bk7M67zy.js} +3 -3
  78. package/dist/{src-DfOAlAd2.js → src-BpvnBWrF.js} +1 -1
  79. package/dist/{src-CQQvXi7a.js → src-DBNncL7_.js} +70 -50
  80. package/dist/{src-s3tWwnN4.js → src-DcW_gMX8.js} +178 -168
  81. package/dist/{src-CNV1ewzb.js → src-gqEebHEa.js} +319 -285
  82. package/dist/styles2.css +115 -0
  83. package/package.json +9 -2
  84. package/recipes/allocation-report.tsx +115 -0
  85. package/recipes/consequential-form.tsx +132 -0
  86. package/recipes/searchable-collection.tsx +106 -0
  87. package/recipes/sectioned-report.tsx +58 -0
  88. package/recipes/tabbed-workspace.tsx +84 -0
  89. package/skills/extend-elements/SKILL.md +28 -0
  90. package/skills/use-elements/SKILL.md +36 -0
  91. package/skills/{elements-presentation/SKILL.md → use-elements/references/reports.md} +0 -6
  92. package/skills/{elements-workspace/SKILL.md → use-elements/references/workspace.md} +0 -6
@@ -1,25 +1,26 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./control-styles-D3q_Qyxi.js";
2
2
  import { n as a } from "./accessibility-P89UG9-r.js";
3
- import { S as o, i as s, s as c, x as l, y as u } from "./src-s3tWwnN4.js";
4
- import { r as d } from "./forms-I-WMHTkr.js";
5
- import * as f from "@stylexjs/stylex";
6
- import { mergeProps as p } from "@ui-sdk/react/primitive";
7
- import { createContext as m, useContext as h, useId as g } from "react";
8
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
9
- import { Check as y, ChevronDown as b, X as x } from "lucide-react";
10
- import * as S from "@ui-sdk/react/combobox";
11
- import { Radio as C, RadioGroup as w, RadioIndicator as T } from "@ui-sdk/react/radio";
12
- import { mergeProps as E } from "@base-ui/react/merge-props";
13
- import { Field as D, FieldControl as O, FieldLabel as ee, FieldLegend as te, FieldSet as ne, useFieldControl as re } from "@ui-sdk/react/field";
14
- import { InputGroup as ie } from "@ui-sdk/react/input";
15
- import { NumberInput as ae, NumberInputControl as oe, NumberInputDecrement as se, NumberInputGroup as ce, NumberInputIncrement as k } from "@ui-sdk/react/number-input";
16
- import { Slider as A, SliderControl as j, SliderIndicator as M, SliderThumb as N, SliderTrack as P, SliderValue as F } from "@ui-sdk/react/slider";
17
- import * as I from "@ui-sdk/react/select";
18
- import { Checkbox as L, CheckboxIndicator as R } from "@ui-sdk/react/checkbox";
19
- import { Switch as z, SwitchThumb as B } from "@ui-sdk/react/switch";
20
- import { Toggle as V, ToggleGroup as H } from "@ui-sdk/react/toggle";
3
+ import { S as o, i as s, o as c, s as l, x as u, y as d } from "./src-DcW_gMX8.js";
4
+ import { r as f } from "./forms-DeU0Tiv3.js";
5
+ import * as p from "@stylexjs/stylex";
6
+ import { createParts as m, mergeProps as h } from "@ui-sdk/react/primitive";
7
+ import { createContext as g, useContext as _, useId as v } from "react";
8
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
9
+ import { Check as x, ChevronDown as S, X as C } from "lucide-react";
10
+ import * as w from "@ui-sdk/react/combobox";
11
+ import { Radio as T, RadioGroup as E, RadioIndicator as D } from "@ui-sdk/react/radio";
12
+ import { mergeProps as ee } from "@base-ui/react/merge-props";
13
+ import { Field as te, FieldControl as ne, FieldLabel as re, FieldLegend as ie, FieldSet as ae, useFieldControl as oe } from "@ui-sdk/react/field";
14
+ import { InputGroup as se } from "@ui-sdk/react/input";
15
+ import { NumberInput as ce, NumberInputControl as le, NumberInputDecrement as ue, NumberInputGroup as de, NumberInputIncrement as fe } from "@ui-sdk/react/number-input";
16
+ import { Slider as O, SliderControl as k, SliderIndicator as A, SliderThumb as j, SliderTrack as M, SliderValue as N } from "@ui-sdk/react/slider";
17
+ import { definePrimitive as P } from "@ui-sdk/core";
18
+ import * as F from "@ui-sdk/react/select";
19
+ import { Checkbox as I, CheckboxIndicator as L } from "@ui-sdk/react/checkbox";
20
+ import { Switch as R, SwitchThumb as z } from "@ui-sdk/react/switch";
21
+ import { Toggle as B, ToggleGroup as V } from "@ui-sdk/react/toggle";
21
22
  // packages/forms/src/selection-styles.ts
22
- var U = {
23
+ var H = {
23
24
  trigger: {
24
25
  k1xSpc: "x3nfvp2",
25
26
  kGNEyG: "x6s0dn4",
@@ -121,7 +122,7 @@ var U = {
121
122
  kHjlTd: "xj0a0fe",
122
123
  $$css: !0
123
124
  }
124
- }, W = m("standard"), G = {
125
+ }, U = g("standard"), W = {
125
126
  inputGroup: {
126
127
  kOIVth: "xunmzkg",
127
128
  $$css: !0
@@ -173,82 +174,82 @@ var U = {
173
174
  $$css: !0
174
175
  }
175
176
  };
176
- function le(e) {
177
- return /* @__PURE__ */ _(W, {
177
+ function pe(e) {
178
+ return /* @__PURE__ */ y(U, {
178
179
  value: e.density ?? "standard",
179
- children: (e.multiple, /* @__PURE__ */ _(S.Combobox, { ...e }))
180
+ children: (e.multiple, /* @__PURE__ */ y(w.Combobox, { ...e }))
180
181
  });
181
182
  }
182
- function ue({ xstyle: e, ...n }) {
183
- let i = h(W);
184
- return /* @__PURE__ */ _("div", { ...p(f.props(r.group, t[i], G.inputGroup, e), n) });
183
+ function me({ xstyle: e, ...n }) {
184
+ let i = _(U);
185
+ return /* @__PURE__ */ y("div", { ...h(p.props(r.group, t[i], W.inputGroup, e), n) });
185
186
  }
186
- function de({ className: e, style: t, ...n }) {
187
- return /* @__PURE__ */ _(S.ComboboxLabel, {
187
+ function he({ className: e, style: t, ...n }) {
188
+ return /* @__PURE__ */ y(w.ComboboxLabel, {
188
189
  ...n,
189
190
  ...a({
190
191
  className: e,
191
192
  style: t,
192
- styles: f.props(r.label)
193
+ styles: p.props(r.label)
193
194
  })
194
195
  });
195
196
  }
196
- function fe({ className: t, style: i, ...o }) {
197
- let s = h(W);
198
- return /* @__PURE__ */ _(S.ComboboxInput, {
197
+ function ge({ className: t, style: i, ...o }) {
198
+ let s = _(U);
199
+ return /* @__PURE__ */ y(w.ComboboxInput, {
199
200
  ...o,
200
201
  ...a({
201
202
  className: t,
202
203
  style: i,
203
- styles: f.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, G.input)
204
+ styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, W.input)
204
205
  })
205
206
  });
206
207
  }
207
- function pe({ children: e = /* @__PURE__ */ _(b, {
208
+ function _e({ children: e = /* @__PURE__ */ y(S, {
208
209
  size: 16,
209
210
  "aria-hidden": "true"
210
211
  }), "aria-label": t = "Show options", className: n, style: r, ...o }) {
211
- let s = h(W);
212
- return /* @__PURE__ */ _(S.ComboboxTrigger, {
212
+ let s = _(U);
213
+ return /* @__PURE__ */ y(w.ComboboxTrigger, {
213
214
  ...o,
214
215
  "aria-label": t,
215
216
  ...a({
216
217
  className: n,
217
218
  style: r,
218
- styles: f.props(i[s], G.action)
219
+ styles: p.props(i[s], W.action)
219
220
  }),
220
221
  children: e
221
222
  });
222
223
  }
223
- function me({ children: e = /* @__PURE__ */ _(x, {
224
+ function ve({ children: e = /* @__PURE__ */ y(C, {
224
225
  size: 16,
225
226
  "aria-hidden": "true"
226
227
  }), "aria-label": t = "Clear selection", className: n, style: r, ...o }) {
227
- let s = h(W);
228
- return /* @__PURE__ */ _(S.ComboboxClear, {
228
+ let s = _(U);
229
+ return /* @__PURE__ */ y(w.ComboboxClear, {
229
230
  ...o,
230
231
  "aria-label": t,
231
232
  ...a({
232
233
  className: n,
233
234
  style: r,
234
- styles: f.props(i[s], G.action)
235
+ styles: p.props(i[s], W.action)
235
236
  }),
236
237
  children: e
237
238
  });
238
239
  }
239
- function he({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
240
- return /* @__PURE__ */ _(S.ComboboxContent, {
240
+ function ye({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
241
+ return /* @__PURE__ */ y(w.ComboboxContent, {
241
242
  ...i,
242
243
  sideOffset: r,
243
244
  ...a({
244
245
  className: e,
245
246
  style: t,
246
- styles: f.props(U.popup, U.positioner, n)
247
+ styles: p.props(H.popup, H.positioner, n)
247
248
  })
248
249
  });
249
250
  }
250
- function ge({ className: e, style: t, ...n }) {
251
- return /* @__PURE__ */ _(S.ComboboxList, {
251
+ function be({ className: e, style: t, ...n }) {
252
+ return /* @__PURE__ */ y(w.ComboboxList, {
252
253
  ...n,
253
254
  ...a({
254
255
  className: e,
@@ -257,32 +258,32 @@ function ge({ className: e, style: t, ...n }) {
257
258
  })
258
259
  });
259
260
  }
260
- function _e({ className: e, style: t, ...n }) {
261
- return /* @__PURE__ */ _(S.ComboboxItem, {
261
+ function xe({ className: e, style: t, ...n }) {
262
+ return /* @__PURE__ */ y(w.ComboboxItem, {
262
263
  ...n,
263
264
  ...a({
264
265
  className: e,
265
266
  style: t,
266
- styles: f.props(U.option)
267
+ styles: p.props(H.option)
267
268
  })
268
269
  });
269
270
  }
270
- function ve({ children: e = /* @__PURE__ */ _(y, {
271
+ function Se({ children: e = /* @__PURE__ */ y(x, {
271
272
  size: 16,
272
273
  "aria-hidden": "true"
273
274
  }), className: t, style: n, ...r }) {
274
- return /* @__PURE__ */ _(S.ComboboxItemIndicator, {
275
+ return /* @__PURE__ */ y(w.ComboboxItemIndicator, {
275
276
  ...r,
276
277
  ...a({
277
278
  className: t,
278
279
  style: n,
279
- styles: f.props(U.icon)
280
+ styles: p.props(H.icon)
280
281
  }),
281
282
  children: e
282
283
  });
283
284
  }
284
- function ye({ className: e, style: t, ...n }) {
285
- return /* @__PURE__ */ _(S.ComboboxEmpty, {
285
+ function Ce({ className: e, style: t, ...n }) {
286
+ return /* @__PURE__ */ y(w.ComboboxEmpty, {
286
287
  ...n,
287
288
  ...a({
288
289
  className: e,
@@ -291,8 +292,8 @@ function ye({ className: e, style: t, ...n }) {
291
292
  })
292
293
  });
293
294
  }
294
- function be({ className: e, style: t, ...n }) {
295
- return /* @__PURE__ */ _(S.ComboboxStatus, {
295
+ function we({ className: e, style: t, ...n }) {
296
+ return /* @__PURE__ */ y(w.ComboboxStatus, {
296
297
  ...n,
297
298
  ...a({
298
299
  className: e,
@@ -301,8 +302,8 @@ function be({ className: e, style: t, ...n }) {
301
302
  })
302
303
  });
303
304
  }
304
- function xe({ className: e, style: t, ...n }) {
305
- return /* @__PURE__ */ _(S.ComboboxGroupLabel, {
305
+ function Te({ className: e, style: t, ...n }) {
306
+ return /* @__PURE__ */ y(w.ComboboxGroupLabel, {
306
307
  ...n,
307
308
  ...a({
308
309
  className: e,
@@ -311,8 +312,8 @@ function xe({ className: e, style: t, ...n }) {
311
312
  })
312
313
  });
313
314
  }
314
- function Se({ className: e, style: t, ...n }) {
315
- return /* @__PURE__ */ _(S.ComboboxChips, {
315
+ function Ee({ className: e, style: t, ...n }) {
316
+ return /* @__PURE__ */ y(w.ComboboxChips, {
316
317
  ...n,
317
318
  ...a({
318
319
  className: e,
@@ -321,82 +322,82 @@ function Se({ className: e, style: t, ...n }) {
321
322
  })
322
323
  });
323
324
  }
324
- function Ce({ className: e, style: n, ...i }) {
325
- let o = h(W);
326
- return /* @__PURE__ */ _(S.ComboboxChip, {
325
+ function De({ className: e, style: n, ...i }) {
326
+ let o = _(U);
327
+ return /* @__PURE__ */ y(w.ComboboxChip, {
327
328
  ...i,
328
329
  ...a({
329
330
  className: e,
330
331
  style: n,
331
- styles: f.props(r.group, t[o], G.chip)
332
+ styles: p.props(r.group, t[o], W.chip)
332
333
  })
333
334
  });
334
335
  }
335
- function we({ children: e = /* @__PURE__ */ _(x, {
336
+ function Oe({ children: e = /* @__PURE__ */ y(C, {
336
337
  size: 16,
337
338
  "aria-hidden": "true"
338
339
  }), className: t, style: n, ...r }) {
339
- let o = h(W);
340
- return /* @__PURE__ */ _(S.ComboboxChipRemove, {
340
+ let o = _(U);
341
+ return /* @__PURE__ */ y(w.ComboboxChipRemove, {
341
342
  ...r,
342
343
  ...a({
343
344
  className: t,
344
345
  style: n,
345
- styles: f.props(i[o], G.action)
346
+ styles: p.props(i[o], W.action)
346
347
  }),
347
348
  children: e
348
349
  });
349
350
  }
350
- var Te = {
351
- Root: le,
352
- Label: de,
353
- InputGroup: ue,
354
- Input: fe,
355
- Trigger: pe,
356
- Clear: me,
357
- Popup: he,
358
- List: ge,
359
- Item: _e,
360
- ItemIndicator: ve,
361
- Empty: ye,
362
- Status: be,
363
- Group: S.ComboboxGroup,
364
- GroupLabel: xe,
365
- Chips: Se,
366
- Chip: Ce,
367
- ChipRemove: we,
368
- Value: S.ComboboxValue
351
+ var ke = {
352
+ Root: pe,
353
+ Label: he,
354
+ InputGroup: me,
355
+ Input: ge,
356
+ Trigger: _e,
357
+ Clear: ve,
358
+ Popup: ye,
359
+ List: be,
360
+ Item: xe,
361
+ ItemIndicator: Se,
362
+ Empty: Ce,
363
+ Status: we,
364
+ Group: w.ComboboxGroup,
365
+ GroupLabel: Te,
366
+ Chips: Ee,
367
+ Chip: De,
368
+ ChipRemove: Oe,
369
+ Value: w.ComboboxValue
369
370
  };
370
371
  // packages/forms/src/agent-avatar-picker.tsx
371
- function Ee({ value: e, onValueChange: t, disabled: n = !1 }) {
372
- let r = g(), i = g();
373
- return /* @__PURE__ */ v("div", {
372
+ function Ae({ value: e, onValueChange: t, disabled: n = !1 }) {
373
+ let r = v(), i = v();
374
+ return /* @__PURE__ */ b("div", {
374
375
  className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
375
376
  children: [
376
- /* @__PURE__ */ v("div", {
377
+ /* @__PURE__ */ b("div", {
377
378
  className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
378
- children: [/* @__PURE__ */ _(u, {
379
+ children: [/* @__PURE__ */ y(d, {
379
380
  seed: "preview",
380
381
  appearance: e,
381
382
  size: "lg"
382
- }), /* @__PURE__ */ v("div", {
383
+ }), /* @__PURE__ */ b("div", {
383
384
  className: "x78zum5 xdt5ytf xeuugli",
384
- children: [/* @__PURE__ */ _("span", {
385
+ children: [/* @__PURE__ */ y("span", {
385
386
  className: "xbixft xtqrqnz xk4h15q x1778rvt xn80e1m",
386
387
  children: e.shape
387
- }), /* @__PURE__ */ _("span", {
388
+ }), /* @__PURE__ */ y("span", {
388
389
  className: "x153jb6y xy8obcc xas2l8k xn80e1m",
389
390
  children: e.color
390
391
  })]
391
392
  })]
392
393
  }),
393
- /* @__PURE__ */ v("div", {
394
+ /* @__PURE__ */ b("div", {
394
395
  className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
395
- children: [/* @__PURE__ */ _("span", {
396
+ children: [/* @__PURE__ */ y("span", {
396
397
  id: r,
397
398
  className: "x153jb6y xy8obcc xas2l8k xk4h15q",
398
399
  children: "Shape"
399
- }), /* @__PURE__ */ _(w, {
400
+ }), /* @__PURE__ */ y(E, {
400
401
  "aria-labelledby": r,
401
402
  value: e.shape,
402
403
  onValueChange: (n) => {
@@ -407,12 +408,12 @@ function Ee({ value: e, onValueChange: t, disabled: n = !1 }) {
407
408
  },
408
409
  disabled: n,
409
410
  className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
410
- children: o.map((t) => /* @__PURE__ */ _(C, {
411
+ children: o.map((t) => /* @__PURE__ */ y(T, {
411
412
  value: t,
412
413
  "aria-label": t,
413
414
  title: t,
414
415
  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",
415
- children: /* @__PURE__ */ _(u, {
416
+ children: /* @__PURE__ */ y(d, {
416
417
  seed: t,
417
418
  appearance: {
418
419
  ...e,
@@ -423,13 +424,13 @@ function Ee({ value: e, onValueChange: t, disabled: n = !1 }) {
423
424
  }, t))
424
425
  })]
425
426
  }),
426
- /* @__PURE__ */ v("div", {
427
+ /* @__PURE__ */ b("div", {
427
428
  className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
428
- children: [/* @__PURE__ */ _("span", {
429
+ children: [/* @__PURE__ */ y("span", {
429
430
  id: i,
430
431
  className: "x153jb6y xy8obcc xas2l8k xk4h15q",
431
432
  children: "Color"
432
- }), /* @__PURE__ */ _(w, {
433
+ }), /* @__PURE__ */ y(E, {
433
434
  "aria-labelledby": i,
434
435
  value: e.color,
435
436
  onValueChange: (n) => {
@@ -440,12 +441,12 @@ function Ee({ value: e, onValueChange: t, disabled: n = !1 }) {
440
441
  },
441
442
  disabled: n,
442
443
  className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
443
- children: l.map((t) => /* @__PURE__ */ _(C, {
444
+ children: u.map((t) => /* @__PURE__ */ y(T, {
444
445
  value: t,
445
446
  "aria-label": t,
446
447
  title: t,
447
448
  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",
448
- children: /* @__PURE__ */ _(u, {
449
+ children: /* @__PURE__ */ y(d, {
449
450
  seed: t,
450
451
  appearance: {
451
452
  ...e,
@@ -460,7 +461,7 @@ function Ee({ value: e, onValueChange: t, disabled: n = !1 }) {
460
461
  });
461
462
  }
462
463
  // packages/forms/src/form-controls.tsx
463
- var K = m("standard"), q = m("standard"), J = {
464
+ var G = g("standard"), K = g("standard"), q = {
464
465
  fieldset: {
465
466
  k1xSpc: "x78zum5",
466
467
  kXwgrk: "xdt5ytf",
@@ -551,13 +552,13 @@ var K = m("standard"), q = m("standard"), J = {
551
552
  kedk6p: "xysgshy",
552
553
  $$css: !0
553
554
  }
554
- }, De = {
555
+ }, je = {
555
556
  standard: { $$css: !0 },
556
557
  compact: {
557
558
  kg3NbH: "xbsbsya",
558
559
  $$css: !0
559
560
  }
560
- }, Y = {
561
+ }, J = {
561
562
  standard: { $$css: !0 },
562
563
  compact: {
563
564
  kLWn49: "x1p8ddxc x1fj8ryy",
@@ -565,22 +566,22 @@ var K = m("standard"), q = m("standard"), J = {
565
566
  kSflKP: "x11rbrfk xhjjd6e",
566
567
  $$css: !0
567
568
  }
568
- }, Oe = {
569
- standard: Y.standard,
570
- compact: Y.compact
569
+ }, Me = {
570
+ standard: J.standard,
571
+ compact: J.compact
571
572
  };
572
- function ke({ className: e, style: t, xstyle: n, ...r }) {
573
- return /* @__PURE__ */ _(ne, {
573
+ function Ne({ className: e, style: t, xstyle: n, ...r }) {
574
+ return /* @__PURE__ */ y(ae, {
574
575
  ...r,
575
576
  ...a({
576
577
  className: e,
577
578
  style: t,
578
- styles: f.props(J.fieldset, n)
579
+ styles: p.props(q.fieldset, n)
579
580
  })
580
581
  });
581
582
  }
582
- function Ae({ className: e, style: t, ...n }) {
583
- return /* @__PURE__ */ _(te, {
583
+ function Pe({ className: e, style: t, ...n }) {
584
+ return /* @__PURE__ */ y(ie, {
584
585
  ...n,
585
586
  ...a({
586
587
  className: e,
@@ -589,108 +590,108 @@ function Ae({ className: e, style: t, ...n }) {
589
590
  })
590
591
  });
591
592
  }
592
- function je({ density: e = "standard", className: n, style: i, xstyle: o, ...s }) {
593
- return /* @__PURE__ */ _(K, {
593
+ function Fe({ density: e = "standard", className: n, style: i, xstyle: o, ...s }) {
594
+ return /* @__PURE__ */ y(G, {
594
595
  value: e,
595
- children: /* @__PURE__ */ _(ie, {
596
+ children: /* @__PURE__ */ y(se, {
596
597
  ...s,
597
598
  ...a({
598
599
  className: n,
599
600
  style: i,
600
- styles: f.props(r.group, t[e], o)
601
+ styles: p.props(r.group, t[e], o)
601
602
  })
602
603
  })
603
604
  });
604
605
  }
605
- function Me(e) {
606
- let t = h(K);
607
- return /* @__PURE__ */ _("span", { ...E(f.props(J.addon, De[t]), e) });
606
+ function Ie(e) {
607
+ let t = _(G);
608
+ return /* @__PURE__ */ y("span", { ...ee(p.props(q.addon, je[t]), e) });
608
609
  }
609
- function Ne(e) {
610
- let t = h(K);
611
- return /* @__PURE__ */ _(d, {
610
+ function Le(e) {
611
+ let t = _(G);
612
+ return /* @__PURE__ */ y(f, {
612
613
  ...e,
613
614
  density: t,
614
615
  isEmbedded: !0
615
616
  });
616
617
  }
617
- function Pe({ density: e = "standard", className: t, style: n, xstyle: i, ...o }) {
618
- return /* @__PURE__ */ _(q, {
618
+ function Re({ density: e = "standard", className: t, style: n, xstyle: i, ...o }) {
619
+ return /* @__PURE__ */ y(K, {
619
620
  value: e,
620
- children: /* @__PURE__ */ _(ae, {
621
+ children: /* @__PURE__ */ y(ce, {
621
622
  ...o,
622
623
  ...a({
623
624
  className: t,
624
625
  style: n,
625
- styles: f.props(r.fieldRoot, i)
626
+ styles: p.props(r.fieldRoot, i)
626
627
  })
627
628
  })
628
629
  });
629
630
  }
630
- function Fe({ className: e, style: n, ...i }) {
631
- let o = h(q);
632
- return /* @__PURE__ */ _(ce, {
631
+ function ze({ className: e, style: n, ...i }) {
632
+ let o = _(K);
633
+ return /* @__PURE__ */ y(de, {
633
634
  ...i,
634
635
  ...a({
635
636
  className: e,
636
637
  style: n,
637
- styles: f.props(r.group, t[o])
638
+ styles: p.props(r.group, t[o])
638
639
  })
639
640
  });
640
641
  }
641
- function Ie({ className: t, style: i, ...o }) {
642
- let s = h(q);
643
- return /* @__PURE__ */ _(oe, {
642
+ function Be({ className: t, style: i, ...o }) {
643
+ let s = _(K);
644
+ return /* @__PURE__ */ y(le, {
644
645
  ...o,
645
646
  ...a({
646
647
  className: t,
647
648
  style: i,
648
- styles: f.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, J.numberInput)
649
+ styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[s], e[s], r.embedded, q.numberInput)
649
650
  })
650
651
  });
651
652
  }
652
- function Le({ children: e = "+", "aria-label": t = "Increase", className: n, style: r, ...o }) {
653
- let s = h(q);
654
- return /* @__PURE__ */ _(k, {
653
+ function Ve({ children: e = "+", "aria-label": t = "Increase", className: n, style: r, ...o }) {
654
+ let s = _(K);
655
+ return /* @__PURE__ */ y(fe, {
655
656
  ...o,
656
657
  "aria-label": t,
657
658
  ...a({
658
659
  className: n,
659
660
  style: r,
660
- styles: f.props(i[s], J.stepper)
661
+ styles: p.props(i[s], q.stepper)
661
662
  }),
662
663
  children: e
663
664
  });
664
665
  }
665
- function Re({ children: e = "−", "aria-label": t = "Decrease", className: n, style: r, ...o }) {
666
- let s = h(q);
667
- return /* @__PURE__ */ _(se, {
666
+ function He({ children: e = "−", "aria-label": t = "Decrease", className: n, style: r, ...o }) {
667
+ let s = _(K);
668
+ return /* @__PURE__ */ y(ue, {
668
669
  ...o,
669
670
  "aria-label": t,
670
671
  ...a({
671
672
  className: n,
672
673
  style: r,
673
- styles: f.props(i[s], J.stepper)
674
+ styles: p.props(i[s], q.stepper)
674
675
  }),
675
676
  children: e
676
677
  });
677
678
  }
678
- function ze({ className: e, style: t, xstyle: n, ...r }) {
679
- let i = re(), o = /* @__PURE__ */ _(A, {
679
+ function Ue({ className: e, style: t, xstyle: n, ...r }) {
680
+ let i = oe(), o = /* @__PURE__ */ y(O, {
680
681
  ...r,
681
682
  ...a({
682
683
  className: e,
683
684
  style: t,
684
- styles: f.props(J.slider, n)
685
+ styles: p.props(q.slider, n)
685
686
  })
686
687
  });
687
- return i === null ? /* @__PURE__ */ _(D, {
688
+ return i === null ? /* @__PURE__ */ y(te, {
688
689
  className: "xjp7ctv",
689
690
  children: o
690
691
  }) : o;
691
692
  }
692
- function Be({ className: e, style: t, ...n }) {
693
- return /* @__PURE__ */ _(j, {
693
+ function We({ className: e, style: t, ...n }) {
694
+ return /* @__PURE__ */ y(k, {
694
695
  ...n,
695
696
  ...a({
696
697
  className: e,
@@ -699,8 +700,8 @@ function Be({ className: e, style: t, ...n }) {
699
700
  })
700
701
  });
701
702
  }
702
- function Ve({ className: e, style: t, ...n }) {
703
- return /* @__PURE__ */ _(P, {
703
+ function Ge({ className: e, style: t, ...n }) {
704
+ return /* @__PURE__ */ y(M, {
704
705
  ...n,
705
706
  ...a({
706
707
  className: e,
@@ -709,8 +710,8 @@ function Ve({ className: e, style: t, ...n }) {
709
710
  })
710
711
  });
711
712
  }
712
- function He({ className: e, style: t, ...n }) {
713
- return /* @__PURE__ */ _(M, {
713
+ function Ke({ className: e, style: t, ...n }) {
714
+ return /* @__PURE__ */ y(A, {
714
715
  ...n,
715
716
  ...a({
716
717
  className: e,
@@ -719,8 +720,8 @@ function He({ className: e, style: t, ...n }) {
719
720
  })
720
721
  });
721
722
  }
722
- function Ue({ className: e, style: t, ...n }) {
723
- return /* @__PURE__ */ _(N, {
723
+ function qe({ className: e, style: t, ...n }) {
724
+ return /* @__PURE__ */ y(j, {
724
725
  ...n,
725
726
  ...a({
726
727
  className: e,
@@ -729,18 +730,18 @@ function Ue({ className: e, style: t, ...n }) {
729
730
  })
730
731
  });
731
732
  }
732
- function We({ className: e, style: t, ...n }) {
733
- return /* @__PURE__ */ _(ee, {
733
+ function Je({ className: e, style: t, ...n }) {
734
+ return /* @__PURE__ */ y(re, {
734
735
  ...n,
735
736
  ...a({
736
737
  className: e,
737
738
  style: t,
738
- styles: f.props(r.label)
739
+ styles: p.props(r.label)
739
740
  })
740
741
  });
741
742
  }
742
- function Ge({ className: e, style: t, ...n }) {
743
- return /* @__PURE__ */ _(F, {
743
+ function Ye({ className: e, style: t, ...n }) {
744
+ return /* @__PURE__ */ y(N, {
744
745
  ...n,
745
746
  ...a({
746
747
  className: e,
@@ -749,39 +750,39 @@ function Ge({ className: e, style: t, ...n }) {
749
750
  })
750
751
  });
751
752
  }
752
- function Ke({ density: t = "standard", className: i, style: o, xstyle: s, ...c }) {
753
- return /* @__PURE__ */ _(O, {
753
+ function Xe({ density: t = "standard", className: i, style: o, xstyle: s, ...c }) {
754
+ return /* @__PURE__ */ y(ne, {
754
755
  ...c,
755
756
  type: "file",
756
757
  ...a({
757
758
  className: i,
758
759
  style: o,
759
- styles: f.props(r.base, r.field, r.singleLineField, r.textFieldState, n[t], e[t], J.file, Oe[t], s)
760
+ styles: p.props(r.base, r.field, r.singleLineField, r.textFieldState, n[t], e[t], q.file, Me[t], s)
760
761
  })
761
762
  });
762
763
  }
763
- var qe = {
764
- Root: ke,
765
- Legend: Ae
766
- }, Je = {
767
- Root: je,
768
- Addon: Me,
769
- Input: Ne
770
- }, Ye = {
771
- Root: Pe,
772
- Group: Fe,
773
- Input: Ie,
774
- Increment: Le,
775
- Decrement: Re
776
- }, Xe = {
777
- Root: ze,
778
- Label: We,
779
- Value: Ge,
780
- Control: Be,
781
- Track: Ve,
782
- Indicator: He,
783
- Thumb: Ue
784
- }, X = {
764
+ var Ze = {
765
+ Root: Ne,
766
+ Legend: Pe
767
+ }, Qe = {
768
+ Root: Fe,
769
+ Addon: Ie,
770
+ Input: Le
771
+ }, $e = {
772
+ Root: Re,
773
+ Group: ze,
774
+ Input: Be,
775
+ Increment: Ve,
776
+ Decrement: He
777
+ }, et = {
778
+ Root: Ue,
779
+ Label: Je,
780
+ Value: Ye,
781
+ Control: We,
782
+ Track: Ge,
783
+ Indicator: Ke,
784
+ Thumb: qe
785
+ }, Y = {
785
786
  root: {
786
787
  k1xSpc: "x78zum5",
787
788
  kwnvtZ: "x1a02dak",
@@ -797,7 +798,7 @@ var qe = {
797
798
  kLZC3w: "xhjagg4",
798
799
  $$css: !0
799
800
  }
800
- }, Ze = {
801
+ }, tt = {
801
802
  start: {
802
803
  kjj79g: "x1nhvcw1",
803
804
  $$css: !0
@@ -807,100 +808,133 @@ var qe = {
807
808
  $$css: !0
808
809
  }
809
810
  };
810
- function Qe({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
811
- return /* @__PURE__ */ _("div", {
812
- ...f.props(X.root, Ze[t], n && X.separated, r),
811
+ function nt({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
812
+ return /* @__PURE__ */ y("div", {
813
+ ...p.props(Y.root, tt[t], n && Y.separated, r),
813
814
  children: e
814
815
  });
815
816
  }
817
+ // packages/forms/src/form-status.tsx
818
+ function X({ status: e, message: t }) {
819
+ return {
820
+ status: e,
821
+ message: t
822
+ };
823
+ }
824
+ var rt = P({
825
+ name: "form-status",
826
+ options: {
827
+ status: "string",
828
+ message: "string"
829
+ },
830
+ state: X,
831
+ sync: X,
832
+ controlled: ["status", "message"],
833
+ api: () => ({}),
834
+ slots: (e) => ({ root: e({}) }),
835
+ agent: { actions: [] }
836
+ }), it = m(rt, { root: "span" }), at = {
837
+ pending: "warning",
838
+ error: "negative",
839
+ success: "positive"
840
+ };
841
+ function ot({ status: e, message: t }) {
842
+ return /* @__PURE__ */ y(it.Root, {
843
+ status: e,
844
+ message: t,
845
+ role: e === "error" ? "alert" : "status",
846
+ render: /* @__PURE__ */ y(c, { tone: at[e] }),
847
+ children: t
848
+ });
849
+ }
816
850
  // packages/forms/src/select.tsx
817
- var $e = {
818
- outline: U.outlined,
819
- ghost: U.ghost
851
+ var st = {
852
+ outline: H.outlined,
853
+ ghost: H.ghost
820
854
  };
821
- function et(e) {
822
- return e.multiple, /* @__PURE__ */ _(I.Select, { ...e });
855
+ function ct(e) {
856
+ return e.multiple, /* @__PURE__ */ y(F.Select, { ...e });
823
857
  }
824
- function tt({ variant: e = "outline", density: t = "standard", className: o, style: s, xstyle: c, ...l }) {
825
- return /* @__PURE__ */ _(I.SelectTrigger, {
858
+ function lt({ variant: e = "outline", density: t = "standard", className: o, style: s, xstyle: c, ...l }) {
859
+ return /* @__PURE__ */ y(F.SelectTrigger, {
826
860
  ...l,
827
861
  ...a({
828
862
  className: o,
829
863
  style: s,
830
- styles: f.props(r.base, U.trigger, $e[e], n[t], i[t], c)
864
+ styles: p.props(r.base, H.trigger, st[e], n[t], i[t], c)
831
865
  })
832
866
  });
833
867
  }
834
- function nt({ className: e, style: t, xstyle: n, ...r }) {
835
- return /* @__PURE__ */ _(I.SelectValue, {
868
+ function ut({ className: e, style: t, xstyle: n, ...r }) {
869
+ return /* @__PURE__ */ y(F.SelectValue, {
836
870
  ...r,
837
871
  ...a({
838
872
  className: e,
839
873
  style: t,
840
- styles: f.props(U.value, n)
874
+ styles: p.props(H.value, n)
841
875
  })
842
876
  });
843
877
  }
844
- function rt(e) {
845
- return /* @__PURE__ */ _("span", {
878
+ function dt(e) {
879
+ return /* @__PURE__ */ y("span", {
846
880
  "aria-hidden": !0,
847
- ...p(f.props(U.icon), e)
881
+ ...h(p.props(H.icon), e)
848
882
  });
849
883
  }
850
- function it({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
851
- return /* @__PURE__ */ _(I.SelectContent, {
884
+ function ft({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
885
+ return /* @__PURE__ */ y(F.SelectContent, {
852
886
  ...i,
853
887
  sideOffset: r,
854
888
  ...a({
855
889
  className: t,
856
890
  style: n,
857
- styles: f.props(U.popup, U.positioner, e)
891
+ styles: p.props(H.popup, H.positioner, e)
858
892
  })
859
893
  });
860
894
  }
861
- function at({ className: e, style: t, ...n }) {
862
- return /* @__PURE__ */ _(I.SelectItem, {
895
+ function pt({ className: e, style: t, ...n }) {
896
+ return /* @__PURE__ */ y(F.SelectItem, {
863
897
  ...n,
864
898
  ...a({
865
899
  className: e,
866
900
  style: t,
867
- styles: f.props(U.option)
901
+ styles: p.props(H.option)
868
902
  })
869
903
  });
870
904
  }
871
- function ot({ className: e, style: t, ...n }) {
872
- return /* @__PURE__ */ _(I.SelectItemText, {
905
+ function mt({ className: e, style: t, ...n }) {
906
+ return /* @__PURE__ */ y(F.SelectItemText, {
873
907
  ...n,
874
908
  ...a({
875
909
  className: e,
876
910
  style: t,
877
- styles: f.props(U.optionText)
911
+ styles: p.props(H.optionText)
878
912
  })
879
913
  });
880
914
  }
881
- function st({ className: e, style: t, ...n }) {
882
- return /* @__PURE__ */ _(I.SelectItemIndicator, {
915
+ function ht({ className: e, style: t, ...n }) {
916
+ return /* @__PURE__ */ y(F.SelectItemIndicator, {
883
917
  ...n,
884
918
  ...a({
885
919
  className: e,
886
920
  style: t,
887
- styles: f.props(U.icon)
921
+ styles: p.props(H.icon)
888
922
  })
889
923
  });
890
924
  }
891
925
  var Z = {
892
- Root: et,
893
- Trigger: tt,
894
- Value: nt,
895
- Icon: rt,
896
- Popup: it,
897
- List: I.SelectList,
898
- Item: at,
899
- ItemText: ot,
900
- ItemIndicator: st
926
+ Root: ct,
927
+ Trigger: lt,
928
+ Value: ut,
929
+ Icon: dt,
930
+ Popup: ft,
931
+ List: F.SelectList,
932
+ Item: pt,
933
+ ItemText: mt,
934
+ ItemIndicator: ht
901
935
  };
902
936
  // packages/forms/src/select-control.tsx
903
- function ct({ label: e, items: t, placeholder: n, align: r = "start", value: i, readOnly: a, onValueChange: o, disabled: s, id: c, name: l, form: u, required: d, autoComplete: f, ...p }) {
937
+ function gt({ label: e, items: t, placeholder: n, align: r = "start", value: i, readOnly: a, onValueChange: o, disabled: s, id: c, name: l, form: u, required: d, autoComplete: f, ...p }) {
904
938
  let m = a === !0 ? {
905
939
  value: i,
906
940
  readOnly: !0
@@ -910,7 +944,7 @@ function ct({ label: e, items: t, placeholder: n, align: r = "start", value: i,
910
944
  e === null || t.some((t) => t.value === e && t.disabled !== !0) ? o?.(e, n) : n.cancel();
911
945
  }
912
946
  };
913
- return /* @__PURE__ */ v(Z.Root, {
947
+ return /* @__PURE__ */ b(Z.Root, {
914
948
  ...m,
915
949
  items: [...t],
916
950
  ...l !== void 0 && { name: l },
@@ -918,21 +952,21 @@ function ct({ label: e, items: t, placeholder: n, align: r = "start", value: i,
918
952
  required: d ?? !1,
919
953
  ...f !== void 0 && { autoComplete: f },
920
954
  disabled: s ?? !1,
921
- children: [/* @__PURE__ */ v(Z.Trigger, {
955
+ children: [/* @__PURE__ */ b(Z.Trigger, {
922
956
  ...p,
923
957
  id: c,
924
958
  "aria-label": e,
925
959
  disabled: s ?? !1,
926
- children: [/* @__PURE__ */ _(Z.Value, { placeholder: n ?? "" }), /* @__PURE__ */ _(Z.Icon, { children: /* @__PURE__ */ _(b, {
960
+ children: [/* @__PURE__ */ y(Z.Value, { placeholder: n ?? "" }), /* @__PURE__ */ y(Z.Icon, { children: /* @__PURE__ */ y(S, {
927
961
  size: 16,
928
962
  "aria-hidden": !0
929
963
  }) })]
930
- }), /* @__PURE__ */ _(Z.Popup, {
964
+ }), /* @__PURE__ */ y(Z.Popup, {
931
965
  align: r,
932
- children: /* @__PURE__ */ _(Z.List, { children: t.map((e) => /* @__PURE__ */ v(Z.Item, {
966
+ children: /* @__PURE__ */ y(Z.List, { children: t.map((e) => /* @__PURE__ */ b(Z.Item, {
933
967
  value: e.value,
934
968
  disabled: e.disabled ?? !1,
935
- children: [/* @__PURE__ */ _(Z.ItemText, { children: e.label }), /* @__PURE__ */ _(Z.ItemIndicator, { children: /* @__PURE__ */ _(y, {
969
+ children: [/* @__PURE__ */ y(Z.ItemText, { children: e.label }), /* @__PURE__ */ y(Z.ItemIndicator, { children: /* @__PURE__ */ y(x, {
936
970
  size: 16,
937
971
  "aria-hidden": !0
938
972
  }) })]
@@ -1048,9 +1082,9 @@ var Q = {
1048
1082
  $$css: !0
1049
1083
  }
1050
1084
  };
1051
- function lt({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked: i, defaultChecked: o, onCheckedChange: s, ...c }) {
1085
+ function _t({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked: i, defaultChecked: o, onCheckedChange: s, ...c }) {
1052
1086
  let l = r ? "indeterminate" : i;
1053
- return /* @__PURE__ */ _(L, {
1087
+ return /* @__PURE__ */ y(I, {
1054
1088
  ...c,
1055
1089
  ...l !== void 0 && { checked: l },
1056
1090
  ...l === void 0 && o !== void 0 && { defaultChecked: o },
@@ -1058,12 +1092,12 @@ function lt({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked:
1058
1092
  ...a({
1059
1093
  className: e,
1060
1094
  style: t,
1061
- styles: f.props(Q.choice, n)
1095
+ styles: p.props(Q.choice, n)
1062
1096
  })
1063
1097
  });
1064
1098
  }
1065
- function ut({ children: e, className: t, style: n, ...r }) {
1066
- return /* @__PURE__ */ _(R, {
1099
+ function vt({ children: e, className: t, style: n, ...r }) {
1100
+ return /* @__PURE__ */ y(L, {
1067
1101
  ...r,
1068
1102
  ...a({
1069
1103
  className: t,
@@ -1076,8 +1110,8 @@ function ut({ children: e, className: t, style: n, ...r }) {
1076
1110
  children: e
1077
1111
  });
1078
1112
  }
1079
- function dt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1080
- return /* @__PURE__ */ _(w, {
1113
+ function yt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1114
+ return /* @__PURE__ */ y(E, {
1081
1115
  ...i,
1082
1116
  onValueChange: (e, t) => {
1083
1117
  e !== null && r?.(e, t);
@@ -1085,22 +1119,22 @@ function dt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
1085
1119
  ...a({
1086
1120
  className: e,
1087
1121
  style: t,
1088
- styles: f.props(Q.group, n)
1122
+ styles: p.props(Q.group, n)
1089
1123
  })
1090
1124
  });
1091
1125
  }
1092
- function ft({ className: e, style: t, xstyle: n, ...r }) {
1093
- return /* @__PURE__ */ _(C, {
1126
+ function $({ className: e, style: t, xstyle: n, ...r }) {
1127
+ return /* @__PURE__ */ y(T, {
1094
1128
  ...r,
1095
1129
  ...a({
1096
1130
  className: e,
1097
1131
  style: t,
1098
- styles: f.props(Q.choice, Q.radio, n)
1132
+ styles: p.props(Q.choice, Q.radio, n)
1099
1133
  })
1100
1134
  });
1101
1135
  }
1102
- function $({ className: e, style: t, ...n }) {
1103
- return /* @__PURE__ */ _(T, {
1136
+ function bt({ className: e, style: t, ...n }) {
1137
+ return /* @__PURE__ */ y(D, {
1104
1138
  ...n,
1105
1139
  ...a({
1106
1140
  className: e,
@@ -1109,18 +1143,18 @@ function $({ className: e, style: t, ...n }) {
1109
1143
  })
1110
1144
  });
1111
1145
  }
1112
- function pt({ className: e, style: t, xstyle: n, ...r }) {
1113
- return /* @__PURE__ */ _(z, {
1146
+ function xt({ className: e, style: t, xstyle: n, ...r }) {
1147
+ return /* @__PURE__ */ y(R, {
1114
1148
  ...r,
1115
1149
  ...a({
1116
1150
  className: e,
1117
1151
  style: t,
1118
- styles: f.props(Q.switch, n)
1152
+ styles: p.props(Q.switch, n)
1119
1153
  })
1120
1154
  });
1121
1155
  }
1122
- function mt({ className: e, style: t, ...n }) {
1123
- return /* @__PURE__ */ _(B, {
1156
+ function St({ className: e, style: t, ...n }) {
1157
+ return /* @__PURE__ */ y(z, {
1124
1158
  ...n,
1125
1159
  ...a({
1126
1160
  className: e,
@@ -1129,20 +1163,20 @@ function mt({ className: e, style: t, ...n }) {
1129
1163
  })
1130
1164
  });
1131
1165
  }
1132
- function ht({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o }) {
1133
- return /* @__PURE__ */ _(H, {
1166
+ function Ct({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o }) {
1167
+ return /* @__PURE__ */ y(V, {
1134
1168
  ...o,
1135
1169
  ...r !== void 0 && { value: [...r] },
1136
1170
  ...i !== void 0 && { defaultValue: [...i] },
1137
1171
  ...a({
1138
1172
  className: e,
1139
1173
  style: t,
1140
- styles: f.props(Q.toggles, n)
1174
+ styles: p.props(Q.toggles, n)
1141
1175
  })
1142
1176
  });
1143
1177
  }
1144
- function gt({ className: e, style: t, ...n }) {
1145
- return /* @__PURE__ */ _(V, {
1178
+ function wt({ className: e, style: t, ...n }) {
1179
+ return /* @__PURE__ */ y(B, {
1146
1180
  ...n,
1147
1181
  ...a({
1148
1182
  className: e,
@@ -1151,60 +1185,60 @@ function gt({ className: e, style: t, ...n }) {
1151
1185
  })
1152
1186
  });
1153
1187
  }
1154
- var _t = {
1155
- Root: lt,
1156
- Indicator: ut
1157
- }, vt = {
1158
- Root: dt,
1159
- Item: ft,
1160
- Indicator: $
1161
- }, yt = {
1162
- Root: pt,
1163
- Thumb: mt
1164
- }, bt = {
1165
- Root: ht,
1166
- Item: gt
1188
+ var Tt = {
1189
+ Root: _t,
1190
+ Indicator: vt
1191
+ }, Et = {
1192
+ Root: yt,
1193
+ Item: $,
1194
+ Indicator: bt
1195
+ }, Dt = {
1196
+ Root: xt,
1197
+ Thumb: St
1198
+ }, Ot = {
1199
+ Root: Ct,
1200
+ Item: wt
1167
1201
  };
1168
1202
  // packages/forms/src/settings-row.tsx
1169
- function xt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
1170
- let a = g(), o = `${n ?? a}-description`;
1171
- return /* @__PURE__ */ v("div", {
1203
+ function kt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
1204
+ let a = v(), o = `${n ?? a}-description`;
1205
+ return /* @__PURE__ */ b("div", {
1172
1206
  role: "group",
1173
1207
  "aria-labelledby": a,
1174
1208
  "aria-hidden": r || void 0,
1175
1209
  inert: r || void 0,
1176
1210
  className: "x12h1iku x180ayaa x78zum5 x1a02dak x6s0dn4 x1qughib xaml1ju x1ydxw8w xso031l x1q0q8m5 x1qndepd x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft",
1177
- children: [/* @__PURE__ */ v("div", {
1211
+ children: [/* @__PURE__ */ b("div", {
1178
1212
  className: "x78zum5 xdt5ytf xunmzkg xeuugli xk30mkq",
1179
- children: [/* @__PURE__ */ _("label", {
1213
+ children: [/* @__PURE__ */ y("label", {
1180
1214
  id: a,
1181
1215
  htmlFor: n,
1182
1216
  className: "xk4h15q xj0a0fe",
1183
1217
  children: e
1184
- }), t !== void 0 && /* @__PURE__ */ _("p", {
1218
+ }), t !== void 0 && /* @__PURE__ */ y("p", {
1185
1219
  id: o,
1186
1220
  className: "x1ghz6dp x153jb6y xj0a0fe",
1187
1221
  children: t
1188
1222
  })]
1189
- }), /* @__PURE__ */ _("div", {
1223
+ }), /* @__PURE__ */ y("div", {
1190
1224
  className: "xrvj5dj x6s0dn4 x1mkdm3x x1so1ns2 x2nl74q xeuugli x193iq5w x2lah0s x18ssw31",
1191
1225
  children: i
1192
1226
  })]
1193
1227
  });
1194
1228
  }
1195
1229
  // packages/forms/src/settings-section.tsx
1196
- function St({ title: e, description: t, children: n }) {
1197
- let r = g();
1198
- return /* @__PURE__ */ v("section", {
1230
+ function At({ title: e, description: t, children: n }) {
1231
+ let r = v();
1232
+ return /* @__PURE__ */ b("section", {
1199
1233
  "aria-labelledby": r,
1200
1234
  className: "xrvj5dj x1mkdm3x x1n8ia3y xeuugli",
1201
- children: [/* @__PURE__ */ v("header", {
1235
+ children: [/* @__PURE__ */ b("header", {
1202
1236
  className: "xrvj5dj xunmzkg xeuugli",
1203
- children: [/* @__PURE__ */ _(c, {
1237
+ children: [/* @__PURE__ */ y(l, {
1204
1238
  id: r,
1205
1239
  children: e
1206
- }), t !== void 0 && /* @__PURE__ */ _(s, { children: t })]
1207
- }), /* @__PURE__ */ _("div", { children: n })]
1240
+ }), t !== void 0 && /* @__PURE__ */ y(s, { children: t })]
1241
+ }), /* @__PURE__ */ y("div", { children: n })]
1208
1242
  });
1209
1243
  }
1210
- export { yt as a, Z as c, Ke as d, Je as f, Te as g, Ee as h, vt as i, Qe as l, Xe as m, xt as n, bt as o, Ye as p, _t as r, ct as s, St as t, qe as u };
1244
+ export { ke as _, Dt as a, Z as c, Ze as d, Xe as f, Ae as g, et as h, Et as i, ot as l, $e as m, kt as n, Ot as o, Qe as p, Tt as r, gt as s, At as t, nt as u };