@mechane-ai/elements 0.31.0 → 0.32.1

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 (53) hide show
  1. package/dist/ai.js +19 -19
  2. package/dist/{categorical-values-Cfn6nwHi.js → categorical-values-Devj1xYe.js} +2 -2
  3. package/dist/{chart-frame-C8JU2tlM.js → chart-frame-DepdezdL.js} +91 -61
  4. package/dist/{chart-input-D0hBpH1r.js → chart-input-8sNm47Rp.js} +2 -2
  5. package/dist/charts/cartesian.js +8 -8
  6. package/dist/charts/distribution.js +2 -2
  7. package/dist/charts/graph.js +2 -2
  8. package/dist/charts/hierarchy.js +3 -3
  9. package/dist/charts/matrix.js +3 -3
  10. package/dist/charts/timeline.js +3 -3
  11. package/dist/charts.js +1 -1
  12. package/dist/{code-block-DlzYynjv.js → code-block-B_qJ1JJ3.js} +3 -3
  13. package/dist/collections.js +8 -8
  14. package/dist/content/code.js +1 -1
  15. package/dist/content/diff.js +3 -3
  16. package/dist/content/link.js +1 -1
  17. package/dist/content/markdown.js +2 -2
  18. package/dist/content/tree.js +2 -2
  19. package/dist/{content-link-Dh1hon1m.js → content-link-BtaiSKk8.js} +1 -1
  20. package/dist/content.js +1 -1
  21. package/dist/elements.css +56 -0
  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 +16 -16
  27. package/dist/navigation/commands.js +1 -1
  28. package/dist/packages/charts/src/chart-frame.d.ts +6 -4
  29. package/dist/packages/charts/src/chart-heading.d.ts +9 -0
  30. package/dist/packages/core/src/actions.d.ts +6 -2
  31. package/dist/packages/core/src/index.d.ts +1 -0
  32. package/dist/packages/feedback/src/control-placeholders.d.ts +11 -4
  33. package/dist/packages/forms/src/combobox.d.ts +5 -2
  34. package/dist/packages/forms/src/form-controls.d.ts +9 -4
  35. package/dist/packages/forms/src/forms.d.ts +3 -1
  36. package/dist/packages/forms/src/select.d.ts +3 -1
  37. package/dist/packages/foundations/src/control-density.d.ts +1 -0
  38. package/dist/packages/foundations/src/control-styles.d.ts +33 -1
  39. package/dist/packages/foundations/src/header-styles.d.ts +38 -0
  40. package/dist/packages/foundations/src/tokens.d.ts +1 -1
  41. package/dist/packages/foundations/src/tokens.stylex.d.ts +7 -0
  42. package/dist/{pierre-diff-DOkqEUqx.js → pierre-diff-CaPsfQRo.js} +1 -1
  43. package/dist/{pierre-theme-DsrSwl5m.js → pierre-theme-BpNaWn1x.js} +30 -30
  44. package/dist/{pierre-tree-tdFSl55t.js → pierre-tree-CPhT5CUP.js} +4 -4
  45. package/dist/src-BPIIuMeE.js +1291 -0
  46. package/dist/{src-DvLYUTID.js → src-BjmKVOb2.js} +310 -310
  47. package/dist/{src-SE6QORrJ.js → src-CALHXF-U.js} +331 -229
  48. package/dist/{src-CVleZrPa.js → src-DfPfFOu1.js} +3 -3
  49. package/dist/tokens.js +1 -1
  50. package/dist/{tokens.stylex-BoRZ3D8s.js → tokens.stylex-CJbIDPB9.js} +10 -3
  51. package/package.json +1 -1
  52. package/packages/foundations/src/tokens.stylex.ts +6 -0
  53. package/dist/src-Bb2fDOeE.js +0 -1193
