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