@marigold/components 11.2.3 → 11.3.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/dist/index.d.mts +87 -7
- package/dist/index.d.ts +87 -7
- package/dist/index.js +510 -356
- package/dist/index.mjs +463 -296
- package/package.json +24 -12
package/dist/index.js
CHANGED
|
@@ -398,9 +398,9 @@ var require_hoist_non_react_statics_cjs = __commonJS({
|
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
401
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js
|
|
402
402
|
var require_extends = __commonJS({
|
|
403
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
403
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js"(exports2, module2) {
|
|
404
404
|
"use strict";
|
|
405
405
|
function _extends2() {
|
|
406
406
|
return module2.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -415,9 +415,9 @@ var require_extends = __commonJS({
|
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
|
|
418
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
418
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js
|
|
419
419
|
var require_typeof = __commonJS({
|
|
420
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
420
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js"(exports2, module2) {
|
|
421
421
|
"use strict";
|
|
422
422
|
function _typeof2(o) {
|
|
423
423
|
"@babel/helpers - typeof";
|
|
@@ -431,9 +431,9 @@ var require_typeof = __commonJS({
|
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
|
|
434
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
434
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
435
435
|
var require_toPrimitive = __commonJS({
|
|
436
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
436
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js"(exports2, module2) {
|
|
437
437
|
"use strict";
|
|
438
438
|
var _typeof2 = require_typeof()["default"];
|
|
439
439
|
function toPrimitive2(t, r) {
|
|
@@ -450,9 +450,9 @@ var require_toPrimitive = __commonJS({
|
|
|
450
450
|
}
|
|
451
451
|
});
|
|
452
452
|
|
|
453
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
453
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
454
454
|
var require_toPropertyKey = __commonJS({
|
|
455
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
455
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports2, module2) {
|
|
456
456
|
"use strict";
|
|
457
457
|
var _typeof2 = require_typeof()["default"];
|
|
458
458
|
var toPrimitive2 = require_toPrimitive();
|
|
@@ -464,9 +464,9 @@ var require_toPropertyKey = __commonJS({
|
|
|
464
464
|
}
|
|
465
465
|
});
|
|
466
466
|
|
|
467
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
467
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
468
468
|
var require_defineProperty = __commonJS({
|
|
469
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
469
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js"(exports2, module2) {
|
|
470
470
|
"use strict";
|
|
471
471
|
var toPropertyKey2 = require_toPropertyKey();
|
|
472
472
|
function _defineProperty2(e, r, t) {
|
|
@@ -481,9 +481,9 @@ var require_defineProperty = __commonJS({
|
|
|
481
481
|
}
|
|
482
482
|
});
|
|
483
483
|
|
|
484
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
484
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
485
485
|
var require_objectSpread2 = __commonJS({
|
|
486
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
486
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js"(exports2, module2) {
|
|
487
487
|
"use strict";
|
|
488
488
|
var defineProperty = require_defineProperty();
|
|
489
489
|
function ownKeys2(e, r) {
|
|
@@ -511,9 +511,9 @@ var require_objectSpread2 = __commonJS({
|
|
|
511
511
|
}
|
|
512
512
|
});
|
|
513
513
|
|
|
514
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
514
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
515
515
|
var require_arrayWithHoles = __commonJS({
|
|
516
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
516
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js"(exports2, module2) {
|
|
517
517
|
"use strict";
|
|
518
518
|
function _arrayWithHoles2(r) {
|
|
519
519
|
if (Array.isArray(r)) return r;
|
|
@@ -522,9 +522,9 @@ var require_arrayWithHoles = __commonJS({
|
|
|
522
522
|
}
|
|
523
523
|
});
|
|
524
524
|
|
|
525
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
525
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
526
526
|
var require_iterableToArrayLimit = __commonJS({
|
|
527
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
527
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"(exports2, module2) {
|
|
528
528
|
"use strict";
|
|
529
529
|
function _iterableToArrayLimit2(r, l) {
|
|
530
530
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -551,9 +551,9 @@ var require_iterableToArrayLimit = __commonJS({
|
|
|
551
551
|
}
|
|
552
552
|
});
|
|
553
553
|
|
|
554
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
554
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
555
555
|
var require_arrayLikeToArray = __commonJS({
|
|
556
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
556
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"(exports2, module2) {
|
|
557
557
|
"use strict";
|
|
558
558
|
function _arrayLikeToArray2(r, a) {
|
|
559
559
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -564,9 +564,9 @@ var require_arrayLikeToArray = __commonJS({
|
|
|
564
564
|
}
|
|
565
565
|
});
|
|
566
566
|
|
|
567
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
567
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
568
568
|
var require_unsupportedIterableToArray = __commonJS({
|
|
569
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
569
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"(exports2, module2) {
|
|
570
570
|
"use strict";
|
|
571
571
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
572
572
|
function _unsupportedIterableToArray2(r, a) {
|
|
@@ -580,9 +580,9 @@ var require_unsupportedIterableToArray = __commonJS({
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
|
|
583
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
583
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
584
584
|
var require_nonIterableRest = __commonJS({
|
|
585
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
585
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js"(exports2, module2) {
|
|
586
586
|
"use strict";
|
|
587
587
|
function _nonIterableRest2() {
|
|
588
588
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -591,9 +591,9 @@ var require_nonIterableRest = __commonJS({
|
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
|
|
594
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
594
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
595
595
|
var require_slicedToArray = __commonJS({
|
|
596
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
596
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js"(exports2, module2) {
|
|
597
597
|
"use strict";
|
|
598
598
|
var arrayWithHoles = require_arrayWithHoles();
|
|
599
599
|
var iterableToArrayLimit = require_iterableToArrayLimit();
|
|
@@ -606,15 +606,15 @@ var require_slicedToArray = __commonJS({
|
|
|
606
606
|
}
|
|
607
607
|
});
|
|
608
608
|
|
|
609
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
609
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
610
610
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
611
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
611
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports2, module2) {
|
|
612
612
|
"use strict";
|
|
613
613
|
function _objectWithoutPropertiesLoose2(r, e) {
|
|
614
614
|
if (null == r) return {};
|
|
615
615
|
var t = {};
|
|
616
616
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
617
|
-
if (e.
|
|
617
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
618
618
|
t[n] = r[n];
|
|
619
619
|
}
|
|
620
620
|
return t;
|
|
@@ -623,17 +623,17 @@ var require_objectWithoutPropertiesLoose = __commonJS({
|
|
|
623
623
|
}
|
|
624
624
|
});
|
|
625
625
|
|
|
626
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
626
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
627
627
|
var require_objectWithoutProperties = __commonJS({
|
|
628
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
628
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(exports2, module2) {
|
|
629
629
|
"use strict";
|
|
630
630
|
var objectWithoutPropertiesLoose = require_objectWithoutPropertiesLoose();
|
|
631
631
|
function _objectWithoutProperties2(e, t) {
|
|
632
632
|
if (null == e) return {};
|
|
633
633
|
var o, r, i = objectWithoutPropertiesLoose(e, t);
|
|
634
634
|
if (Object.getOwnPropertySymbols) {
|
|
635
|
-
var
|
|
636
|
-
for (r = 0; r <
|
|
635
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
636
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
637
637
|
}
|
|
638
638
|
return i;
|
|
639
639
|
}
|
|
@@ -641,9 +641,9 @@ var require_objectWithoutProperties = __commonJS({
|
|
|
641
641
|
}
|
|
642
642
|
});
|
|
643
643
|
|
|
644
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
644
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
645
645
|
var require_classCallCheck = __commonJS({
|
|
646
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
646
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js"(exports2, module2) {
|
|
647
647
|
"use strict";
|
|
648
648
|
function _classCallCheck2(a, n) {
|
|
649
649
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -652,9 +652,9 @@ var require_classCallCheck = __commonJS({
|
|
|
652
652
|
}
|
|
653
653
|
});
|
|
654
654
|
|
|
655
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
655
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js
|
|
656
656
|
var require_createClass = __commonJS({
|
|
657
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
657
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js"(exports2, module2) {
|
|
658
658
|
"use strict";
|
|
659
659
|
var toPropertyKey2 = require_toPropertyKey();
|
|
660
660
|
function _defineProperties2(e, r) {
|
|
@@ -672,9 +672,9 @@ var require_createClass = __commonJS({
|
|
|
672
672
|
}
|
|
673
673
|
});
|
|
674
674
|
|
|
675
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
675
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
676
676
|
var require_setPrototypeOf = __commonJS({
|
|
677
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
677
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"(exports2, module2) {
|
|
678
678
|
"use strict";
|
|
679
679
|
function _setPrototypeOf2(t, e) {
|
|
680
680
|
return module2.exports = _setPrototypeOf2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
@@ -685,9 +685,9 @@ var require_setPrototypeOf = __commonJS({
|
|
|
685
685
|
}
|
|
686
686
|
});
|
|
687
687
|
|
|
688
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
688
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js
|
|
689
689
|
var require_inherits = __commonJS({
|
|
690
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
690
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js"(exports2, module2) {
|
|
691
691
|
"use strict";
|
|
692
692
|
var setPrototypeOf = require_setPrototypeOf();
|
|
693
693
|
function _inherits2(t, e) {
|
|
@@ -706,9 +706,9 @@ var require_inherits = __commonJS({
|
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
709
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
710
710
|
var require_getPrototypeOf = __commonJS({
|
|
711
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
711
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js"(exports2, module2) {
|
|
712
712
|
"use strict";
|
|
713
713
|
function _getPrototypeOf2(t) {
|
|
714
714
|
return module2.exports = _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
@@ -719,9 +719,9 @@ var require_getPrototypeOf = __commonJS({
|
|
|
719
719
|
}
|
|
720
720
|
});
|
|
721
721
|
|
|
722
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
722
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
|
|
723
723
|
var require_isNativeReflectConstruct = __commonJS({
|
|
724
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
724
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"(exports2, module2) {
|
|
725
725
|
"use strict";
|
|
726
726
|
function _isNativeReflectConstruct2() {
|
|
727
727
|
try {
|
|
@@ -737,9 +737,9 @@ var require_isNativeReflectConstruct = __commonJS({
|
|
|
737
737
|
}
|
|
738
738
|
});
|
|
739
739
|
|
|
740
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
740
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
741
741
|
var require_assertThisInitialized = __commonJS({
|
|
742
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
742
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js"(exports2, module2) {
|
|
743
743
|
"use strict";
|
|
744
744
|
function _assertThisInitialized2(e) {
|
|
745
745
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -749,9 +749,9 @@ var require_assertThisInitialized = __commonJS({
|
|
|
749
749
|
}
|
|
750
750
|
});
|
|
751
751
|
|
|
752
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
752
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
753
753
|
var require_possibleConstructorReturn = __commonJS({
|
|
754
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
754
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"(exports2, module2) {
|
|
755
755
|
"use strict";
|
|
756
756
|
var _typeof2 = require_typeof()["default"];
|
|
757
757
|
var assertThisInitialized = require_assertThisInitialized();
|
|
@@ -764,9 +764,9 @@ var require_possibleConstructorReturn = __commonJS({
|
|
|
764
764
|
}
|
|
765
765
|
});
|
|
766
766
|
|
|
767
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
767
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js
|
|
768
768
|
var require_createSuper = __commonJS({
|
|
769
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
769
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js"(exports2, module2) {
|
|
770
770
|
"use strict";
|
|
771
771
|
var getPrototypeOf = require_getPrototypeOf();
|
|
772
772
|
var isNativeReflectConstruct = require_isNativeReflectConstruct();
|
|
@@ -786,9 +786,9 @@ var require_createSuper = __commonJS({
|
|
|
786
786
|
}
|
|
787
787
|
});
|
|
788
788
|
|
|
789
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
789
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
790
790
|
var require_arrayWithoutHoles = __commonJS({
|
|
791
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
791
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"(exports2, module2) {
|
|
792
792
|
"use strict";
|
|
793
793
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
794
794
|
function _arrayWithoutHoles2(r) {
|
|
@@ -798,9 +798,9 @@ var require_arrayWithoutHoles = __commonJS({
|
|
|
798
798
|
}
|
|
799
799
|
});
|
|
800
800
|
|
|
801
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
801
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
802
802
|
var require_iterableToArray = __commonJS({
|
|
803
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
803
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js"(exports2, module2) {
|
|
804
804
|
"use strict";
|
|
805
805
|
function _iterableToArray2(r) {
|
|
806
806
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
@@ -809,9 +809,9 @@ var require_iterableToArray = __commonJS({
|
|
|
809
809
|
}
|
|
810
810
|
});
|
|
811
811
|
|
|
812
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
812
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
813
813
|
var require_nonIterableSpread = __commonJS({
|
|
814
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
814
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js"(exports2, module2) {
|
|
815
815
|
"use strict";
|
|
816
816
|
function _nonIterableSpread2() {
|
|
817
817
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -820,9 +820,9 @@ var require_nonIterableSpread = __commonJS({
|
|
|
820
820
|
}
|
|
821
821
|
});
|
|
822
822
|
|
|
823
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
823
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
824
824
|
var require_toConsumableArray = __commonJS({
|
|
825
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
825
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js"(exports2, module2) {
|
|
826
826
|
"use strict";
|
|
827
827
|
var arrayWithoutHoles = require_arrayWithoutHoles();
|
|
828
828
|
var iterableToArray = require_iterableToArray();
|
|
@@ -835,9 +835,9 @@ var require_toConsumableArray = __commonJS({
|
|
|
835
835
|
}
|
|
836
836
|
});
|
|
837
837
|
|
|
838
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
838
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
|
|
839
839
|
var require_taggedTemplateLiteral = __commonJS({
|
|
840
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
840
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js"(exports2, module2) {
|
|
841
841
|
"use strict";
|
|
842
842
|
function _taggedTemplateLiteral2(e, t) {
|
|
843
843
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
@@ -896,6 +896,7 @@ __export(index_exports, {
|
|
|
896
896
|
Menu: () => _Menu,
|
|
897
897
|
Modal: () => _Modal,
|
|
898
898
|
Multiselect: () => Multiselect,
|
|
899
|
+
NonModal: () => NonModal,
|
|
899
900
|
NumberField: () => _NumberField,
|
|
900
901
|
OverlayContainerProvider: () => OverlayContainerProvider,
|
|
901
902
|
Pagination: () => _Pagination,
|
|
@@ -1455,7 +1456,7 @@ var OverlayContainerProvider = OverlayContainerContext.Provider;
|
|
|
1455
1456
|
var usePortalContainer = () => {
|
|
1456
1457
|
const portalContainer = (0, import_react12.useContext)(OverlayContainerContext);
|
|
1457
1458
|
const isSSR = (0, import_ssr.useIsSSR)();
|
|
1458
|
-
const portal = isSSR ?
|
|
1459
|
+
const portal = isSSR ? void 0 : portalContainer ? document.getElementById(portalContainer) || void 0 : document.body;
|
|
1459
1460
|
return portal;
|
|
1460
1461
|
};
|
|
1461
1462
|
|
|
@@ -3236,11 +3237,9 @@ SectionMessage.Title = SectionMessageTitle;
|
|
|
3236
3237
|
SectionMessage.Content = SectionMessageContent;
|
|
3237
3238
|
|
|
3238
3239
|
// src/Multiselect/Multiselect.tsx
|
|
3239
|
-
var import_react46 = require("react");
|
|
3240
3240
|
var import_react_aria_components43 = require("react-aria-components");
|
|
3241
|
-
var import_react_aria_components44 = require("react-aria-components");
|
|
3242
3241
|
|
|
3243
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3242
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
3244
3243
|
function _typeof(o) {
|
|
3245
3244
|
"@babel/helpers - typeof";
|
|
3246
3245
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -3250,7 +3249,7 @@ function _typeof(o) {
|
|
|
3250
3249
|
}, _typeof(o);
|
|
3251
3250
|
}
|
|
3252
3251
|
|
|
3253
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3252
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
3254
3253
|
function toPrimitive(t, r) {
|
|
3255
3254
|
if ("object" != _typeof(t) || !t) return t;
|
|
3256
3255
|
var e = t[Symbol.toPrimitive];
|
|
@@ -3262,13 +3261,13 @@ function toPrimitive(t, r) {
|
|
|
3262
3261
|
return ("string" === r ? String : Number)(t);
|
|
3263
3262
|
}
|
|
3264
3263
|
|
|
3265
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3264
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
3266
3265
|
function toPropertyKey(t) {
|
|
3267
3266
|
var i = toPrimitive(t, "string");
|
|
3268
3267
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
3269
3268
|
}
|
|
3270
3269
|
|
|
3271
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3270
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
3272
3271
|
function _defineProperty(e, r, t) {
|
|
3273
3272
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
3274
3273
|
value: t,
|
|
@@ -3278,7 +3277,7 @@ function _defineProperty(e, r, t) {
|
|
|
3278
3277
|
}) : e[r] = t, e;
|
|
3279
3278
|
}
|
|
3280
3279
|
|
|
3281
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3280
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
3282
3281
|
function ownKeys(e, r) {
|
|
3283
3282
|
var t = Object.keys(e);
|
|
3284
3283
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3301,12 +3300,12 @@ function _objectSpread2(e) {
|
|
|
3301
3300
|
return e;
|
|
3302
3301
|
}
|
|
3303
3302
|
|
|
3304
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3303
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
3305
3304
|
function _arrayWithHoles(r) {
|
|
3306
3305
|
if (Array.isArray(r)) return r;
|
|
3307
3306
|
}
|
|
3308
3307
|
|
|
3309
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3308
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
3310
3309
|
function _iterableToArrayLimit(r, l) {
|
|
3311
3310
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3312
3311
|
if (null != t) {
|
|
@@ -3329,14 +3328,14 @@ function _iterableToArrayLimit(r, l) {
|
|
|
3329
3328
|
}
|
|
3330
3329
|
}
|
|
3331
3330
|
|
|
3332
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3331
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
3333
3332
|
function _arrayLikeToArray(r, a) {
|
|
3334
3333
|
(null == a || a > r.length) && (a = r.length);
|
|
3335
3334
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3336
3335
|
return n;
|
|
3337
3336
|
}
|
|
3338
3337
|
|
|
3339
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3338
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3340
3339
|
function _unsupportedIterableToArray(r, a) {
|
|
3341
3340
|
if (r) {
|
|
3342
3341
|
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
@@ -3345,39 +3344,39 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
3345
3344
|
}
|
|
3346
3345
|
}
|
|
3347
3346
|
|
|
3348
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3347
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
3349
3348
|
function _nonIterableRest() {
|
|
3350
3349
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3351
3350
|
}
|
|
3352
3351
|
|
|
3353
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3352
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
3354
3353
|
function _slicedToArray(r, e) {
|
|
3355
3354
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
3356
3355
|
}
|
|
3357
3356
|
|
|
3358
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3357
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3359
3358
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3360
3359
|
if (null == r) return {};
|
|
3361
3360
|
var t = {};
|
|
3362
3361
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3363
|
-
if (e.
|
|
3362
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3364
3363
|
t[n] = r[n];
|
|
3365
3364
|
}
|
|
3366
3365
|
return t;
|
|
3367
3366
|
}
|
|
3368
3367
|
|
|
3369
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3368
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
3370
3369
|
function _objectWithoutProperties(e, t) {
|
|
3371
3370
|
if (null == e) return {};
|
|
3372
3371
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
3373
3372
|
if (Object.getOwnPropertySymbols) {
|
|
3374
|
-
var
|
|
3375
|
-
for (r = 0; r <
|
|
3373
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3374
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3376
3375
|
}
|
|
3377
3376
|
return i;
|
|
3378
3377
|
}
|
|
3379
3378
|
|
|
3380
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3379
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
|
|
3381
3380
|
var import_react38 = require("react");
|
|
3382
3381
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
3383
3382
|
function useStateManager(_ref3) {
|
|
@@ -3424,7 +3423,7 @@ function useStateManager(_ref3) {
|
|
|
3424
3423
|
});
|
|
3425
3424
|
}
|
|
3426
3425
|
|
|
3427
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3426
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
3428
3427
|
function _extends() {
|
|
3429
3428
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3430
3429
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -3435,16 +3434,16 @@ function _extends() {
|
|
|
3435
3434
|
}, _extends.apply(null, arguments);
|
|
3436
3435
|
}
|
|
3437
3436
|
|
|
3438
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3437
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/react-select.esm.js
|
|
3439
3438
|
var React11 = __toESM(require("react"));
|
|
3440
3439
|
var import_react45 = require("react");
|
|
3441
3440
|
|
|
3442
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3441
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
3443
3442
|
function _classCallCheck(a, n) {
|
|
3444
3443
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3445
3444
|
}
|
|
3446
3445
|
|
|
3447
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3446
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
3448
3447
|
function _defineProperties(e, r) {
|
|
3449
3448
|
for (var t = 0; t < r.length; t++) {
|
|
3450
3449
|
var o = r[t];
|
|
@@ -3457,14 +3456,14 @@ function _createClass(e, r, t) {
|
|
|
3457
3456
|
}), e;
|
|
3458
3457
|
}
|
|
3459
3458
|
|
|
3460
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3459
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
3461
3460
|
function _setPrototypeOf(t, e) {
|
|
3462
3461
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
3463
3462
|
return t2.__proto__ = e2, t2;
|
|
3464
3463
|
}, _setPrototypeOf(t, e);
|
|
3465
3464
|
}
|
|
3466
3465
|
|
|
3467
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3466
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
3468
3467
|
function _inherits(t, e) {
|
|
3469
3468
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
3470
3469
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -3478,14 +3477,14 @@ function _inherits(t, e) {
|
|
|
3478
3477
|
}), e && _setPrototypeOf(t, e);
|
|
3479
3478
|
}
|
|
3480
3479
|
|
|
3481
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3480
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
3482
3481
|
function _getPrototypeOf(t) {
|
|
3483
3482
|
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
3484
3483
|
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
3485
3484
|
}, _getPrototypeOf(t);
|
|
3486
3485
|
}
|
|
3487
3486
|
|
|
3488
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3487
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
3489
3488
|
function _isNativeReflectConstruct() {
|
|
3490
3489
|
try {
|
|
3491
3490
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -3497,20 +3496,20 @@ function _isNativeReflectConstruct() {
|
|
|
3497
3496
|
})();
|
|
3498
3497
|
}
|
|
3499
3498
|
|
|
3500
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3499
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
3501
3500
|
function _assertThisInitialized(e) {
|
|
3502
3501
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3503
3502
|
return e;
|
|
3504
3503
|
}
|
|
3505
3504
|
|
|
3506
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3505
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
3507
3506
|
function _possibleConstructorReturn(t, e) {
|
|
3508
3507
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
3509
3508
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
3510
3509
|
return _assertThisInitialized(t);
|
|
3511
3510
|
}
|
|
3512
3511
|
|
|
3513
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3512
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
3514
3513
|
function _createSuper(t) {
|
|
3515
3514
|
var r = _isNativeReflectConstruct();
|
|
3516
3515
|
return function() {
|
|
@@ -3523,27 +3522,27 @@ function _createSuper(t) {
|
|
|
3523
3522
|
};
|
|
3524
3523
|
}
|
|
3525
3524
|
|
|
3526
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3525
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
3527
3526
|
function _arrayWithoutHoles(r) {
|
|
3528
3527
|
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3529
3528
|
}
|
|
3530
3529
|
|
|
3531
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3530
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
3532
3531
|
function _iterableToArray(r) {
|
|
3533
3532
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3534
3533
|
}
|
|
3535
3534
|
|
|
3536
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3535
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
3537
3536
|
function _nonIterableSpread() {
|
|
3538
3537
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3539
3538
|
}
|
|
3540
3539
|
|
|
3541
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3540
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
3542
3541
|
function _toConsumableArray(r) {
|
|
3543
3542
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3544
3543
|
}
|
|
3545
3544
|
|
|
3546
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3545
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
3547
3546
|
var React10 = __toESM(require("react"));
|
|
3548
3547
|
var import_react43 = require("react");
|
|
3549
3548
|
|
|
@@ -4867,7 +4866,7 @@ function keyframes() {
|
|
|
4867
4866
|
};
|
|
4868
4867
|
}
|
|
4869
4868
|
|
|
4870
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
4869
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
|
|
4871
4870
|
function _taggedTemplateLiteral(e, t) {
|
|
4872
4871
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
4873
4872
|
raw: {
|
|
@@ -4876,7 +4875,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
4876
4875
|
}));
|
|
4877
4876
|
}
|
|
4878
4877
|
|
|
4879
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
4878
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
4880
4879
|
var import_react42 = require("react");
|
|
4881
4880
|
var import_react_dom = require("react-dom");
|
|
4882
4881
|
|
|
@@ -5282,7 +5281,7 @@ var import_react40 = require("react");
|
|
|
5282
5281
|
var isClient = typeof document !== "undefined";
|
|
5283
5282
|
var index = isClient ? import_react40.useLayoutEffect : import_react40.useEffect;
|
|
5284
5283
|
|
|
5285
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
5284
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5286
5285
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5287
5286
|
var noop = function noop2() {
|
|
5288
5287
|
};
|
|
@@ -6356,7 +6355,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6356
6355
|
return memoized;
|
|
6357
6356
|
}
|
|
6358
6357
|
|
|
6359
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
6358
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
6360
6359
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
6361
6360
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
6362
6361
|
}
|
|
@@ -8201,7 +8200,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8201
8200
|
// ==============================
|
|
8202
8201
|
function renderInput() {
|
|
8203
8202
|
var _this$props8 = this.props, isDisabled = _this$props8.isDisabled, isSearchable = _this$props8.isSearchable, inputId = _this$props8.inputId, inputValue = _this$props8.inputValue, tabIndex = _this$props8.tabIndex, form = _this$props8.form, menuIsOpen = _this$props8.menuIsOpen, required = _this$props8.required;
|
|
8204
|
-
var _this$getComponents = this.getComponents(),
|
|
8203
|
+
var _this$getComponents = this.getComponents(), Input6 = _this$getComponents.Input;
|
|
8205
8204
|
var _this$state4 = this.state, inputIsHidden = _this$state4.inputIsHidden, ariaSelection = _this$state4.ariaSelection;
|
|
8206
8205
|
var commonProps = this.commonProps;
|
|
8207
8206
|
var id = inputId || this.getElementId("input");
|
|
@@ -8239,7 +8238,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8239
8238
|
value: ""
|
|
8240
8239
|
}, ariaAttributes));
|
|
8241
8240
|
}
|
|
8242
|
-
return /* @__PURE__ */ React10.createElement(
|
|
8241
|
+
return /* @__PURE__ */ React10.createElement(Input6, _extends({}, commonProps, {
|
|
8243
8242
|
autoCapitalize: "none",
|
|
8244
8243
|
autoComplete: "off",
|
|
8245
8244
|
autoCorrect: "off",
|
|
@@ -8652,7 +8651,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8652
8651
|
}(import_react43.Component);
|
|
8653
8652
|
Select.defaultProps = defaultProps;
|
|
8654
8653
|
|
|
8655
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
8654
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/react-select.esm.js
|
|
8656
8655
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
8657
8656
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
8658
8657
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
|
@@ -8673,7 +8672,7 @@ var StateManagedSelect = /* @__PURE__ */ (0, import_react45.forwardRef)(function
|
|
|
8673
8672
|
});
|
|
8674
8673
|
var StateManagedSelect$1 = StateManagedSelect;
|
|
8675
8674
|
|
|
8676
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8675
|
+
// ../../node_modules/.pnpm/@react-aria+label@3.7.16_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-aria/label/dist/useLabel.mjs
|
|
8677
8676
|
var import_utils5 = require("@react-aria/utils");
|
|
8678
8677
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
8679
8678
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
@@ -8698,7 +8697,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
|
8698
8697
|
};
|
|
8699
8698
|
}
|
|
8700
8699
|
|
|
8701
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8700
|
+
// ../../node_modules/.pnpm/@react-aria+label@3.7.16_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-aria/label/dist/useField.mjs
|
|
8702
8701
|
var import_utils6 = require("@react-aria/utils");
|
|
8703
8702
|
function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
8704
8703
|
let { description, errorMessage, isInvalid, validationState } = props;
|
|
@@ -8736,6 +8735,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
|
8736
8735
|
}
|
|
8737
8736
|
|
|
8738
8737
|
// src/Multiselect/Multiselect.tsx
|
|
8738
|
+
var import_utils7 = require("@react-aria/utils");
|
|
8739
8739
|
var import_system64 = require("@marigold/system");
|
|
8740
8740
|
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
8741
8741
|
var propsToBeRemoved = [
|
|
@@ -8764,7 +8764,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
|
|
|
8764
8764
|
{}
|
|
8765
8765
|
);
|
|
8766
8766
|
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8767
|
-
|
|
8767
|
+
import_react_aria_components43.Input,
|
|
8768
8768
|
{
|
|
8769
8769
|
disabled: props.isDisabled,
|
|
8770
8770
|
ref: innerRef,
|
|
@@ -8774,7 +8774,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
|
|
|
8774
8774
|
);
|
|
8775
8775
|
};
|
|
8776
8776
|
var MultiValueRemove2 = ({ innerProps }) => {
|
|
8777
|
-
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
8777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react_aria_components43.Button, { slot: "remove", ...innerProps, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
|
|
8778
8778
|
};
|
|
8779
8779
|
var getClassNames = (classNames3) => ({
|
|
8780
8780
|
control: () => (0, import_system64.cn)(
|
|
@@ -8887,7 +8887,7 @@ var Multiselect = ({
|
|
|
8887
8887
|
inputId: fieldProps.id,
|
|
8888
8888
|
"aria-invalid": error,
|
|
8889
8889
|
isClearable: false,
|
|
8890
|
-
instanceId: (0,
|
|
8890
|
+
instanceId: (0, import_utils7.useId)(),
|
|
8891
8891
|
isSearchable: !readOnly,
|
|
8892
8892
|
isMulti: true,
|
|
8893
8893
|
closeMenuOnSelect: false,
|
|
@@ -8918,12 +8918,12 @@ var Multiselect = ({
|
|
|
8918
8918
|
};
|
|
8919
8919
|
|
|
8920
8920
|
// src/NumberField/NumberField.tsx
|
|
8921
|
-
var
|
|
8922
|
-
var
|
|
8921
|
+
var import_react46 = require("react");
|
|
8922
|
+
var import_react_aria_components45 = require("react-aria-components");
|
|
8923
8923
|
var import_system66 = require("@marigold/system");
|
|
8924
8924
|
|
|
8925
8925
|
// src/NumberField/StepButton.tsx
|
|
8926
|
-
var
|
|
8926
|
+
var import_react_aria_components44 = require("react-aria-components");
|
|
8927
8927
|
var import_system65 = require("@marigold/system");
|
|
8928
8928
|
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
8929
8929
|
var Plus = () => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
@@ -8945,7 +8945,7 @@ var Minus = () => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("svg", { width:
|
|
|
8945
8945
|
var _StepButton = ({ direction, className, ...props }) => {
|
|
8946
8946
|
const Icon4 = direction === "up" ? Plus : Minus;
|
|
8947
8947
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
8948
|
-
|
|
8948
|
+
import_react_aria_components44.Button,
|
|
8949
8949
|
{
|
|
8950
8950
|
className: (0, import_system65.cn)(
|
|
8951
8951
|
[
|
|
@@ -8962,7 +8962,7 @@ var _StepButton = ({ direction, className, ...props }) => {
|
|
|
8962
8962
|
|
|
8963
8963
|
// src/NumberField/NumberField.tsx
|
|
8964
8964
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
8965
|
-
var _NumberField = (0,
|
|
8965
|
+
var _NumberField = (0, import_react46.forwardRef)(
|
|
8966
8966
|
({
|
|
8967
8967
|
variant,
|
|
8968
8968
|
size: size2,
|
|
@@ -8989,10 +8989,11 @@ var _NumberField = (0, import_react47.forwardRef)(
|
|
|
8989
8989
|
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
8990
8990
|
FieldBase,
|
|
8991
8991
|
{
|
|
8992
|
-
as:
|
|
8992
|
+
as: import_react_aria_components45.NumberField,
|
|
8993
8993
|
...props,
|
|
8994
8994
|
"data-readonly": readOnly ? "true" : void 0,
|
|
8995
|
-
|
|
8995
|
+
"data-stepper": showStepper ? "true" : void 0,
|
|
8996
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_react_aria_components45.Group, { className: (0, import_system66.cn)("flex items-stretch", classNames3.group), children: [
|
|
8996
8997
|
showStepper && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
8997
8998
|
_StepButton,
|
|
8998
8999
|
{
|
|
@@ -9001,15 +9002,13 @@ var _NumberField = (0, import_react47.forwardRef)(
|
|
|
9001
9002
|
slot: "decrement"
|
|
9002
9003
|
}
|
|
9003
9004
|
),
|
|
9004
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
9005
|
-
|
|
9005
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
9006
|
+
import_react_aria_components45.Input,
|
|
9006
9007
|
{
|
|
9007
9008
|
ref,
|
|
9008
|
-
|
|
9009
|
-
size: size2,
|
|
9010
|
-
className: classNames3.input
|
|
9009
|
+
className: (0, import_system66.cn)("h-full flex-1 outline-none", classNames3.input)
|
|
9011
9010
|
}
|
|
9012
|
-
)
|
|
9011
|
+
),
|
|
9013
9012
|
showStepper && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
9014
9013
|
_StepButton,
|
|
9015
9014
|
{
|
|
@@ -9024,14 +9023,168 @@ var _NumberField = (0, import_react47.forwardRef)(
|
|
|
9024
9023
|
}
|
|
9025
9024
|
);
|
|
9026
9025
|
|
|
9026
|
+
// src/Overlay/NonModal.tsx
|
|
9027
|
+
var import_react48 = require("react");
|
|
9028
|
+
var import_react_aria_components46 = require("react-aria-components");
|
|
9029
|
+
var import_react_stately = require("react-stately");
|
|
9030
|
+
var import_focus = require("@react-aria/focus");
|
|
9031
|
+
var import_overlays2 = require("@react-aria/overlays");
|
|
9032
|
+
var import_ssr2 = require("@react-aria/ssr");
|
|
9033
|
+
var import_utils8 = require("@react-aria/utils");
|
|
9034
|
+
|
|
9035
|
+
// src/utils/useRenderProps.tsx
|
|
9036
|
+
var import_react47 = require("react");
|
|
9037
|
+
function useRenderProps(props) {
|
|
9038
|
+
let {
|
|
9039
|
+
className,
|
|
9040
|
+
style,
|
|
9041
|
+
children,
|
|
9042
|
+
defaultClassName = void 0,
|
|
9043
|
+
defaultChildren = void 0,
|
|
9044
|
+
defaultStyle,
|
|
9045
|
+
values
|
|
9046
|
+
} = props;
|
|
9047
|
+
return (0, import_react47.useMemo)(() => {
|
|
9048
|
+
let computedClassName;
|
|
9049
|
+
let computedStyle;
|
|
9050
|
+
let computedChildren;
|
|
9051
|
+
if (typeof className === "function") {
|
|
9052
|
+
computedClassName = className({ ...values, defaultClassName });
|
|
9053
|
+
} else {
|
|
9054
|
+
computedClassName = className;
|
|
9055
|
+
}
|
|
9056
|
+
if (typeof style === "function") {
|
|
9057
|
+
computedStyle = style({ ...values, defaultStyle: defaultStyle || {} });
|
|
9058
|
+
} else {
|
|
9059
|
+
computedStyle = style;
|
|
9060
|
+
}
|
|
9061
|
+
if (typeof children === "function") {
|
|
9062
|
+
computedChildren = children({ ...values, defaultChildren });
|
|
9063
|
+
} else if (children == null) {
|
|
9064
|
+
computedChildren = defaultChildren;
|
|
9065
|
+
} else {
|
|
9066
|
+
computedChildren = children;
|
|
9067
|
+
}
|
|
9068
|
+
return {
|
|
9069
|
+
className: computedClassName != null ? computedClassName : defaultClassName,
|
|
9070
|
+
style: computedStyle || defaultStyle ? { ...defaultStyle, ...computedStyle } : void 0,
|
|
9071
|
+
children: computedChildren != null ? computedChildren : defaultChildren,
|
|
9072
|
+
"data-rac": ""
|
|
9073
|
+
};
|
|
9074
|
+
}, [
|
|
9075
|
+
className,
|
|
9076
|
+
style,
|
|
9077
|
+
children,
|
|
9078
|
+
defaultClassName,
|
|
9079
|
+
defaultChildren,
|
|
9080
|
+
defaultStyle,
|
|
9081
|
+
values
|
|
9082
|
+
]);
|
|
9083
|
+
}
|
|
9084
|
+
|
|
9085
|
+
// src/Overlay/useNonModal.ts
|
|
9086
|
+
var import_overlays = require("@react-aria/overlays");
|
|
9087
|
+
var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
9088
|
+
let { overlayProps } = (0, import_overlays.useOverlay)(
|
|
9089
|
+
{
|
|
9090
|
+
isOpen: state.isOpen,
|
|
9091
|
+
onClose: state.close,
|
|
9092
|
+
shouldCloseOnBlur: false,
|
|
9093
|
+
isDismissable: false,
|
|
9094
|
+
isKeyboardDismissDisabled: keyboardDismissable ? false : true
|
|
9095
|
+
},
|
|
9096
|
+
nonModalRef
|
|
9097
|
+
);
|
|
9098
|
+
return {
|
|
9099
|
+
nonModalProps: overlayProps
|
|
9100
|
+
};
|
|
9101
|
+
};
|
|
9102
|
+
|
|
9103
|
+
// src/Overlay/NonModal.tsx
|
|
9104
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
9105
|
+
var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
9106
|
+
const { nonModalProps } = useNonModal(props, state);
|
|
9107
|
+
const ref = props.nonModalRef;
|
|
9108
|
+
const portalContainer = usePortalContainer();
|
|
9109
|
+
const isEntering = (0, import_utils8.useEnterAnimation)(ref) || props.isEntering || false;
|
|
9110
|
+
const renderProps = useRenderProps({
|
|
9111
|
+
...props,
|
|
9112
|
+
defaultClassName: "react-aria-NonModalOverlay",
|
|
9113
|
+
values: {
|
|
9114
|
+
isEntering,
|
|
9115
|
+
isExiting,
|
|
9116
|
+
state
|
|
9117
|
+
}
|
|
9118
|
+
});
|
|
9119
|
+
const viewport = (0, import_utils8.useViewportSize)();
|
|
9120
|
+
const style = {
|
|
9121
|
+
...renderProps.style,
|
|
9122
|
+
"--visual-viewport-height": viewport.height + "px"
|
|
9123
|
+
};
|
|
9124
|
+
const overlay = /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
|
|
9125
|
+
"div",
|
|
9126
|
+
{
|
|
9127
|
+
...(0, import_utils8.mergeProps)((0, import_utils8.filterDOMProps)(props), nonModalProps),
|
|
9128
|
+
...renderProps,
|
|
9129
|
+
tabIndex: -1,
|
|
9130
|
+
"aria-label": props["aria-label"],
|
|
9131
|
+
"aria-labelledby": props["aria-labelledby"],
|
|
9132
|
+
ref,
|
|
9133
|
+
slot: props.slot || void 0,
|
|
9134
|
+
style,
|
|
9135
|
+
"data-entering": isEntering || void 0,
|
|
9136
|
+
"data-exiting": isExiting || void 0,
|
|
9137
|
+
children: [
|
|
9138
|
+
renderProps.children,
|
|
9139
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_overlays2.DismissButton, { onDismiss: state.close })
|
|
9140
|
+
]
|
|
9141
|
+
}
|
|
9142
|
+
);
|
|
9143
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
9144
|
+
import_overlays2.Overlay,
|
|
9145
|
+
{
|
|
9146
|
+
isExiting,
|
|
9147
|
+
portalContainer,
|
|
9148
|
+
disableFocusManagement: true,
|
|
9149
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_focus.FocusScope, { restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react_aria_components46.Provider, { values: [[import_react_aria_components46.OverlayTriggerStateContext, state]], children: overlay }) })
|
|
9150
|
+
}
|
|
9151
|
+
);
|
|
9152
|
+
};
|
|
9153
|
+
var NonModal = (0, import_react48.forwardRef)(
|
|
9154
|
+
({ open, ...rest }, ref) => {
|
|
9155
|
+
const props = {
|
|
9156
|
+
isOpen: open,
|
|
9157
|
+
...rest
|
|
9158
|
+
};
|
|
9159
|
+
ref = (0, import_utils8.useObjectRef)(ref);
|
|
9160
|
+
const contextState = (0, import_react48.useContext)(import_react_aria_components46.OverlayTriggerStateContext);
|
|
9161
|
+
const localState = (0, import_react_stately.useOverlayTriggerState)(props);
|
|
9162
|
+
const state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
9163
|
+
const isExiting = (0, import_utils8.useExitAnimation)(ref, state.isOpen) || props.isExiting || false;
|
|
9164
|
+
const isSSR = (0, import_ssr2.useIsSSR)();
|
|
9165
|
+
if (state && !state.isOpen && !isExiting || isSSR) {
|
|
9166
|
+
return null;
|
|
9167
|
+
}
|
|
9168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
9169
|
+
NonModalInner,
|
|
9170
|
+
{
|
|
9171
|
+
...props,
|
|
9172
|
+
nonModalRef: ref,
|
|
9173
|
+
state,
|
|
9174
|
+
isExiting
|
|
9175
|
+
}
|
|
9176
|
+
);
|
|
9177
|
+
}
|
|
9178
|
+
);
|
|
9179
|
+
|
|
9027
9180
|
// src/Pagination/Pagination.tsx
|
|
9028
|
-
var
|
|
9181
|
+
var import_react52 = require("react");
|
|
9029
9182
|
var import_system69 = require("@marigold/system");
|
|
9030
9183
|
|
|
9031
9184
|
// src/Pagination/Ellipsis.tsx
|
|
9032
|
-
var
|
|
9185
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
9033
9186
|
var Ellipsis = () => {
|
|
9034
|
-
return /* @__PURE__ */ (0,
|
|
9187
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
9035
9188
|
"span",
|
|
9036
9189
|
{
|
|
9037
9190
|
className: "text-text-base flex h-8 w-8 items-center justify-center",
|
|
@@ -9042,12 +9195,12 @@ var Ellipsis = () => {
|
|
|
9042
9195
|
};
|
|
9043
9196
|
|
|
9044
9197
|
// src/Pagination/NavigationButton.tsx
|
|
9045
|
-
var
|
|
9198
|
+
var import_react49 = __toESM(require("react"));
|
|
9046
9199
|
var import_button2 = require("@react-aria/button");
|
|
9047
9200
|
var import_system67 = require("@marigold/system");
|
|
9048
|
-
var
|
|
9201
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
9049
9202
|
var NavigationButton = (props) => {
|
|
9050
|
-
const ref =
|
|
9203
|
+
const ref = import_react49.default.useRef(null);
|
|
9051
9204
|
const classNames3 = (0, import_system67.useClassNames)({
|
|
9052
9205
|
component: "Pagination"
|
|
9053
9206
|
});
|
|
@@ -9061,13 +9214,13 @@ var NavigationButton = (props) => {
|
|
|
9061
9214
|
position: position2,
|
|
9062
9215
|
...rest
|
|
9063
9216
|
} = props;
|
|
9064
|
-
(0,
|
|
9217
|
+
(0, import_react49.useEffect)(() => {
|
|
9065
9218
|
if (registerRef) {
|
|
9066
9219
|
registerRef(ref.current);
|
|
9067
9220
|
return () => registerRef(null);
|
|
9068
9221
|
}
|
|
9069
9222
|
}, [registerRef]);
|
|
9070
|
-
return /* @__PURE__ */ (0,
|
|
9223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
9071
9224
|
"button",
|
|
9072
9225
|
{
|
|
9073
9226
|
ref,
|
|
@@ -9086,24 +9239,24 @@ var NavigationButton = (props) => {
|
|
|
9086
9239
|
};
|
|
9087
9240
|
|
|
9088
9241
|
// src/Pagination/PageButton.tsx
|
|
9089
|
-
var
|
|
9242
|
+
var import_react50 = require("react");
|
|
9090
9243
|
var import_button3 = require("@react-aria/button");
|
|
9091
9244
|
var import_system68 = require("@marigold/system");
|
|
9092
|
-
var
|
|
9245
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
9093
9246
|
var PageButton = (props) => {
|
|
9094
|
-
const ref = (0,
|
|
9247
|
+
const ref = (0, import_react50.useRef)(null);
|
|
9095
9248
|
const classNames3 = (0, import_system68.useClassNames)({
|
|
9096
9249
|
component: "Pagination"
|
|
9097
9250
|
});
|
|
9098
9251
|
let { buttonProps } = (0, import_button3.useButton)(props, ref);
|
|
9099
9252
|
let { page, selected, registerRef, isDisabled } = props;
|
|
9100
|
-
(0,
|
|
9253
|
+
(0, import_react50.useEffect)(() => {
|
|
9101
9254
|
if (registerRef) {
|
|
9102
9255
|
registerRef(ref.current);
|
|
9103
9256
|
return () => registerRef(null);
|
|
9104
9257
|
}
|
|
9105
9258
|
}, [registerRef]);
|
|
9106
|
-
return /* @__PURE__ */ (0,
|
|
9259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
9107
9260
|
"button",
|
|
9108
9261
|
{
|
|
9109
9262
|
ref,
|
|
@@ -9120,7 +9273,7 @@ var PageButton = (props) => {
|
|
|
9120
9273
|
};
|
|
9121
9274
|
|
|
9122
9275
|
// src/Pagination/useKeyboardNavigation.tsx
|
|
9123
|
-
var
|
|
9276
|
+
var import_react51 = require("react");
|
|
9124
9277
|
var import_interactions = require("@react-aria/interactions");
|
|
9125
9278
|
var NavigationTypes = {
|
|
9126
9279
|
Prev: "prev",
|
|
@@ -9134,14 +9287,14 @@ var useKeyboardNavigation = ({
|
|
|
9134
9287
|
onChange: onChange2 = () => {
|
|
9135
9288
|
}
|
|
9136
9289
|
}) => {
|
|
9137
|
-
const containerRef = (0,
|
|
9138
|
-
const [focusedItem, setFocusedItem] = (0,
|
|
9290
|
+
const containerRef = (0, import_react51.useRef)(null);
|
|
9291
|
+
const [focusedItem, setFocusedItem] = (0, import_react51.useState)({
|
|
9139
9292
|
type: "page",
|
|
9140
9293
|
value: page
|
|
9141
9294
|
});
|
|
9142
|
-
const navigationItems = (0,
|
|
9143
|
-
const buttonRefs = (0,
|
|
9144
|
-
const isItemDisabled = (0,
|
|
9295
|
+
const navigationItems = (0, import_react51.useRef)([]);
|
|
9296
|
+
const buttonRefs = (0, import_react51.useRef)(/* @__PURE__ */ new Map());
|
|
9297
|
+
const isItemDisabled = (0, import_react51.useCallback)(
|
|
9145
9298
|
(item) => {
|
|
9146
9299
|
if (item.type === NavigationTypes.Prev) return page <= 1;
|
|
9147
9300
|
if (item.type === NavigationTypes.Next) return page >= totalPages;
|
|
@@ -9149,7 +9302,7 @@ var useKeyboardNavigation = ({
|
|
|
9149
9302
|
},
|
|
9150
9303
|
[page, totalPages]
|
|
9151
9304
|
);
|
|
9152
|
-
const findNextFocusableItem = (0,
|
|
9305
|
+
const findNextFocusableItem = (0, import_react51.useCallback)(
|
|
9153
9306
|
(current, direction) => {
|
|
9154
9307
|
const items = navigationItems.current.filter(
|
|
9155
9308
|
(item) => !isItemDisabled(item)
|
|
@@ -9165,7 +9318,7 @@ var useKeyboardNavigation = ({
|
|
|
9165
9318
|
},
|
|
9166
9319
|
[isItemDisabled, page]
|
|
9167
9320
|
);
|
|
9168
|
-
const focusItem = (0,
|
|
9321
|
+
const focusItem = (0, import_react51.useCallback)(
|
|
9169
9322
|
(item) => {
|
|
9170
9323
|
if (isItemDisabled(item)) return;
|
|
9171
9324
|
const key = `${item.type}-${item.value}`;
|
|
@@ -9212,7 +9365,7 @@ var useKeyboardNavigation = ({
|
|
|
9212
9365
|
}
|
|
9213
9366
|
}
|
|
9214
9367
|
});
|
|
9215
|
-
const registerRef = (0,
|
|
9368
|
+
const registerRef = (0, import_react51.useCallback)(
|
|
9216
9369
|
(type, value, ref) => {
|
|
9217
9370
|
const key = `${type}-${value}`;
|
|
9218
9371
|
if (ref) {
|
|
@@ -9223,7 +9376,7 @@ var useKeyboardNavigation = ({
|
|
|
9223
9376
|
},
|
|
9224
9377
|
[]
|
|
9225
9378
|
);
|
|
9226
|
-
const setNavigationItems = (0,
|
|
9379
|
+
const setNavigationItems = (0, import_react51.useCallback)((items) => {
|
|
9227
9380
|
navigationItems.current = items;
|
|
9228
9381
|
}, []);
|
|
9229
9382
|
return {
|
|
@@ -9266,7 +9419,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
|
|
|
9266
9419
|
};
|
|
9267
9420
|
|
|
9268
9421
|
// src/Pagination/Pagination.tsx
|
|
9269
|
-
var
|
|
9422
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
9270
9423
|
var _Pagination = ({
|
|
9271
9424
|
defaultPage = 1,
|
|
9272
9425
|
page,
|
|
@@ -9276,13 +9429,13 @@ var _Pagination = ({
|
|
|
9276
9429
|
},
|
|
9277
9430
|
controlLabels
|
|
9278
9431
|
}) => {
|
|
9279
|
-
const [currentPage, setCurrentPage] = (0,
|
|
9432
|
+
const [currentPage, setCurrentPage] = (0, import_react52.useState)(page != null ? page : defaultPage);
|
|
9280
9433
|
const totalPages = Math.ceil(totalItems / pageSize);
|
|
9281
|
-
const isFirstRender = (0,
|
|
9434
|
+
const isFirstRender = (0, import_react52.useRef)(true);
|
|
9282
9435
|
const classNames3 = (0, import_system69.useClassNames)({
|
|
9283
9436
|
component: "Pagination"
|
|
9284
9437
|
});
|
|
9285
|
-
(0,
|
|
9438
|
+
(0, import_react52.useEffect)(() => {
|
|
9286
9439
|
if (isFirstRender.current) {
|
|
9287
9440
|
isFirstRender.current = false;
|
|
9288
9441
|
return;
|
|
@@ -9299,7 +9452,7 @@ var _Pagination = ({
|
|
|
9299
9452
|
onChange: handlePageChange
|
|
9300
9453
|
});
|
|
9301
9454
|
const pageRange = usePageRange({ currentPage, totalPages });
|
|
9302
|
-
(0,
|
|
9455
|
+
(0, import_react52.useEffect)(() => {
|
|
9303
9456
|
const items = [
|
|
9304
9457
|
{ type: NavigationTypes.Prev, value: currentPage - 1 },
|
|
9305
9458
|
...pageRange.map((value) => ({
|
|
@@ -9310,19 +9463,19 @@ var _Pagination = ({
|
|
|
9310
9463
|
];
|
|
9311
9464
|
setNavigationItems(items);
|
|
9312
9465
|
}, [pageRange, currentPage, setNavigationItems]);
|
|
9313
|
-
(0,
|
|
9466
|
+
(0, import_react52.useEffect)(() => {
|
|
9314
9467
|
setFocusedItem({ type: NavigationTypes.Page, value: currentPage });
|
|
9315
9468
|
}, [currentPage, setFocusedItem]);
|
|
9316
9469
|
const isFirstPage = currentPage === 1;
|
|
9317
9470
|
const isLastPage = currentPage === totalPages || totalPages === 0;
|
|
9318
|
-
return /* @__PURE__ */ (0,
|
|
9471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
|
|
9319
9472
|
"nav",
|
|
9320
9473
|
{
|
|
9321
9474
|
className: "flex items-center justify-center space-x-2",
|
|
9322
9475
|
"aria-label": `Page ${currentPage} of ${totalPages}`,
|
|
9323
9476
|
...keyboardProps,
|
|
9324
9477
|
children: [
|
|
9325
|
-
/* @__PURE__ */ (0,
|
|
9478
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9326
9479
|
NavigationButton,
|
|
9327
9480
|
{
|
|
9328
9481
|
onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
|
|
@@ -9331,11 +9484,11 @@ var _Pagination = ({
|
|
|
9331
9484
|
registerRef: (ref) => registerRef(NavigationTypes.Prev, currentPage - 1, ref),
|
|
9332
9485
|
controlLabel: controlLabels == null ? void 0 : controlLabels[0],
|
|
9333
9486
|
position: "left",
|
|
9334
|
-
children: /* @__PURE__ */ (0,
|
|
9487
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ChevronLeft, { className: (0, import_system69.cn)(classNames3.icon) })
|
|
9335
9488
|
}
|
|
9336
9489
|
),
|
|
9337
|
-
/* @__PURE__ */ (0,
|
|
9338
|
-
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ (0,
|
|
9490
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
|
|
9491
|
+
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9339
9492
|
PageButton,
|
|
9340
9493
|
{
|
|
9341
9494
|
page: pageNumber,
|
|
@@ -9345,8 +9498,8 @@ var _Pagination = ({
|
|
|
9345
9498
|
},
|
|
9346
9499
|
pageNumber
|
|
9347
9500
|
)
|
|
9348
|
-
) : /* @__PURE__ */ (0,
|
|
9349
|
-
/* @__PURE__ */ (0,
|
|
9501
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PageButton, { page: 1, isDisabled: true }, 1) }),
|
|
9502
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
9350
9503
|
NavigationButton,
|
|
9351
9504
|
{
|
|
9352
9505
|
onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
|
|
@@ -9355,7 +9508,7 @@ var _Pagination = ({
|
|
|
9355
9508
|
registerRef: (ref) => registerRef(NavigationTypes.Next, currentPage + 1, ref),
|
|
9356
9509
|
controlLabel: controlLabels == null ? void 0 : controlLabels[1],
|
|
9357
9510
|
position: "right",
|
|
9358
|
-
children: /* @__PURE__ */ (0,
|
|
9511
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ChevronRight, { className: (0, import_system69.cn)(classNames3.icon) })
|
|
9359
9512
|
}
|
|
9360
9513
|
)
|
|
9361
9514
|
]
|
|
@@ -9364,21 +9517,21 @@ var _Pagination = ({
|
|
|
9364
9517
|
};
|
|
9365
9518
|
|
|
9366
9519
|
// src/Radio/Radio.tsx
|
|
9367
|
-
var
|
|
9520
|
+
var import_react54 = require("react");
|
|
9368
9521
|
var import_react_aria_components48 = require("react-aria-components");
|
|
9369
9522
|
var import_system71 = require("@marigold/system");
|
|
9370
9523
|
|
|
9371
9524
|
// src/Radio/Context.ts
|
|
9372
|
-
var
|
|
9373
|
-
var RadioGroupContext = (0,
|
|
9525
|
+
var import_react53 = require("react");
|
|
9526
|
+
var RadioGroupContext = (0, import_react53.createContext)(
|
|
9374
9527
|
null
|
|
9375
9528
|
);
|
|
9376
|
-
var useRadioGroupContext = () => (0,
|
|
9529
|
+
var useRadioGroupContext = () => (0, import_react53.useContext)(RadioGroupContext);
|
|
9377
9530
|
|
|
9378
9531
|
// src/Radio/RadioGroup.tsx
|
|
9379
9532
|
var import_react_aria_components47 = require("react-aria-components");
|
|
9380
9533
|
var import_system70 = require("@marigold/system");
|
|
9381
|
-
var
|
|
9534
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
9382
9535
|
var _RadioGroup = ({
|
|
9383
9536
|
variant,
|
|
9384
9537
|
size: size2,
|
|
@@ -9402,7 +9555,7 @@ var _RadioGroup = ({
|
|
|
9402
9555
|
isInvalid: error,
|
|
9403
9556
|
...rest
|
|
9404
9557
|
};
|
|
9405
|
-
return /* @__PURE__ */ (0,
|
|
9558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
9406
9559
|
FieldBase,
|
|
9407
9560
|
{
|
|
9408
9561
|
as: import_react_aria_components47.RadioGroup,
|
|
@@ -9413,7 +9566,7 @@ var _RadioGroup = ({
|
|
|
9413
9566
|
variant,
|
|
9414
9567
|
size: size2,
|
|
9415
9568
|
...props,
|
|
9416
|
-
children: /* @__PURE__ */ (0,
|
|
9569
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
9417
9570
|
"div",
|
|
9418
9571
|
{
|
|
9419
9572
|
role: "presentation",
|
|
@@ -9424,7 +9577,7 @@ var _RadioGroup = ({
|
|
|
9424
9577
|
"flex items-start",
|
|
9425
9578
|
orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
|
|
9426
9579
|
),
|
|
9427
|
-
children: /* @__PURE__ */ (0,
|
|
9580
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
|
|
9428
9581
|
}
|
|
9429
9582
|
)
|
|
9430
9583
|
}
|
|
@@ -9432,9 +9585,9 @@ var _RadioGroup = ({
|
|
|
9432
9585
|
};
|
|
9433
9586
|
|
|
9434
9587
|
// src/Radio/Radio.tsx
|
|
9435
|
-
var
|
|
9436
|
-
var Dot = () => /* @__PURE__ */ (0,
|
|
9437
|
-
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0,
|
|
9588
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
9589
|
+
var Dot = () => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
|
|
9590
|
+
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
9438
9591
|
"div",
|
|
9439
9592
|
{
|
|
9440
9593
|
className: (0, import_system71.cn)(
|
|
@@ -9443,10 +9596,10 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ (0, import_jsx
|
|
|
9443
9596
|
),
|
|
9444
9597
|
"aria-hidden": "true",
|
|
9445
9598
|
...props,
|
|
9446
|
-
children: checked ? /* @__PURE__ */ (0,
|
|
9599
|
+
children: checked ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Dot, {}) : null
|
|
9447
9600
|
}
|
|
9448
9601
|
);
|
|
9449
|
-
var _Radio = (0,
|
|
9602
|
+
var _Radio = (0, import_react54.forwardRef)(
|
|
9450
9603
|
({ value, disabled, width, children, ...props }, ref) => {
|
|
9451
9604
|
const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
|
|
9452
9605
|
const classNames3 = (0, import_system71.useClassNames)({
|
|
@@ -9454,7 +9607,7 @@ var _Radio = (0, import_react53.forwardRef)(
|
|
|
9454
9607
|
variant: variant || props.variant,
|
|
9455
9608
|
size: size2 || props.size
|
|
9456
9609
|
});
|
|
9457
|
-
return /* @__PURE__ */ (0,
|
|
9610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
9458
9611
|
import_react_aria_components48.Radio,
|
|
9459
9612
|
{
|
|
9460
9613
|
ref,
|
|
@@ -9467,8 +9620,8 @@ var _Radio = (0, import_react53.forwardRef)(
|
|
|
9467
9620
|
value,
|
|
9468
9621
|
isDisabled: disabled,
|
|
9469
9622
|
...props,
|
|
9470
|
-
children: ({ isSelected }) => /* @__PURE__ */ (0,
|
|
9471
|
-
/* @__PURE__ */ (0,
|
|
9623
|
+
children: ({ isSelected }) => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx_runtime84.Fragment, { children: [
|
|
9624
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
9472
9625
|
Icon3,
|
|
9473
9626
|
{
|
|
9474
9627
|
checked: isSelected,
|
|
@@ -9478,7 +9631,7 @@ var _Radio = (0, import_react53.forwardRef)(
|
|
|
9478
9631
|
)
|
|
9479
9632
|
}
|
|
9480
9633
|
),
|
|
9481
|
-
/* @__PURE__ */ (0,
|
|
9634
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: classNames3.label, children })
|
|
9482
9635
|
] })
|
|
9483
9636
|
}
|
|
9484
9637
|
);
|
|
@@ -9487,10 +9640,10 @@ var _Radio = (0, import_react53.forwardRef)(
|
|
|
9487
9640
|
_Radio.Group = _RadioGroup;
|
|
9488
9641
|
|
|
9489
9642
|
// src/SearchField/SearchField.tsx
|
|
9490
|
-
var
|
|
9643
|
+
var import_react55 = require("react");
|
|
9491
9644
|
var import_react_aria_components49 = require("react-aria-components");
|
|
9492
|
-
var
|
|
9493
|
-
var _SearchField = (0,
|
|
9645
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
9646
|
+
var _SearchField = (0, import_react55.forwardRef)(
|
|
9494
9647
|
({ disabled, required, readOnly, error, action, ...rest }, ref) => {
|
|
9495
9648
|
const props = {
|
|
9496
9649
|
...rest,
|
|
@@ -9499,7 +9652,7 @@ var _SearchField = (0, import_react54.forwardRef)(
|
|
|
9499
9652
|
isReadOnly: readOnly,
|
|
9500
9653
|
isInvalid: error
|
|
9501
9654
|
};
|
|
9502
|
-
return /* @__PURE__ */ (0,
|
|
9655
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(FieldBase, { as: import_react_aria_components49.SearchField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
9503
9656
|
SearchInput,
|
|
9504
9657
|
{
|
|
9505
9658
|
ref,
|
|
@@ -9510,11 +9663,11 @@ var _SearchField = (0, import_react54.forwardRef)(
|
|
|
9510
9663
|
);
|
|
9511
9664
|
|
|
9512
9665
|
// src/Select/Select.tsx
|
|
9513
|
-
var
|
|
9666
|
+
var import_react56 = require("react");
|
|
9514
9667
|
var import_react_aria_components50 = require("react-aria-components");
|
|
9515
9668
|
var import_system72 = require("@marigold/system");
|
|
9516
|
-
var
|
|
9517
|
-
var _Select = (0,
|
|
9669
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
9670
|
+
var _Select = (0, import_react56.forwardRef)(
|
|
9518
9671
|
({
|
|
9519
9672
|
disabled,
|
|
9520
9673
|
required,
|
|
@@ -9535,8 +9688,8 @@ var _Select = (0, import_react55.forwardRef)(
|
|
|
9535
9688
|
...rest
|
|
9536
9689
|
};
|
|
9537
9690
|
const classNames3 = (0, import_system72.useClassNames)({ component: "Select", variant, size: size2 });
|
|
9538
|
-
return /* @__PURE__ */ (0,
|
|
9539
|
-
/* @__PURE__ */ (0,
|
|
9691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(FieldBase, { as: import_react_aria_components50.Select, ref, variant, size: size2, ...props, children: [
|
|
9692
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
9540
9693
|
IconButton,
|
|
9541
9694
|
{
|
|
9542
9695
|
className: (0, import_system72.cn)(
|
|
@@ -9544,12 +9697,12 @@ var _Select = (0, import_react55.forwardRef)(
|
|
|
9544
9697
|
classNames3.select
|
|
9545
9698
|
),
|
|
9546
9699
|
children: [
|
|
9547
|
-
/* @__PURE__ */ (0,
|
|
9548
|
-
/* @__PURE__ */ (0,
|
|
9700
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_react_aria_components50.SelectValue, { className: "[&>[slot=description]]:hidden" }),
|
|
9701
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ChevronDown, { className: (0, import_system72.cn)("size-4", classNames3.icon) })
|
|
9549
9702
|
]
|
|
9550
9703
|
}
|
|
9551
9704
|
),
|
|
9552
|
-
/* @__PURE__ */ (0,
|
|
9705
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(_Popover, { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(_ListBox, { items, children: props.children }) })
|
|
9553
9706
|
] });
|
|
9554
9707
|
}
|
|
9555
9708
|
);
|
|
@@ -9557,35 +9710,35 @@ _Select.Option = _ListBox.Item;
|
|
|
9557
9710
|
_Select.Section = _ListBox.Section;
|
|
9558
9711
|
|
|
9559
9712
|
// src/SelectList/SelectList.tsx
|
|
9560
|
-
var
|
|
9713
|
+
var import_react59 = require("react");
|
|
9561
9714
|
var import_react_aria_components52 = require("react-aria-components");
|
|
9562
9715
|
var import_system74 = require("@marigold/system");
|
|
9563
9716
|
|
|
9564
9717
|
// src/SelectList/Context.ts
|
|
9565
|
-
var
|
|
9566
|
-
var SelectListContext = (0,
|
|
9718
|
+
var import_react57 = require("react");
|
|
9719
|
+
var SelectListContext = (0, import_react57.createContext)(
|
|
9567
9720
|
{}
|
|
9568
9721
|
);
|
|
9569
|
-
var useSelectListContext = () => (0,
|
|
9722
|
+
var useSelectListContext = () => (0, import_react57.useContext)(SelectListContext);
|
|
9570
9723
|
|
|
9571
9724
|
// src/SelectList/SelectListItem.tsx
|
|
9572
|
-
var
|
|
9725
|
+
var import_react58 = require("react");
|
|
9573
9726
|
var import_react_aria_components51 = require("react-aria-components");
|
|
9574
9727
|
var import_system73 = require("@marigold/system");
|
|
9575
|
-
var
|
|
9576
|
-
var _SelectListItem = (0,
|
|
9728
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
9729
|
+
var _SelectListItem = (0, import_react58.forwardRef)(
|
|
9577
9730
|
({ children, ...props }, ref) => {
|
|
9578
9731
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9579
9732
|
const { classNames: classNames3 } = useSelectListContext();
|
|
9580
|
-
return /* @__PURE__ */ (0,
|
|
9733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
9581
9734
|
import_react_aria_components51.GridListItem,
|
|
9582
9735
|
{
|
|
9583
9736
|
textValue,
|
|
9584
9737
|
...props,
|
|
9585
9738
|
className: (0, import_system73.cn)("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.option),
|
|
9586
9739
|
ref,
|
|
9587
|
-
children: ({ selectionMode }) => /* @__PURE__ */ (0,
|
|
9588
|
-
selectionMode === "multiple" && /* @__PURE__ */ (0,
|
|
9740
|
+
children: ({ selectionMode }) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex gap-2", children: [
|
|
9741
|
+
selectionMode === "multiple" && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(_Checkbox, { slot: "selection" }),
|
|
9589
9742
|
children
|
|
9590
9743
|
] })
|
|
9591
9744
|
}
|
|
@@ -9594,15 +9747,15 @@ var _SelectListItem = (0, import_react57.forwardRef)(
|
|
|
9594
9747
|
);
|
|
9595
9748
|
|
|
9596
9749
|
// src/SelectList/SelectList.tsx
|
|
9597
|
-
var
|
|
9598
|
-
var _SelectList = (0,
|
|
9750
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
9751
|
+
var _SelectList = (0, import_react59.forwardRef)(
|
|
9599
9752
|
({ onChange: onChange2, ...rest }, ref) => {
|
|
9600
9753
|
const classNames3 = (0, import_system74.useClassNames)({ component: "ListBox" });
|
|
9601
9754
|
const props = {
|
|
9602
9755
|
onSelectionChange: onChange2,
|
|
9603
9756
|
...rest
|
|
9604
9757
|
};
|
|
9605
|
-
return /* @__PURE__ */ (0,
|
|
9758
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: classNames3.container, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
9606
9759
|
import_react_aria_components52.GridList,
|
|
9607
9760
|
{
|
|
9608
9761
|
...props,
|
|
@@ -9621,13 +9774,13 @@ _SelectList.Item = _SelectListItem;
|
|
|
9621
9774
|
|
|
9622
9775
|
// src/Scrollable/Scrollable.tsx
|
|
9623
9776
|
var import_system75 = require("@marigold/system");
|
|
9624
|
-
var
|
|
9777
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
9625
9778
|
var Scrollable = ({
|
|
9626
9779
|
children,
|
|
9627
9780
|
width = "full",
|
|
9628
9781
|
height,
|
|
9629
9782
|
...props
|
|
9630
|
-
}) => /* @__PURE__ */ (0,
|
|
9783
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
9631
9784
|
"div",
|
|
9632
9785
|
{
|
|
9633
9786
|
...props,
|
|
@@ -9638,11 +9791,11 @@ var Scrollable = ({
|
|
|
9638
9791
|
);
|
|
9639
9792
|
|
|
9640
9793
|
// src/Slider/Slider.tsx
|
|
9641
|
-
var
|
|
9794
|
+
var import_react60 = require("react");
|
|
9642
9795
|
var import_react_aria_components53 = require("react-aria-components");
|
|
9643
9796
|
var import_system76 = require("@marigold/system");
|
|
9644
|
-
var
|
|
9645
|
-
var _Slider = (0,
|
|
9797
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
9798
|
+
var _Slider = (0, import_react60.forwardRef)(
|
|
9646
9799
|
({
|
|
9647
9800
|
thumbLabels,
|
|
9648
9801
|
variant,
|
|
@@ -9661,7 +9814,7 @@ var _Slider = (0, import_react59.forwardRef)(
|
|
|
9661
9814
|
isDisabled: disabled,
|
|
9662
9815
|
...rest
|
|
9663
9816
|
};
|
|
9664
|
-
return /* @__PURE__ */ (0,
|
|
9817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
9665
9818
|
FieldBase,
|
|
9666
9819
|
{
|
|
9667
9820
|
as: import_react_aria_components53.Slider,
|
|
@@ -9673,14 +9826,14 @@ var _Slider = (0, import_react59.forwardRef)(
|
|
|
9673
9826
|
ref,
|
|
9674
9827
|
...props,
|
|
9675
9828
|
children: [
|
|
9676
|
-
/* @__PURE__ */ (0,
|
|
9677
|
-
/* @__PURE__ */ (0,
|
|
9678
|
-
/* @__PURE__ */ (0,
|
|
9829
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(_Label, { children: props.children && props.children || label && label }),
|
|
9830
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_react_aria_components53.SliderOutput, { className: (0, import_system76.cn)("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
|
|
9831
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
9679
9832
|
import_react_aria_components53.SliderTrack,
|
|
9680
9833
|
{
|
|
9681
9834
|
className: (0, import_system76.cn)("relative col-span-2 h-2 w-full", classNames3.track),
|
|
9682
|
-
children: ({ state }) => /* @__PURE__ */ (0,
|
|
9683
|
-
/* @__PURE__ */ (0,
|
|
9835
|
+
children: ({ state }) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
|
|
9836
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
9684
9837
|
"div",
|
|
9685
9838
|
{
|
|
9686
9839
|
className: (0, import_system76.cn)(
|
|
@@ -9689,7 +9842,7 @@ var _Slider = (0, import_react59.forwardRef)(
|
|
|
9689
9842
|
)
|
|
9690
9843
|
}
|
|
9691
9844
|
),
|
|
9692
|
-
/* @__PURE__ */ (0,
|
|
9845
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
9693
9846
|
"div",
|
|
9694
9847
|
{
|
|
9695
9848
|
className: (0, import_system76.cn)(
|
|
@@ -9702,7 +9855,7 @@ var _Slider = (0, import_react59.forwardRef)(
|
|
|
9702
9855
|
}
|
|
9703
9856
|
}
|
|
9704
9857
|
),
|
|
9705
|
-
state.values.map((_, i) => /* @__PURE__ */ (0,
|
|
9858
|
+
state.values.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
9706
9859
|
import_react_aria_components53.SliderThumb,
|
|
9707
9860
|
{
|
|
9708
9861
|
className: (0, import_system76.cn)("top-1/2 cursor-pointer", classNames3.thumb),
|
|
@@ -9722,12 +9875,12 @@ var _Slider = (0, import_react59.forwardRef)(
|
|
|
9722
9875
|
);
|
|
9723
9876
|
|
|
9724
9877
|
// src/Split/Split.tsx
|
|
9725
|
-
var
|
|
9726
|
-
var Split = () => /* @__PURE__ */ (0,
|
|
9878
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
9879
|
+
var Split = () => /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { role: "separator", className: "grow" });
|
|
9727
9880
|
|
|
9728
9881
|
// src/Stack/Stack.tsx
|
|
9729
9882
|
var import_system77 = require("@marigold/system");
|
|
9730
|
-
var
|
|
9883
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
9731
9884
|
var Stack = ({
|
|
9732
9885
|
children,
|
|
9733
9886
|
space = 0,
|
|
@@ -9737,7 +9890,7 @@ var Stack = ({
|
|
|
9737
9890
|
...props
|
|
9738
9891
|
}) => {
|
|
9739
9892
|
var _a, _b, _c, _d;
|
|
9740
|
-
return /* @__PURE__ */ (0,
|
|
9893
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
9741
9894
|
"div",
|
|
9742
9895
|
{
|
|
9743
9896
|
className: (0, import_system77.cn)(
|
|
@@ -9754,11 +9907,11 @@ var Stack = ({
|
|
|
9754
9907
|
};
|
|
9755
9908
|
|
|
9756
9909
|
// src/Switch/Switch.tsx
|
|
9757
|
-
var
|
|
9910
|
+
var import_react61 = require("react");
|
|
9758
9911
|
var import_react_aria_components54 = require("react-aria-components");
|
|
9759
9912
|
var import_system78 = require("@marigold/system");
|
|
9760
|
-
var
|
|
9761
|
-
var _Switch = (0,
|
|
9913
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
9914
|
+
var _Switch = (0, import_react61.forwardRef)(
|
|
9762
9915
|
({
|
|
9763
9916
|
variant,
|
|
9764
9917
|
size: size2,
|
|
@@ -9776,7 +9929,7 @@ var _Switch = (0, import_react60.forwardRef)(
|
|
|
9776
9929
|
isSelected: selected,
|
|
9777
9930
|
...rest
|
|
9778
9931
|
};
|
|
9779
|
-
return /* @__PURE__ */ (0,
|
|
9932
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
9780
9933
|
import_react_aria_components54.Switch,
|
|
9781
9934
|
{
|
|
9782
9935
|
...props,
|
|
@@ -9788,8 +9941,8 @@ var _Switch = (0, import_react60.forwardRef)(
|
|
|
9788
9941
|
classNames3.container
|
|
9789
9942
|
),
|
|
9790
9943
|
children: [
|
|
9791
|
-
/* @__PURE__ */ (0,
|
|
9792
|
-
/* @__PURE__ */ (0,
|
|
9944
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(_Label, { elementType: "span", children }),
|
|
9945
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: classNames3.track, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: classNames3.thumb }) }) })
|
|
9793
9946
|
]
|
|
9794
9947
|
}
|
|
9795
9948
|
);
|
|
@@ -9797,19 +9950,19 @@ var _Switch = (0, import_react60.forwardRef)(
|
|
|
9797
9950
|
);
|
|
9798
9951
|
|
|
9799
9952
|
// src/Table/Table.tsx
|
|
9800
|
-
var
|
|
9953
|
+
var import_react69 = require("react");
|
|
9801
9954
|
var import_table9 = require("@react-aria/table");
|
|
9802
9955
|
var import_table10 = require("@react-stately/table");
|
|
9803
9956
|
var import_system85 = require("@marigold/system");
|
|
9804
9957
|
|
|
9805
9958
|
// src/Table/Context.tsx
|
|
9806
|
-
var
|
|
9807
|
-
var TableContext = (0,
|
|
9808
|
-
var useTableContext = () => (0,
|
|
9959
|
+
var import_react62 = require("react");
|
|
9960
|
+
var TableContext = (0, import_react62.createContext)({});
|
|
9961
|
+
var useTableContext = () => (0, import_react62.useContext)(TableContext);
|
|
9809
9962
|
|
|
9810
9963
|
// src/Table/TableBody.tsx
|
|
9811
9964
|
var import_table = require("@react-aria/table");
|
|
9812
|
-
var
|
|
9965
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
9813
9966
|
var TableBody = ({
|
|
9814
9967
|
children,
|
|
9815
9968
|
className,
|
|
@@ -9818,7 +9971,7 @@ var TableBody = ({
|
|
|
9818
9971
|
const { rowGroupProps } = (0, import_table.useTableRowGroup)();
|
|
9819
9972
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9820
9973
|
if (state.collection.size === 0 && emptyState) {
|
|
9821
|
-
return /* @__PURE__ */ (0,
|
|
9974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("tbody", { className, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
9822
9975
|
"td",
|
|
9823
9976
|
{
|
|
9824
9977
|
className: classNames3 == null ? void 0 : classNames3.cell,
|
|
@@ -9828,18 +9981,18 @@ var TableBody = ({
|
|
|
9828
9981
|
}
|
|
9829
9982
|
) }) });
|
|
9830
9983
|
}
|
|
9831
|
-
return /* @__PURE__ */ (0,
|
|
9984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("tbody", { ...rowGroupProps, className, children });
|
|
9832
9985
|
};
|
|
9833
9986
|
|
|
9834
9987
|
// src/Table/TableCell.tsx
|
|
9835
|
-
var
|
|
9836
|
-
var
|
|
9988
|
+
var import_react63 = require("react");
|
|
9989
|
+
var import_focus2 = require("@react-aria/focus");
|
|
9837
9990
|
var import_table2 = require("@react-aria/table");
|
|
9838
|
-
var
|
|
9991
|
+
var import_utils9 = require("@react-aria/utils");
|
|
9839
9992
|
var import_system79 = require("@marigold/system");
|
|
9840
|
-
var
|
|
9993
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
9841
9994
|
var TableCell = ({ cell, align = "left" }) => {
|
|
9842
|
-
const ref = (0,
|
|
9995
|
+
const ref = (0, import_react63.useRef)(null);
|
|
9843
9996
|
const { interactive, state, classNames: classNames3 } = useTableContext();
|
|
9844
9997
|
const disabled = state.disabledKeys.has(cell.parentKey);
|
|
9845
9998
|
const { gridCellProps } = (0, import_table2.useTableCell)(
|
|
@@ -9858,14 +10011,14 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9858
10011
|
onMouseDown: (e) => e.stopPropagation(),
|
|
9859
10012
|
onPointerDown: (e) => e.stopPropagation()
|
|
9860
10013
|
};
|
|
9861
|
-
const { focusProps, isFocusVisible } = (0,
|
|
10014
|
+
const { focusProps, isFocusVisible } = (0, import_focus2.useFocusRing)();
|
|
9862
10015
|
const stateProps = (0, import_system79.useStateProps)({ disabled, focusVisible: isFocusVisible });
|
|
9863
|
-
return /* @__PURE__ */ (0,
|
|
10016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
9864
10017
|
"td",
|
|
9865
10018
|
{
|
|
9866
10019
|
ref,
|
|
9867
10020
|
className: (0, import_system79.cn)(classNames3 == null ? void 0 : classNames3.cell),
|
|
9868
|
-
...(0,
|
|
10021
|
+
...(0, import_utils9.mergeProps)(cellProps, focusProps),
|
|
9869
10022
|
...stateProps,
|
|
9870
10023
|
align,
|
|
9871
10024
|
children: cell.rendered
|
|
@@ -9874,10 +10027,10 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9874
10027
|
};
|
|
9875
10028
|
|
|
9876
10029
|
// src/Table/TableCheckboxCell.tsx
|
|
9877
|
-
var
|
|
9878
|
-
var
|
|
10030
|
+
var import_react64 = require("react");
|
|
10031
|
+
var import_focus3 = require("@react-aria/focus");
|
|
9879
10032
|
var import_table3 = require("@react-aria/table");
|
|
9880
|
-
var
|
|
10033
|
+
var import_utils10 = require("@react-aria/utils");
|
|
9881
10034
|
var import_system80 = require("@marigold/system");
|
|
9882
10035
|
|
|
9883
10036
|
// src/Table/utils.ts
|
|
@@ -9901,9 +10054,9 @@ var mapCheckboxProps = ({
|
|
|
9901
10054
|
};
|
|
9902
10055
|
|
|
9903
10056
|
// src/Table/TableCheckboxCell.tsx
|
|
9904
|
-
var
|
|
10057
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
9905
10058
|
var TableCheckboxCell = ({ cell }) => {
|
|
9906
|
-
const ref = (0,
|
|
10059
|
+
const ref = (0, import_react64.useRef)(null);
|
|
9907
10060
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9908
10061
|
const disabled = state.disabledKeys.has(cell.parentKey);
|
|
9909
10062
|
const { gridCellProps } = (0, import_table3.useTableCell)(
|
|
@@ -9916,35 +10069,35 @@ var TableCheckboxCell = ({ cell }) => {
|
|
|
9916
10069
|
const { checkboxProps } = mapCheckboxProps(
|
|
9917
10070
|
(0, import_table3.useTableSelectionCheckbox)({ key: cell.parentKey }, state)
|
|
9918
10071
|
);
|
|
9919
|
-
const { focusProps, isFocusVisible } = (0,
|
|
10072
|
+
const { focusProps, isFocusVisible } = (0, import_focus3.useFocusRing)();
|
|
9920
10073
|
const stateProps = (0, import_system80.useStateProps)({ disabled, focusVisible: isFocusVisible });
|
|
9921
|
-
return /* @__PURE__ */ (0,
|
|
10074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
9922
10075
|
"td",
|
|
9923
10076
|
{
|
|
9924
10077
|
ref,
|
|
9925
10078
|
className: (0, import_system80.cn)("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
|
|
9926
|
-
...(0,
|
|
10079
|
+
...(0, import_utils10.mergeProps)(gridCellProps, focusProps),
|
|
9927
10080
|
...stateProps,
|
|
9928
|
-
children: /* @__PURE__ */ (0,
|
|
10081
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(_Checkbox, { ...checkboxProps })
|
|
9929
10082
|
}
|
|
9930
10083
|
);
|
|
9931
10084
|
};
|
|
9932
10085
|
|
|
9933
10086
|
// src/Table/TableColumnHeader.tsx
|
|
9934
|
-
var
|
|
9935
|
-
var
|
|
10087
|
+
var import_react65 = require("react");
|
|
10088
|
+
var import_focus4 = require("@react-aria/focus");
|
|
9936
10089
|
var import_interactions2 = require("@react-aria/interactions");
|
|
9937
10090
|
var import_table4 = require("@react-aria/table");
|
|
9938
|
-
var
|
|
10091
|
+
var import_utils12 = require("@react-aria/utils");
|
|
9939
10092
|
var import_system81 = require("@marigold/system");
|
|
9940
|
-
var
|
|
10093
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
9941
10094
|
var TableColumnHeader = ({
|
|
9942
10095
|
column: column2,
|
|
9943
10096
|
width = "auto",
|
|
9944
10097
|
align = "left"
|
|
9945
10098
|
}) => {
|
|
9946
10099
|
var _a, _b;
|
|
9947
|
-
const ref = (0,
|
|
10100
|
+
const ref = (0, import_react65.useRef)(null);
|
|
9948
10101
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9949
10102
|
const { columnHeaderProps } = (0, import_table4.useTableColumnHeader)(
|
|
9950
10103
|
{
|
|
@@ -9954,23 +10107,23 @@ var TableColumnHeader = ({
|
|
|
9954
10107
|
ref
|
|
9955
10108
|
);
|
|
9956
10109
|
const { hoverProps, isHovered } = (0, import_interactions2.useHover)({});
|
|
9957
|
-
const { focusProps, isFocusVisible } = (0,
|
|
10110
|
+
const { focusProps, isFocusVisible } = (0, import_focus4.useFocusRing)();
|
|
9958
10111
|
const stateProps = (0, import_system81.useStateProps)({
|
|
9959
10112
|
hover: isHovered,
|
|
9960
10113
|
focusVisible: isFocusVisible
|
|
9961
10114
|
});
|
|
9962
|
-
return /* @__PURE__ */ (0,
|
|
10115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
|
|
9963
10116
|
"th",
|
|
9964
10117
|
{
|
|
9965
10118
|
colSpan: column2.colspan,
|
|
9966
10119
|
ref,
|
|
9967
10120
|
className: (0, import_system81.cn)("cursor-default", import_system81.width[width], classNames3 == null ? void 0 : classNames3.header),
|
|
9968
|
-
...(0,
|
|
10121
|
+
...(0, import_utils12.mergeProps)(columnHeaderProps, hoverProps, focusProps),
|
|
9969
10122
|
...stateProps,
|
|
9970
10123
|
align,
|
|
9971
10124
|
children: [
|
|
9972
10125
|
column2.rendered,
|
|
9973
|
-
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0,
|
|
10126
|
+
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(SortUp, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(SortDown, { className: "inline-block" }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(SortDown, { className: "inline-block" }) }))
|
|
9974
10127
|
]
|
|
9975
10128
|
}
|
|
9976
10129
|
);
|
|
@@ -9979,11 +10132,11 @@ var TableColumnHeader = ({
|
|
|
9979
10132
|
// src/Table/TableHeader.tsx
|
|
9980
10133
|
var import_table5 = require("@react-aria/table");
|
|
9981
10134
|
var import_system82 = require("@marigold/system");
|
|
9982
|
-
var
|
|
10135
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
9983
10136
|
var TableHeader = ({ stickyHeader, children }) => {
|
|
9984
10137
|
const { rowGroupProps } = (0, import_table5.useTableRowGroup)();
|
|
9985
10138
|
const { classNames: classNames3 } = useTableContext();
|
|
9986
|
-
return /* @__PURE__ */ (0,
|
|
10139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
9987
10140
|
"thead",
|
|
9988
10141
|
{
|
|
9989
10142
|
...rowGroupProps,
|
|
@@ -9999,30 +10152,30 @@ var TableHeader = ({ stickyHeader, children }) => {
|
|
|
9999
10152
|
};
|
|
10000
10153
|
|
|
10001
10154
|
// src/Table/TableHeaderRow.tsx
|
|
10002
|
-
var
|
|
10155
|
+
var import_react66 = require("react");
|
|
10003
10156
|
var import_table6 = require("@react-aria/table");
|
|
10004
|
-
var
|
|
10157
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
10005
10158
|
var TableHeaderRow = ({
|
|
10006
10159
|
item,
|
|
10007
10160
|
className,
|
|
10008
10161
|
children
|
|
10009
10162
|
}) => {
|
|
10010
10163
|
const { state } = useTableContext();
|
|
10011
|
-
const ref = (0,
|
|
10164
|
+
const ref = (0, import_react66.useRef)(null);
|
|
10012
10165
|
const { rowProps } = (0, import_table6.useTableHeaderRow)({ node: item }, state, ref);
|
|
10013
|
-
return /* @__PURE__ */ (0,
|
|
10166
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("tr", { ...rowProps, className, ref, children });
|
|
10014
10167
|
};
|
|
10015
10168
|
|
|
10016
10169
|
// src/Table/TableRow.tsx
|
|
10017
|
-
var
|
|
10018
|
-
var
|
|
10170
|
+
var import_react67 = require("react");
|
|
10171
|
+
var import_focus5 = require("@react-aria/focus");
|
|
10019
10172
|
var import_interactions3 = require("@react-aria/interactions");
|
|
10020
10173
|
var import_table7 = require("@react-aria/table");
|
|
10021
|
-
var
|
|
10174
|
+
var import_utils13 = require("@react-aria/utils");
|
|
10022
10175
|
var import_system83 = require("@marigold/system");
|
|
10023
|
-
var
|
|
10176
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
10024
10177
|
var TableRow = ({ children, row }) => {
|
|
10025
|
-
const ref = (0,
|
|
10178
|
+
const ref = (0, import_react67.useRef)(null);
|
|
10026
10179
|
const { interactive, state, ...ctx } = useTableContext();
|
|
10027
10180
|
const { variant, size: size2 } = row.props;
|
|
10028
10181
|
const classNames3 = (0, import_system83.useClassNames)({
|
|
@@ -10039,7 +10192,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10039
10192
|
);
|
|
10040
10193
|
const disabled = state.disabledKeys.has(row.key);
|
|
10041
10194
|
const selected = state.selectionManager.isSelected(row.key);
|
|
10042
|
-
const { focusProps, isFocusVisible } = (0,
|
|
10195
|
+
const { focusProps, isFocusVisible } = (0, import_focus5.useFocusRing)();
|
|
10043
10196
|
const { hoverProps, isHovered } = (0, import_interactions3.useHover)({
|
|
10044
10197
|
isDisabled: disabled || !interactive
|
|
10045
10198
|
});
|
|
@@ -10050,7 +10203,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10050
10203
|
focusVisible: isFocusVisible,
|
|
10051
10204
|
active: isPressed
|
|
10052
10205
|
});
|
|
10053
|
-
return /* @__PURE__ */ (0,
|
|
10206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
|
|
10054
10207
|
"tr",
|
|
10055
10208
|
{
|
|
10056
10209
|
ref,
|
|
@@ -10060,7 +10213,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10060
10213
|
],
|
|
10061
10214
|
classNames3 == null ? void 0 : classNames3.row
|
|
10062
10215
|
),
|
|
10063
|
-
...(0,
|
|
10216
|
+
...(0, import_utils13.mergeProps)(rowProps, focusProps, hoverProps),
|
|
10064
10217
|
...stateProps,
|
|
10065
10218
|
children
|
|
10066
10219
|
}
|
|
@@ -10068,19 +10221,19 @@ var TableRow = ({ children, row }) => {
|
|
|
10068
10221
|
};
|
|
10069
10222
|
|
|
10070
10223
|
// src/Table/TableSelectAllCell.tsx
|
|
10071
|
-
var
|
|
10072
|
-
var
|
|
10224
|
+
var import_react68 = require("react");
|
|
10225
|
+
var import_focus6 = require("@react-aria/focus");
|
|
10073
10226
|
var import_interactions4 = require("@react-aria/interactions");
|
|
10074
10227
|
var import_table8 = require("@react-aria/table");
|
|
10075
|
-
var
|
|
10228
|
+
var import_utils14 = require("@react-aria/utils");
|
|
10076
10229
|
var import_system84 = require("@marigold/system");
|
|
10077
|
-
var
|
|
10230
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
10078
10231
|
var TableSelectAllCell = ({
|
|
10079
10232
|
column: column2,
|
|
10080
10233
|
width = "auto",
|
|
10081
10234
|
align = "left"
|
|
10082
10235
|
}) => {
|
|
10083
|
-
const ref = (0,
|
|
10236
|
+
const ref = (0, import_react68.useRef)(null);
|
|
10084
10237
|
const { state, classNames: classNames3 } = useTableContext();
|
|
10085
10238
|
const { columnHeaderProps } = (0, import_table8.useTableColumnHeader)(
|
|
10086
10239
|
{
|
|
@@ -10091,26 +10244,26 @@ var TableSelectAllCell = ({
|
|
|
10091
10244
|
);
|
|
10092
10245
|
const { checkboxProps } = mapCheckboxProps((0, import_table8.useTableSelectAllCheckbox)(state));
|
|
10093
10246
|
const { hoverProps, isHovered } = (0, import_interactions4.useHover)({});
|
|
10094
|
-
const { focusProps, isFocusVisible } = (0,
|
|
10247
|
+
const { focusProps, isFocusVisible } = (0, import_focus6.useFocusRing)();
|
|
10095
10248
|
const stateProps = (0, import_system84.useStateProps)({
|
|
10096
10249
|
hover: isHovered,
|
|
10097
10250
|
focusVisible: isFocusVisible
|
|
10098
10251
|
});
|
|
10099
|
-
return /* @__PURE__ */ (0,
|
|
10252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
10100
10253
|
"th",
|
|
10101
10254
|
{
|
|
10102
10255
|
ref,
|
|
10103
10256
|
className: (0, import_system84.cn)(import_system84.width[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
|
|
10104
|
-
...(0,
|
|
10257
|
+
...(0, import_utils14.mergeProps)(columnHeaderProps, hoverProps, focusProps),
|
|
10105
10258
|
...stateProps,
|
|
10106
10259
|
align,
|
|
10107
|
-
children: /* @__PURE__ */ (0,
|
|
10260
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(_Checkbox, { ...checkboxProps })
|
|
10108
10261
|
}
|
|
10109
10262
|
);
|
|
10110
10263
|
};
|
|
10111
10264
|
|
|
10112
10265
|
// src/Table/Table.tsx
|
|
10113
|
-
var
|
|
10266
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
10114
10267
|
var Table = ({
|
|
10115
10268
|
variant,
|
|
10116
10269
|
size: size2,
|
|
@@ -10122,7 +10275,7 @@ var Table = ({
|
|
|
10122
10275
|
...props
|
|
10123
10276
|
}) => {
|
|
10124
10277
|
const interactive = selectionMode !== "none";
|
|
10125
|
-
const tableRef = (0,
|
|
10278
|
+
const tableRef = (0, import_react69.useRef)(null);
|
|
10126
10279
|
const state = (0, import_table10.useTableState)({
|
|
10127
10280
|
...props,
|
|
10128
10281
|
selectionMode,
|
|
@@ -10139,11 +10292,11 @@ var Table = ({
|
|
|
10139
10292
|
size: size2
|
|
10140
10293
|
});
|
|
10141
10294
|
const { collection } = state;
|
|
10142
|
-
return /* @__PURE__ */ (0,
|
|
10295
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
10143
10296
|
TableContext.Provider,
|
|
10144
10297
|
{
|
|
10145
10298
|
value: { state, interactive, classNames: classNames3, variant, size: size2 },
|
|
10146
|
-
children: /* @__PURE__ */ (0,
|
|
10299
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
|
|
10147
10300
|
"table",
|
|
10148
10301
|
{
|
|
10149
10302
|
ref: tableRef,
|
|
@@ -10155,7 +10308,7 @@ var Table = ({
|
|
|
10155
10308
|
),
|
|
10156
10309
|
...gridProps,
|
|
10157
10310
|
children: [
|
|
10158
|
-
/* @__PURE__ */ (0,
|
|
10311
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
10159
10312
|
TableHeaderRow,
|
|
10160
10313
|
{
|
|
10161
10314
|
item: headerRow,
|
|
@@ -10163,7 +10316,7 @@ var Table = ({
|
|
|
10163
10316
|
children: [...collection.getChildren(headerRow.key)].map(
|
|
10164
10317
|
(column2) => {
|
|
10165
10318
|
var _a, _b, _c, _d, _e;
|
|
10166
|
-
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0,
|
|
10319
|
+
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
10167
10320
|
TableSelectAllCell,
|
|
10168
10321
|
{
|
|
10169
10322
|
width: (_b = column2.props) == null ? void 0 : _b.width,
|
|
@@ -10171,7 +10324,7 @@ var Table = ({
|
|
|
10171
10324
|
align: (_c = column2.props) == null ? void 0 : _c.align
|
|
10172
10325
|
},
|
|
10173
10326
|
column2.key
|
|
10174
|
-
) : /* @__PURE__ */ (0,
|
|
10327
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
10175
10328
|
TableColumnHeader,
|
|
10176
10329
|
{
|
|
10177
10330
|
width: (_d = column2.props) == null ? void 0 : _d.width,
|
|
@@ -10185,12 +10338,12 @@ var Table = ({
|
|
|
10185
10338
|
},
|
|
10186
10339
|
headerRow.key
|
|
10187
10340
|
)) }),
|
|
10188
|
-
/* @__PURE__ */ (0,
|
|
10341
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(TableBody, { className: classNames3.body, emptyState, children: [
|
|
10189
10342
|
...collection.rows.map(
|
|
10190
|
-
(row) => row.type === "item" && /* @__PURE__ */ (0,
|
|
10343
|
+
(row) => row.type === "item" && /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
|
|
10191
10344
|
var _a, _b;
|
|
10192
10345
|
const currentColumn = collection.columns[index2];
|
|
10193
|
-
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0,
|
|
10346
|
+
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
10194
10347
|
TableCell,
|
|
10195
10348
|
{
|
|
10196
10349
|
align: (_b = currentColumn.props) == null ? void 0 : _b.align,
|
|
@@ -10216,7 +10369,7 @@ Table.Row = import_table10.Row;
|
|
|
10216
10369
|
// src/Text/Text.tsx
|
|
10217
10370
|
var import_react_aria_components55 = require("react-aria-components");
|
|
10218
10371
|
var import_system86 = require("@marigold/system");
|
|
10219
|
-
var
|
|
10372
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
10220
10373
|
var _Text = ({
|
|
10221
10374
|
variant,
|
|
10222
10375
|
size: size2,
|
|
@@ -10237,7 +10390,7 @@ var _Text = ({
|
|
|
10237
10390
|
});
|
|
10238
10391
|
const Component2 = props.slot ? import_react_aria_components55.Text : as;
|
|
10239
10392
|
const elementType = props.slot ? { elementType: as } : {};
|
|
10240
|
-
return /* @__PURE__ */ (0,
|
|
10393
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
10241
10394
|
Component2,
|
|
10242
10395
|
{
|
|
10243
10396
|
...props,
|
|
@@ -10259,11 +10412,11 @@ var _Text = ({
|
|
|
10259
10412
|
};
|
|
10260
10413
|
|
|
10261
10414
|
// src/TextArea/TextArea.tsx
|
|
10262
|
-
var
|
|
10415
|
+
var import_react70 = require("react");
|
|
10263
10416
|
var import_react_aria_components56 = require("react-aria-components");
|
|
10264
10417
|
var import_system87 = require("@marigold/system");
|
|
10265
|
-
var
|
|
10266
|
-
var _TextArea = (0,
|
|
10418
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
10419
|
+
var _TextArea = (0, import_react70.forwardRef)(
|
|
10267
10420
|
({
|
|
10268
10421
|
variant,
|
|
10269
10422
|
size: size2,
|
|
@@ -10282,15 +10435,15 @@ var _TextArea = (0, import_react69.forwardRef)(
|
|
|
10282
10435
|
isRequired: required,
|
|
10283
10436
|
...rest
|
|
10284
10437
|
};
|
|
10285
|
-
return /* @__PURE__ */ (0,
|
|
10438
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(FieldBase, { as: import_react_aria_components56.TextField, ...props, variant, size: size2, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_aria_components56.TextArea, { className: classNames3, ref, rows }) });
|
|
10286
10439
|
}
|
|
10287
10440
|
);
|
|
10288
10441
|
|
|
10289
10442
|
// src/TextField/TextField.tsx
|
|
10290
|
-
var
|
|
10443
|
+
var import_react71 = require("react");
|
|
10291
10444
|
var import_react_aria_components57 = require("react-aria-components");
|
|
10292
|
-
var
|
|
10293
|
-
var _TextField = (0,
|
|
10445
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
10446
|
+
var _TextField = (0, import_react71.forwardRef)(
|
|
10294
10447
|
({ required, disabled, readOnly, error, ...rest }, ref) => {
|
|
10295
10448
|
const props = {
|
|
10296
10449
|
isDisabled: disabled,
|
|
@@ -10299,13 +10452,13 @@ var _TextField = (0, import_react70.forwardRef)(
|
|
|
10299
10452
|
isRequired: required,
|
|
10300
10453
|
...rest
|
|
10301
10454
|
};
|
|
10302
|
-
return /* @__PURE__ */ (0,
|
|
10455
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(FieldBase, { as: import_react_aria_components57.TextField, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(_Input, { ref }) });
|
|
10303
10456
|
}
|
|
10304
10457
|
);
|
|
10305
10458
|
|
|
10306
10459
|
// src/Tiles/Tiles.tsx
|
|
10307
10460
|
var import_system88 = require("@marigold/system");
|
|
10308
|
-
var
|
|
10461
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
10309
10462
|
var Tiles = ({
|
|
10310
10463
|
space = 0,
|
|
10311
10464
|
stretch = false,
|
|
@@ -10318,7 +10471,7 @@ var Tiles = ({
|
|
|
10318
10471
|
if (stretch) {
|
|
10319
10472
|
column2 = `minmax(${column2}, 1fr)`;
|
|
10320
10473
|
}
|
|
10321
|
-
return /* @__PURE__ */ (0,
|
|
10474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
10322
10475
|
"div",
|
|
10323
10476
|
{
|
|
10324
10477
|
...props,
|
|
@@ -10340,7 +10493,7 @@ var import_system89 = require("@marigold/system");
|
|
|
10340
10493
|
|
|
10341
10494
|
// src/Tooltip/TooltipTrigger.tsx
|
|
10342
10495
|
var import_react_aria_components58 = require("react-aria-components");
|
|
10343
|
-
var
|
|
10496
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
10344
10497
|
var _TooltipTrigger = ({
|
|
10345
10498
|
delay = 1e3,
|
|
10346
10499
|
children,
|
|
@@ -10354,11 +10507,11 @@ var _TooltipTrigger = ({
|
|
|
10354
10507
|
isOpen: open,
|
|
10355
10508
|
delay
|
|
10356
10509
|
};
|
|
10357
|
-
return /* @__PURE__ */ (0,
|
|
10510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_react_aria_components58.TooltipTrigger, { ...props, children });
|
|
10358
10511
|
};
|
|
10359
10512
|
|
|
10360
10513
|
// src/Tooltip/Tooltip.tsx
|
|
10361
|
-
var
|
|
10514
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
10362
10515
|
var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
10363
10516
|
const props = {
|
|
10364
10517
|
...rest,
|
|
@@ -10366,14 +10519,14 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
|
10366
10519
|
};
|
|
10367
10520
|
const classNames3 = (0, import_system89.useClassNames)({ component: "Tooltip", variant, size: size2 });
|
|
10368
10521
|
const portal = usePortalContainer();
|
|
10369
|
-
return /* @__PURE__ */ (0,
|
|
10522
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
10370
10523
|
import_react_aria_components59.Tooltip,
|
|
10371
10524
|
{
|
|
10372
10525
|
...props,
|
|
10373
10526
|
className: (0, import_system89.cn)("group/tooltip", classNames3.container),
|
|
10374
10527
|
UNSTABLE_portalContainer: portal,
|
|
10375
10528
|
children: [
|
|
10376
|
-
/* @__PURE__ */ (0,
|
|
10529
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_react_aria_components59.OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
10377
10530
|
children
|
|
10378
10531
|
]
|
|
10379
10532
|
}
|
|
@@ -10388,7 +10541,7 @@ var import_system91 = require("@marigold/system");
|
|
|
10388
10541
|
// src/TagGroup/TagGroup.tsx
|
|
10389
10542
|
var import_react_aria_components60 = require("react-aria-components");
|
|
10390
10543
|
var import_system90 = require("@marigold/system");
|
|
10391
|
-
var
|
|
10544
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
10392
10545
|
var _TagGroup = ({
|
|
10393
10546
|
width,
|
|
10394
10547
|
items,
|
|
@@ -10399,7 +10552,7 @@ var _TagGroup = ({
|
|
|
10399
10552
|
...rest
|
|
10400
10553
|
}) => {
|
|
10401
10554
|
const classNames3 = (0, import_system90.useClassNames)({ component: "Tag", variant, size: size2 });
|
|
10402
|
-
return /* @__PURE__ */ (0,
|
|
10555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(FieldBase, { as: import_react_aria_components60.TagGroup, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
10403
10556
|
import_react_aria_components60.TagList,
|
|
10404
10557
|
{
|
|
10405
10558
|
items,
|
|
@@ -10411,9 +10564,9 @@ var _TagGroup = ({
|
|
|
10411
10564
|
};
|
|
10412
10565
|
|
|
10413
10566
|
// src/TagGroup/Tag.tsx
|
|
10414
|
-
var
|
|
10567
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
10415
10568
|
var CloseButton2 = ({ className }) => {
|
|
10416
|
-
return /* @__PURE__ */ (0,
|
|
10569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(import_react_aria_components61.Button, { slot: "remove", className, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
|
|
10417
10570
|
};
|
|
10418
10571
|
var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
10419
10572
|
let textValue = typeof children === "string" ? children : void 0;
|
|
@@ -10422,15 +10575,15 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
|
10422
10575
|
isDisabled: disabled,
|
|
10423
10576
|
...rest
|
|
10424
10577
|
};
|
|
10425
|
-
return /* @__PURE__ */ (0,
|
|
10578
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10426
10579
|
import_react_aria_components61.Tag,
|
|
10427
10580
|
{
|
|
10428
10581
|
textValue,
|
|
10429
10582
|
...props,
|
|
10430
10583
|
className: (0, import_system91.cn)("data-selection-mode:cursor-pointer", classNames3.tag),
|
|
10431
|
-
children: ({ allowsRemoving }) => /* @__PURE__ */ (0,
|
|
10584
|
+
children: ({ allowsRemoving }) => /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
|
|
10432
10585
|
children,
|
|
10433
|
-
allowsRemoving && /* @__PURE__ */ (0,
|
|
10586
|
+
allowsRemoving && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
10434
10587
|
CloseButton2,
|
|
10435
10588
|
{
|
|
10436
10589
|
className: (0, import_system91.cn)("flex items-center", classNames3.closeButton)
|
|
@@ -10447,7 +10600,7 @@ var import_visually_hidden = require("@react-aria/visually-hidden");
|
|
|
10447
10600
|
|
|
10448
10601
|
// src/XLoader/XLoader.tsx
|
|
10449
10602
|
var import_react_aria_components63 = require("react-aria-components");
|
|
10450
|
-
var
|
|
10603
|
+
var import_utils16 = require("@react-aria/utils");
|
|
10451
10604
|
var import_system93 = require("@marigold/system");
|
|
10452
10605
|
|
|
10453
10606
|
// src/XLoader/BaseLoader.tsx
|
|
@@ -10466,7 +10619,7 @@ var intlMessages2 = {
|
|
|
10466
10619
|
};
|
|
10467
10620
|
|
|
10468
10621
|
// src/XLoader/BaseLoader.tsx
|
|
10469
|
-
var
|
|
10622
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
10470
10623
|
var BaseLoader = ({
|
|
10471
10624
|
variant,
|
|
10472
10625
|
size: size2,
|
|
@@ -10476,7 +10629,7 @@ var BaseLoader = ({
|
|
|
10476
10629
|
}) => {
|
|
10477
10630
|
const stringFormatter = (0, import_i18n6.useLocalizedStringFormatter)(intlMessages2, "marigold");
|
|
10478
10631
|
const className = (0, import_system92.useClassNames)({ component: "XLoader", variant, size: size2 });
|
|
10479
|
-
return /* @__PURE__ */ (0,
|
|
10632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
10480
10633
|
import_react_aria_components62.ProgressBar,
|
|
10481
10634
|
{
|
|
10482
10635
|
className: className.container,
|
|
@@ -10484,7 +10637,7 @@ var BaseLoader = ({
|
|
|
10484
10637
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
10485
10638
|
...props,
|
|
10486
10639
|
children: [
|
|
10487
|
-
/* @__PURE__ */ (0,
|
|
10640
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
|
|
10488
10641
|
"svg",
|
|
10489
10642
|
{
|
|
10490
10643
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10492,13 +10645,13 @@ var BaseLoader = ({
|
|
|
10492
10645
|
fill: "currentColor",
|
|
10493
10646
|
className: className.loader,
|
|
10494
10647
|
children: [
|
|
10495
|
-
/* @__PURE__ */ (0,
|
|
10496
|
-
/* @__PURE__ */ (0,
|
|
10648
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
|
|
10649
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10497
10650
|
"path",
|
|
10498
10651
|
{
|
|
10499
10652
|
id: "XMLID_5_",
|
|
10500
10653
|
d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10501
|
-
children: /* @__PURE__ */ (0,
|
|
10654
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10502
10655
|
"animate",
|
|
10503
10656
|
{
|
|
10504
10657
|
attributeName: "opacity",
|
|
@@ -10511,12 +10664,12 @@ var BaseLoader = ({
|
|
|
10511
10664
|
)
|
|
10512
10665
|
}
|
|
10513
10666
|
),
|
|
10514
|
-
/* @__PURE__ */ (0,
|
|
10667
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10515
10668
|
"path",
|
|
10516
10669
|
{
|
|
10517
10670
|
id: "XMLID_18_",
|
|
10518
10671
|
d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10519
|
-
children: /* @__PURE__ */ (0,
|
|
10672
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10520
10673
|
"animate",
|
|
10521
10674
|
{
|
|
10522
10675
|
attributeName: "opacity",
|
|
@@ -10529,12 +10682,12 @@ var BaseLoader = ({
|
|
|
10529
10682
|
)
|
|
10530
10683
|
}
|
|
10531
10684
|
),
|
|
10532
|
-
/* @__PURE__ */ (0,
|
|
10685
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10533
10686
|
"path",
|
|
10534
10687
|
{
|
|
10535
10688
|
id: "XMLID_19_",
|
|
10536
10689
|
d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10537
|
-
children: /* @__PURE__ */ (0,
|
|
10690
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10538
10691
|
"animate",
|
|
10539
10692
|
{
|
|
10540
10693
|
attributeName: "opacity",
|
|
@@ -10547,12 +10700,12 @@ var BaseLoader = ({
|
|
|
10547
10700
|
)
|
|
10548
10701
|
}
|
|
10549
10702
|
),
|
|
10550
|
-
/* @__PURE__ */ (0,
|
|
10703
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10551
10704
|
"path",
|
|
10552
10705
|
{
|
|
10553
10706
|
id: "XMLID_20_",
|
|
10554
10707
|
d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10555
|
-
children: /* @__PURE__ */ (0,
|
|
10708
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10556
10709
|
"animate",
|
|
10557
10710
|
{
|
|
10558
10711
|
attributeName: "opacity",
|
|
@@ -10565,12 +10718,12 @@ var BaseLoader = ({
|
|
|
10565
10718
|
)
|
|
10566
10719
|
}
|
|
10567
10720
|
),
|
|
10568
|
-
/* @__PURE__ */ (0,
|
|
10721
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10569
10722
|
"path",
|
|
10570
10723
|
{
|
|
10571
10724
|
id: "XMLID_21_",
|
|
10572
10725
|
d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
|
|
10573
|
-
children: /* @__PURE__ */ (0,
|
|
10726
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10574
10727
|
"animate",
|
|
10575
10728
|
{
|
|
10576
10729
|
attributeName: "opacity",
|
|
@@ -10583,12 +10736,12 @@ var BaseLoader = ({
|
|
|
10583
10736
|
)
|
|
10584
10737
|
}
|
|
10585
10738
|
),
|
|
10586
|
-
/* @__PURE__ */ (0,
|
|
10739
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10587
10740
|
"path",
|
|
10588
10741
|
{
|
|
10589
10742
|
id: "XMLID_22_",
|
|
10590
10743
|
d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
|
|
10591
|
-
children: /* @__PURE__ */ (0,
|
|
10744
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10592
10745
|
"animate",
|
|
10593
10746
|
{
|
|
10594
10747
|
attributeName: "opacity",
|
|
@@ -10601,12 +10754,12 @@ var BaseLoader = ({
|
|
|
10601
10754
|
)
|
|
10602
10755
|
}
|
|
10603
10756
|
),
|
|
10604
|
-
/* @__PURE__ */ (0,
|
|
10757
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10605
10758
|
"path",
|
|
10606
10759
|
{
|
|
10607
10760
|
id: "XMLID_23_",
|
|
10608
10761
|
d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10609
|
-
children: /* @__PURE__ */ (0,
|
|
10762
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10610
10763
|
"animate",
|
|
10611
10764
|
{
|
|
10612
10765
|
attributeName: "opacity",
|
|
@@ -10619,12 +10772,12 @@ var BaseLoader = ({
|
|
|
10619
10772
|
)
|
|
10620
10773
|
}
|
|
10621
10774
|
),
|
|
10622
|
-
/* @__PURE__ */ (0,
|
|
10775
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10623
10776
|
"path",
|
|
10624
10777
|
{
|
|
10625
10778
|
id: "XMLID_24_",
|
|
10626
10779
|
d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10627
|
-
children: /* @__PURE__ */ (0,
|
|
10780
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10628
10781
|
"animate",
|
|
10629
10782
|
{
|
|
10630
10783
|
attributeName: "opacity",
|
|
@@ -10637,12 +10790,12 @@ var BaseLoader = ({
|
|
|
10637
10790
|
)
|
|
10638
10791
|
}
|
|
10639
10792
|
),
|
|
10640
|
-
/* @__PURE__ */ (0,
|
|
10793
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10641
10794
|
"path",
|
|
10642
10795
|
{
|
|
10643
10796
|
id: "XMLID_25_",
|
|
10644
10797
|
d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10645
|
-
children: /* @__PURE__ */ (0,
|
|
10798
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10646
10799
|
"animate",
|
|
10647
10800
|
{
|
|
10648
10801
|
attributeName: "opacity",
|
|
@@ -10655,12 +10808,12 @@ var BaseLoader = ({
|
|
|
10655
10808
|
)
|
|
10656
10809
|
}
|
|
10657
10810
|
),
|
|
10658
|
-
/* @__PURE__ */ (0,
|
|
10811
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10659
10812
|
"path",
|
|
10660
10813
|
{
|
|
10661
10814
|
id: "XMLID_26_",
|
|
10662
10815
|
d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10663
|
-
children: /* @__PURE__ */ (0,
|
|
10816
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10664
10817
|
"animate",
|
|
10665
10818
|
{
|
|
10666
10819
|
attributeName: "opacity",
|
|
@@ -10673,12 +10826,12 @@ var BaseLoader = ({
|
|
|
10673
10826
|
)
|
|
10674
10827
|
}
|
|
10675
10828
|
),
|
|
10676
|
-
/* @__PURE__ */ (0,
|
|
10829
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10677
10830
|
"path",
|
|
10678
10831
|
{
|
|
10679
10832
|
id: "XMLID_27_",
|
|
10680
10833
|
d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10681
|
-
children: /* @__PURE__ */ (0,
|
|
10834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
10682
10835
|
"animate",
|
|
10683
10836
|
{
|
|
10684
10837
|
attributeName: "opacity",
|
|
@@ -10694,17 +10847,17 @@ var BaseLoader = ({
|
|
|
10694
10847
|
]
|
|
10695
10848
|
}
|
|
10696
10849
|
),
|
|
10697
|
-
children ? /* @__PURE__ */ (0,
|
|
10850
|
+
children ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_react_aria_components62.Label, { className: className.label, children }) : null
|
|
10698
10851
|
]
|
|
10699
10852
|
}
|
|
10700
10853
|
);
|
|
10701
10854
|
};
|
|
10702
10855
|
|
|
10703
10856
|
// src/XLoader/XLoader.tsx
|
|
10704
|
-
var
|
|
10857
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
10705
10858
|
var LoaderFullScreen = (props) => {
|
|
10706
|
-
const id = (0,
|
|
10707
|
-
return /* @__PURE__ */ (0,
|
|
10859
|
+
const id = (0, import_utils16.useId)();
|
|
10860
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_aria_components63.Modal, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_react_aria_components63.Dialog, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BaseLoader, { id, ...props }) }) }) });
|
|
10708
10861
|
};
|
|
10709
10862
|
var LoaderSection = (props) => {
|
|
10710
10863
|
const className = (0, import_system93.useClassNames)({
|
|
@@ -10712,26 +10865,26 @@ var LoaderSection = (props) => {
|
|
|
10712
10865
|
variant: "modal",
|
|
10713
10866
|
className: "flex size-full items-center justify-center"
|
|
10714
10867
|
});
|
|
10715
|
-
return /* @__PURE__ */ (0,
|
|
10868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BaseLoader, { ...props }) });
|
|
10716
10869
|
};
|
|
10717
|
-
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ (0,
|
|
10870
|
+
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BaseLoader, { variant, ...props });
|
|
10718
10871
|
|
|
10719
10872
|
// src/Tabs/Tabs.tsx
|
|
10720
10873
|
var import_react_aria_components67 = require("react-aria-components");
|
|
10721
10874
|
var import_system96 = require("@marigold/system");
|
|
10722
10875
|
|
|
10723
10876
|
// src/Tabs/Context.ts
|
|
10724
|
-
var
|
|
10725
|
-
var TabContext = (0,
|
|
10726
|
-
var useTabContext = () => (0,
|
|
10877
|
+
var import_react72 = require("react");
|
|
10878
|
+
var TabContext = (0, import_react72.createContext)({});
|
|
10879
|
+
var useTabContext = () => (0, import_react72.useContext)(TabContext);
|
|
10727
10880
|
|
|
10728
10881
|
// src/Tabs/Tab.tsx
|
|
10729
10882
|
var import_react_aria_components64 = require("react-aria-components");
|
|
10730
10883
|
var import_system94 = require("@marigold/system");
|
|
10731
|
-
var
|
|
10884
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
10732
10885
|
var _Tab = (props) => {
|
|
10733
10886
|
const { classNames: classNames3 } = useTabContext();
|
|
10734
|
-
return /* @__PURE__ */ (0,
|
|
10887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
10735
10888
|
import_react_aria_components64.Tab,
|
|
10736
10889
|
{
|
|
10737
10890
|
...props,
|
|
@@ -10747,10 +10900,10 @@ var _Tab = (props) => {
|
|
|
10747
10900
|
// src/Tabs/TabList.tsx
|
|
10748
10901
|
var import_react_aria_components65 = require("react-aria-components");
|
|
10749
10902
|
var import_system95 = require("@marigold/system");
|
|
10750
|
-
var
|
|
10903
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
10751
10904
|
var _TabList = ({ space = 2, ...props }) => {
|
|
10752
10905
|
const { classNames: classNames3 } = useTabContext();
|
|
10753
|
-
return /* @__PURE__ */ (0,
|
|
10906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
10754
10907
|
import_react_aria_components65.TabList,
|
|
10755
10908
|
{
|
|
10756
10909
|
...props,
|
|
@@ -10762,14 +10915,14 @@ var _TabList = ({ space = 2, ...props }) => {
|
|
|
10762
10915
|
|
|
10763
10916
|
// src/Tabs/TabPanel.tsx
|
|
10764
10917
|
var import_react_aria_components66 = require("react-aria-components");
|
|
10765
|
-
var
|
|
10918
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
10766
10919
|
var _TabPanel = (props) => {
|
|
10767
10920
|
const { classNames: classNames3 } = useTabContext();
|
|
10768
|
-
return /* @__PURE__ */ (0,
|
|
10921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_react_aria_components66.TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
|
|
10769
10922
|
};
|
|
10770
10923
|
|
|
10771
10924
|
// src/Tabs/Tabs.tsx
|
|
10772
|
-
var
|
|
10925
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
10773
10926
|
var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
10774
10927
|
const props = {
|
|
10775
10928
|
isDisabled: disabled,
|
|
@@ -10780,7 +10933,7 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
|
10780
10933
|
size: size2,
|
|
10781
10934
|
variant
|
|
10782
10935
|
});
|
|
10783
|
-
return /* @__PURE__ */ (0,
|
|
10936
|
+
return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react_aria_components67.Tabs, { ...props, className: classNames3.container, children: props.children }) });
|
|
10784
10937
|
};
|
|
10785
10938
|
_Tabs.List = _TabList;
|
|
10786
10939
|
_Tabs.TabPanel = _TabPanel;
|
|
@@ -10833,6 +10986,7 @@ var import_react_aria_components68 = require("react-aria-components");
|
|
|
10833
10986
|
Menu,
|
|
10834
10987
|
Modal,
|
|
10835
10988
|
Multiselect,
|
|
10989
|
+
NonModal,
|
|
10836
10990
|
NumberField,
|
|
10837
10991
|
OverlayContainerProvider,
|
|
10838
10992
|
Pagination,
|