@@ -0,0 +1,1291 @@
1
+ import { A as e, C as t, M as n, N as r, P as i, S as a, b as o, i as s, j as c, s as l } from "./src-CALHXF-U.js";
2
+ import { t as u } from "./style-composition-uYlczSsB.js";
3
+ import { mergeProps as d } from "@base-ui/react/merge-props";
4
+ import * as f from "@stylexjs/stylex";
5
+ import { createContext as p, useContext as m, useId as h } from "react";
6
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
7
+ import { Check as ee, ChevronDown as te, X as v } from "lucide-react";
8
+ import { Combobox as y } from "@base-ui/react/combobox";
9
+ import { Radio as b } from "@base-ui/react/radio";
10
+ import { RadioGroup as x } from "@base-ui/react/radio-group";
11
+ import { Fieldset as S } from "@base-ui/react/fieldset";
12
+ import { Input as C } from "@base-ui/react/input";
13
+ import { NumberField as w } from "@base-ui/react/number-field";
14
+ import { Slider as T } from "@base-ui/react/slider";
15
+ import { Field as E } from "@base-ui/react/field";
16
+ import { Select as D } from "@base-ui/react/select";
17
+ import { Checkbox as O } from "@base-ui/react/checkbox";
18
+ import { Switch as k } from "@base-ui/react/switch";
19
+ import { Toggle as ne } from "@base-ui/react/toggle";
20
+ import { ToggleGroup as re } from "@base-ui/react/toggle-group";
21
+ // packages/forms/src/field-styles.ts
22
+ var A = {
23
+ error: {
24
+ kMwMTN: "xr5kp14",
25
+ kGuDYH: "xy8obcc",
26
+ kLWn49: "xas2l8k",
27
+ kHjlTd: "xj0a0fe",
28
+ $$css: !0
29
+ },
30
+ input: {
31
+ kPJHz1: "x13qnu6",
32
+ k7shQP: "x9v5kkp",
33
+ kZs9gx: "x19rmrnh",
34
+ kiEn40: "x13iak60",
35
+ kr7hW5: "x76gt29",
36
+ kWC4TW: "x19mxcj1",
37
+ kD2jPA: "x19kzkq0",
38
+ kYPGJ8: "x1s07b3s",
39
+ k8Qsv1: "xz7023x",
40
+ $$css: !0
41
+ },
42
+ compactTextarea: {
43
+ kAzted: "xseoqlg",
44
+ kskxy: "x1y3glee",
45
+ $$css: !0
46
+ },
47
+ growingTextarea: {
48
+ kAzted: "x2lwn1j",
49
+ kskxy: "xp8lc2p",
50
+ kOwNse: "x5f5z56",
51
+ kHenm0: "xtt52l0",
52
+ $$css: !0
53
+ }
54
+ }, ie = {
55
+ field: { field: { $$css: !0 } }.field,
56
+ plain: n.plainTextarea
57
+ }, j = {
58
+ trigger: {
59
+ k1xSpc: "x3nfvp2",
60
+ kGNEyG: "x6s0dn4",
61
+ kjj79g: "x1qughib",
62
+ kOIVth: "xbgj81g",
63
+ k7Eaqz: "xeuugli",
64
+ k9WMMc: "xdpxx8g",
65
+ kMwMTN: "xbixft",
66
+ kkrTdU: "x1ypdohk",
67
+ kvyT6O: "x17lu4q8",
68
+ k2wZ5d: "x1480za7",
69
+ kk7Lky: "xwj21n9",
70
+ kXyCmE: "x1m8qfh3",
71
+ k90wUN: "xs95o9x",
72
+ kPJHz1: "x13qnu6",
73
+ k7shQP: "x9v5kkp",
74
+ kZs9gx: "x19rmrnh",
75
+ kiEn40: "x8fq8g9",
76
+ $$css: !0
77
+ },
78
+ outlined: {
79
+ kWkggS: "xpvm0e4",
80
+ kVAM5u: "x1ey3b81",
81
+ $$css: !0
82
+ },
83
+ ghost: {
84
+ kWkggS: "xjbqb8w",
85
+ kVAM5u: "x9r1u3d",
86
+ $$css: !0
87
+ },
88
+ value: {
89
+ k7Eaqz: "xeuugli",
90
+ kUk6DE: "x98rzlu",
91
+ kVQacm: "xb3r6kr",
92
+ kg5iWk: "xlyipyv",
93
+ khDVqt: "xuxw1ft",
94
+ $$css: !0
95
+ },
96
+ icon: {
97
+ k1xSpc: "x3nfvp2",
98
+ kmuXW: "x2lah0s",
99
+ kGNEyG: "x6s0dn4",
100
+ $$css: !0
101
+ },
102
+ positioner: {
103
+ kY2c9j: "xviucbn",
104
+ k7Eaqz: "x80t9vs",
105
+ ks0D6T: "x1usz39j",
106
+ $$css: !0
107
+ },
108
+ popup: {
109
+ kB7OPa: "x9f619",
110
+ k7Eaqz: "xeuugli",
111
+ kMzoRj: "xmkeg23",
112
+ ksu8eU: "x1y0btm7",
113
+ kVAM5u: "x1ey3b81",
114
+ kaIpWk: "xy32g2j",
115
+ kmVPX3: "x1s01oa9",
116
+ kWkggS: "xpvm0e4",
117
+ kMwMTN: "xbixft",
118
+ kMv6JI: "x1hz01jw",
119
+ k63SB2: "xj57cvi",
120
+ kGuDYH: "xtqrqnz",
121
+ kLWn49: "x1778rvt",
122
+ khiITx: "xvmahel",
123
+ kGVxlE: "x1ghndwu",
124
+ kskxy: "x1374xjt",
125
+ kORKVm: "x1odjw0f",
126
+ kZeWKH: "xish69e",
127
+ $$css: !0
128
+ },
129
+ option: {
130
+ k1xSpc: "x78zum5",
131
+ kB7OPa: "x9f619",
132
+ kGNEyG: "x6s0dn4",
133
+ kOIVth: "x1hnptsi",
134
+ kAzted: "x17tes2r x17oiadl",
135
+ kg3NbH: "x5g2kb4",
136
+ k8WAf4: "x1hmw7ec",
137
+ kaIpWk: "x1ok0vyi",
138
+ kMv6JI: "x1hz01jw",
139
+ k63SB2: "xj57cvi",
140
+ khiITx: "xvmahel",
141
+ kGuDYH: "xtqrqnz",
142
+ kLWn49: "x1778rvt",
143
+ kHjlTd: "xj0a0fe",
144
+ kkrTdU: "x1ypdohk",
145
+ kMeerF: "x1k57tk5",
146
+ kDedJS: "xf2ykmf",
147
+ k2wZ5d: "x1480za7",
148
+ kk7Lky: "xwj21n9",
149
+ kXyCmE: "x1m8qfh3",
150
+ $$css: !0
151
+ },
152
+ optionText: {
153
+ kUk6DE: "x98rzlu",
154
+ k7Eaqz: "xeuugli",
155
+ kHjlTd: "xj0a0fe",
156
+ $$css: !0
157
+ }
158
+ }, M = p("standard"), N = {
159
+ inputGroup: {
160
+ kOIVth: "xunmzkg",
161
+ $$css: !0
162
+ },
163
+ input: {
164
+ kUk6DE: "x1slnebi",
165
+ kzqmXN: "x1o0uqad",
166
+ $$css: !0
167
+ },
168
+ action: {
169
+ k1xSpc: "x3nfvp2",
170
+ kGNEyG: "x6s0dn4",
171
+ kjj79g: "xl56j7k",
172
+ kmuXW: "x2lah0s",
173
+ kB7OPa: "x9f619",
174
+ kMzoRj: "xc342km",
175
+ kaIpWk: "x1ok0vyi",
176
+ kmVPX3: "x1717udv",
177
+ kWkggS: "xjbqb8w",
178
+ kMwMTN: "x153jb6y",
179
+ kkrTdU: "x1ypdohk",
180
+ kvyT6O: "x17lu4q8",
181
+ k2wZ5d: "x1480za7",
182
+ kk7Lky: "xwj21n9",
183
+ kXyCmE: "x5ezrf1",
184
+ kPJHz1: "x13qnu6",
185
+ k7shQP: "x9v5kkp",
186
+ kZs9gx: "x19rmrnh",
187
+ kiEn40: "x1bqaal",
188
+ $$css: !0
189
+ },
190
+ chip: {
191
+ k1xSpc: "x3nfvp2",
192
+ kGNEyG: "x6s0dn4",
193
+ kOIVth: "xunmzkg",
194
+ k7Eaqz: "xeuugli",
195
+ ks0D6T: "x193iq5w",
196
+ kHjlTd: "xj0a0fe",
197
+ kWkggS: "x1r7kqkb",
198
+ kZCmMZ: "xyibt8p",
199
+ kMv6JI: "x1hz01jw",
200
+ k63SB2: "xj57cvi",
201
+ kGuDYH: "xtqrqnz",
202
+ kLWn49: "x1778rvt",
203
+ kMwMTN: "xbixft",
204
+ kk7Lky: "xwj21n9",
205
+ $$css: !0
206
+ }
207
+ };
208
+ function ae({ density: e = "standard", ...t }) {
209
+ return /* @__PURE__ */ g(M, {
210
+ value: e,
211
+ children: /* @__PURE__ */ g(y.Root, { ...t })
212
+ });
213
+ }
214
+ function oe({ className: e, style: t, xstyle: i, ...a }) {
215
+ let o = m(M);
216
+ return /* @__PURE__ */ g(y.InputGroup, {
217
+ ...a,
218
+ ...u({
219
+ className: e,
220
+ style: t,
221
+ styles: f.props(n.group, r[o], N.inputGroup, i)
222
+ })
223
+ });
224
+ }
225
+ function se({ className: e, style: t, ...r }) {
226
+ return /* @__PURE__ */ g(y.Label, {
227
+ ...r,
228
+ ...u({
229
+ className: e,
230
+ style: t,
231
+ styles: f.props(n.label)
232
+ })
233
+ });
234
+ }
235
+ function P(e) {
236
+ return /* @__PURE__ */ g(y.Value, { ...e });
237
+ }
238
+ function F({ className: e, style: t, ...r }) {
239
+ let a = m(M);
240
+ return /* @__PURE__ */ g(y.Input, {
241
+ ...r,
242
+ ...u({
243
+ className: e,
244
+ style: t,
245
+ styles: f.props(n.base, n.field, n.singleLineField, A.input, c[a], i[a], n.embedded, N.input)
246
+ })
247
+ });
248
+ }
249
+ function I({ children: t = /* @__PURE__ */ g(te, {
250
+ size: 16,
251
+ "aria-hidden": "true"
252
+ }), "aria-label": n = "Show options", className: r, style: i, ...a }) {
253
+ let o = m(M);
254
+ return /* @__PURE__ */ g(y.Trigger, {
255
+ ...a,
256
+ "aria-label": n,
257
+ ...u({
258
+ className: r,
259
+ style: i,
260
+ styles: f.props(e[o], N.action)
261
+ }),
262
+ children: t
263
+ });
264
+ }
265
+ function L({ children: t = /* @__PURE__ */ g(v, {
266
+ size: 16,
267
+ "aria-hidden": "true"
268
+ }), "aria-label": n = "Clear selection", className: r, style: i, ...a }) {
269
+ let o = m(M);
270
+ return /* @__PURE__ */ g(y.Clear, {
271
+ ...a,
272
+ "aria-label": n,
273
+ ...u({
274
+ className: r,
275
+ style: i,
276
+ styles: f.props(e[o], N.action)
277
+ }),
278
+ children: t
279
+ });
280
+ }
281
+ function R({ sideOffset: e = 4, className: t, style: n, xstyle: r, ...i }) {
282
+ return /* @__PURE__ */ g(y.Positioner, {
283
+ ...i,
284
+ sideOffset: e,
285
+ ...u({
286
+ className: t,
287
+ style: n,
288
+ styles: f.props(j.positioner, r)
289
+ })
290
+ });
291
+ }
292
+ function z({ className: e, style: t, ...n }) {
293
+ return /* @__PURE__ */ g(y.Popup, {
294
+ ...n,
295
+ ...u({
296
+ className: e,
297
+ style: t,
298
+ styles: f.props(j.popup)
299
+ })
300
+ });
301
+ }
302
+ function B({ className: e, style: t, ...n }) {
303
+ return /* @__PURE__ */ g(y.List, {
304
+ ...n,
305
+ ...u({
306
+ className: e,
307
+ style: t,
308
+ styles: { className: "x1717udv x1ghz6dp x1h9acoj x1odjw0f xish69e x1k57tk5" }
309
+ })
310
+ });
311
+ }
312
+ function V({ className: e, style: t, ...n }) {
313
+ return /* @__PURE__ */ g(y.Item, {
314
+ ...n,
315
+ ...u({
316
+ className: e,
317
+ style: t,
318
+ styles: f.props(j.option)
319
+ })
320
+ });
321
+ }
322
+ function H({ children: e = /* @__PURE__ */ g(ee, {
323
+ size: 16,
324
+ "aria-hidden": "true"
325
+ }), className: t, style: n, ...r }) {
326
+ return /* @__PURE__ */ g(y.ItemIndicator, {
327
+ ...r,
328
+ ...u({
329
+ className: t,
330
+ style: n,
331
+ styles: f.props(j.icon)
332
+ }),
333
+ children: e
334
+ });
335
+ }
336
+ function U({ className: e, style: t, ...n }) {
337
+ return /* @__PURE__ */ g(y.Empty, {
338
+ ...n,
339
+ ...u({
340
+ className: e,
341
+ style: t,
342
+ styles: { className: "x1ghz6dp x69ldcm x153jb6y xtqrqnz x1778rvt x1uad7yq" }
343
+ })
344
+ });
345
+ }
346
+ function W({ className: e, style: t, ...n }) {
347
+ return /* @__PURE__ */ g(y.Status, {
348
+ ...n,
349
+ ...u({
350
+ className: e,
351
+ style: t,
352
+ styles: { className: "x1ghz6dp x69ldcm x153jb6y xtqrqnz x1778rvt x1uad7yq" }
353
+ })
354
+ });
355
+ }
356
+ function G({ className: e, style: t, ...n }) {
357
+ return /* @__PURE__ */ g(y.GroupLabel, {
358
+ ...n,
359
+ ...u({
360
+ className: e,
361
+ style: t,
362
+ styles: { className: "x1hmw7ec x5g2kb4 x153jb6y xy8obcc xas2l8k xk4h15q" }
363
+ })
364
+ });
365
+ }
366
+ function K({ className: e, style: t, ...n }) {
367
+ return /* @__PURE__ */ g(y.Chips, {
368
+ ...n,
369
+ ...u({
370
+ className: e,
371
+ style: t,
372
+ styles: { className: "x78zum5 x98rzlu x6s0dn4 x1a02dak xunmzkg xeuugli x14w6jbu" }
373
+ })
374
+ });
375
+ }
376
+ function ce({ className: e, style: t, ...i }) {
377
+ let a = m(M);
378
+ return /* @__PURE__ */ g(y.Chip, {
379
+ ...i,
380
+ ...u({
381
+ className: e,
382
+ style: t,
383
+ styles: f.props(n.group, r[a], N.chip)
384
+ })
385
+ });
386
+ }
387
+ function le({ children: t = /* @__PURE__ */ g(v, {
388
+ size: 16,
389
+ "aria-hidden": "true"
390
+ }), className: n, style: r, ...i }) {
391
+ let a = m(M);
392
+ return /* @__PURE__ */ g(y.ChipRemove, {
393
+ ...i,
394
+ ...u({
395
+ className: n,
396
+ style: r,
397
+ styles: f.props(e[a], N.action)
398
+ }),
399
+ children: t
400
+ });
401
+ }
402
+ var ue = {
403
+ Root: ae,
404
+ Label: se,
405
+ InputGroup: oe,
406
+ Input: F,
407
+ Trigger: I,
408
+ Clear: L,
409
+ Portal: y.Portal,
410
+ Positioner: R,
411
+ Popup: z,
412
+ List: B,
413
+ Item: V,
414
+ ItemIndicator: H,
415
+ Empty: U,
416
+ Status: W,
417
+ Group: y.Group,
418
+ GroupLabel: G,
419
+ Chips: K,
420
+ Chip: ce,
421
+ ChipRemove: le,
422
+ Value: P,
423
+ Collection: y.Collection
424
+ };
425
+ // packages/forms/src/agent-avatar-picker.tsx
426
+ function de({ value: e, onValueChange: n, disabled: r = !1 }) {
427
+ let i = h(), s = h();
428
+ return /* @__PURE__ */ _("div", {
429
+ className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
430
+ children: [
431
+ /* @__PURE__ */ _("div", {
432
+ className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
433
+ children: [/* @__PURE__ */ g(o, {
434
+ seed: "preview",
435
+ appearance: e,
436
+ size: "lg"
437
+ }), /* @__PURE__ */ _("div", {
438
+ className: "x78zum5 xdt5ytf xeuugli",
439
+ children: [/* @__PURE__ */ g("span", {
440
+ className: "xbixft xtqrqnz xk4h15q x1778rvt xn80e1m",
441
+ children: e.shape
442
+ }), /* @__PURE__ */ g("span", {
443
+ className: "x153jb6y xy8obcc xas2l8k xn80e1m",
444
+ children: e.color
445
+ })]
446
+ })]
447
+ }),
448
+ /* @__PURE__ */ _("div", {
449
+ className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
450
+ children: [/* @__PURE__ */ g("span", {
451
+ id: i,
452
+ className: "x153jb6y xy8obcc xas2l8k xk4h15q",
453
+ children: "Shape"
454
+ }), /* @__PURE__ */ g(x, {
455
+ "aria-labelledby": i,
456
+ value: e.shape,
457
+ onValueChange: (t) => n({
458
+ ...e,
459
+ shape: t
460
+ }),
461
+ disabled: r,
462
+ className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
463
+ children: t.map((t) => /* @__PURE__ */ g(b.Root, {
464
+ value: t,
465
+ "aria-label": t,
466
+ title: t,
467
+ className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x16opp91 x1gjsuxi x17tes2r x17oiadl x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
468
+ children: /* @__PURE__ */ g(o, {
469
+ seed: t,
470
+ appearance: {
471
+ ...e,
472
+ shape: t
473
+ },
474
+ size: "md"
475
+ })
476
+ }, t))
477
+ })]
478
+ }),
479
+ /* @__PURE__ */ _("div", {
480
+ className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
481
+ children: [/* @__PURE__ */ g("span", {
482
+ id: s,
483
+ className: "x153jb6y xy8obcc xas2l8k xk4h15q",
484
+ children: "Color"
485
+ }), /* @__PURE__ */ g(x, {
486
+ "aria-labelledby": s,
487
+ value: e.color,
488
+ onValueChange: (t) => n({
489
+ ...e,
490
+ color: t
491
+ }),
492
+ disabled: r,
493
+ className: "xrvj5dj x10yxpwy x15eknm3 xunmzkg",
494
+ children: a.map((t) => /* @__PURE__ */ g(b.Root, {
495
+ value: t,
496
+ "aria-label": t,
497
+ title: t,
498
+ 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",
499
+ children: /* @__PURE__ */ g(o, {
500
+ seed: t,
501
+ appearance: {
502
+ ...e,
503
+ color: t
504
+ },
505
+ size: "md"
506
+ })
507
+ }, t))
508
+ })]
509
+ })
510
+ ]
511
+ });
512
+ }
513
+ // packages/forms/src/form-controls.tsx
514
+ var q = p("standard"), J = p("standard"), Y = {
515
+ fieldset: {
516
+ k1xSpc: "x78zum5",
517
+ kXwgrk: "xdt5ytf",
518
+ kOIVth: "xaml1ju",
519
+ k7Eaqz: "xeuugli",
520
+ kogj98: "x1ghz6dp",
521
+ kmVPX3: "x1717udv",
522
+ kMzoRj: "xc342km",
523
+ $$css: !0
524
+ },
525
+ addon: {
526
+ k1xSpc: "x3nfvp2",
527
+ kmuXW: "x2lah0s",
528
+ kGNEyG: "x6s0dn4",
529
+ kg3NbH: "x1atzlso",
530
+ kMwMTN: "x153jb6y",
531
+ kMv6JI: "x1hz01jw",
532
+ k63SB2: "xj57cvi",
533
+ kGuDYH: "xtqrqnz",
534
+ kLWn49: "x1778rvt",
535
+ $$css: !0
536
+ },
537
+ stepper: {
538
+ k1xSpc: "x3nfvp2",
539
+ kmuXW: "x2lah0s",
540
+ kGNEyG: "x6s0dn4",
541
+ kjj79g: "xl56j7k",
542
+ kB7OPa: "x9f619",
543
+ kmVPX3: "x1717udv",
544
+ kMzoRj: "xc342km",
545
+ kaIpWk: "x1ok0vyi",
546
+ kWkggS: "xjbqb8w",
547
+ kMwMTN: "xbixft",
548
+ kMv6JI: "x1hz01jw",
549
+ k63SB2: "xj57cvi",
550
+ kGuDYH: "x1i2cqwi",
551
+ kLWn49: "x4fansv",
552
+ kkrTdU: "x1ypdohk",
553
+ kvyT6O: "x17lu4q8",
554
+ k2wZ5d: "x1480za7",
555
+ kk7Lky: "xwj21n9",
556
+ kXyCmE: "x5ezrf1",
557
+ kPJHz1: "x13qnu6",
558
+ k7shQP: "x9v5kkp",
559
+ kZs9gx: "x19rmrnh",
560
+ kiEn40: "x1bqaal",
561
+ $$css: !0
562
+ },
563
+ numberInput: {
564
+ k9WMMc: "x2b8uid",
565
+ kcqcaj: "xss6m8b",
566
+ $$css: !0
567
+ },
568
+ slider: {
569
+ k1xSpc: "x78zum5",
570
+ kXwgrk: "xdt5ytf",
571
+ kOIVth: "x1hnptsi",
572
+ k7Eaqz: "xeuugli",
573
+ kMv6JI: "x1hz01jw",
574
+ k63SB2: "xj57cvi",
575
+ kGuDYH: "xtqrqnz",
576
+ kLWn49: "x1778rvt",
577
+ kMwMTN: "xbixft",
578
+ kk7Lky: "xwj21n9",
579
+ $$css: !0
580
+ },
581
+ file: {
582
+ k8WAf4: "xt970qd",
583
+ kg3NbH: "xnjsko4",
584
+ kLWn49: "xasj1m4 x1fj8ryy",
585
+ kihK3i: "x1k5xxp6",
586
+ kzuhEi: "x1svwz4r",
587
+ kov1hC: "xrc8akj",
588
+ kSflKP: "x1rcvzx2 xhjjd6e",
589
+ kws8Wn: "xoo4nqz",
590
+ kp0OWX: "xt3cggl",
591
+ kagsqe: "x1aypxx0",
592
+ kgq3TX: "x1i3c8xy",
593
+ kyhJmN: "x19tzrcj",
594
+ k958Fn: "x1wc3fni",
595
+ kZa55i: "xtqkasz",
596
+ knelA6: "x2hdjra",
597
+ k1g6Oj: "xns5ekw xnws22w",
598
+ kWNeyc: "xjmbuqf",
599
+ kq66xQ: "x1k4m713",
600
+ kFMQdI: "x9qipvy",
601
+ ka6B6R: "x1hr67oa",
602
+ kedk6p: "xysgshy",
603
+ $$css: !0
604
+ }
605
+ }, fe = {
606
+ standard: { $$css: !0 },
607
+ compact: {
608
+ kg3NbH: "xbsbsya",
609
+ $$css: !0
610
+ }
611
+ }, X = {
612
+ standard: { $$css: !0 },
613
+ compact: {
614
+ kLWn49: "x1p8ddxc x1fj8ryy",
615
+ kov1hC: "xmrrhut",
616
+ kSflKP: "x11rbrfk xhjjd6e",
617
+ $$css: !0
618
+ }
619
+ }, pe = {
620
+ standard: X.standard,
621
+ compact: X.compact
622
+ };
623
+ function me({ className: e, style: t, xstyle: n, ...r }) {
624
+ return /* @__PURE__ */ g(S.Root, {
625
+ ...r,
626
+ ...u({
627
+ className: e,
628
+ style: t,
629
+ styles: f.props(Y.fieldset, n)
630
+ })
631
+ });
632
+ }
633
+ function he({ className: e, style: t, ...n }) {
634
+ return /* @__PURE__ */ g(S.Legend, {
635
+ ...n,
636
+ ...u({
637
+ className: e,
638
+ style: t,
639
+ styles: { className: "x1717udv x14yccmi x1hz01jw xtqrqnz x1778rvt x1b5ytql xbixft xj0a0fe" }
640
+ })
641
+ });
642
+ }
643
+ function ge({ density: e = "standard", xstyle: t, ...i }) {
644
+ return /* @__PURE__ */ g(q, {
645
+ value: e,
646
+ children: /* @__PURE__ */ g("div", { ...d(f.props(n.group, r[e], t), i) })
647
+ });
648
+ }
649
+ function _e(e) {
650
+ let t = m(q);
651
+ return /* @__PURE__ */ g("span", { ...d(f.props(Y.addon, fe[t]), e) });
652
+ }
653
+ function ve({ className: e, style: t, xstyle: r, ...a }) {
654
+ let o = m(q);
655
+ return /* @__PURE__ */ g(C, {
656
+ ...a,
657
+ ...u({
658
+ className: e,
659
+ style: t,
660
+ styles: f.props(n.base, n.field, n.singleLineField, A.input, c[o], i[o], n.embedded, r)
661
+ })
662
+ });
663
+ }
664
+ function ye({ density: e = "standard", className: t, style: r, xstyle: i, ...a }) {
665
+ return /* @__PURE__ */ g(J, {
666
+ value: e,
667
+ children: /* @__PURE__ */ g(w.Root, {
668
+ ...a,
669
+ ...u({
670
+ className: t,
671
+ style: r,
672
+ styles: f.props(n.fieldRoot, i)
673
+ })
674
+ })
675
+ });
676
+ }
677
+ function be({ className: e, style: t, ...i }) {
678
+ let a = m(J);
679
+ return /* @__PURE__ */ g(w.Group, {
680
+ ...i,
681
+ ...u({
682
+ className: e,
683
+ style: t,
684
+ styles: f.props(n.group, r[a])
685
+ })
686
+ });
687
+ }
688
+ function xe({ className: e, style: t, ...r }) {
689
+ let a = m(J);
690
+ return /* @__PURE__ */ g(w.Input, {
691
+ ...r,
692
+ ...u({
693
+ className: e,
694
+ style: t,
695
+ styles: f.props(n.base, n.field, n.singleLineField, A.input, c[a], i[a], n.embedded, Y.numberInput)
696
+ })
697
+ });
698
+ }
699
+ function Se({ children: t = "+", "aria-label": n = "Increase", className: r, style: i, ...a }) {
700
+ let o = m(J);
701
+ return /* @__PURE__ */ g(w.Increment, {
702
+ ...a,
703
+ "aria-label": n,
704
+ ...u({
705
+ className: r,
706
+ style: i,
707
+ styles: f.props(e[o], Y.stepper)
708
+ }),
709
+ children: t
710
+ });
711
+ }
712
+ function Ce({ children: t = "−", "aria-label": n = "Decrease", className: r, style: i, ...a }) {
713
+ let o = m(J);
714
+ return /* @__PURE__ */ g(w.Decrement, {
715
+ ...a,
716
+ "aria-label": n,
717
+ ...u({
718
+ className: r,
719
+ style: i,
720
+ styles: f.props(e[o], Y.stepper)
721
+ }),
722
+ children: t
723
+ });
724
+ }
725
+ function we({ className: e, style: t, xstyle: n, ...r }) {
726
+ return /* @__PURE__ */ g(T.Root, {
727
+ ...r,
728
+ ...u({
729
+ className: e,
730
+ style: t,
731
+ styles: f.props(Y.slider, n)
732
+ })
733
+ });
734
+ }
735
+ function Te({ className: e, style: t, ...n }) {
736
+ return /* @__PURE__ */ g(T.Control, {
737
+ ...n,
738
+ ...u({
739
+ className: e,
740
+ style: t,
741
+ styles: { className: "x1n2onr6 x78zum5 x6s0dn4 xeuugli x17tes2r x17oiadl x5ve5x3 x87ps6o xclew9j x1aah0cb x1w0yyvy" }
742
+ })
743
+ });
744
+ }
745
+ function Ee({ className: e, style: t, ...n }) {
746
+ return /* @__PURE__ */ g(T.Track, {
747
+ ...n,
748
+ ...u({
749
+ className: e,
750
+ style: t,
751
+ styles: { className: "x1n2onr6 xh8yej3 xuoj239 x1fa40ue x1ok0vyi xz6fryc xqmlo60 x1aah0cb" }
752
+ })
753
+ });
754
+ }
755
+ function De({ className: e, style: t, ...n }) {
756
+ return /* @__PURE__ */ g(T.Indicator, {
757
+ ...n,
758
+ ...u({
759
+ className: e,
760
+ style: t,
761
+ styles: { className: "x10l6tqk x5yr21d x1ok0vyi x1pt885t x1g487ut x60x5n0" }
762
+ })
763
+ });
764
+ }
765
+ function Oe({ className: e, style: t, ...n }) {
766
+ return /* @__PURE__ */ g(T.Thumb, {
767
+ ...n,
768
+ ...u({
769
+ className: e,
770
+ style: t,
771
+ styles: { className: "x1lliihq x9f619 x1kky2od xlup9mm xmkeg23 x1y0btm7 x159tnba x1ok0vyi xpvm0e4 x18vtl6o x13rtz23 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1s928wv x1j6awrg xoqv437 x16v8oms x128ww4c x10wh5f8 x1s4ve4b" }
772
+ })
773
+ });
774
+ }
775
+ function ke({ className: e, style: t, ...r }) {
776
+ return /* @__PURE__ */ g(T.Label, {
777
+ ...r,
778
+ ...u({
779
+ className: e,
780
+ style: t,
781
+ styles: f.props(n.label)
782
+ })
783
+ });
784
+ }
785
+ function Ae({ className: e, style: t, ...n }) {
786
+ return /* @__PURE__ */ g(T.Value, {
787
+ ...n,
788
+ ...u({
789
+ className: e,
790
+ style: t,
791
+ styles: { className: "x1hz01jw xtqrqnz x1778rvt xss6m8b x153jb6y" }
792
+ })
793
+ });
794
+ }
795
+ function je({ density: e = "standard", className: t, style: r, xstyle: a, ...o }) {
796
+ return /* @__PURE__ */ g(C, {
797
+ ...o,
798
+ type: "file",
799
+ ...u({
800
+ className: t,
801
+ style: r,
802
+ styles: f.props(n.base, n.field, n.singleLineField, A.input, c[e], i[e], Y.file, pe[e], a)
803
+ })
804
+ });
805
+ }
806
+ var Me = {
807
+ Root: me,
808
+ Legend: he
809
+ }, Ne = {
810
+ Root: ge,
811
+ Addon: _e,
812
+ Input: ve
813
+ }, Pe = {
814
+ Root: ye,
815
+ Group: be,
816
+ Input: xe,
817
+ Increment: Se,
818
+ Decrement: Ce
819
+ }, Fe = {
820
+ Root: we,
821
+ Label: ke,
822
+ Value: Ae,
823
+ Control: Te,
824
+ Track: Ee,
825
+ Indicator: De,
826
+ Thumb: Oe
827
+ }, Z = {
828
+ root: {
829
+ k1xSpc: "x78zum5",
830
+ kwnvtZ: "x1a02dak",
831
+ kGNEyG: "x6s0dn4",
832
+ kOIVth: "x1hnptsi",
833
+ k7Eaqz: "xeuugli",
834
+ $$css: !0
835
+ },
836
+ separated: {
837
+ kLKAdn: "x10d9x1d",
838
+ kEafiO: "x178xt8z",
839
+ kPef9Z: "x13fuv20",
840
+ kLZC3w: "xhjagg4",
841
+ $$css: !0
842
+ }
843
+ }, Ie = {
844
+ start: {
845
+ kjj79g: "x1nhvcw1",
846
+ $$css: !0
847
+ },
848
+ end: {
849
+ kjj79g: "x13a6bvl",
850
+ $$css: !0
851
+ }
852
+ };
853
+ function Le({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
854
+ return /* @__PURE__ */ g("div", {
855
+ ...f.props(Z.root, Ie[t], n && Z.separated, r),
856
+ children: e
857
+ });
858
+ }
859
+ // packages/forms/src/forms.tsx
860
+ function Re({ className: e, style: t, xstyle: r, ...i }) {
861
+ return /* @__PURE__ */ g(E.Root, {
862
+ ...i,
863
+ ...u({
864
+ className: e,
865
+ style: t,
866
+ styles: f.props(n.fieldRoot, r)
867
+ })
868
+ });
869
+ }
870
+ function ze({ className: e, style: t, ...r }) {
871
+ return /* @__PURE__ */ g(E.Label, {
872
+ ...r,
873
+ ...u({
874
+ className: e,
875
+ style: t,
876
+ styles: f.props(n.label)
877
+ })
878
+ });
879
+ }
880
+ function Be({ className: e, style: t, ...r }) {
881
+ return /* @__PURE__ */ g(E.Description, {
882
+ ...r,
883
+ ...u({
884
+ className: e,
885
+ style: t,
886
+ styles: f.props(n.description)
887
+ })
888
+ });
889
+ }
890
+ function Ve({ className: e, style: t, ...n }) {
891
+ return /* @__PURE__ */ g(E.Error, {
892
+ ...n,
893
+ ...u({
894
+ className: e,
895
+ style: t,
896
+ styles: f.props(A.error)
897
+ })
898
+ });
899
+ }
900
+ var He = {
901
+ Root: Re,
902
+ Label: ze,
903
+ Description: Be,
904
+ Error: Ve
905
+ };
906
+ function Ue({ density: e = "standard", className: t, style: r, xstyle: a, ...o }) {
907
+ return /* @__PURE__ */ g(C, {
908
+ ...o,
909
+ ...u({
910
+ className: t,
911
+ style: r,
912
+ styles: f.props(n.base, n.field, n.singleLineField, A.input, c[e], i[e], a)
913
+ })
914
+ });
915
+ }
916
+ function We({ isCompact: e = !1, shouldGrow: t = !1, appearance: r = "field", value: i, defaultValue: a, onValueChange: o, name: s, disabled: c, readOnly: l, required: d, className: p, style: m, xstyle: h, ..._ }) {
917
+ return /* @__PURE__ */ g(E.Control, {
918
+ value: i,
919
+ defaultValue: a,
920
+ onValueChange: o,
921
+ name: s,
922
+ disabled: c,
923
+ readOnly: l,
924
+ required: d,
925
+ render: /* @__PURE__ */ g("textarea", { ..._ }),
926
+ ...u({
927
+ className: p,
928
+ style: m,
929
+ styles: f.props(n.base, n.field, A.input, n.textarea, e && A.compactTextarea, t && A.growingTextarea, ie[r], h)
930
+ })
931
+ });
932
+ }
933
+ // packages/forms/src/select.tsx
934
+ var Ge = {
935
+ outline: j.outlined,
936
+ ghost: j.ghost
937
+ };
938
+ function Ke(e) {
939
+ return /* @__PURE__ */ g(D.Root, { ...e });
940
+ }
941
+ function qe({ variant: t = "outline", density: r = "standard", className: i, style: a, xstyle: o, ...s }) {
942
+ return /* @__PURE__ */ g(D.Trigger, {
943
+ ...s,
944
+ ...u({
945
+ className: i,
946
+ style: a,
947
+ styles: f.props(n.base, j.trigger, Ge[t], c[r], e[r], o)
948
+ })
949
+ });
950
+ }
951
+ function Je({ className: e, style: t, xstyle: n, ...r }) {
952
+ return /* @__PURE__ */ g(D.Value, {
953
+ ...r,
954
+ ...u({
955
+ className: e,
956
+ style: t,
957
+ styles: f.props(j.value, n)
958
+ })
959
+ });
960
+ }
961
+ function Ye({ className: e, style: t, ...n }) {
962
+ return /* @__PURE__ */ g(D.Icon, {
963
+ ...n,
964
+ ...u({
965
+ className: e,
966
+ style: t,
967
+ styles: f.props(j.icon)
968
+ })
969
+ });
970
+ }
971
+ function Xe({ className: e, style: t, xstyle: n, sideOffset: r = 4, alignItemWithTrigger: i = !1, ...a }) {
972
+ return /* @__PURE__ */ g(D.Positioner, {
973
+ ...a,
974
+ sideOffset: r,
975
+ alignItemWithTrigger: i,
976
+ ...u({
977
+ className: e,
978
+ style: t,
979
+ styles: f.props(j.positioner, n)
980
+ })
981
+ });
982
+ }
983
+ function Ze({ className: e, style: t, ...n }) {
984
+ return /* @__PURE__ */ g(D.Popup, {
985
+ ...n,
986
+ ...u({
987
+ className: e,
988
+ style: t,
989
+ styles: f.props(j.popup)
990
+ })
991
+ });
992
+ }
993
+ function Qe({ className: e, style: t, ...n }) {
994
+ return /* @__PURE__ */ g(D.Item, {
995
+ ...n,
996
+ ...u({
997
+ className: e,
998
+ style: t,
999
+ styles: f.props(j.option)
1000
+ })
1001
+ });
1002
+ }
1003
+ function $e({ className: e, style: t, ...n }) {
1004
+ return /* @__PURE__ */ g(D.ItemText, {
1005
+ ...n,
1006
+ ...u({
1007
+ className: e,
1008
+ style: t,
1009
+ styles: f.props(j.optionText)
1010
+ })
1011
+ });
1012
+ }
1013
+ function et({ className: e, style: t, ...n }) {
1014
+ return /* @__PURE__ */ g(D.ItemIndicator, {
1015
+ ...n,
1016
+ ...u({
1017
+ className: e,
1018
+ style: t,
1019
+ styles: f.props(j.icon)
1020
+ })
1021
+ });
1022
+ }
1023
+ var tt = {
1024
+ Root: Ke,
1025
+ Trigger: qe,
1026
+ Value: Je,
1027
+ Icon: Ye,
1028
+ Portal: D.Portal,
1029
+ Positioner: Xe,
1030
+ Popup: Ze,
1031
+ List: D.List,
1032
+ Item: Qe,
1033
+ ItemText: $e,
1034
+ ItemIndicator: et
1035
+ }, Q = {
1036
+ choice: {
1037
+ kVAEAm: "x1n2onr6",
1038
+ k1xSpc: "x3nfvp2",
1039
+ kGNEyG: "x6s0dn4",
1040
+ kjj79g: "xl56j7k",
1041
+ kmuXW: "x2lah0s",
1042
+ kB7OPa: "x9f619",
1043
+ kzqmXN: "x9c6wpo x1ff4b4a",
1044
+ kZKoxP: "x1f9pz31 x992rv9",
1045
+ kMzoRj: "xc342km",
1046
+ kmVPX3: "x1717udv",
1047
+ kWkggS: "xjbqb8w",
1048
+ kMwMTN: "x1ymx3u3",
1049
+ kXLuUW: "xxymvpz",
1050
+ kkrTdU: "x1ypdohk",
1051
+ kInvED: "x1hl8ikr",
1052
+ kPJHz1: "x13qnu6",
1053
+ k7shQP: "x9v5kkp",
1054
+ kZs9gx: "x19rmrnh",
1055
+ kk7Lky: "xwj21n9",
1056
+ kXyCmE: "x5ezrf1",
1057
+ kEoFBp: "x1hmns74",
1058
+ kgeoSG: "x1cpjm7i",
1059
+ kOlAkY: "xrdwrp9",
1060
+ kgzTxl: "xj3gwzc",
1061
+ k5Ohv7: "xz8fyzm",
1062
+ kj4x2v: "x1fo1fc9",
1063
+ kfXFYZ: "x134x8zn",
1064
+ kPB484: "x3zhmzl",
1065
+ kLkRvE: "x1ccqivs",
1066
+ k7Fx8I: "x1l25zjt",
1067
+ kZ6Vn: "x125indb",
1068
+ kmhdpE: "xj24zxs",
1069
+ ksttPQ: "xmc1g74",
1070
+ kWInnp: "xmwj7kj",
1071
+ kp4PMQ: "xd47u31",
1072
+ kKveSs: "x1e6fdsj",
1073
+ $$css: !0
1074
+ },
1075
+ radio: {
1076
+ kaIpWk: "x16rqkct",
1077
+ kPB484: "x9msap3",
1078
+ $$css: !0
1079
+ },
1080
+ group: {
1081
+ k1xSpc: "x78zum5",
1082
+ kXwgrk: "xdt5ytf",
1083
+ kOIVth: "x1hnptsi",
1084
+ k7Eaqz: "xeuugli",
1085
+ kMv6JI: "x1hz01jw",
1086
+ k63SB2: "xj57cvi",
1087
+ kGuDYH: "xtqrqnz",
1088
+ kLWn49: "x1778rvt",
1089
+ kMwMTN: "xbixft",
1090
+ $$css: !0
1091
+ },
1092
+ switch: {
1093
+ kVAEAm: "x1n2onr6",
1094
+ k1xSpc: "x3nfvp2",
1095
+ kGNEyG: "x6s0dn4",
1096
+ kmuXW: "x2lah0s",
1097
+ kzqmXN: "x1q5zktx",
1098
+ kZKoxP: "x1f9pz31 x992rv9",
1099
+ kmVPX3: "x1717udv",
1100
+ kMzoRj: "xc342km",
1101
+ kaIpWk: "x1ok0vyi",
1102
+ kWkggS: "xjbqb8w",
1103
+ kkrTdU: "x1ypdohk",
1104
+ kPJHz1: "x13qnu6",
1105
+ k7shQP: "x9v5kkp",
1106
+ kZs9gx: "x19rmrnh",
1107
+ kiEn40: "x7s97pk",
1108
+ kk7Lky: "xwj21n9",
1109
+ kXyCmE: "x5ezrf1",
1110
+ kgeoSG: "x1cpjm7i",
1111
+ kEoFBp: "x1hmns74",
1112
+ kSJ0CW: "x1682cnc",
1113
+ kOlAkY: "xclnyvk",
1114
+ kgzTxl: "xdq3lnv",
1115
+ kPB484: "x3zhmzl",
1116
+ kLkRvE: "x1mnuopj",
1117
+ kPo6RA: "xhmz8xe",
1118
+ k7zDlP: "x1k8dcej",
1119
+ kdP5Gt: "xbsmico",
1120
+ $$css: !0
1121
+ },
1122
+ toggles: {
1123
+ k1xSpc: "x3nfvp2",
1124
+ kGNEyG: "x6s0dn4",
1125
+ kwnvtZ: "x1a02dak",
1126
+ k7Eaqz: "xeuugli",
1127
+ ks0D6T: "x193iq5w",
1128
+ kB7OPa: "x9f619",
1129
+ kOIVth: "xfko13i",
1130
+ kmVPX3: "xlsiant",
1131
+ kMzoRj: "xmkeg23",
1132
+ ksu8eU: "x1y0btm7",
1133
+ kVAM5u: "x1ey3b81",
1134
+ kaIpWk: "x1ok0vyi",
1135
+ kWkggS: "xpvm0e4",
1136
+ kCfx3h: "x16yzcw2",
1137
+ kaFHyV: "x1it17vb",
1138
+ $$css: !0
1139
+ }
1140
+ };
1141
+ function $({ className: e, style: t, xstyle: n, ...r }) {
1142
+ return /* @__PURE__ */ g(O.Root, {
1143
+ ...r,
1144
+ ...u({
1145
+ className: e,
1146
+ style: t,
1147
+ styles: f.props(Q.choice, n)
1148
+ })
1149
+ });
1150
+ }
1151
+ function nt({ children: e, className: t, style: n, ...r }) {
1152
+ return /* @__PURE__ */ g(O.Indicator, {
1153
+ ...r,
1154
+ ...u({
1155
+ className: t,
1156
+ style: n,
1157
+ styles: {
1158
+ 0: { className: "x1n2onr6 x3nfvp2 x6s0dn4 xl56j7k x1f6aaap" },
1159
+ 1: { className: "x1n2onr6 x3nfvp2 x6s0dn4 xl56j7k x1f6aaap x1cpjm7i x1fgarty x1eencha x1yd0sln xji4ux1 x1p3pj1f xmbliey x1fo1fc9 x1x6ksa7 xpqygm2 xqmrxfs x1406bi0 x175qjp2 xkt9h7a" }
1160
+ }[e === void 0 | 0]
1161
+ }),
1162
+ children: e
1163
+ });
1164
+ }
1165
+ function rt({ className: e, style: t, xstyle: n, ...r }) {
1166
+ return /* @__PURE__ */ g(x, {
1167
+ ...r,
1168
+ ...u({
1169
+ className: e,
1170
+ style: t,
1171
+ styles: f.props(Q.group, n)
1172
+ })
1173
+ });
1174
+ }
1175
+ function it({ className: e, style: t, xstyle: n, ...r }) {
1176
+ return /* @__PURE__ */ g(b.Root, {
1177
+ ...r,
1178
+ ...u({
1179
+ className: e,
1180
+ style: t,
1181
+ styles: f.props(Q.choice, Q.radio, n)
1182
+ })
1183
+ });
1184
+ }
1185
+ function at({ className: e, style: t, ...n }) {
1186
+ return /* @__PURE__ */ g(b.Indicator, {
1187
+ ...n,
1188
+ ...u({
1189
+ className: e,
1190
+ style: t,
1191
+ styles: { className: "x1n2onr6 x3nfvp2 x6s0dn4 xl56j7k x1f6aaap x1v4s8kt xols6we x16rqkct x1g9zx2t" }
1192
+ })
1193
+ });
1194
+ }
1195
+ function ot({ className: e, style: t, xstyle: n, ...r }) {
1196
+ return /* @__PURE__ */ g(k.Root, {
1197
+ ...r,
1198
+ ...u({
1199
+ className: e,
1200
+ style: t,
1201
+ styles: f.props(Q.switch, n)
1202
+ })
1203
+ });
1204
+ }
1205
+ function st({ className: e, style: t, ...n }) {
1206
+ return /* @__PURE__ */ g(k.Thumb, {
1207
+ ...n,
1208
+ ...u({
1209
+ className: e,
1210
+ style: t,
1211
+ styles: { className: "x1n2onr6 x6jxa94 x1v9usgg x7phf20 x1cum3z5 xpvm0e4 xs8k099" }
1212
+ })
1213
+ });
1214
+ }
1215
+ function ct({ className: e, style: t, xstyle: n, ...r }) {
1216
+ return /* @__PURE__ */ g(re, {
1217
+ ...r,
1218
+ ...u({
1219
+ className: e,
1220
+ style: t,
1221
+ styles: f.props(Q.toggles, n)
1222
+ })
1223
+ });
1224
+ }
1225
+ function lt({ className: e, style: t, ...n }) {
1226
+ return /* @__PURE__ */ g(ne, {
1227
+ ...n,
1228
+ ...u({
1229
+ className: e,
1230
+ style: t,
1231
+ styles: { className: "x3nfvp2 x6s0dn4 xl56j7k xunmzkg x16opp91 x1gjsuxi x17tes2r x17oiadl x193iq5w xt970qd x1atzlso xc342km x1ok0vyi x1hz01jw xj57cvi xtqrqnz x1778rvt xj0a0fe x153jb6y xjbqb8w x1ypdohk xhtu79c x1lf1diw x17lu4q8 x1480za7 xwj21n9 x5ezrf1 x13qnu6 x9v5kkp x19rmrnh x1bqaal" }
1232
+ })
1233
+ });
1234
+ }
1235
+ var ut = {
1236
+ Root: $,
1237
+ Indicator: nt
1238
+ }, dt = {
1239
+ Root: rt,
1240
+ Item: it,
1241
+ Indicator: at
1242
+ }, ft = {
1243
+ Root: ot,
1244
+ Thumb: st
1245
+ }, pt = {
1246
+ Root: ct,
1247
+ Item: lt
1248
+ };
1249
+ // packages/forms/src/settings-row.tsx
1250
+ function mt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
1251
+ let a = h(), o = `${n ?? a}-description`;
1252
+ return /* @__PURE__ */ _("div", {
1253
+ role: "group",
1254
+ "aria-labelledby": a,
1255
+ "aria-hidden": r || void 0,
1256
+ inert: r || void 0,
1257
+ className: "x12h1iku x180ayaa x78zum5 x1a02dak x6s0dn4 x1qughib xaml1ju x1ydxw8w xso031l x1q0q8m5 x1qndepd x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft",
1258
+ children: [/* @__PURE__ */ _("div", {
1259
+ className: "x78zum5 xdt5ytf xunmzkg xeuugli xk30mkq",
1260
+ children: [/* @__PURE__ */ g("label", {
1261
+ id: a,
1262
+ htmlFor: n,
1263
+ className: "xk4h15q xj0a0fe",
1264
+ children: e
1265
+ }), t !== void 0 && /* @__PURE__ */ g("p", {
1266
+ id: o,
1267
+ className: "x1ghz6dp x153jb6y xj0a0fe",
1268
+ children: t
1269
+ })]
1270
+ }), /* @__PURE__ */ g("div", {
1271
+ className: "xrvj5dj x6s0dn4 x1mkdm3x x1so1ns2 x2nl74q xeuugli x193iq5w x2lah0s x18ssw31",
1272
+ children: i
1273
+ })]
1274
+ });
1275
+ }
1276
+ // packages/forms/src/settings-section.tsx
1277
+ function ht({ title: e, description: t, children: n }) {
1278
+ let r = h();
1279
+ return /* @__PURE__ */ _("section", {
1280
+ "aria-labelledby": r,
1281
+ className: "xrvj5dj x1mkdm3x x1n8ia3y xeuugli",
1282
+ children: [/* @__PURE__ */ _("header", {
1283
+ className: "xrvj5dj xunmzkg xeuugli",
1284
+ children: [/* @__PURE__ */ g(l, {
1285
+ id: r,
1286
+ children: e
1287
+ }), t !== void 0 && /* @__PURE__ */ g(s, { children: t })]
1288
+ }), /* @__PURE__ */ g("div", { children: n })]
1289
+ });
1290
+ }
1291
+ export { de as _, ft as a, He as c, Le as d, Me as f, Fe as g, Pe as h, dt as i, Ue as l, Ne as m, mt as n, pt as o, je as p, ut as r, tt as s, ht as t, We as u, ue as v };