@mechane-ai/elements 0.8.0 → 0.9.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.
- package/README.md +60 -39
- package/dist/ai.js +231 -170
- package/dist/assets/stylex.css +402 -164
- package/dist/{categorical-values-dGbaZ0tp.js → categorical-values-DYRiw5Qd.js} +2 -2
- package/dist/{chart-frame-DgPdIguO.js → chart-frame-RL1hCWBC.js} +1 -1
- package/dist/{chart-input-Sac4StHN.js → chart-input-Bm3ot1yD.js} +2 -2
- package/dist/charts/cartesian.js +5 -5
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +1 -1
- package/dist/charts.js +1 -1
- package/dist/{code-block-BRNdtTaP.js → code-block-B30xQKqg.js} +1 -1
- package/dist/collections.js +305 -261
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +2 -2
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +4 -4
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-Dd8gapwc.js → content-link-BrPrpBof.js} +1 -1
- package/dist/content.js +35 -35
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +7 -7
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +138 -86
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +2 -1
- package/dist/packages/ai/src/index.d.ts +4 -0
- package/dist/packages/ai/src/message-action.d.ts +10 -0
- package/dist/packages/ai/src/message-boundary.d.ts +6 -0
- package/dist/packages/ai/src/message.d.ts +2 -1
- package/dist/packages/collections/src/data-table.d.ts +6 -0
- package/dist/packages/collections/src/index.d.ts +2 -2
- package/dist/packages/collections/src/timeline.d.ts +10 -3
- package/dist/packages/core/src/actions.d.ts +7 -0
- package/dist/packages/core/src/agent-avatar-glyphs.d.ts +5 -0
- package/dist/packages/core/src/agent-avatar.d.ts +17 -0
- package/dist/packages/core/src/copy-value.d.ts +2 -1
- package/dist/packages/core/src/index.d.ts +5 -1
- package/dist/packages/forms/src/agent-avatar-picker.d.ts +8 -0
- package/dist/packages/forms/src/field-styles.d.ts +19 -0
- package/dist/packages/forms/src/forms.d.ts +2 -1
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +52 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/index.d.ts +2 -1
- package/dist/packages/layout/src/page-toolbar.d.ts +3 -1
- package/dist/packages/layout/src/sidebar.d.ts +4 -0
- package/dist/packages/layout/src/view-stack.d.ts +13 -0
- package/dist/packages/layout/src/workbench.d.ts +5 -2
- package/dist/{pierre-tree-DdE1boiT.js → pierre-tree-CRk09rx7.js} +2 -2
- package/dist/{src-Eg_ytPjv.js → src-Cc0Sadzr.js} +376 -293
- package/dist/{src-DV0BNk1M.js → src-DuuAmS-c.js} +1 -1
- package/dist/src-elMBQ2Dh.js +1087 -0
- package/dist/theme.js +1 -1
- package/dist/tokens.js +61 -10
- package/package.json +1 -1
- package/packages/foundations/src/tokens.stylex.ts +54 -0
- package/dist/src-Bc5sEhdO.js +0 -680
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./style-composition-uYlczSsB.js";
|
|
2
|
-
import {
|
|
3
|
-
import { mergeProps as
|
|
4
|
-
import * as
|
|
5
|
-
import { useId as
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { Check as
|
|
8
|
-
import { Combobox as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { Switch as
|
|
19
|
-
import { Toggle as
|
|
20
|
-
import { ToggleGroup as
|
|
2
|
+
import { _ as t, b as n, i as r, s as i, y as a } from "./src-elMBQ2Dh.js";
|
|
3
|
+
import { mergeProps as o } from "@base-ui/react/merge-props";
|
|
4
|
+
import * as s from "@stylexjs/stylex";
|
|
5
|
+
import { useId as c } from "react";
|
|
6
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
|
+
import { Check as d, ChevronDown as f, X as p } from "lucide-react";
|
|
8
|
+
import { Combobox as m } from "@base-ui/react/combobox";
|
|
9
|
+
import { Radio as h } from "@base-ui/react/radio";
|
|
10
|
+
import { RadioGroup as g } from "@base-ui/react/radio-group";
|
|
11
|
+
import { Fieldset as _ } from "@base-ui/react/fieldset";
|
|
12
|
+
import { Input as v } from "@base-ui/react/input";
|
|
13
|
+
import { NumberField as y } from "@base-ui/react/number-field";
|
|
14
|
+
import { Slider as b } from "@base-ui/react/slider";
|
|
15
|
+
import { Field as x } from "@base-ui/react/field";
|
|
16
|
+
import { Select as S } from "@base-ui/react/select";
|
|
17
|
+
import { Checkbox as C } from "@base-ui/react/checkbox";
|
|
18
|
+
import { Switch as w } from "@base-ui/react/switch";
|
|
19
|
+
import { Toggle as ee } from "@base-ui/react/toggle";
|
|
20
|
+
import { ToggleGroup as T } from "@base-ui/react/toggle-group";
|
|
21
21
|
// packages/forms/src/field-styles.ts
|
|
22
|
-
var
|
|
22
|
+
var E = {
|
|
23
23
|
root: {
|
|
24
24
|
k1xSpc: "x78zum5",
|
|
25
25
|
kXwgrk: "xdt5ytf",
|
|
@@ -86,7 +86,22 @@ var S = {
|
|
|
86
86
|
kskxy: "x1y3glee",
|
|
87
87
|
$$css: !0
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, te = {
|
|
90
|
+
field: { $$css: !0 },
|
|
91
|
+
plain: {
|
|
92
|
+
kAzted: "x16exltd",
|
|
93
|
+
kskxy: "x1y3glee",
|
|
94
|
+
kOwNse: "x5f5z56",
|
|
95
|
+
kHenm0: "xtt52l0",
|
|
96
|
+
kmVPX3: "x1717udv",
|
|
97
|
+
kMzoRj: "xc342km",
|
|
98
|
+
kaIpWk: "x2u8bby",
|
|
99
|
+
kWkggS: "xjbqb8w",
|
|
100
|
+
k7shQP: "xi5y0ii",
|
|
101
|
+
kD2jPA: "x1oqui1x",
|
|
102
|
+
$$css: !0
|
|
103
|
+
}
|
|
104
|
+
}, D = {
|
|
90
105
|
sm: {
|
|
91
106
|
kAzted: "xaeotn9 xwu7q15",
|
|
92
107
|
k8WAf4: "x1hmw7ec",
|
|
@@ -94,7 +109,7 @@ var S = {
|
|
|
94
109
|
$$css: !0
|
|
95
110
|
},
|
|
96
111
|
md: { $$css: !0 }
|
|
97
|
-
},
|
|
112
|
+
}, O = {
|
|
98
113
|
trigger: {
|
|
99
114
|
k1xSpc: "x3nfvp2",
|
|
100
115
|
kB7OPa: "x9f619",
|
|
@@ -196,7 +211,7 @@ var S = {
|
|
|
196
211
|
kHjlTd: "xj0a0fe",
|
|
197
212
|
$$css: !0
|
|
198
213
|
}
|
|
199
|
-
},
|
|
214
|
+
}, k = {
|
|
200
215
|
inputGroup: {
|
|
201
216
|
kVAEAm: "x1n2onr6",
|
|
202
217
|
k1xSpc: "x78zum5",
|
|
@@ -221,46 +236,46 @@ var S = {
|
|
|
221
236
|
}
|
|
222
237
|
};
|
|
223
238
|
function ne(e) {
|
|
224
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ l(m.Root, { ...e });
|
|
225
240
|
}
|
|
226
|
-
function
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
...
|
|
241
|
+
function A({ className: t, style: n, xstyle: r, ...i }) {
|
|
242
|
+
return /* @__PURE__ */ l(m.InputGroup, {
|
|
243
|
+
...i,
|
|
229
244
|
...e({
|
|
230
245
|
className: t,
|
|
231
246
|
style: n,
|
|
232
|
-
styles:
|
|
247
|
+
styles: s.props(k.inputGroup, r)
|
|
233
248
|
})
|
|
234
249
|
});
|
|
235
250
|
}
|
|
236
|
-
function
|
|
237
|
-
return /* @__PURE__ */
|
|
251
|
+
function j({ className: t, style: n, ...r }) {
|
|
252
|
+
return /* @__PURE__ */ l(m.Label, {
|
|
238
253
|
...r,
|
|
239
254
|
...e({
|
|
240
255
|
className: t,
|
|
241
256
|
style: n,
|
|
242
|
-
styles:
|
|
257
|
+
styles: s.props(E.label)
|
|
243
258
|
})
|
|
244
259
|
});
|
|
245
260
|
}
|
|
246
|
-
function
|
|
247
|
-
return /* @__PURE__ */
|
|
261
|
+
function M(e) {
|
|
262
|
+
return /* @__PURE__ */ l(m.Value, { ...e });
|
|
248
263
|
}
|
|
249
|
-
function
|
|
250
|
-
return /* @__PURE__ */
|
|
264
|
+
function N({ className: t, style: n, ...r }) {
|
|
265
|
+
return /* @__PURE__ */ l(m.Input, {
|
|
251
266
|
...r,
|
|
252
267
|
...e({
|
|
253
268
|
className: t,
|
|
254
269
|
style: n,
|
|
255
|
-
styles:
|
|
270
|
+
styles: s.props(E.input, k.input)
|
|
256
271
|
})
|
|
257
272
|
});
|
|
258
273
|
}
|
|
259
|
-
function
|
|
274
|
+
function P({ children: t = /* @__PURE__ */ l(f, {
|
|
260
275
|
size: 16,
|
|
261
276
|
"aria-hidden": "true"
|
|
262
277
|
}), "aria-label": n = "Show options", className: r, style: i, ...a }) {
|
|
263
|
-
return /* @__PURE__ */
|
|
278
|
+
return /* @__PURE__ */ l(m.Trigger, {
|
|
264
279
|
...a,
|
|
265
280
|
"aria-label": n,
|
|
266
281
|
...e({
|
|
@@ -271,11 +286,11 @@ function A({ children: t = /* @__PURE__ */ o(l, {
|
|
|
271
286
|
children: t
|
|
272
287
|
});
|
|
273
288
|
}
|
|
274
|
-
function
|
|
289
|
+
function F({ children: t = /* @__PURE__ */ l(p, {
|
|
275
290
|
size: 16,
|
|
276
291
|
"aria-hidden": "true"
|
|
277
292
|
}), "aria-label": n = "Clear selection", className: r, style: i, ...a }) {
|
|
278
|
-
return /* @__PURE__ */
|
|
293
|
+
return /* @__PURE__ */ l(m.Clear, {
|
|
279
294
|
...a,
|
|
280
295
|
"aria-label": n,
|
|
281
296
|
...e({
|
|
@@ -286,29 +301,29 @@ function j({ children: t = /* @__PURE__ */ o(u, {
|
|
|
286
301
|
children: t
|
|
287
302
|
});
|
|
288
303
|
}
|
|
289
|
-
function
|
|
290
|
-
return /* @__PURE__ */
|
|
291
|
-
...
|
|
304
|
+
function I({ sideOffset: t = 4, className: n, style: r, xstyle: i, ...a }) {
|
|
305
|
+
return /* @__PURE__ */ l(m.Positioner, {
|
|
306
|
+
...a,
|
|
292
307
|
sideOffset: t,
|
|
293
308
|
...e({
|
|
294
309
|
className: n,
|
|
295
310
|
style: r,
|
|
296
|
-
styles:
|
|
311
|
+
styles: s.props(O.positioner, i)
|
|
297
312
|
})
|
|
298
313
|
});
|
|
299
314
|
}
|
|
300
|
-
function
|
|
301
|
-
return /* @__PURE__ */
|
|
315
|
+
function L({ className: t, style: n, ...r }) {
|
|
316
|
+
return /* @__PURE__ */ l(m.Popup, {
|
|
302
317
|
...r,
|
|
303
318
|
...e({
|
|
304
319
|
className: t,
|
|
305
320
|
style: n,
|
|
306
|
-
styles:
|
|
321
|
+
styles: s.props(O.popup)
|
|
307
322
|
})
|
|
308
323
|
});
|
|
309
324
|
}
|
|
310
|
-
function
|
|
311
|
-
return /* @__PURE__ */
|
|
325
|
+
function R({ className: t, style: n, ...r }) {
|
|
326
|
+
return /* @__PURE__ */ l(m.List, {
|
|
312
327
|
...r,
|
|
313
328
|
...e({
|
|
314
329
|
className: t,
|
|
@@ -317,32 +332,32 @@ function P({ className: t, style: n, ...r }) {
|
|
|
317
332
|
})
|
|
318
333
|
});
|
|
319
334
|
}
|
|
320
|
-
function
|
|
321
|
-
return /* @__PURE__ */
|
|
335
|
+
function z({ className: t, style: n, ...r }) {
|
|
336
|
+
return /* @__PURE__ */ l(m.Item, {
|
|
322
337
|
...r,
|
|
323
338
|
...e({
|
|
324
339
|
className: t,
|
|
325
340
|
style: n,
|
|
326
|
-
styles:
|
|
341
|
+
styles: s.props(O.option)
|
|
327
342
|
})
|
|
328
343
|
});
|
|
329
344
|
}
|
|
330
|
-
function
|
|
345
|
+
function B({ children: t = /* @__PURE__ */ l(d, {
|
|
331
346
|
size: 16,
|
|
332
347
|
"aria-hidden": "true"
|
|
333
|
-
}), className: n, style: r, ...
|
|
334
|
-
return /* @__PURE__ */
|
|
335
|
-
...
|
|
348
|
+
}), className: n, style: r, ...i }) {
|
|
349
|
+
return /* @__PURE__ */ l(m.ItemIndicator, {
|
|
350
|
+
...i,
|
|
336
351
|
...e({
|
|
337
352
|
className: n,
|
|
338
353
|
style: r,
|
|
339
|
-
styles:
|
|
354
|
+
styles: s.props(O.icon)
|
|
340
355
|
}),
|
|
341
356
|
children: t
|
|
342
357
|
});
|
|
343
358
|
}
|
|
344
|
-
function
|
|
345
|
-
return /* @__PURE__ */
|
|
359
|
+
function V({ className: t, style: n, ...r }) {
|
|
360
|
+
return /* @__PURE__ */ l(m.Empty, {
|
|
346
361
|
...r,
|
|
347
362
|
...e({
|
|
348
363
|
className: t,
|
|
@@ -351,8 +366,8 @@ function L({ className: t, style: n, ...r }) {
|
|
|
351
366
|
})
|
|
352
367
|
});
|
|
353
368
|
}
|
|
354
|
-
function
|
|
355
|
-
return /* @__PURE__ */
|
|
369
|
+
function H({ className: t, style: n, ...r }) {
|
|
370
|
+
return /* @__PURE__ */ l(m.Status, {
|
|
356
371
|
...r,
|
|
357
372
|
...e({
|
|
358
373
|
className: t,
|
|
@@ -361,8 +376,8 @@ function R({ className: t, style: n, ...r }) {
|
|
|
361
376
|
})
|
|
362
377
|
});
|
|
363
378
|
}
|
|
364
|
-
function
|
|
365
|
-
return /* @__PURE__ */
|
|
379
|
+
function U({ className: t, style: n, ...r }) {
|
|
380
|
+
return /* @__PURE__ */ l(m.GroupLabel, {
|
|
366
381
|
...r,
|
|
367
382
|
...e({
|
|
368
383
|
className: t,
|
|
@@ -371,8 +386,8 @@ function z({ className: t, style: n, ...r }) {
|
|
|
371
386
|
})
|
|
372
387
|
});
|
|
373
388
|
}
|
|
374
|
-
function
|
|
375
|
-
return /* @__PURE__ */
|
|
389
|
+
function W({ className: t, style: n, ...r }) {
|
|
390
|
+
return /* @__PURE__ */ l(m.Chips, {
|
|
376
391
|
...r,
|
|
377
392
|
...e({
|
|
378
393
|
className: t,
|
|
@@ -381,8 +396,8 @@ function B({ className: t, style: n, ...r }) {
|
|
|
381
396
|
})
|
|
382
397
|
});
|
|
383
398
|
}
|
|
384
|
-
function
|
|
385
|
-
return /* @__PURE__ */
|
|
399
|
+
function G({ className: t, style: n, ...r }) {
|
|
400
|
+
return /* @__PURE__ */ l(m.Chip, {
|
|
386
401
|
...r,
|
|
387
402
|
...e({
|
|
388
403
|
className: t,
|
|
@@ -391,11 +406,11 @@ function V({ className: t, style: n, ...r }) {
|
|
|
391
406
|
})
|
|
392
407
|
});
|
|
393
408
|
}
|
|
394
|
-
function
|
|
409
|
+
function K({ children: t = /* @__PURE__ */ l(p, {
|
|
395
410
|
size: 14,
|
|
396
411
|
"aria-hidden": "true"
|
|
397
412
|
}), className: n, style: r, ...i }) {
|
|
398
|
-
return /* @__PURE__ */
|
|
413
|
+
return /* @__PURE__ */ l(m.ChipRemove, {
|
|
399
414
|
...i,
|
|
400
415
|
...e({
|
|
401
416
|
className: n,
|
|
@@ -405,29 +420,97 @@ function H({ children: t = /* @__PURE__ */ o(u, {
|
|
|
405
420
|
children: t
|
|
406
421
|
});
|
|
407
422
|
}
|
|
408
|
-
var
|
|
423
|
+
var q = {
|
|
409
424
|
Root: ne,
|
|
410
|
-
Label:
|
|
411
|
-
InputGroup:
|
|
412
|
-
Input:
|
|
413
|
-
Trigger:
|
|
414
|
-
Clear:
|
|
415
|
-
Portal:
|
|
416
|
-
Positioner:
|
|
417
|
-
Popup:
|
|
418
|
-
List:
|
|
419
|
-
Item:
|
|
420
|
-
ItemIndicator:
|
|
421
|
-
Empty:
|
|
422
|
-
Status:
|
|
423
|
-
Group:
|
|
424
|
-
GroupLabel:
|
|
425
|
-
Chips:
|
|
426
|
-
Chip:
|
|
427
|
-
ChipRemove:
|
|
428
|
-
Value:
|
|
429
|
-
Collection:
|
|
430
|
-
}
|
|
425
|
+
Label: j,
|
|
426
|
+
InputGroup: A,
|
|
427
|
+
Input: N,
|
|
428
|
+
Trigger: P,
|
|
429
|
+
Clear: F,
|
|
430
|
+
Portal: m.Portal,
|
|
431
|
+
Positioner: I,
|
|
432
|
+
Popup: L,
|
|
433
|
+
List: R,
|
|
434
|
+
Item: z,
|
|
435
|
+
ItemIndicator: B,
|
|
436
|
+
Empty: V,
|
|
437
|
+
Status: H,
|
|
438
|
+
Group: m.Group,
|
|
439
|
+
GroupLabel: U,
|
|
440
|
+
Chips: W,
|
|
441
|
+
Chip: G,
|
|
442
|
+
ChipRemove: K,
|
|
443
|
+
Value: M,
|
|
444
|
+
Collection: m.Collection
|
|
445
|
+
};
|
|
446
|
+
// packages/forms/src/agent-avatar-picker.tsx
|
|
447
|
+
function J({ value: e, onValueChange: r, disabled: i = !1 }) {
|
|
448
|
+
let o = c(), s = c();
|
|
449
|
+
return /* @__PURE__ */ u("div", {
|
|
450
|
+
className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xeuugli x193iq5w x16m5f1z",
|
|
451
|
+
children: [/* @__PURE__ */ u("div", {
|
|
452
|
+
className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
|
|
453
|
+
children: [/* @__PURE__ */ l("span", {
|
|
454
|
+
id: o,
|
|
455
|
+
className: "x153jb6y xy8obcc xas2l8k",
|
|
456
|
+
children: "Shape"
|
|
457
|
+
}), /* @__PURE__ */ l(g, {
|
|
458
|
+
"aria-labelledby": o,
|
|
459
|
+
value: e.shape,
|
|
460
|
+
onValueChange: (t) => r({
|
|
461
|
+
...e,
|
|
462
|
+
shape: t
|
|
463
|
+
}),
|
|
464
|
+
disabled: i,
|
|
465
|
+
className: "xrvj5dj x135t7h x11iowk6 xunmzkg",
|
|
466
|
+
children: n.map((n) => /* @__PURE__ */ l(h.Root, {
|
|
467
|
+
value: n,
|
|
468
|
+
"aria-label": n,
|
|
469
|
+
title: n,
|
|
470
|
+
className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x1udcv4t xidce53 xaeotn9 xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d x1ok0vyi xjbqb8w x1ypdohk x1bn55bi xgm7wsc xvwfb5p x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
|
|
471
|
+
children: /* @__PURE__ */ l(t, {
|
|
472
|
+
seed: n,
|
|
473
|
+
appearance: {
|
|
474
|
+
...e,
|
|
475
|
+
shape: n
|
|
476
|
+
}
|
|
477
|
+
})
|
|
478
|
+
}, n))
|
|
479
|
+
})]
|
|
480
|
+
}), /* @__PURE__ */ u("div", {
|
|
481
|
+
className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
|
|
482
|
+
children: [/* @__PURE__ */ l("span", {
|
|
483
|
+
id: s,
|
|
484
|
+
className: "x153jb6y xy8obcc xas2l8k",
|
|
485
|
+
children: "Color"
|
|
486
|
+
}), /* @__PURE__ */ l(g, {
|
|
487
|
+
"aria-labelledby": s,
|
|
488
|
+
value: e.color,
|
|
489
|
+
onValueChange: (t) => r({
|
|
490
|
+
...e,
|
|
491
|
+
color: t
|
|
492
|
+
}),
|
|
493
|
+
disabled: i,
|
|
494
|
+
className: "xrvj5dj x135t7h x11iowk6 xunmzkg",
|
|
495
|
+
children: a.map((n) => /* @__PURE__ */ l(h.Root, {
|
|
496
|
+
value: n,
|
|
497
|
+
"aria-label": n,
|
|
498
|
+
title: n,
|
|
499
|
+
className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x1udcv4t xidce53 xaeotn9 xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d x1ok0vyi xjbqb8w x1ypdohk x1bn55bi xgm7wsc xvwfb5p x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
|
|
500
|
+
children: /* @__PURE__ */ l(t, {
|
|
501
|
+
seed: n,
|
|
502
|
+
appearance: {
|
|
503
|
+
...e,
|
|
504
|
+
color: n
|
|
505
|
+
}
|
|
506
|
+
})
|
|
507
|
+
}, n))
|
|
508
|
+
})]
|
|
509
|
+
})]
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
// packages/forms/src/form-controls.tsx
|
|
513
|
+
var Y = {
|
|
431
514
|
fieldset: {
|
|
432
515
|
k1xSpc: "x78zum5",
|
|
433
516
|
kXwgrk: "xdt5ytf",
|
|
@@ -493,18 +576,18 @@ var U = {
|
|
|
493
576
|
$$css: !0
|
|
494
577
|
}
|
|
495
578
|
};
|
|
496
|
-
function
|
|
497
|
-
return /* @__PURE__ */
|
|
498
|
-
...
|
|
579
|
+
function X({ className: t, style: n, xstyle: r, ...i }) {
|
|
580
|
+
return /* @__PURE__ */ l(_.Root, {
|
|
581
|
+
...i,
|
|
499
582
|
...e({
|
|
500
583
|
className: t,
|
|
501
584
|
style: n,
|
|
502
|
-
styles:
|
|
585
|
+
styles: s.props(Y.fieldset, r)
|
|
503
586
|
})
|
|
504
587
|
});
|
|
505
588
|
}
|
|
506
|
-
function
|
|
507
|
-
return /* @__PURE__ */
|
|
589
|
+
function Z({ className: t, style: n, ...r }) {
|
|
590
|
+
return /* @__PURE__ */ l(_.Legend, {
|
|
508
591
|
...r,
|
|
509
592
|
...e({
|
|
510
593
|
className: t,
|
|
@@ -513,34 +596,34 @@ function K({ className: t, style: n, ...r }) {
|
|
|
513
596
|
})
|
|
514
597
|
});
|
|
515
598
|
}
|
|
516
|
-
function
|
|
517
|
-
return /* @__PURE__ */
|
|
599
|
+
function re({ xstyle: e, ...t }) {
|
|
600
|
+
return /* @__PURE__ */ l("div", { ...o(s.props(Y.inputGroup, e), t) });
|
|
518
601
|
}
|
|
519
|
-
function
|
|
520
|
-
return /* @__PURE__ */
|
|
602
|
+
function ie(e) {
|
|
603
|
+
return /* @__PURE__ */ l("span", { ...o({ className: "x3nfvp2 x2lah0s x6s0dn4 x1atzlso x153jb6y x1hz01jw xtqrqnz x1778rvt" }, e) });
|
|
521
604
|
}
|
|
522
|
-
function
|
|
523
|
-
return /* @__PURE__ */
|
|
524
|
-
...
|
|
605
|
+
function ae({ className: t, style: n, xstyle: r, size: i = "md", ...a }) {
|
|
606
|
+
return /* @__PURE__ */ l(v, {
|
|
607
|
+
...a,
|
|
525
608
|
...e({
|
|
526
609
|
className: t,
|
|
527
610
|
style: n,
|
|
528
|
-
styles:
|
|
611
|
+
styles: s.props(E.input, D[i], Y.embedded, r)
|
|
529
612
|
})
|
|
530
613
|
});
|
|
531
614
|
}
|
|
532
|
-
function
|
|
533
|
-
return /* @__PURE__ */
|
|
534
|
-
...
|
|
615
|
+
function oe({ className: t, style: n, xstyle: r, ...i }) {
|
|
616
|
+
return /* @__PURE__ */ l(y.Root, {
|
|
617
|
+
...i,
|
|
535
618
|
...e({
|
|
536
619
|
className: t,
|
|
537
620
|
style: n,
|
|
538
|
-
styles:
|
|
621
|
+
styles: s.props(E.root, r)
|
|
539
622
|
})
|
|
540
623
|
});
|
|
541
624
|
}
|
|
542
|
-
function
|
|
543
|
-
return /* @__PURE__ */
|
|
625
|
+
function se({ className: t, style: n, ...r }) {
|
|
626
|
+
return /* @__PURE__ */ l(y.Group, {
|
|
544
627
|
...r,
|
|
545
628
|
...e({
|
|
546
629
|
className: t,
|
|
@@ -549,18 +632,18 @@ function Z({ className: t, style: n, ...r }) {
|
|
|
549
632
|
})
|
|
550
633
|
});
|
|
551
634
|
}
|
|
552
|
-
function
|
|
553
|
-
return /* @__PURE__ */
|
|
635
|
+
function ce({ className: t, style: n, ...r }) {
|
|
636
|
+
return /* @__PURE__ */ l(y.Input, {
|
|
554
637
|
...r,
|
|
555
638
|
...e({
|
|
556
639
|
className: t,
|
|
557
640
|
style: n,
|
|
558
|
-
styles:
|
|
641
|
+
styles: s.props(E.input, Y.embedded, Y.numberInput)
|
|
559
642
|
})
|
|
560
643
|
});
|
|
561
644
|
}
|
|
562
|
-
function
|
|
563
|
-
return /* @__PURE__ */
|
|
645
|
+
function le({ children: t = "+", "aria-label": n = "Increase", className: r, style: i, ...a }) {
|
|
646
|
+
return /* @__PURE__ */ l(y.Increment, {
|
|
564
647
|
...a,
|
|
565
648
|
"aria-label": n,
|
|
566
649
|
...e({
|
|
@@ -571,8 +654,8 @@ function ie({ children: t = "+", "aria-label": n = "Increase", className: r, sty
|
|
|
571
654
|
children: t
|
|
572
655
|
});
|
|
573
656
|
}
|
|
574
|
-
function
|
|
575
|
-
return /* @__PURE__ */
|
|
657
|
+
function ue({ children: t = "−", "aria-label": n = "Decrease", className: r, style: i, ...a }) {
|
|
658
|
+
return /* @__PURE__ */ l(y.Decrement, {
|
|
576
659
|
...a,
|
|
577
660
|
"aria-label": n,
|
|
578
661
|
...e({
|
|
@@ -583,18 +666,18 @@ function ae({ children: t = "−", "aria-label": n = "Decrease", className: r, s
|
|
|
583
666
|
children: t
|
|
584
667
|
});
|
|
585
668
|
}
|
|
586
|
-
function
|
|
587
|
-
return /* @__PURE__ */
|
|
588
|
-
...
|
|
669
|
+
function de({ className: t, style: n, xstyle: r, ...i }) {
|
|
670
|
+
return /* @__PURE__ */ l(b.Root, {
|
|
671
|
+
...i,
|
|
589
672
|
...e({
|
|
590
673
|
className: t,
|
|
591
674
|
style: n,
|
|
592
|
-
styles:
|
|
675
|
+
styles: s.props(Y.slider, r)
|
|
593
676
|
})
|
|
594
677
|
});
|
|
595
678
|
}
|
|
596
|
-
function
|
|
597
|
-
return /* @__PURE__ */
|
|
679
|
+
function fe({ className: t, style: n, ...r }) {
|
|
680
|
+
return /* @__PURE__ */ l(b.Control, {
|
|
598
681
|
...r,
|
|
599
682
|
...e({
|
|
600
683
|
className: t,
|
|
@@ -603,8 +686,8 @@ function se({ className: t, style: n, ...r }) {
|
|
|
603
686
|
})
|
|
604
687
|
});
|
|
605
688
|
}
|
|
606
|
-
function
|
|
607
|
-
return /* @__PURE__ */
|
|
689
|
+
function pe({ className: t, style: n, ...r }) {
|
|
690
|
+
return /* @__PURE__ */ l(b.Track, {
|
|
608
691
|
...r,
|
|
609
692
|
...e({
|
|
610
693
|
className: t,
|
|
@@ -613,8 +696,8 @@ function ce({ className: t, style: n, ...r }) {
|
|
|
613
696
|
})
|
|
614
697
|
});
|
|
615
698
|
}
|
|
616
|
-
function
|
|
617
|
-
return /* @__PURE__ */
|
|
699
|
+
function me({ className: t, style: n, ...r }) {
|
|
700
|
+
return /* @__PURE__ */ l(b.Indicator, {
|
|
618
701
|
...r,
|
|
619
702
|
...e({
|
|
620
703
|
className: t,
|
|
@@ -623,8 +706,8 @@ function le({ className: t, style: n, ...r }) {
|
|
|
623
706
|
})
|
|
624
707
|
});
|
|
625
708
|
}
|
|
626
|
-
function
|
|
627
|
-
return /* @__PURE__ */
|
|
709
|
+
function he({ className: t, style: n, ...r }) {
|
|
710
|
+
return /* @__PURE__ */ l(b.Thumb, {
|
|
628
711
|
...r,
|
|
629
712
|
...e({
|
|
630
713
|
className: t,
|
|
@@ -633,18 +716,18 @@ function ue({ className: t, style: n, ...r }) {
|
|
|
633
716
|
})
|
|
634
717
|
});
|
|
635
718
|
}
|
|
636
|
-
function
|
|
637
|
-
return /* @__PURE__ */
|
|
719
|
+
function ge({ className: t, style: n, ...r }) {
|
|
720
|
+
return /* @__PURE__ */ l(b.Label, {
|
|
638
721
|
...r,
|
|
639
722
|
...e({
|
|
640
723
|
className: t,
|
|
641
724
|
style: n,
|
|
642
|
-
styles:
|
|
725
|
+
styles: s.props(E.label)
|
|
643
726
|
})
|
|
644
727
|
});
|
|
645
728
|
}
|
|
646
|
-
function
|
|
647
|
-
return /* @__PURE__ */
|
|
729
|
+
function _e({ className: t, style: n, ...r }) {
|
|
730
|
+
return /* @__PURE__ */ l(b.Value, {
|
|
648
731
|
...r,
|
|
649
732
|
...e({
|
|
650
733
|
className: t,
|
|
@@ -653,215 +736,215 @@ function fe({ className: t, style: n, ...r }) {
|
|
|
653
736
|
})
|
|
654
737
|
});
|
|
655
738
|
}
|
|
656
|
-
function
|
|
657
|
-
return /* @__PURE__ */
|
|
658
|
-
...
|
|
739
|
+
function ve({ className: t, style: n, xstyle: r, ...i }) {
|
|
740
|
+
return /* @__PURE__ */ l(v, {
|
|
741
|
+
...i,
|
|
659
742
|
type: "file",
|
|
660
743
|
...e({
|
|
661
744
|
className: t,
|
|
662
745
|
style: n,
|
|
663
|
-
styles:
|
|
746
|
+
styles: s.props(E.input, Y.file, r)
|
|
664
747
|
})
|
|
665
748
|
});
|
|
666
749
|
}
|
|
667
|
-
var
|
|
668
|
-
Root: G,
|
|
669
|
-
Legend: K
|
|
670
|
-
}, he = {
|
|
671
|
-
Root: q,
|
|
672
|
-
Addon: J,
|
|
673
|
-
Input: Y
|
|
674
|
-
}, ge = {
|
|
750
|
+
var ye = {
|
|
675
751
|
Root: X,
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
752
|
+
Legend: Z
|
|
753
|
+
}, be = {
|
|
754
|
+
Root: re,
|
|
755
|
+
Addon: ie,
|
|
756
|
+
Input: ae
|
|
757
|
+
}, xe = {
|
|
681
758
|
Root: oe,
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
759
|
+
Group: se,
|
|
760
|
+
Input: ce,
|
|
761
|
+
Increment: le,
|
|
762
|
+
Decrement: ue
|
|
763
|
+
}, Se = {
|
|
764
|
+
Root: de,
|
|
765
|
+
Label: ge,
|
|
766
|
+
Value: _e,
|
|
767
|
+
Control: fe,
|
|
768
|
+
Track: pe,
|
|
769
|
+
Indicator: me,
|
|
770
|
+
Thumb: he
|
|
688
771
|
};
|
|
689
772
|
// packages/forms/src/forms.tsx
|
|
690
|
-
function
|
|
691
|
-
return /* @__PURE__ */
|
|
692
|
-
...
|
|
773
|
+
function Ce({ className: t, style: n, xstyle: r, ...i }) {
|
|
774
|
+
return /* @__PURE__ */ l(x.Root, {
|
|
775
|
+
...i,
|
|
693
776
|
...e({
|
|
694
777
|
className: t,
|
|
695
778
|
style: n,
|
|
696
|
-
styles:
|
|
779
|
+
styles: s.props(E.root, r)
|
|
697
780
|
})
|
|
698
781
|
});
|
|
699
782
|
}
|
|
700
|
-
function
|
|
701
|
-
return /* @__PURE__ */
|
|
783
|
+
function we({ className: t, style: n, ...r }) {
|
|
784
|
+
return /* @__PURE__ */ l(x.Label, {
|
|
702
785
|
...r,
|
|
703
786
|
...e({
|
|
704
787
|
className: t,
|
|
705
788
|
style: n,
|
|
706
|
-
styles:
|
|
789
|
+
styles: s.props(E.label)
|
|
707
790
|
})
|
|
708
791
|
});
|
|
709
792
|
}
|
|
710
|
-
function
|
|
711
|
-
return /* @__PURE__ */
|
|
793
|
+
function Te({ className: t, style: n, ...r }) {
|
|
794
|
+
return /* @__PURE__ */ l(x.Description, {
|
|
712
795
|
...r,
|
|
713
796
|
...e({
|
|
714
797
|
className: t,
|
|
715
798
|
style: n,
|
|
716
|
-
styles:
|
|
799
|
+
styles: s.props(E.description)
|
|
717
800
|
})
|
|
718
801
|
});
|
|
719
802
|
}
|
|
720
|
-
function
|
|
721
|
-
return /* @__PURE__ */
|
|
803
|
+
function Ee({ className: t, style: n, ...r }) {
|
|
804
|
+
return /* @__PURE__ */ l(x.Error, {
|
|
722
805
|
...r,
|
|
723
806
|
...e({
|
|
724
807
|
className: t,
|
|
725
808
|
style: n,
|
|
726
|
-
styles:
|
|
809
|
+
styles: s.props(E.error)
|
|
727
810
|
})
|
|
728
811
|
});
|
|
729
812
|
}
|
|
730
|
-
var
|
|
731
|
-
Root:
|
|
732
|
-
Label:
|
|
733
|
-
Description:
|
|
734
|
-
Error:
|
|
813
|
+
var De = {
|
|
814
|
+
Root: Ce,
|
|
815
|
+
Label: we,
|
|
816
|
+
Description: Te,
|
|
817
|
+
Error: Ee
|
|
735
818
|
};
|
|
736
|
-
function
|
|
737
|
-
return /* @__PURE__ */
|
|
738
|
-
...
|
|
819
|
+
function Oe({ className: t, style: n, xstyle: r, size: i = "md", ...a }) {
|
|
820
|
+
return /* @__PURE__ */ l(v, {
|
|
821
|
+
...a,
|
|
739
822
|
...e({
|
|
740
823
|
className: t,
|
|
741
824
|
style: n,
|
|
742
|
-
styles:
|
|
825
|
+
styles: s.props(E.input, D[i], r)
|
|
743
826
|
})
|
|
744
827
|
});
|
|
745
828
|
}
|
|
746
|
-
function
|
|
747
|
-
return /* @__PURE__ */
|
|
748
|
-
value:
|
|
749
|
-
defaultValue:
|
|
829
|
+
function ke({ compact: t = !1, appearance: n = "field", value: r, defaultValue: i, onValueChange: a, name: o, disabled: c, readOnly: u, required: d, className: f, style: p, xstyle: m, ...h }) {
|
|
830
|
+
return /* @__PURE__ */ l(x.Control, {
|
|
831
|
+
value: r,
|
|
832
|
+
defaultValue: i,
|
|
750
833
|
onValueChange: a,
|
|
751
|
-
name:
|
|
834
|
+
name: o,
|
|
752
835
|
disabled: c,
|
|
753
|
-
readOnly:
|
|
754
|
-
required:
|
|
755
|
-
render: /* @__PURE__ */
|
|
836
|
+
readOnly: u,
|
|
837
|
+
required: d,
|
|
838
|
+
render: /* @__PURE__ */ l("textarea", { ...h }),
|
|
756
839
|
...e({
|
|
757
|
-
className:
|
|
758
|
-
style:
|
|
759
|
-
styles:
|
|
840
|
+
className: f,
|
|
841
|
+
style: p,
|
|
842
|
+
styles: s.props(E.input, E.textarea, t && E.compactTextarea, te[n], m)
|
|
760
843
|
})
|
|
761
844
|
});
|
|
762
845
|
}
|
|
763
846
|
// packages/forms/src/select.tsx
|
|
764
|
-
var
|
|
765
|
-
outline:
|
|
766
|
-
ghost:
|
|
847
|
+
var Ae = {
|
|
848
|
+
outline: O.outlined,
|
|
849
|
+
ghost: O.ghost
|
|
767
850
|
};
|
|
768
|
-
function
|
|
769
|
-
return /* @__PURE__ */
|
|
851
|
+
function je(e) {
|
|
852
|
+
return /* @__PURE__ */ l(S.Root, { ...e });
|
|
770
853
|
}
|
|
771
|
-
function
|
|
772
|
-
return /* @__PURE__ */
|
|
773
|
-
...
|
|
854
|
+
function Me({ variant: t = "outline", className: n, style: r, xstyle: i, ...a }) {
|
|
855
|
+
return /* @__PURE__ */ l(S.Trigger, {
|
|
856
|
+
...a,
|
|
774
857
|
...e({
|
|
775
858
|
className: n,
|
|
776
859
|
style: r,
|
|
777
|
-
styles:
|
|
860
|
+
styles: s.props(O.trigger, Ae[t], i)
|
|
778
861
|
})
|
|
779
862
|
});
|
|
780
863
|
}
|
|
781
|
-
function
|
|
782
|
-
return /* @__PURE__ */
|
|
783
|
-
...
|
|
864
|
+
function Ne({ className: t, style: n, xstyle: r, ...i }) {
|
|
865
|
+
return /* @__PURE__ */ l(S.Value, {
|
|
866
|
+
...i,
|
|
784
867
|
...e({
|
|
785
868
|
className: t,
|
|
786
869
|
style: n,
|
|
787
|
-
styles:
|
|
870
|
+
styles: s.props(O.value, r)
|
|
788
871
|
})
|
|
789
872
|
});
|
|
790
873
|
}
|
|
791
|
-
function
|
|
792
|
-
return /* @__PURE__ */
|
|
874
|
+
function Pe({ className: t, style: n, ...r }) {
|
|
875
|
+
return /* @__PURE__ */ l(S.Icon, {
|
|
793
876
|
...r,
|
|
794
877
|
...e({
|
|
795
878
|
className: t,
|
|
796
879
|
style: n,
|
|
797
|
-
styles:
|
|
880
|
+
styles: s.props(O.icon)
|
|
798
881
|
})
|
|
799
882
|
});
|
|
800
883
|
}
|
|
801
|
-
function
|
|
802
|
-
return /* @__PURE__ */
|
|
803
|
-
...
|
|
804
|
-
sideOffset:
|
|
805
|
-
alignItemWithTrigger:
|
|
884
|
+
function Fe({ className: t, style: n, xstyle: r, sideOffset: i = 4, alignItemWithTrigger: a = !1, ...o }) {
|
|
885
|
+
return /* @__PURE__ */ l(S.Positioner, {
|
|
886
|
+
...o,
|
|
887
|
+
sideOffset: i,
|
|
888
|
+
alignItemWithTrigger: a,
|
|
806
889
|
...e({
|
|
807
890
|
className: t,
|
|
808
891
|
style: n,
|
|
809
|
-
styles:
|
|
892
|
+
styles: s.props(O.positioner, r)
|
|
810
893
|
})
|
|
811
894
|
});
|
|
812
895
|
}
|
|
813
|
-
function
|
|
814
|
-
return /* @__PURE__ */
|
|
896
|
+
function Ie({ className: t, style: n, ...r }) {
|
|
897
|
+
return /* @__PURE__ */ l(S.Popup, {
|
|
815
898
|
...r,
|
|
816
899
|
...e({
|
|
817
900
|
className: t,
|
|
818
901
|
style: n,
|
|
819
|
-
styles:
|
|
902
|
+
styles: s.props(O.popup)
|
|
820
903
|
})
|
|
821
904
|
});
|
|
822
905
|
}
|
|
823
|
-
function
|
|
824
|
-
return /* @__PURE__ */
|
|
906
|
+
function Le({ className: t, style: n, ...r }) {
|
|
907
|
+
return /* @__PURE__ */ l(S.Item, {
|
|
825
908
|
...r,
|
|
826
909
|
...e({
|
|
827
910
|
className: t,
|
|
828
911
|
style: n,
|
|
829
|
-
styles:
|
|
912
|
+
styles: s.props(O.option)
|
|
830
913
|
})
|
|
831
914
|
});
|
|
832
915
|
}
|
|
833
|
-
function
|
|
834
|
-
return /* @__PURE__ */
|
|
916
|
+
function Re({ className: t, style: n, ...r }) {
|
|
917
|
+
return /* @__PURE__ */ l(S.ItemText, {
|
|
835
918
|
...r,
|
|
836
919
|
...e({
|
|
837
920
|
className: t,
|
|
838
921
|
style: n,
|
|
839
|
-
styles:
|
|
922
|
+
styles: s.props(O.optionText)
|
|
840
923
|
})
|
|
841
924
|
});
|
|
842
925
|
}
|
|
843
|
-
function
|
|
844
|
-
return /* @__PURE__ */
|
|
926
|
+
function ze({ className: t, style: n, ...r }) {
|
|
927
|
+
return /* @__PURE__ */ l(S.ItemIndicator, {
|
|
845
928
|
...r,
|
|
846
929
|
...e({
|
|
847
930
|
className: t,
|
|
848
931
|
style: n,
|
|
849
|
-
styles:
|
|
932
|
+
styles: s.props(O.icon)
|
|
850
933
|
})
|
|
851
934
|
});
|
|
852
935
|
}
|
|
853
|
-
var
|
|
854
|
-
Root:
|
|
855
|
-
Trigger:
|
|
856
|
-
Value:
|
|
857
|
-
Icon:
|
|
858
|
-
Portal:
|
|
859
|
-
Positioner:
|
|
860
|
-
Popup:
|
|
861
|
-
List:
|
|
862
|
-
Item:
|
|
863
|
-
ItemText:
|
|
864
|
-
ItemIndicator:
|
|
936
|
+
var Be = {
|
|
937
|
+
Root: je,
|
|
938
|
+
Trigger: Me,
|
|
939
|
+
Value: Ne,
|
|
940
|
+
Icon: Pe,
|
|
941
|
+
Portal: S.Portal,
|
|
942
|
+
Positioner: Fe,
|
|
943
|
+
Popup: Ie,
|
|
944
|
+
List: S.List,
|
|
945
|
+
Item: Le,
|
|
946
|
+
ItemText: Re,
|
|
947
|
+
ItemIndicator: ze
|
|
865
948
|
}, Q = {
|
|
866
949
|
choice: {
|
|
867
950
|
kVAEAm: "x1n2onr6",
|
|
@@ -956,18 +1039,18 @@ var Fe = {
|
|
|
956
1039
|
$$css: !0
|
|
957
1040
|
}
|
|
958
1041
|
};
|
|
959
|
-
function
|
|
960
|
-
return /* @__PURE__ */
|
|
961
|
-
...
|
|
1042
|
+
function Ve({ className: t, style: n, xstyle: r, ...i }) {
|
|
1043
|
+
return /* @__PURE__ */ l(C.Root, {
|
|
1044
|
+
...i,
|
|
962
1045
|
...e({
|
|
963
1046
|
className: t,
|
|
964
1047
|
style: n,
|
|
965
|
-
styles:
|
|
1048
|
+
styles: s.props(Q.choice, r)
|
|
966
1049
|
})
|
|
967
1050
|
});
|
|
968
1051
|
}
|
|
969
|
-
function
|
|
970
|
-
return /* @__PURE__ */
|
|
1052
|
+
function $({ children: t, className: n, style: r, ...i }) {
|
|
1053
|
+
return /* @__PURE__ */ l(C.Indicator, {
|
|
971
1054
|
...i,
|
|
972
1055
|
...e({
|
|
973
1056
|
className: n,
|
|
@@ -980,28 +1063,28 @@ function Le({ children: t, className: n, style: r, ...i }) {
|
|
|
980
1063
|
children: t
|
|
981
1064
|
});
|
|
982
1065
|
}
|
|
983
|
-
function
|
|
984
|
-
return /* @__PURE__ */
|
|
985
|
-
...
|
|
1066
|
+
function He({ className: t, style: n, xstyle: r, ...i }) {
|
|
1067
|
+
return /* @__PURE__ */ l(g, {
|
|
1068
|
+
...i,
|
|
986
1069
|
...e({
|
|
987
1070
|
className: t,
|
|
988
1071
|
style: n,
|
|
989
|
-
styles:
|
|
1072
|
+
styles: s.props(Q.group, r)
|
|
990
1073
|
})
|
|
991
1074
|
});
|
|
992
1075
|
}
|
|
993
|
-
function
|
|
994
|
-
return /* @__PURE__ */
|
|
995
|
-
...
|
|
1076
|
+
function Ue({ className: t, style: n, xstyle: r, ...i }) {
|
|
1077
|
+
return /* @__PURE__ */ l(h.Root, {
|
|
1078
|
+
...i,
|
|
996
1079
|
...e({
|
|
997
1080
|
className: t,
|
|
998
1081
|
style: n,
|
|
999
|
-
styles:
|
|
1082
|
+
styles: s.props(Q.choice, Q.radio, r)
|
|
1000
1083
|
})
|
|
1001
1084
|
});
|
|
1002
1085
|
}
|
|
1003
|
-
function
|
|
1004
|
-
return /* @__PURE__ */
|
|
1086
|
+
function We({ className: t, style: n, ...r }) {
|
|
1087
|
+
return /* @__PURE__ */ l(h.Indicator, {
|
|
1005
1088
|
...r,
|
|
1006
1089
|
...e({
|
|
1007
1090
|
className: t,
|
|
@@ -1010,18 +1093,18 @@ function Be({ className: t, style: n, ...r }) {
|
|
|
1010
1093
|
})
|
|
1011
1094
|
});
|
|
1012
1095
|
}
|
|
1013
|
-
function
|
|
1014
|
-
return /* @__PURE__ */
|
|
1015
|
-
...
|
|
1096
|
+
function Ge({ className: t, style: n, xstyle: r, ...i }) {
|
|
1097
|
+
return /* @__PURE__ */ l(w.Root, {
|
|
1098
|
+
...i,
|
|
1016
1099
|
...e({
|
|
1017
1100
|
className: t,
|
|
1018
1101
|
style: n,
|
|
1019
|
-
styles:
|
|
1102
|
+
styles: s.props(Q.switch, r)
|
|
1020
1103
|
})
|
|
1021
1104
|
});
|
|
1022
1105
|
}
|
|
1023
|
-
function
|
|
1024
|
-
return /* @__PURE__ */
|
|
1106
|
+
function Ke({ className: t, style: n, ...r }) {
|
|
1107
|
+
return /* @__PURE__ */ l(w.Thumb, {
|
|
1025
1108
|
...r,
|
|
1026
1109
|
...e({
|
|
1027
1110
|
className: t,
|
|
@@ -1030,18 +1113,18 @@ function $({ className: t, style: n, ...r }) {
|
|
|
1030
1113
|
})
|
|
1031
1114
|
});
|
|
1032
1115
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return /* @__PURE__ */
|
|
1035
|
-
...
|
|
1116
|
+
function qe({ className: t, style: n, xstyle: r, ...i }) {
|
|
1117
|
+
return /* @__PURE__ */ l(T, {
|
|
1118
|
+
...i,
|
|
1036
1119
|
...e({
|
|
1037
1120
|
className: t,
|
|
1038
1121
|
style: n,
|
|
1039
|
-
styles:
|
|
1122
|
+
styles: s.props(Q.toggles, r)
|
|
1040
1123
|
})
|
|
1041
1124
|
});
|
|
1042
1125
|
}
|
|
1043
|
-
function
|
|
1044
|
-
return /* @__PURE__ */
|
|
1126
|
+
function Je({ className: t, style: n, ...r }) {
|
|
1127
|
+
return /* @__PURE__ */ l(ee, {
|
|
1045
1128
|
...r,
|
|
1046
1129
|
...e({
|
|
1047
1130
|
className: t,
|
|
@@ -1050,58 +1133,58 @@ function Ue({ className: t, style: n, ...r }) {
|
|
|
1050
1133
|
})
|
|
1051
1134
|
});
|
|
1052
1135
|
}
|
|
1053
|
-
var
|
|
1054
|
-
Root: Ie,
|
|
1055
|
-
Indicator: Le
|
|
1056
|
-
}, Ge = {
|
|
1057
|
-
Root: Re,
|
|
1058
|
-
Item: ze,
|
|
1059
|
-
Indicator: Be
|
|
1060
|
-
}, Ke = {
|
|
1136
|
+
var Ye = {
|
|
1061
1137
|
Root: Ve,
|
|
1062
|
-
|
|
1063
|
-
},
|
|
1138
|
+
Indicator: $
|
|
1139
|
+
}, Xe = {
|
|
1064
1140
|
Root: He,
|
|
1065
|
-
Item: Ue
|
|
1141
|
+
Item: Ue,
|
|
1142
|
+
Indicator: We
|
|
1143
|
+
}, Ze = {
|
|
1144
|
+
Root: Ge,
|
|
1145
|
+
Thumb: Ke
|
|
1146
|
+
}, Qe = {
|
|
1147
|
+
Root: qe,
|
|
1148
|
+
Item: Je
|
|
1066
1149
|
};
|
|
1067
1150
|
// packages/forms/src/settings-row.tsx
|
|
1068
|
-
function
|
|
1069
|
-
let i =
|
|
1070
|
-
return /* @__PURE__ */
|
|
1151
|
+
function $e({ label: e, description: t, controlId: n, children: r }) {
|
|
1152
|
+
let i = c();
|
|
1153
|
+
return /* @__PURE__ */ u("div", {
|
|
1071
1154
|
role: "group",
|
|
1072
1155
|
"aria-labelledby": i,
|
|
1073
1156
|
className: "x78zum5 x1a02dak x6s0dn4 x1qughib xaml1ju x1ydxw8w xso031l x1q0q8m5 x1qndepd x1hz01jw xtqrqnz x1778rvt xbixft",
|
|
1074
|
-
children: [/* @__PURE__ */
|
|
1157
|
+
children: [/* @__PURE__ */ u("div", {
|
|
1075
1158
|
className: "x78zum5 xdt5ytf xunmzkg xeuugli xk30mkq",
|
|
1076
|
-
children: [/* @__PURE__ */
|
|
1159
|
+
children: [/* @__PURE__ */ l("label", {
|
|
1077
1160
|
id: i,
|
|
1078
1161
|
htmlFor: n,
|
|
1079
1162
|
className: "xk50ysn",
|
|
1080
1163
|
children: e
|
|
1081
|
-
}), t !== void 0 && /* @__PURE__ */
|
|
1164
|
+
}), t !== void 0 && /* @__PURE__ */ l("p", {
|
|
1082
1165
|
id: `${n}-description`,
|
|
1083
1166
|
className: "x1ghz6dp x153jb6y xj0a0fe",
|
|
1084
1167
|
children: t
|
|
1085
1168
|
})]
|
|
1086
|
-
}), /* @__PURE__ */
|
|
1169
|
+
}), /* @__PURE__ */ l("div", {
|
|
1087
1170
|
className: "xeuugli x193iq5w x2lah0s",
|
|
1088
1171
|
children: r
|
|
1089
1172
|
})]
|
|
1090
1173
|
});
|
|
1091
1174
|
}
|
|
1092
1175
|
// packages/forms/src/settings-section.tsx
|
|
1093
|
-
function
|
|
1094
|
-
let
|
|
1095
|
-
return /* @__PURE__ */
|
|
1096
|
-
"aria-labelledby":
|
|
1176
|
+
function et({ title: e, description: t, children: n }) {
|
|
1177
|
+
let a = c();
|
|
1178
|
+
return /* @__PURE__ */ u("section", {
|
|
1179
|
+
"aria-labelledby": a,
|
|
1097
1180
|
className: "xrvj5dj x1mkdm3x x1n8ia3y xeuugli",
|
|
1098
|
-
children: [/* @__PURE__ */
|
|
1181
|
+
children: [/* @__PURE__ */ u("header", {
|
|
1099
1182
|
className: "xrvj5dj xunmzkg xeuugli",
|
|
1100
|
-
children: [/* @__PURE__ */
|
|
1101
|
-
id:
|
|
1183
|
+
children: [/* @__PURE__ */ l(i, {
|
|
1184
|
+
id: a,
|
|
1102
1185
|
children: e
|
|
1103
|
-
}),
|
|
1104
|
-
}), /* @__PURE__ */
|
|
1186
|
+
}), t !== void 0 && /* @__PURE__ */ l(r, { children: t })]
|
|
1187
|
+
}), /* @__PURE__ */ l("div", { children: n })]
|
|
1105
1188
|
});
|
|
1106
1189
|
}
|
|
1107
|
-
export {
|
|
1190
|
+
export { q as _, Ze as a, De as c, ye as d, ve as f, J as g, Se as h, Xe as i, Oe as l, xe as m, $e as n, Qe as o, be as p, Ye as r, Be as s, et as t, ke as u };
|