@marigold/components 11.2.3 → 11.4.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 +89 -8
- package/dist/index.d.ts +89 -8
- package/dist/index.js +518 -362
- package/dist/index.mjs +471 -302
- package/package.json +28 -16
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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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,31 +3475,31 @@ 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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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
|
|
|
3502
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.
|
|
3502
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.0_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
3503
3503
|
import * as React8 from "react";
|
|
3504
3504
|
import { useContext as useContext16, forwardRef as forwardRef19 } from "react";
|
|
3505
3505
|
|
|
@@ -4664,7 +4664,7 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
4664
4664
|
};
|
|
4665
4665
|
}
|
|
4666
4666
|
|
|
4667
|
-
// ../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@19.
|
|
4667
|
+
// ../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@19.1.0/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
|
|
4668
4668
|
import * as React7 from "react";
|
|
4669
4669
|
var isBrowser3 = typeof document !== "undefined";
|
|
4670
4670
|
var syncFallback = function syncFallback2(create) {
|
|
@@ -4673,7 +4673,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
4673
4673
|
var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
|
|
4674
4674
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
4675
4675
|
|
|
4676
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.
|
|
4676
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.0_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
4677
4677
|
var isDevelopment3 = false;
|
|
4678
4678
|
var isBrowser4 = typeof document !== "undefined";
|
|
4679
4679
|
var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
|
|
@@ -4777,7 +4777,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
4777
4777
|
});
|
|
4778
4778
|
var Emotion$1 = Emotion;
|
|
4779
4779
|
|
|
4780
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.
|
|
4780
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.0_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
4781
4781
|
import * as React9 from "react";
|
|
4782
4782
|
var import_extends2 = __toESM(require_extends());
|
|
4783
4783
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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
|
|
|
@@ -5229,12 +5229,12 @@ function autoUpdate(reference, floating, update, options2) {
|
|
|
5229
5229
|
};
|
|
5230
5230
|
}
|
|
5231
5231
|
|
|
5232
|
-
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.
|
|
5232
|
+
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.0_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
|
|
5233
5233
|
import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "react";
|
|
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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.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.1.0_react@19.1.0__react@19.1.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.1.0_react@19.1.0__react@19.1.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 = [
|
|
@@ -8730,7 +8731,7 @@ var MultiValueRemove2 = ({ innerProps }) => {
|
|
|
8730
8731
|
};
|
|
8731
8732
|
var getClassNames = (classNames3) => ({
|
|
8732
8733
|
control: () => cn41(
|
|
8733
|
-
"relative flex items-center box-border flex-wrap justify-between
|
|
8734
|
+
"relative flex items-center box-border flex-wrap justify-between ",
|
|
8734
8735
|
classNames3.container
|
|
8735
8736
|
),
|
|
8736
8737
|
container: () => "pointer-events-auto",
|
|
@@ -8747,6 +8748,7 @@ var Multiselect = ({
|
|
|
8747
8748
|
disabled,
|
|
8748
8749
|
readOnly = false,
|
|
8749
8750
|
items,
|
|
8751
|
+
selectedItems,
|
|
8750
8752
|
defaultSelectedItems,
|
|
8751
8753
|
defaultValue,
|
|
8752
8754
|
error,
|
|
@@ -8768,6 +8770,7 @@ var Multiselect = ({
|
|
|
8768
8770
|
options: items,
|
|
8769
8771
|
defaultInputValue: defaultValue,
|
|
8770
8772
|
defaultValue: defaultSelectedItems,
|
|
8773
|
+
value: selectedItems,
|
|
8771
8774
|
onInputChange: onChange2,
|
|
8772
8775
|
onChange: onSelectionChange,
|
|
8773
8776
|
...rest
|
|
@@ -8871,7 +8874,7 @@ var Multiselect = ({
|
|
|
8871
8874
|
|
|
8872
8875
|
// src/NumberField/NumberField.tsx
|
|
8873
8876
|
import { forwardRef as forwardRef21 } from "react";
|
|
8874
|
-
import { Group as Group4, NumberField } from "react-aria-components";
|
|
8877
|
+
import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
|
|
8875
8878
|
import { cn as cn43, useClassNames as useClassNames44 } from "@marigold/system";
|
|
8876
8879
|
|
|
8877
8880
|
// src/NumberField/StepButton.tsx
|
|
@@ -8944,6 +8947,7 @@ var _NumberField = forwardRef21(
|
|
|
8944
8947
|
as: NumberField,
|
|
8945
8948
|
...props,
|
|
8946
8949
|
"data-readonly": readOnly ? "true" : void 0,
|
|
8950
|
+
"data-stepper": showStepper ? "true" : void 0,
|
|
8947
8951
|
children: /* @__PURE__ */ jsxs29(Group4, { className: cn43("flex items-stretch", classNames3.group), children: [
|
|
8948
8952
|
showStepper && /* @__PURE__ */ jsx79(
|
|
8949
8953
|
_StepButton,
|
|
@@ -8953,15 +8957,13 @@ var _NumberField = forwardRef21(
|
|
|
8953
8957
|
slot: "decrement"
|
|
8954
8958
|
}
|
|
8955
8959
|
),
|
|
8956
|
-
/* @__PURE__ */ jsx79(
|
|
8957
|
-
|
|
8960
|
+
/* @__PURE__ */ jsx79(
|
|
8961
|
+
Input5,
|
|
8958
8962
|
{
|
|
8959
8963
|
ref,
|
|
8960
|
-
|
|
8961
|
-
size: size2,
|
|
8962
|
-
className: classNames3.input
|
|
8964
|
+
className: cn43("h-full flex-1 outline-none", classNames3.input)
|
|
8963
8965
|
}
|
|
8964
|
-
)
|
|
8966
|
+
),
|
|
8965
8967
|
showStepper && /* @__PURE__ */ jsx79(
|
|
8966
8968
|
_StepButton,
|
|
8967
8969
|
{
|
|
@@ -8976,14 +8978,180 @@ var _NumberField = forwardRef21(
|
|
|
8976
8978
|
}
|
|
8977
8979
|
);
|
|
8978
8980
|
|
|
8981
|
+
// src/Overlay/NonModal.tsx
|
|
8982
|
+
import { forwardRef as forwardRef22, useContext as useContext19 } from "react";
|
|
8983
|
+
import {
|
|
8984
|
+
OverlayTriggerStateContext as OverlayTriggerStateContext2,
|
|
8985
|
+
Provider as Provider2
|
|
8986
|
+
} from "react-aria-components";
|
|
8987
|
+
import {
|
|
8988
|
+
useOverlayTriggerState
|
|
8989
|
+
} from "react-stately";
|
|
8990
|
+
import { FocusScope } from "@react-aria/focus";
|
|
8991
|
+
import { DismissButton, Overlay } from "@react-aria/overlays";
|
|
8992
|
+
import { useIsSSR as useIsSSR2 } from "@react-aria/ssr";
|
|
8993
|
+
import {
|
|
8994
|
+
filterDOMProps,
|
|
8995
|
+
mergeProps,
|
|
8996
|
+
useEnterAnimation,
|
|
8997
|
+
useExitAnimation,
|
|
8998
|
+
useObjectRef,
|
|
8999
|
+
useViewportSize
|
|
9000
|
+
} from "@react-aria/utils";
|
|
9001
|
+
|
|
9002
|
+
// src/utils/useRenderProps.tsx
|
|
9003
|
+
import { useMemo as useMemo5 } from "react";
|
|
9004
|
+
function useRenderProps(props) {
|
|
9005
|
+
let {
|
|
9006
|
+
className,
|
|
9007
|
+
style,
|
|
9008
|
+
children,
|
|
9009
|
+
defaultClassName = void 0,
|
|
9010
|
+
defaultChildren = void 0,
|
|
9011
|
+
defaultStyle,
|
|
9012
|
+
values
|
|
9013
|
+
} = props;
|
|
9014
|
+
return useMemo5(() => {
|
|
9015
|
+
let computedClassName;
|
|
9016
|
+
let computedStyle;
|
|
9017
|
+
let computedChildren;
|
|
9018
|
+
if (typeof className === "function") {
|
|
9019
|
+
computedClassName = className({ ...values, defaultClassName });
|
|
9020
|
+
} else {
|
|
9021
|
+
computedClassName = className;
|
|
9022
|
+
}
|
|
9023
|
+
if (typeof style === "function") {
|
|
9024
|
+
computedStyle = style({ ...values, defaultStyle: defaultStyle || {} });
|
|
9025
|
+
} else {
|
|
9026
|
+
computedStyle = style;
|
|
9027
|
+
}
|
|
9028
|
+
if (typeof children === "function") {
|
|
9029
|
+
computedChildren = children({ ...values, defaultChildren });
|
|
9030
|
+
} else if (children == null) {
|
|
9031
|
+
computedChildren = defaultChildren;
|
|
9032
|
+
} else {
|
|
9033
|
+
computedChildren = children;
|
|
9034
|
+
}
|
|
9035
|
+
return {
|
|
9036
|
+
className: computedClassName != null ? computedClassName : defaultClassName,
|
|
9037
|
+
style: computedStyle || defaultStyle ? { ...defaultStyle, ...computedStyle } : void 0,
|
|
9038
|
+
children: computedChildren != null ? computedChildren : defaultChildren,
|
|
9039
|
+
"data-rac": ""
|
|
9040
|
+
};
|
|
9041
|
+
}, [
|
|
9042
|
+
className,
|
|
9043
|
+
style,
|
|
9044
|
+
children,
|
|
9045
|
+
defaultClassName,
|
|
9046
|
+
defaultChildren,
|
|
9047
|
+
defaultStyle,
|
|
9048
|
+
values
|
|
9049
|
+
]);
|
|
9050
|
+
}
|
|
9051
|
+
|
|
9052
|
+
// src/Overlay/useNonModal.ts
|
|
9053
|
+
import { useOverlay } from "@react-aria/overlays";
|
|
9054
|
+
var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
9055
|
+
let { overlayProps } = useOverlay(
|
|
9056
|
+
{
|
|
9057
|
+
isOpen: state.isOpen,
|
|
9058
|
+
onClose: state.close,
|
|
9059
|
+
shouldCloseOnBlur: false,
|
|
9060
|
+
isDismissable: false,
|
|
9061
|
+
isKeyboardDismissDisabled: keyboardDismissable ? false : true
|
|
9062
|
+
},
|
|
9063
|
+
nonModalRef
|
|
9064
|
+
);
|
|
9065
|
+
return {
|
|
9066
|
+
nonModalProps: overlayProps
|
|
9067
|
+
};
|
|
9068
|
+
};
|
|
9069
|
+
|
|
9070
|
+
// src/Overlay/NonModal.tsx
|
|
9071
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
9072
|
+
var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
9073
|
+
const { nonModalProps } = useNonModal(props, state);
|
|
9074
|
+
const ref = props.nonModalRef;
|
|
9075
|
+
const portalContainer = usePortalContainer();
|
|
9076
|
+
const isEntering = useEnterAnimation(ref) || props.isEntering || false;
|
|
9077
|
+
const renderProps = useRenderProps({
|
|
9078
|
+
...props,
|
|
9079
|
+
defaultClassName: "react-aria-NonModalOverlay",
|
|
9080
|
+
values: {
|
|
9081
|
+
isEntering,
|
|
9082
|
+
isExiting,
|
|
9083
|
+
state
|
|
9084
|
+
}
|
|
9085
|
+
});
|
|
9086
|
+
const viewport = useViewportSize();
|
|
9087
|
+
const style = {
|
|
9088
|
+
...renderProps.style,
|
|
9089
|
+
"--visual-viewport-height": viewport.height + "px"
|
|
9090
|
+
};
|
|
9091
|
+
const overlay = /* @__PURE__ */ jsxs30(
|
|
9092
|
+
"div",
|
|
9093
|
+
{
|
|
9094
|
+
...mergeProps(filterDOMProps(props), nonModalProps),
|
|
9095
|
+
...renderProps,
|
|
9096
|
+
tabIndex: -1,
|
|
9097
|
+
"aria-label": props["aria-label"],
|
|
9098
|
+
"aria-labelledby": props["aria-labelledby"],
|
|
9099
|
+
ref,
|
|
9100
|
+
slot: props.slot || void 0,
|
|
9101
|
+
style,
|
|
9102
|
+
"data-entering": isEntering || void 0,
|
|
9103
|
+
"data-exiting": isExiting || void 0,
|
|
9104
|
+
children: [
|
|
9105
|
+
renderProps.children,
|
|
9106
|
+
/* @__PURE__ */ jsx80(DismissButton, { onDismiss: state.close })
|
|
9107
|
+
]
|
|
9108
|
+
}
|
|
9109
|
+
);
|
|
9110
|
+
return /* @__PURE__ */ jsx80(
|
|
9111
|
+
Overlay,
|
|
9112
|
+
{
|
|
9113
|
+
isExiting,
|
|
9114
|
+
portalContainer,
|
|
9115
|
+
disableFocusManagement: true,
|
|
9116
|
+
children: /* @__PURE__ */ jsx80(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx80(Provider2, { values: [[OverlayTriggerStateContext2, state]], children: overlay }) })
|
|
9117
|
+
}
|
|
9118
|
+
);
|
|
9119
|
+
};
|
|
9120
|
+
var NonModal = forwardRef22(
|
|
9121
|
+
({ open, ...rest }, ref) => {
|
|
9122
|
+
const props = {
|
|
9123
|
+
isOpen: open,
|
|
9124
|
+
...rest
|
|
9125
|
+
};
|
|
9126
|
+
ref = useObjectRef(ref);
|
|
9127
|
+
const contextState = useContext19(OverlayTriggerStateContext2);
|
|
9128
|
+
const localState = useOverlayTriggerState(props);
|
|
9129
|
+
const state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
9130
|
+
const isExiting = useExitAnimation(ref, state.isOpen) || props.isExiting || false;
|
|
9131
|
+
const isSSR = useIsSSR2();
|
|
9132
|
+
if (state && !state.isOpen && !isExiting || isSSR) {
|
|
9133
|
+
return null;
|
|
9134
|
+
}
|
|
9135
|
+
return /* @__PURE__ */ jsx80(
|
|
9136
|
+
NonModalInner,
|
|
9137
|
+
{
|
|
9138
|
+
...props,
|
|
9139
|
+
nonModalRef: ref,
|
|
9140
|
+
state,
|
|
9141
|
+
isExiting
|
|
9142
|
+
}
|
|
9143
|
+
);
|
|
9144
|
+
}
|
|
9145
|
+
);
|
|
9146
|
+
|
|
8979
9147
|
// src/Pagination/Pagination.tsx
|
|
8980
9148
|
import { useEffect as useEffect6, useRef as useRef8, useState as useState6 } from "react";
|
|
8981
9149
|
import { cn as cn45, useClassNames as useClassNames47 } from "@marigold/system";
|
|
8982
9150
|
|
|
8983
9151
|
// src/Pagination/Ellipsis.tsx
|
|
8984
|
-
import { jsx as
|
|
9152
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
8985
9153
|
var Ellipsis = () => {
|
|
8986
|
-
return /* @__PURE__ */
|
|
9154
|
+
return /* @__PURE__ */ jsx81(
|
|
8987
9155
|
"span",
|
|
8988
9156
|
{
|
|
8989
9157
|
className: "text-text-base flex h-8 w-8 items-center justify-center",
|
|
@@ -8997,7 +9165,7 @@ var Ellipsis = () => {
|
|
|
8997
9165
|
import React12, { useEffect as useEffect4 } from "react";
|
|
8998
9166
|
import { useButton as useButton2 } from "@react-aria/button";
|
|
8999
9167
|
import { cn as cn44, useClassNames as useClassNames45 } from "@marigold/system";
|
|
9000
|
-
import { jsxs as
|
|
9168
|
+
import { jsxs as jsxs31 } from "react/jsx-runtime";
|
|
9001
9169
|
var NavigationButton = (props) => {
|
|
9002
9170
|
const ref = React12.useRef(null);
|
|
9003
9171
|
const classNames3 = useClassNames45({
|
|
@@ -9019,7 +9187,7 @@ var NavigationButton = (props) => {
|
|
|
9019
9187
|
return () => registerRef(null);
|
|
9020
9188
|
}
|
|
9021
9189
|
}, [registerRef]);
|
|
9022
|
-
return /* @__PURE__ */
|
|
9190
|
+
return /* @__PURE__ */ jsxs31(
|
|
9023
9191
|
"button",
|
|
9024
9192
|
{
|
|
9025
9193
|
ref,
|
|
@@ -9041,7 +9209,7 @@ var NavigationButton = (props) => {
|
|
|
9041
9209
|
import { useEffect as useEffect5, useRef as useRef6 } from "react";
|
|
9042
9210
|
import { useButton as useButton3 } from "@react-aria/button";
|
|
9043
9211
|
import { useClassNames as useClassNames46 } from "@marigold/system";
|
|
9044
|
-
import { jsx as
|
|
9212
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
9045
9213
|
var PageButton = (props) => {
|
|
9046
9214
|
const ref = useRef6(null);
|
|
9047
9215
|
const classNames3 = useClassNames46({
|
|
@@ -9055,7 +9223,7 @@ var PageButton = (props) => {
|
|
|
9055
9223
|
return () => registerRef(null);
|
|
9056
9224
|
}
|
|
9057
9225
|
}, [registerRef]);
|
|
9058
|
-
return /* @__PURE__ */
|
|
9226
|
+
return /* @__PURE__ */ jsx82(
|
|
9059
9227
|
"button",
|
|
9060
9228
|
{
|
|
9061
9229
|
ref,
|
|
@@ -9218,7 +9386,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
|
|
|
9218
9386
|
};
|
|
9219
9387
|
|
|
9220
9388
|
// src/Pagination/Pagination.tsx
|
|
9221
|
-
import { jsx as
|
|
9389
|
+
import { jsx as jsx83, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
9222
9390
|
var _Pagination = ({
|
|
9223
9391
|
defaultPage = 1,
|
|
9224
9392
|
page,
|
|
@@ -9267,14 +9435,14 @@ var _Pagination = ({
|
|
|
9267
9435
|
}, [currentPage, setFocusedItem]);
|
|
9268
9436
|
const isFirstPage = currentPage === 1;
|
|
9269
9437
|
const isLastPage = currentPage === totalPages || totalPages === 0;
|
|
9270
|
-
return /* @__PURE__ */
|
|
9438
|
+
return /* @__PURE__ */ jsxs32(
|
|
9271
9439
|
"nav",
|
|
9272
9440
|
{
|
|
9273
9441
|
className: "flex items-center justify-center space-x-2",
|
|
9274
9442
|
"aria-label": `Page ${currentPage} of ${totalPages}`,
|
|
9275
9443
|
...keyboardProps,
|
|
9276
9444
|
children: [
|
|
9277
|
-
/* @__PURE__ */
|
|
9445
|
+
/* @__PURE__ */ jsx83(
|
|
9278
9446
|
NavigationButton,
|
|
9279
9447
|
{
|
|
9280
9448
|
onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
|
|
@@ -9283,11 +9451,11 @@ var _Pagination = ({
|
|
|
9283
9451
|
registerRef: (ref) => registerRef(NavigationTypes.Prev, currentPage - 1, ref),
|
|
9284
9452
|
controlLabel: controlLabels == null ? void 0 : controlLabels[0],
|
|
9285
9453
|
position: "left",
|
|
9286
|
-
children: /* @__PURE__ */
|
|
9454
|
+
children: /* @__PURE__ */ jsx83(ChevronLeft, { className: cn45(classNames3.icon) })
|
|
9287
9455
|
}
|
|
9288
9456
|
),
|
|
9289
|
-
/* @__PURE__ */
|
|
9290
|
-
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */
|
|
9457
|
+
/* @__PURE__ */ jsx83("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
|
|
9458
|
+
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx83(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx83(
|
|
9291
9459
|
PageButton,
|
|
9292
9460
|
{
|
|
9293
9461
|
page: pageNumber,
|
|
@@ -9297,8 +9465,8 @@ var _Pagination = ({
|
|
|
9297
9465
|
},
|
|
9298
9466
|
pageNumber
|
|
9299
9467
|
)
|
|
9300
|
-
) : /* @__PURE__ */
|
|
9301
|
-
/* @__PURE__ */
|
|
9468
|
+
) : /* @__PURE__ */ jsx83(PageButton, { page: 1, isDisabled: true }, 1) }),
|
|
9469
|
+
/* @__PURE__ */ jsx83(
|
|
9302
9470
|
NavigationButton,
|
|
9303
9471
|
{
|
|
9304
9472
|
onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
|
|
@@ -9307,7 +9475,7 @@ var _Pagination = ({
|
|
|
9307
9475
|
registerRef: (ref) => registerRef(NavigationTypes.Next, currentPage + 1, ref),
|
|
9308
9476
|
controlLabel: controlLabels == null ? void 0 : controlLabels[1],
|
|
9309
9477
|
position: "right",
|
|
9310
|
-
children: /* @__PURE__ */
|
|
9478
|
+
children: /* @__PURE__ */ jsx83(ChevronRight, { className: cn45(classNames3.icon) })
|
|
9311
9479
|
}
|
|
9312
9480
|
)
|
|
9313
9481
|
]
|
|
@@ -9317,22 +9485,22 @@ var _Pagination = ({
|
|
|
9317
9485
|
|
|
9318
9486
|
// src/Radio/Radio.tsx
|
|
9319
9487
|
import {
|
|
9320
|
-
forwardRef as
|
|
9488
|
+
forwardRef as forwardRef23
|
|
9321
9489
|
} from "react";
|
|
9322
9490
|
import { Radio } from "react-aria-components";
|
|
9323
9491
|
import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
|
|
9324
9492
|
|
|
9325
9493
|
// src/Radio/Context.ts
|
|
9326
|
-
import { createContext as createContext10, useContext as
|
|
9494
|
+
import { createContext as createContext10, useContext as useContext20 } from "react";
|
|
9327
9495
|
var RadioGroupContext = createContext10(
|
|
9328
9496
|
null
|
|
9329
9497
|
);
|
|
9330
|
-
var useRadioGroupContext = () =>
|
|
9498
|
+
var useRadioGroupContext = () => useContext20(RadioGroupContext);
|
|
9331
9499
|
|
|
9332
9500
|
// src/Radio/RadioGroup.tsx
|
|
9333
9501
|
import { RadioGroup } from "react-aria-components";
|
|
9334
9502
|
import { cn as cn46, useClassNames as useClassNames48 } from "@marigold/system";
|
|
9335
|
-
import { jsx as
|
|
9503
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
9336
9504
|
var _RadioGroup = ({
|
|
9337
9505
|
variant,
|
|
9338
9506
|
size: size2,
|
|
@@ -9356,7 +9524,7 @@ var _RadioGroup = ({
|
|
|
9356
9524
|
isInvalid: error,
|
|
9357
9525
|
...rest
|
|
9358
9526
|
};
|
|
9359
|
-
return /* @__PURE__ */
|
|
9527
|
+
return /* @__PURE__ */ jsx84(
|
|
9360
9528
|
FieldBase,
|
|
9361
9529
|
{
|
|
9362
9530
|
as: RadioGroup,
|
|
@@ -9367,7 +9535,7 @@ var _RadioGroup = ({
|
|
|
9367
9535
|
variant,
|
|
9368
9536
|
size: size2,
|
|
9369
9537
|
...props,
|
|
9370
|
-
children: /* @__PURE__ */
|
|
9538
|
+
children: /* @__PURE__ */ jsx84(
|
|
9371
9539
|
"div",
|
|
9372
9540
|
{
|
|
9373
9541
|
role: "presentation",
|
|
@@ -9378,7 +9546,7 @@ var _RadioGroup = ({
|
|
|
9378
9546
|
"flex items-start",
|
|
9379
9547
|
orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
|
|
9380
9548
|
),
|
|
9381
|
-
children: /* @__PURE__ */
|
|
9549
|
+
children: /* @__PURE__ */ jsx84(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
|
|
9382
9550
|
}
|
|
9383
9551
|
)
|
|
9384
9552
|
}
|
|
@@ -9386,9 +9554,9 @@ var _RadioGroup = ({
|
|
|
9386
9554
|
};
|
|
9387
9555
|
|
|
9388
9556
|
// src/Radio/Radio.tsx
|
|
9389
|
-
import { Fragment as Fragment9, jsx as
|
|
9390
|
-
var Dot = () => /* @__PURE__ */
|
|
9391
|
-
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */
|
|
9557
|
+
import { Fragment as Fragment9, jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
9558
|
+
var Dot = () => /* @__PURE__ */ jsx85("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx85("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
|
|
9559
|
+
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx85(
|
|
9392
9560
|
"div",
|
|
9393
9561
|
{
|
|
9394
9562
|
className: cn47(
|
|
@@ -9397,10 +9565,10 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx84(
|
|
|
9397
9565
|
),
|
|
9398
9566
|
"aria-hidden": "true",
|
|
9399
9567
|
...props,
|
|
9400
|
-
children: checked ? /* @__PURE__ */
|
|
9568
|
+
children: checked ? /* @__PURE__ */ jsx85(Dot, {}) : null
|
|
9401
9569
|
}
|
|
9402
9570
|
);
|
|
9403
|
-
var _Radio =
|
|
9571
|
+
var _Radio = forwardRef23(
|
|
9404
9572
|
({ value, disabled, width, children, ...props }, ref) => {
|
|
9405
9573
|
const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
|
|
9406
9574
|
const classNames3 = useClassNames49({
|
|
@@ -9408,7 +9576,7 @@ var _Radio = forwardRef22(
|
|
|
9408
9576
|
variant: variant || props.variant,
|
|
9409
9577
|
size: size2 || props.size
|
|
9410
9578
|
});
|
|
9411
|
-
return /* @__PURE__ */
|
|
9579
|
+
return /* @__PURE__ */ jsx85(
|
|
9412
9580
|
Radio,
|
|
9413
9581
|
{
|
|
9414
9582
|
ref,
|
|
@@ -9421,8 +9589,8 @@ var _Radio = forwardRef22(
|
|
|
9421
9589
|
value,
|
|
9422
9590
|
isDisabled: disabled,
|
|
9423
9591
|
...props,
|
|
9424
|
-
children: ({ isSelected }) => /* @__PURE__ */
|
|
9425
|
-
/* @__PURE__ */
|
|
9592
|
+
children: ({ isSelected }) => /* @__PURE__ */ jsxs33(Fragment9, { children: [
|
|
9593
|
+
/* @__PURE__ */ jsx85(
|
|
9426
9594
|
Icon3,
|
|
9427
9595
|
{
|
|
9428
9596
|
checked: isSelected,
|
|
@@ -9432,7 +9600,7 @@ var _Radio = forwardRef22(
|
|
|
9432
9600
|
)
|
|
9433
9601
|
}
|
|
9434
9602
|
),
|
|
9435
|
-
/* @__PURE__ */
|
|
9603
|
+
/* @__PURE__ */ jsx85("div", { className: classNames3.label, children })
|
|
9436
9604
|
] })
|
|
9437
9605
|
}
|
|
9438
9606
|
);
|
|
@@ -9441,10 +9609,10 @@ var _Radio = forwardRef22(
|
|
|
9441
9609
|
_Radio.Group = _RadioGroup;
|
|
9442
9610
|
|
|
9443
9611
|
// src/SearchField/SearchField.tsx
|
|
9444
|
-
import { forwardRef as
|
|
9612
|
+
import { forwardRef as forwardRef24 } from "react";
|
|
9445
9613
|
import { SearchField } from "react-aria-components";
|
|
9446
|
-
import { jsx as
|
|
9447
|
-
var _SearchField =
|
|
9614
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
9615
|
+
var _SearchField = forwardRef24(
|
|
9448
9616
|
({ disabled, required, readOnly, error, action, ...rest }, ref) => {
|
|
9449
9617
|
const props = {
|
|
9450
9618
|
...rest,
|
|
@@ -9453,7 +9621,7 @@ var _SearchField = forwardRef23(
|
|
|
9453
9621
|
isReadOnly: readOnly,
|
|
9454
9622
|
isInvalid: error
|
|
9455
9623
|
};
|
|
9456
|
-
return /* @__PURE__ */
|
|
9624
|
+
return /* @__PURE__ */ jsx86(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx86(
|
|
9457
9625
|
SearchInput,
|
|
9458
9626
|
{
|
|
9459
9627
|
ref,
|
|
@@ -9464,11 +9632,11 @@ var _SearchField = forwardRef23(
|
|
|
9464
9632
|
);
|
|
9465
9633
|
|
|
9466
9634
|
// src/Select/Select.tsx
|
|
9467
|
-
import { forwardRef as
|
|
9635
|
+
import { forwardRef as forwardRef25 } from "react";
|
|
9468
9636
|
import { Select as Select2, SelectValue } from "react-aria-components";
|
|
9469
9637
|
import { cn as cn48, useClassNames as useClassNames50 } from "@marigold/system";
|
|
9470
|
-
import { jsx as
|
|
9471
|
-
var _Select =
|
|
9638
|
+
import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
9639
|
+
var _Select = forwardRef25(
|
|
9472
9640
|
({
|
|
9473
9641
|
disabled,
|
|
9474
9642
|
required,
|
|
@@ -9489,8 +9657,8 @@ var _Select = forwardRef24(
|
|
|
9489
9657
|
...rest
|
|
9490
9658
|
};
|
|
9491
9659
|
const classNames3 = useClassNames50({ component: "Select", variant, size: size2 });
|
|
9492
|
-
return /* @__PURE__ */
|
|
9493
|
-
/* @__PURE__ */
|
|
9660
|
+
return /* @__PURE__ */ jsxs34(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
|
|
9661
|
+
/* @__PURE__ */ jsxs34(
|
|
9494
9662
|
IconButton,
|
|
9495
9663
|
{
|
|
9496
9664
|
className: cn48(
|
|
@@ -9498,12 +9666,12 @@ var _Select = forwardRef24(
|
|
|
9498
9666
|
classNames3.select
|
|
9499
9667
|
),
|
|
9500
9668
|
children: [
|
|
9501
|
-
/* @__PURE__ */
|
|
9502
|
-
/* @__PURE__ */
|
|
9669
|
+
/* @__PURE__ */ jsx87(SelectValue, { className: "[&>[slot=description]]:hidden" }),
|
|
9670
|
+
/* @__PURE__ */ jsx87(ChevronDown, { className: cn48("size-4", classNames3.icon) })
|
|
9503
9671
|
]
|
|
9504
9672
|
}
|
|
9505
9673
|
),
|
|
9506
|
-
/* @__PURE__ */
|
|
9674
|
+
/* @__PURE__ */ jsx87(_Popover, { children: /* @__PURE__ */ jsx87(_ListBox, { items, children: props.children }) })
|
|
9507
9675
|
] });
|
|
9508
9676
|
}
|
|
9509
9677
|
);
|
|
@@ -9512,36 +9680,36 @@ _Select.Section = _ListBox.Section;
|
|
|
9512
9680
|
|
|
9513
9681
|
// src/SelectList/SelectList.tsx
|
|
9514
9682
|
import {
|
|
9515
|
-
forwardRef as
|
|
9683
|
+
forwardRef as forwardRef27
|
|
9516
9684
|
} from "react";
|
|
9517
9685
|
import { GridList as SelectList } from "react-aria-components";
|
|
9518
9686
|
import { cn as cn50, useClassNames as useClassNames51 } from "@marigold/system";
|
|
9519
9687
|
|
|
9520
9688
|
// src/SelectList/Context.ts
|
|
9521
|
-
import { createContext as createContext11, useContext as
|
|
9689
|
+
import { createContext as createContext11, useContext as useContext21 } from "react";
|
|
9522
9690
|
var SelectListContext = createContext11(
|
|
9523
9691
|
{}
|
|
9524
9692
|
);
|
|
9525
|
-
var useSelectListContext = () =>
|
|
9693
|
+
var useSelectListContext = () => useContext21(SelectListContext);
|
|
9526
9694
|
|
|
9527
9695
|
// src/SelectList/SelectListItem.tsx
|
|
9528
|
-
import { forwardRef as
|
|
9696
|
+
import { forwardRef as forwardRef26 } from "react";
|
|
9529
9697
|
import { GridListItem as SelectListItem } from "react-aria-components";
|
|
9530
9698
|
import { cn as cn49 } from "@marigold/system";
|
|
9531
|
-
import { jsx as
|
|
9532
|
-
var _SelectListItem =
|
|
9699
|
+
import { jsx as jsx88, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
9700
|
+
var _SelectListItem = forwardRef26(
|
|
9533
9701
|
({ children, ...props }, ref) => {
|
|
9534
9702
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9535
9703
|
const { classNames: classNames3 } = useSelectListContext();
|
|
9536
|
-
return /* @__PURE__ */
|
|
9704
|
+
return /* @__PURE__ */ jsx88(
|
|
9537
9705
|
SelectListItem,
|
|
9538
9706
|
{
|
|
9539
9707
|
textValue,
|
|
9540
9708
|
...props,
|
|
9541
9709
|
className: cn49("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.option),
|
|
9542
9710
|
ref,
|
|
9543
|
-
children: ({ selectionMode }) => /* @__PURE__ */
|
|
9544
|
-
selectionMode === "multiple" && /* @__PURE__ */
|
|
9711
|
+
children: ({ selectionMode }) => /* @__PURE__ */ jsxs35("div", { className: "flex gap-2", children: [
|
|
9712
|
+
selectionMode === "multiple" && /* @__PURE__ */ jsx88(_Checkbox, { slot: "selection" }),
|
|
9545
9713
|
children
|
|
9546
9714
|
] })
|
|
9547
9715
|
}
|
|
@@ -9550,15 +9718,15 @@ var _SelectListItem = forwardRef25(
|
|
|
9550
9718
|
);
|
|
9551
9719
|
|
|
9552
9720
|
// src/SelectList/SelectList.tsx
|
|
9553
|
-
import { jsx as
|
|
9554
|
-
var _SelectList =
|
|
9721
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
9722
|
+
var _SelectList = forwardRef27(
|
|
9555
9723
|
({ onChange: onChange2, ...rest }, ref) => {
|
|
9556
9724
|
const classNames3 = useClassNames51({ component: "ListBox" });
|
|
9557
9725
|
const props = {
|
|
9558
9726
|
onSelectionChange: onChange2,
|
|
9559
9727
|
...rest
|
|
9560
9728
|
};
|
|
9561
|
-
return /* @__PURE__ */
|
|
9729
|
+
return /* @__PURE__ */ jsx89(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx89("div", { className: classNames3.container, children: /* @__PURE__ */ jsx89(
|
|
9562
9730
|
SelectList,
|
|
9563
9731
|
{
|
|
9564
9732
|
...props,
|
|
@@ -9577,13 +9745,13 @@ _SelectList.Item = _SelectListItem;
|
|
|
9577
9745
|
|
|
9578
9746
|
// src/Scrollable/Scrollable.tsx
|
|
9579
9747
|
import { cn as cn51, createVar as createVar8, width as twWidth2 } from "@marigold/system";
|
|
9580
|
-
import { jsx as
|
|
9748
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
9581
9749
|
var Scrollable = ({
|
|
9582
9750
|
children,
|
|
9583
9751
|
width = "full",
|
|
9584
9752
|
height,
|
|
9585
9753
|
...props
|
|
9586
|
-
}) => /* @__PURE__ */
|
|
9754
|
+
}) => /* @__PURE__ */ jsx90(
|
|
9587
9755
|
"div",
|
|
9588
9756
|
{
|
|
9589
9757
|
...props,
|
|
@@ -9594,7 +9762,7 @@ var Scrollable = ({
|
|
|
9594
9762
|
);
|
|
9595
9763
|
|
|
9596
9764
|
// src/Slider/Slider.tsx
|
|
9597
|
-
import { forwardRef as
|
|
9765
|
+
import { forwardRef as forwardRef28 } from "react";
|
|
9598
9766
|
import {
|
|
9599
9767
|
Slider,
|
|
9600
9768
|
SliderOutput,
|
|
@@ -9606,8 +9774,8 @@ import {
|
|
|
9606
9774
|
width as twWidth3,
|
|
9607
9775
|
useClassNames as useClassNames52
|
|
9608
9776
|
} from "@marigold/system";
|
|
9609
|
-
import { Fragment as Fragment10, jsx as
|
|
9610
|
-
var _Slider =
|
|
9777
|
+
import { Fragment as Fragment10, jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
9778
|
+
var _Slider = forwardRef28(
|
|
9611
9779
|
({
|
|
9612
9780
|
thumbLabels,
|
|
9613
9781
|
variant,
|
|
@@ -9626,7 +9794,7 @@ var _Slider = forwardRef27(
|
|
|
9626
9794
|
isDisabled: disabled,
|
|
9627
9795
|
...rest
|
|
9628
9796
|
};
|
|
9629
|
-
return /* @__PURE__ */
|
|
9797
|
+
return /* @__PURE__ */ jsxs36(
|
|
9630
9798
|
FieldBase,
|
|
9631
9799
|
{
|
|
9632
9800
|
as: Slider,
|
|
@@ -9638,14 +9806,14 @@ var _Slider = forwardRef27(
|
|
|
9638
9806
|
ref,
|
|
9639
9807
|
...props,
|
|
9640
9808
|
children: [
|
|
9641
|
-
/* @__PURE__ */
|
|
9642
|
-
/* @__PURE__ */
|
|
9643
|
-
/* @__PURE__ */
|
|
9809
|
+
/* @__PURE__ */ jsx91(_Label, { children: props.children && props.children || label && label }),
|
|
9810
|
+
/* @__PURE__ */ jsx91(SliderOutput, { className: cn52("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
|
|
9811
|
+
/* @__PURE__ */ jsx91(
|
|
9644
9812
|
SliderTrack,
|
|
9645
9813
|
{
|
|
9646
9814
|
className: cn52("relative col-span-2 h-2 w-full", classNames3.track),
|
|
9647
|
-
children: ({ state }) => /* @__PURE__ */
|
|
9648
|
-
/* @__PURE__ */
|
|
9815
|
+
children: ({ state }) => /* @__PURE__ */ jsxs36(Fragment10, { children: [
|
|
9816
|
+
/* @__PURE__ */ jsx91(
|
|
9649
9817
|
"div",
|
|
9650
9818
|
{
|
|
9651
9819
|
className: cn52(
|
|
@@ -9654,7 +9822,7 @@ var _Slider = forwardRef27(
|
|
|
9654
9822
|
)
|
|
9655
9823
|
}
|
|
9656
9824
|
),
|
|
9657
|
-
/* @__PURE__ */
|
|
9825
|
+
/* @__PURE__ */ jsx91(
|
|
9658
9826
|
"div",
|
|
9659
9827
|
{
|
|
9660
9828
|
className: cn52(
|
|
@@ -9667,7 +9835,7 @@ var _Slider = forwardRef27(
|
|
|
9667
9835
|
}
|
|
9668
9836
|
}
|
|
9669
9837
|
),
|
|
9670
|
-
state.values.map((_, i) => /* @__PURE__ */
|
|
9838
|
+
state.values.map((_, i) => /* @__PURE__ */ jsx91(
|
|
9671
9839
|
SliderThumb,
|
|
9672
9840
|
{
|
|
9673
9841
|
className: cn52("top-1/2 cursor-pointer", classNames3.thumb),
|
|
@@ -9687,12 +9855,12 @@ var _Slider = forwardRef27(
|
|
|
9687
9855
|
);
|
|
9688
9856
|
|
|
9689
9857
|
// src/Split/Split.tsx
|
|
9690
|
-
import { jsx as
|
|
9691
|
-
var Split = () => /* @__PURE__ */
|
|
9858
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
9859
|
+
var Split = () => /* @__PURE__ */ jsx92("div", { role: "separator", className: "grow" });
|
|
9692
9860
|
|
|
9693
9861
|
// src/Stack/Stack.tsx
|
|
9694
9862
|
import { alignment as alignment2, cn as cn53, gapSpace as gapSpace8 } from "@marigold/system";
|
|
9695
|
-
import { jsx as
|
|
9863
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
9696
9864
|
var Stack = ({
|
|
9697
9865
|
children,
|
|
9698
9866
|
space = 0,
|
|
@@ -9702,7 +9870,7 @@ var Stack = ({
|
|
|
9702
9870
|
...props
|
|
9703
9871
|
}) => {
|
|
9704
9872
|
var _a, _b, _c, _d;
|
|
9705
|
-
return /* @__PURE__ */
|
|
9873
|
+
return /* @__PURE__ */ jsx93(
|
|
9706
9874
|
"div",
|
|
9707
9875
|
{
|
|
9708
9876
|
className: cn53(
|
|
@@ -9719,15 +9887,15 @@ var Stack = ({
|
|
|
9719
9887
|
};
|
|
9720
9888
|
|
|
9721
9889
|
// src/Switch/Switch.tsx
|
|
9722
|
-
import { forwardRef as
|
|
9890
|
+
import { forwardRef as forwardRef29 } from "react";
|
|
9723
9891
|
import { Switch } from "react-aria-components";
|
|
9724
9892
|
import {
|
|
9725
9893
|
cn as cn54,
|
|
9726
9894
|
width as twWidth4,
|
|
9727
9895
|
useClassNames as useClassNames53
|
|
9728
9896
|
} from "@marigold/system";
|
|
9729
|
-
import { jsx as
|
|
9730
|
-
var _Switch =
|
|
9897
|
+
import { jsx as jsx94, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
9898
|
+
var _Switch = forwardRef29(
|
|
9731
9899
|
({
|
|
9732
9900
|
variant,
|
|
9733
9901
|
size: size2,
|
|
@@ -9745,7 +9913,7 @@ var _Switch = forwardRef28(
|
|
|
9745
9913
|
isSelected: selected,
|
|
9746
9914
|
...rest
|
|
9747
9915
|
};
|
|
9748
|
-
return /* @__PURE__ */
|
|
9916
|
+
return /* @__PURE__ */ jsxs37(
|
|
9749
9917
|
Switch,
|
|
9750
9918
|
{
|
|
9751
9919
|
...props,
|
|
@@ -9757,8 +9925,8 @@ var _Switch = forwardRef28(
|
|
|
9757
9925
|
classNames3.container
|
|
9758
9926
|
),
|
|
9759
9927
|
children: [
|
|
9760
|
-
/* @__PURE__ */
|
|
9761
|
-
/* @__PURE__ */
|
|
9928
|
+
/* @__PURE__ */ jsx94(_Label, { elementType: "span", children }),
|
|
9929
|
+
/* @__PURE__ */ jsx94("div", { className: "relative", children: /* @__PURE__ */ jsx94("div", { className: classNames3.track, children: /* @__PURE__ */ jsx94("div", { className: classNames3.thumb }) }) })
|
|
9762
9930
|
]
|
|
9763
9931
|
}
|
|
9764
9932
|
);
|
|
@@ -9779,13 +9947,13 @@ import {
|
|
|
9779
9947
|
import { cn as cn61, useClassNames as useClassNames55 } from "@marigold/system";
|
|
9780
9948
|
|
|
9781
9949
|
// src/Table/Context.tsx
|
|
9782
|
-
import { createContext as createContext12, useContext as
|
|
9950
|
+
import { createContext as createContext12, useContext as useContext22 } from "react";
|
|
9783
9951
|
var TableContext = createContext12({});
|
|
9784
|
-
var useTableContext = () =>
|
|
9952
|
+
var useTableContext = () => useContext22(TableContext);
|
|
9785
9953
|
|
|
9786
9954
|
// src/Table/TableBody.tsx
|
|
9787
9955
|
import { useTableRowGroup } from "@react-aria/table";
|
|
9788
|
-
import { jsx as
|
|
9956
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
9789
9957
|
var TableBody = ({
|
|
9790
9958
|
children,
|
|
9791
9959
|
className,
|
|
@@ -9794,7 +9962,7 @@ var TableBody = ({
|
|
|
9794
9962
|
const { rowGroupProps } = useTableRowGroup();
|
|
9795
9963
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9796
9964
|
if (state.collection.size === 0 && emptyState) {
|
|
9797
|
-
return /* @__PURE__ */
|
|
9965
|
+
return /* @__PURE__ */ jsx95("tbody", { className, children: /* @__PURE__ */ jsx95("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx95(
|
|
9798
9966
|
"td",
|
|
9799
9967
|
{
|
|
9800
9968
|
className: classNames3 == null ? void 0 : classNames3.cell,
|
|
@@ -9804,16 +9972,16 @@ var TableBody = ({
|
|
|
9804
9972
|
}
|
|
9805
9973
|
) }) });
|
|
9806
9974
|
}
|
|
9807
|
-
return /* @__PURE__ */
|
|
9975
|
+
return /* @__PURE__ */ jsx95("tbody", { ...rowGroupProps, className, children });
|
|
9808
9976
|
};
|
|
9809
9977
|
|
|
9810
9978
|
// src/Table/TableCell.tsx
|
|
9811
9979
|
import { useRef as useRef9 } from "react";
|
|
9812
9980
|
import { useFocusRing } from "@react-aria/focus";
|
|
9813
9981
|
import { useTableCell } from "@react-aria/table";
|
|
9814
|
-
import { mergeProps } from "@react-aria/utils";
|
|
9982
|
+
import { mergeProps as mergeProps2 } from "@react-aria/utils";
|
|
9815
9983
|
import { cn as cn55, useStateProps } from "@marigold/system";
|
|
9816
|
-
import { jsx as
|
|
9984
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
9817
9985
|
var TableCell = ({ cell, align = "left" }) => {
|
|
9818
9986
|
const ref = useRef9(null);
|
|
9819
9987
|
const { interactive, state, classNames: classNames3 } = useTableContext();
|
|
@@ -9836,12 +10004,12 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9836
10004
|
};
|
|
9837
10005
|
const { focusProps, isFocusVisible } = useFocusRing();
|
|
9838
10006
|
const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
|
|
9839
|
-
return /* @__PURE__ */
|
|
10007
|
+
return /* @__PURE__ */ jsx96(
|
|
9840
10008
|
"td",
|
|
9841
10009
|
{
|
|
9842
10010
|
ref,
|
|
9843
10011
|
className: cn55(classNames3 == null ? void 0 : classNames3.cell),
|
|
9844
|
-
...
|
|
10012
|
+
...mergeProps2(cellProps, focusProps),
|
|
9845
10013
|
...stateProps,
|
|
9846
10014
|
align,
|
|
9847
10015
|
children: cell.rendered
|
|
@@ -9853,7 +10021,7 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9853
10021
|
import { useRef as useRef10 } from "react";
|
|
9854
10022
|
import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
|
|
9855
10023
|
import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
|
|
9856
|
-
import { mergeProps as
|
|
10024
|
+
import { mergeProps as mergeProps3 } from "@react-aria/utils";
|
|
9857
10025
|
import { cn as cn56, useStateProps as useStateProps2 } from "@marigold/system";
|
|
9858
10026
|
|
|
9859
10027
|
// src/Table/utils.ts
|
|
@@ -9877,7 +10045,7 @@ var mapCheckboxProps = ({
|
|
|
9877
10045
|
};
|
|
9878
10046
|
|
|
9879
10047
|
// src/Table/TableCheckboxCell.tsx
|
|
9880
|
-
import { jsx as
|
|
10048
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9881
10049
|
var TableCheckboxCell = ({ cell }) => {
|
|
9882
10050
|
const ref = useRef10(null);
|
|
9883
10051
|
const { state, classNames: classNames3 } = useTableContext();
|
|
@@ -9894,14 +10062,14 @@ var TableCheckboxCell = ({ cell }) => {
|
|
|
9894
10062
|
);
|
|
9895
10063
|
const { focusProps, isFocusVisible } = useFocusRing2();
|
|
9896
10064
|
const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
|
|
9897
|
-
return /* @__PURE__ */
|
|
10065
|
+
return /* @__PURE__ */ jsx97(
|
|
9898
10066
|
"td",
|
|
9899
10067
|
{
|
|
9900
10068
|
ref,
|
|
9901
10069
|
className: cn56("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
|
|
9902
|
-
...
|
|
10070
|
+
...mergeProps3(gridCellProps, focusProps),
|
|
9903
10071
|
...stateProps,
|
|
9904
|
-
children: /* @__PURE__ */
|
|
10072
|
+
children: /* @__PURE__ */ jsx97(_Checkbox, { ...checkboxProps })
|
|
9905
10073
|
}
|
|
9906
10074
|
);
|
|
9907
10075
|
};
|
|
@@ -9911,9 +10079,9 @@ import { useRef as useRef11 } from "react";
|
|
|
9911
10079
|
import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
|
|
9912
10080
|
import { useHover } from "@react-aria/interactions";
|
|
9913
10081
|
import { useTableColumnHeader } from "@react-aria/table";
|
|
9914
|
-
import { mergeProps as
|
|
10082
|
+
import { mergeProps as mergeProps4 } from "@react-aria/utils";
|
|
9915
10083
|
import { cn as cn57, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
|
|
9916
|
-
import { jsx as
|
|
10084
|
+
import { jsx as jsx98, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
9917
10085
|
var TableColumnHeader = ({
|
|
9918
10086
|
column: column2,
|
|
9919
10087
|
width = "auto",
|
|
@@ -9935,18 +10103,18 @@ var TableColumnHeader = ({
|
|
|
9935
10103
|
hover: isHovered,
|
|
9936
10104
|
focusVisible: isFocusVisible
|
|
9937
10105
|
});
|
|
9938
|
-
return /* @__PURE__ */
|
|
10106
|
+
return /* @__PURE__ */ jsxs38(
|
|
9939
10107
|
"th",
|
|
9940
10108
|
{
|
|
9941
10109
|
colSpan: column2.colspan,
|
|
9942
10110
|
ref,
|
|
9943
10111
|
className: cn57("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
|
|
9944
|
-
...
|
|
10112
|
+
...mergeProps4(columnHeaderProps, hoverProps, focusProps),
|
|
9945
10113
|
...stateProps,
|
|
9946
10114
|
align,
|
|
9947
10115
|
children: [
|
|
9948
10116
|
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__ */
|
|
10117
|
+
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
10118
|
]
|
|
9951
10119
|
}
|
|
9952
10120
|
);
|
|
@@ -9955,11 +10123,11 @@ var TableColumnHeader = ({
|
|
|
9955
10123
|
// src/Table/TableHeader.tsx
|
|
9956
10124
|
import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
|
|
9957
10125
|
import { cn as cn58 } from "@marigold/system";
|
|
9958
|
-
import { jsx as
|
|
10126
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
9959
10127
|
var TableHeader = ({ stickyHeader, children }) => {
|
|
9960
10128
|
const { rowGroupProps } = useTableRowGroup2();
|
|
9961
10129
|
const { classNames: classNames3 } = useTableContext();
|
|
9962
|
-
return /* @__PURE__ */
|
|
10130
|
+
return /* @__PURE__ */ jsx99(
|
|
9963
10131
|
"thead",
|
|
9964
10132
|
{
|
|
9965
10133
|
...rowGroupProps,
|
|
@@ -9977,7 +10145,7 @@ var TableHeader = ({ stickyHeader, children }) => {
|
|
|
9977
10145
|
// src/Table/TableHeaderRow.tsx
|
|
9978
10146
|
import { useRef as useRef12 } from "react";
|
|
9979
10147
|
import { useTableHeaderRow } from "@react-aria/table";
|
|
9980
|
-
import { jsx as
|
|
10148
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
9981
10149
|
var TableHeaderRow = ({
|
|
9982
10150
|
item,
|
|
9983
10151
|
className,
|
|
@@ -9986,7 +10154,7 @@ var TableHeaderRow = ({
|
|
|
9986
10154
|
const { state } = useTableContext();
|
|
9987
10155
|
const ref = useRef12(null);
|
|
9988
10156
|
const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
|
|
9989
|
-
return /* @__PURE__ */
|
|
10157
|
+
return /* @__PURE__ */ jsx100("tr", { ...rowProps, className, ref, children });
|
|
9990
10158
|
};
|
|
9991
10159
|
|
|
9992
10160
|
// src/Table/TableRow.tsx
|
|
@@ -9994,9 +10162,9 @@ import { useRef as useRef13 } from "react";
|
|
|
9994
10162
|
import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
|
|
9995
10163
|
import { useHover as useHover2 } from "@react-aria/interactions";
|
|
9996
10164
|
import { useTableRow } from "@react-aria/table";
|
|
9997
|
-
import { mergeProps as
|
|
10165
|
+
import { mergeProps as mergeProps5 } from "@react-aria/utils";
|
|
9998
10166
|
import { cn as cn59, useClassNames as useClassNames54, useStateProps as useStateProps4 } from "@marigold/system";
|
|
9999
|
-
import { jsx as
|
|
10167
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
10000
10168
|
var TableRow = ({ children, row }) => {
|
|
10001
10169
|
const ref = useRef13(null);
|
|
10002
10170
|
const { interactive, state, ...ctx } = useTableContext();
|
|
@@ -10026,7 +10194,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10026
10194
|
focusVisible: isFocusVisible,
|
|
10027
10195
|
active: isPressed
|
|
10028
10196
|
});
|
|
10029
|
-
return /* @__PURE__ */
|
|
10197
|
+
return /* @__PURE__ */ jsx101(
|
|
10030
10198
|
"tr",
|
|
10031
10199
|
{
|
|
10032
10200
|
ref,
|
|
@@ -10036,7 +10204,7 @@ var TableRow = ({ children, row }) => {
|
|
|
10036
10204
|
],
|
|
10037
10205
|
classNames3 == null ? void 0 : classNames3.row
|
|
10038
10206
|
),
|
|
10039
|
-
...
|
|
10207
|
+
...mergeProps5(rowProps, focusProps, hoverProps),
|
|
10040
10208
|
...stateProps,
|
|
10041
10209
|
children
|
|
10042
10210
|
}
|
|
@@ -10051,13 +10219,13 @@ import {
|
|
|
10051
10219
|
useTableColumnHeader as useTableColumnHeader2,
|
|
10052
10220
|
useTableSelectAllCheckbox
|
|
10053
10221
|
} from "@react-aria/table";
|
|
10054
|
-
import { mergeProps as
|
|
10222
|
+
import { mergeProps as mergeProps6 } from "@react-aria/utils";
|
|
10055
10223
|
import {
|
|
10056
10224
|
cn as cn60,
|
|
10057
10225
|
width as twWidth6,
|
|
10058
10226
|
useStateProps as useStateProps5
|
|
10059
10227
|
} from "@marigold/system";
|
|
10060
|
-
import { jsx as
|
|
10228
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
10061
10229
|
var TableSelectAllCell = ({
|
|
10062
10230
|
column: column2,
|
|
10063
10231
|
width = "auto",
|
|
@@ -10079,21 +10247,21 @@ var TableSelectAllCell = ({
|
|
|
10079
10247
|
hover: isHovered,
|
|
10080
10248
|
focusVisible: isFocusVisible
|
|
10081
10249
|
});
|
|
10082
|
-
return /* @__PURE__ */
|
|
10250
|
+
return /* @__PURE__ */ jsx102(
|
|
10083
10251
|
"th",
|
|
10084
10252
|
{
|
|
10085
10253
|
ref,
|
|
10086
10254
|
className: cn60(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
|
|
10087
|
-
...
|
|
10255
|
+
...mergeProps6(columnHeaderProps, hoverProps, focusProps),
|
|
10088
10256
|
...stateProps,
|
|
10089
10257
|
align,
|
|
10090
|
-
children: /* @__PURE__ */
|
|
10258
|
+
children: /* @__PURE__ */ jsx102(_Checkbox, { ...checkboxProps })
|
|
10091
10259
|
}
|
|
10092
10260
|
);
|
|
10093
10261
|
};
|
|
10094
10262
|
|
|
10095
10263
|
// src/Table/Table.tsx
|
|
10096
|
-
import { jsx as
|
|
10264
|
+
import { jsx as jsx103, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
10097
10265
|
var Table = ({
|
|
10098
10266
|
variant,
|
|
10099
10267
|
size: size2,
|
|
@@ -10122,11 +10290,11 @@ var Table = ({
|
|
|
10122
10290
|
size: size2
|
|
10123
10291
|
});
|
|
10124
10292
|
const { collection } = state;
|
|
10125
|
-
return /* @__PURE__ */
|
|
10293
|
+
return /* @__PURE__ */ jsx103(
|
|
10126
10294
|
TableContext.Provider,
|
|
10127
10295
|
{
|
|
10128
10296
|
value: { state, interactive, classNames: classNames3, variant, size: size2 },
|
|
10129
|
-
children: /* @__PURE__ */
|
|
10297
|
+
children: /* @__PURE__ */ jsxs39(
|
|
10130
10298
|
"table",
|
|
10131
10299
|
{
|
|
10132
10300
|
ref: tableRef,
|
|
@@ -10138,7 +10306,7 @@ var Table = ({
|
|
|
10138
10306
|
),
|
|
10139
10307
|
...gridProps,
|
|
10140
10308
|
children: [
|
|
10141
|
-
/* @__PURE__ */
|
|
10309
|
+
/* @__PURE__ */ jsx103(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx103(
|
|
10142
10310
|
TableHeaderRow,
|
|
10143
10311
|
{
|
|
10144
10312
|
item: headerRow,
|
|
@@ -10146,7 +10314,7 @@ var Table = ({
|
|
|
10146
10314
|
children: [...collection.getChildren(headerRow.key)].map(
|
|
10147
10315
|
(column2) => {
|
|
10148
10316
|
var _a, _b, _c, _d, _e;
|
|
10149
|
-
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10317
|
+
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(
|
|
10150
10318
|
TableSelectAllCell,
|
|
10151
10319
|
{
|
|
10152
10320
|
width: (_b = column2.props) == null ? void 0 : _b.width,
|
|
@@ -10154,7 +10322,7 @@ var Table = ({
|
|
|
10154
10322
|
align: (_c = column2.props) == null ? void 0 : _c.align
|
|
10155
10323
|
},
|
|
10156
10324
|
column2.key
|
|
10157
|
-
) : /* @__PURE__ */
|
|
10325
|
+
) : /* @__PURE__ */ jsx103(
|
|
10158
10326
|
TableColumnHeader,
|
|
10159
10327
|
{
|
|
10160
10328
|
width: (_d = column2.props) == null ? void 0 : _d.width,
|
|
@@ -10168,12 +10336,12 @@ var Table = ({
|
|
|
10168
10336
|
},
|
|
10169
10337
|
headerRow.key
|
|
10170
10338
|
)) }),
|
|
10171
|
-
/* @__PURE__ */
|
|
10339
|
+
/* @__PURE__ */ jsxs39(TableBody, { className: classNames3.body, emptyState, children: [
|
|
10172
10340
|
...collection.rows.map(
|
|
10173
|
-
(row) => row.type === "item" && /* @__PURE__ */
|
|
10341
|
+
(row) => row.type === "item" && /* @__PURE__ */ jsx103(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
|
|
10174
10342
|
var _a, _b;
|
|
10175
10343
|
const currentColumn = collection.columns[index2];
|
|
10176
|
-
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10344
|
+
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx103(
|
|
10177
10345
|
TableCell,
|
|
10178
10346
|
{
|
|
10179
10347
|
align: (_b = currentColumn.props) == null ? void 0 : _b.align,
|
|
@@ -10208,7 +10376,7 @@ import {
|
|
|
10208
10376
|
textStyle,
|
|
10209
10377
|
useClassNames as useClassNames56
|
|
10210
10378
|
} from "@marigold/system";
|
|
10211
|
-
import { jsx as
|
|
10379
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
10212
10380
|
var _Text = ({
|
|
10213
10381
|
variant,
|
|
10214
10382
|
size: size2,
|
|
@@ -10229,7 +10397,7 @@ var _Text = ({
|
|
|
10229
10397
|
});
|
|
10230
10398
|
const Component2 = props.slot ? Text2 : as;
|
|
10231
10399
|
const elementType = props.slot ? { elementType: as } : {};
|
|
10232
|
-
return /* @__PURE__ */
|
|
10400
|
+
return /* @__PURE__ */ jsx104(
|
|
10233
10401
|
Component2,
|
|
10234
10402
|
{
|
|
10235
10403
|
...props,
|
|
@@ -10251,11 +10419,11 @@ var _Text = ({
|
|
|
10251
10419
|
};
|
|
10252
10420
|
|
|
10253
10421
|
// src/TextArea/TextArea.tsx
|
|
10254
|
-
import { forwardRef as
|
|
10422
|
+
import { forwardRef as forwardRef30 } from "react";
|
|
10255
10423
|
import { TextArea, TextField } from "react-aria-components";
|
|
10256
10424
|
import { useClassNames as useClassNames57 } from "@marigold/system";
|
|
10257
|
-
import { jsx as
|
|
10258
|
-
var _TextArea =
|
|
10425
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10426
|
+
var _TextArea = forwardRef30(
|
|
10259
10427
|
({
|
|
10260
10428
|
variant,
|
|
10261
10429
|
size: size2,
|
|
@@ -10274,15 +10442,15 @@ var _TextArea = forwardRef29(
|
|
|
10274
10442
|
isRequired: required,
|
|
10275
10443
|
...rest
|
|
10276
10444
|
};
|
|
10277
|
-
return /* @__PURE__ */
|
|
10445
|
+
return /* @__PURE__ */ jsx105(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx105(TextArea, { className: classNames3, ref, rows }) });
|
|
10278
10446
|
}
|
|
10279
10447
|
);
|
|
10280
10448
|
|
|
10281
10449
|
// src/TextField/TextField.tsx
|
|
10282
|
-
import { forwardRef as
|
|
10450
|
+
import { forwardRef as forwardRef31 } from "react";
|
|
10283
10451
|
import { TextField as TextField2 } from "react-aria-components";
|
|
10284
|
-
import { jsx as
|
|
10285
|
-
var _TextField =
|
|
10452
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
10453
|
+
var _TextField = forwardRef31(
|
|
10286
10454
|
({ required, disabled, readOnly, error, ...rest }, ref) => {
|
|
10287
10455
|
const props = {
|
|
10288
10456
|
isDisabled: disabled,
|
|
@@ -10291,13 +10459,13 @@ var _TextField = forwardRef30(
|
|
|
10291
10459
|
isRequired: required,
|
|
10292
10460
|
...rest
|
|
10293
10461
|
};
|
|
10294
|
-
return /* @__PURE__ */
|
|
10462
|
+
return /* @__PURE__ */ jsx106(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx106(_Input, { ref }) });
|
|
10295
10463
|
}
|
|
10296
10464
|
);
|
|
10297
10465
|
|
|
10298
10466
|
// src/Tiles/Tiles.tsx
|
|
10299
10467
|
import { cn as cn63, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
|
|
10300
|
-
import { jsx as
|
|
10468
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
10301
10469
|
var Tiles = ({
|
|
10302
10470
|
space = 0,
|
|
10303
10471
|
stretch = false,
|
|
@@ -10310,7 +10478,7 @@ var Tiles = ({
|
|
|
10310
10478
|
if (stretch) {
|
|
10311
10479
|
column2 = `minmax(${column2}, 1fr)`;
|
|
10312
10480
|
}
|
|
10313
|
-
return /* @__PURE__ */
|
|
10481
|
+
return /* @__PURE__ */ jsx107(
|
|
10314
10482
|
"div",
|
|
10315
10483
|
{
|
|
10316
10484
|
...props,
|
|
@@ -10332,7 +10500,7 @@ import { cn as cn64, useClassNames as useClassNames58 } from "@marigold/system";
|
|
|
10332
10500
|
|
|
10333
10501
|
// src/Tooltip/TooltipTrigger.tsx
|
|
10334
10502
|
import { TooltipTrigger } from "react-aria-components";
|
|
10335
|
-
import { jsx as
|
|
10503
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
10336
10504
|
var _TooltipTrigger = ({
|
|
10337
10505
|
delay = 1e3,
|
|
10338
10506
|
children,
|
|
@@ -10346,11 +10514,11 @@ var _TooltipTrigger = ({
|
|
|
10346
10514
|
isOpen: open,
|
|
10347
10515
|
delay
|
|
10348
10516
|
};
|
|
10349
|
-
return /* @__PURE__ */
|
|
10517
|
+
return /* @__PURE__ */ jsx108(TooltipTrigger, { ...props, children });
|
|
10350
10518
|
};
|
|
10351
10519
|
|
|
10352
10520
|
// src/Tooltip/Tooltip.tsx
|
|
10353
|
-
import { jsx as
|
|
10521
|
+
import { jsx as jsx109, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
10354
10522
|
var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
10355
10523
|
const props = {
|
|
10356
10524
|
...rest,
|
|
@@ -10358,14 +10526,14 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
|
10358
10526
|
};
|
|
10359
10527
|
const classNames3 = useClassNames58({ component: "Tooltip", variant, size: size2 });
|
|
10360
10528
|
const portal = usePortalContainer();
|
|
10361
|
-
return /* @__PURE__ */
|
|
10529
|
+
return /* @__PURE__ */ jsxs40(
|
|
10362
10530
|
Tooltip,
|
|
10363
10531
|
{
|
|
10364
10532
|
...props,
|
|
10365
10533
|
className: cn64("group/tooltip", classNames3.container),
|
|
10366
10534
|
UNSTABLE_portalContainer: portal,
|
|
10367
10535
|
children: [
|
|
10368
|
-
/* @__PURE__ */
|
|
10536
|
+
/* @__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
10537
|
children
|
|
10370
10538
|
]
|
|
10371
10539
|
}
|
|
@@ -10380,7 +10548,7 @@ import { cn as cn65, useClassNames as useClassNames60 } from "@marigold/system";
|
|
|
10380
10548
|
// src/TagGroup/TagGroup.tsx
|
|
10381
10549
|
import { TagGroup, TagList } from "react-aria-components";
|
|
10382
10550
|
import { useClassNames as useClassNames59 } from "@marigold/system";
|
|
10383
|
-
import { jsx as
|
|
10551
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
10384
10552
|
var _TagGroup = ({
|
|
10385
10553
|
width,
|
|
10386
10554
|
items,
|
|
@@ -10391,7 +10559,7 @@ var _TagGroup = ({
|
|
|
10391
10559
|
...rest
|
|
10392
10560
|
}) => {
|
|
10393
10561
|
const classNames3 = useClassNames59({ component: "Tag", variant, size: size2 });
|
|
10394
|
-
return /* @__PURE__ */
|
|
10562
|
+
return /* @__PURE__ */ jsx110(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx110(
|
|
10395
10563
|
TagList,
|
|
10396
10564
|
{
|
|
10397
10565
|
items,
|
|
@@ -10403,9 +10571,9 @@ var _TagGroup = ({
|
|
|
10403
10571
|
};
|
|
10404
10572
|
|
|
10405
10573
|
// src/TagGroup/Tag.tsx
|
|
10406
|
-
import { Fragment as Fragment11, jsx as
|
|
10574
|
+
import { Fragment as Fragment11, jsx as jsx111, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
10407
10575
|
var CloseButton2 = ({ className }) => {
|
|
10408
|
-
return /* @__PURE__ */
|
|
10576
|
+
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
10577
|
};
|
|
10410
10578
|
var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
10411
10579
|
let textValue = typeof children === "string" ? children : void 0;
|
|
@@ -10414,15 +10582,15 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
|
10414
10582
|
isDisabled: disabled,
|
|
10415
10583
|
...rest
|
|
10416
10584
|
};
|
|
10417
|
-
return /* @__PURE__ */
|
|
10585
|
+
return /* @__PURE__ */ jsx111(
|
|
10418
10586
|
Tag,
|
|
10419
10587
|
{
|
|
10420
10588
|
textValue,
|
|
10421
10589
|
...props,
|
|
10422
10590
|
className: cn65("data-selection-mode:cursor-pointer", classNames3.tag),
|
|
10423
|
-
children: ({ allowsRemoving }) => /* @__PURE__ */
|
|
10591
|
+
children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs41(Fragment11, { children: [
|
|
10424
10592
|
children,
|
|
10425
|
-
allowsRemoving && /* @__PURE__ */
|
|
10593
|
+
allowsRemoving && /* @__PURE__ */ jsx111(
|
|
10426
10594
|
CloseButton2,
|
|
10427
10595
|
{
|
|
10428
10596
|
className: cn65("flex items-center", classNames3.closeButton)
|
|
@@ -10458,7 +10626,7 @@ var intlMessages2 = {
|
|
|
10458
10626
|
};
|
|
10459
10627
|
|
|
10460
10628
|
// src/XLoader/BaseLoader.tsx
|
|
10461
|
-
import { jsx as
|
|
10629
|
+
import { jsx as jsx112, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
10462
10630
|
var BaseLoader = ({
|
|
10463
10631
|
variant,
|
|
10464
10632
|
size: size2,
|
|
@@ -10468,7 +10636,7 @@ var BaseLoader = ({
|
|
|
10468
10636
|
}) => {
|
|
10469
10637
|
const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
|
|
10470
10638
|
const className = useClassNames61({ component: "XLoader", variant, size: size2 });
|
|
10471
|
-
return /* @__PURE__ */
|
|
10639
|
+
return /* @__PURE__ */ jsxs42(
|
|
10472
10640
|
ProgressBar2,
|
|
10473
10641
|
{
|
|
10474
10642
|
className: className.container,
|
|
@@ -10476,7 +10644,7 @@ var BaseLoader = ({
|
|
|
10476
10644
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
10477
10645
|
...props,
|
|
10478
10646
|
children: [
|
|
10479
|
-
/* @__PURE__ */
|
|
10647
|
+
/* @__PURE__ */ jsxs42(
|
|
10480
10648
|
"svg",
|
|
10481
10649
|
{
|
|
10482
10650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10484,13 +10652,13 @@ var BaseLoader = ({
|
|
|
10484
10652
|
fill: "currentColor",
|
|
10485
10653
|
className: className.loader,
|
|
10486
10654
|
children: [
|
|
10487
|
-
/* @__PURE__ */
|
|
10488
|
-
/* @__PURE__ */
|
|
10655
|
+
/* @__PURE__ */ jsx112("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
|
|
10656
|
+
/* @__PURE__ */ jsx112(
|
|
10489
10657
|
"path",
|
|
10490
10658
|
{
|
|
10491
10659
|
id: "XMLID_5_",
|
|
10492
10660
|
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__ */
|
|
10661
|
+
children: /* @__PURE__ */ jsx112(
|
|
10494
10662
|
"animate",
|
|
10495
10663
|
{
|
|
10496
10664
|
attributeName: "opacity",
|
|
@@ -10503,12 +10671,12 @@ var BaseLoader = ({
|
|
|
10503
10671
|
)
|
|
10504
10672
|
}
|
|
10505
10673
|
),
|
|
10506
|
-
/* @__PURE__ */
|
|
10674
|
+
/* @__PURE__ */ jsx112(
|
|
10507
10675
|
"path",
|
|
10508
10676
|
{
|
|
10509
10677
|
id: "XMLID_18_",
|
|
10510
10678
|
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__ */
|
|
10679
|
+
children: /* @__PURE__ */ jsx112(
|
|
10512
10680
|
"animate",
|
|
10513
10681
|
{
|
|
10514
10682
|
attributeName: "opacity",
|
|
@@ -10521,12 +10689,12 @@ var BaseLoader = ({
|
|
|
10521
10689
|
)
|
|
10522
10690
|
}
|
|
10523
10691
|
),
|
|
10524
|
-
/* @__PURE__ */
|
|
10692
|
+
/* @__PURE__ */ jsx112(
|
|
10525
10693
|
"path",
|
|
10526
10694
|
{
|
|
10527
10695
|
id: "XMLID_19_",
|
|
10528
10696
|
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__ */
|
|
10697
|
+
children: /* @__PURE__ */ jsx112(
|
|
10530
10698
|
"animate",
|
|
10531
10699
|
{
|
|
10532
10700
|
attributeName: "opacity",
|
|
@@ -10539,12 +10707,12 @@ var BaseLoader = ({
|
|
|
10539
10707
|
)
|
|
10540
10708
|
}
|
|
10541
10709
|
),
|
|
10542
|
-
/* @__PURE__ */
|
|
10710
|
+
/* @__PURE__ */ jsx112(
|
|
10543
10711
|
"path",
|
|
10544
10712
|
{
|
|
10545
10713
|
id: "XMLID_20_",
|
|
10546
10714
|
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__ */
|
|
10715
|
+
children: /* @__PURE__ */ jsx112(
|
|
10548
10716
|
"animate",
|
|
10549
10717
|
{
|
|
10550
10718
|
attributeName: "opacity",
|
|
@@ -10557,12 +10725,12 @@ var BaseLoader = ({
|
|
|
10557
10725
|
)
|
|
10558
10726
|
}
|
|
10559
10727
|
),
|
|
10560
|
-
/* @__PURE__ */
|
|
10728
|
+
/* @__PURE__ */ jsx112(
|
|
10561
10729
|
"path",
|
|
10562
10730
|
{
|
|
10563
10731
|
id: "XMLID_21_",
|
|
10564
10732
|
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__ */
|
|
10733
|
+
children: /* @__PURE__ */ jsx112(
|
|
10566
10734
|
"animate",
|
|
10567
10735
|
{
|
|
10568
10736
|
attributeName: "opacity",
|
|
@@ -10575,12 +10743,12 @@ var BaseLoader = ({
|
|
|
10575
10743
|
)
|
|
10576
10744
|
}
|
|
10577
10745
|
),
|
|
10578
|
-
/* @__PURE__ */
|
|
10746
|
+
/* @__PURE__ */ jsx112(
|
|
10579
10747
|
"path",
|
|
10580
10748
|
{
|
|
10581
10749
|
id: "XMLID_22_",
|
|
10582
10750
|
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__ */
|
|
10751
|
+
children: /* @__PURE__ */ jsx112(
|
|
10584
10752
|
"animate",
|
|
10585
10753
|
{
|
|
10586
10754
|
attributeName: "opacity",
|
|
@@ -10593,12 +10761,12 @@ var BaseLoader = ({
|
|
|
10593
10761
|
)
|
|
10594
10762
|
}
|
|
10595
10763
|
),
|
|
10596
|
-
/* @__PURE__ */
|
|
10764
|
+
/* @__PURE__ */ jsx112(
|
|
10597
10765
|
"path",
|
|
10598
10766
|
{
|
|
10599
10767
|
id: "XMLID_23_",
|
|
10600
10768
|
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__ */
|
|
10769
|
+
children: /* @__PURE__ */ jsx112(
|
|
10602
10770
|
"animate",
|
|
10603
10771
|
{
|
|
10604
10772
|
attributeName: "opacity",
|
|
@@ -10611,12 +10779,12 @@ var BaseLoader = ({
|
|
|
10611
10779
|
)
|
|
10612
10780
|
}
|
|
10613
10781
|
),
|
|
10614
|
-
/* @__PURE__ */
|
|
10782
|
+
/* @__PURE__ */ jsx112(
|
|
10615
10783
|
"path",
|
|
10616
10784
|
{
|
|
10617
10785
|
id: "XMLID_24_",
|
|
10618
10786
|
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__ */
|
|
10787
|
+
children: /* @__PURE__ */ jsx112(
|
|
10620
10788
|
"animate",
|
|
10621
10789
|
{
|
|
10622
10790
|
attributeName: "opacity",
|
|
@@ -10629,12 +10797,12 @@ var BaseLoader = ({
|
|
|
10629
10797
|
)
|
|
10630
10798
|
}
|
|
10631
10799
|
),
|
|
10632
|
-
/* @__PURE__ */
|
|
10800
|
+
/* @__PURE__ */ jsx112(
|
|
10633
10801
|
"path",
|
|
10634
10802
|
{
|
|
10635
10803
|
id: "XMLID_25_",
|
|
10636
10804
|
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__ */
|
|
10805
|
+
children: /* @__PURE__ */ jsx112(
|
|
10638
10806
|
"animate",
|
|
10639
10807
|
{
|
|
10640
10808
|
attributeName: "opacity",
|
|
@@ -10647,12 +10815,12 @@ var BaseLoader = ({
|
|
|
10647
10815
|
)
|
|
10648
10816
|
}
|
|
10649
10817
|
),
|
|
10650
|
-
/* @__PURE__ */
|
|
10818
|
+
/* @__PURE__ */ jsx112(
|
|
10651
10819
|
"path",
|
|
10652
10820
|
{
|
|
10653
10821
|
id: "XMLID_26_",
|
|
10654
10822
|
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__ */
|
|
10823
|
+
children: /* @__PURE__ */ jsx112(
|
|
10656
10824
|
"animate",
|
|
10657
10825
|
{
|
|
10658
10826
|
attributeName: "opacity",
|
|
@@ -10665,12 +10833,12 @@ var BaseLoader = ({
|
|
|
10665
10833
|
)
|
|
10666
10834
|
}
|
|
10667
10835
|
),
|
|
10668
|
-
/* @__PURE__ */
|
|
10836
|
+
/* @__PURE__ */ jsx112(
|
|
10669
10837
|
"path",
|
|
10670
10838
|
{
|
|
10671
10839
|
id: "XMLID_27_",
|
|
10672
10840
|
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__ */
|
|
10841
|
+
children: /* @__PURE__ */ jsx112(
|
|
10674
10842
|
"animate",
|
|
10675
10843
|
{
|
|
10676
10844
|
attributeName: "opacity",
|
|
@@ -10686,17 +10854,17 @@ var BaseLoader = ({
|
|
|
10686
10854
|
]
|
|
10687
10855
|
}
|
|
10688
10856
|
),
|
|
10689
|
-
children ? /* @__PURE__ */
|
|
10857
|
+
children ? /* @__PURE__ */ jsx112(Label2, { className: className.label, children }) : null
|
|
10690
10858
|
]
|
|
10691
10859
|
}
|
|
10692
10860
|
);
|
|
10693
10861
|
};
|
|
10694
10862
|
|
|
10695
10863
|
// src/XLoader/XLoader.tsx
|
|
10696
|
-
import { jsx as
|
|
10864
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
10697
10865
|
var LoaderFullScreen = (props) => {
|
|
10698
10866
|
const id = useId2();
|
|
10699
|
-
return /* @__PURE__ */
|
|
10867
|
+
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
10868
|
};
|
|
10701
10869
|
var LoaderSection = (props) => {
|
|
10702
10870
|
const className = useClassNames62({
|
|
@@ -10704,26 +10872,26 @@ var LoaderSection = (props) => {
|
|
|
10704
10872
|
variant: "modal",
|
|
10705
10873
|
className: "flex size-full items-center justify-center"
|
|
10706
10874
|
});
|
|
10707
|
-
return /* @__PURE__ */
|
|
10875
|
+
return /* @__PURE__ */ jsx113("div", { className, children: /* @__PURE__ */ jsx113(BaseLoader, { ...props }) });
|
|
10708
10876
|
};
|
|
10709
|
-
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */
|
|
10877
|
+
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
10878
|
|
|
10711
10879
|
// src/Tabs/Tabs.tsx
|
|
10712
10880
|
import { Tabs } from "react-aria-components";
|
|
10713
10881
|
import { useClassNames as useClassNames63 } from "@marigold/system";
|
|
10714
10882
|
|
|
10715
10883
|
// src/Tabs/Context.ts
|
|
10716
|
-
import { createContext as createContext13, useContext as
|
|
10884
|
+
import { createContext as createContext13, useContext as useContext23 } from "react";
|
|
10717
10885
|
var TabContext = createContext13({});
|
|
10718
|
-
var useTabContext = () =>
|
|
10886
|
+
var useTabContext = () => useContext23(TabContext);
|
|
10719
10887
|
|
|
10720
10888
|
// src/Tabs/Tab.tsx
|
|
10721
10889
|
import { Tab } from "react-aria-components";
|
|
10722
10890
|
import { cn as cn66 } from "@marigold/system";
|
|
10723
|
-
import { jsx as
|
|
10891
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
10724
10892
|
var _Tab = (props) => {
|
|
10725
10893
|
const { classNames: classNames3 } = useTabContext();
|
|
10726
|
-
return /* @__PURE__ */
|
|
10894
|
+
return /* @__PURE__ */ jsx114(
|
|
10727
10895
|
Tab,
|
|
10728
10896
|
{
|
|
10729
10897
|
...props,
|
|
@@ -10739,10 +10907,10 @@ var _Tab = (props) => {
|
|
|
10739
10907
|
// src/Tabs/TabList.tsx
|
|
10740
10908
|
import { TabList } from "react-aria-components";
|
|
10741
10909
|
import { cn as cn67, gapSpace as gapSpace10 } from "@marigold/system";
|
|
10742
|
-
import { jsx as
|
|
10910
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
10743
10911
|
var _TabList = ({ space = 2, ...props }) => {
|
|
10744
10912
|
const { classNames: classNames3 } = useTabContext();
|
|
10745
|
-
return /* @__PURE__ */
|
|
10913
|
+
return /* @__PURE__ */ jsx115(
|
|
10746
10914
|
TabList,
|
|
10747
10915
|
{
|
|
10748
10916
|
...props,
|
|
@@ -10754,14 +10922,14 @@ var _TabList = ({ space = 2, ...props }) => {
|
|
|
10754
10922
|
|
|
10755
10923
|
// src/Tabs/TabPanel.tsx
|
|
10756
10924
|
import { TabPanel } from "react-aria-components";
|
|
10757
|
-
import { jsx as
|
|
10925
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
10758
10926
|
var _TabPanel = (props) => {
|
|
10759
10927
|
const { classNames: classNames3 } = useTabContext();
|
|
10760
|
-
return /* @__PURE__ */
|
|
10928
|
+
return /* @__PURE__ */ jsx116(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
|
|
10761
10929
|
};
|
|
10762
10930
|
|
|
10763
10931
|
// src/Tabs/Tabs.tsx
|
|
10764
|
-
import { jsx as
|
|
10932
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
10765
10933
|
var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
10766
10934
|
const props = {
|
|
10767
10935
|
isDisabled: disabled,
|
|
@@ -10772,7 +10940,7 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
|
10772
10940
|
size: size2,
|
|
10773
10941
|
variant
|
|
10774
10942
|
});
|
|
10775
|
-
return /* @__PURE__ */
|
|
10943
|
+
return /* @__PURE__ */ jsx117(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx117(Tabs, { ...props, className: classNames3.container, children: props.children }) });
|
|
10776
10944
|
};
|
|
10777
10945
|
_Tabs.List = _TabList;
|
|
10778
10946
|
_Tabs.TabPanel = _TabPanel;
|
|
@@ -10824,6 +10992,7 @@ export {
|
|
|
10824
10992
|
_Menu as Menu,
|
|
10825
10993
|
_Modal as Modal,
|
|
10826
10994
|
Multiselect,
|
|
10995
|
+
NonModal,
|
|
10827
10996
|
_NumberField as NumberField,
|
|
10828
10997
|
OverlayContainerProvider,
|
|
10829
10998
|
_Pagination as Pagination,
|