@mechane-ai/elements 0.5.1 → 0.6.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 (37) hide show
  1. package/README.md +4 -2
  2. package/dist/ai.js +3 -3
  3. package/dist/{categorical-values-BfAEQUd0.js → categorical-values-DrTcMsSi.js} +2 -2
  4. package/dist/{chart-frame-bX0VLC_W.js → chart-frame-cfBPXmni.js} +1 -1
  5. package/dist/{chart-input--VSrlMl-.js → chart-input-hK9U0Ql0.js} +2 -2
  6. package/dist/charts/cartesian.js +203 -141
  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 +1 -1
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-BiMcfdlB.js → code-block-DSmz0jTf.js} +1 -1
  14. package/dist/collections.js +6 -6
  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-Bm-Td5wm.js → content-link-DLiDJzwq.js} +1 -1
  21. package/dist/content.js +2 -2
  22. package/dist/feedback.js +1 -1
  23. package/dist/forms/dates.js +1 -1
  24. package/dist/forms.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/layout.js +1 -1
  27. package/dist/navigation/commands.js +1 -1
  28. package/dist/packages/charts/src/cartesian/bar-chart.d.ts +1 -0
  29. package/dist/packages/forms/src/field-styles.d.ts +8 -0
  30. package/dist/packages/forms/src/form-controls.d.ts +1 -1
  31. package/dist/packages/forms/src/forms.d.ts +3 -2
  32. package/dist/{pierre-tree-LY7PGy-7.js → pierre-tree-C-eebLcZ.js} +2 -2
  33. package/dist/{src-CbJTK9oP.js → src-Daf4PUD6.js} +1 -1
  34. package/dist/{src-CjnbzSgq.js → src-DjvJJoaw.js} +167 -159
  35. package/dist/{src-CbYaLvhD.js → src-DuTmAQp5.js} +1 -0
  36. package/package.json +1 -1
  37. package/styles.css +2 -2
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./style-composition-uYlczSsB.js";
2
- import { i as t, s as n } from "./src-CbYaLvhD.js";
2
+ import { i as t, s as n } from "./src-DuTmAQp5.js";
3
3
  import { mergeProps as r } from "@base-ui/react/merge-props";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { useId as a } from "react";
@@ -14,9 +14,9 @@ import { Field as g } from "@base-ui/react/field";
14
14
  import { Select as _ } from "@base-ui/react/select";
15
15
  import { Checkbox as v } from "@base-ui/react/checkbox";
16
16
  import { Radio as y } from "@base-ui/react/radio";
17
- import { RadioGroup as b } from "@base-ui/react/radio-group";
18
- import { Switch as x } from "@base-ui/react/switch";
19
- import { Toggle as ee } from "@base-ui/react/toggle";
17
+ import { RadioGroup as ee } from "@base-ui/react/radio-group";
18
+ import { Switch as b } from "@base-ui/react/switch";
19
+ import { Toggle as x } from "@base-ui/react/toggle";
20
20
  import { ToggleGroup as te } from "@base-ui/react/toggle-group";
21
21
  // packages/forms/src/field-styles.ts
