@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.mjs
CHANGED
|
@@ -392,9 +392,9 @@ var require_hoist_non_react_statics_cjs = __commonJS({
|
|
|
392
392
|
}
|
|
393
393
|
});
|
|
394
394
|
|
|
395
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
395
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js
|
|
396
396
|
var require_extends = __commonJS({
|
|
397
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
397
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
|
|
398
398
|
"use strict";
|
|
399
399
|
function _extends2() {
|
|
400
400
|
return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -409,9 +409,9 @@ var require_extends = __commonJS({
|
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
411
|
|
|
412
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
412
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js
|
|
413
413
|
var require_typeof = __commonJS({
|
|
414
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
414
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js"(exports, module) {
|
|
415
415
|
"use strict";
|
|
416
416
|
function _typeof2(o) {
|
|
417
417
|
"@babel/helpers - typeof";
|
|
@@ -425,9 +425,9 @@ var require_typeof = __commonJS({
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
|
|
428
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
428
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
429
429
|
var require_toPrimitive = __commonJS({
|
|
430
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
430
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js"(exports, module) {
|
|
431
431
|
"use strict";
|
|
432
432
|
var _typeof2 = require_typeof()["default"];
|
|
433
433
|
function toPrimitive2(t, r) {
|
|
@@ -444,9 +444,9 @@ var require_toPrimitive = __commonJS({
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
447
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
448
448
|
var require_toPropertyKey = __commonJS({
|
|
449
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
449
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports, module) {
|
|
450
450
|
"use strict";
|
|
451
451
|
var _typeof2 = require_typeof()["default"];
|
|
452
452
|
var toPrimitive2 = require_toPrimitive();
|
|
@@ -458,9 +458,9 @@ var require_toPropertyKey = __commonJS({
|
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
|
|
461
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
461
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
462
462
|
var require_defineProperty = __commonJS({
|
|
463
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
463
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js"(exports, module) {
|
|
464
464
|
"use strict";
|
|
465
465
|
var toPropertyKey2 = require_toPropertyKey();
|
|
466
466
|
function _defineProperty2(e, r, t) {
|
|
@@ -475,9 +475,9 @@ var require_defineProperty = __commonJS({
|
|
|
475
475
|
}
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
478
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
479
479
|
var require_objectSpread2 = __commonJS({
|
|
480
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
480
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js"(exports, module) {
|
|
481
481
|
"use strict";
|
|
482
482
|
var defineProperty = require_defineProperty();
|
|
483
483
|
function ownKeys2(e, r) {
|
|
@@ -505,9 +505,9 @@ var require_objectSpread2 = __commonJS({
|
|
|
505
505
|
}
|
|
506
506
|
});
|
|
507
507
|
|
|
508
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
508
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
509
509
|
var require_arrayWithHoles = __commonJS({
|
|
510
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
510
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js"(exports, module) {
|
|
511
511
|
"use strict";
|
|
512
512
|
function _arrayWithHoles2(r) {
|
|
513
513
|
if (Array.isArray(r)) return r;
|
|
@@ -516,9 +516,9 @@ var require_arrayWithHoles = __commonJS({
|
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
|
|
519
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
519
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
520
520
|
var require_iterableToArrayLimit = __commonJS({
|
|
521
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
521
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"(exports, module) {
|
|
522
522
|
"use strict";
|
|
523
523
|
function _iterableToArrayLimit2(r, l) {
|
|
524
524
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -545,9 +545,9 @@ var require_iterableToArrayLimit = __commonJS({
|
|
|
545
545
|
}
|
|
546
546
|
});
|
|
547
547
|
|
|
548
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
548
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
549
549
|
var require_arrayLikeToArray = __commonJS({
|
|
550
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
550
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"(exports, module) {
|
|
551
551
|
"use strict";
|
|
552
552
|
function _arrayLikeToArray2(r, a) {
|
|
553
553
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -558,9 +558,9 @@ var require_arrayLikeToArray = __commonJS({
|
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
|
|
561
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
561
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
562
562
|
var require_unsupportedIterableToArray = __commonJS({
|
|
563
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
563
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"(exports, module) {
|
|
564
564
|
"use strict";
|
|
565
565
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
566
566
|
function _unsupportedIterableToArray2(r, a) {
|
|
@@ -574,9 +574,9 @@ var require_unsupportedIterableToArray = __commonJS({
|
|
|
574
574
|
}
|
|
575
575
|
});
|
|
576
576
|
|
|
577
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
577
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
578
578
|
var require_nonIterableRest = __commonJS({
|
|
579
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
579
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js"(exports, module) {
|
|
580
580
|
"use strict";
|
|
581
581
|
function _nonIterableRest2() {
|
|
582
582
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -585,9 +585,9 @@ var require_nonIterableRest = __commonJS({
|
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
588
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
589
589
|
var require_slicedToArray = __commonJS({
|
|
590
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
590
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js"(exports, module) {
|
|
591
591
|
"use strict";
|
|
592
592
|
var arrayWithHoles = require_arrayWithHoles();
|
|
593
593
|
var iterableToArrayLimit = require_iterableToArrayLimit();
|
|
@@ -600,15 +600,15 @@ var require_slicedToArray = __commonJS({
|
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
602
|
|
|
603
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
603
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
604
604
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
605
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
605
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports, module) {
|
|
606
606
|
"use strict";
|
|
607
607
|
function _objectWithoutPropertiesLoose2(r, e) {
|
|
608
608
|
if (null == r) return {};
|
|
609
609
|
var t = {};
|
|
610
610
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
611
|
-
if (e.
|
|
611
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
612
612
|
t[n] = r[n];
|
|
613
613
|
}
|
|
614
614
|
return t;
|
|
@@ -617,17 +617,17 @@ var require_objectWithoutPropertiesLoose = __commonJS({
|
|
|
617
617
|
}
|
|
618
618
|
});
|
|
619
619
|
|
|
620
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
620
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
621
621
|
var require_objectWithoutProperties = __commonJS({
|
|
622
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
622
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(exports, module) {
|
|
623
623
|
"use strict";
|
|
624
624
|
var objectWithoutPropertiesLoose = require_objectWithoutPropertiesLoose();
|
|
625
625
|
function _objectWithoutProperties2(e, t) {
|
|
626
626
|
if (null == e) return {};
|
|
627
627
|
var o, r, i = objectWithoutPropertiesLoose(e, t);
|
|
628
628
|
if (Object.getOwnPropertySymbols) {
|
|
629
|
-
var
|
|
630
|
-
for (r = 0; r <
|
|
629
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
630
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
631
631
|
}
|
|
632
632
|
return i;
|
|
633
633
|
}
|
|
@@ -635,9 +635,9 @@ var require_objectWithoutProperties = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
638
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
639
639
|
var require_classCallCheck = __commonJS({
|
|
640
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
640
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js"(exports, module) {
|
|
641
641
|
"use strict";
|
|
642
642
|
function _classCallCheck2(a, n) {
|
|
643
643
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -646,9 +646,9 @@ var require_classCallCheck = __commonJS({
|
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
648
|
|
|
649
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
649
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js
|
|
650
650
|
var require_createClass = __commonJS({
|
|
651
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
651
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js"(exports, module) {
|
|
652
652
|
"use strict";
|
|
653
653
|
var toPropertyKey2 = require_toPropertyKey();
|
|
654
654
|
function _defineProperties2(e, r) {
|
|
@@ -666,9 +666,9 @@ var require_createClass = __commonJS({
|
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
|
|
669
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
669
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
670
670
|
var require_setPrototypeOf = __commonJS({
|
|
671
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
671
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"(exports, module) {
|
|
672
672
|
"use strict";
|
|
673
673
|
function _setPrototypeOf2(t, e) {
|
|
674
674
|
return module.exports = _setPrototypeOf2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
@@ -679,9 +679,9 @@ var require_setPrototypeOf = __commonJS({
|
|
|
679
679
|
}
|
|
680
680
|
});
|
|
681
681
|
|
|
682
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
682
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js
|
|
683
683
|
var require_inherits = __commonJS({
|
|
684
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
684
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js"(exports, module) {
|
|
685
685
|
"use strict";
|
|
686
686
|
var setPrototypeOf = require_setPrototypeOf();
|
|
687
687
|
function _inherits2(t, e) {
|
|
@@ -700,9 +700,9 @@ var require_inherits = __commonJS({
|
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
702
|
|
|
703
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
703
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
704
704
|
var require_getPrototypeOf = __commonJS({
|
|
705
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
705
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js"(exports, module) {
|
|
706
706
|
"use strict";
|
|
707
707
|
function _getPrototypeOf2(t) {
|
|
708
708
|
return module.exports = _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
@@ -713,9 +713,9 @@ var require_getPrototypeOf = __commonJS({
|
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
|
|
716
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
716
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
|
|
717
717
|
var require_isNativeReflectConstruct = __commonJS({
|
|
718
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
718
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"(exports, module) {
|
|
719
719
|
"use strict";
|
|
720
720
|
function _isNativeReflectConstruct2() {
|
|
721
721
|
try {
|
|
@@ -731,9 +731,9 @@ var require_isNativeReflectConstruct = __commonJS({
|
|
|
731
731
|
}
|
|
732
732
|
});
|
|
733
733
|
|
|
734
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
734
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
735
735
|
var require_assertThisInitialized = __commonJS({
|
|
736
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
736
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js"(exports, module) {
|
|
737
737
|
"use strict";
|
|
738
738
|
function _assertThisInitialized2(e) {
|
|
739
739
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -743,9 +743,9 @@ var require_assertThisInitialized = __commonJS({
|
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
745
|
|
|
746
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
746
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
747
747
|
var require_possibleConstructorReturn = __commonJS({
|
|
748
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
748
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"(exports, module) {
|
|
749
749
|
"use strict";
|
|
750
750
|
var _typeof2 = require_typeof()["default"];
|
|
751
751
|
var assertThisInitialized = require_assertThisInitialized();
|
|
@@ -758,9 +758,9 @@ var require_possibleConstructorReturn = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
761
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js
|
|
762
762
|
var require_createSuper = __commonJS({
|
|
763
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
763
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js"(exports, module) {
|
|
764
764
|
"use strict";
|
|
765
765
|
var getPrototypeOf = require_getPrototypeOf();
|
|
766
766
|
var isNativeReflectConstruct = require_isNativeReflectConstruct();
|
|
@@ -780,9 +780,9 @@ var require_createSuper = __commonJS({
|
|
|
780
780
|
}
|
|
781
781
|
});
|
|
782
782
|
|
|
783
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
783
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
784
784
|
var require_arrayWithoutHoles = __commonJS({
|
|
785
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
785
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"(exports, module) {
|
|
786
786
|
"use strict";
|
|
787
787
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
788
788
|
function _arrayWithoutHoles2(r) {
|
|
@@ -792,9 +792,9 @@ var require_arrayWithoutHoles = __commonJS({
|
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
794
|
|
|
795
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
795
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
796
796
|
var require_iterableToArray = __commonJS({
|
|
797
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
797
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js"(exports, module) {
|
|
798
798
|
"use strict";
|
|
799
799
|
function _iterableToArray2(r) {
|
|
800
800
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
@@ -803,9 +803,9 @@ var require_iterableToArray = __commonJS({
|
|
|
803
803
|
}
|
|
804
804
|
});
|
|
805
805
|
|
|
806
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
806
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
807
807
|
var require_nonIterableSpread = __commonJS({
|
|
808
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
808
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js"(exports, module) {
|
|
809
809
|
"use strict";
|
|
810
810
|
function _nonIterableSpread2() {
|
|
811
811
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -814,9 +814,9 @@ var require_nonIterableSpread = __commonJS({
|
|
|
814
814
|
}
|
|
815
815
|
});
|
|
816
816
|
|
|
817
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
817
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
818
818
|
var require_toConsumableArray = __commonJS({
|
|
819
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
819
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js"(exports, module) {
|
|
820
820
|
"use strict";
|
|
821
821
|
var arrayWithoutHoles = require_arrayWithoutHoles();
|
|
822
822
|
var iterableToArray = require_iterableToArray();
|
|
@@ -829,9 +829,9 @@ var require_toConsumableArray = __commonJS({
|
|
|
829
829
|
}
|
|
830
830
|
});
|
|
831
831
|
|
|
832
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
832
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
|
|
833
833
|
var require_taggedTemplateLiteral = __commonJS({
|
|
834
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
834
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js"(exports, module) {
|
|
835
835
|
"use strict";
|
|
836
836
|
function _taggedTemplateLiteral2(e, t) {
|
|
837
837
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
@@ -1368,7 +1368,7 @@ var OverlayContainerProvider = OverlayContainerContext.Provider;
|
|
|
1368
1368
|
var usePortalContainer = () => {
|
|
1369
1369
|
const portalContainer = useContext6(OverlayContainerContext);
|
|
1370
1370
|
const isSSR = useIsSSR();
|
|
1371
|
-
const portal = isSSR ?
|
|
1371
|
+
const portal = isSSR ? void 0 : portalContainer ? document.getElementById(portalContainer) || void 0 : document.body;
|
|
1372
1372
|
return portal;
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
@@ -3183,16 +3183,16 @@ SectionMessage.Title = SectionMessageTitle;
|
|
|
3183
3183
|
SectionMessage.Content = SectionMessageContent;
|
|
3184
3184
|
|
|
3185
3185
|
// src/Multiselect/Multiselect.tsx
|
|
3186
|
-
import { useId } from "react";
|
|
3187
3186
|
import {
|
|
3187
|
+
Button as Button5,
|
|
3188
3188
|
ButtonContext,
|
|
3189
3189
|
FieldErrorContext as FieldErrorContext2,
|
|
3190
3190
|
InputContext,
|
|
3191
|
-
Provider
|
|
3191
|
+
Provider,
|
|
3192
|
+
Input as _Input2
|
|
3192
3193
|
} from "react-aria-components";
|
|
3193
|
-
import { Button as Button5, Input as _Input2 } from "react-aria-components";
|
|
3194
3194
|
|
|
3195
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3195
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
3196
3196
|
function _typeof(o) {
|
|
3197
3197
|
"@babel/helpers - typeof";
|
|
3198
3198
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -3202,7 +3202,7 @@ function _typeof(o) {
|
|
|
3202
3202
|
}, _typeof(o);
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3205
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
3206
3206
|
function toPrimitive(t, r) {
|
|
3207
3207
|
if ("object" != _typeof(t) || !t) return t;
|
|
3208
3208
|
var e = t[Symbol.toPrimitive];
|
|
@@ -3214,13 +3214,13 @@ function toPrimitive(t, r) {
|
|
|
3214
3214
|
return ("string" === r ? String : Number)(t);
|
|
3215
3215
|
}
|
|
3216
3216
|
|
|
3217
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3217
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
3218
3218
|
function toPropertyKey(t) {
|
|
3219
3219
|
var i = toPrimitive(t, "string");
|
|
3220
3220
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
3221
3221
|
}
|
|
3222
3222
|
|
|
3223
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3223
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
3224
3224
|
function _defineProperty(e, r, t) {
|
|
3225
3225
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
3226
3226
|
value: t,
|
|
@@ -3230,7 +3230,7 @@ function _defineProperty(e, r, t) {
|
|
|
3230
3230
|
}) : e[r] = t, e;
|
|
3231
3231
|
}
|
|
3232
3232
|
|
|
3233
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3233
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
3234
3234
|
function ownKeys(e, r) {
|
|
3235
3235
|
var t = Object.keys(e);
|
|
3236
3236
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3253,12 +3253,12 @@ function _objectSpread2(e) {
|
|
|
3253
3253
|
return e;
|
|
3254
3254
|
}
|
|
3255
3255
|
|
|
3256
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3256
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
3257
3257
|
function _arrayWithHoles(r) {
|
|
3258
3258
|
if (Array.isArray(r)) return r;
|
|
3259
3259
|
}
|
|
3260
3260
|
|
|
3261
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3261
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
3262
3262
|
function _iterableToArrayLimit(r, l) {
|
|
3263
3263
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3264
3264
|
if (null != t) {
|
|
@@ -3281,14 +3281,14 @@ function _iterableToArrayLimit(r, l) {
|
|
|
3281
3281
|
}
|
|
3282
3282
|
}
|
|
3283
3283
|
|
|
3284
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3284
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
3285
3285
|
function _arrayLikeToArray(r, a) {
|
|
3286
3286
|
(null == a || a > r.length) && (a = r.length);
|
|
3287
3287
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3288
3288
|
return n;
|
|
3289
3289
|
}
|
|
3290
3290
|
|
|
3291
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3291
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3292
3292
|
function _unsupportedIterableToArray(r, a) {
|
|
3293
3293
|
if (r) {
|
|
3294
3294
|
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
@@ -3297,39 +3297,39 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
3297
3297
|
}
|
|
3298
3298
|
}
|
|
3299
3299
|
|
|
3300
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3300
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
3301
3301
|
function _nonIterableRest() {
|
|
3302
3302
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3303
3303
|
}
|
|
3304
3304
|
|
|
3305
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3305
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
3306
3306
|
function _slicedToArray(r, e) {
|
|
3307
3307
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
3308
3308
|
}
|
|
3309
3309
|
|
|
3310
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3310
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3311
3311
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3312
3312
|
if (null == r) return {};
|
|
3313
3313
|
var t = {};
|
|
3314
3314
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3315
|
-
if (e.
|
|
3315
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3316
3316
|
t[n] = r[n];
|
|
3317
3317
|
}
|
|
3318
3318
|
return t;
|
|
3319
3319
|
}
|
|
3320
3320
|
|
|
3321
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3321
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
3322
3322
|
function _objectWithoutProperties(e, t) {
|
|
3323
3323
|
if (null == e) return {};
|
|
3324
3324
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
3325
3325
|
if (Object.getOwnPropertySymbols) {
|
|
3326
|
-
var
|
|
3327
|
-
for (r = 0; r <
|
|
3326
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3327
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
3328
3328
|
}
|
|
3329
3329
|
return i;
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3332
|
+
// ../../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
|
|
3333
3333
|
import { useState as useState3, useCallback } from "react";
|
|
3334
3334
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
3335
3335
|
function useStateManager(_ref3) {
|
|
@@ -3376,7 +3376,7 @@ function useStateManager(_ref3) {
|
|
|
3376
3376
|
});
|
|
3377
3377
|
}
|
|
3378
3378
|
|
|
3379
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3379
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
3380
3380
|
function _extends() {
|
|
3381
3381
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3382
3382
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -3387,16 +3387,16 @@ function _extends() {
|
|
|
3387
3387
|
}, _extends.apply(null, arguments);
|
|
3388
3388
|
}
|
|
3389
3389
|
|
|
3390
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3390
|
+
// ../../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
|
|
3391
3391
|
import * as React11 from "react";
|
|
3392
3392
|
import { forwardRef as forwardRef20, useMemo as useMemo4 } from "react";
|
|
3393
3393
|
|
|
3394
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3394
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
3395
3395
|
function _classCallCheck(a, n) {
|
|
3396
3396
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3397
3397
|
}
|
|
3398
3398
|
|
|
3399
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3399
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
3400
3400
|
function _defineProperties(e, r) {
|
|
3401
3401
|
for (var t = 0; t < r.length; t++) {
|
|
3402
3402
|
var o = r[t];
|
|
@@ -3409,14 +3409,14 @@ function _createClass(e, r, t) {
|
|
|
3409
3409
|
}), e;
|
|
3410
3410
|
}
|
|
3411
3411
|
|
|
3412
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3412
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
3413
3413
|
function _setPrototypeOf(t, e) {
|
|
3414
3414
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
3415
3415
|
return t2.__proto__ = e2, t2;
|
|
3416
3416
|
}, _setPrototypeOf(t, e);
|
|
3417
3417
|
}
|
|
3418
3418
|
|
|
3419
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3419
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
3420
3420
|
function _inherits(t, e) {
|
|
3421
3421
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
3422
3422
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -3430,14 +3430,14 @@ function _inherits(t, e) {
|
|
|
3430
3430
|
}), e && _setPrototypeOf(t, e);
|
|
3431
3431
|
}
|
|
3432
3432
|
|
|
3433
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3433
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
3434
3434
|
function _getPrototypeOf(t) {
|
|
3435
3435
|
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
3436
3436
|
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
3437
3437
|
}, _getPrototypeOf(t);
|
|
3438
3438
|
}
|
|
3439
3439
|
|
|
3440
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3440
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
3441
3441
|
function _isNativeReflectConstruct() {
|
|
3442
3442
|
try {
|
|
3443
3443
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -3449,20 +3449,20 @@ function _isNativeReflectConstruct() {
|
|
|
3449
3449
|
})();
|
|
3450
3450
|
}
|
|
3451
3451
|
|
|
3452
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3452
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
3453
3453
|
function _assertThisInitialized(e) {
|
|
3454
3454
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3455
3455
|
return e;
|
|
3456
3456
|
}
|
|
3457
3457
|
|
|
3458
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3458
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
3459
3459
|
function _possibleConstructorReturn(t, e) {
|
|
3460
3460
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
3461
3461
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
3462
3462
|
return _assertThisInitialized(t);
|
|
3463
3463
|
}
|
|
3464
3464
|
|
|
3465
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3465
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
3466
3466
|
function _createSuper(t) {
|
|
3467
3467
|
var r = _isNativeReflectConstruct();
|
|
3468
3468
|
return function() {
|
|
@@ -3475,27 +3475,27 @@ function _createSuper(t) {
|
|
|
3475
3475
|
};
|
|
3476
3476
|
}
|
|
3477
3477
|
|
|
3478
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3478
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
3479
3479
|
function _arrayWithoutHoles(r) {
|
|
3480
3480
|
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3481
3481
|
}
|
|
3482
3482
|
|
|
3483
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3483
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
3484
3484
|
function _iterableToArray(r) {
|
|
3485
3485
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3486
3486
|
}
|
|
3487
3487
|
|
|
3488
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3488
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
3489
3489
|
function _nonIterableSpread() {
|
|
3490
3490
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3491
3491
|
}
|
|
3492
3492
|
|
|
3493
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3493
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
3494
3494
|
function _toConsumableArray(r) {
|
|
3495
3495
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3496
3496
|
}
|
|
3497
3497
|
|
|
3498
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3498
|
+
// ../../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
|
|
3499
3499
|
import * as React10 from "react";
|
|
3500
3500
|
import { useMemo as useMemo3, Fragment as Fragment8, useRef as useRef5, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
|
|
3501
3501
|
|
|
@@ -4819,7 +4819,7 @@ function keyframes() {
|
|
|
4819
4819
|
};
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
4822
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
|
|
4823
4823
|
function _taggedTemplateLiteral(e, t) {
|
|
4824
4824
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
4825
4825
|
raw: {
|
|
@@ -4828,7 +4828,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
4828
4828
|
}));
|
|
4829
4829
|
}
|
|
4830
4830
|
|
|
4831
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
4831
|
+
// ../../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
|
|
4832
4832
|
import { useContext as useContext18, useRef as useRef4, useState as useState4, useMemo as useMemo2, useCallback as useCallback2, createContext as createContext9 } from "react";
|
|
4833
4833
|
import { createPortal } from "react-dom";
|
|
4834
4834
|
|
|
@@ -5234,7 +5234,7 @@ import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "re
|
|
|
5234
5234
|
var isClient = typeof document !== "undefined";
|
|
5235
5235
|
var index = isClient ? useLayoutEffect2 : useEffect2;
|
|
5236
5236
|
|
|
5237
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
5237
|
+
// ../../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
|
|
5238
5238
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5239
5239
|
var noop = function noop2() {
|
|
5240
5240
|
};
|
|
@@ -6308,7 +6308,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6308
6308
|
return memoized;
|
|
6309
6309
|
}
|
|
6310
6310
|
|
|
6311
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
6311
|
+
// ../../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
|
|
6312
6312
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
6313
6313
|
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).";
|
|
6314
6314
|
}
|
|
@@ -8153,7 +8153,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8153
8153
|
// ==============================
|
|
8154
8154
|
function renderInput() {
|
|
8155
8155
|
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;
|
|
8156
|
-
var _this$getComponents = this.getComponents(),
|
|
8156
|
+
var _this$getComponents = this.getComponents(), Input6 = _this$getComponents.Input;
|
|
8157
8157
|
var _this$state4 = this.state, inputIsHidden = _this$state4.inputIsHidden, ariaSelection = _this$state4.ariaSelection;
|
|
8158
8158
|
var commonProps = this.commonProps;
|
|
8159
8159
|
var id = inputId || this.getElementId("input");
|
|
@@ -8191,7 +8191,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8191
8191
|
value: ""
|
|
8192
8192
|
}, ariaAttributes));
|
|
8193
8193
|
}
|
|
8194
|
-
return /* @__PURE__ */ React10.createElement(
|
|
8194
|
+
return /* @__PURE__ */ React10.createElement(Input6, _extends({}, commonProps, {
|
|
8195
8195
|
autoCapitalize: "none",
|
|
8196
8196
|
autoComplete: "off",
|
|
8197
8197
|
autoCorrect: "off",
|
|
@@ -8604,7 +8604,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8604
8604
|
}(Component);
|
|
8605
8605
|
Select.defaultProps = defaultProps;
|
|
8606
8606
|
|
|
8607
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
8607
|
+
// ../../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
|
|
8608
8608
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
8609
8609
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
8610
8610
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
|
@@ -8625,7 +8625,7 @@ var StateManagedSelect = /* @__PURE__ */ forwardRef20(function(props, ref) {
|
|
|
8625
8625
|
});
|
|
8626
8626
|
var StateManagedSelect$1 = StateManagedSelect;
|
|
8627
8627
|
|
|
8628
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8628
|
+
// ../../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
|
|
8629
8629
|
import { useId as $83Elw$useId, useLabels as $83Elw$useLabels } from "@react-aria/utils";
|
|
8630
8630
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
8631
8631
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
@@ -8650,7 +8650,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
|
8650
8650
|
};
|
|
8651
8651
|
}
|
|
8652
8652
|
|
|
8653
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8653
|
+
// ../../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
|
|
8654
8654
|
import { useSlotId as $2kC82$useSlotId, mergeProps as $2kC82$mergeProps } from "@react-aria/utils";
|
|
8655
8655
|
function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
8656
8656
|
let { description, errorMessage, isInvalid, validationState } = props;
|
|
@@ -8688,6 +8688,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
|
8688
8688
|
}
|
|
8689
8689
|
|
|
8690
8690
|
// src/Multiselect/Multiselect.tsx
|
|
8691
|
+
import { useId } from "@react-aria/utils";
|
|
8691
8692
|
import { cn as cn41, useClassNames as useClassNames43 } from "@marigold/system";
|
|
8692
8693
|
import { jsx as jsx77, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
8693
8694
|
var propsToBeRemoved = [
|
|
@@ -8871,7 +8872,7 @@ var Multiselect = ({
|
|
|
8871
8872
|
|
|
8872
8873
|
// src/NumberField/NumberField.tsx
|
|
8873
8874
|
import { forwardRef as forwardRef21 } from "react";
|
|
8874
|
-
import { Group as Group4, NumberField } from "react-aria-components";
|
|
8875
|
+
import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
|
|
8875
8876
|
import { cn as cn43, useClassNames as useClassNames44 } from "@marigold/system";
|
|
8876
8877
|
|
|
8877
8878
|
// src/NumberField/StepButton.tsx
|
|
@@ -8944,6 +8945,7 @@ var _NumberField = forwardRef21(
|
|
|
8944
8945
|
as: NumberField,
|
|
8945
8946
|
...props,
|
|
8946
8947
|
"data-readonly": readOnly ? "true" : void 0,
|
|
8948
|
+
"data-stepper": showStepper ? "true" : void 0,
|
|
8947
8949
|
children: /* @__PURE__ */ jsxs29(Group4, { className: cn43("flex items-stretch", classNames3.group), children: [
|
|
8948
8950
|
showStepper && /* @__PURE__ */ jsx79(
|
|
8949
8951
|
_StepButton,
|
|
@@ -8953,15 +8955,13 @@ var _NumberField = forwardRef21(
|
|
|
8953
8955
|
slot: "decrement"
|
|
8954
8956
|
}
|
|
8955
8957
|
),
|
|
8956
|
-
/* @__PURE__ */ jsx79(
|
|
8957
|
-
|
|
8958
|
+
/* @__PURE__ */ jsx79(
|
|
8959
|
+
Input5,
|
|
8958
8960
|
{
|
|
8959
8961
|
ref,
|
|
8960
|
-
|
|
8961
|
-
size: size2,
|
|
8962
|
-
className: classNames3.input
|
|
8962
|
+
className: cn43("h-full flex-1 outline-none", classNames3.input)
|
|
8963
8963
|
}
|
|
8964
|
-
)
|
|
8964
|
+
),
|
|
8965
8965
|
showStepper && /* @__PURE__ */ jsx79(
|
|
8966
8966
|
_StepButton,
|
|
8967
8967
|
{
|
|
@@ -8976,14 +8976,180 @@ var _NumberField = forwardRef21(
|
|
|
8976
8976
|
}
|
|
8977
8977
|
);
|
|
8978
8978
|
|
|
8979
|
+
// src/Overlay/NonModal.tsx
|
|
8980
|
+
import { forwardRef as forwardRef22, useContext as useContext19 } from "react";
|
|
8981
|
+
import {
|
|
8982
|
+
OverlayTriggerStateContext as OverlayTriggerStateContext2,
|
|
8983
|
+
Provider as Provider2
|
|
8984
|
+
} from "react-aria-components";
|
|
8985
|
+
import {
|
|
8986
|
+
useOverlayTriggerState
|
|
8987
|
+
} from "react-stately";
|
|
8988
|
+
import { FocusScope } from "@react-aria/focus";
|
|
8989
|
+
import { DismissButton, Overlay } from "@react-aria/overlays";
|
|
8990
|
+
import { useIsSSR as useIsSSR2 } from "@react-aria/ssr";
|
|
8991
|
+
import {
|
|
8992
|
+
filterDOMProps,
|
|
8993
|
+
mergeProps,
|
|
8994
|
+
useEnterAnimation,
|
|
8995
|
+
useExitAnimation,
|
|
8996
|
+
useObjectRef,
|
|
8997
|
+
useViewportSize
|
|
8998
|
+
} from "@react-aria/utils";
|
|
8999
|
+
|
|
9000
|
+
// src/utils/useRenderProps.tsx
|
|
9001
|
+
import { useMemo as useMemo5 } from "react";
|
|
9002
|
+
function useRenderProps(props) {
|
|
9003
|
+
let {
|
|
9004
|
+
className,
|
|
9005
|
+
style,
|
|
9006
|
+
children,
|
|
9007
|
+
defaultClassName = void 0,
|
|
9008
|
+
defaultChildren = void 0,
|
|
9009
|
+
defaultStyle,
|
|
9010
|
+
values
|
|
9011
|
+
} = props;
|
|
9012
|
+
return useMemo5(() => {
|
|
9013
|
+
let computedClassName;
|
|
9014
|
+
let computedStyle;
|
|
9015
|
+
let computedChildren;
|
|
9016
|
+
if (typeof className === "function") {
|
|
9017
|
+
computedClassName = className({ ...values, defaultClassName });
|
|
9018
|
+
} else {
|
|
9019
|
+
computedClassName = className;
|
|
9020
|
+
}
|
|
9021
|
+
if (typeof style === "function") {
|
|
9022
|
+
computedStyle = style({ ...values, defaultStyle: defaultStyle || {} });
|
|
9023
|
+
} else {
|
|
9024
|
+
computedStyle = style;
|
|
9025
|
+
}
|
|
9026
|
+
if (typeof children === "function") {
|
|
9027
|
+
computedChildren = children({ ...values, defaultChildren });
|
|
9028
|
+
} else if (children == null) {
|
|
9029
|
+
computedChildren = defaultChildren;
|
|
9030
|
+
} else {
|
|
9031
|
+
computedChildren = children;
|
|
9032
|
+
}
|
|
9033
|
+
return {
|
|
9034
|
+
className: computedClassName != null ? computedClassName : defaultClassName,
|
|
9035
|
+
style: computedStyle || defaultStyle ? { ...defaultStyle, ...computedStyle } : void 0,
|
|
9036
|
+
children: computedChildren != null ? computedChildren : defaultChildren,
|
|
9037
|
+
"data-rac": ""
|
|
9038
|
+
};
|
|
9039
|
+
}, [
|
|
9040
|
+
className,
|
|
9041
|
+
style,
|
|
9042
|
+
children,
|
|
9043
|
+
defaultClassName,
|
|
9044
|
+
defaultChildren,
|
|
9045
|
+
defaultStyle,
|
|
9046
|
+
values
|
|
9047
|
+
]);
|
|
9048
|
+
}
|
|
9049
|
+
|
|
9050
|
+
// src/Overlay/useNonModal.ts
|
|
9051
|
+
import { useOverlay } from "@react-aria/overlays";
|
|
9052
|
+
var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
9053
|
+
let { overlayProps } = useOverlay(
|
|
9054
|
+
{
|
|
9055
|
+
isOpen: state.isOpen,
|
|
9056
|
+
onClose: state.close,
|
|
9057
|
+
shouldCloseOnBlur: false,
|
|
9058
|
+
isDismissable: false,
|
|
9059
|
+
isKeyboardDismissDisabled: keyboardDismissable ? false : true
|
|
9060
|
+
},
|
|
9061
|
+
nonModalRef
|
|
9062
|
+
);
|
|
9063
|
+
return {
|
|
9064
|
+
nonModalProps: overlayProps
|
|
9065
|
+
};
|
|
9066
|
+
};
|
|
9067
|
+
|
|
9068
|
+
// src/Overlay/NonModal.tsx
|
|
9069
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
9070
|
+
var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
9071
|
+
const { nonModalProps } = useNonModal(props, state);
|
|
9072
|
+
const ref = props.nonModalRef;
|
|
9073
|
+
const portalContainer = usePortalContainer();
|
|
9074
|
+
const isEntering = useEnterAnimation(ref) || props.isEntering || false;
|
|
9075
|
+
const renderProps = useRenderProps({
|
|
9076
|
+
...props,
|
|
9077
|
+
defaultClassName: "react-aria-NonModalOverlay",
|
|
9078
|
+
values: {
|
|
9079
|
+
isEntering,
|
|
9080
|
+
isExiting,
|
|
9081
|
+
state
|
|
9082
|
+
}
|
|
9083
|
+
});
|
|
9084
|
+
const viewport = useViewportSize();
|
|
9085
|
+
const style = {
|
|
9086
|
+
...renderProps.style,
|
|
9087
|
+
"--visual-viewport-height": viewport.height + "px"
|
|
9088
|
+
};
|
|
9089
|
+
const overlay = /* @__PURE__ */ jsxs30(
|
|
9090
|
+
"div",
|
|
9091
|
+
{
|
|
9092
|
+
...mergeProps(filterDOMProps(props), nonModalProps),
|
|
9093
|
+
...renderProps,
|
|
9094
|
+
tabIndex: -1,
|
|
9095
|
+
"aria-label": props["aria-label"],
|
|
9096
|
+
"aria-labelledby": props["aria-labelledby"],
|
|
9097
|
+
ref,
|
|
9098
|
+
slot: props.slot || void 0,
|
|
9099
|
+
style,
|
|
9100
|
+
"data-entering": isEntering || void 0,
|
|
9101
|
+
"data-exiting": isExiting || void 0,
|
|
9102
|
+
children: [
|
|
9103
|
+
renderProps.children,
|
|
9104
|
+
/* @__PURE__ */ jsx80(DismissButton, { onDismiss: state.close })
|
|
9105
|
+
]
|
|
9106
|
+
}
|
|
9107
|
+
);
|
|
9108
|
+
return /* @__PURE__ */ jsx80(
|
|
9109
|
+
Overlay,
|
|
9110
|
+
{
|
|
9111
|
+
isExiting,
|
|
9112
|
+
portalContainer,
|
|
9113
|
+
disableFocusManagement: true,
|
|
9114
|
+
children: /* @__PURE__ */ jsx80(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx80(Provider2, { values: [[OverlayTriggerStateContext2, state]], children: overlay }) })
|
|
9115
|
+
}
|
|
9116
|
+
);
|
|
9117
|
+
};
|
|
9118
|
+
var NonModal = forwardRef22(
|
|
9119
|
+
({ open, ...rest }, ref) => {
|
|
9120
|
+
const props = {
|
|
9121
|
+
isOpen: open,
|
|
9122
|
+
...rest
|
|
9123
|
+
};
|
|
9124
|
+
ref = useObjectRef(ref);
|
|
9125
|
+
const contextState = useContext19(OverlayTriggerStateContext2);
|
|
9126
|
+
const localState = useOverlayTriggerState(props);
|
|
9127
|
+
const state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
9128
|
+
const isExiting = useExitAnimation(ref, state.isOpen) || props.isExiting || false;
|
|
9129
|
+
const isSSR = useIsSSR2();
|
|
9130
|
+
if (state && !state.isOpen && !isExiting || isSSR) {
|
|
9131
|
+
return null;
|
|
9132
|
+
}
|
|
9133
|
+
return /* @__PURE__ */ jsx80(
|
|
9134
|
+
NonModalInner,
|
|
9135
|
+
{
|
|
9136
|
+
...props,
|
|
9137
|
+
nonModalRef: ref,
|
|
9138
|
+
state,
|
|
9139
|
+
isExiting
|
|
9140
|
+
}
|
|
9141
|
+
);
|
|
9142
|
+
}
|
|
9143
|
+
);
|
|
9144
|
+
|
|
8979
9145
|
// src/Pagination/Pagination.tsx
|
|
8980
9146
|
import { useEffect as useEffect6, useRef as useRef8, useState as useState6 } from "react";
|
|
8981
9147
|
import { cn as cn45, useClassNames as useClassNames47 } from "@marigold/system";
|
|
8982
9148
|
|
|
8983
9149
|
// src/Pagination/Ellipsis.tsx
|
|
8984
|
-
import { jsx as
|
|
9150
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
8985
9151
|
var Ellipsis = () => {
|
|
8986
|
-
return /* @__PURE__ */
|
|
9152
|
+
return /* @__PURE__ */ jsx81(
|
|
8987
9153
|
"span",
|
|
8988
9154
|
{
|
|
8989
9155
|
className: "text-text-base flex h-8 w-8 items-center justify-center",
|
|
@@ -8997,7 +9163,7 @@ var Ellipsis = () => {
|
|
|
8997
9163
|
import React12, { useEffect as useEffect4 } from "react";
|
|
8998
9164
|
import { useButton as useButton2 } from "@react-aria/button";
|
|
8999
9165
|
import { cn as cn44, useClassNames as useClassNames45 } from "@marigold/system";
|
|
9000
|
-
import { jsxs as
|
|
9166
|
+
import { jsxs as jsxs31 } from "react/jsx-runtime";
|
|
9001
9167
|
var NavigationButton = (props) => {
|
|
9002
9168
|
const ref = React12.useRef(null);
|
|
9003
9169
|
const classNames3 = useClassNames45({
|
|
@@ -9019,7 +9185,7 @@ var NavigationButton = (props) => {
|
|
|
9019
9185
|
return () => registerRef(null);
|
|
9020
9186
|
}
|
|
9021
9187
|
}, [registerRef]);
|
|
9022
|
-
return /* @__PURE__ */
|
|
9188
|
+
return /* @__PURE__ */ jsxs31(
|
|
9023
9189
|
"button",
|
|
9024
9190
|
{
|
|
9025
9191
|
ref,
|
|
@@ -9041,7 +9207,7 @@ var NavigationButton = (props) => {
|
|
|
9041
9207
|
import { useEffect as useEffect5, useRef as useRef6 } from "react";
|
|
9042
9208
|
import { useButton as useButton3 } from "@react-aria/button";
|
|
9043
9209
|
import { useClassNames as useClassNames46 } from "@marigold/system";
|
|
9044
|
-
import { jsx as
|
|
9210
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
9045
9211
|
var PageButton = (props) => {
|
|
9046
9212
|
const ref = useRef6(null);
|
|
9047
9213
|
const classNames3 = useClassNames46({
|
|
@@ -9055,7 +9221,7 @@ var PageButton = (props) => {
|
|
|
9055
9221
|
return () => registerRef(null);
|
|
9056
9222
|
}
|
|
9057
9223
|
}, [registerRef]);
|
|
9058
|
-
return /* @__PURE__ */
|
|
9224
|
+
return /* @__PURE__ */ jsx82(
|
|
9059
9225
|
"button",
|
|
9060
9226
|
{
|
|
9061
9227
|
ref,
|
|
@@ -9218,7 +9384,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
|
|
|
9218
9384
|
};
|
|
9219
9385
|
|
|
9220
9386
|
// src/Pagination/Pagination.tsx
|
|
9221
|
-
import { jsx as
|
|
9387
|
+
import { jsx as jsx83, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
9222
9388
|
var _Pagination = ({
|
|
9223
9389
|
defaultPage = 1,
|
|
9224
9390
|
page,
|
|
@@ -9267,14 +9433,14 @@ var _Pagination = ({
|
|
|
9267
9433
|
}, [currentPage, setFocusedItem]);
|
|
9268
9434
|
const isFirstPage = currentPage === 1;
|
|
9269
9435
|
const isLastPage = currentPage === totalPages || totalPages === 0;
|
|
9270
|
-
return /* @__PURE__ */
|
|
9436
|
+
return /* @__PURE__ */ jsxs32(
|
|
9271
9437
|
"nav",
|
|
9272
9438
|
{
|
|
9273
9439
|
className: "flex items-center justify-center space-x-2",
|
|
9274
9440
|
"aria-label": `Page ${currentPage} of ${totalPages}`,
|
|
9275
9441
|
...keyboardProps,
|
|
9276
9442
|
children: [
|
|
9277
|
-
/* @__PURE__ */
|
|
9443
|
+
/* @__PURE__ */ jsx83(
|
|
9278
9444
|
NavigationButton,
|
|
9279
9445
|
{
|
|
9280
9446
|
onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
|
|
@@ -9283,11 +9449,11 @@ var _Pagination = ({
|
|
|
9283
9449
|
registerRef: (ref) => registerRef(NavigationTypes.Prev, currentPage - 1, ref),
|
|
9284
9450
|
controlLabel: controlLabels == null ? void 0 : controlLabels[0],
|
|
9285
9451
|
position: "left",
|
|
9286
|
-
children: /* @__PURE__ */
|
|
9452
|
+
children: /* @__PURE__ */ jsx83(ChevronLeft, { className: cn45(classNames3.icon) })
|
|
9287
9453
|
}
|
|
9288
9454
|
),
|
|
9289
|
-
/* @__PURE__ */
|
|
9290
|
-
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */
|
|
9455
|
+
/* @__PURE__ */ jsx83("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
|
|
9456
|
+
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx83(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx83(
|
|
9291
9457
|
PageButton,
|
|
9292
9458
|
{
|
|
9293
9459
|
page: pageNumber,
|
|
@@ -9297,8 +9463,8 @@ var _Pagination = ({
|
|
|
9297
9463
|
},
|
|
9298
9464
|
pageNumber
|
|
9299
9465
|
)
|
|
9300
|
-
) : /* @__PURE__ */
|
|
9301
|
-
/* @__PURE__ */
|
|
9466
|
+
) : /* @__PURE__ */ jsx83(PageButton, { page: 1, isDisabled: true }, 1) }),
|
|
9467
|
+
/* @__PURE__ */ jsx83(
|
|
9302
9468
|
NavigationButton,
|
|
9303
9469
|
{
|
|
9304
9470
|
onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
|
|
@@ -9307,7 +9473,7 @@ var _Pagination = ({
|
|
|
9307
9473
|
registerRef: (ref) => registerRef(NavigationTypes.Next, currentPage + 1, ref),
|
|
9308
9474
|
controlLabel: controlLabels == null ? void 0 : controlLabels[1],
|
|
9309
9475
|
position: "right",
|
|
9310
|
-
children: /* @__PURE__ */
|
|
9476
|
+
children: /* @__PURE__ */ jsx83(ChevronRight, { className: cn45(classNames3.icon) })
|
|
9311
9477
|
}
|
|
9312
9478
|
)
|
|
9313
9479
|
]
|
|
@@ -9317,22 +9483,22 @@ var _Pagination = ({
|
|
|
9317
9483
|
|
|
9318
9484
|
// src/Radio/Radio.tsx
|
|
9319
9485
|
import {
|
|
9320
|
-
forwardRef as
|
|
9486
|
+
forwardRef as forwardRef23
|
|
9321
9487
|
} from "react";
|
|
9322
9488
|
import { Radio } from "react-aria-components";
|
|
9323
9489
|
import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
|
|
9324
9490
|
|
|
9325
9491
|
// src/Radio/Context.ts
|
|
9326
|
-
import { createContext as createContext10, useContext as
|
|
9492
|
+
import { createContext as createContext10, useContext as useContext20 } from "react";
|
|
9327
9493
|
var RadioGroupContext = createContext10(
|
|
9328
9494
|
null
|
|
9329
9495
|
);
|
|
9330
|
-
var useRadioGroupContext = () =>
|
|
9496
|
+
var useRadioGroupContext = () => useContext20(RadioGroupContext);
|
|
9331
9497
|
|
|
9332
9498
|
// src/Radio/RadioGroup.tsx
|
|
9333
9499
|
import { RadioGroup } from "react-aria-components";
|
|
9334
9500
|
import { cn as cn46, useClassNames as useClassNames48 } from "@marigold/system";
|
|
9335
|
-
import { jsx as
|
|
9501
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
9336
9502
|
var _RadioGroup = ({
|
|
9337
9503
|
variant,
|
|
9338
9504
|
size: size2,
|
|
@@ -9356,7 +9522,7 @@ var _RadioGroup = ({
|
|
|
9356
9522
|
isInvalid: error,
|
|
9357
9523
|
...rest
|
|
9358
9524
|
};
|
|
9359
|
-
return /* @__PURE__ */
|
|
9525
|
+
return /* @__PURE__ */ jsx84(
|
|
9360
9526
|
FieldBase,
|
|
9361
9527
|
{
|
|
9362
9528
|
as: RadioGroup,
|
|
@@ -9367,7 +9533,7 @@ var _RadioGroup = ({
|
|
|
9367
9533
|
variant,
|
|
9368
9534
|
size: size2,
|
|
9369
9535
|
...props,
|
|
9370
|
-
children: /* @__PURE__ */
|
|
9536
|
+
children: /* @__PURE__ */ jsx84(
|
|
9371
9537
|
"div",
|
|
9372
9538
|
{
|
|
9373
9539
|
role: "presentation",
|
|
@@ -9378,7 +9544,7 @@ var _RadioGroup = ({
|
|
|
9378
9544
|
"flex items-start",
|
|
9379
9545
|
orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
|
|
9380
9546
|
),
|
|
9381
|
-
children: /* @__PURE__ */
|
|
9547
|
+
children: /* @__PURE__ */ jsx84(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
|
|
9382
9548
|
}
|
|
9383
9549
|
)
|
|
9384
9550
|
}
|
|
@@ -9386,9 +9552,9 @@ var _RadioGroup = ({
|
|
|
9386
9552
|
};
|
|
9387
9553
|
|
|
9388
9554
|
// src/Radio/Radio.tsx
|
|
9389
|
-
import { Fragment as Fragment9, jsx as
|
|
9390
|
-
var Dot = () => /* @__PURE__ */
|
|
9391
|
-
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */
|
|
9555
|
+
import { Fragment as Fragment9, jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
9556
|
+
var Dot = () => /* @__PURE__ */ jsx85("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx85("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
|
|
9557
|
+
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx85(
|
|
9392
9558
|
"div",
|
|
9393
9559
|
{
|
|
9394
9560
|
className: cn47(
|
|
@@ -9397,10 +9563,10 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx84(
|
|
|
9397
9563
|
),
|
|
9398
9564
|
"aria-hidden": "true",
|
|
9399
9565
|
...props,
|
|
9400
|
-
children: checked ? /* @__PURE__ */
|
|
9566
|
+
children: checked ? /* @__PURE__ */ jsx85(Dot, {}) : null
|
|
9401
9567
|
}
|
|
9402
9568
|
);
|
|
9403
|
-
var _Radio =
|
|
9569
|
+
var _Radio = forwardRef23(
|
|
9404
9570
|
({ value, disabled, width, children, ...props }, ref) => {
|
|
9405
9571
|
const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
|
|
9406
9572
|
const classNames3 = useClassNames49({
|
|
@@ -9408,7 +9574,7 @@ var _Radio = forwardRef22(
|
|
|
9408
9574
|
variant: variant || props.variant,
|
|
9409
9575
|
size: size2 || props.size
|
|
9410
9576
|
});
|
|
9411
|
-
return /* @__PURE__ */
|
|
9577
|
+
return /* @__PURE__ */ jsx85(
|
|
9412
9578
|
Radio,
|
|
9413
9579
|
{
|
|
9414
9580
|
ref,
|
|
@@ -9421,8 +9587,8 @@ var _Radio = forwardRef22(
|
|
|
9421
9587
|
value,
|
|
9422
9588
|
isDisabled: disabled,
|
|
9423
9589
|
...props,
|
|
9424
|
-
children: ({ isSelected }) => /* @__PURE__ */
|
|
9425
|
-
/* @__PURE__ */
|
|
9590
|
+
children: ({ isSelected }) => /* @__PURE__ */ jsxs33(Fragment9, { children: [
|
|
9591
|
+
/* @__PURE__ */ jsx85(
|
|
9426
9592
|
Icon3,
|
|
9427
9593
|
{
|
|
9428
9594
|
checked: isSelected,
|
|
@@ -9432,7 +9598,7 @@ var _Radio = forwardRef22(
|
|
|
9432
9598
|
)
|
|
9433
9599
|
}
|
|
9434
9600
|
),
|
|
9435
|
-
/* @__PURE__ */
|
|
9601
|
+
/* @__PURE__ */ jsx85("div", { className: classNames3.label, children })
|
|
9436
9602
|
] })
|
|
9437
9603
|
}
|
|
9438
9604
|
);
|
|
@@ -9441,10 +9607,10 @@ var _Radio = forwardRef22(
|
|
|
9441
9607
|
_Radio.Group = _RadioGroup;
|
|
9442
9608
|
|
|
9443
9609
|
// src/SearchField/SearchField.tsx
|
|
9444
|
-
import { forwardRef as
|
|
9610
|
+
import { forwardRef as forwardRef24 } from "react";
|
|
9445
9611
|
import { SearchField } from "react-aria-components";
|
|
9446
|
-
import { jsx as
|
|
9447
|
-
var _SearchField =
|
|
9612
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
9613
|
+
var _SearchField = forwardRef24(
|
|
9448
9614
|
({ disabled, required, readOnly, error, action, ...rest }, ref) => {
|
|
9449
9615
|
const props = {
|
|
9450
9616
|
...rest,
|
|
@@ -9453,7 +9619,7 @@ var _SearchField = forwardRef23(
|
|
|
9453
9619
|
isReadOnly: readOnly,
|
|
9454
9620
|
isInvalid: error
|
|
9455
9621
|
};
|
|
9456
|
-
return /* @__PURE__ */
|
|
9622
|
+
return /* @__PURE__ */ jsx86(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx86(
|
|
9457
9623
|
SearchInput,
|
|
9458
9624
|
{
|
|
9459
9625
|
ref,
|
|
@@ -9464,11 +9630,11 @@ var _SearchField = forwardRef23(
|
|
|
9464
9630
|
);
|
|
9465
9631
|
|
|
9466
9632
|
// src/Select/Select.tsx
|
|
9467
|
-
import { forwardRef as
|
|
9633
|
+
import { forwardRef as forwardRef25 } from "react";
|
|
9468
9634
|
import { Select as Select2, SelectValue } from "react-aria-components";
|
|
9469
9635
|
import { cn as cn48, useClassNames as useClassNames50 } from "@marigold/system";
|
|
9470
|
-
import { jsx as
|
|
9471
|
-
var _Select =
|
|
9636
|
+
import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
9637
|
+
var _Select = forwardRef25(
|
|
9472
9638
|
({
|
|
9473
9639
|
disabled,
|
|
9474
9640
|
required,
|
|
@@ -9489,8 +9655,8 @@ var _Select = forwardRef24(
|
|
|
9489
9655
|
...rest
|
|
9490
9656
|
};
|
|
9491
9657
|
const classNames3 = useClassNames50({ component: "Select", variant, size: size2 });
|
|
9492
|
-
return /* @__PURE__ */
|
|
9493
|
-
/* @__PURE__ */
|
|
9658
|
+
return /* @__PURE__ */ jsxs34(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
|
|
9659
|
+
/* @__PURE__ */ jsxs34(
|
|
9494
9660
|
IconButton,
|
|
9495
9661
|
{
|
|
9496
9662
|
className: cn48(
|
|
@@ -9498,12 +9664,12 @@ var _Select = forwardRef24(
|
|
|
9498
9664
|
classNames3.select
|
|
9499
9665
|
),
|
|
9500
9666
|
children: [
|
|
9501
|
-
/* @__PURE__ */
|
|
9502
|
-
/* @__PURE__ */
|
|
9667
|
+
/* @__PURE__ */ jsx87(SelectValue, { className: "[&>[slot=description]]:hidden" }),
|
|
9668
|
+
/* @__PURE__ */ jsx87(ChevronDown, { className: cn48("size-4", classNames3.icon) })
|
|
9503
9669
|
]
|
|
9504
9670
|
}
|
|
9505
9671
|
),
|
|
9506
|
-
/* @__PURE__ */
|
|
9672
|
+
/* @__PURE__ */ jsx87(_Popover, { children: /* @__PURE__ */ jsx87(_ListBox, { items, children: props.children }) })
|
|
9507
9673
|
] });
|
|
9508
9674
|
}
|
|
9509
9675
|
);
|
|
@@ -9512,36 +9678,36 @@ _Select.Section = _ListBox.Section;
|
|
|
9512
9678
|
|
|
9513
9679
|
// src/SelectList/SelectList.tsx
|
|
9514
9680
|
import {
|
|
9515
|
-
forwardRef as
|
|
9681
|
+
forwardRef as forwardRef27
|
|
9516
9682
|
} from "react";
|
|
9517
9683
|
import { GridList as SelectList } from "react-aria-components";
|
|
9518
9684
|
import { cn as cn50, useClassNames as useClassNames51 } from "@marigold/system";
|
|
9519
9685
|
|
|
9520
9686
|
// src/SelectList/Context.ts
|
|
9521
|
-
import { createContext as createContext11, useContext as
|
|
9687
|
+
import { createContext as createContext11, useContext as useContext21 } from "react";
|
|
9522
9688
|
var SelectListContext = createContext11(
|
|
9523
9689
|
{}
|
|
9524
9690
|
);
|
|
9525
|
-
var useSelectListContext = () =>
|
|
9691
|
+
var useSelectListContext = () => useContext21(SelectListContext);
|
|
9526
9692
|
|
|
9527
9693
|
// src/SelectList/SelectListItem.tsx
|
|
9528
|
-
import { forwardRef as
|
|
9694
|
+
import { forwardRef as forwardRef26 } from "react";
|
|
9529
9695
|
import { GridListItem as SelectListItem } from "react-aria-components";
|
|
9530
9696
|
import { cn as cn49 } from "@marigold/system";
|
|
9531
|
-
import { jsx as
|
|
9532
|
-
var _SelectListItem =
|
|
9697
|
+
import { jsx as jsx88, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
9698
|
+
var _SelectListItem = forwardRef26(
|
|
9533
9699
|
({ children, ...props }, ref) => {
|
|
9534
9700
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9535
9701
|
const { classNames: classNames3 } = useSelectListContext();
|
|
9536
|
-
return /* @__PURE__ */
|
|
9702
|
+
return /* @__PURE__ */ jsx88(
|
|
9537
9703
|
SelectListItem,
|
|
9538
9704
|
{
|
|
9539
9705
|
textValue,
|
|
9540
9706
|
...props,
|
|
9541
9707
|
className: cn49("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.option),
|
|
9542
9708
|
ref,
|
|
9543
|
-
children: ({ selectionMode }) => /* @__PURE__ */
|
|
9544
|
-
selectionMode === "multiple" && /* @__PURE__ */
|
|
9709
|
+
children: ({ selectionMode }) => /* @__PURE__ */ jsxs35("div", { className: "flex gap-2", children: [
|
|
9710
|
+
selectionMode === "multiple" && /* @__PURE__ */ jsx88(_Checkbox, { slot: "selection" }),
|
|
9545
9711
|
children
|
|
9546
9712
|
] })
|
|
9547
9713
|
}
|
|
@@ -9550,15 +9716,15 @@ var _SelectListItem = forwardRef25(
|
|
|
9550
9716
|
);
|
|
9551
9717
|
|
|
9552
9718
|
// src/SelectList/SelectList.tsx
|
|
9553
|
-
import { jsx as
|
|
9554
|
-
var _SelectList =
|
|
9719
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
9720
|
+
var _SelectList = forwardRef27(
|
|
9555
9721
|
({ onChange: onChange2, ...rest }, ref) => {
|
|
9556
9722
|
const classNames3 = useClassNames51({ component: "ListBox" });
|
|
9557
9723
|
const props = {
|
|
9558
9724
|
onSelectionChange: onChange2,
|
|
9559
9725
|
...rest
|
|
9560
9726
|
};
|
|
9561
|
-
return /* @__PURE__ */
|
|
9727
|
+
return /* @__PURE__ */ jsx89(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx89("div", { className: classNames3.container, children: /* @__PURE__ */ jsx89(
|
|
9562
9728
|
SelectList,
|
|
9563
9729
|
{
|
|
9564
9730
|
...props,
|
|
@@ -9577,13 +9743,13 @@ _SelectList.Item = _SelectListItem;
|
|
|
9577
9743
|
|
|
9578
9744
|
// src/Scrollable/Scrollable.tsx
|
|
9579
9745
|
import { cn as cn51, createVar as createVar8, width as twWidth2 } from "@marigold/system";
|
|
9580
|
-
import { jsx as
|
|
9746
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
9581
9747
|
var Scrollable = ({
|
|
9582
9748
|
children,
|
|
9583
9749
|
width = "full",
|
|
9584
9750
|
height,
|
|
9585
9751
|
...props
|
|
9586
|
-
}) => /* @__PURE__ */
|
|
9752
|
+
}) => /* @__PURE__ */ jsx90(
|
|
9587
9753
|
"div",
|
|
9588
9754
|
{
|
|
9589
9755
|
...props,
|
|
@@ -9594,7 +9760,7 @@ var Scrollable = ({
|
|
|
9594
9760
|
);
|
|
9595
9761
|
|
|
9596
9762
|
// src/Slider/Slider.tsx
|
|
9597
|
-
import { forwardRef as
|
|
9763
|
+
import { forwardRef as forwardRef28 } from "react";
|
|
9598
9764
|
import {
|
|
9599
9765
|
Slider,
|
|
9600
9766
|
SliderOutput,
|
|
@@ -9606,8 +9772,8 @@ import {
|
|
|
9606
9772
|
width as twWidth3,
|
|
9607
9773
|
useClassNames as useClassNames52
|
|
9608
9774
|
} from "@marigold/system";
|
|
9609
|
-
import { Fragment as Fragment10, jsx as
|
|
9610
|
-
var _Slider =
|
|
9775
|
+
import { Fragment as Fragment10, jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
9776
|
+
var _Slider = forwardRef28(
|
|
9611
9777
|
({
|
|
9612
9778
|
thumbLabels,
|
|
9613
9779
|
variant,
|
|
@@ -9626,7 +9792,7 @@ var _Slider = forwardRef27(
|
|
|
9626
9792
|
isDisabled: disabled,
|
|
9627
9793
|
...rest
|
|
9628
9794
|
};
|
|
9629
|
-
return /* @__PURE__ */
|
|
9795
|
+
return /* @__PURE__ */ jsxs36(
|
|
9630
9796
|
FieldBase,
|
|
9631
9797
|
{
|
|
9632
9798
|
as: Slider,
|
|
@@ -9638,14 +9804,14 @@ var _Slider = forwardRef27(
|
|
|
9638
9804
|
ref,
|
|
9639
9805
|
...props,
|
|
9640
9806
|
children: [
|
|
9641
|
-
/* @__PURE__ */
|
|
9642
|
-
/* @__PURE__ */
|
|
9643
|
-
/* @__PURE__ */
|
|
9807
|
+
/* @__PURE__ */ jsx91(_Label, { children: props.children && props.children || label && label }),
|
|
9808
|
+
/* @__PURE__ */ jsx91(SliderOutput, { className: cn52("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
|
|
9809
|
+
/* @__PURE__ */ jsx91(
|
|
9644
9810
|
SliderTrack,
|
|
9645
9811
|
{
|
|
9646
9812
|
className: cn52("relative col-span-2 h-2 w-full", classNames3.track),
|
|
9647
|
-
children: ({ state }) => /* @__PURE__ */
|
|
9648
|
-
/* @__PURE__ */
|
|
9813
|
+
children: ({ state }) => /* @__PURE__ */ jsxs36(Fragment10, { children: [
|
|
9814
|
+
/* @__PURE__ */ jsx91(
|
|
9649
9815
|
"div",
|
|
9650
9816
|
{
|
|
9651
9817
|
className: cn52(
|
|
@@ -9654,7 +9820,7 @@ var _Slider = forwardRef27(
|
|
|
9654
9820
|
)
|
|
9655
9821
|
}
|
|
9656
9822
|
),
|
|
9657
|
-
/* @__PURE__ */
|
|
9823
|
+
/* @__PURE__ */ jsx91(
|
|
9658
9824
|
"div",
|
|
9659
9825
|
{
|
|
9660
9826
|
className: cn52(
|
|
@@ -9667,7 +9833,7 @@ var _Slider = forwardRef27(
|
|
|
9667
9833
|
}
|
|
9668
9834
|
}
|
|
9669
9835
|
),
|
|
9670
|
-
state.values.map((_, i) => /* @__PURE__ */
|
|
9836
|
+
state.values.map((_, i) => /* @__PURE__ */ jsx91(
|
|
9671
9837
|
SliderThumb,
|
|
9672
9838
|
{
|
|
9673
9839
|
className: cn52("top-1/2 cursor-pointer", classNames3.thumb),
|
|
@@ -9687,12 +9853,12 @@ var _Slider = forwardRef27(
|
|
|
9687
9853
|
);
|
|
9688
9854
|
|
|
9689
9855
|
// src/Split/Split.tsx
|
|
9690
|
-
import { jsx as
|
|
9691
|
-
var Split = () => /* @__PURE__ */
|
|
9856
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
9857
|
+
var Split = () => /* @__PURE__ */ jsx92("div", { role: "separator", className: "grow" });
|
|
9692
9858
|
|
|
9693
9859
|
// src/Stack/Stack.tsx
|
|
9694
9860
|
import { alignment as alignment2, cn as cn53, gapSpace as gapSpace8 } from "@marigold/system";
|
|
9695
|
-
import { jsx as
|
|
9861
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
9696
9862
|
var Stack = ({
|
|
9697
9863
|
children,
|
|
9698
9864
|
space = 0,
|
|
@@ -9702,7 +9868,7 @@ var Stack = ({
|
|
|
9702
9868
|
...props
|
|
9703
9869
|
}) => {
|
|
9704
9870
|
var _a, _b, _c, _d;
|
|
9705
|
-
return /* @__PURE__ */
|
|
9871
|
+
return /* @__PURE__ */ jsx93(
|
|
9706
9872
|
"div",
|
|
9707
9873
|
{
|
|
9708
9874
|
className: cn53(
|
|
@@ -9719,15 +9885,15 @@ var Stack = ({
|
|
|
9719
9885
|
};
|
|
9720
9886
|
|
|
9721
9887
|
// src/Switch/Switch.tsx
|
|
9722
|
-
import { forwardRef as
|
|
9888
|
+
import { forwardRef as forwardRef29 } from "react";
|
|
9723
9889
|
import { Switch } from "react-aria-components";
|
|
9724
9890
|
import {
|
|
9725
9891
|
cn as cn54,
|
|
9726
9892
|
width as twWidth4,
|
|
9727
9893
|
useClassNames as useClassNames53
|
|
9728
9894
|
} from "@marigold/system";
|
|
9729
|
-
import { jsx as
|
|
9730
|
-
var _Switch =
|
|
9895
|
+
import { jsx as jsx94, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
9896
|
+
var _Switch = forwardRef29(
|
|
9731
9897
|
({
|
|
9732
9898
|
variant,
|
|
9733
9899
|
size: size2,
|
|
@@ -9745,7 +9911,7 @@ var _Switch = forwardRef28(
|
|
|
9745
9911
|
isSelected: selected,
|
|
9746
9912
|
...rest
|
|
9747
9913
|
};
|
|
9748
|
-
return /* @__PURE__ */
|
|
9914
|
+
return /* @__PURE__ */ jsxs37(
|
|
9749
9915
|
Switch,
|
|
9750
9916
|
{
|
|
9751
9917
|
...props,
|
|
@@ -9757,8 +9923,8 @@ var _Switch = forwardRef28(
|
|
|
9757
9923
|
classNames3.container
|
|
9758
9924
|
),
|
|
9759
9925
|
children: [
|
|
9760
|
-
/* @__PURE__ */
|
|
9761
|
-
/* @__PURE__ */
|
|
9926
|
+
/* @__PURE__ */ jsx94(_Label, { elementType: "span", children }),
|
|
9927
|
+
/* @__PURE__ */ jsx94("div", { className: "relative", children: /* @__PURE__ */ jsx94("div", { className: classNames3.track, children: /* @__PURE__ */ jsx94("div", { className: classNames3.thumb }) }) })
|
|
9762
9928
|
]
|
|
9763
9929
|
}
|
|
9764
9930
|
);
|
|
@@ -9779,13 +9945,13 @@ import {
|
|
|
9779
9945
|
import { cn as cn61, useClassNames as useClassNames55 } from "@marigold/system";
|
|
9780
9946
|
|
|
9781
9947
|
// src/Table/Context.tsx
|
|
9782
|
-
import { createContext as createContext12, useContext as
|
|
9948
|
+
import { createContext as createContext12, useContext as useContext22 } from "react";
|
|
9783
9949
|
var TableContext = createContext12({});
|
|
9784
|
-
var useTableContext = () =>
|
|
9950
|
+
var useTableContext = () => useContext22(TableContext);
|
|
9785
9951
|
|
|
9786
9952
|
// src/Table/TableBody.tsx
|
|
9787
9953
|
import { useTableRowGroup } from "@react-aria/table";
|
|
9788
|
-
import { jsx as
|
|
9954
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
9789
9955
|
var TableBody = ({
|
|
9790
9956
|
children,
|
|
9791
9957
|
className,
|
|
@@ -9794,7 +9960,7 @@ var TableBody = ({
|
|
|
9794
9960
|
const { rowGroupProps } = useTableRowGroup();
|
|
9795
9961
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9796
9962
|
if (state.collection.size === 0 && emptyState) {
|
|
9797
|
-
return /* @__PURE__ */
|
|
9963
|
+
return /* @__PURE__ */ jsx95("tbody", { className, children: /* @__PURE__ */ jsx95("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx95(
|
|
9798
9964
|
"td",
|
|
9799
9965
|
{
|
|
9800
9966
|
className: classNames3 == null ? void 0 : classNames3.cell,
|
|
@@ -9804,16 +9970,16 @@ var TableBody = ({
|
|
|
9804
9970
|
}
|
|
9805
9971
|
) }) });
|
|
9806
9972
|
}
|
|
9807
|
-
return /* @__PURE__ */
|
|
9973
|
+
return /* @__PURE__ */ jsx95("tbody", { ...rowGroupProps, className, children });
|
|
9808
9974
|
};
|
|
9809
9975
|
|
|
9810
9976
|
// src/Table/TableCell.tsx
|
|
9811
9977
|
import { useRef as useRef9 } from "react";
|
|
9812
9978
|
import { useFocusRing } from "@react-aria/focus";
|
|
9813
9979
|
import { useTableCell } from "@react-aria/table";
|
|
9814
|
-
import { mergeProps } from "@react-aria/utils";
|
|
9980
|
+
import { mergeProps as mergeProps2 } from "@react-aria/utils";
|
|
9815
9981
|
import { cn as cn55, useStateProps } from "@marigold/system";
|
|
9816
|
-
import { jsx as
|
|
9982
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
9817
9983
|
var TableCell = ({ cell, align = "left" }) => {
|
|
9818
9984
|
const ref = useRef9(null);
|
|
9819
9985
|
const { interactive, state, classNames: classNames3 } = useTableContext();
|
|
@@ -9836,12 +10002,12 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9836
10002
|
};
|
|
9837
10003
|
const { focusProps, isFocusVisible } = useFocusRing();
|
|
9838
10004
|
const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
|
|
9839
|
-
return /* @__PURE__ */
|
|
10005
|
+
return /* @__PURE__ */ jsx96(
|
|
9840
10006
|
"td",
|
|
9841
10007
|
{
|
|
9842
10008
|
ref,
|
|
9843
10009
|
className: cn55(classNames3 == null ? void 0 : classNames3.cell),
|
|
9844
|
-
...
|
|
10010
|
+
...mergeProps2(cellProps, focusProps),
|
|
9845
10011
|
...stateProps,
|
|
9846
10012
|
align,
|
|
9847
10013
|
children: cell.rendered
|
|
@@ -9853,7 +10019,7 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9853
10019
|
import { useRef as useRef10 } from "react";
|
|
9854
10020
|
import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
|
|
9855
10021
|
import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
|
|
9856
|
-
import { mergeProps as
|
|
10022
|
+
import { mergeProps as mergeProps3 } from "@react-aria/utils";
|
|
9857
10023
|
import { cn as cn56, useStateProps as useStateProps2 } from "@marigold/system";
|
|
9858
10024
|
|
|
9859
10025
|
// src/Table/utils.ts
|
|
@@ -9877,7 +10043,7 @@ var mapCheckboxProps = ({
|
|
|
9877
10043
|
};
|
|
9878
10044
|
|
|
9879
10045
|
// src/Table/TableCheckboxCell.tsx
|
|
9880
|
-
import { jsx as
|
|
10046
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9881
10047
|
var TableCheckboxCell = ({ cell }) => {
|
|
9882
10048
|
const ref = useRef10(null);
|
|
9883
10049
|
const { state, classNames: classNames3 } = useTableContext();
|
|
@@ -9894,14 +10060,14 @@ var TableCheckboxCell = ({ cell }) => {
|
|
|
9894
10060
|
);
|
|
9895
10061
|
const { focusProps, isFocusVisible } = useFocusRing2();
|
|
9896
10062
|
const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
|
|
9897
|
-
return /* @__PURE__ */
|
|
10063
|
+
return /* @__PURE__ */ jsx97(
|
|
9898
10064
|
"td",
|
|
9899
10065
|
{
|
|
9900
10066
|
ref,
|
|
9901
10067
|
className: cn56("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
|
|
9902
|
-
...
|
|
10068
|
+
...mergeProps3(gridCellProps, focusProps),
|
|
9903
10069
|
...stateProps,
|
|
9904
|
-
children: /* @__PURE__ */
|
|
10070
|
+
children: /* @__PURE__ */ jsx97(_Checkbox, { ...checkboxProps })
|
|
9905
10071
|
}
|
|
9906
10072
|
);
|
|
9907
10073
|
};
|
|
@@ -9911,9 +10077,9 @@ import { useRef as useRef11 } from "react";
|
|
|
9911
10077
|
import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
|
|
9912
10078
|
import { useHover } from "@react-aria/interactions";
|
|
9913
10079
|
import { useTableColumnHeader } from "@react-aria/table";
|
|
9914
|
-
import { mergeProps as
|
|
10080
|
+
import { mergeProps as mergeProps4 } from "@react-aria/utils";
|
|
9915
10081
|
import { cn as cn57, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
|
|
9916
|
-
import { jsx as
|
|
10082
|
+
import { jsx as jsx98, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
9917
10083
|
var TableColumnHeader = ({
|
|
9918
10084
|
column: column2,
|
|
9919
10085
|
width = "auto",
|
|
@@ -9935,18 +10101,18 @@ var TableColumnHeader = ({
|
|
|
9935
10101
|
hover: isHovered,
|
|
9936
10102
|
focusVisible: isFocusVisible
|
|
9937
10103
|
});
|
|
9938
|
-
return /* @__PURE__ */
|
|
10104
|
+
return /* @__PURE__ */ jsxs38(
|
|
9939
10105
|
"th",
|
|
9940
10106
|
{
|
|
9941
10107
|
colSpan: column2.colspan,
|
|
9942
10108
|
ref,
|
|
9943
10109
|
className: cn57("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
|
|
9944
|
-
...
|
|
10110
|
+
...mergeProps4(columnHeaderProps, hoverProps, focusProps),
|
|
9945
10111
|
...stateProps,
|
|
9946
10112
|
align,
|
|
9947
10113
|
children: [
|
|
9948
10114
|
column2.rendered,
|
|
9949
|
-
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */
|
|
10115
|
+
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx98(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx98(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx98("span", { className: "hidden", children: /* @__PURE__ */ jsx98(SortDown, { className: "inline-block" }) }))
|
|
9950
10116
|
]
|
|
9951
10117
|
}
|
|
9952
10118
|
);
|
|
@@ -9955,11 +10121,11 @@ var TableColumnHeader = ({
|
|
|
9955
10121
|
// src/Table/TableHeader.tsx
|
|
9956
10122
|
import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
|
|
9957
10123
|
import { cn as cn58 } from "@marigold/system";
|
|
9958
|
-
import { jsx as
|
|
10124
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
9959
10125
|
var TableHeader = ({ stickyHeader, children }) => {
|
|
9960
10126
|
const { rowGroupProps } = useTableRowGroup2();
|
|
9961
10127
|
const { classNames: classNames3 } = useTableContext();
|
|
9962
|
-
return /* @__PURE__ */
|
|
10128
|
+
return /* @__PURE__ */ jsx99(
|
|
9963
10129
|
"thead",
|
|
9964
10130
|
{
|
|
9965
10131
|
...rowGroupProps,
|
|
@@ -9977,7 +10143,7 @@ var TableHeader = ({ stickyHeader, children }) => {
|
|
|
9977
10143
|
// src/Table/TableHeaderRow.tsx
|
|
9978
10144
|
import { useRef as useRef12 } from "react";
|
|
9979
10145
|
import { useTableHeaderRow } from "@react-aria/table";
|
|
9980
|
-
import { jsx as
|
|
10146
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
9981
10147
|
var TableHeaderRow = ({
|
|
9982
10148
|
item,
|
|
9983
10149
|
className,
|
|
@@ -9986,7 +10152,7 @@ var TableHeaderRow = ({
|
|
|
9986
10152
|
const { state } = useTableContext();
|
|
9987
10153
|
const ref = useRef12(null);
|
|
9988
10154
|
const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
|
|
9989
|
-
return /* @__PURE__ */
|
|
10155
|
+
return /* @__PURE__ */ jsx100("tr", { ...rowProps, className, ref, children });
|
|
9990
10156
|
};
|
|
9991
10157
|
|
|
9992
10158
|
// src/Table/TableRow.tsx
|
|
@@ -9994,9 +10160,9 @@ import { useRef as useRef13 } from "react";
|
|
|
9994
10160
|
import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
|
|
9995
10161
|
import { useHover as useHover2 } from "@react-aria/interactions";
|
|
9996
10162
|
import { useTableRow } from "@react-aria/table";
|
|
9997
|
-
import { mergeProps as
|
|
10163
|
+
import { mergeProps as mergeProps5 } from "@react-aria/utils";
|
|
9998
10164
|
import { cn as cn59, useClassNames as useClassNames54, useStateProps as useStateProps4 } from "@marigold/system";
|
|
9999
|
-
import { jsx as
|
|
10165
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
10000
10166
|
var TableRow = ({ children, row }) => {
|
|
10001
10167
|
const ref = useRef13(null);
|
|
10002
10168
|
const { interactive, state, ...ctx } = useTableContext();
|
|
@@ -10026,7 +10192,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10026
10192
|
focusVisible: isFocusVisible,
|
|
10027
10193
|
active: isPressed
|
|
10028
10194
|
});
|
|
10029
|
-
return /* @__PURE__ */
|
|
10195
|
+
return /* @__PURE__ */ jsx101(
|
|
10030
10196
|
"tr",
|
|
10031
10197
|
{
|
|
10032
10198
|
ref,
|
|
@@ -10036,7 +10202,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10036
10202
|
],
|
|
10037
10203
|
classNames3 == null ? void 0 : classNames3.row
|
|
10038
10204
|
),
|
|
10039
|
-
...
|
|
10205
|
+
...mergeProps5(rowProps, focusProps, hoverProps),
|
|
10040
10206
|
...stateProps,
|
|
10041
10207
|
children
|
|
10042
10208
|
}
|
|
@@ -10051,13 +10217,13 @@ import {
|
|
|
10051
10217
|
useTableColumnHeader as useTableColumnHeader2,
|
|
10052
10218
|
useTableSelectAllCheckbox
|
|
10053
10219
|
} from "@react-aria/table";
|
|
10054
|
-
import { mergeProps as
|
|
10220
|
+
import { mergeProps as mergeProps6 } from "@react-aria/utils";
|
|
10055
10221
|
import {
|
|
10056
10222
|
cn as cn60,
|
|
10057
10223
|
width as twWidth6,
|
|
10058
10224
|
useStateProps as useStateProps5
|
|
10059
10225
|
} from "@marigold/system";
|
|
10060
|
-
import { jsx as
|
|
10226
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
10061
10227
|
var TableSelectAllCell = ({
|
|
10062
10228
|
column: column2,
|
|
10063
10229
|
width = "auto",
|
|
@@ -10079,21 +10245,21 @@ var TableSelectAllCell = ({
|
|
|
10079
10245
|
hover: isHovered,
|
|
10080
10246
|
focusVisible: isFocusVisible
|
|
10081
10247
|
});
|
|
10082
|
-
return /* @__PURE__ */
|
|
10248
|
+
return /* @__PURE__ */ jsx102(
|
|
10083
10249
|
"th",
|
|
10084
10250
|
{
|
|
10085
10251
|
ref,
|
|
10086
10252
|
className: cn60(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
|
|
10087
|
-
...
|
|
10253
|
+
...mergeProps6(columnHeaderProps, hoverProps, focusProps),
|
|
10088
10254
|
...stateProps,
|
|
10089
10255
|
align,
|
|
10090
|
-
children: /* @__PURE__ */
|
|
10256
|
+
children: /* @__PURE__ */ jsx102(_Checkbox, { ...checkboxProps })
|
|
10091
10257
|
}
|
|
10092
10258
|
);
|
|
10093
10259
|
};
|
|
10094
10260
|
|
|
10095
10261
|
// src/Table/Table.tsx
|
|
10096
|
-
import { jsx as
|
|
10262
|
+
import { jsx as jsx103, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
10097
10263
|
var Table = ({
|
|
10098
10264
|
variant,
|
|
10099
10265
|
size: size2,
|
|
@@ -10122,11 +10288,11 @@ var Table = ({
|
|
|
10122
10288
|
size: size2
|
|
10123
10289
|
});
|
|
10124
10290
|
const { collection } = state;
|
|
10125
|
-
return /* @__PURE__ */
|
|
10291
|
+
return /* @__PURE__ */ jsx103(
|
|
10126
10292
|
TableContext.Provider,
|
|
10127
10293
|
{
|
|
10128
10294
|
value: { state, interactive, classNames: classNames3, variant, size: size2 },
|
|
10129
|
-
children: /* @__PURE__ */
|
|
10295
|
+
children: /* @__PURE__ */ jsxs39(
|
|
10130
10296
|
"table",
|
|
10131
10297
|
{
|
|
10132
10298
|
ref: tableRef,
|
|
@@ -10138,7 +10304,7 @@ var Table = ({
|
|
|
10138
10304
|
),
|
|
10139
10305
|
...gridProps,
|
|
10140
10306
|
children: [
|
|
10141
|
-
/* @__PURE__ */
|
|
10307
|
+
/* @__PURE__ */ jsx103(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx103(
|
|
10142
10308
|
TableHeaderRow,
|
|
10143
10309
|
{
|
|
10144
10310
|
item: headerRow,
|
|
@@ -10146,7 +10312,7 @@ var Table = ({
|
|
|
10146
10312
|
children: [...collection.getChildren(headerRow.key)].map(
|
|
10147
10313
|
(column2) => {
|
|
10148
10314
|
var _a, _b, _c, _d, _e;
|
|
10149
|
-
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10315
|
+
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(
|
|
10150
10316
|
TableSelectAllCell,
|
|
10151
10317
|
{
|
|
10152
10318
|
width: (_b = column2.props) == null ? void 0 : _b.width,
|
|
@@ -10154,7 +10320,7 @@ var Table = ({
|
|
|
10154
10320
|
align: (_c = column2.props) == null ? void 0 : _c.align
|
|
10155
10321
|
},
|
|
10156
10322
|
column2.key
|
|
10157
|
-
) : /* @__PURE__ */
|
|
10323
|
+
) : /* @__PURE__ */ jsx103(
|
|
10158
10324
|
TableColumnHeader,
|
|
10159
10325
|
{
|
|
10160
10326
|
width: (_d = column2.props) == null ? void 0 : _d.width,
|
|
@@ -10168,12 +10334,12 @@ var Table = ({
|
|
|
10168
10334
|
},
|
|
10169
10335
|
headerRow.key
|
|
10170
10336
|
)) }),
|
|
10171
|
-
/* @__PURE__ */
|
|
10337
|
+
/* @__PURE__ */ jsxs39(TableBody, { className: classNames3.body, emptyState, children: [
|
|
10172
10338
|
...collection.rows.map(
|
|
10173
|
-
(row) => row.type === "item" && /* @__PURE__ */
|
|
10339
|
+
(row) => row.type === "item" && /* @__PURE__ */ jsx103(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
|
|
10174
10340
|
var _a, _b;
|
|
10175
10341
|
const currentColumn = collection.columns[index2];
|
|
10176
|
-
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10342
|
+
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx103(
|
|
10177
10343
|
TableCell,
|
|
10178
10344
|
{
|
|
10179
10345
|
align: (_b = currentColumn.props) == null ? void 0 : _b.align,
|
|
@@ -10208,7 +10374,7 @@ import {
|
|
|
10208
10374
|
textStyle,
|
|
10209
10375
|
useClassNames as useClassNames56
|
|
10210
10376
|
} from "@marigold/system";
|
|
10211
|
-
import { jsx as
|
|
10377
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
10212
10378
|
var _Text = ({
|
|
10213
10379
|
variant,
|
|
10214
10380
|
size: size2,
|
|
@@ -10229,7 +10395,7 @@ var _Text = ({
|
|
|
10229
10395
|
});
|
|
10230
10396
|
const Component2 = props.slot ? Text2 : as;
|
|
10231
10397
|
const elementType = props.slot ? { elementType: as } : {};
|
|
10232
|
-
return /* @__PURE__ */
|
|
10398
|
+
return /* @__PURE__ */ jsx104(
|
|
10233
10399
|
Component2,
|
|
10234
10400
|
{
|
|
10235
10401
|
...props,
|
|
@@ -10251,11 +10417,11 @@ var _Text = ({
|
|
|
10251
10417
|
};
|
|
10252
10418
|
|
|
10253
10419
|
// src/TextArea/TextArea.tsx
|
|
10254
|
-
import { forwardRef as
|
|
10420
|
+
import { forwardRef as forwardRef30 } from "react";
|
|
10255
10421
|
import { TextArea, TextField } from "react-aria-components";
|
|
10256
10422
|
import { useClassNames as useClassNames57 } from "@marigold/system";
|
|
10257
|
-
import { jsx as
|
|
10258
|
-
var _TextArea =
|
|
10423
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10424
|
+
var _TextArea = forwardRef30(
|
|
10259
10425
|
({
|
|
10260
10426
|
variant,
|
|
10261
10427
|
size: size2,
|
|
@@ -10274,15 +10440,15 @@ var _TextArea = forwardRef29(
|
|
|
10274
10440
|
isRequired: required,
|
|
10275
10441
|
...rest
|
|
10276
10442
|
};
|
|
10277
|
-
return /* @__PURE__ */
|
|
10443
|
+
return /* @__PURE__ */ jsx105(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx105(TextArea, { className: classNames3, ref, rows }) });
|
|
10278
10444
|
}
|
|
10279
10445
|
);
|
|
10280
10446
|
|
|
10281
10447
|
// src/TextField/TextField.tsx
|
|
10282
|
-
import { forwardRef as
|
|
10448
|
+
import { forwardRef as forwardRef31 } from "react";
|
|
10283
10449
|
import { TextField as TextField2 } from "react-aria-components";
|
|
10284
|
-
import { jsx as
|
|
10285
|
-
var _TextField =
|
|
10450
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
10451
|
+
var _TextField = forwardRef31(
|
|
10286
10452
|
({ required, disabled, readOnly, error, ...rest }, ref) => {
|
|
10287
10453
|
const props = {
|
|
10288
10454
|
isDisabled: disabled,
|
|
@@ -10291,13 +10457,13 @@ var _TextField = forwardRef30(
|
|
|
10291
10457
|
isRequired: required,
|
|
10292
10458
|
...rest
|
|
10293
10459
|
};
|
|
10294
|
-
return /* @__PURE__ */
|
|
10460
|
+
return /* @__PURE__ */ jsx106(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx106(_Input, { ref }) });
|
|
10295
10461
|
}
|
|
10296
10462
|
);
|
|
10297
10463
|
|
|
10298
10464
|
// src/Tiles/Tiles.tsx
|
|
10299
10465
|
import { cn as cn63, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
|
|
10300
|
-
import { jsx as
|
|
10466
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
10301
10467
|
var Tiles = ({
|
|
10302
10468
|
space = 0,
|
|
10303
10469
|
stretch = false,
|
|
@@ -10310,7 +10476,7 @@ var Tiles = ({
|
|
|
10310
10476
|
if (stretch) {
|
|
10311
10477
|
column2 = `minmax(${column2}, 1fr)`;
|
|
10312
10478
|
}
|
|
10313
|
-
return /* @__PURE__ */
|
|
10479
|
+
return /* @__PURE__ */ jsx107(
|
|
10314
10480
|
"div",
|
|
10315
10481
|
{
|
|
10316
10482
|
...props,
|
|
@@ -10332,7 +10498,7 @@ import { cn as cn64, useClassNames as useClassNames58 } from "@marigold/system";
|
|
|
10332
10498
|
|
|
10333
10499
|
// src/Tooltip/TooltipTrigger.tsx
|
|
10334
10500
|
import { TooltipTrigger } from "react-aria-components";
|
|
10335
|
-
import { jsx as
|
|
10501
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
10336
10502
|
var _TooltipTrigger = ({
|
|
10337
10503
|
delay = 1e3,
|
|
10338
10504
|
children,
|
|
@@ -10346,11 +10512,11 @@ var _TooltipTrigger = ({
|
|
|
10346
10512
|
isOpen: open,
|
|
10347
10513
|
delay
|
|
10348
10514
|
};
|
|
10349
|
-
return /* @__PURE__ */
|
|
10515
|
+
return /* @__PURE__ */ jsx108(TooltipTrigger, { ...props, children });
|
|
10350
10516
|
};
|
|
10351
10517
|
|
|
10352
10518
|
// src/Tooltip/Tooltip.tsx
|
|
10353
|
-
import { jsx as
|
|
10519
|
+
import { jsx as jsx109, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
10354
10520
|
var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
10355
10521
|
const props = {
|
|
10356
10522
|
...rest,
|
|
@@ -10358,14 +10524,14 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
|
10358
10524
|
};
|
|
10359
10525
|
const classNames3 = useClassNames58({ component: "Tooltip", variant, size: size2 });
|
|
10360
10526
|
const portal = usePortalContainer();
|
|
10361
|
-
return /* @__PURE__ */
|
|
10527
|
+
return /* @__PURE__ */ jsxs40(
|
|
10362
10528
|
Tooltip,
|
|
10363
10529
|
{
|
|
10364
10530
|
...props,
|
|
10365
10531
|
className: cn64("group/tooltip", classNames3.container),
|
|
10366
10532
|
UNSTABLE_portalContainer: portal,
|
|
10367
10533
|
children: [
|
|
10368
|
-
/* @__PURE__ */
|
|
10534
|
+
/* @__PURE__ */ jsx109(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx109("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx109("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
10369
10535
|
children
|
|
10370
10536
|
]
|
|
10371
10537
|
}
|
|
@@ -10380,7 +10546,7 @@ import { cn as cn65, useClassNames as useClassNames60 } from "@marigold/system";
|
|
|
10380
10546
|
// src/TagGroup/TagGroup.tsx
|
|
10381
10547
|
import { TagGroup, TagList } from "react-aria-components";
|
|
10382
10548
|
import { useClassNames as useClassNames59 } from "@marigold/system";
|
|
10383
|
-
import { jsx as
|
|
10549
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
10384
10550
|
var _TagGroup = ({
|
|
10385
10551
|
width,
|
|
10386
10552
|
items,
|
|
@@ -10391,7 +10557,7 @@ var _TagGroup = ({
|
|
|
10391
10557
|
...rest
|
|
10392
10558
|
}) => {
|
|
10393
10559
|
const classNames3 = useClassNames59({ component: "Tag", variant, size: size2 });
|
|
10394
|
-
return /* @__PURE__ */
|
|
10560
|
+
return /* @__PURE__ */ jsx110(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx110(
|
|
10395
10561
|
TagList,
|
|
10396
10562
|
{
|
|
10397
10563
|
items,
|
|
@@ -10403,9 +10569,9 @@ var _TagGroup = ({
|
|
|
10403
10569
|
};
|
|
10404
10570
|
|
|
10405
10571
|
// src/TagGroup/Tag.tsx
|
|
10406
|
-
import { Fragment as Fragment11, jsx as
|
|
10572
|
+
import { Fragment as Fragment11, jsx as jsx111, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
10407
10573
|
var CloseButton2 = ({ className }) => {
|
|
10408
|
-
return /* @__PURE__ */
|
|
10574
|
+
return /* @__PURE__ */ jsx111(Button7, { slot: "remove", className, children: /* @__PURE__ */ jsx111("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx111("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" }) }) });
|
|
10409
10575
|
};
|
|
10410
10576
|
var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
10411
10577
|
let textValue = typeof children === "string" ? children : void 0;
|
|
@@ -10414,15 +10580,15 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
|
10414
10580
|
isDisabled: disabled,
|
|
10415
10581
|
...rest
|
|
10416
10582
|
};
|
|
10417
|
-
return /* @__PURE__ */
|
|
10583
|
+
return /* @__PURE__ */ jsx111(
|
|
10418
10584
|
Tag,
|
|
10419
10585
|
{
|
|
10420
10586
|
textValue,
|
|
10421
10587
|
...props,
|
|
10422
10588
|
className: cn65("data-selection-mode:cursor-pointer", classNames3.tag),
|
|
10423
|
-
children: ({ allowsRemoving }) => /* @__PURE__ */
|
|
10589
|
+
children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs41(Fragment11, { children: [
|
|
10424
10590
|
children,
|
|
10425
|
-
allowsRemoving && /* @__PURE__ */
|
|
10591
|
+
allowsRemoving && /* @__PURE__ */ jsx111(
|
|
10426
10592
|
CloseButton2,
|
|
10427
10593
|
{
|
|
10428
10594
|
className: cn65("flex items-center", classNames3.closeButton)
|
|
@@ -10458,7 +10624,7 @@ var intlMessages2 = {
|
|
|
10458
10624
|
};
|
|
10459
10625
|
|
|
10460
10626
|
// src/XLoader/BaseLoader.tsx
|
|
10461
|
-
import { jsx as
|
|
10627
|
+
import { jsx as jsx112, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
10462
10628
|
var BaseLoader = ({
|
|
10463
10629
|
variant,
|
|
10464
10630
|
size: size2,
|
|
@@ -10468,7 +10634,7 @@ var BaseLoader = ({
|
|
|
10468
10634
|
}) => {
|
|
10469
10635
|
const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
|
|
10470
10636
|
const className = useClassNames61({ component: "XLoader", variant, size: size2 });
|
|
10471
|
-
return /* @__PURE__ */
|
|
10637
|
+
return /* @__PURE__ */ jsxs42(
|
|
10472
10638
|
ProgressBar2,
|
|
10473
10639
|
{
|
|
10474
10640
|
className: className.container,
|
|
@@ -10476,7 +10642,7 @@ var BaseLoader = ({
|
|
|
10476
10642
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
10477
10643
|
...props,
|
|
10478
10644
|
children: [
|
|
10479
|
-
/* @__PURE__ */
|
|
10645
|
+
/* @__PURE__ */ jsxs42(
|
|
10480
10646
|
"svg",
|
|
10481
10647
|
{
|
|
10482
10648
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10484,13 +10650,13 @@ var BaseLoader = ({
|
|
|
10484
10650
|
fill: "currentColor",
|
|
10485
10651
|
className: className.loader,
|
|
10486
10652
|
children: [
|
|
10487
|
-
/* @__PURE__ */
|
|
10488
|
-
/* @__PURE__ */
|
|
10653
|
+
/* @__PURE__ */ jsx112("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
|
|
10654
|
+
/* @__PURE__ */ jsx112(
|
|
10489
10655
|
"path",
|
|
10490
10656
|
{
|
|
10491
10657
|
id: "XMLID_5_",
|
|
10492
10658
|
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",
|
|
10493
|
-
children: /* @__PURE__ */
|
|
10659
|
+
children: /* @__PURE__ */ jsx112(
|
|
10494
10660
|
"animate",
|
|
10495
10661
|
{
|
|
10496
10662
|
attributeName: "opacity",
|
|
@@ -10503,12 +10669,12 @@ var BaseLoader = ({
|
|
|
10503
10669
|
)
|
|
10504
10670
|
}
|
|
10505
10671
|
),
|
|
10506
|
-
/* @__PURE__ */
|
|
10672
|
+
/* @__PURE__ */ jsx112(
|
|
10507
10673
|
"path",
|
|
10508
10674
|
{
|
|
10509
10675
|
id: "XMLID_18_",
|
|
10510
10676
|
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",
|
|
10511
|
-
children: /* @__PURE__ */
|
|
10677
|
+
children: /* @__PURE__ */ jsx112(
|
|
10512
10678
|
"animate",
|
|
10513
10679
|
{
|
|
10514
10680
|
attributeName: "opacity",
|
|
@@ -10521,12 +10687,12 @@ var BaseLoader = ({
|
|
|
10521
10687
|
)
|
|
10522
10688
|
}
|
|
10523
10689
|
),
|
|
10524
|
-
/* @__PURE__ */
|
|
10690
|
+
/* @__PURE__ */ jsx112(
|
|
10525
10691
|
"path",
|
|
10526
10692
|
{
|
|
10527
10693
|
id: "XMLID_19_",
|
|
10528
10694
|
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",
|
|
10529
|
-
children: /* @__PURE__ */
|
|
10695
|
+
children: /* @__PURE__ */ jsx112(
|
|
10530
10696
|
"animate",
|
|
10531
10697
|
{
|
|
10532
10698
|
attributeName: "opacity",
|
|
@@ -10539,12 +10705,12 @@ var BaseLoader = ({
|
|
|
10539
10705
|
)
|
|
10540
10706
|
}
|
|
10541
10707
|
),
|
|
10542
|
-
/* @__PURE__ */
|
|
10708
|
+
/* @__PURE__ */ jsx112(
|
|
10543
10709
|
"path",
|
|
10544
10710
|
{
|
|
10545
10711
|
id: "XMLID_20_",
|
|
10546
10712
|
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",
|
|
10547
|
-
children: /* @__PURE__ */
|
|
10713
|
+
children: /* @__PURE__ */ jsx112(
|
|
10548
10714
|
"animate",
|
|
10549
10715
|
{
|
|
10550
10716
|
attributeName: "opacity",
|
|
@@ -10557,12 +10723,12 @@ var BaseLoader = ({
|
|
|
10557
10723
|
)
|
|
10558
10724
|
}
|
|
10559
10725
|
),
|
|
10560
|
-
/* @__PURE__ */
|
|
10726
|
+
/* @__PURE__ */ jsx112(
|
|
10561
10727
|
"path",
|
|
10562
10728
|
{
|
|
10563
10729
|
id: "XMLID_21_",
|
|
10564
10730
|
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",
|
|
10565
|
-
children: /* @__PURE__ */
|
|
10731
|
+
children: /* @__PURE__ */ jsx112(
|
|
10566
10732
|
"animate",
|
|
10567
10733
|
{
|
|
10568
10734
|
attributeName: "opacity",
|
|
@@ -10575,12 +10741,12 @@ var BaseLoader = ({
|
|
|
10575
10741
|
)
|
|
10576
10742
|
}
|
|
10577
10743
|
),
|
|
10578
|
-
/* @__PURE__ */
|
|
10744
|
+
/* @__PURE__ */ jsx112(
|
|
10579
10745
|
"path",
|
|
10580
10746
|
{
|
|
10581
10747
|
id: "XMLID_22_",
|
|
10582
10748
|
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",
|
|
10583
|
-
children: /* @__PURE__ */
|
|
10749
|
+
children: /* @__PURE__ */ jsx112(
|
|
10584
10750
|
"animate",
|
|
10585
10751
|
{
|
|
10586
10752
|
attributeName: "opacity",
|
|
@@ -10593,12 +10759,12 @@ var BaseLoader = ({
|
|
|
10593
10759
|
)
|
|
10594
10760
|
}
|
|
10595
10761
|
),
|
|
10596
|
-
/* @__PURE__ */
|
|
10762
|
+
/* @__PURE__ */ jsx112(
|
|
10597
10763
|
"path",
|
|
10598
10764
|
{
|
|
10599
10765
|
id: "XMLID_23_",
|
|
10600
10766
|
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",
|
|
10601
|
-
children: /* @__PURE__ */
|
|
10767
|
+
children: /* @__PURE__ */ jsx112(
|
|
10602
10768
|
"animate",
|
|
10603
10769
|
{
|
|
10604
10770
|
attributeName: "opacity",
|
|
@@ -10611,12 +10777,12 @@ var BaseLoader = ({
|
|
|
10611
10777
|
)
|
|
10612
10778
|
}
|
|
10613
10779
|
),
|
|
10614
|
-
/* @__PURE__ */
|
|
10780
|
+
/* @__PURE__ */ jsx112(
|
|
10615
10781
|
"path",
|
|
10616
10782
|
{
|
|
10617
10783
|
id: "XMLID_24_",
|
|
10618
10784
|
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",
|
|
10619
|
-
children: /* @__PURE__ */
|
|
10785
|
+
children: /* @__PURE__ */ jsx112(
|
|
10620
10786
|
"animate",
|
|
10621
10787
|
{
|
|
10622
10788
|
attributeName: "opacity",
|
|
@@ -10629,12 +10795,12 @@ var BaseLoader = ({
|
|
|
10629
10795
|
)
|
|
10630
10796
|
}
|
|
10631
10797
|
),
|
|
10632
|
-
/* @__PURE__ */
|
|
10798
|
+
/* @__PURE__ */ jsx112(
|
|
10633
10799
|
"path",
|
|
10634
10800
|
{
|
|
10635
10801
|
id: "XMLID_25_",
|
|
10636
10802
|
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",
|
|
10637
|
-
children: /* @__PURE__ */
|
|
10803
|
+
children: /* @__PURE__ */ jsx112(
|
|
10638
10804
|
"animate",
|
|
10639
10805
|
{
|
|
10640
10806
|
attributeName: "opacity",
|
|
@@ -10647,12 +10813,12 @@ var BaseLoader = ({
|
|
|
10647
10813
|
)
|
|
10648
10814
|
}
|
|
10649
10815
|
),
|
|
10650
|
-
/* @__PURE__ */
|
|
10816
|
+
/* @__PURE__ */ jsx112(
|
|
10651
10817
|
"path",
|
|
10652
10818
|
{
|
|
10653
10819
|
id: "XMLID_26_",
|
|
10654
10820
|
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",
|
|
10655
|
-
children: /* @__PURE__ */
|
|
10821
|
+
children: /* @__PURE__ */ jsx112(
|
|
10656
10822
|
"animate",
|
|
10657
10823
|
{
|
|
10658
10824
|
attributeName: "opacity",
|
|
@@ -10665,12 +10831,12 @@ var BaseLoader = ({
|
|
|
10665
10831
|
)
|
|
10666
10832
|
}
|
|
10667
10833
|
),
|
|
10668
|
-
/* @__PURE__ */
|
|
10834
|
+
/* @__PURE__ */ jsx112(
|
|
10669
10835
|
"path",
|
|
10670
10836
|
{
|
|
10671
10837
|
id: "XMLID_27_",
|
|
10672
10838
|
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",
|
|
10673
|
-
children: /* @__PURE__ */
|
|
10839
|
+
children: /* @__PURE__ */ jsx112(
|
|
10674
10840
|
"animate",
|
|
10675
10841
|
{
|
|
10676
10842
|
attributeName: "opacity",
|
|
@@ -10686,17 +10852,17 @@ var BaseLoader = ({
|
|
|
10686
10852
|
]
|
|
10687
10853
|
}
|
|
10688
10854
|
),
|
|
10689
|
-
children ? /* @__PURE__ */
|
|
10855
|
+
children ? /* @__PURE__ */ jsx112(Label2, { className: className.label, children }) : null
|
|
10690
10856
|
]
|
|
10691
10857
|
}
|
|
10692
10858
|
);
|
|
10693
10859
|
};
|
|
10694
10860
|
|
|
10695
10861
|
// src/XLoader/XLoader.tsx
|
|
10696
|
-
import { jsx as
|
|
10862
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
10697
10863
|
var LoaderFullScreen = (props) => {
|
|
10698
10864
|
const id = useId2();
|
|
10699
|
-
return /* @__PURE__ */
|
|
10865
|
+
return /* @__PURE__ */ jsx113(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx113(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx113(Dialog3, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx113(BaseLoader, { id, ...props }) }) }) });
|
|
10700
10866
|
};
|
|
10701
10867
|
var LoaderSection = (props) => {
|
|
10702
10868
|
const className = useClassNames62({
|
|
@@ -10704,26 +10870,26 @@ var LoaderSection = (props) => {
|
|
|
10704
10870
|
variant: "modal",
|
|
10705
10871
|
className: "flex size-full items-center justify-center"
|
|
10706
10872
|
});
|
|
10707
|
-
return /* @__PURE__ */
|
|
10873
|
+
return /* @__PURE__ */ jsx113("div", { className, children: /* @__PURE__ */ jsx113(BaseLoader, { ...props }) });
|
|
10708
10874
|
};
|
|
10709
|
-
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */
|
|
10875
|
+
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx113(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx113(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx113(BaseLoader, { variant, ...props });
|
|
10710
10876
|
|
|
10711
10877
|
// src/Tabs/Tabs.tsx
|
|
10712
10878
|
import { Tabs } from "react-aria-components";
|
|
10713
10879
|
import { useClassNames as useClassNames63 } from "@marigold/system";
|
|
10714
10880
|
|
|
10715
10881
|
// src/Tabs/Context.ts
|
|
10716
|
-
import { createContext as createContext13, useContext as
|
|
10882
|
+
import { createContext as createContext13, useContext as useContext23 } from "react";
|
|
10717
10883
|
var TabContext = createContext13({});
|
|
10718
|
-
var useTabContext = () =>
|
|
10884
|
+
var useTabContext = () => useContext23(TabContext);
|
|
10719
10885
|
|
|
10720
10886
|
// src/Tabs/Tab.tsx
|
|
10721
10887
|
import { Tab } from "react-aria-components";
|
|
10722
10888
|
import { cn as cn66 } from "@marigold/system";
|
|
10723
|
-
import { jsx as
|
|
10889
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
10724
10890
|
var _Tab = (props) => {
|
|
10725
10891
|
const { classNames: classNames3 } = useTabContext();
|
|
10726
|
-
return /* @__PURE__ */
|
|
10892
|
+
return /* @__PURE__ */ jsx114(
|
|
10727
10893
|
Tab,
|
|
10728
10894
|
{
|
|
10729
10895
|
...props,
|
|
@@ -10739,10 +10905,10 @@ var _Tab = (props) => {
|
|
|
10739
10905
|
// src/Tabs/TabList.tsx
|
|
10740
10906
|
import { TabList } from "react-aria-components";
|
|
10741
10907
|
import { cn as cn67, gapSpace as gapSpace10 } from "@marigold/system";
|
|
10742
|
-
import { jsx as
|
|
10908
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
10743
10909
|
var _TabList = ({ space = 2, ...props }) => {
|
|
10744
10910
|
const { classNames: classNames3 } = useTabContext();
|
|
10745
|
-
return /* @__PURE__ */
|
|
10911
|
+
return /* @__PURE__ */ jsx115(
|
|
10746
10912
|
TabList,
|
|
10747
10913
|
{
|
|
10748
10914
|
...props,
|
|
@@ -10754,14 +10920,14 @@ var _TabList = ({ space = 2, ...props }) => {
|
|
|
10754
10920
|
|
|
10755
10921
|
// src/Tabs/TabPanel.tsx
|
|
10756
10922
|
import { TabPanel } from "react-aria-components";
|
|
10757
|
-
import { jsx as
|
|
10923
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
10758
10924
|
var _TabPanel = (props) => {
|
|
10759
10925
|
const { classNames: classNames3 } = useTabContext();
|
|
10760
|
-
return /* @__PURE__ */
|
|
10926
|
+
return /* @__PURE__ */ jsx116(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
|
|
10761
10927
|
};
|
|
10762
10928
|
|
|
10763
10929
|
// src/Tabs/Tabs.tsx
|
|
10764
|
-
import { jsx as
|
|
10930
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
10765
10931
|
var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
10766
10932
|
const props = {
|
|
10767
10933
|
isDisabled: disabled,
|
|
@@ -10772,7 +10938,7 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
|
10772
10938
|
size: size2,
|
|
10773
10939
|
variant
|
|
10774
10940
|
});
|
|
10775
|
-
return /* @__PURE__ */
|
|
10941
|
+
return /* @__PURE__ */ jsx117(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx117(Tabs, { ...props, className: classNames3.container, children: props.children }) });
|
|
10776
10942
|
};
|
|
10777
10943
|
_Tabs.List = _TabList;
|
|
10778
10944
|
_Tabs.TabPanel = _TabPanel;
|
|
@@ -10824,6 +10990,7 @@ export {
|
|
|
10824
10990
|
_Menu as Menu,
|
|
10825
10991
|
_Modal as Modal,
|
|
10826
10992
|
Multiselect,
|
|
10993
|
+
NonModal,
|
|
10827
10994
|
_NumberField as NumberField,
|
|
10828
10995
|
OverlayContainerProvider,
|
|
10829
10996
|
_Pagination as Pagination,
|