@uipath/apollo-wind 2.26.0 → 2.27.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.
- package/dist/components/ui/index.cjs +105 -95
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/input-group.cjs +119 -0
- package/dist/components/ui/input-group.d.ts +29 -0
- package/dist/components/ui/input-group.js +70 -0
- package/dist/components/ui/search.cjs +21 -24
- package/dist/components/ui/search.d.ts +4 -2
- package/dist/components/ui/search.js +21 -24
- package/dist/components/ui/tooltip.cjs +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/index.cjs +26 -7
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/styles.css +108 -9
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"./avatar" (module) {
|
|
16
16
|
module.exports = require("./avatar.cjs");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"@/components/ui/badge" (module) {
|
|
19
19
|
module.exports = require("./badge.cjs");
|
|
20
20
|
},
|
|
21
21
|
"./breadcrumb" (module) {
|
|
@@ -33,10 +33,10 @@ var __webpack_modules__ = {
|
|
|
33
33
|
"./card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"@/components/ui/checkbox" (module) {
|
|
37
37
|
module.exports = require("./checkbox.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"@/components/ui/collapsible" (module) {
|
|
40
40
|
module.exports = require("./collapsible.cjs");
|
|
41
41
|
},
|
|
42
42
|
"./combobox" (module) {
|
|
@@ -60,7 +60,7 @@ var __webpack_modules__ = {
|
|
|
60
60
|
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"@/components/ui/dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
66
|
"./editable-cell" (module) {
|
|
@@ -72,9 +72,12 @@ var __webpack_modules__ = {
|
|
|
72
72
|
"./file-upload" (module) {
|
|
73
73
|
module.exports = require("./file-upload.cjs");
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"./hover-card" (module) {
|
|
76
76
|
module.exports = require("./hover-card.cjs");
|
|
77
77
|
},
|
|
78
|
+
"@/components/ui/input-group" (module) {
|
|
79
|
+
module.exports = require("./input-group.cjs");
|
|
80
|
+
},
|
|
78
81
|
"@/components/ui/input" (module) {
|
|
79
82
|
module.exports = require("./input.cjs");
|
|
80
83
|
},
|
|
@@ -147,7 +150,7 @@ var __webpack_modules__ = {
|
|
|
147
150
|
"./tabs" (module) {
|
|
148
151
|
module.exports = require("./tabs.cjs");
|
|
149
152
|
},
|
|
150
|
-
"
|
|
153
|
+
"@/components/ui/textarea" (module) {
|
|
151
154
|
module.exports = require("./textarea.cjs");
|
|
152
155
|
},
|
|
153
156
|
"./toggle-group" (module) {
|
|
@@ -207,7 +210,7 @@ var __webpack_exports__ = {};
|
|
|
207
210
|
(()=>{
|
|
208
211
|
__webpack_require__.r(__webpack_exports__);
|
|
209
212
|
__webpack_require__.d(__webpack_exports__, {
|
|
210
|
-
TreeView: ()=>
|
|
213
|
+
TreeView: ()=>_tree_view__rspack_import_54_default.a
|
|
211
214
|
});
|
|
212
215
|
var _accordion__rspack_import_0 = __webpack_require__("./accordion");
|
|
213
216
|
var __rspack_reexport = {};
|
|
@@ -244,7 +247,7 @@ var __webpack_exports__ = {};
|
|
|
244
247
|
"default"
|
|
245
248
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_4[__rspack_import_key];
|
|
246
249
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
247
|
-
var _badge__rspack_import_5 = __webpack_require__("
|
|
250
|
+
var _badge__rspack_import_5 = __webpack_require__("@/components/ui/badge");
|
|
248
251
|
var __rspack_reexport = {};
|
|
249
252
|
for(const __rspack_import_key in _badge__rspack_import_5)if ([
|
|
250
253
|
"TreeView",
|
|
@@ -286,14 +289,14 @@ var __webpack_exports__ = {};
|
|
|
286
289
|
"default"
|
|
287
290
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_card__rspack_import_10[__rspack_import_key];
|
|
288
291
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
289
|
-
var _checkbox__rspack_import_11 = __webpack_require__("
|
|
292
|
+
var _checkbox__rspack_import_11 = __webpack_require__("@/components/ui/checkbox");
|
|
290
293
|
var __rspack_reexport = {};
|
|
291
294
|
for(const __rspack_import_key in _checkbox__rspack_import_11)if ([
|
|
292
295
|
"TreeView",
|
|
293
296
|
"default"
|
|
294
297
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_11[__rspack_import_key];
|
|
295
298
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
296
|
-
var _collapsible__rspack_import_12 = __webpack_require__("
|
|
299
|
+
var _collapsible__rspack_import_12 = __webpack_require__("@/components/ui/collapsible");
|
|
297
300
|
var __rspack_reexport = {};
|
|
298
301
|
for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
|
|
299
302
|
"TreeView",
|
|
@@ -349,7 +352,7 @@ var __webpack_exports__ = {};
|
|
|
349
352
|
"default"
|
|
350
353
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dialog__rspack_import_19[__rspack_import_key];
|
|
351
354
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
352
|
-
var _dropdown_menu__rspack_import_20 = __webpack_require__("
|
|
355
|
+
var _dropdown_menu__rspack_import_20 = __webpack_require__("@/components/ui/dropdown-menu");
|
|
353
356
|
var __rspack_reexport = {};
|
|
354
357
|
for(const __rspack_import_key in _dropdown_menu__rspack_import_20)if ([
|
|
355
358
|
"TreeView",
|
|
@@ -377,7 +380,7 @@ var __webpack_exports__ = {};
|
|
|
377
380
|
"default"
|
|
378
381
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_23[__rspack_import_key];
|
|
379
382
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
380
|
-
var _hover_card__rspack_import_24 = __webpack_require__("
|
|
383
|
+
var _hover_card__rspack_import_24 = __webpack_require__("./hover-card");
|
|
381
384
|
var __rspack_reexport = {};
|
|
382
385
|
for(const __rspack_import_key in _hover_card__rspack_import_24)if ([
|
|
383
386
|
"TreeView",
|
|
@@ -391,197 +394,204 @@ var __webpack_exports__ = {};
|
|
|
391
394
|
"default"
|
|
392
395
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_25[__rspack_import_key];
|
|
393
396
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
394
|
-
var
|
|
397
|
+
var _input_group__rspack_import_26 = __webpack_require__("@/components/ui/input-group");
|
|
398
|
+
var __rspack_reexport = {};
|
|
399
|
+
for(const __rspack_import_key in _input_group__rspack_import_26)if ([
|
|
400
|
+
"TreeView",
|
|
401
|
+
"default"
|
|
402
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input_group__rspack_import_26[__rspack_import_key];
|
|
403
|
+
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
404
|
+
var _label__rspack_import_27 = __webpack_require__("@/components/ui/label");
|
|
395
405
|
var __rspack_reexport = {};
|
|
396
|
-
for(const __rspack_import_key in
|
|
406
|
+
for(const __rspack_import_key in _label__rspack_import_27)if ([
|
|
397
407
|
"TreeView",
|
|
398
408
|
"default"
|
|
399
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
409
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_label__rspack_import_27[__rspack_import_key];
|
|
400
410
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
401
|
-
var
|
|
411
|
+
var _layout__rspack_import_28 = __webpack_require__("./layout");
|
|
402
412
|
var __rspack_reexport = {};
|
|
403
|
-
for(const __rspack_import_key in
|
|
413
|
+
for(const __rspack_import_key in _layout__rspack_import_28)if ([
|
|
404
414
|
"TreeView",
|
|
405
415
|
"default"
|
|
406
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
416
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_layout__rspack_import_28[__rspack_import_key];
|
|
407
417
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
408
|
-
var
|
|
418
|
+
var _multi_select__rspack_import_29 = __webpack_require__("./multi-select");
|
|
409
419
|
var __rspack_reexport = {};
|
|
410
|
-
for(const __rspack_import_key in
|
|
420
|
+
for(const __rspack_import_key in _multi_select__rspack_import_29)if ([
|
|
411
421
|
"TreeView",
|
|
412
422
|
"default"
|
|
413
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
423
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_multi_select__rspack_import_29[__rspack_import_key];
|
|
414
424
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
415
|
-
var
|
|
425
|
+
var _pagination__rspack_import_30 = __webpack_require__("./pagination");
|
|
416
426
|
var __rspack_reexport = {};
|
|
417
|
-
for(const __rspack_import_key in
|
|
427
|
+
for(const __rspack_import_key in _pagination__rspack_import_30)if ([
|
|
418
428
|
"TreeView",
|
|
419
429
|
"default"
|
|
420
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
430
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_pagination__rspack_import_30[__rspack_import_key];
|
|
421
431
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
422
|
-
var
|
|
432
|
+
var _popover__rspack_import_31 = __webpack_require__("@/components/ui/popover");
|
|
423
433
|
var __rspack_reexport = {};
|
|
424
|
-
for(const __rspack_import_key in
|
|
434
|
+
for(const __rspack_import_key in _popover__rspack_import_31)if ([
|
|
425
435
|
"TreeView",
|
|
426
436
|
"default"
|
|
427
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
437
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_popover__rspack_import_31[__rspack_import_key];
|
|
428
438
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
429
|
-
var
|
|
439
|
+
var _progress__rspack_import_32 = __webpack_require__("./progress");
|
|
430
440
|
var __rspack_reexport = {};
|
|
431
|
-
for(const __rspack_import_key in
|
|
441
|
+
for(const __rspack_import_key in _progress__rspack_import_32)if ([
|
|
432
442
|
"TreeView",
|
|
433
443
|
"default"
|
|
434
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
444
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_progress__rspack_import_32[__rspack_import_key];
|
|
435
445
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
436
|
-
var
|
|
446
|
+
var _prompt_editor__rspack_import_33 = __webpack_require__("./prompt-editor");
|
|
437
447
|
var __rspack_reexport = {};
|
|
438
|
-
for(const __rspack_import_key in
|
|
448
|
+
for(const __rspack_import_key in _prompt_editor__rspack_import_33)if ([
|
|
439
449
|
"TreeView",
|
|
440
450
|
"default"
|
|
441
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
451
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_prompt_editor__rspack_import_33[__rspack_import_key];
|
|
442
452
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
443
|
-
var
|
|
453
|
+
var _radio_group__rspack_import_34 = __webpack_require__("./radio-group");
|
|
444
454
|
var __rspack_reexport = {};
|
|
445
|
-
for(const __rspack_import_key in
|
|
455
|
+
for(const __rspack_import_key in _radio_group__rspack_import_34)if ([
|
|
446
456
|
"TreeView",
|
|
447
457
|
"default"
|
|
448
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
458
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_radio_group__rspack_import_34[__rspack_import_key];
|
|
449
459
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
450
|
-
var
|
|
460
|
+
var _resizable__rspack_import_35 = __webpack_require__("./resizable");
|
|
451
461
|
var __rspack_reexport = {};
|
|
452
|
-
for(const __rspack_import_key in
|
|
462
|
+
for(const __rspack_import_key in _resizable__rspack_import_35)if ([
|
|
453
463
|
"TreeView",
|
|
454
464
|
"default"
|
|
455
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
465
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_resizable__rspack_import_35[__rspack_import_key];
|
|
456
466
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
457
|
-
var
|
|
467
|
+
var _scroll_area__rspack_import_36 = __webpack_require__("./scroll-area");
|
|
458
468
|
var __rspack_reexport = {};
|
|
459
|
-
for(const __rspack_import_key in
|
|
469
|
+
for(const __rspack_import_key in _scroll_area__rspack_import_36)if ([
|
|
460
470
|
"TreeView",
|
|
461
471
|
"default"
|
|
462
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
472
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_scroll_area__rspack_import_36[__rspack_import_key];
|
|
463
473
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
464
|
-
var
|
|
474
|
+
var _search__rspack_import_37 = __webpack_require__("./search");
|
|
465
475
|
var __rspack_reexport = {};
|
|
466
|
-
for(const __rspack_import_key in
|
|
476
|
+
for(const __rspack_import_key in _search__rspack_import_37)if ([
|
|
467
477
|
"TreeView",
|
|
468
478
|
"default"
|
|
469
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
479
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_search__rspack_import_37[__rspack_import_key];
|
|
470
480
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
471
|
-
var
|
|
481
|
+
var _select__rspack_import_38 = __webpack_require__("./select");
|
|
472
482
|
var __rspack_reexport = {};
|
|
473
|
-
for(const __rspack_import_key in
|
|
483
|
+
for(const __rspack_import_key in _select__rspack_import_38)if ([
|
|
474
484
|
"TreeView",
|
|
475
485
|
"default"
|
|
476
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
486
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_select__rspack_import_38[__rspack_import_key];
|
|
477
487
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
478
|
-
var
|
|
488
|
+
var _separator__rspack_import_39 = __webpack_require__("./separator");
|
|
479
489
|
var __rspack_reexport = {};
|
|
480
|
-
for(const __rspack_import_key in
|
|
490
|
+
for(const __rspack_import_key in _separator__rspack_import_39)if ([
|
|
481
491
|
"TreeView",
|
|
482
492
|
"default"
|
|
483
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
493
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_separator__rspack_import_39[__rspack_import_key];
|
|
484
494
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
485
|
-
var
|
|
495
|
+
var _sheet__rspack_import_40 = __webpack_require__("./sheet");
|
|
486
496
|
var __rspack_reexport = {};
|
|
487
|
-
for(const __rspack_import_key in
|
|
497
|
+
for(const __rspack_import_key in _sheet__rspack_import_40)if ([
|
|
488
498
|
"TreeView",
|
|
489
499
|
"default"
|
|
490
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
500
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_sheet__rspack_import_40[__rspack_import_key];
|
|
491
501
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
492
|
-
var
|
|
502
|
+
var _skeleton__rspack_import_41 = __webpack_require__("./skeleton");
|
|
493
503
|
var __rspack_reexport = {};
|
|
494
|
-
for(const __rspack_import_key in
|
|
504
|
+
for(const __rspack_import_key in _skeleton__rspack_import_41)if ([
|
|
495
505
|
"TreeView",
|
|
496
506
|
"default"
|
|
497
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
507
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_skeleton__rspack_import_41[__rspack_import_key];
|
|
498
508
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
499
|
-
var
|
|
509
|
+
var _slider__rspack_import_42 = __webpack_require__("./slider");
|
|
500
510
|
var __rspack_reexport = {};
|
|
501
|
-
for(const __rspack_import_key in
|
|
511
|
+
for(const __rspack_import_key in _slider__rspack_import_42)if ([
|
|
502
512
|
"TreeView",
|
|
503
513
|
"default"
|
|
504
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
514
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_slider__rspack_import_42[__rspack_import_key];
|
|
505
515
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
506
|
-
var
|
|
516
|
+
var _sonner__rspack_import_43 = __webpack_require__("./sonner");
|
|
507
517
|
var __rspack_reexport = {};
|
|
508
|
-
for(const __rspack_import_key in
|
|
518
|
+
for(const __rspack_import_key in _sonner__rspack_import_43)if ([
|
|
509
519
|
"TreeView",
|
|
510
520
|
"default"
|
|
511
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
521
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_sonner__rspack_import_43[__rspack_import_key];
|
|
512
522
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
513
|
-
var
|
|
523
|
+
var _spinner__rspack_import_44 = __webpack_require__("./spinner");
|
|
514
524
|
var __rspack_reexport = {};
|
|
515
|
-
for(const __rspack_import_key in
|
|
525
|
+
for(const __rspack_import_key in _spinner__rspack_import_44)if ([
|
|
516
526
|
"TreeView",
|
|
517
527
|
"default"
|
|
518
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
528
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_spinner__rspack_import_44[__rspack_import_key];
|
|
519
529
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
520
|
-
var
|
|
530
|
+
var _stats_card__rspack_import_45 = __webpack_require__("./stats-card");
|
|
521
531
|
var __rspack_reexport = {};
|
|
522
|
-
for(const __rspack_import_key in
|
|
532
|
+
for(const __rspack_import_key in _stats_card__rspack_import_45)if ([
|
|
523
533
|
"TreeView",
|
|
524
534
|
"default"
|
|
525
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
535
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_stats_card__rspack_import_45[__rspack_import_key];
|
|
526
536
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
527
|
-
var
|
|
537
|
+
var _stepper__rspack_import_46 = __webpack_require__("./stepper");
|
|
528
538
|
var __rspack_reexport = {};
|
|
529
|
-
for(const __rspack_import_key in
|
|
539
|
+
for(const __rspack_import_key in _stepper__rspack_import_46)if ([
|
|
530
540
|
"TreeView",
|
|
531
541
|
"default"
|
|
532
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
542
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_stepper__rspack_import_46[__rspack_import_key];
|
|
533
543
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
534
|
-
var
|
|
544
|
+
var _switch__rspack_import_47 = __webpack_require__("./switch");
|
|
535
545
|
var __rspack_reexport = {};
|
|
536
|
-
for(const __rspack_import_key in
|
|
546
|
+
for(const __rspack_import_key in _switch__rspack_import_47)if ([
|
|
537
547
|
"TreeView",
|
|
538
548
|
"default"
|
|
539
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
549
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_47[__rspack_import_key];
|
|
540
550
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
541
|
-
var
|
|
551
|
+
var _table__rspack_import_48 = __webpack_require__("./table");
|
|
542
552
|
var __rspack_reexport = {};
|
|
543
|
-
for(const __rspack_import_key in
|
|
553
|
+
for(const __rspack_import_key in _table__rspack_import_48)if ([
|
|
544
554
|
"TreeView",
|
|
545
555
|
"default"
|
|
546
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
556
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_table__rspack_import_48[__rspack_import_key];
|
|
547
557
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
548
|
-
var
|
|
558
|
+
var _tabs__rspack_import_49 = __webpack_require__("./tabs");
|
|
549
559
|
var __rspack_reexport = {};
|
|
550
|
-
for(const __rspack_import_key in
|
|
560
|
+
for(const __rspack_import_key in _tabs__rspack_import_49)if ([
|
|
551
561
|
"TreeView",
|
|
552
562
|
"default"
|
|
553
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
563
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_49[__rspack_import_key];
|
|
554
564
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
555
|
-
var
|
|
565
|
+
var _textarea__rspack_import_50 = __webpack_require__("@/components/ui/textarea");
|
|
556
566
|
var __rspack_reexport = {};
|
|
557
|
-
for(const __rspack_import_key in
|
|
567
|
+
for(const __rspack_import_key in _textarea__rspack_import_50)if ([
|
|
558
568
|
"TreeView",
|
|
559
569
|
"default"
|
|
560
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
570
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_50[__rspack_import_key];
|
|
561
571
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
562
|
-
var
|
|
572
|
+
var _toggle__rspack_import_51 = __webpack_require__("./toggle");
|
|
563
573
|
var __rspack_reexport = {};
|
|
564
|
-
for(const __rspack_import_key in
|
|
574
|
+
for(const __rspack_import_key in _toggle__rspack_import_51)if ([
|
|
565
575
|
"TreeView",
|
|
566
576
|
"default"
|
|
567
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
577
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_toggle__rspack_import_51[__rspack_import_key];
|
|
568
578
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
569
|
-
var
|
|
579
|
+
var _toggle_group__rspack_import_52 = __webpack_require__("./toggle-group");
|
|
570
580
|
var __rspack_reexport = {};
|
|
571
|
-
for(const __rspack_import_key in
|
|
581
|
+
for(const __rspack_import_key in _toggle_group__rspack_import_52)if ([
|
|
572
582
|
"TreeView",
|
|
573
583
|
"default"
|
|
574
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
584
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_toggle_group__rspack_import_52[__rspack_import_key];
|
|
575
585
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
576
|
-
var
|
|
586
|
+
var _tooltip__rspack_import_53 = __webpack_require__("./tooltip");
|
|
577
587
|
var __rspack_reexport = {};
|
|
578
|
-
for(const __rspack_import_key in
|
|
588
|
+
for(const __rspack_import_key in _tooltip__rspack_import_53)if ([
|
|
579
589
|
"TreeView",
|
|
580
590
|
"default"
|
|
581
|
-
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>
|
|
591
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tooltip__rspack_import_53[__rspack_import_key];
|
|
582
592
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
583
|
-
var
|
|
584
|
-
var
|
|
593
|
+
var _tree_view__rspack_import_54 = __webpack_require__("./tree-view");
|
|
594
|
+
var _tree_view__rspack_import_54_default = /*#__PURE__*/ __webpack_require__.n(_tree_view__rspack_import_54);
|
|
585
595
|
})();
|
|
586
596
|
exports.TreeView = __webpack_exports__.TreeView;
|
|
587
597
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
@@ -25,6 +25,7 @@ export * from "./empty-state.js";
|
|
|
25
25
|
export * from "./file-upload.js";
|
|
26
26
|
export * from "./hover-card.js";
|
|
27
27
|
export * from "./input.js";
|
|
28
|
+
export * from "./input-group.js";
|
|
28
29
|
export * from "./label.js";
|
|
29
30
|
export * from "./layout/index.js";
|
|
30
31
|
export * from "./multi-select.js";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
InputGroupButton: ()=>InputGroupButton,
|
|
28
|
+
InputGroupText: ()=>InputGroupText,
|
|
29
|
+
InputGroupAddon: ()=>InputGroupAddon,
|
|
30
|
+
InputGroup: ()=>InputGroup,
|
|
31
|
+
InputGroupInput: ()=>InputGroupInput,
|
|
32
|
+
InputGroupTextarea: ()=>InputGroupTextarea
|
|
33
|
+
});
|
|
34
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
35
|
+
const external_class_variance_authority_namespaceObject = require("class-variance-authority");
|
|
36
|
+
const external_react_namespaceObject = require("react");
|
|
37
|
+
const external_button_cjs_namespaceObject = require("./button.cjs");
|
|
38
|
+
const external_input_cjs_namespaceObject = require("./input.cjs");
|
|
39
|
+
const external_textarea_cjs_namespaceObject = require("./textarea.cjs");
|
|
40
|
+
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
41
|
+
const InputGroup = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, variant = 'default', size = 'default', ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
42
|
+
ref: ref,
|
|
43
|
+
role: "group",
|
|
44
|
+
className: (0, index_cjs_namespaceObject.cn)('group/input-group relative flex w-full items-center gap-2 transition-colors has-[>textarea]:h-auto has-[>textarea]:items-start', 'default' === size && 'h-9 rounded-md px-3 py-1 future:h-10 future:rounded-xl future:py-2', 'xs' === size && 'h-6 gap-1 rounded px-2', 'default' === variant && 'border border-input bg-transparent future:border-0 future:bg-surface-overlay', 'ghost' === variant && 'border-0 bg-surface-overlay', 'has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring future:has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 future:has-[[data-slot=input-group-control]:focus-visible]:ring-offset-background', 'has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20', 'has-[[data-slot=input-group-control]:disabled]:cursor-not-allowed has-[[data-slot=input-group-control]:disabled]:opacity-50', className),
|
|
45
|
+
...props
|
|
46
|
+
}));
|
|
47
|
+
InputGroup.displayName = 'InputGroup';
|
|
48
|
+
const inputGroupAddonVariants = (0, external_class_variance_authority_namespaceObject.cva)('flex h-auto cursor-text items-center justify-center gap-1 text-sm text-muted-foreground select-none group-has-[[data-slot=input-group-control]:disabled]/input-group:opacity-50 [&>svg:not([class*="size-"])]:size-4', {
|
|
49
|
+
variants: {
|
|
50
|
+
align: {
|
|
51
|
+
'inline-start': 'order-first',
|
|
52
|
+
'inline-end': 'order-last'
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
defaultVariants: {
|
|
56
|
+
align: 'inline-start'
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
const InputGroupAddon = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, align = 'inline-start', onClick, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
60
|
+
ref: ref,
|
|
61
|
+
role: "group",
|
|
62
|
+
"data-slot": "input-group-addon",
|
|
63
|
+
"data-align": align,
|
|
64
|
+
className: (0, index_cjs_namespaceObject.cn)(inputGroupAddonVariants({
|
|
65
|
+
align
|
|
66
|
+
}), className),
|
|
67
|
+
onClick: (e)=>{
|
|
68
|
+
if (!e.target.closest('button')) e.currentTarget.parentElement?.querySelector('input, textarea')?.focus();
|
|
69
|
+
onClick?.(e);
|
|
70
|
+
},
|
|
71
|
+
...props
|
|
72
|
+
}));
|
|
73
|
+
InputGroupAddon.displayName = 'InputGroupAddon';
|
|
74
|
+
const InputGroupButton = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, type = 'button', variant = 'ghost', size = 'xs', ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
75
|
+
ref: ref,
|
|
76
|
+
type: type,
|
|
77
|
+
variant: variant,
|
|
78
|
+
size: size,
|
|
79
|
+
className: (0, index_cjs_namespaceObject.cn)('gap-1', className),
|
|
80
|
+
...props
|
|
81
|
+
}));
|
|
82
|
+
InputGroupButton.displayName = 'InputGroupButton';
|
|
83
|
+
const InputGroupText = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
84
|
+
ref: ref,
|
|
85
|
+
className: (0, index_cjs_namespaceObject.cn)('flex items-center gap-1 text-sm text-muted-foreground [&>svg:not([class*="size-"])]:size-4', className),
|
|
86
|
+
...props
|
|
87
|
+
}));
|
|
88
|
+
InputGroupText.displayName = 'InputGroupText';
|
|
89
|
+
const InputGroupInput = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_cjs_namespaceObject.Input, {
|
|
90
|
+
ref: ref,
|
|
91
|
+
"data-slot": "input-group-control",
|
|
92
|
+
className: (0, index_cjs_namespaceObject.cn)('h-full flex-1 rounded-none border-0 bg-transparent p-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:h-full future:rounded-none future:border-0 future:bg-transparent future:p-0 future:focus-visible:ring-offset-0', className),
|
|
93
|
+
...props
|
|
94
|
+
}));
|
|
95
|
+
InputGroupInput.displayName = 'InputGroupInput';
|
|
96
|
+
const InputGroupTextarea = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_textarea_cjs_namespaceObject.Textarea, {
|
|
97
|
+
ref: ref,
|
|
98
|
+
"data-slot": "input-group-control",
|
|
99
|
+
className: (0, index_cjs_namespaceObject.cn)('min-h-0 flex-1 resize-none rounded-none border-0 bg-transparent p-0 py-2 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:rounded-none future:border-0 future:bg-transparent future:focus-visible:ring-offset-0', className),
|
|
100
|
+
...props
|
|
101
|
+
}));
|
|
102
|
+
InputGroupTextarea.displayName = 'InputGroupTextarea';
|
|
103
|
+
exports.InputGroup = __webpack_exports__.InputGroup;
|
|
104
|
+
exports.InputGroupAddon = __webpack_exports__.InputGroupAddon;
|
|
105
|
+
exports.InputGroupButton = __webpack_exports__.InputGroupButton;
|
|
106
|
+
exports.InputGroupInput = __webpack_exports__.InputGroupInput;
|
|
107
|
+
exports.InputGroupText = __webpack_exports__.InputGroupText;
|
|
108
|
+
exports.InputGroupTextarea = __webpack_exports__.InputGroupTextarea;
|
|
109
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
110
|
+
"InputGroup",
|
|
111
|
+
"InputGroupAddon",
|
|
112
|
+
"InputGroupButton",
|
|
113
|
+
"InputGroupInput",
|
|
114
|
+
"InputGroupText",
|
|
115
|
+
"InputGroupTextarea"
|
|
116
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
117
|
+
Object.defineProperty(exports, '__esModule', {
|
|
118
|
+
value: true
|
|
119
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { type ButtonProps } from './button';
|
|
4
|
+
import { type InputProps } from './input';
|
|
5
|
+
import { type TextareaProps } from './textarea';
|
|
6
|
+
export interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
variant?: 'default' | 'ghost';
|
|
8
|
+
size?: 'default' | 'xs';
|
|
9
|
+
}
|
|
10
|
+
declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
12
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
+
export interface InputGroupAddonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof inputGroupAddonVariants> {
|
|
15
|
+
}
|
|
16
|
+
declare const InputGroupAddon: React.ForwardRefExoticComponent<InputGroupAddonProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export interface InputGroupButtonProps extends ButtonProps {
|
|
18
|
+
}
|
|
19
|
+
declare const InputGroupButton: React.ForwardRefExoticComponent<InputGroupButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export interface InputGroupTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
21
|
+
}
|
|
22
|
+
declare const InputGroupText: React.ForwardRefExoticComponent<InputGroupTextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
23
|
+
export interface InputGroupInputProps extends Omit<InputProps, 'variant' | 'size'> {
|
|
24
|
+
}
|
|
25
|
+
declare const InputGroupInput: React.ForwardRefExoticComponent<InputGroupInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
+
export interface InputGroupTextareaProps extends Omit<TextareaProps, 'variant'> {
|
|
27
|
+
}
|
|
28
|
+
declare const InputGroupTextarea: React.ForwardRefExoticComponent<Omit<InputGroupTextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
29
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { Button } from "./button.js";
|
|
5
|
+
import { Input } from "./input.js";
|
|
6
|
+
import { Textarea } from "./textarea.js";
|
|
7
|
+
import { cn } from "../../lib/index.js";
|
|
8
|
+
const InputGroup = /*#__PURE__*/ forwardRef(({ className, variant = 'default', size = 'default', ...props }, ref)=>/*#__PURE__*/ jsx("div", {
|
|
9
|
+
ref: ref,
|
|
10
|
+
role: "group",
|
|
11
|
+
className: cn('group/input-group relative flex w-full items-center gap-2 transition-colors has-[>textarea]:h-auto has-[>textarea]:items-start', 'default' === size && 'h-9 rounded-md px-3 py-1 future:h-10 future:rounded-xl future:py-2', 'xs' === size && 'h-6 gap-1 rounded px-2', 'default' === variant && 'border border-input bg-transparent future:border-0 future:bg-surface-overlay', 'ghost' === variant && 'border-0 bg-surface-overlay', 'has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring future:has-[[data-slot=input-group-control]:focus-visible]:ring-offset-2 future:has-[[data-slot=input-group-control]:focus-visible]:ring-offset-background', 'has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20', 'has-[[data-slot=input-group-control]:disabled]:cursor-not-allowed has-[[data-slot=input-group-control]:disabled]:opacity-50', className),
|
|
12
|
+
...props
|
|
13
|
+
}));
|
|
14
|
+
InputGroup.displayName = 'InputGroup';
|
|
15
|
+
const inputGroupAddonVariants = cva('flex h-auto cursor-text items-center justify-center gap-1 text-sm text-muted-foreground select-none group-has-[[data-slot=input-group-control]:disabled]/input-group:opacity-50 [&>svg:not([class*="size-"])]:size-4', {
|
|
16
|
+
variants: {
|
|
17
|
+
align: {
|
|
18
|
+
'inline-start': 'order-first',
|
|
19
|
+
'inline-end': 'order-last'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
align: 'inline-start'
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
const InputGroupAddon = /*#__PURE__*/ forwardRef(({ className, align = 'inline-start', onClick, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
|
|
27
|
+
ref: ref,
|
|
28
|
+
role: "group",
|
|
29
|
+
"data-slot": "input-group-addon",
|
|
30
|
+
"data-align": align,
|
|
31
|
+
className: cn(inputGroupAddonVariants({
|
|
32
|
+
align
|
|
33
|
+
}), className),
|
|
34
|
+
onClick: (e)=>{
|
|
35
|
+
if (!e.target.closest('button')) e.currentTarget.parentElement?.querySelector('input, textarea')?.focus();
|
|
36
|
+
onClick?.(e);
|
|
37
|
+
},
|
|
38
|
+
...props
|
|
39
|
+
}));
|
|
40
|
+
InputGroupAddon.displayName = 'InputGroupAddon';
|
|
41
|
+
const InputGroupButton = /*#__PURE__*/ forwardRef(({ className, type = 'button', variant = 'ghost', size = 'xs', ...props }, ref)=>/*#__PURE__*/ jsx(Button, {
|
|
42
|
+
ref: ref,
|
|
43
|
+
type: type,
|
|
44
|
+
variant: variant,
|
|
45
|
+
size: size,
|
|
46
|
+
className: cn('gap-1', className),
|
|
47
|
+
...props
|
|
48
|
+
}));
|
|
49
|
+
InputGroupButton.displayName = 'InputGroupButton';
|
|
50
|
+
const InputGroupText = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("span", {
|
|
51
|
+
ref: ref,
|
|
52
|
+
className: cn('flex items-center gap-1 text-sm text-muted-foreground [&>svg:not([class*="size-"])]:size-4', className),
|
|
53
|
+
...props
|
|
54
|
+
}));
|
|
55
|
+
InputGroupText.displayName = 'InputGroupText';
|
|
56
|
+
const InputGroupInput = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Input, {
|
|
57
|
+
ref: ref,
|
|
58
|
+
"data-slot": "input-group-control",
|
|
59
|
+
className: cn('h-full flex-1 rounded-none border-0 bg-transparent p-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:h-full future:rounded-none future:border-0 future:bg-transparent future:p-0 future:focus-visible:ring-offset-0', className),
|
|
60
|
+
...props
|
|
61
|
+
}));
|
|
62
|
+
InputGroupInput.displayName = 'InputGroupInput';
|
|
63
|
+
const InputGroupTextarea = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Textarea, {
|
|
64
|
+
ref: ref,
|
|
65
|
+
"data-slot": "input-group-control",
|
|
66
|
+
className: cn('min-h-0 flex-1 resize-none rounded-none border-0 bg-transparent p-0 py-2 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 future:rounded-none future:border-0 future:bg-transparent future:focus-visible:ring-offset-0', className),
|
|
67
|
+
...props
|
|
68
|
+
}));
|
|
69
|
+
InputGroupTextarea.displayName = 'InputGroupTextarea';
|
|
70
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -30,45 +30,42 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
32
|
const external_react_namespaceObject = require("react");
|
|
33
|
-
const external_button_cjs_namespaceObject = require("./button.cjs");
|
|
34
33
|
const external_command_cjs_namespaceObject = require("./command.cjs");
|
|
35
|
-
const
|
|
34
|
+
const external_input_group_cjs_namespaceObject = require("./input-group.cjs");
|
|
36
35
|
const external_popover_cjs_namespaceObject = require("./popover.cjs");
|
|
37
36
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
38
|
-
const Search = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, value, onChange, onClear, showClearButton = true, ...props }, ref)=>{
|
|
37
|
+
const Search = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, value, onChange, onClear, showClearButton = true, variant, size, ...props }, ref)=>{
|
|
39
38
|
const handleClear = ()=>{
|
|
40
39
|
onChange?.('');
|
|
41
40
|
onClear?.();
|
|
42
41
|
};
|
|
43
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
44
|
-
|
|
42
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_input_group_cjs_namespaceObject.InputGroup, {
|
|
43
|
+
variant: variant,
|
|
44
|
+
size: size,
|
|
45
45
|
children: [
|
|
46
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
47
|
-
|
|
46
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupAddon, {
|
|
47
|
+
align: "inline-start",
|
|
48
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Search, {
|
|
49
|
+
className: "text-muted-foreground"
|
|
50
|
+
})
|
|
48
51
|
}),
|
|
49
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
52
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupInput, {
|
|
50
53
|
ref: ref,
|
|
51
54
|
type: "search",
|
|
52
|
-
className:
|
|
55
|
+
className: className,
|
|
53
56
|
value: value,
|
|
54
57
|
onChange: (e)=>onChange?.(e.target.value),
|
|
55
58
|
...props
|
|
56
59
|
}),
|
|
57
|
-
showClearButton && value && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
|
|
65
|
-
|
|
66
|
-
}),
|
|
67
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
68
|
-
className: "sr-only",
|
|
69
|
-
children: "Clear"
|
|
70
|
-
})
|
|
71
|
-
]
|
|
60
|
+
showClearButton && value && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupAddon, {
|
|
61
|
+
align: "inline-end",
|
|
62
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupButton, {
|
|
63
|
+
icon: true,
|
|
64
|
+
size: "3xs",
|
|
65
|
+
"aria-label": "Clear",
|
|
66
|
+
onClick: handleClear,
|
|
67
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {})
|
|
68
|
+
})
|
|
72
69
|
})
|
|
73
70
|
]
|
|
74
71
|
});
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export interface SearchProps extends Omit<
|
|
2
|
+
import { type InputGroupInputProps, type InputGroupProps } from './input-group';
|
|
3
|
+
export interface SearchProps extends Omit<InputGroupInputProps, 'onChange'> {
|
|
4
4
|
value?: string;
|
|
5
5
|
onChange?: (value: string) => void;
|
|
6
6
|
onClear?: () => void;
|
|
7
7
|
showClearButton?: boolean;
|
|
8
|
+
variant?: InputGroupProps['variant'];
|
|
9
|
+
size?: InputGroupProps['size'];
|
|
8
10
|
}
|
|
9
11
|
declare const Search: React.ForwardRefExoticComponent<SearchProps & React.RefAttributes<HTMLInputElement>>;
|
|
10
12
|
export interface SearchWithSuggestionsProps {
|
|
@@ -1,45 +1,42 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Search, X } from "lucide-react";
|
|
3
3
|
import { forwardRef, useEffect, useState } from "react";
|
|
4
|
-
import { Button } from "./button.js";
|
|
5
4
|
import { Command, CommandEmpty, CommandGroup, CommandItem, CommandList } from "./command.js";
|
|
6
|
-
import {
|
|
5
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group.js";
|
|
7
6
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
8
7
|
import { cn } from "../../lib/index.js";
|
|
9
|
-
const search_Search = /*#__PURE__*/ forwardRef(({ className, value, onChange, onClear, showClearButton = true, ...props }, ref)=>{
|
|
8
|
+
const search_Search = /*#__PURE__*/ forwardRef(({ className, value, onChange, onClear, showClearButton = true, variant, size, ...props }, ref)=>{
|
|
10
9
|
const handleClear = ()=>{
|
|
11
10
|
onChange?.('');
|
|
12
11
|
onClear?.();
|
|
13
12
|
};
|
|
14
|
-
return /*#__PURE__*/ jsxs(
|
|
15
|
-
|
|
13
|
+
return /*#__PURE__*/ jsxs(InputGroup, {
|
|
14
|
+
variant: variant,
|
|
15
|
+
size: size,
|
|
16
16
|
children: [
|
|
17
|
-
/*#__PURE__*/ jsx(
|
|
18
|
-
|
|
17
|
+
/*#__PURE__*/ jsx(InputGroupAddon, {
|
|
18
|
+
align: "inline-start",
|
|
19
|
+
children: /*#__PURE__*/ jsx(Search, {
|
|
20
|
+
className: "text-muted-foreground"
|
|
21
|
+
})
|
|
19
22
|
}),
|
|
20
|
-
/*#__PURE__*/ jsx(
|
|
23
|
+
/*#__PURE__*/ jsx(InputGroupInput, {
|
|
21
24
|
ref: ref,
|
|
22
25
|
type: "search",
|
|
23
|
-
className:
|
|
26
|
+
className: className,
|
|
24
27
|
value: value,
|
|
25
28
|
onChange: (e)=>onChange?.(e.target.value),
|
|
26
29
|
...props
|
|
27
30
|
}),
|
|
28
|
-
showClearButton && value && /*#__PURE__*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/*#__PURE__*/ jsx(X, {
|
|
36
|
-
|
|
37
|
-
}),
|
|
38
|
-
/*#__PURE__*/ jsx("span", {
|
|
39
|
-
className: "sr-only",
|
|
40
|
-
children: "Clear"
|
|
41
|
-
})
|
|
42
|
-
]
|
|
31
|
+
showClearButton && value && /*#__PURE__*/ jsx(InputGroupAddon, {
|
|
32
|
+
align: "inline-end",
|
|
33
|
+
children: /*#__PURE__*/ jsx(InputGroupButton, {
|
|
34
|
+
icon: true,
|
|
35
|
+
size: "3xs",
|
|
36
|
+
"aria-label": "Clear",
|
|
37
|
+
onClick: handleClear,
|
|
38
|
+
children: /*#__PURE__*/ jsx(X, {})
|
|
39
|
+
})
|
|
43
40
|
})
|
|
44
41
|
]
|
|
45
42
|
});
|
|
@@ -41,7 +41,7 @@ const TooltipPortal = react_tooltip_namespaceObject.Portal;
|
|
|
41
41
|
const TooltipContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_tooltip_namespaceObject.Content, {
|
|
42
42
|
ref: ref,
|
|
43
43
|
sideOffset: sideOffset,
|
|
44
|
-
className: (0, index_cjs_namespaceObject.cn)('z-50 overflow-hidden rounded-md border border-border-
|
|
44
|
+
className: (0, index_cjs_namespaceObject.cn)('z-50 overflow-hidden rounded-md border border-border-inverse bg-surface-inverse px-3 py-1.5 text-sm text-foreground-inverse shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
|
|
45
45
|
...props
|
|
46
46
|
}));
|
|
47
47
|
TooltipContent.displayName = react_tooltip_namespaceObject.Content.displayName;
|
|
@@ -9,7 +9,7 @@ const TooltipPortal = Portal;
|
|
|
9
9
|
const TooltipContent = /*#__PURE__*/ forwardRef(({ className, sideOffset = 4, ...props }, ref)=>/*#__PURE__*/ jsx(Content, {
|
|
10
10
|
ref: ref,
|
|
11
11
|
sideOffset: sideOffset,
|
|
12
|
-
className: cn('z-50 overflow-hidden rounded-md border border-border-
|
|
12
|
+
className: cn('z-50 overflow-hidden rounded-md border border-border-inverse bg-surface-inverse px-3 py-1.5 text-sm text-foreground-inverse shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]', className),
|
|
13
13
|
...props
|
|
14
14
|
}));
|
|
15
15
|
TooltipContent.displayName = Content.displayName;
|
package/dist/index.cjs
CHANGED
|
@@ -150,20 +150,21 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
150
150
|
Calendar: ()=>calendar_cjs_namespaceObject.Calendar,
|
|
151
151
|
DialogTitle: ()=>dialog_cjs_namespaceObject.DialogTitle,
|
|
152
152
|
SheetTrigger: ()=>sheet_cjs_namespaceObject.SheetTrigger,
|
|
153
|
+
InputGroupAddon: ()=>input_group_cjs_namespaceObject.InputGroupAddon,
|
|
153
154
|
StatsCard: ()=>stats_card_cjs_namespaceObject.StatsCard,
|
|
154
|
-
TableHeader: ()=>table_cjs_namespaceObject.TableHeader,
|
|
155
155
|
Popover: ()=>popover_cjs_namespaceObject.Popover,
|
|
156
156
|
AlertTitle: ()=>alert_cjs_namespaceObject.AlertTitle,
|
|
157
|
-
|
|
157
|
+
TableHeader: ()=>table_cjs_namespaceObject.TableHeader,
|
|
158
158
|
Collapsible: ()=>collapsible_cjs_namespaceObject.Collapsible,
|
|
159
159
|
TableCell: ()=>table_cjs_namespaceObject.TableCell,
|
|
160
|
-
|
|
160
|
+
TabsTrigger: ()=>tabs_cjs_namespaceObject.TabsTrigger,
|
|
161
161
|
DateTimePicker: ()=>datetime_picker_cjs_namespaceObject.DateTimePicker,
|
|
162
|
-
|
|
162
|
+
Toaster: ()=>sonner_cjs_namespaceObject.Toaster,
|
|
163
163
|
Toggle: ()=>toggle_cjs_namespaceObject.Toggle,
|
|
164
164
|
Switch: ()=>switch_cjs_namespaceObject.Switch,
|
|
165
165
|
PaginationEllipsis: ()=>pagination_cjs_namespaceObject.PaginationEllipsis,
|
|
166
166
|
DialogDescription: ()=>dialog_cjs_namespaceObject.DialogDescription,
|
|
167
|
+
Tooltip: ()=>tooltip_cjs_namespaceObject.Tooltip,
|
|
167
168
|
TooltipPortal: ()=>tooltip_cjs_namespaceObject.TooltipPortal,
|
|
168
169
|
AlertDialogHeader: ()=>alert_dialog_cjs_namespaceObject.AlertDialogHeader,
|
|
169
170
|
CommandShortcut: ()=>command_cjs_namespaceObject.CommandShortcut,
|
|
@@ -181,13 +182,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
181
182
|
validationPlugin: ()=>form_plugins_cjs_namespaceObject.validationPlugin,
|
|
182
183
|
ContextMenuTrigger: ()=>context_menu_cjs_namespaceObject.ContextMenuTrigger,
|
|
183
184
|
Table: ()=>table_cjs_namespaceObject.Table,
|
|
185
|
+
InputGroupText: ()=>input_group_cjs_namespaceObject.InputGroupText,
|
|
184
186
|
CommandGroup: ()=>command_cjs_namespaceObject.CommandGroup,
|
|
185
187
|
BreadcrumbPage: ()=>breadcrumb_cjs_namespaceObject.BreadcrumbPage,
|
|
186
188
|
RulesEngine: ()=>rules_engine_cjs_namespaceObject.RulesEngine,
|
|
187
189
|
ToggleGroupItem: ()=>toggle_group_cjs_namespaceObject.ToggleGroupItem,
|
|
188
190
|
ContextMenuPortal: ()=>context_menu_cjs_namespaceObject.ContextMenuPortal,
|
|
189
|
-
|
|
191
|
+
InputGroupButton: ()=>input_group_cjs_namespaceObject.InputGroupButton,
|
|
190
192
|
ContextMenuRadioGroup: ()=>context_menu_cjs_namespaceObject.ContextMenuRadioGroup,
|
|
193
|
+
SelectContent: ()=>select_cjs_namespaceObject.SelectContent,
|
|
194
|
+
InputGroup: ()=>input_group_cjs_namespaceObject.InputGroup,
|
|
191
195
|
CommandList: ()=>command_cjs_namespaceObject.CommandList,
|
|
192
196
|
BreadcrumbList: ()=>breadcrumb_cjs_namespaceObject.BreadcrumbList,
|
|
193
197
|
AccordionTrigger: ()=>accordion_cjs_namespaceObject.AccordionTrigger,
|
|
@@ -222,15 +226,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
222
226
|
Progress: ()=>progress_cjs_namespaceObject.Progress,
|
|
223
227
|
ResizableHandle: ()=>resizable_cjs_namespaceObject.ResizableHandle,
|
|
224
228
|
AlertDialogCancel: ()=>alert_dialog_cjs_namespaceObject.AlertDialogCancel,
|
|
229
|
+
InputGroupTextarea: ()=>input_group_cjs_namespaceObject.InputGroupTextarea,
|
|
225
230
|
Search: ()=>search_cjs_namespaceObject.Search,
|
|
226
231
|
SheetContent: ()=>sheet_cjs_namespaceObject.SheetContent,
|
|
227
|
-
TableRow: ()=>table_cjs_namespaceObject.TableRow,
|
|
228
232
|
AlertDescription: ()=>alert_cjs_namespaceObject.AlertDescription,
|
|
229
|
-
|
|
233
|
+
TableRow: ()=>table_cjs_namespaceObject.TableRow,
|
|
230
234
|
ContextMenuRadioItem: ()=>context_menu_cjs_namespaceObject.ContextMenuRadioItem,
|
|
231
235
|
Dialog: ()=>dialog_cjs_namespaceObject.Dialog,
|
|
232
236
|
DatePicker: ()=>date_picker_cjs_namespaceObject.DatePicker,
|
|
233
237
|
SelectTrigger: ()=>select_cjs_namespaceObject.SelectTrigger,
|
|
238
|
+
ToggleGroup: ()=>toggle_group_cjs_namespaceObject.ToggleGroup,
|
|
234
239
|
spinnerVariants: ()=>spinner_cjs_namespaceObject.spinnerVariants,
|
|
235
240
|
DataTransformers: ()=>data_fetcher_cjs_namespaceObject.DataTransformers,
|
|
236
241
|
RadioGroupItem: ()=>radio_group_cjs_namespaceObject.RadioGroupItem,
|
|
@@ -246,6 +251,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
246
251
|
HoverCardContent: ()=>hover_card_cjs_namespaceObject.HoverCardContent,
|
|
247
252
|
ScrollBar: ()=>scroll_area_cjs_namespaceObject.ScrollBar,
|
|
248
253
|
FileUpload: ()=>file_upload_cjs_namespaceObject.FileUpload,
|
|
254
|
+
InputGroupInput: ()=>input_group_cjs_namespaceObject.InputGroupInput,
|
|
249
255
|
autoSavePlugin: ()=>form_plugins_cjs_namespaceObject.autoSavePlugin
|
|
250
256
|
});
|
|
251
257
|
const utils_cjs_namespaceObject = require("./lib/utils.cjs");
|
|
@@ -257,6 +263,7 @@ const button_group_cjs_namespaceObject = require("./components/ui/button-group.c
|
|
|
257
263
|
const toggle_cjs_namespaceObject = require("./components/ui/toggle.cjs");
|
|
258
264
|
const toggle_group_cjs_namespaceObject = require("./components/ui/toggle-group.cjs");
|
|
259
265
|
const input_cjs_namespaceObject = require("./components/ui/input.cjs");
|
|
266
|
+
const input_group_cjs_namespaceObject = require("./components/ui/input-group.cjs");
|
|
260
267
|
const textarea_cjs_namespaceObject = require("./components/ui/textarea.cjs");
|
|
261
268
|
const label_cjs_namespaceObject = require("./components/ui/label.cjs");
|
|
262
269
|
const checkbox_cjs_namespaceObject = require("./components/ui/checkbox.cjs");
|
|
@@ -431,6 +438,12 @@ exports.HoverCard = __webpack_exports__.HoverCard;
|
|
|
431
438
|
exports.HoverCardContent = __webpack_exports__.HoverCardContent;
|
|
432
439
|
exports.HoverCardTrigger = __webpack_exports__.HoverCardTrigger;
|
|
433
440
|
exports.Input = __webpack_exports__.Input;
|
|
441
|
+
exports.InputGroup = __webpack_exports__.InputGroup;
|
|
442
|
+
exports.InputGroupAddon = __webpack_exports__.InputGroupAddon;
|
|
443
|
+
exports.InputGroupButton = __webpack_exports__.InputGroupButton;
|
|
444
|
+
exports.InputGroupInput = __webpack_exports__.InputGroupInput;
|
|
445
|
+
exports.InputGroupText = __webpack_exports__.InputGroupText;
|
|
446
|
+
exports.InputGroupTextarea = __webpack_exports__.InputGroupTextarea;
|
|
434
447
|
exports.Label = __webpack_exports__.Label;
|
|
435
448
|
exports.MetadataForm = __webpack_exports__.MetadataForm;
|
|
436
449
|
exports.MultiSelect = __webpack_exports__.MultiSelect;
|
|
@@ -646,6 +659,12 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
646
659
|
"HoverCardContent",
|
|
647
660
|
"HoverCardTrigger",
|
|
648
661
|
"Input",
|
|
662
|
+
"InputGroup",
|
|
663
|
+
"InputGroupAddon",
|
|
664
|
+
"InputGroupButton",
|
|
665
|
+
"InputGroupInput",
|
|
666
|
+
"InputGroupText",
|
|
667
|
+
"InputGroupTextarea",
|
|
649
668
|
"Label",
|
|
650
669
|
"MetadataForm",
|
|
651
670
|
"MultiSelect",
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export { Toggle, toggleVariants } from './components/ui/toggle';
|
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem } from './components/ui/toggle-group';
|
|
13
13
|
export { Input } from './components/ui/input';
|
|
14
14
|
export type { InputProps } from './components/ui/input';
|
|
15
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, } from './components/ui/input-group';
|
|
16
|
+
export type { InputGroupProps, InputGroupAddonProps, InputGroupButtonProps, InputGroupTextProps, InputGroupInputProps, InputGroupTextareaProps, } from './components/ui/input-group';
|
|
15
17
|
export { Textarea } from './components/ui/textarea';
|
|
16
18
|
export type { TextareaProps } from './components/ui/textarea';
|
|
17
19
|
export { Label } from './components/ui/label';
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "./components
|
|
|
7
7
|
import { Toggle, toggleVariants } from "./components/ui/toggle.js";
|
|
8
8
|
import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
|
|
9
9
|
import { Input } from "./components/ui/input.js";
|
|
10
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./components/ui/input-group.js";
|
|
10
11
|
import { Textarea } from "./components/ui/textarea.js";
|
|
11
12
|
import { Label } from "./components/ui/label.js";
|
|
12
13
|
import { Checkbox } from "./components/ui/checkbox.js";
|
|
@@ -63,4 +64,4 @@ import { ExpressionBuilder, RuleBuilder, RulesEngine } from "./components/forms/
|
|
|
63
64
|
import { DataFetcher, DataSourceBuilder, DataTransformers, FetchAdapter } from "./components/forms/data-fetcher.js";
|
|
64
65
|
import { analyticsPlugin, auditPlugin, autoSavePlugin, formattingPlugin, validationPlugin, workflowPlugin } from "./components/forms/form-plugins.js";
|
|
65
66
|
import { hasMinMaxStep, hasOptions, isCustomField, isFileField } from "./components/forms/form-schema.js";
|
|
66
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FetchAdapter, FileUpload, FormDesigner, FormFieldRenderer, FormStateViewer, Grid, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label, MetadataForm, MultiSelect, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PromptEditor, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, StatsCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, spinnerVariants, toast, toggleVariants, validationPlugin, workflowPlugin };
|
|
67
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FetchAdapter, FileUpload, FormDesigner, FormFieldRenderer, FormStateViewer, Grid, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Label, MetadataForm, MultiSelect, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PromptEditor, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, StatsCard, Stepper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, tree_view as TreeView, VARIABLE_DRAG_MIME, analyticsPlugin, auditPlugin, autoSavePlugin, badgeVariants, buttonVariants, cn, createEditableColumn, formattingPlugin, hasMinMaxStep, hasOptions, isCustomField, isFileField, spinnerVariants, toast, toggleVariants, validationPlugin, workflowPlugin };
|
package/dist/styles.css
CHANGED
|
@@ -619,9 +619,6 @@
|
|
|
619
619
|
.top-2 {
|
|
620
620
|
top: calc(var(--spacing) * 2);
|
|
621
621
|
}
|
|
622
|
-
.top-2\.5 {
|
|
623
|
-
top: calc(var(--spacing) * 2.5);
|
|
624
|
-
}
|
|
625
622
|
.top-3 {
|
|
626
623
|
top: calc(var(--spacing) * 3);
|
|
627
624
|
}
|
|
@@ -682,9 +679,6 @@
|
|
|
682
679
|
.left-2 {
|
|
683
680
|
left: calc(var(--spacing) * 2);
|
|
684
681
|
}
|
|
685
|
-
.left-2\.5 {
|
|
686
|
-
left: calc(var(--spacing) * 2.5);
|
|
687
|
-
}
|
|
688
682
|
.left-3 {
|
|
689
683
|
left: calc(var(--spacing) * 3);
|
|
690
684
|
}
|
|
@@ -706,6 +700,12 @@
|
|
|
706
700
|
.z-50 {
|
|
707
701
|
z-index: 50;
|
|
708
702
|
}
|
|
703
|
+
.order-first {
|
|
704
|
+
order: -9999;
|
|
705
|
+
}
|
|
706
|
+
.order-last {
|
|
707
|
+
order: 9999;
|
|
708
|
+
}
|
|
709
709
|
.col-span-1 {
|
|
710
710
|
grid-column: span 1 / span 1;
|
|
711
711
|
}
|
|
@@ -1650,6 +1650,9 @@
|
|
|
1650
1650
|
.cursor-pointer {
|
|
1651
1651
|
cursor: pointer;
|
|
1652
1652
|
}
|
|
1653
|
+
.cursor-text {
|
|
1654
|
+
cursor: text;
|
|
1655
|
+
}
|
|
1653
1656
|
.touch-none {
|
|
1654
1657
|
touch-action: none;
|
|
1655
1658
|
}
|
|
@@ -2193,6 +2196,12 @@
|
|
|
2193
2196
|
.border-foreground-accent-muted {
|
|
2194
2197
|
border-color: var(--foreground-accent-muted);
|
|
2195
2198
|
}
|
|
2199
|
+
.border-foreground-inverse\/20 {
|
|
2200
|
+
border-color: var(--foreground-inverse);
|
|
2201
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2202
|
+
border-color: color-mix(in oklab, var(--foreground-inverse) 20%, transparent);
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2196
2205
|
.border-gray-200 {
|
|
2197
2206
|
border-color: var(--color-gray-200);
|
|
2198
2207
|
}
|
|
@@ -2592,6 +2601,18 @@
|
|
|
2592
2601
|
.bg-foreground-inverse {
|
|
2593
2602
|
background-color: var(--foreground-inverse);
|
|
2594
2603
|
}
|
|
2604
|
+
.bg-foreground-inverse\/10 {
|
|
2605
|
+
background-color: var(--foreground-inverse);
|
|
2606
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2607
|
+
background-color: color-mix(in oklab, var(--foreground-inverse) 10%, transparent);
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
.bg-foreground-inverse\/15 {
|
|
2611
|
+
background-color: var(--foreground-inverse);
|
|
2612
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2613
|
+
background-color: color-mix(in oklab, var(--foreground-inverse) 15%, transparent);
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2595
2616
|
.bg-fuchsia-50 {
|
|
2596
2617
|
background-color: var(--color-fuchsia-50);
|
|
2597
2618
|
}
|
|
@@ -3536,9 +3557,6 @@
|
|
|
3536
3557
|
.pr-4 {
|
|
3537
3558
|
padding-right: calc(var(--spacing) * 4);
|
|
3538
3559
|
}
|
|
3539
|
-
.pr-8 {
|
|
3540
|
-
padding-right: calc(var(--spacing) * 8);
|
|
3541
|
-
}
|
|
3542
3560
|
.pr-9 {
|
|
3543
3561
|
padding-right: calc(var(--spacing) * 9);
|
|
3544
3562
|
}
|
|
@@ -3857,6 +3875,12 @@
|
|
|
3857
3875
|
.text-foreground-inverse {
|
|
3858
3876
|
color: var(--foreground-inverse);
|
|
3859
3877
|
}
|
|
3878
|
+
.text-foreground-inverse\/70 {
|
|
3879
|
+
color: var(--foreground-inverse);
|
|
3880
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3881
|
+
color: color-mix(in oklab, var(--foreground-inverse) 70%, transparent);
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3860
3884
|
.text-foreground-link {
|
|
3861
3885
|
color: var(--foreground-link);
|
|
3862
3886
|
}
|
|
@@ -4376,6 +4400,11 @@
|
|
|
4376
4400
|
}
|
|
4377
4401
|
}
|
|
4378
4402
|
}
|
|
4403
|
+
.group-has-\[\[data-slot\=input-group-control\]\:disabled\]\/input-group\:opacity-50 {
|
|
4404
|
+
&:is(:where(.group\/input-group):has(*:is([data-slot=input-group-control]:disabled)) *) {
|
|
4405
|
+
opacity: 50%;
|
|
4406
|
+
}
|
|
4407
|
+
}
|
|
4379
4408
|
.group-data-\[focused\=true\]\/day\:relative {
|
|
4380
4409
|
&:is(:where(.group\/day)[data-focused="true"] *) {
|
|
4381
4410
|
position: relative;
|
|
@@ -5345,6 +5374,50 @@
|
|
|
5345
5374
|
}
|
|
5346
5375
|
}
|
|
5347
5376
|
}
|
|
5377
|
+
.has-\[\[data-slot\=input-group-control\]\:disabled\]\:cursor-not-allowed {
|
|
5378
|
+
&:has(*:is([data-slot=input-group-control]:disabled)) {
|
|
5379
|
+
cursor: not-allowed;
|
|
5380
|
+
}
|
|
5381
|
+
}
|
|
5382
|
+
.has-\[\[data-slot\=input-group-control\]\:disabled\]\:opacity-50 {
|
|
5383
|
+
&:has(*:is([data-slot=input-group-control]:disabled)) {
|
|
5384
|
+
opacity: 50%;
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-2 {
|
|
5388
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
5389
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
5390
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring {
|
|
5394
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
5395
|
+
--tw-ring-color: var(--ring);
|
|
5396
|
+
}
|
|
5397
|
+
}
|
|
5398
|
+
.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive {
|
|
5399
|
+
&:has(*:is([data-slot][aria-invalid=true])) {
|
|
5400
|
+
border-color: var(--destructive);
|
|
5401
|
+
}
|
|
5402
|
+
}
|
|
5403
|
+
.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20 {
|
|
5404
|
+
&:has(*:is([data-slot][aria-invalid=true])) {
|
|
5405
|
+
--tw-ring-color: var(--destructive);
|
|
5406
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5407
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
5408
|
+
}
|
|
5409
|
+
}
|
|
5410
|
+
}
|
|
5411
|
+
.has-\[\>textarea\]\:h-auto {
|
|
5412
|
+
&:has(>textarea) {
|
|
5413
|
+
height: auto;
|
|
5414
|
+
}
|
|
5415
|
+
}
|
|
5416
|
+
.has-\[\>textarea\]\:items-start {
|
|
5417
|
+
&:has(>textarea) {
|
|
5418
|
+
align-items: flex-start;
|
|
5419
|
+
}
|
|
5420
|
+
}
|
|
5348
5421
|
.aria-disabled\:opacity-50 {
|
|
5349
5422
|
&[aria-disabled="true"] {
|
|
5350
5423
|
opacity: 50%;
|
|
@@ -6053,6 +6126,11 @@
|
|
|
6053
6126
|
fill: var(--foreground-accent);
|
|
6054
6127
|
}
|
|
6055
6128
|
}
|
|
6129
|
+
.future\:p-0 {
|
|
6130
|
+
:is(.future-dark, .future-light) & {
|
|
6131
|
+
padding: calc(var(--spacing) * 0);
|
|
6132
|
+
}
|
|
6133
|
+
}
|
|
6056
6134
|
.future\:px-4 {
|
|
6057
6135
|
:is(.future-dark, .future-light) & {
|
|
6058
6136
|
padding-inline: calc(var(--spacing) * 4);
|
|
@@ -6197,6 +6275,21 @@
|
|
|
6197
6275
|
}
|
|
6198
6276
|
}
|
|
6199
6277
|
}
|
|
6278
|
+
.future\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-offset-2 {
|
|
6279
|
+
:is(.future-dark, .future-light) & {
|
|
6280
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
6281
|
+
--tw-ring-offset-width: 2px;
|
|
6282
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
6283
|
+
}
|
|
6284
|
+
}
|
|
6285
|
+
}
|
|
6286
|
+
.future\:has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-offset-background {
|
|
6287
|
+
:is(.future-dark, .future-light) & {
|
|
6288
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
6289
|
+
--tw-ring-offset-color: var(--background);
|
|
6290
|
+
}
|
|
6291
|
+
}
|
|
6292
|
+
}
|
|
6200
6293
|
.future\:data-\[state\=checked\]\:border-foreground-accent {
|
|
6201
6294
|
:is(.future-dark, .future-light) & {
|
|
6202
6295
|
&[data-state="checked"] {
|
|
@@ -6689,6 +6782,12 @@
|
|
|
6689
6782
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
6690
6783
|
}
|
|
6691
6784
|
}
|
|
6785
|
+
.\[\&\>svg\:not\(\[class\*\=\"size-\"\]\)\]\:size-4 {
|
|
6786
|
+
&>svg:not([class*="size-"]) {
|
|
6787
|
+
width: calc(var(--spacing) * 4);
|
|
6788
|
+
height: calc(var(--spacing) * 4);
|
|
6789
|
+
}
|
|
6790
|
+
}
|
|
6692
6791
|
.\[\&\>svg\~\*\]\:pl-7 {
|
|
6693
6792
|
&>svg~* {
|
|
6694
6793
|
padding-left: calc(var(--spacing) * 7);
|