22
22
  var S = {
@@ -82,6 +82,14 @@ var S = {
82
82
  $$css: !0
83
83
  }
84
84
  }, C = {
85
+ sm: {
86
+ kAzted: "xaeotn9 xwu7q15",
87
+ k8WAf4: "x1hmw7ec",
88
+ kGuDYH: "xtqrqnz x1ue2g44",
89
+ $$css: !0
90
+ },
91
+ md: { $$css: !0 }
92
+ }, w = {
85
93
  trigger: {
86
94
  k1xSpc: "x3nfvp2",
87
95
  kB7OPa: "x9f619",
@@ -183,7 +191,7 @@ var S = {
183
191
  kHjlTd: "xj0a0fe",
184
192
  $$css: !0
185
193
  }
186
- }, w = {
194
+ }, T = {
187
195
  inputGroup: {
188
196
  kVAEAm: "x1n2onr6",
189
197
  k1xSpc: "x78zum5",
@@ -210,17 +218,17 @@ var S = {
210
218
  function ne(e) {
211
219
  return /* @__PURE__ */ o(d.Root, { ...e });
212
220
  }
213
- function T({ className: t, style: n, xstyle: r, ...a }) {
221
+ function E({ className: t, style: n, xstyle: r, ...a }) {
214
222
  return /* @__PURE__ */ o(d.InputGroup, {
215
223
  ...a,
216
224
  ...e({
217
225
  className: t,
218
226
  style: n,
219
- styles: i.props(w.inputGroup, r)
227
+ styles: i.props(T.inputGroup, r)
220
228
  })
221
229
  });
222
230
  }
223
- function E({ className: t, style: n, ...r }) {
231
+ function D({ className: t, style: n, ...r }) {
224
232
  return /* @__PURE__ */ o(d.Label, {
225
233
  ...r,
226
234
  ...e({
@@ -230,20 +238,20 @@ function E({ className: t, style: n, ...r }) {
230
238
  })
231
239
  });
232
240
  }
233
- function D(e) {
241
+ function O(e) {
234
242
  return /* @__PURE__ */ o(d.Value, { ...e });
235
243
  }
236
- function O({ className: t, style: n, ...r }) {
244
+ function k({ className: t, style: n, ...r }) {
237
245
  return /* @__PURE__ */ o(d.Input, {
238
246
  ...r,
239
247
  ...e({
240
248
  className: t,
241
249
  style: n,
242
- styles: i.props(S.input, w.input)
250
+ styles: i.props(S.input, T.input)
243
251
  })
244
252
  });
245
253
  }
246
- function k({ children: t = /* @__PURE__ */ o(l, {
254
+ function A({ children: t = /* @__PURE__ */ o(l, {
247
255
  size: 16,
248
256
  "aria-hidden": "true"
249
257
  }), "aria-label": n = "Show options", className: r, style: i, ...a }) {
@@ -258,7 +266,7 @@ function k({ children: t = /* @__PURE__ */ o(l, {
258
266
  children: t
259
267
  });
260
268
  }
261
- function A({ children: t = /* @__PURE__ */ o(u, {
269
+ function j({ children: t = /* @__PURE__ */ o(u, {
262
270
  size: 16,
263
271
  "aria-hidden": "true"
264
272
  }), "aria-label": n = "Clear selection", className: r, style: i, ...a }) {
@@ -273,28 +281,28 @@ function A({ children: t = /* @__PURE__ */ o(u, {
273
281
  children: t
274
282
  });
275
283
  }
276
- function j({ sideOffset: t = 4, className: n, style: r, xstyle: a, ...s }) {
284
+ function M({ sideOffset: t = 4, className: n, style: r, xstyle: a, ...s }) {
277
285
  return /* @__PURE__ */ o(d.Positioner, {
278
286
  ...s,
279
287
  sideOffset: t,
280
288
  ...e({
281
289
  className: n,
282
290
  style: r,
283
- styles: i.props(C.positioner, a)
291
+ styles: i.props(w.positioner, a)
284
292
  })
285
293
  });
286
294
  }
287
- function M({ className: t, style: n, ...r }) {
295
+ function N({ className: t, style: n, ...r }) {
288
296
  return /* @__PURE__ */ o(d.Popup, {
289
297
  ...r,
290
298
  ...e({
291
299
  className: t,
292
300
  style: n,
293
- styles: i.props(C.popup)
301
+ styles: i.props(w.popup)
294
302
  })
295
303
  });
296
304
  }
297
- function N({ className: t, style: n, ...r }) {
305
+ function P({ className: t, style: n, ...r }) {
298
306
  return /* @__PURE__ */ o(d.List, {
299
307
  ...r,
300
308
  ...e({
@@ -304,17 +312,17 @@ function N({ className: t, style: n, ...r }) {
304
312
  })
305
313
  });
306
314
  }
307
- function P({ className: t, style: n, ...r }) {
315
+ function F({ className: t, style: n, ...r }) {
308
316
  return /* @__PURE__ */ o(d.Item, {
309
317
  ...r,
310
318
  ...e({
311
319
  className: t,
312
320
  style: n,
313
- styles: i.props(C.option)
321
+ styles: i.props(w.option)
314
322
  })
315
323
  });
316
324
  }
317
- function F({ children: t = /* @__PURE__ */ o(c, {
325
+ function I({ children: t = /* @__PURE__ */ o(c, {
318
326
  size: 16,
319
327
  "aria-hidden": "true"
320
328
  }), className: n, style: r, ...a }) {
@@ -323,12 +331,12 @@ function F({ children: t = /* @__PURE__ */ o(c, {
323
331
  ...e({
324
332
  className: n,
325
333
  style: r,
326
- styles: i.props(C.icon)
334
+ styles: i.props(w.icon)
327
335
  }),
328
336
  children: t
329
337
  });
330
338
  }
331
- function I({ className: t, style: n, ...r }) {
339
+ function L({ className: t, style: n, ...r }) {
332
340
  return /* @__PURE__ */ o(d.Empty, {
333
341
  ...r,
334
342
  ...e({
@@ -338,7 +346,7 @@ function I({ className: t, style: n, ...r }) {
338
346
  })
339
347
  });
340
348
  }
341
- function L({ className: t, style: n, ...r }) {
349
+ function R({ className: t, style: n, ...r }) {
342
350
  return /* @__PURE__ */ o(d.Status, {
343
351
  ...r,
344
352
  ...e({
@@ -348,7 +356,7 @@ function L({ className: t, style: n, ...r }) {
348
356
  })
349
357
  });
350
358
  }
351
- function R({ className: t, style: n, ...r }) {
359
+ function z({ className: t, style: n, ...r }) {
352
360
  return /* @__PURE__ */ o(d.GroupLabel, {
353
361
  ...r,
354
362
  ...e({
@@ -358,7 +366,7 @@ function R({ className: t, style: n, ...r }) {
358
366
  })
359
367
  });
360
368
  }
361
- function z({ className: t, style: n, ...r }) {
369
+ function B({ className: t, style: n, ...r }) {
362
370
  return /* @__PURE__ */ o(d.Chips, {
363
371
  ...r,
364
372
  ...e({
@@ -368,7 +376,7 @@ function z({ className: t, style: n, ...r }) {
368
376
  })
369
377
  });
370
378
  }
371
- function B({ className: t, style: n, ...r }) {
379
+ function V({ className: t, style: n, ...r }) {
372
380
  return /* @__PURE__ */ o(d.Chip, {
373
381
  ...r,
374
382
  ...e({
@@ -378,7 +386,7 @@ function B({ className: t, style: n, ...r }) {
378
386
  })
379
387
  });
380
388
  }
381
- function V({ children: t = /* @__PURE__ */ o(u, {
389
+ function H({ children: t = /* @__PURE__ */ o(u, {
382
390
  size: 14,
383
391
  "aria-hidden": "true"
384
392
  }), className: n, style: r, ...i }) {
@@ -392,29 +400,29 @@ function V({ children: t = /* @__PURE__ */ o(u, {
392
400
  children: t
393
401
  });
394
402
  }
395
- var H = {
403
+ var U = {
396
404
  Root: ne,
397
- Label: E,
398
- InputGroup: T,
399
- Input: O,
400
- Trigger: k,
401
- Clear: A,
405
+ Label: D,
406
+ InputGroup: E,
407
+ Input: k,
408
+ Trigger: A,
409
+ Clear: j,
402
410
  Portal: d.Portal,
403
- Positioner: j,
404
- Popup: M,
405
- List: N,
406
- Item: P,
407
- ItemIndicator: F,
408
- Empty: I,
409
- Status: L,
411
+ Positioner: M,
412
+ Popup: N,
413
+ List: P,
414
+ Item: F,
415
+ ItemIndicator: I,
416
+ Empty: L,
417
+ Status: R,
410
418
  Group: d.Group,
411
- GroupLabel: R,
412
- Chips: z,
413
- Chip: B,
414
- ChipRemove: V,
415
- Value: D,
419
+ GroupLabel: z,
420
+ Chips: B,
421
+ Chip: V,
422
+ ChipRemove: H,
423
+ Value: O,
416
424
  Collection: d.Collection
417
- }, U = {
425
+ }, W = {
418
426
  fieldset: {
419
427
  k1xSpc: "x78zum5",
420
428
  kXwgrk: "xdt5ytf",
@@ -480,17 +488,17 @@ var H = {
480
488
  $$css: !0
481
489
  }
482
490
  };
483
- function W({ className: t, style: n, xstyle: r, ...a }) {
491
+ function G({ className: t, style: n, xstyle: r, ...a }) {
484
492
  return /* @__PURE__ */ o(f.Root, {
485
493
  ...a,
486
494
  ...e({
487
495
  className: t,
488
496
  style: n,
489
- styles: i.props(U.fieldset, r)
497
+ styles: i.props(W.fieldset, r)
490
498
  })
491
499
  });
492
500
  }
493
- function G({ className: t, style: n, ...r }) {
501
+ function K({ className: t, style: n, ...r }) {
494
502
  return /* @__PURE__ */ o(f.Legend, {
495
503
  ...r,
496
504
  ...e({
@@ -500,23 +508,23 @@ function G({ className: t, style: n, ...r }) {
500
508
  })
501
509
  });
502
510
  }
503
- function K({ xstyle: e, ...t }) {
504
- return /* @__PURE__ */ o("div", { ...r(i.props(U.inputGroup, e), t) });
511
+ function q({ xstyle: e, ...t }) {
512
+ return /* @__PURE__ */ o("div", { ...r(i.props(W.inputGroup, e), t) });
505
513
  }
506
- function q(e) {
514
+ function J(e) {
507
515
  return /* @__PURE__ */ o("span", { ...r({ className: "x3nfvp2 x2lah0s x6s0dn4 x1atzlso x153jb6y x1hz01jw xtqrqnz x1778rvt" }, e) });
508
516
  }
509
- function J({ className: t, style: n, xstyle: r, ...a }) {
517
+ function Y({ className: t, style: n, xstyle: r, size: a = "md", ...s }) {
510
518
  return /* @__PURE__ */ o(p, {
511
- ...a,
519
+ ...s,
512
520
  ...e({
513
521
  className: t,
514
522
  style: n,
515
- styles: i.props(S.input, U.embedded, r)
523
+ styles: i.props(S.input, C[a], W.embedded, r)
516
524
  })
517
525
  });
518
526
  }
519
- function Y({ className: t, style: n, xstyle: r, ...a }) {
527
+ function X({ className: t, style: n, xstyle: r, ...a }) {
520
528
  return /* @__PURE__ */ o(m.Root, {
521
529
  ...a,
522
530
  ...e({
@@ -526,7 +534,7 @@ function Y({ className: t, style: n, xstyle: r, ...a }) {
526
534
  })
527
535
  });
528
536
  }
529
- function X({ className: t, style: n, ...r }) {
537
+ function Z({ className: t, style: n, ...r }) {
530
538
  return /* @__PURE__ */ o(m.Group, {
531
539
  ...r,
532
540
  ...e({
@@ -536,17 +544,17 @@ function X({ className: t, style: n, ...r }) {
536
544
  })
537
545
  });
538
546
  }
539
- function Z({ className: t, style: n, ...r }) {
547
+ function re({ className: t, style: n, ...r }) {
540
548
  return /* @__PURE__ */ o(m.Input, {
541
549
  ...r,
542
550
  ...e({
543
551
  className: t,
544
552
  style: n,
545
- styles: i.props(S.input, U.embedded, U.numberInput)
553
+ styles: i.props(S.input, W.embedded, W.numberInput)
546
554
  })
547
555
  });
548
556
  }
549
- function re({ children: t = "+", "aria-label": n = "Increase", className: r, style: i, ...a }) {
557
+ function ie({ children: t = "+", "aria-label": n = "Increase", className: r, style: i, ...a }) {
550
558
  return /* @__PURE__ */ o(m.Increment, {
551
559
  ...a,
552
560
  "aria-label": n,
@@ -558,7 +566,7 @@ function re({ children: t = "+", "aria-label": n = "Increase", className: r, sty
558
566
  children: t
559
567
  });
560
568
  }
561
- function ie({ children: t = "−", "aria-label": n = "Decrease", className: r, style: i, ...a }) {
569
+ function ae({ children: t = "−", "aria-label": n = "Decrease", className: r, style: i, ...a }) {
562
570
  return /* @__PURE__ */ o(m.Decrement, {
563
571
  ...a,
564
572
  "aria-label": n,
@@ -570,17 +578,17 @@ function ie({ children: t = "−", "aria-label": n = "Decrease", className: r, s
570
578
  children: t
571
579
  });
572
580
  }
573
- function ae({ className: t, style: n, xstyle: r, ...a }) {
581
+ function oe({ className: t, style: n, xstyle: r, ...a }) {
574
582
  return /* @__PURE__ */ o(h.Root, {
575
583
  ...a,
576
584
  ...e({
577
585
  className: t,
578
586
  style: n,
579
- styles: i.props(U.slider, r)
587
+ styles: i.props(W.slider, r)
580
588
  })
581
589
  });
582
590
  }
583
- function oe({ className: t, style: n, ...r }) {
591
+ function se({ className: t, style: n, ...r }) {
584
592
  return /* @__PURE__ */ o(h.Control, {
585
593
  ...r,
586
594
  ...e({
@@ -590,7 +598,7 @@ function oe({ className: t, style: n, ...r }) {
590
598
  })
591
599
  });
592
600
  }
593
- function se({ className: t, style: n, ...r }) {
601
+ function ce({ className: t, style: n, ...r }) {
594
602
  return /* @__PURE__ */ o(h.Track, {
595
603
  ...r,
596
604
  ...e({
@@ -600,7 +608,7 @@ function se({ className: t, style: n, ...r }) {
600
608
  })
601
609
  });
602
610
  }
603
- function ce({ className: t, style: n, ...r }) {
611
+ function le({ className: t, style: n, ...r }) {
604
612
  return /* @__PURE__ */ o(h.Indicator, {
605
613
  ...r,
606
614
  ...e({
@@ -610,7 +618,7 @@ function ce({ className: t, style: n, ...r }) {
610
618
  })
611
619
  });
612
620
  }
613
- function le({ className: t, style: n, ...r }) {
621
+ function ue({ className: t, style: n, ...r }) {
614
622
  return /* @__PURE__ */ o(h.Thumb, {
615
623
  ...r,
616
624
  ...e({
@@ -620,7 +628,7 @@ function le({ className: t, style: n, ...r }) {
620
628
  })
621
629
  });
622
630
  }
623
- function ue({ className: t, style: n, ...r }) {
631
+ function de({ className: t, style: n, ...r }) {
624
632
  return /* @__PURE__ */ o(h.Label, {
625
633
  ...r,
626
634
  ...e({
@@ -630,7 +638,7 @@ function ue({ className: t, style: n, ...r }) {
630
638
  })
631
639
  });
632
640
  }
633
- function de({ className: t, style: n, ...r }) {
641
+ function fe({ className: t, style: n, ...r }) {
634
642
  return /* @__PURE__ */ o(h.Value, {
635
643
  ...r,
636
644
  ...e({
@@ -640,41 +648,41 @@ function de({ className: t, style: n, ...r }) {
640
648
  })
641
649
  });
642
650
  }
643
- function fe({ className: t, style: n, xstyle: r, ...a }) {
651
+ function pe({ className: t, style: n, xstyle: r, ...a }) {
644
652
  return /* @__PURE__ */ o(p, {
645
653
  ...a,
646
654
  type: "file",
647
655
  ...e({
648
656
  className: t,
649
657
  style: n,
650
- styles: i.props(S.input, U.file, r)
658
+ styles: i.props(S.input, W.file, r)
651
659
  })
652
660
  });
653
661
  }
654
- var pe = {
655
- Root: W,
656
- Legend: G
657
- }, me = {
658
- Root: K,
659
- Addon: q,
660
- Input: J
662
+ var me = {
663
+ Root: G,
664
+ Legend: K
661
665
  }, he = {
662
- Root: Y,
663
- Group: X,
664
- Input: Z,
665
- Increment: re,
666
- Decrement: ie
666
+ Root: q,
667
+ Addon: J,
668
+ Input: Y
667
669
  }, ge = {
668
- Root: ae,
669
- Label: ue,
670
- Value: de,
671
- Control: oe,
672
- Track: se,
673
- Indicator: ce,
674
- Thumb: le
670
+ Root: X,
671
+ Group: Z,
672
+ Input: re,
673
+ Increment: ie,
674
+ Decrement: ae
675
+ }, _e = {
676
+ Root: oe,
677
+ Label: de,
678
+ Value: fe,
679
+ Control: se,
680
+ Track: ce,
681
+ Indicator: le,
682
+ Thumb: ue
675
683
  };
676
684
  // packages/forms/src/forms.tsx
677
- function _e({ className: t, style: n, xstyle: r, ...a }) {
685
+ function ve({ className: t, style: n, xstyle: r, ...a }) {
678
686
  return /* @__PURE__ */ o(g.Root, {
679
687
  ...a,
680
688
  ...e({
@@ -684,7 +692,7 @@ function _e({ className: t, style: n, xstyle: r, ...a }) {
684
692
  })
685
693
  });
686
694
  }
687
- function ve({ className: t, style: n, ...r }) {
695
+ function ye({ className: t, style: n, ...r }) {
688
696
  return /* @__PURE__ */ o(g.Label, {
689
697
  ...r,
690
698
  ...e({
@@ -694,7 +702,7 @@ function ve({ className: t, style: n, ...r }) {
694
702
  })
695
703
  });
696
704
  }
697
- function ye({ className: t, style: n, ...r }) {
705
+ function be({ className: t, style: n, ...r }) {
698
706
  return /* @__PURE__ */ o(g.Description, {
699
707
  ...r,
700
708
  ...e({
@@ -704,7 +712,7 @@ function ye({ className: t, style: n, ...r }) {
704
712
  })
705
713
  });
706
714
  }
707
- function be({ className: t, style: n, ...r }) {
715
+ function xe({ className: t, style: n, ...r }) {
708
716
  return /* @__PURE__ */ o(g.Error, {
709
717
  ...r,
710
718
  ...e({
@@ -714,23 +722,23 @@ function be({ className: t, style: n, ...r }) {
714
722
  })
715
723
  });
716
724
  }
717
- var xe = {
718
- Root: _e,
719
- Label: ve,
720
- Description: ye,
721
- Error: be
725
+ var Se = {
726
+ Root: ve,
727
+ Label: ye,
728
+ Description: be,
729
+ Error: xe
722
730
  };
723
- function Se({ className: t, style: n, xstyle: r, ...a }) {
731
+ function Ce({ className: t, style: n, xstyle: r, size: a = "md", ...s }) {
724
732
  return /* @__PURE__ */ o(p, {
725
- ...a,
733
+ ...s,
726
734
  ...e({
727
735
  className: t,
728
736
  style: n,
729
- styles: i.props(S.input, r)
737
+ styles: i.props(S.input, C[a], r)
730
738
  })
731
739
  });
732
740
  }
733
- function Ce({ value: t, defaultValue: n, onValueChange: r, name: a, disabled: s, readOnly: c, required: l, className: u, style: d, xstyle: f, ...p }) {
741
+ function we({ value: t, defaultValue: n, onValueChange: r, name: a, disabled: s, readOnly: c, required: l, className: u, style: d, xstyle: f, ...p }) {
734
742
  return /* @__PURE__ */ o(g.Control, {
735
743
  value: t,
736
744
  defaultValue: n,
@@ -748,44 +756,44 @@ function Ce({ value: t, defaultValue: n, onValueChange: r, name: a, disabled: s,
748
756
  });
749
757
  }
750
758
  // packages/forms/src/select.tsx
751
- var we = {
752
- outline: C.outlined,
753
- ghost: C.ghost
759
+ var Te = {
760
+ outline: w.outlined,
761
+ ghost: w.ghost
754
762
  };
755
- function Te(e) {
763
+ function Ee(e) {
756
764
  return /* @__PURE__ */ o(_.Root, { ...e });
757
765
  }
758
- function Ee({ variant: t = "outline", className: n, style: r, xstyle: a, ...s }) {
766
+ function De({ variant: t = "outline", className: n, style: r, xstyle: a, ...s }) {
759
767
  return /* @__PURE__ */ o(_.Trigger, {
760
768
  ...s,
761
769
  ...e({
762
770
  className: n,
763
771
  style: r,
764
- styles: i.props(C.trigger, we[t], a)
772
+ styles: i.props(w.trigger, Te[t], a)
765
773
  })
766
774
  });
767
775
  }
768
- function De({ className: t, style: n, xstyle: r, ...a }) {
776
+ function Oe({ className: t, style: n, xstyle: r, ...a }) {
769
777
  return /* @__PURE__ */ o(_.Value, {
770
778
  ...a,
771
779
  ...e({
772
780
  className: t,
773
781
  style: n,
774
- styles: i.props(C.value, r)
782
+ styles: i.props(w.value, r)
775
783
  })
776
784
  });
777
785
  }
778
- function Oe({ className: t, style: n, ...r }) {
786
+ function ke({ className: t, style: n, ...r }) {
779
787
  return /* @__PURE__ */ o(_.Icon, {
780
788
  ...r,
781
789
  ...e({
782
790
  className: t,
783
791
  style: n,
784
- styles: i.props(C.icon)
792
+ styles: i.props(w.icon)
785
793
  })
786
794
  });
787
795
  }
788
- function ke({ className: t, style: n, xstyle: r, sideOffset: a = 4, alignItemWithTrigger: s = !1, ...c }) {
796
+ function Ae({ className: t, style: n, xstyle: r, sideOffset: a = 4, alignItemWithTrigger: s = !1, ...c }) {
789
797
  return /* @__PURE__ */ o(_.Positioner, {
790
798
  ...c,
791
799
  sideOffset: a,
@@ -793,62 +801,62 @@ function ke({ className: t, style: n, xstyle: r, sideOffset: a = 4, alignItemWit
793
801
  ...e({
794
802
  className: t,
795
803
  style: n,
796
- styles: i.props(C.positioner, r)
804
+ styles: i.props(w.positioner, r)
797
805
  })
798
806
  });
799
807
  }
800
- function Ae({ className: t, style: n, ...r }) {
808
+ function je({ className: t, style: n, ...r }) {
801
809
  return /* @__PURE__ */ o(_.Popup, {
802
810
  ...r,
803
811
  ...e({
804
812
  className: t,
805
813
  style: n,
806
- styles: i.props(C.popup)
814
+ styles: i.props(w.popup)
807
815
  })
808
816
  });
809
817
  }
810
- function je({ className: t, style: n, ...r }) {
818
+ function Me({ className: t, style: n, ...r }) {
811
819
  return /* @__PURE__ */ o(_.Item, {
812
820
  ...r,
813
821
  ...e({
814
822
  className: t,
815
823
  style: n,
816
- styles: i.props(C.option)
824
+ styles: i.props(w.option)
817
825
  })
818
826
  });
819
827
  }
820
- function Me({ className: t, style: n, ...r }) {
828
+ function Ne({ className: t, style: n, ...r }) {
821
829
  return /* @__PURE__ */ o(_.ItemText, {
822
830
  ...r,
823
831
  ...e({
824
832
  className: t,
825
833
  style: n,
826
- styles: i.props(C.optionText)
834
+ styles: i.props(w.optionText)
827
835
  })
828
836
  });
829
837
  }
830
- function Ne({ className: t, style: n, ...r }) {
838
+ function Pe({ className: t, style: n, ...r }) {
831
839
  return /* @__PURE__ */ o(_.ItemIndicator, {
832
840
  ...r,
833
841
  ...e({
834
842
  className: t,
835
843
  style: n,
836
- styles: i.props(C.icon)
844
+ styles: i.props(w.icon)
837
845
  })
838
846
  });
839
847
  }
840
- var Pe = {
841
- Root: Te,
842
- Trigger: Ee,
843
- Value: De,
844
- Icon: Oe,
848
+ var Fe = {
849
+ Root: Ee,
850
+ Trigger: De,
851
+ Value: Oe,
852
+ Icon: ke,
845
853
  Portal: _.Portal,
846
- Positioner: ke,
847
- Popup: Ae,
854
+ Positioner: Ae,
855
+ Popup: je,
848
856
  List: _.List,
849
- Item: je,
850
- ItemText: Me,
851
- ItemIndicator: Ne
857
+ Item: Me,
858
+ ItemText: Ne,
859
+ ItemIndicator: Pe
852
860
  }, Q = {
853
861
  choice: {
854
862
  kVAEAm: "x1n2onr6",
@@ -943,7 +951,7 @@ var Pe = {
943
951
  $$css: !0
944
952
  }
945
953
  };
946
- function $({ className: t, style: n, xstyle: r, ...a }) {
954
+ function Ie({ className: t, style: n, xstyle: r, ...a }) {
947
955
  return /* @__PURE__ */ o(v.Root, {
948
956
  ...a,
949
957
  ...e({
@@ -953,7 +961,7 @@ function $({ className: t, style: n, xstyle: r, ...a }) {
953
961
  })
954
962
  });
955
963
  }
956
- function Fe({ children: t, className: n, style: r, ...i }) {
964
+ function Le({ children: t, className: n, style: r, ...i }) {
957
965
  return /* @__PURE__ */ o(v.Indicator, {
958
966
  ...i,
959
967
  ...e({
@@ -967,8 +975,8 @@ function Fe({ children: t, className: n, style: r, ...i }) {
967
975
  children: t
968
976
  });
969
977
  }
970
- function Ie({ className: t, style: n, xstyle: r, ...a }) {
971
- return /* @__PURE__ */ o(b, {
978
+ function Re({ className: t, style: n, xstyle: r, ...a }) {
979
+ return /* @__PURE__ */ o(ee, {
972
980
  ...a,
973
981
  ...e({
974
982
  className: t,
@@ -977,7 +985,7 @@ function Ie({ className: t, style: n, xstyle: r, ...a }) {
977
985
  })
978
986
  });
979
987
  }
980
- function Le({ className: t, style: n, xstyle: r, ...a }) {
988
+ function ze({ className: t, style: n, xstyle: r, ...a }) {
981
989
  return /* @__PURE__ */ o(y.Root, {
982
990
  ...a,
983
991
  ...e({
@@ -987,7 +995,7 @@ function Le({ className: t, style: n, xstyle: r, ...a }) {
987
995
  })
988
996
  });
989
997
  }
990
- function Re({ className: t, style: n, ...r }) {
998
+ function Be({ className: t, style: n, ...r }) {
991
999
  return /* @__PURE__ */ o(y.Indicator, {
992
1000
  ...r,
993
1001
  ...e({
@@ -997,8 +1005,8 @@ function Re({ className: t, style: n, ...r }) {
997
1005
  })
998
1006
  });
999
1007
  }
1000
- function ze({ className: t, style: n, xstyle: r, ...a }) {
1001
- return /* @__PURE__ */ o(x.Root, {
1008
+ function Ve({ className: t, style: n, xstyle: r, ...a }) {
1009
+ return /* @__PURE__ */ o(b.Root, {
1002
1010
  ...a,
1003
1011
  ...e({
1004
1012
  className: t,
@@ -1007,8 +1015,8 @@ function ze({ className: t, style: n, xstyle: r, ...a }) {
1007
1015
  })
1008
1016
  });
1009
1017
  }
1010
- function Be({ className: t, style: n, ...r }) {
1011
- return /* @__PURE__ */ o(x.Thumb, {
1018
+ function $({ className: t, style: n, ...r }) {
1019
+ return /* @__PURE__ */ o(b.Thumb, {
1012
1020
  ...r,
1013
1021
  ...e({
1014
1022
  className: t,
@@ -1017,7 +1025,7 @@ function Be({ className: t, style: n, ...r }) {
1017
1025
  })
1018
1026
  });
1019
1027
  }
1020
- function Ve({ className: t, style: n, xstyle: r, ...a }) {
1028
+ function He({ className: t, style: n, xstyle: r, ...a }) {
1021
1029
  return /* @__PURE__ */ o(te, {
1022
1030
  ...a,
1023
1031
  ...e({
@@ -1027,8 +1035,8 @@ function Ve({ className: t, style: n, xstyle: r, ...a }) {
1027
1035
  })
1028
1036
  });
1029
1037
  }
1030
- function He({ className: t, style: n, ...r }) {
1031
- return /* @__PURE__ */ o(ee, {
1038
+ function Ue({ className: t, style: n, ...r }) {
1039
+ return /* @__PURE__ */ o(x, {
1032
1040
  ...r,
1033
1041
  ...e({
1034
1042
  className: t,
@@ -1037,22 +1045,22 @@ function He({ className: t, style: n, ...r }) {
1037
1045
  })
1038
1046
  });
1039
1047
  }
1040
- var Ue = {
1041
- Root: $,
1042
- Indicator: Fe
1043
- }, We = {
1048
+ var We = {
1044
1049
  Root: Ie,
1045
- Item: Le,
1046
- Indicator: Re
1050
+ Indicator: Le
1047
1051
  }, Ge = {
1048
- Root: ze,
1049
- Thumb: Be
1052
+ Root: Re,
1053
+ Item: ze,
1054
+ Indicator: Be
1050
1055
  }, Ke = {
1051
1056
  Root: Ve,
1052
- Item: He
1057
+ Thumb: $
1058
+ }, qe = {
1059
+ Root: He,
1060
+ Item: Ue
1053
1061
  };
1054
1062
  // packages/forms/src/settings-row.tsx
1055
- function qe({ label: e, description: t, controlId: n, children: r }) {
1063
+ function Je({ label: e, description: t, controlId: n, children: r }) {
1056
1064
  let i = a();
1057
1065
  return /* @__PURE__ */ s("div", {
1058
1066
  role: "group",
@@ -1077,7 +1085,7 @@ function qe({ label: e, description: t, controlId: n, children: r }) {
1077
1085
  });
1078
1086
  }
1079
1087
  // packages/forms/src/settings-section.tsx
1080
- function Je({ title: e, description: r, children: i }) {
1088
+ function Ye({ title: e, description: r, children: i }) {
1081
1089
  let c = a();
1082
1090
  return /* @__PURE__ */ s("section", {
1083
1091
  "aria-labelledby": c,
@@ -1091,4 +1099,4 @@ function Je({ title: e, description: r, children: i }) {
1091
1099
  }), /* @__PURE__ */ o("div", { children: i })]
1092
1100
  });
1093
1101
  }
1094
- export { Ge as a, xe as c, pe as d, fe as f, H as g, ge as h, We as i, Se as l, he as m, qe as n, Ke as o, me as p, Ue as r, Pe as s, Je as t, Ce as u };
1102
+ export { Ke as a, Se as c, me as d, pe as f, U as g, _e as h, Ge as i, Ce as l, ge as m, Je as n, qe as o, he as p, We as r, Fe as s, Ye as t, we as u };