@marigold/components 11.2.2 → 11.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +87 -7
- package/dist/index.d.ts +87 -7
- package/dist/index.js +630 -433
- package/dist/index.mjs +560 -350
- package/package.json +24 -12
package/dist/index.mjs
CHANGED
|
@@ -392,9 +392,9 @@ var require_hoist_non_react_statics_cjs = __commonJS({
|
|
|
392
392
|
}
|
|
393
393
|
});
|
|
394
394
|
|
|
395
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
395
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js
|
|
396
396
|
var require_extends = __commonJS({
|
|
397
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
397
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
|
|
398
398
|
"use strict";
|
|
399
399
|
function _extends2() {
|
|
400
400
|
return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -409,9 +409,9 @@ var require_extends = __commonJS({
|
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
411
|
|
|
412
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
412
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js
|
|
413
413
|
var require_typeof = __commonJS({
|
|
414
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
414
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/typeof.js"(exports, module) {
|
|
415
415
|
"use strict";
|
|
416
416
|
function _typeof2(o) {
|
|
417
417
|
"@babel/helpers - typeof";
|
|
@@ -425,9 +425,9 @@ var require_typeof = __commonJS({
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
|
|
428
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
428
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
429
429
|
var require_toPrimitive = __commonJS({
|
|
430
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
430
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPrimitive.js"(exports, module) {
|
|
431
431
|
"use strict";
|
|
432
432
|
var _typeof2 = require_typeof()["default"];
|
|
433
433
|
function toPrimitive2(t, r) {
|
|
@@ -444,9 +444,9 @@ var require_toPrimitive = __commonJS({
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
447
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
448
448
|
var require_toPropertyKey = __commonJS({
|
|
449
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
449
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports, module) {
|
|
450
450
|
"use strict";
|
|
451
451
|
var _typeof2 = require_typeof()["default"];
|
|
452
452
|
var toPrimitive2 = require_toPrimitive();
|
|
@@ -458,9 +458,9 @@ var require_toPropertyKey = __commonJS({
|
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
|
|
461
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
461
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
462
462
|
var require_defineProperty = __commonJS({
|
|
463
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
463
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/defineProperty.js"(exports, module) {
|
|
464
464
|
"use strict";
|
|
465
465
|
var toPropertyKey2 = require_toPropertyKey();
|
|
466
466
|
function _defineProperty2(e, r, t) {
|
|
@@ -475,9 +475,9 @@ var require_defineProperty = __commonJS({
|
|
|
475
475
|
}
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
478
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
479
479
|
var require_objectSpread2 = __commonJS({
|
|
480
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
480
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectSpread2.js"(exports, module) {
|
|
481
481
|
"use strict";
|
|
482
482
|
var defineProperty = require_defineProperty();
|
|
483
483
|
function ownKeys2(e, r) {
|
|
@@ -505,9 +505,9 @@ var require_objectSpread2 = __commonJS({
|
|
|
505
505
|
}
|
|
506
506
|
});
|
|
507
507
|
|
|
508
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
508
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
509
509
|
var require_arrayWithHoles = __commonJS({
|
|
510
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
510
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js"(exports, module) {
|
|
511
511
|
"use strict";
|
|
512
512
|
function _arrayWithHoles2(r) {
|
|
513
513
|
if (Array.isArray(r)) return r;
|
|
@@ -516,9 +516,9 @@ var require_arrayWithHoles = __commonJS({
|
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
|
|
519
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
519
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
520
520
|
var require_iterableToArrayLimit = __commonJS({
|
|
521
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
521
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"(exports, module) {
|
|
522
522
|
"use strict";
|
|
523
523
|
function _iterableToArrayLimit2(r, l) {
|
|
524
524
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -545,9 +545,9 @@ var require_iterableToArrayLimit = __commonJS({
|
|
|
545
545
|
}
|
|
546
546
|
});
|
|
547
547
|
|
|
548
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
548
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
549
549
|
var require_arrayLikeToArray = __commonJS({
|
|
550
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
550
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"(exports, module) {
|
|
551
551
|
"use strict";
|
|
552
552
|
function _arrayLikeToArray2(r, a) {
|
|
553
553
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -558,9 +558,9 @@ var require_arrayLikeToArray = __commonJS({
|
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
|
|
561
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
561
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
562
562
|
var require_unsupportedIterableToArray = __commonJS({
|
|
563
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
563
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"(exports, module) {
|
|
564
564
|
"use strict";
|
|
565
565
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
566
566
|
function _unsupportedIterableToArray2(r, a) {
|
|
@@ -574,9 +574,9 @@ var require_unsupportedIterableToArray = __commonJS({
|
|
|
574
574
|
}
|
|
575
575
|
});
|
|
576
576
|
|
|
577
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
577
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
578
578
|
var require_nonIterableRest = __commonJS({
|
|
579
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
579
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableRest.js"(exports, module) {
|
|
580
580
|
"use strict";
|
|
581
581
|
function _nonIterableRest2() {
|
|
582
582
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -585,9 +585,9 @@ var require_nonIterableRest = __commonJS({
|
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
588
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
589
589
|
var require_slicedToArray = __commonJS({
|
|
590
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
590
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/slicedToArray.js"(exports, module) {
|
|
591
591
|
"use strict";
|
|
592
592
|
var arrayWithHoles = require_arrayWithHoles();
|
|
593
593
|
var iterableToArrayLimit = require_iterableToArrayLimit();
|
|
@@ -600,15 +600,15 @@ var require_slicedToArray = __commonJS({
|
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
602
|
|
|
603
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
603
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
604
604
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
605
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
605
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports, module) {
|
|
606
606
|
"use strict";
|
|
607
607
|
function _objectWithoutPropertiesLoose2(r, e) {
|
|
608
608
|
if (null == r) return {};
|
|
609
609
|
var t = {};
|
|
610
610
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
611
|
-
if (e.
|
|
611
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
612
612
|
t[n] = r[n];
|
|
613
613
|
}
|
|
614
614
|
return t;
|
|
@@ -617,17 +617,17 @@ var require_objectWithoutPropertiesLoose = __commonJS({
|
|
|
617
617
|
}
|
|
618
618
|
});
|
|
619
619
|
|
|
620
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
620
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
621
621
|
var require_objectWithoutProperties = __commonJS({
|
|
622
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
622
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(exports, module) {
|
|
623
623
|
"use strict";
|
|
624
624
|
var objectWithoutPropertiesLoose = require_objectWithoutPropertiesLoose();
|
|
625
625
|
function _objectWithoutProperties2(e, t) {
|
|
626
626
|
if (null == e) return {};
|
|
627
627
|
var o, r, i = objectWithoutPropertiesLoose(e, t);
|
|
628
628
|
if (Object.getOwnPropertySymbols) {
|
|
629
|
-
var
|
|
630
|
-
for (r = 0; r <
|
|
629
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
630
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
631
631
|
}
|
|
632
632
|
return i;
|
|
633
633
|
}
|
|
@@ -635,9 +635,9 @@ var require_objectWithoutProperties = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
638
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
639
639
|
var require_classCallCheck = __commonJS({
|
|
640
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
640
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/classCallCheck.js"(exports, module) {
|
|
641
641
|
"use strict";
|
|
642
642
|
function _classCallCheck2(a, n) {
|
|
643
643
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
@@ -646,9 +646,9 @@ var require_classCallCheck = __commonJS({
|
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
648
|
|
|
649
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
649
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js
|
|
650
650
|
var require_createClass = __commonJS({
|
|
651
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
651
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createClass.js"(exports, module) {
|
|
652
652
|
"use strict";
|
|
653
653
|
var toPropertyKey2 = require_toPropertyKey();
|
|
654
654
|
function _defineProperties2(e, r) {
|
|
@@ -666,9 +666,9 @@ var require_createClass = __commonJS({
|
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
|
|
669
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
669
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
670
670
|
var require_setPrototypeOf = __commonJS({
|
|
671
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
671
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js"(exports, module) {
|
|
672
672
|
"use strict";
|
|
673
673
|
function _setPrototypeOf2(t, e) {
|
|
674
674
|
return module.exports = _setPrototypeOf2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
@@ -679,9 +679,9 @@ var require_setPrototypeOf = __commonJS({
|
|
|
679
679
|
}
|
|
680
680
|
});
|
|
681
681
|
|
|
682
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
682
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js
|
|
683
683
|
var require_inherits = __commonJS({
|
|
684
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
684
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/inherits.js"(exports, module) {
|
|
685
685
|
"use strict";
|
|
686
686
|
var setPrototypeOf = require_setPrototypeOf();
|
|
687
687
|
function _inherits2(t, e) {
|
|
@@ -700,9 +700,9 @@ var require_inherits = __commonJS({
|
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
702
|
|
|
703
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
703
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
704
704
|
var require_getPrototypeOf = __commonJS({
|
|
705
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
705
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js"(exports, module) {
|
|
706
706
|
"use strict";
|
|
707
707
|
function _getPrototypeOf2(t) {
|
|
708
708
|
return module.exports = _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
@@ -713,9 +713,9 @@ var require_getPrototypeOf = __commonJS({
|
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
|
|
716
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
716
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
|
|
717
717
|
var require_isNativeReflectConstruct = __commonJS({
|
|
718
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
718
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"(exports, module) {
|
|
719
719
|
"use strict";
|
|
720
720
|
function _isNativeReflectConstruct2() {
|
|
721
721
|
try {
|
|
@@ -731,9 +731,9 @@ var require_isNativeReflectConstruct = __commonJS({
|
|
|
731
731
|
}
|
|
732
732
|
});
|
|
733
733
|
|
|
734
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
734
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
735
735
|
var require_assertThisInitialized = __commonJS({
|
|
736
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
736
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js"(exports, module) {
|
|
737
737
|
"use strict";
|
|
738
738
|
function _assertThisInitialized2(e) {
|
|
739
739
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -743,9 +743,9 @@ var require_assertThisInitialized = __commonJS({
|
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
745
|
|
|
746
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
746
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
747
747
|
var require_possibleConstructorReturn = __commonJS({
|
|
748
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
748
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"(exports, module) {
|
|
749
749
|
"use strict";
|
|
750
750
|
var _typeof2 = require_typeof()["default"];
|
|
751
751
|
var assertThisInitialized = require_assertThisInitialized();
|
|
@@ -758,9 +758,9 @@ var require_possibleConstructorReturn = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
761
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js
|
|
762
762
|
var require_createSuper = __commonJS({
|
|
763
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
763
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/createSuper.js"(exports, module) {
|
|
764
764
|
"use strict";
|
|
765
765
|
var getPrototypeOf = require_getPrototypeOf();
|
|
766
766
|
var isNativeReflectConstruct = require_isNativeReflectConstruct();
|
|
@@ -780,9 +780,9 @@ var require_createSuper = __commonJS({
|
|
|
780
780
|
}
|
|
781
781
|
});
|
|
782
782
|
|
|
783
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
783
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
784
784
|
var require_arrayWithoutHoles = __commonJS({
|
|
785
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
785
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"(exports, module) {
|
|
786
786
|
"use strict";
|
|
787
787
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
788
788
|
function _arrayWithoutHoles2(r) {
|
|
@@ -792,9 +792,9 @@ var require_arrayWithoutHoles = __commonJS({
|
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
794
|
|
|
795
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
795
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
796
796
|
var require_iterableToArray = __commonJS({
|
|
797
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
797
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/iterableToArray.js"(exports, module) {
|
|
798
798
|
"use strict";
|
|
799
799
|
function _iterableToArray2(r) {
|
|
800
800
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
@@ -803,9 +803,9 @@ var require_iterableToArray = __commonJS({
|
|
|
803
803
|
}
|
|
804
804
|
});
|
|
805
805
|
|
|
806
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
806
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
807
807
|
var require_nonIterableSpread = __commonJS({
|
|
808
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
808
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/nonIterableSpread.js"(exports, module) {
|
|
809
809
|
"use strict";
|
|
810
810
|
function _nonIterableSpread2() {
|
|
811
811
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
@@ -814,9 +814,9 @@ var require_nonIterableSpread = __commonJS({
|
|
|
814
814
|
}
|
|
815
815
|
});
|
|
816
816
|
|
|
817
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
817
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
818
818
|
var require_toConsumableArray = __commonJS({
|
|
819
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
819
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/toConsumableArray.js"(exports, module) {
|
|
820
820
|
"use strict";
|
|
821
821
|
var arrayWithoutHoles = require_arrayWithoutHoles();
|
|
822
822
|
var iterableToArray = require_iterableToArray();
|
|
@@ -829,9 +829,9 @@ var require_toConsumableArray = __commonJS({
|
|
|
829
829
|
}
|
|
830
830
|
});
|
|
831
831
|
|
|
832
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
832
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
|
|
833
833
|
var require_taggedTemplateLiteral = __commonJS({
|
|
834
|
-
"../../node_modules/.pnpm/@babel+runtime@7.
|
|
834
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js"(exports, module) {
|
|
835
835
|
"use strict";
|
|
836
836
|
function _taggedTemplateLiteral2(e, t) {
|
|
837
837
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
@@ -1368,7 +1368,7 @@ var OverlayContainerProvider = OverlayContainerContext.Provider;
|
|
|
1368
1368
|
var usePortalContainer = () => {
|
|
1369
1369
|
const portalContainer = useContext6(OverlayContainerContext);
|
|
1370
1370
|
const isSSR = useIsSSR();
|
|
1371
|
-
const portal = isSSR ?
|
|
1371
|
+
const portal = isSSR ? void 0 : portalContainer ? document.getElementById(portalContainer) || void 0 : document.body;
|
|
1372
1372
|
return portal;
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
@@ -2266,7 +2266,7 @@ var _DialogTrigger = ({
|
|
|
2266
2266
|
import { jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2267
2267
|
var CloseButton = ({ className }) => {
|
|
2268
2268
|
const ctx = useContext8(OverlayTriggerStateContext);
|
|
2269
|
-
return /* @__PURE__ */ jsx46(
|
|
2269
|
+
return /* @__PURE__ */ jsx46(
|
|
2270
2270
|
"button",
|
|
2271
2271
|
{
|
|
2272
2272
|
className: cn27(
|
|
@@ -2284,7 +2284,7 @@ var CloseButton = ({ className }) => {
|
|
|
2284
2284
|
}
|
|
2285
2285
|
) })
|
|
2286
2286
|
}
|
|
2287
|
-
)
|
|
2287
|
+
);
|
|
2288
2288
|
};
|
|
2289
2289
|
var _Dialog = ({
|
|
2290
2290
|
variant,
|
|
@@ -3061,36 +3061,64 @@ var icons = {
|
|
|
3061
3061
|
"svg",
|
|
3062
3062
|
{
|
|
3063
3063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3064
|
-
viewBox: "0
|
|
3064
|
+
viewBox: "0 0 24 24",
|
|
3065
3065
|
fill: "currentColor",
|
|
3066
|
-
children: /* @__PURE__ */ jsx74(
|
|
3066
|
+
children: /* @__PURE__ */ jsx74(
|
|
3067
|
+
"path",
|
|
3068
|
+
{
|
|
3069
|
+
fillRule: "evenodd",
|
|
3070
|
+
d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",
|
|
3071
|
+
clipRule: "evenodd"
|
|
3072
|
+
}
|
|
3073
|
+
)
|
|
3067
3074
|
}
|
|
3068
3075
|
),
|
|
3069
3076
|
info: () => /* @__PURE__ */ jsx74(
|
|
3070
3077
|
"svg",
|
|
3071
3078
|
{
|
|
3072
3079
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3073
|
-
viewBox: "0
|
|
3080
|
+
viewBox: "0 0 24 24",
|
|
3074
3081
|
fill: "currentColor",
|
|
3075
|
-
children: /* @__PURE__ */ jsx74(
|
|
3082
|
+
children: /* @__PURE__ */ jsx74(
|
|
3083
|
+
"path",
|
|
3084
|
+
{
|
|
3085
|
+
fillRule: "evenodd",
|
|
3086
|
+
d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z",
|
|
3087
|
+
clipRule: "evenodd"
|
|
3088
|
+
}
|
|
3089
|
+
)
|
|
3076
3090
|
}
|
|
3077
3091
|
),
|
|
3078
3092
|
warning: () => /* @__PURE__ */ jsx74(
|
|
3079
3093
|
"svg",
|
|
3080
3094
|
{
|
|
3081
3095
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3082
|
-
viewBox: "0
|
|
3096
|
+
viewBox: "0 0 24 24",
|
|
3083
3097
|
fill: "currentColor",
|
|
3084
|
-
children: /* @__PURE__ */ jsx74(
|
|
3098
|
+
children: /* @__PURE__ */ jsx74(
|
|
3099
|
+
"path",
|
|
3100
|
+
{
|
|
3101
|
+
fillRule: "evenodd",
|
|
3102
|
+
d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
|
|
3103
|
+
clipRule: "evenodd"
|
|
3104
|
+
}
|
|
3105
|
+
)
|
|
3085
3106
|
}
|
|
3086
3107
|
),
|
|
3087
3108
|
error: () => /* @__PURE__ */ jsx74(
|
|
3088
3109
|
"svg",
|
|
3089
3110
|
{
|
|
3090
3111
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3091
|
-
viewBox: "0
|
|
3112
|
+
viewBox: "0 0 24 24",
|
|
3092
3113
|
fill: "currentColor",
|
|
3093
|
-
children: /* @__PURE__ */ jsx74(
|
|
3114
|
+
children: /* @__PURE__ */ jsx74(
|
|
3115
|
+
"path",
|
|
3116
|
+
{
|
|
3117
|
+
fillRule: "evenodd",
|
|
3118
|
+
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
|
|
3119
|
+
clipRule: "evenodd"
|
|
3120
|
+
}
|
|
3121
|
+
)
|
|
3094
3122
|
}
|
|
3095
3123
|
)
|
|
3096
3124
|
};
|
|
@@ -3128,7 +3156,7 @@ var SectionMessage = ({
|
|
|
3128
3156
|
className: cn40("grid auto-rows-min", classNames3.container),
|
|
3129
3157
|
children: [
|
|
3130
3158
|
/* @__PURE__ */ jsx74("div", { className: cn40("[grid-area:icon]", classNames3.icon), children: Icon4 && /* @__PURE__ */ jsx74(Icon4, {}) }),
|
|
3131
|
-
closeButton && /* @__PURE__ */ jsx74(
|
|
3159
|
+
closeButton && /* @__PURE__ */ jsx74(
|
|
3132
3160
|
"button",
|
|
3133
3161
|
{
|
|
3134
3162
|
...buttonProps,
|
|
@@ -3145,7 +3173,7 @@ var SectionMessage = ({
|
|
|
3145
3173
|
}
|
|
3146
3174
|
) })
|
|
3147
3175
|
}
|
|
3148
|
-
)
|
|
3176
|
+
),
|
|
3149
3177
|
children
|
|
3150
3178
|
]
|
|
3151
3179
|
}
|
|
@@ -3155,16 +3183,16 @@ SectionMessage.Title = SectionMessageTitle;
|
|
|
3155
3183
|
SectionMessage.Content = SectionMessageContent;
|
|
3156
3184
|
|
|
3157
3185
|
// src/Multiselect/Multiselect.tsx
|
|
3158
|
-
import { useId } from "react";
|
|
3159
3186
|
import {
|
|
3187
|
+
Button as Button5,
|
|
3160
3188
|
ButtonContext,
|
|
3161
3189
|
FieldErrorContext as FieldErrorContext2,
|
|
3162
3190
|
InputContext,
|
|
3163
|
-
Provider
|
|
3191
|
+
Provider,
|
|
3192
|
+
Input as _Input2
|
|
3164
3193
|
} from "react-aria-components";
|
|
3165
|
-
import { Button as Button5, Input as _Input2 } from "react-aria-components";
|
|
3166
3194
|
|
|
3167
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3195
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
3168
3196
|
function _typeof(o) {
|
|
3169
3197
|
"@babel/helpers - typeof";
|
|
3170
3198
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -3174,7 +3202,7 @@ function _typeof(o) {
|
|
|
3174
3202
|
}, _typeof(o);
|
|
3175
3203
|
}
|
|
3176
3204
|
|
|
3177
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3205
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
3178
3206
|
function toPrimitive(t, r) {
|
|
3179
3207
|
if ("object" != _typeof(t) || !t) return t;
|
|
3180
3208
|
var e = t[Symbol.toPrimitive];
|
|
@@ -3186,13 +3214,13 @@ function toPrimitive(t, r) {
|
|
|
3186
3214
|
return ("string" === r ? String : Number)(t);
|
|
3187
3215
|
}
|
|
3188
3216
|
|
|
3189
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3217
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
3190
3218
|
function toPropertyKey(t) {
|
|
3191
3219
|
var i = toPrimitive(t, "string");
|
|
3192
3220
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
3193
3221
|
}
|
|
3194
3222
|
|
|
3195
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3223
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
3196
3224
|
function _defineProperty(e, r, t) {
|
|
3197
3225
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
3198
3226
|
value: t,
|
|
@@ -3202,7 +3230,7 @@ function _defineProperty(e, r, t) {
|
|
|
3202
3230
|
}) : e[r] = t, e;
|
|
3203
3231
|
}
|
|
3204
3232
|
|
|
3205
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3233
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
3206
3234
|
function ownKeys(e, r) {
|
|
3207
3235
|
var t = Object.keys(e);
|
|
3208
3236
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3225,12 +3253,12 @@ function _objectSpread2(e) {
|
|
|
3225
3253
|
return e;
|
|
3226
3254
|
}
|
|
3227
3255
|
|
|
3228
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3256
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
3229
3257
|
function _arrayWithHoles(r) {
|
|
3230
3258
|
if (Array.isArray(r)) return r;
|
|
3231
3259
|
}
|
|
3232
3260
|
|
|
3233
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3261
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
3234
3262
|
function _iterableToArrayLimit(r, l) {
|
|
3235
3263
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3236
3264
|
if (null != t) {
|
|
@@ -3253,14 +3281,14 @@ function _iterableToArrayLimit(r, l) {
|
|
|
3253
3281
|
}
|
|
3254
3282
|
}
|
|
3255
3283
|
|
|
3256
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3284
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
3257
3285
|
function _arrayLikeToArray(r, a) {
|
|
3258
3286
|
(null == a || a > r.length) && (a = r.length);
|
|
3259
3287
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3260
3288
|
return n;
|
|
3261
3289
|
}
|
|
3262
3290
|
|
|
3263
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3291
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3264
3292
|
function _unsupportedIterableToArray(r, a) {
|
|
3265
3293
|
if (r) {
|
|
3266
3294
|
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
@@ -3269,39 +3297,39 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
3269
3297
|
}
|
|
3270
3298
|
}
|
|
3271
3299
|
|
|
3272
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3300
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
3273
3301
|
function _nonIterableRest() {
|
|
3274
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.");
|
|
3275
3303
|
}
|
|
3276
3304
|
|
|
3277
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3305
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
3278
3306
|
function _slicedToArray(r, e) {
|
|
3279
3307
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
3280
3308
|
}
|
|
3281
3309
|
|
|
3282
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3310
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3283
3311
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3284
3312
|
if (null == r) return {};
|
|
3285
3313
|
var t = {};
|
|
3286
3314
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
3287
|
-
if (e.
|
|
3315
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
3288
3316
|
t[n] = r[n];
|
|
3289
3317
|
}
|
|
3290
3318
|
return t;
|
|
3291
3319
|
}
|
|
3292
3320
|
|
|
3293
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3321
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
3294
3322
|
function _objectWithoutProperties(e, t) {
|
|
3295
3323
|
if (null == e) return {};
|
|
3296
3324
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
3297
3325
|
if (Object.getOwnPropertySymbols) {
|
|
3298
|
-
var
|
|
3299
|
-
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]);
|
|
3300
3328
|
}
|
|
3301
3329
|
return i;
|
|
3302
3330
|
}
|
|
3303
3331
|
|
|
3304
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3332
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
|
|
3305
3333
|
import { useState as useState3, useCallback } from "react";
|
|
3306
3334
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
3307
3335
|
function useStateManager(_ref3) {
|
|
@@ -3348,7 +3376,7 @@ function useStateManager(_ref3) {
|
|
|
3348
3376
|
});
|
|
3349
3377
|
}
|
|
3350
3378
|
|
|
3351
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3379
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
3352
3380
|
function _extends() {
|
|
3353
3381
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3354
3382
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -3359,16 +3387,16 @@ function _extends() {
|
|
|
3359
3387
|
}, _extends.apply(null, arguments);
|
|
3360
3388
|
}
|
|
3361
3389
|
|
|
3362
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3390
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/react-select.esm.js
|
|
3363
3391
|
import * as React11 from "react";
|
|
3364
3392
|
import { forwardRef as forwardRef20, useMemo as useMemo4 } from "react";
|
|
3365
3393
|
|
|
3366
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3394
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
3367
3395
|
function _classCallCheck(a, n) {
|
|
3368
3396
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3369
3397
|
}
|
|
3370
3398
|
|
|
3371
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3399
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
3372
3400
|
function _defineProperties(e, r) {
|
|
3373
3401
|
for (var t = 0; t < r.length; t++) {
|
|
3374
3402
|
var o = r[t];
|
|
@@ -3381,14 +3409,14 @@ function _createClass(e, r, t) {
|
|
|
3381
3409
|
}), e;
|
|
3382
3410
|
}
|
|
3383
3411
|
|
|
3384
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3412
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
3385
3413
|
function _setPrototypeOf(t, e) {
|
|
3386
3414
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
3387
3415
|
return t2.__proto__ = e2, t2;
|
|
3388
3416
|
}, _setPrototypeOf(t, e);
|
|
3389
3417
|
}
|
|
3390
3418
|
|
|
3391
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3419
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
3392
3420
|
function _inherits(t, e) {
|
|
3393
3421
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
3394
3422
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -3402,14 +3430,14 @@ function _inherits(t, e) {
|
|
|
3402
3430
|
}), e && _setPrototypeOf(t, e);
|
|
3403
3431
|
}
|
|
3404
3432
|
|
|
3405
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3433
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
3406
3434
|
function _getPrototypeOf(t) {
|
|
3407
3435
|
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
3408
3436
|
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
3409
3437
|
}, _getPrototypeOf(t);
|
|
3410
3438
|
}
|
|
3411
3439
|
|
|
3412
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3440
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
3413
3441
|
function _isNativeReflectConstruct() {
|
|
3414
3442
|
try {
|
|
3415
3443
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -3421,20 +3449,20 @@ function _isNativeReflectConstruct() {
|
|
|
3421
3449
|
})();
|
|
3422
3450
|
}
|
|
3423
3451
|
|
|
3424
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3452
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
3425
3453
|
function _assertThisInitialized(e) {
|
|
3426
3454
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3427
3455
|
return e;
|
|
3428
3456
|
}
|
|
3429
3457
|
|
|
3430
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3458
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
3431
3459
|
function _possibleConstructorReturn(t, e) {
|
|
3432
3460
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
3433
3461
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
3434
3462
|
return _assertThisInitialized(t);
|
|
3435
3463
|
}
|
|
3436
3464
|
|
|
3437
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3465
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
3438
3466
|
function _createSuper(t) {
|
|
3439
3467
|
var r = _isNativeReflectConstruct();
|
|
3440
3468
|
return function() {
|
|
@@ -3447,27 +3475,27 @@ function _createSuper(t) {
|
|
|
3447
3475
|
};
|
|
3448
3476
|
}
|
|
3449
3477
|
|
|
3450
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3478
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
3451
3479
|
function _arrayWithoutHoles(r) {
|
|
3452
3480
|
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3453
3481
|
}
|
|
3454
3482
|
|
|
3455
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3483
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
3456
3484
|
function _iterableToArray(r) {
|
|
3457
3485
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3458
3486
|
}
|
|
3459
3487
|
|
|
3460
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3488
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
3461
3489
|
function _nonIterableSpread() {
|
|
3462
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.");
|
|
3463
3491
|
}
|
|
3464
3492
|
|
|
3465
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
3493
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
3466
3494
|
function _toConsumableArray(r) {
|
|
3467
3495
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3468
3496
|
}
|
|
3469
3497
|
|
|
3470
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
3498
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
3471
3499
|
import * as React10 from "react";
|
|
3472
3500
|
import { useMemo as useMemo3, Fragment as Fragment8, useRef as useRef5, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
|
|
3473
3501
|
|
|
@@ -4791,7 +4819,7 @@ function keyframes() {
|
|
|
4791
4819
|
};
|
|
4792
4820
|
}
|
|
4793
4821
|
|
|
4794
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.
|
|
4822
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
|
|
4795
4823
|
function _taggedTemplateLiteral(e, t) {
|
|
4796
4824
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
4797
4825
|
raw: {
|
|
@@ -4800,7 +4828,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
4800
4828
|
}));
|
|
4801
4829
|
}
|
|
4802
4830
|
|
|
4803
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
4831
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
4804
4832
|
import { useContext as useContext18, useRef as useRef4, useState as useState4, useMemo as useMemo2, useCallback as useCallback2, createContext as createContext9 } from "react";
|
|
4805
4833
|
import { createPortal } from "react-dom";
|
|
4806
4834
|
|
|
@@ -5206,7 +5234,7 @@ import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "re
|
|
|
5206
5234
|
var isClient = typeof document !== "undefined";
|
|
5207
5235
|
var index = isClient ? useLayoutEffect2 : useEffect2;
|
|
5208
5236
|
|
|
5209
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
5237
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5210
5238
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5211
5239
|
var noop = function noop2() {
|
|
5212
5240
|
};
|
|
@@ -6280,7 +6308,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6280
6308
|
return memoized;
|
|
6281
6309
|
}
|
|
6282
6310
|
|
|
6283
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
6311
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
6284
6312
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
6285
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).";
|
|
6286
6314
|
}
|
|
@@ -8125,7 +8153,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8125
8153
|
// ==============================
|
|
8126
8154
|
function renderInput() {
|
|
8127
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;
|
|
8128
|
-
var _this$getComponents = this.getComponents(),
|
|
8156
|
+
var _this$getComponents = this.getComponents(), Input6 = _this$getComponents.Input;
|
|
8129
8157
|
var _this$state4 = this.state, inputIsHidden = _this$state4.inputIsHidden, ariaSelection = _this$state4.ariaSelection;
|
|
8130
8158
|
var commonProps = this.commonProps;
|
|
8131
8159
|
var id = inputId || this.getElementId("input");
|
|
@@ -8163,7 +8191,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8163
8191
|
value: ""
|
|
8164
8192
|
}, ariaAttributes));
|
|
8165
8193
|
}
|
|
8166
|
-
return /* @__PURE__ */ React10.createElement(
|
|
8194
|
+
return /* @__PURE__ */ React10.createElement(Input6, _extends({}, commonProps, {
|
|
8167
8195
|
autoCapitalize: "none",
|
|
8168
8196
|
autoComplete: "off",
|
|
8169
8197
|
autoCorrect: "off",
|
|
@@ -8576,7 +8604,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8576
8604
|
}(Component);
|
|
8577
8605
|
Select.defaultProps = defaultProps;
|
|
8578
8606
|
|
|
8579
|
-
// ../../node_modules/.pnpm/react-select@5.
|
|
8607
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/react-select/dist/react-select.esm.js
|
|
8580
8608
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
8581
8609
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
8582
8610
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
|
@@ -8597,7 +8625,7 @@ var StateManagedSelect = /* @__PURE__ */ forwardRef20(function(props, ref) {
|
|
|
8597
8625
|
});
|
|
8598
8626
|
var StateManagedSelect$1 = StateManagedSelect;
|
|
8599
8627
|
|
|
8600
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8628
|
+
// ../../node_modules/.pnpm/@react-aria+label@3.7.16_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-aria/label/dist/useLabel.mjs
|
|
8601
8629
|
import { useId as $83Elw$useId, useLabels as $83Elw$useLabels } from "@react-aria/utils";
|
|
8602
8630
|
function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
8603
8631
|
let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
|
|
@@ -8622,7 +8650,7 @@ function $d191a55c9702f145$export$8467354a121f1b9f(props) {
|
|
|
8622
8650
|
};
|
|
8623
8651
|
}
|
|
8624
8652
|
|
|
8625
|
-
// ../../node_modules/.pnpm/@react-aria+label@3.7.
|
|
8653
|
+
// ../../node_modules/.pnpm/@react-aria+label@3.7.16_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-aria/label/dist/useField.mjs
|
|
8626
8654
|
import { useSlotId as $2kC82$useSlotId, mergeProps as $2kC82$mergeProps } from "@react-aria/utils";
|
|
8627
8655
|
function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
8628
8656
|
let { description, errorMessage, isInvalid, validationState } = props;
|
|
@@ -8660,6 +8688,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
|
8660
8688
|
}
|
|
8661
8689
|
|
|
8662
8690
|
// src/Multiselect/Multiselect.tsx
|
|
8691
|
+
import { useId } from "@react-aria/utils";
|
|
8663
8692
|
import { cn as cn41, useClassNames as useClassNames43 } from "@marigold/system";
|
|
8664
8693
|
import { jsx as jsx77, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
8665
8694
|
var propsToBeRemoved = [
|
|
@@ -8843,7 +8872,7 @@ var Multiselect = ({
|
|
|
8843
8872
|
|
|
8844
8873
|
// src/NumberField/NumberField.tsx
|
|
8845
8874
|
import { forwardRef as forwardRef21 } from "react";
|
|
8846
|
-
import { Group as Group4, NumberField } from "react-aria-components";
|
|
8875
|
+
import { Group as Group4, Input as Input5, NumberField } from "react-aria-components";
|
|
8847
8876
|
import { cn as cn43, useClassNames as useClassNames44 } from "@marigold/system";
|
|
8848
8877
|
|
|
8849
8878
|
// src/NumberField/StepButton.tsx
|
|
@@ -8909,34 +8938,207 @@ var _NumberField = forwardRef21(
|
|
|
8909
8938
|
isRequired: required,
|
|
8910
8939
|
...rest
|
|
8911
8940
|
};
|
|
8912
|
-
const showStepper = !hideStepper;
|
|
8913
|
-
return /* @__PURE__ */ jsx79(
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8941
|
+
const showStepper = !hideStepper && !readOnly;
|
|
8942
|
+
return /* @__PURE__ */ jsx79(
|
|
8943
|
+
FieldBase,
|
|
8944
|
+
{
|
|
8945
|
+
as: NumberField,
|
|
8946
|
+
...props,
|
|
8947
|
+
"data-readonly": readOnly ? "true" : void 0,
|
|
8948
|
+
"data-stepper": showStepper ? "true" : void 0,
|
|
8949
|
+
children: /* @__PURE__ */ jsxs29(Group4, { className: cn43("flex items-stretch", classNames3.group), children: [
|
|
8950
|
+
showStepper && /* @__PURE__ */ jsx79(
|
|
8951
|
+
_StepButton,
|
|
8952
|
+
{
|
|
8953
|
+
className: classNames3.stepper,
|
|
8954
|
+
direction: "down",
|
|
8955
|
+
slot: "decrement"
|
|
8956
|
+
}
|
|
8957
|
+
),
|
|
8958
|
+
/* @__PURE__ */ jsx79(
|
|
8959
|
+
Input5,
|
|
8960
|
+
{
|
|
8961
|
+
ref,
|
|
8962
|
+
className: cn43("h-full flex-1 outline-none", classNames3.input)
|
|
8963
|
+
}
|
|
8964
|
+
),
|
|
8965
|
+
showStepper && /* @__PURE__ */ jsx79(
|
|
8966
|
+
_StepButton,
|
|
8967
|
+
{
|
|
8968
|
+
className: classNames3.stepper,
|
|
8969
|
+
direction: "up",
|
|
8970
|
+
slot: "increment"
|
|
8971
|
+
}
|
|
8972
|
+
)
|
|
8973
|
+
] })
|
|
8974
|
+
}
|
|
8975
|
+
);
|
|
8976
|
+
}
|
|
8977
|
+
);
|
|
8978
|
+
|
|
8979
|
+
// src/Overlay/NonModal.tsx
|
|
8980
|
+
import { forwardRef as forwardRef22, useContext as useContext19 } from "react";
|
|
8981
|
+
import {
|
|
8982
|
+
OverlayTriggerStateContext as OverlayTriggerStateContext2,
|
|
8983
|
+
Provider as Provider2
|
|
8984
|
+
} from "react-aria-components";
|
|
8985
|
+
import {
|
|
8986
|
+
useOverlayTriggerState
|
|
8987
|
+
} from "react-stately";
|
|
8988
|
+
import { FocusScope } from "@react-aria/focus";
|
|
8989
|
+
import { DismissButton, Overlay } from "@react-aria/overlays";
|
|
8990
|
+
import { useIsSSR as useIsSSR2 } from "@react-aria/ssr";
|
|
8991
|
+
import {
|
|
8992
|
+
filterDOMProps,
|
|
8993
|
+
mergeProps,
|
|
8994
|
+
useEnterAnimation,
|
|
8995
|
+
useExitAnimation,
|
|
8996
|
+
useObjectRef,
|
|
8997
|
+
useViewportSize
|
|
8998
|
+
} from "@react-aria/utils";
|
|
8999
|
+
|
|
9000
|
+
// src/utils/useRenderProps.tsx
|
|
9001
|
+
import { useMemo as useMemo5 } from "react";
|
|
9002
|
+
function useRenderProps(props) {
|
|
9003
|
+
let {
|
|
9004
|
+
className,
|
|
9005
|
+
style,
|
|
9006
|
+
children,
|
|
9007
|
+
defaultClassName = void 0,
|
|
9008
|
+
defaultChildren = void 0,
|
|
9009
|
+
defaultStyle,
|
|
9010
|
+
values
|
|
9011
|
+
} = props;
|
|
9012
|
+
return useMemo5(() => {
|
|
9013
|
+
let computedClassName;
|
|
9014
|
+
let computedStyle;
|
|
9015
|
+
let computedChildren;
|
|
9016
|
+
if (typeof className === "function") {
|
|
9017
|
+
computedClassName = className({ ...values, defaultClassName });
|
|
9018
|
+
} else {
|
|
9019
|
+
computedClassName = className;
|
|
9020
|
+
}
|
|
9021
|
+
if (typeof style === "function") {
|
|
9022
|
+
computedStyle = style({ ...values, defaultStyle: defaultStyle || {} });
|
|
9023
|
+
} else {
|
|
9024
|
+
computedStyle = style;
|
|
9025
|
+
}
|
|
9026
|
+
if (typeof children === "function") {
|
|
9027
|
+
computedChildren = children({ ...values, defaultChildren });
|
|
9028
|
+
} else if (children == null) {
|
|
9029
|
+
computedChildren = defaultChildren;
|
|
9030
|
+
} else {
|
|
9031
|
+
computedChildren = children;
|
|
9032
|
+
}
|
|
9033
|
+
return {
|
|
9034
|
+
className: computedClassName != null ? computedClassName : defaultClassName,
|
|
9035
|
+
style: computedStyle || defaultStyle ? { ...defaultStyle, ...computedStyle } : void 0,
|
|
9036
|
+
children: computedChildren != null ? computedChildren : defaultChildren,
|
|
9037
|
+
"data-rac": ""
|
|
9038
|
+
};
|
|
9039
|
+
}, [
|
|
9040
|
+
className,
|
|
9041
|
+
style,
|
|
9042
|
+
children,
|
|
9043
|
+
defaultClassName,
|
|
9044
|
+
defaultChildren,
|
|
9045
|
+
defaultStyle,
|
|
9046
|
+
values
|
|
9047
|
+
]);
|
|
9048
|
+
}
|
|
9049
|
+
|
|
9050
|
+
// src/Overlay/useNonModal.ts
|
|
9051
|
+
import { useOverlay } from "@react-aria/overlays";
|
|
9052
|
+
var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
9053
|
+
let { overlayProps } = useOverlay(
|
|
9054
|
+
{
|
|
9055
|
+
isOpen: state.isOpen,
|
|
9056
|
+
onClose: state.close,
|
|
9057
|
+
shouldCloseOnBlur: false,
|
|
9058
|
+
isDismissable: false,
|
|
9059
|
+
isKeyboardDismissDisabled: keyboardDismissable ? false : true
|
|
9060
|
+
},
|
|
9061
|
+
nonModalRef
|
|
9062
|
+
);
|
|
9063
|
+
return {
|
|
9064
|
+
nonModalProps: overlayProps
|
|
9065
|
+
};
|
|
9066
|
+
};
|
|
9067
|
+
|
|
9068
|
+
// src/Overlay/NonModal.tsx
|
|
9069
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
9070
|
+
var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
9071
|
+
const { nonModalProps } = useNonModal(props, state);
|
|
9072
|
+
const ref = props.nonModalRef;
|
|
9073
|
+
const portalContainer = usePortalContainer();
|
|
9074
|
+
const isEntering = useEnterAnimation(ref) || props.isEntering || false;
|
|
9075
|
+
const renderProps = useRenderProps({
|
|
9076
|
+
...props,
|
|
9077
|
+
defaultClassName: "react-aria-NonModalOverlay",
|
|
9078
|
+
values: {
|
|
9079
|
+
isEntering,
|
|
9080
|
+
isExiting,
|
|
9081
|
+
state
|
|
9082
|
+
}
|
|
9083
|
+
});
|
|
9084
|
+
const viewport = useViewportSize();
|
|
9085
|
+
const style = {
|
|
9086
|
+
...renderProps.style,
|
|
9087
|
+
"--visual-viewport-height": viewport.height + "px"
|
|
9088
|
+
};
|
|
9089
|
+
const overlay = /* @__PURE__ */ jsxs30(
|
|
9090
|
+
"div",
|
|
9091
|
+
{
|
|
9092
|
+
...mergeProps(filterDOMProps(props), nonModalProps),
|
|
9093
|
+
...renderProps,
|
|
9094
|
+
tabIndex: -1,
|
|
9095
|
+
"aria-label": props["aria-label"],
|
|
9096
|
+
"aria-labelledby": props["aria-labelledby"],
|
|
9097
|
+
ref,
|
|
9098
|
+
slot: props.slot || void 0,
|
|
9099
|
+
style,
|
|
9100
|
+
"data-entering": isEntering || void 0,
|
|
9101
|
+
"data-exiting": isExiting || void 0,
|
|
9102
|
+
children: [
|
|
9103
|
+
renderProps.children,
|
|
9104
|
+
/* @__PURE__ */ jsx80(DismissButton, { onDismiss: state.close })
|
|
9105
|
+
]
|
|
9106
|
+
}
|
|
9107
|
+
);
|
|
9108
|
+
return /* @__PURE__ */ jsx80(
|
|
9109
|
+
Overlay,
|
|
9110
|
+
{
|
|
9111
|
+
isExiting,
|
|
9112
|
+
portalContainer,
|
|
9113
|
+
disableFocusManagement: true,
|
|
9114
|
+
children: /* @__PURE__ */ jsx80(FocusScope, { restoreFocus: true, children: /* @__PURE__ */ jsx80(Provider2, { values: [[OverlayTriggerStateContext2, state]], children: overlay }) })
|
|
9115
|
+
}
|
|
9116
|
+
);
|
|
9117
|
+
};
|
|
9118
|
+
var NonModal = forwardRef22(
|
|
9119
|
+
({ open, ...rest }, ref) => {
|
|
9120
|
+
const props = {
|
|
9121
|
+
isOpen: open,
|
|
9122
|
+
...rest
|
|
9123
|
+
};
|
|
9124
|
+
ref = useObjectRef(ref);
|
|
9125
|
+
const contextState = useContext19(OverlayTriggerStateContext2);
|
|
9126
|
+
const localState = useOverlayTriggerState(props);
|
|
9127
|
+
const state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
9128
|
+
const isExiting = useExitAnimation(ref, state.isOpen) || props.isExiting || false;
|
|
9129
|
+
const isSSR = useIsSSR2();
|
|
9130
|
+
if (state && !state.isOpen && !isExiting || isSSR) {
|
|
9131
|
+
return null;
|
|
9132
|
+
}
|
|
9133
|
+
return /* @__PURE__ */ jsx80(
|
|
9134
|
+
NonModalInner,
|
|
9135
|
+
{
|
|
9136
|
+
...props,
|
|
9137
|
+
nonModalRef: ref,
|
|
9138
|
+
state,
|
|
9139
|
+
isExiting
|
|
9140
|
+
}
|
|
9141
|
+
);
|
|
8940
9142
|
}
|
|
8941
9143
|
);
|
|
8942
9144
|
|
|
@@ -8945,9 +9147,9 @@ import { useEffect as useEffect6, useRef as useRef8, useState as useState6 } fro
|
|
|
8945
9147
|
import { cn as cn45, useClassNames as useClassNames47 } from "@marigold/system";
|
|
8946
9148
|
|
|
8947
9149
|
// src/Pagination/Ellipsis.tsx
|
|
8948
|
-
import { jsx as
|
|
9150
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
8949
9151
|
var Ellipsis = () => {
|
|
8950
|
-
return /* @__PURE__ */
|
|
9152
|
+
return /* @__PURE__ */ jsx81(
|
|
8951
9153
|
"span",
|
|
8952
9154
|
{
|
|
8953
9155
|
className: "text-text-base flex h-8 w-8 items-center justify-center",
|
|
@@ -8961,7 +9163,7 @@ var Ellipsis = () => {
|
|
|
8961
9163
|
import React12, { useEffect as useEffect4 } from "react";
|
|
8962
9164
|
import { useButton as useButton2 } from "@react-aria/button";
|
|
8963
9165
|
import { cn as cn44, useClassNames as useClassNames45 } from "@marigold/system";
|
|
8964
|
-
import { jsxs as
|
|
9166
|
+
import { jsxs as jsxs31 } from "react/jsx-runtime";
|
|
8965
9167
|
var NavigationButton = (props) => {
|
|
8966
9168
|
const ref = React12.useRef(null);
|
|
8967
9169
|
const classNames3 = useClassNames45({
|
|
@@ -8983,7 +9185,7 @@ var NavigationButton = (props) => {
|
|
|
8983
9185
|
return () => registerRef(null);
|
|
8984
9186
|
}
|
|
8985
9187
|
}, [registerRef]);
|
|
8986
|
-
return /* @__PURE__ */
|
|
9188
|
+
return /* @__PURE__ */ jsxs31(
|
|
8987
9189
|
"button",
|
|
8988
9190
|
{
|
|
8989
9191
|
ref,
|
|
@@ -9005,7 +9207,7 @@ var NavigationButton = (props) => {
|
|
|
9005
9207
|
import { useEffect as useEffect5, useRef as useRef6 } from "react";
|
|
9006
9208
|
import { useButton as useButton3 } from "@react-aria/button";
|
|
9007
9209
|
import { useClassNames as useClassNames46 } from "@marigold/system";
|
|
9008
|
-
import { jsx as
|
|
9210
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
9009
9211
|
var PageButton = (props) => {
|
|
9010
9212
|
const ref = useRef6(null);
|
|
9011
9213
|
const classNames3 = useClassNames46({
|
|
@@ -9019,7 +9221,7 @@ var PageButton = (props) => {
|
|
|
9019
9221
|
return () => registerRef(null);
|
|
9020
9222
|
}
|
|
9021
9223
|
}, [registerRef]);
|
|
9022
|
-
return /* @__PURE__ */
|
|
9224
|
+
return /* @__PURE__ */ jsx82(
|
|
9023
9225
|
"button",
|
|
9024
9226
|
{
|
|
9025
9227
|
ref,
|
|
@@ -9182,7 +9384,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
|
|
|
9182
9384
|
};
|
|
9183
9385
|
|
|
9184
9386
|
// src/Pagination/Pagination.tsx
|
|
9185
|
-
import { jsx as
|
|
9387
|
+
import { jsx as jsx83, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
9186
9388
|
var _Pagination = ({
|
|
9187
9389
|
defaultPage = 1,
|
|
9188
9390
|
page,
|
|
@@ -9231,14 +9433,14 @@ var _Pagination = ({
|
|
|
9231
9433
|
}, [currentPage, setFocusedItem]);
|
|
9232
9434
|
const isFirstPage = currentPage === 1;
|
|
9233
9435
|
const isLastPage = currentPage === totalPages || totalPages === 0;
|
|
9234
|
-
return /* @__PURE__ */
|
|
9436
|
+
return /* @__PURE__ */ jsxs32(
|
|
9235
9437
|
"nav",
|
|
9236
9438
|
{
|
|
9237
9439
|
className: "flex items-center justify-center space-x-2",
|
|
9238
9440
|
"aria-label": `Page ${currentPage} of ${totalPages}`,
|
|
9239
9441
|
...keyboardProps,
|
|
9240
9442
|
children: [
|
|
9241
|
-
/* @__PURE__ */
|
|
9443
|
+
/* @__PURE__ */ jsx83(
|
|
9242
9444
|
NavigationButton,
|
|
9243
9445
|
{
|
|
9244
9446
|
onClick: () => handlePageChange(Math.max(1, currentPage - 1)),
|
|
@@ -9247,11 +9449,11 @@ var _Pagination = ({
|
|
|
9247
9449
|
registerRef: (ref) => registerRef(NavigationTypes.Prev, currentPage - 1, ref),
|
|
9248
9450
|
controlLabel: controlLabels == null ? void 0 : controlLabels[0],
|
|
9249
9451
|
position: "left",
|
|
9250
|
-
children: /* @__PURE__ */
|
|
9452
|
+
children: /* @__PURE__ */ jsx83(ChevronLeft, { className: cn45(classNames3.icon) })
|
|
9251
9453
|
}
|
|
9252
9454
|
),
|
|
9253
|
-
/* @__PURE__ */
|
|
9254
|
-
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */
|
|
9455
|
+
/* @__PURE__ */ jsx83("div", { className: "flex items-center space-x-2", children: totalPages > 0 ? pageRange.map(
|
|
9456
|
+
(pageNumber, index2) => pageNumber === "ellipsis" ? /* @__PURE__ */ jsx83(Ellipsis, {}, `ellipsis-${index2}`) : /* @__PURE__ */ jsx83(
|
|
9255
9457
|
PageButton,
|
|
9256
9458
|
{
|
|
9257
9459
|
page: pageNumber,
|
|
@@ -9261,8 +9463,8 @@ var _Pagination = ({
|
|
|
9261
9463
|
},
|
|
9262
9464
|
pageNumber
|
|
9263
9465
|
)
|
|
9264
|
-
) : /* @__PURE__ */
|
|
9265
|
-
/* @__PURE__ */
|
|
9466
|
+
) : /* @__PURE__ */ jsx83(PageButton, { page: 1, isDisabled: true }, 1) }),
|
|
9467
|
+
/* @__PURE__ */ jsx83(
|
|
9266
9468
|
NavigationButton,
|
|
9267
9469
|
{
|
|
9268
9470
|
onClick: () => handlePageChange(Math.min(totalPages, currentPage + 1)),
|
|
@@ -9271,7 +9473,7 @@ var _Pagination = ({
|
|
|
9271
9473
|
registerRef: (ref) => registerRef(NavigationTypes.Next, currentPage + 1, ref),
|
|
9272
9474
|
controlLabel: controlLabels == null ? void 0 : controlLabels[1],
|
|
9273
9475
|
position: "right",
|
|
9274
|
-
children: /* @__PURE__ */
|
|
9476
|
+
children: /* @__PURE__ */ jsx83(ChevronRight, { className: cn45(classNames3.icon) })
|
|
9275
9477
|
}
|
|
9276
9478
|
)
|
|
9277
9479
|
]
|
|
@@ -9281,22 +9483,22 @@ var _Pagination = ({
|
|
|
9281
9483
|
|
|
9282
9484
|
// src/Radio/Radio.tsx
|
|
9283
9485
|
import {
|
|
9284
|
-
forwardRef as
|
|
9486
|
+
forwardRef as forwardRef23
|
|
9285
9487
|
} from "react";
|
|
9286
9488
|
import { Radio } from "react-aria-components";
|
|
9287
9489
|
import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
|
|
9288
9490
|
|
|
9289
9491
|
// src/Radio/Context.ts
|
|
9290
|
-
import { createContext as createContext10, useContext as
|
|
9492
|
+
import { createContext as createContext10, useContext as useContext20 } from "react";
|
|
9291
9493
|
var RadioGroupContext = createContext10(
|
|
9292
9494
|
null
|
|
9293
9495
|
);
|
|
9294
|
-
var useRadioGroupContext = () =>
|
|
9496
|
+
var useRadioGroupContext = () => useContext20(RadioGroupContext);
|
|
9295
9497
|
|
|
9296
9498
|
// src/Radio/RadioGroup.tsx
|
|
9297
9499
|
import { RadioGroup } from "react-aria-components";
|
|
9298
9500
|
import { cn as cn46, useClassNames as useClassNames48 } from "@marigold/system";
|
|
9299
|
-
import { jsx as
|
|
9501
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
9300
9502
|
var _RadioGroup = ({
|
|
9301
9503
|
variant,
|
|
9302
9504
|
size: size2,
|
|
@@ -9320,7 +9522,7 @@ var _RadioGroup = ({
|
|
|
9320
9522
|
isInvalid: error,
|
|
9321
9523
|
...rest
|
|
9322
9524
|
};
|
|
9323
|
-
return /* @__PURE__ */
|
|
9525
|
+
return /* @__PURE__ */ jsx84(
|
|
9324
9526
|
FieldBase,
|
|
9325
9527
|
{
|
|
9326
9528
|
as: RadioGroup,
|
|
@@ -9331,7 +9533,7 @@ var _RadioGroup = ({
|
|
|
9331
9533
|
variant,
|
|
9332
9534
|
size: size2,
|
|
9333
9535
|
...props,
|
|
9334
|
-
children: /* @__PURE__ */
|
|
9536
|
+
children: /* @__PURE__ */ jsx84(
|
|
9335
9537
|
"div",
|
|
9336
9538
|
{
|
|
9337
9539
|
role: "presentation",
|
|
@@ -9342,7 +9544,7 @@ var _RadioGroup = ({
|
|
|
9342
9544
|
"flex items-start",
|
|
9343
9545
|
orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"
|
|
9344
9546
|
),
|
|
9345
|
-
children: /* @__PURE__ */
|
|
9547
|
+
children: /* @__PURE__ */ jsx84(RadioGroupContext.Provider, { value: { width, variant, size: size2 }, children })
|
|
9346
9548
|
}
|
|
9347
9549
|
)
|
|
9348
9550
|
}
|
|
@@ -9350,9 +9552,9 @@ var _RadioGroup = ({
|
|
|
9350
9552
|
};
|
|
9351
9553
|
|
|
9352
9554
|
// src/Radio/Radio.tsx
|
|
9353
|
-
import { Fragment as Fragment9, jsx as
|
|
9354
|
-
var Dot = () => /* @__PURE__ */
|
|
9355
|
-
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */
|
|
9555
|
+
import { Fragment as Fragment9, jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
9556
|
+
var Dot = () => /* @__PURE__ */ jsx85("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx85("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
|
|
9557
|
+
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx85(
|
|
9356
9558
|
"div",
|
|
9357
9559
|
{
|
|
9358
9560
|
className: cn47(
|
|
@@ -9361,10 +9563,10 @@ var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx84(
|
|
|
9361
9563
|
),
|
|
9362
9564
|
"aria-hidden": "true",
|
|
9363
9565
|
...props,
|
|
9364
|
-
children: checked ? /* @__PURE__ */
|
|
9566
|
+
children: checked ? /* @__PURE__ */ jsx85(Dot, {}) : null
|
|
9365
9567
|
}
|
|
9366
9568
|
);
|
|
9367
|
-
var _Radio =
|
|
9569
|
+
var _Radio = forwardRef23(
|
|
9368
9570
|
({ value, disabled, width, children, ...props }, ref) => {
|
|
9369
9571
|
const { variant, size: size2, width: groupWidth } = useRadioGroupContext();
|
|
9370
9572
|
const classNames3 = useClassNames49({
|
|
@@ -9372,7 +9574,7 @@ var _Radio = forwardRef22(
|
|
|
9372
9574
|
variant: variant || props.variant,
|
|
9373
9575
|
size: size2 || props.size
|
|
9374
9576
|
});
|
|
9375
|
-
return /* @__PURE__ */
|
|
9577
|
+
return /* @__PURE__ */ jsx85(
|
|
9376
9578
|
Radio,
|
|
9377
9579
|
{
|
|
9378
9580
|
ref,
|
|
@@ -9385,8 +9587,8 @@ var _Radio = forwardRef22(
|
|
|
9385
9587
|
value,
|
|
9386
9588
|
isDisabled: disabled,
|
|
9387
9589
|
...props,
|
|
9388
|
-
children: ({ isSelected }) => /* @__PURE__ */
|
|
9389
|
-
/* @__PURE__ */
|
|
9590
|
+
children: ({ isSelected }) => /* @__PURE__ */ jsxs33(Fragment9, { children: [
|
|
9591
|
+
/* @__PURE__ */ jsx85(
|
|
9390
9592
|
Icon3,
|
|
9391
9593
|
{
|
|
9392
9594
|
checked: isSelected,
|
|
@@ -9396,7 +9598,7 @@ var _Radio = forwardRef22(
|
|
|
9396
9598
|
)
|
|
9397
9599
|
}
|
|
9398
9600
|
),
|
|
9399
|
-
/* @__PURE__ */
|
|
9601
|
+
/* @__PURE__ */ jsx85("div", { className: classNames3.label, children })
|
|
9400
9602
|
] })
|
|
9401
9603
|
}
|
|
9402
9604
|
);
|
|
@@ -9405,10 +9607,10 @@ var _Radio = forwardRef22(
|
|
|
9405
9607
|
_Radio.Group = _RadioGroup;
|
|
9406
9608
|
|
|
9407
9609
|
// src/SearchField/SearchField.tsx
|
|
9408
|
-
import { forwardRef as
|
|
9610
|
+
import { forwardRef as forwardRef24 } from "react";
|
|
9409
9611
|
import { SearchField } from "react-aria-components";
|
|
9410
|
-
import { jsx as
|
|
9411
|
-
var _SearchField =
|
|
9612
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
9613
|
+
var _SearchField = forwardRef24(
|
|
9412
9614
|
({ disabled, required, readOnly, error, action, ...rest }, ref) => {
|
|
9413
9615
|
const props = {
|
|
9414
9616
|
...rest,
|
|
@@ -9417,7 +9619,7 @@ var _SearchField = forwardRef23(
|
|
|
9417
9619
|
isReadOnly: readOnly,
|
|
9418
9620
|
isInvalid: error
|
|
9419
9621
|
};
|
|
9420
|
-
return /* @__PURE__ */
|
|
9622
|
+
return /* @__PURE__ */ jsx86(FieldBase, { as: SearchField, ...props, children: /* @__PURE__ */ jsx86(
|
|
9421
9623
|
SearchInput,
|
|
9422
9624
|
{
|
|
9423
9625
|
ref,
|
|
@@ -9428,11 +9630,11 @@ var _SearchField = forwardRef23(
|
|
|
9428
9630
|
);
|
|
9429
9631
|
|
|
9430
9632
|
// src/Select/Select.tsx
|
|
9431
|
-
import { forwardRef as
|
|
9633
|
+
import { forwardRef as forwardRef25 } from "react";
|
|
9432
9634
|
import { Select as Select2, SelectValue } from "react-aria-components";
|
|
9433
9635
|
import { cn as cn48, useClassNames as useClassNames50 } from "@marigold/system";
|
|
9434
|
-
import { jsx as
|
|
9435
|
-
var _Select =
|
|
9636
|
+
import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
9637
|
+
var _Select = forwardRef25(
|
|
9436
9638
|
({
|
|
9437
9639
|
disabled,
|
|
9438
9640
|
required,
|
|
@@ -9453,8 +9655,8 @@ var _Select = forwardRef24(
|
|
|
9453
9655
|
...rest
|
|
9454
9656
|
};
|
|
9455
9657
|
const classNames3 = useClassNames50({ component: "Select", variant, size: size2 });
|
|
9456
|
-
return /* @__PURE__ */
|
|
9457
|
-
/* @__PURE__ */
|
|
9658
|
+
return /* @__PURE__ */ jsxs34(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
|
|
9659
|
+
/* @__PURE__ */ jsxs34(
|
|
9458
9660
|
IconButton,
|
|
9459
9661
|
{
|
|
9460
9662
|
className: cn48(
|
|
@@ -9462,12 +9664,12 @@ var _Select = forwardRef24(
|
|
|
9462
9664
|
classNames3.select
|
|
9463
9665
|
),
|
|
9464
9666
|
children: [
|
|
9465
|
-
/* @__PURE__ */
|
|
9466
|
-
/* @__PURE__ */
|
|
9667
|
+
/* @__PURE__ */ jsx87(SelectValue, { className: "[&>[slot=description]]:hidden" }),
|
|
9668
|
+
/* @__PURE__ */ jsx87(ChevronDown, { className: cn48("size-4", classNames3.icon) })
|
|
9467
9669
|
]
|
|
9468
9670
|
}
|
|
9469
9671
|
),
|
|
9470
|
-
/* @__PURE__ */
|
|
9672
|
+
/* @__PURE__ */ jsx87(_Popover, { children: /* @__PURE__ */ jsx87(_ListBox, { items, children: props.children }) })
|
|
9471
9673
|
] });
|
|
9472
9674
|
}
|
|
9473
9675
|
);
|
|
@@ -9476,36 +9678,36 @@ _Select.Section = _ListBox.Section;
|
|
|
9476
9678
|
|
|
9477
9679
|
// src/SelectList/SelectList.tsx
|
|
9478
9680
|
import {
|
|
9479
|
-
forwardRef as
|
|
9681
|
+
forwardRef as forwardRef27
|
|
9480
9682
|
} from "react";
|
|
9481
9683
|
import { GridList as SelectList } from "react-aria-components";
|
|
9482
9684
|
import { cn as cn50, useClassNames as useClassNames51 } from "@marigold/system";
|
|
9483
9685
|
|
|
9484
9686
|
// src/SelectList/Context.ts
|
|
9485
|
-
import { createContext as createContext11, useContext as
|
|
9687
|
+
import { createContext as createContext11, useContext as useContext21 } from "react";
|
|
9486
9688
|
var SelectListContext = createContext11(
|
|
9487
9689
|
{}
|
|
9488
9690
|
);
|
|
9489
|
-
var useSelectListContext = () =>
|
|
9691
|
+
var useSelectListContext = () => useContext21(SelectListContext);
|
|
9490
9692
|
|
|
9491
9693
|
// src/SelectList/SelectListItem.tsx
|
|
9492
|
-
import { forwardRef as
|
|
9694
|
+
import { forwardRef as forwardRef26 } from "react";
|
|
9493
9695
|
import { GridListItem as SelectListItem } from "react-aria-components";
|
|
9494
9696
|
import { cn as cn49 } from "@marigold/system";
|
|
9495
|
-
import { jsx as
|
|
9496
|
-
var _SelectListItem =
|
|
9697
|
+
import { jsx as jsx88, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
9698
|
+
var _SelectListItem = forwardRef26(
|
|
9497
9699
|
({ children, ...props }, ref) => {
|
|
9498
9700
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9499
9701
|
const { classNames: classNames3 } = useSelectListContext();
|
|
9500
|
-
return /* @__PURE__ */
|
|
9702
|
+
return /* @__PURE__ */ jsx88(
|
|
9501
9703
|
SelectListItem,
|
|
9502
9704
|
{
|
|
9503
9705
|
textValue,
|
|
9504
9706
|
...props,
|
|
9505
9707
|
className: cn49("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.option),
|
|
9506
9708
|
ref,
|
|
9507
|
-
children: ({ selectionMode }) => /* @__PURE__ */
|
|
9508
|
-
selectionMode === "multiple" && /* @__PURE__ */
|
|
9709
|
+
children: ({ selectionMode }) => /* @__PURE__ */ jsxs35("div", { className: "flex gap-2", children: [
|
|
9710
|
+
selectionMode === "multiple" && /* @__PURE__ */ jsx88(_Checkbox, { slot: "selection" }),
|
|
9509
9711
|
children
|
|
9510
9712
|
] })
|
|
9511
9713
|
}
|
|
@@ -9514,15 +9716,15 @@ var _SelectListItem = forwardRef25(
|
|
|
9514
9716
|
);
|
|
9515
9717
|
|
|
9516
9718
|
// src/SelectList/SelectList.tsx
|
|
9517
|
-
import { jsx as
|
|
9518
|
-
var _SelectList =
|
|
9719
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
9720
|
+
var _SelectList = forwardRef27(
|
|
9519
9721
|
({ onChange: onChange2, ...rest }, ref) => {
|
|
9520
9722
|
const classNames3 = useClassNames51({ component: "ListBox" });
|
|
9521
9723
|
const props = {
|
|
9522
9724
|
onSelectionChange: onChange2,
|
|
9523
9725
|
...rest
|
|
9524
9726
|
};
|
|
9525
|
-
return /* @__PURE__ */
|
|
9727
|
+
return /* @__PURE__ */ jsx89(SelectListContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx89("div", { className: classNames3.container, children: /* @__PURE__ */ jsx89(
|
|
9526
9728
|
SelectList,
|
|
9527
9729
|
{
|
|
9528
9730
|
...props,
|
|
@@ -9541,13 +9743,13 @@ _SelectList.Item = _SelectListItem;
|
|
|
9541
9743
|
|
|
9542
9744
|
// src/Scrollable/Scrollable.tsx
|
|
9543
9745
|
import { cn as cn51, createVar as createVar8, width as twWidth2 } from "@marigold/system";
|
|
9544
|
-
import { jsx as
|
|
9746
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
9545
9747
|
var Scrollable = ({
|
|
9546
9748
|
children,
|
|
9547
9749
|
width = "full",
|
|
9548
9750
|
height,
|
|
9549
9751
|
...props
|
|
9550
|
-
}) => /* @__PURE__ */
|
|
9752
|
+
}) => /* @__PURE__ */ jsx90(
|
|
9551
9753
|
"div",
|
|
9552
9754
|
{
|
|
9553
9755
|
...props,
|
|
@@ -9558,7 +9760,7 @@ var Scrollable = ({
|
|
|
9558
9760
|
);
|
|
9559
9761
|
|
|
9560
9762
|
// src/Slider/Slider.tsx
|
|
9561
|
-
import { forwardRef as
|
|
9763
|
+
import { forwardRef as forwardRef28 } from "react";
|
|
9562
9764
|
import {
|
|
9563
9765
|
Slider,
|
|
9564
9766
|
SliderOutput,
|
|
@@ -9570,8 +9772,8 @@ import {
|
|
|
9570
9772
|
width as twWidth3,
|
|
9571
9773
|
useClassNames as useClassNames52
|
|
9572
9774
|
} from "@marigold/system";
|
|
9573
|
-
import { Fragment as Fragment10, jsx as
|
|
9574
|
-
var _Slider =
|
|
9775
|
+
import { Fragment as Fragment10, jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
9776
|
+
var _Slider = forwardRef28(
|
|
9575
9777
|
({
|
|
9576
9778
|
thumbLabels,
|
|
9577
9779
|
variant,
|
|
@@ -9590,7 +9792,7 @@ var _Slider = forwardRef27(
|
|
|
9590
9792
|
isDisabled: disabled,
|
|
9591
9793
|
...rest
|
|
9592
9794
|
};
|
|
9593
|
-
return /* @__PURE__ */
|
|
9795
|
+
return /* @__PURE__ */ jsxs36(
|
|
9594
9796
|
FieldBase,
|
|
9595
9797
|
{
|
|
9596
9798
|
as: Slider,
|
|
@@ -9602,14 +9804,14 @@ var _Slider = forwardRef27(
|
|
|
9602
9804
|
ref,
|
|
9603
9805
|
...props,
|
|
9604
9806
|
children: [
|
|
9605
|
-
/* @__PURE__ */
|
|
9606
|
-
/* @__PURE__ */
|
|
9607
|
-
/* @__PURE__ */
|
|
9807
|
+
/* @__PURE__ */ jsx91(_Label, { children: props.children && props.children || label && label }),
|
|
9808
|
+
/* @__PURE__ */ jsx91(SliderOutput, { className: cn52("flex justify-end", classNames3.output), children: ({ state }) => state.values.map((_, i) => state.getThumbValueLabel(i)).join(" \u2013 ") }),
|
|
9809
|
+
/* @__PURE__ */ jsx91(
|
|
9608
9810
|
SliderTrack,
|
|
9609
9811
|
{
|
|
9610
9812
|
className: cn52("relative col-span-2 h-2 w-full", classNames3.track),
|
|
9611
|
-
children: ({ state }) => /* @__PURE__ */
|
|
9612
|
-
/* @__PURE__ */
|
|
9813
|
+
children: ({ state }) => /* @__PURE__ */ jsxs36(Fragment10, { children: [
|
|
9814
|
+
/* @__PURE__ */ jsx91(
|
|
9613
9815
|
"div",
|
|
9614
9816
|
{
|
|
9615
9817
|
className: cn52(
|
|
@@ -9618,7 +9820,7 @@ var _Slider = forwardRef27(
|
|
|
9618
9820
|
)
|
|
9619
9821
|
}
|
|
9620
9822
|
),
|
|
9621
|
-
/* @__PURE__ */
|
|
9823
|
+
/* @__PURE__ */ jsx91(
|
|
9622
9824
|
"div",
|
|
9623
9825
|
{
|
|
9624
9826
|
className: cn52(
|
|
@@ -9631,7 +9833,7 @@ var _Slider = forwardRef27(
|
|
|
9631
9833
|
}
|
|
9632
9834
|
}
|
|
9633
9835
|
),
|
|
9634
|
-
state.values.map((_, i) => /* @__PURE__ */
|
|
9836
|
+
state.values.map((_, i) => /* @__PURE__ */ jsx91(
|
|
9635
9837
|
SliderThumb,
|
|
9636
9838
|
{
|
|
9637
9839
|
className: cn52("top-1/2 cursor-pointer", classNames3.thumb),
|
|
@@ -9651,12 +9853,12 @@ var _Slider = forwardRef27(
|
|
|
9651
9853
|
);
|
|
9652
9854
|
|
|
9653
9855
|
// src/Split/Split.tsx
|
|
9654
|
-
import { jsx as
|
|
9655
|
-
var Split = () => /* @__PURE__ */
|
|
9856
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
9857
|
+
var Split = () => /* @__PURE__ */ jsx92("div", { role: "separator", className: "grow" });
|
|
9656
9858
|
|
|
9657
9859
|
// src/Stack/Stack.tsx
|
|
9658
9860
|
import { alignment as alignment2, cn as cn53, gapSpace as gapSpace8 } from "@marigold/system";
|
|
9659
|
-
import { jsx as
|
|
9861
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
9660
9862
|
var Stack = ({
|
|
9661
9863
|
children,
|
|
9662
9864
|
space = 0,
|
|
@@ -9666,7 +9868,7 @@ var Stack = ({
|
|
|
9666
9868
|
...props
|
|
9667
9869
|
}) => {
|
|
9668
9870
|
var _a, _b, _c, _d;
|
|
9669
|
-
return /* @__PURE__ */
|
|
9871
|
+
return /* @__PURE__ */ jsx93(
|
|
9670
9872
|
"div",
|
|
9671
9873
|
{
|
|
9672
9874
|
className: cn53(
|
|
@@ -9683,15 +9885,15 @@ var Stack = ({
|
|
|
9683
9885
|
};
|
|
9684
9886
|
|
|
9685
9887
|
// src/Switch/Switch.tsx
|
|
9686
|
-
import { forwardRef as
|
|
9888
|
+
import { forwardRef as forwardRef29 } from "react";
|
|
9687
9889
|
import { Switch } from "react-aria-components";
|
|
9688
9890
|
import {
|
|
9689
9891
|
cn as cn54,
|
|
9690
9892
|
width as twWidth4,
|
|
9691
9893
|
useClassNames as useClassNames53
|
|
9692
9894
|
} from "@marigold/system";
|
|
9693
|
-
import { jsx as
|
|
9694
|
-
var _Switch =
|
|
9895
|
+
import { jsx as jsx94, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
9896
|
+
var _Switch = forwardRef29(
|
|
9695
9897
|
({
|
|
9696
9898
|
variant,
|
|
9697
9899
|
size: size2,
|
|
@@ -9709,7 +9911,7 @@ var _Switch = forwardRef28(
|
|
|
9709
9911
|
isSelected: selected,
|
|
9710
9912
|
...rest
|
|
9711
9913
|
};
|
|
9712
|
-
return /* @__PURE__ */
|
|
9914
|
+
return /* @__PURE__ */ jsxs37(
|
|
9713
9915
|
Switch,
|
|
9714
9916
|
{
|
|
9715
9917
|
...props,
|
|
@@ -9721,8 +9923,8 @@ var _Switch = forwardRef28(
|
|
|
9721
9923
|
classNames3.container
|
|
9722
9924
|
),
|
|
9723
9925
|
children: [
|
|
9724
|
-
/* @__PURE__ */
|
|
9725
|
-
/* @__PURE__ */
|
|
9926
|
+
/* @__PURE__ */ jsx94(_Label, { elementType: "span", children }),
|
|
9927
|
+
/* @__PURE__ */ jsx94("div", { className: "relative", children: /* @__PURE__ */ jsx94("div", { className: classNames3.track, children: /* @__PURE__ */ jsx94("div", { className: classNames3.thumb }) }) })
|
|
9726
9928
|
]
|
|
9727
9929
|
}
|
|
9728
9930
|
);
|
|
@@ -9740,16 +9942,16 @@ import {
|
|
|
9740
9942
|
Row,
|
|
9741
9943
|
useTableState
|
|
9742
9944
|
} from "@react-stately/table";
|
|
9743
|
-
import { cn as
|
|
9945
|
+
import { cn as cn61, useClassNames as useClassNames55 } from "@marigold/system";
|
|
9744
9946
|
|
|
9745
9947
|
// src/Table/Context.tsx
|
|
9746
|
-
import { createContext as createContext12, useContext as
|
|
9948
|
+
import { createContext as createContext12, useContext as useContext22 } from "react";
|
|
9747
9949
|
var TableContext = createContext12({});
|
|
9748
|
-
var useTableContext = () =>
|
|
9950
|
+
var useTableContext = () => useContext22(TableContext);
|
|
9749
9951
|
|
|
9750
9952
|
// src/Table/TableBody.tsx
|
|
9751
9953
|
import { useTableRowGroup } from "@react-aria/table";
|
|
9752
|
-
import { jsx as
|
|
9954
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
9753
9955
|
var TableBody = ({
|
|
9754
9956
|
children,
|
|
9755
9957
|
className,
|
|
@@ -9758,7 +9960,7 @@ var TableBody = ({
|
|
|
9758
9960
|
const { rowGroupProps } = useTableRowGroup();
|
|
9759
9961
|
const { state, classNames: classNames3 } = useTableContext();
|
|
9760
9962
|
if (state.collection.size === 0 && emptyState) {
|
|
9761
|
-
return /* @__PURE__ */
|
|
9963
|
+
return /* @__PURE__ */ jsx95("tbody", { className, children: /* @__PURE__ */ jsx95("tr", { className: classNames3 == null ? void 0 : classNames3.row, role: "row", children: /* @__PURE__ */ jsx95(
|
|
9762
9964
|
"td",
|
|
9763
9965
|
{
|
|
9764
9966
|
className: classNames3 == null ? void 0 : classNames3.cell,
|
|
@@ -9768,16 +9970,16 @@ var TableBody = ({
|
|
|
9768
9970
|
}
|
|
9769
9971
|
) }) });
|
|
9770
9972
|
}
|
|
9771
|
-
return /* @__PURE__ */
|
|
9973
|
+
return /* @__PURE__ */ jsx95("tbody", { ...rowGroupProps, className, children });
|
|
9772
9974
|
};
|
|
9773
9975
|
|
|
9774
9976
|
// src/Table/TableCell.tsx
|
|
9775
9977
|
import { useRef as useRef9 } from "react";
|
|
9776
9978
|
import { useFocusRing } from "@react-aria/focus";
|
|
9777
9979
|
import { useTableCell } from "@react-aria/table";
|
|
9778
|
-
import { mergeProps } from "@react-aria/utils";
|
|
9980
|
+
import { mergeProps as mergeProps2 } from "@react-aria/utils";
|
|
9779
9981
|
import { cn as cn55, useStateProps } from "@marigold/system";
|
|
9780
|
-
import { jsx as
|
|
9982
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
9781
9983
|
var TableCell = ({ cell, align = "left" }) => {
|
|
9782
9984
|
const ref = useRef9(null);
|
|
9783
9985
|
const { interactive, state, classNames: classNames3 } = useTableContext();
|
|
@@ -9800,12 +10002,12 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9800
10002
|
};
|
|
9801
10003
|
const { focusProps, isFocusVisible } = useFocusRing();
|
|
9802
10004
|
const stateProps = useStateProps({ disabled, focusVisible: isFocusVisible });
|
|
9803
|
-
return /* @__PURE__ */
|
|
10005
|
+
return /* @__PURE__ */ jsx96(
|
|
9804
10006
|
"td",
|
|
9805
10007
|
{
|
|
9806
10008
|
ref,
|
|
9807
10009
|
className: cn55(classNames3 == null ? void 0 : classNames3.cell),
|
|
9808
|
-
...
|
|
10010
|
+
...mergeProps2(cellProps, focusProps),
|
|
9809
10011
|
...stateProps,
|
|
9810
10012
|
align,
|
|
9811
10013
|
children: cell.rendered
|
|
@@ -9817,7 +10019,7 @@ var TableCell = ({ cell, align = "left" }) => {
|
|
|
9817
10019
|
import { useRef as useRef10 } from "react";
|
|
9818
10020
|
import { useFocusRing as useFocusRing2 } from "@react-aria/focus";
|
|
9819
10021
|
import { useTableCell as useTableCell2, useTableSelectionCheckbox } from "@react-aria/table";
|
|
9820
|
-
import { mergeProps as
|
|
10022
|
+
import { mergeProps as mergeProps3 } from "@react-aria/utils";
|
|
9821
10023
|
import { cn as cn56, useStateProps as useStateProps2 } from "@marigold/system";
|
|
9822
10024
|
|
|
9823
10025
|
// src/Table/utils.ts
|
|
@@ -9841,7 +10043,7 @@ var mapCheckboxProps = ({
|
|
|
9841
10043
|
};
|
|
9842
10044
|
|
|
9843
10045
|
// src/Table/TableCheckboxCell.tsx
|
|
9844
|
-
import { jsx as
|
|
10046
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
9845
10047
|
var TableCheckboxCell = ({ cell }) => {
|
|
9846
10048
|
const ref = useRef10(null);
|
|
9847
10049
|
const { state, classNames: classNames3 } = useTableContext();
|
|
@@ -9858,14 +10060,14 @@ var TableCheckboxCell = ({ cell }) => {
|
|
|
9858
10060
|
);
|
|
9859
10061
|
const { focusProps, isFocusVisible } = useFocusRing2();
|
|
9860
10062
|
const stateProps = useStateProps2({ disabled, focusVisible: isFocusVisible });
|
|
9861
|
-
return /* @__PURE__ */
|
|
10063
|
+
return /* @__PURE__ */ jsx97(
|
|
9862
10064
|
"td",
|
|
9863
10065
|
{
|
|
9864
10066
|
ref,
|
|
9865
10067
|
className: cn56("text-center align-middle leading-none", classNames3 == null ? void 0 : classNames3.cell),
|
|
9866
|
-
...
|
|
10068
|
+
...mergeProps3(gridCellProps, focusProps),
|
|
9867
10069
|
...stateProps,
|
|
9868
|
-
children: /* @__PURE__ */
|
|
10070
|
+
children: /* @__PURE__ */ jsx97(_Checkbox, { ...checkboxProps })
|
|
9869
10071
|
}
|
|
9870
10072
|
);
|
|
9871
10073
|
};
|
|
@@ -9875,9 +10077,9 @@ import { useRef as useRef11 } from "react";
|
|
|
9875
10077
|
import { useFocusRing as useFocusRing3 } from "@react-aria/focus";
|
|
9876
10078
|
import { useHover } from "@react-aria/interactions";
|
|
9877
10079
|
import { useTableColumnHeader } from "@react-aria/table";
|
|
9878
|
-
import { mergeProps as
|
|
10080
|
+
import { mergeProps as mergeProps4 } from "@react-aria/utils";
|
|
9879
10081
|
import { cn as cn57, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
|
|
9880
|
-
import { jsx as
|
|
10082
|
+
import { jsx as jsx98, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
9881
10083
|
var TableColumnHeader = ({
|
|
9882
10084
|
column: column2,
|
|
9883
10085
|
width = "auto",
|
|
@@ -9899,18 +10101,18 @@ var TableColumnHeader = ({
|
|
|
9899
10101
|
hover: isHovered,
|
|
9900
10102
|
focusVisible: isFocusVisible
|
|
9901
10103
|
});
|
|
9902
|
-
return /* @__PURE__ */
|
|
10104
|
+
return /* @__PURE__ */ jsxs38(
|
|
9903
10105
|
"th",
|
|
9904
10106
|
{
|
|
9905
10107
|
colSpan: column2.colspan,
|
|
9906
10108
|
ref,
|
|
9907
10109
|
className: cn57("cursor-default", twWidth5[width], classNames3 == null ? void 0 : classNames3.header),
|
|
9908
|
-
...
|
|
10110
|
+
...mergeProps4(columnHeaderProps, hoverProps, focusProps),
|
|
9909
10111
|
...stateProps,
|
|
9910
10112
|
align,
|
|
9911
10113
|
children: [
|
|
9912
10114
|
column2.rendered,
|
|
9913
|
-
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */
|
|
10115
|
+
column2.props.allowsSorting && (((_a = state.sortDescriptor) == null ? void 0 : _a.column) === column2.key ? ((_b = state.sortDescriptor) == null ? void 0 : _b.direction) === "ascending" ? /* @__PURE__ */ jsx98(SortUp, { className: "inline-block" }) : /* @__PURE__ */ jsx98(SortDown, { className: "inline-block" }) : /* @__PURE__ */ jsx98("span", { className: "hidden", children: /* @__PURE__ */ jsx98(SortDown, { className: "inline-block" }) }))
|
|
9914
10116
|
]
|
|
9915
10117
|
}
|
|
9916
10118
|
);
|
|
@@ -9918,14 +10120,21 @@ var TableColumnHeader = ({
|
|
|
9918
10120
|
|
|
9919
10121
|
// src/Table/TableHeader.tsx
|
|
9920
10122
|
import { useTableRowGroup as useTableRowGroup2 } from "@react-aria/table";
|
|
9921
|
-
import {
|
|
10123
|
+
import { cn as cn58 } from "@marigold/system";
|
|
10124
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
9922
10125
|
var TableHeader = ({ stickyHeader, children }) => {
|
|
9923
10126
|
const { rowGroupProps } = useTableRowGroup2();
|
|
9924
|
-
|
|
10127
|
+
const { classNames: classNames3 } = useTableContext();
|
|
10128
|
+
return /* @__PURE__ */ jsx99(
|
|
9925
10129
|
"thead",
|
|
9926
10130
|
{
|
|
9927
10131
|
...rowGroupProps,
|
|
9928
|
-
className:
|
|
10132
|
+
className: cn58(
|
|
10133
|
+
classNames3 == null ? void 0 : classNames3.thead,
|
|
10134
|
+
// for sticky header &th needs to be sticky for b2b and core theme
|
|
10135
|
+
// for rui sticky is applied to thead
|
|
10136
|
+
stickyHeader ? "sticky [&_th]:sticky [&_th]:top-0" : ""
|
|
10137
|
+
),
|
|
9929
10138
|
children
|
|
9930
10139
|
}
|
|
9931
10140
|
);
|
|
@@ -9934,7 +10143,7 @@ var TableHeader = ({ stickyHeader, children }) => {
|
|
|
9934
10143
|
// src/Table/TableHeaderRow.tsx
|
|
9935
10144
|
import { useRef as useRef12 } from "react";
|
|
9936
10145
|
import { useTableHeaderRow } from "@react-aria/table";
|
|
9937
|
-
import { jsx as
|
|
10146
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
9938
10147
|
var TableHeaderRow = ({
|
|
9939
10148
|
item,
|
|
9940
10149
|
className,
|
|
@@ -9943,7 +10152,7 @@ var TableHeaderRow = ({
|
|
|
9943
10152
|
const { state } = useTableContext();
|
|
9944
10153
|
const ref = useRef12(null);
|
|
9945
10154
|
const { rowProps } = useTableHeaderRow({ node: item }, state, ref);
|
|
9946
|
-
return /* @__PURE__ */
|
|
10155
|
+
return /* @__PURE__ */ jsx100("tr", { ...rowProps, className, ref, children });
|
|
9947
10156
|
};
|
|
9948
10157
|
|
|
9949
10158
|
// src/Table/TableRow.tsx
|
|
@@ -9951,9 +10160,9 @@ import { useRef as useRef13 } from "react";
|
|
|
9951
10160
|
import { useFocusRing as useFocusRing4 } from "@react-aria/focus";
|
|
9952
10161
|
import { useHover as useHover2 } from "@react-aria/interactions";
|
|
9953
10162
|
import { useTableRow } from "@react-aria/table";
|
|
9954
|
-
import { mergeProps as
|
|
9955
|
-
import { cn as
|
|
9956
|
-
import { jsx as
|
|
10163
|
+
import { mergeProps as mergeProps5 } from "@react-aria/utils";
|
|
10164
|
+
import { cn as cn59, useClassNames as useClassNames54, useStateProps as useStateProps4 } from "@marigold/system";
|
|
10165
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
9957
10166
|
var TableRow = ({ children, row }) => {
|
|
9958
10167
|
const ref = useRef13(null);
|
|
9959
10168
|
const { interactive, state, ...ctx } = useTableContext();
|
|
@@ -9983,17 +10192,17 @@ var TableRow = ({ children, row }) => {
|
|
|
9983
10192
|
focusVisible: isFocusVisible,
|
|
9984
10193
|
active: isPressed
|
|
9985
10194
|
});
|
|
9986
|
-
return /* @__PURE__ */
|
|
10195
|
+
return /* @__PURE__ */ jsx101(
|
|
9987
10196
|
"tr",
|
|
9988
10197
|
{
|
|
9989
10198
|
ref,
|
|
9990
|
-
className:
|
|
10199
|
+
className: cn59(
|
|
9991
10200
|
[
|
|
9992
10201
|
!interactive ? "cursor-text" : disabled ? "cursor-default" : "cursor-pointer"
|
|
9993
10202
|
],
|
|
9994
10203
|
classNames3 == null ? void 0 : classNames3.row
|
|
9995
10204
|
),
|
|
9996
|
-
...
|
|
10205
|
+
...mergeProps5(rowProps, focusProps, hoverProps),
|
|
9997
10206
|
...stateProps,
|
|
9998
10207
|
children
|
|
9999
10208
|
}
|
|
@@ -10008,13 +10217,13 @@ import {
|
|
|
10008
10217
|
useTableColumnHeader as useTableColumnHeader2,
|
|
10009
10218
|
useTableSelectAllCheckbox
|
|
10010
10219
|
} from "@react-aria/table";
|
|
10011
|
-
import { mergeProps as
|
|
10220
|
+
import { mergeProps as mergeProps6 } from "@react-aria/utils";
|
|
10012
10221
|
import {
|
|
10013
|
-
cn as
|
|
10222
|
+
cn as cn60,
|
|
10014
10223
|
width as twWidth6,
|
|
10015
10224
|
useStateProps as useStateProps5
|
|
10016
10225
|
} from "@marigold/system";
|
|
10017
|
-
import { jsx as
|
|
10226
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
10018
10227
|
var TableSelectAllCell = ({
|
|
10019
10228
|
column: column2,
|
|
10020
10229
|
width = "auto",
|
|
@@ -10036,21 +10245,21 @@ var TableSelectAllCell = ({
|
|
|
10036
10245
|
hover: isHovered,
|
|
10037
10246
|
focusVisible: isFocusVisible
|
|
10038
10247
|
});
|
|
10039
|
-
return /* @__PURE__ */
|
|
10248
|
+
return /* @__PURE__ */ jsx102(
|
|
10040
10249
|
"th",
|
|
10041
10250
|
{
|
|
10042
10251
|
ref,
|
|
10043
|
-
className:
|
|
10044
|
-
...
|
|
10252
|
+
className: cn60(twWidth6[width], ["leading-none"], classNames3 == null ? void 0 : classNames3.header),
|
|
10253
|
+
...mergeProps6(columnHeaderProps, hoverProps, focusProps),
|
|
10045
10254
|
...stateProps,
|
|
10046
10255
|
align,
|
|
10047
|
-
children: /* @__PURE__ */
|
|
10256
|
+
children: /* @__PURE__ */ jsx102(_Checkbox, { ...checkboxProps })
|
|
10048
10257
|
}
|
|
10049
10258
|
);
|
|
10050
10259
|
};
|
|
10051
10260
|
|
|
10052
10261
|
// src/Table/Table.tsx
|
|
10053
|
-
import { jsx as
|
|
10262
|
+
import { jsx as jsx103, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
10054
10263
|
var Table = ({
|
|
10055
10264
|
variant,
|
|
10056
10265
|
size: size2,
|
|
@@ -10079,15 +10288,15 @@ var Table = ({
|
|
|
10079
10288
|
size: size2
|
|
10080
10289
|
});
|
|
10081
10290
|
const { collection } = state;
|
|
10082
|
-
return /* @__PURE__ */
|
|
10291
|
+
return /* @__PURE__ */ jsx103(
|
|
10083
10292
|
TableContext.Provider,
|
|
10084
10293
|
{
|
|
10085
10294
|
value: { state, interactive, classNames: classNames3, variant, size: size2 },
|
|
10086
|
-
children: /* @__PURE__ */
|
|
10295
|
+
children: /* @__PURE__ */ jsxs39(
|
|
10087
10296
|
"table",
|
|
10088
10297
|
{
|
|
10089
10298
|
ref: tableRef,
|
|
10090
|
-
className:
|
|
10299
|
+
className: cn61(
|
|
10091
10300
|
"group/table",
|
|
10092
10301
|
"border-collapse",
|
|
10093
10302
|
stretch ? "table w-full" : "block",
|
|
@@ -10095,7 +10304,7 @@ var Table = ({
|
|
|
10095
10304
|
),
|
|
10096
10305
|
...gridProps,
|
|
10097
10306
|
children: [
|
|
10098
|
-
/* @__PURE__ */
|
|
10307
|
+
/* @__PURE__ */ jsx103(TableHeader, { stickyHeader, children: collection.headerRows.map((headerRow) => /* @__PURE__ */ jsx103(
|
|
10099
10308
|
TableHeaderRow,
|
|
10100
10309
|
{
|
|
10101
10310
|
item: headerRow,
|
|
@@ -10103,7 +10312,7 @@ var Table = ({
|
|
|
10103
10312
|
children: [...collection.getChildren(headerRow.key)].map(
|
|
10104
10313
|
(column2) => {
|
|
10105
10314
|
var _a, _b, _c, _d, _e;
|
|
10106
|
-
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10315
|
+
return ((_a = column2.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(
|
|
10107
10316
|
TableSelectAllCell,
|
|
10108
10317
|
{
|
|
10109
10318
|
width: (_b = column2.props) == null ? void 0 : _b.width,
|
|
@@ -10111,7 +10320,7 @@ var Table = ({
|
|
|
10111
10320
|
align: (_c = column2.props) == null ? void 0 : _c.align
|
|
10112
10321
|
},
|
|
10113
10322
|
column2.key
|
|
10114
|
-
) : /* @__PURE__ */
|
|
10323
|
+
) : /* @__PURE__ */ jsx103(
|
|
10115
10324
|
TableColumnHeader,
|
|
10116
10325
|
{
|
|
10117
10326
|
width: (_d = column2.props) == null ? void 0 : _d.width,
|
|
@@ -10125,12 +10334,12 @@ var Table = ({
|
|
|
10125
10334
|
},
|
|
10126
10335
|
headerRow.key
|
|
10127
10336
|
)) }),
|
|
10128
|
-
/* @__PURE__ */
|
|
10337
|
+
/* @__PURE__ */ jsxs39(TableBody, { className: classNames3.body, emptyState, children: [
|
|
10129
10338
|
...collection.rows.map(
|
|
10130
|
-
(row) => row.type === "item" && /* @__PURE__ */
|
|
10339
|
+
(row) => row.type === "item" && /* @__PURE__ */ jsx103(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
|
|
10131
10340
|
var _a, _b;
|
|
10132
10341
|
const currentColumn = collection.columns[index2];
|
|
10133
|
-
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */
|
|
10342
|
+
return ((_a = cell.props) == null ? void 0 : _a.isSelectionCell) ? /* @__PURE__ */ jsx103(TableCheckboxCell, { cell }, cell.key) : /* @__PURE__ */ jsx103(
|
|
10134
10343
|
TableCell,
|
|
10135
10344
|
{
|
|
10136
10345
|
align: (_b = currentColumn.props) == null ? void 0 : _b.align,
|
|
@@ -10156,7 +10365,7 @@ Table.Row = Row;
|
|
|
10156
10365
|
// src/Text/Text.tsx
|
|
10157
10366
|
import { Text as Text2 } from "react-aria-components";
|
|
10158
10367
|
import {
|
|
10159
|
-
cn as
|
|
10368
|
+
cn as cn62,
|
|
10160
10369
|
cursorStyle,
|
|
10161
10370
|
ensureCssVar as ensureCssVar2,
|
|
10162
10371
|
fontWeight,
|
|
@@ -10165,7 +10374,7 @@ import {
|
|
|
10165
10374
|
textStyle,
|
|
10166
10375
|
useClassNames as useClassNames56
|
|
10167
10376
|
} from "@marigold/system";
|
|
10168
|
-
import { jsx as
|
|
10377
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
10169
10378
|
var _Text = ({
|
|
10170
10379
|
variant,
|
|
10171
10380
|
size: size2,
|
|
@@ -10186,12 +10395,12 @@ var _Text = ({
|
|
|
10186
10395
|
});
|
|
10187
10396
|
const Component2 = props.slot ? Text2 : as;
|
|
10188
10397
|
const elementType = props.slot ? { elementType: as } : {};
|
|
10189
|
-
return /* @__PURE__ */
|
|
10398
|
+
return /* @__PURE__ */ jsx104(
|
|
10190
10399
|
Component2,
|
|
10191
10400
|
{
|
|
10192
10401
|
...props,
|
|
10193
10402
|
...elementType,
|
|
10194
|
-
className:
|
|
10403
|
+
className: cn62(
|
|
10195
10404
|
"max-w-(--maxTextWidth)",
|
|
10196
10405
|
// possibly set by a <Container>
|
|
10197
10406
|
classNames3,
|
|
@@ -10208,11 +10417,11 @@ var _Text = ({
|
|
|
10208
10417
|
};
|
|
10209
10418
|
|
|
10210
10419
|
// src/TextArea/TextArea.tsx
|
|
10211
|
-
import { forwardRef as
|
|
10420
|
+
import { forwardRef as forwardRef30 } from "react";
|
|
10212
10421
|
import { TextArea, TextField } from "react-aria-components";
|
|
10213
10422
|
import { useClassNames as useClassNames57 } from "@marigold/system";
|
|
10214
|
-
import { jsx as
|
|
10215
|
-
var _TextArea =
|
|
10423
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10424
|
+
var _TextArea = forwardRef30(
|
|
10216
10425
|
({
|
|
10217
10426
|
variant,
|
|
10218
10427
|
size: size2,
|
|
@@ -10231,15 +10440,15 @@ var _TextArea = forwardRef29(
|
|
|
10231
10440
|
isRequired: required,
|
|
10232
10441
|
...rest
|
|
10233
10442
|
};
|
|
10234
|
-
return /* @__PURE__ */
|
|
10443
|
+
return /* @__PURE__ */ jsx105(FieldBase, { as: TextField, ...props, variant, size: size2, children: /* @__PURE__ */ jsx105(TextArea, { className: classNames3, ref, rows }) });
|
|
10235
10444
|
}
|
|
10236
10445
|
);
|
|
10237
10446
|
|
|
10238
10447
|
// src/TextField/TextField.tsx
|
|
10239
|
-
import { forwardRef as
|
|
10448
|
+
import { forwardRef as forwardRef31 } from "react";
|
|
10240
10449
|
import { TextField as TextField2 } from "react-aria-components";
|
|
10241
|
-
import { jsx as
|
|
10242
|
-
var _TextField =
|
|
10450
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
10451
|
+
var _TextField = forwardRef31(
|
|
10243
10452
|
({ required, disabled, readOnly, error, ...rest }, ref) => {
|
|
10244
10453
|
const props = {
|
|
10245
10454
|
isDisabled: disabled,
|
|
@@ -10248,13 +10457,13 @@ var _TextField = forwardRef30(
|
|
|
10248
10457
|
isRequired: required,
|
|
10249
10458
|
...rest
|
|
10250
10459
|
};
|
|
10251
|
-
return /* @__PURE__ */
|
|
10460
|
+
return /* @__PURE__ */ jsx106(FieldBase, { as: TextField2, ...props, children: /* @__PURE__ */ jsx106(_Input, { ref }) });
|
|
10252
10461
|
}
|
|
10253
10462
|
);
|
|
10254
10463
|
|
|
10255
10464
|
// src/Tiles/Tiles.tsx
|
|
10256
|
-
import { cn as
|
|
10257
|
-
import { jsx as
|
|
10465
|
+
import { cn as cn63, createVar as createVar9, gapSpace as gapSpace9 } from "@marigold/system";
|
|
10466
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
10258
10467
|
var Tiles = ({
|
|
10259
10468
|
space = 0,
|
|
10260
10469
|
stretch = false,
|
|
@@ -10267,11 +10476,11 @@ var Tiles = ({
|
|
|
10267
10476
|
if (stretch) {
|
|
10268
10477
|
column2 = `minmax(${column2}, 1fr)`;
|
|
10269
10478
|
}
|
|
10270
|
-
return /* @__PURE__ */
|
|
10479
|
+
return /* @__PURE__ */ jsx107(
|
|
10271
10480
|
"div",
|
|
10272
10481
|
{
|
|
10273
10482
|
...props,
|
|
10274
|
-
className:
|
|
10483
|
+
className: cn63(
|
|
10275
10484
|
"grid",
|
|
10276
10485
|
gapSpace9[space],
|
|
10277
10486
|
"grid-cols-[repeat(auto-fit,var(--column))]",
|
|
@@ -10285,11 +10494,11 @@ var Tiles = ({
|
|
|
10285
10494
|
|
|
10286
10495
|
// src/Tooltip/Tooltip.tsx
|
|
10287
10496
|
import { OverlayArrow, Tooltip } from "react-aria-components";
|
|
10288
|
-
import { cn as
|
|
10497
|
+
import { cn as cn64, useClassNames as useClassNames58 } from "@marigold/system";
|
|
10289
10498
|
|
|
10290
10499
|
// src/Tooltip/TooltipTrigger.tsx
|
|
10291
10500
|
import { TooltipTrigger } from "react-aria-components";
|
|
10292
|
-
import { jsx as
|
|
10501
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
10293
10502
|
var _TooltipTrigger = ({
|
|
10294
10503
|
delay = 1e3,
|
|
10295
10504
|
children,
|
|
@@ -10303,11 +10512,11 @@ var _TooltipTrigger = ({
|
|
|
10303
10512
|
isOpen: open,
|
|
10304
10513
|
delay
|
|
10305
10514
|
};
|
|
10306
|
-
return /* @__PURE__ */
|
|
10515
|
+
return /* @__PURE__ */ jsx108(TooltipTrigger, { ...props, children });
|
|
10307
10516
|
};
|
|
10308
10517
|
|
|
10309
10518
|
// src/Tooltip/Tooltip.tsx
|
|
10310
|
-
import { jsx as
|
|
10519
|
+
import { jsx as jsx109, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
10311
10520
|
var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
10312
10521
|
const props = {
|
|
10313
10522
|
...rest,
|
|
@@ -10315,14 +10524,14 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
|
10315
10524
|
};
|
|
10316
10525
|
const classNames3 = useClassNames58({ component: "Tooltip", variant, size: size2 });
|
|
10317
10526
|
const portal = usePortalContainer();
|
|
10318
|
-
return /* @__PURE__ */
|
|
10527
|
+
return /* @__PURE__ */ jsxs40(
|
|
10319
10528
|
Tooltip,
|
|
10320
10529
|
{
|
|
10321
10530
|
...props,
|
|
10322
|
-
className:
|
|
10531
|
+
className: cn64("group/tooltip", classNames3.container),
|
|
10323
10532
|
UNSTABLE_portalContainer: portal,
|
|
10324
10533
|
children: [
|
|
10325
|
-
/* @__PURE__ */
|
|
10534
|
+
/* @__PURE__ */ jsx109(OverlayArrow, { className: classNames3.arrow, children: /* @__PURE__ */ jsx109("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx109("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
10326
10535
|
children
|
|
10327
10536
|
]
|
|
10328
10537
|
}
|
|
@@ -10332,12 +10541,12 @@ _Tooltip.Trigger = _TooltipTrigger;
|
|
|
10332
10541
|
|
|
10333
10542
|
// src/TagGroup/Tag.tsx
|
|
10334
10543
|
import { Button as Button7, Tag } from "react-aria-components";
|
|
10335
|
-
import { cn as
|
|
10544
|
+
import { cn as cn65, useClassNames as useClassNames60 } from "@marigold/system";
|
|
10336
10545
|
|
|
10337
10546
|
// src/TagGroup/TagGroup.tsx
|
|
10338
10547
|
import { TagGroup, TagList } from "react-aria-components";
|
|
10339
10548
|
import { useClassNames as useClassNames59 } from "@marigold/system";
|
|
10340
|
-
import { jsx as
|
|
10549
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
10341
10550
|
var _TagGroup = ({
|
|
10342
10551
|
width,
|
|
10343
10552
|
items,
|
|
@@ -10348,7 +10557,7 @@ var _TagGroup = ({
|
|
|
10348
10557
|
...rest
|
|
10349
10558
|
}) => {
|
|
10350
10559
|
const classNames3 = useClassNames59({ component: "Tag", variant, size: size2 });
|
|
10351
|
-
return /* @__PURE__ */
|
|
10560
|
+
return /* @__PURE__ */ jsx110(FieldBase, { as: TagGroup, ...rest, children: /* @__PURE__ */ jsx110(
|
|
10352
10561
|
TagList,
|
|
10353
10562
|
{
|
|
10354
10563
|
items,
|
|
@@ -10360,9 +10569,9 @@ var _TagGroup = ({
|
|
|
10360
10569
|
};
|
|
10361
10570
|
|
|
10362
10571
|
// src/TagGroup/Tag.tsx
|
|
10363
|
-
import { Fragment as Fragment11, jsx as
|
|
10572
|
+
import { Fragment as Fragment11, jsx as jsx111, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
10364
10573
|
var CloseButton2 = ({ className }) => {
|
|
10365
|
-
return /* @__PURE__ */
|
|
10574
|
+
return /* @__PURE__ */ jsx111(Button7, { slot: "remove", className, children: /* @__PURE__ */ jsx111("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx111("path", { d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" }) }) });
|
|
10366
10575
|
};
|
|
10367
10576
|
var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
10368
10577
|
let textValue = typeof children === "string" ? children : void 0;
|
|
@@ -10371,18 +10580,18 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
|
10371
10580
|
isDisabled: disabled,
|
|
10372
10581
|
...rest
|
|
10373
10582
|
};
|
|
10374
|
-
return /* @__PURE__ */
|
|
10583
|
+
return /* @__PURE__ */ jsx111(
|
|
10375
10584
|
Tag,
|
|
10376
10585
|
{
|
|
10377
10586
|
textValue,
|
|
10378
10587
|
...props,
|
|
10379
|
-
className:
|
|
10380
|
-
children: ({ allowsRemoving }) => /* @__PURE__ */
|
|
10588
|
+
className: cn65("data-selection-mode:cursor-pointer", classNames3.tag),
|
|
10589
|
+
children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs41(Fragment11, { children: [
|
|
10381
10590
|
children,
|
|
10382
|
-
allowsRemoving && /* @__PURE__ */
|
|
10591
|
+
allowsRemoving && /* @__PURE__ */ jsx111(
|
|
10383
10592
|
CloseButton2,
|
|
10384
10593
|
{
|
|
10385
|
-
className:
|
|
10594
|
+
className: cn65("flex items-center", classNames3.closeButton)
|
|
10386
10595
|
}
|
|
10387
10596
|
)
|
|
10388
10597
|
] })
|
|
@@ -10415,7 +10624,7 @@ var intlMessages2 = {
|
|
|
10415
10624
|
};
|
|
10416
10625
|
|
|
10417
10626
|
// src/XLoader/BaseLoader.tsx
|
|
10418
|
-
import { jsx as
|
|
10627
|
+
import { jsx as jsx112, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
10419
10628
|
var BaseLoader = ({
|
|
10420
10629
|
variant,
|
|
10421
10630
|
size: size2,
|
|
@@ -10425,7 +10634,7 @@ var BaseLoader = ({
|
|
|
10425
10634
|
}) => {
|
|
10426
10635
|
const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
|
|
10427
10636
|
const className = useClassNames61({ component: "XLoader", variant, size: size2 });
|
|
10428
|
-
return /* @__PURE__ */
|
|
10637
|
+
return /* @__PURE__ */ jsxs42(
|
|
10429
10638
|
ProgressBar2,
|
|
10430
10639
|
{
|
|
10431
10640
|
className: className.container,
|
|
@@ -10433,7 +10642,7 @@ var BaseLoader = ({
|
|
|
10433
10642
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
10434
10643
|
...props,
|
|
10435
10644
|
children: [
|
|
10436
|
-
/* @__PURE__ */
|
|
10645
|
+
/* @__PURE__ */ jsxs42(
|
|
10437
10646
|
"svg",
|
|
10438
10647
|
{
|
|
10439
10648
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10441,13 +10650,13 @@ var BaseLoader = ({
|
|
|
10441
10650
|
fill: "currentColor",
|
|
10442
10651
|
className: className.loader,
|
|
10443
10652
|
children: [
|
|
10444
|
-
/* @__PURE__ */
|
|
10445
|
-
/* @__PURE__ */
|
|
10653
|
+
/* @__PURE__ */ jsx112("path", { id: "XMLID_1_", d: "M35.3 27h26.5l54 74.1H88.7z" }),
|
|
10654
|
+
/* @__PURE__ */ jsx112(
|
|
10446
10655
|
"path",
|
|
10447
10656
|
{
|
|
10448
10657
|
id: "XMLID_5_",
|
|
10449
10658
|
d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10450
|
-
children: /* @__PURE__ */
|
|
10659
|
+
children: /* @__PURE__ */ jsx112(
|
|
10451
10660
|
"animate",
|
|
10452
10661
|
{
|
|
10453
10662
|
attributeName: "opacity",
|
|
@@ -10460,12 +10669,12 @@ var BaseLoader = ({
|
|
|
10460
10669
|
)
|
|
10461
10670
|
}
|
|
10462
10671
|
),
|
|
10463
|
-
/* @__PURE__ */
|
|
10672
|
+
/* @__PURE__ */ jsx112(
|
|
10464
10673
|
"path",
|
|
10465
10674
|
{
|
|
10466
10675
|
id: "XMLID_18_",
|
|
10467
10676
|
d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10468
|
-
children: /* @__PURE__ */
|
|
10677
|
+
children: /* @__PURE__ */ jsx112(
|
|
10469
10678
|
"animate",
|
|
10470
10679
|
{
|
|
10471
10680
|
attributeName: "opacity",
|
|
@@ -10478,12 +10687,12 @@ var BaseLoader = ({
|
|
|
10478
10687
|
)
|
|
10479
10688
|
}
|
|
10480
10689
|
),
|
|
10481
|
-
/* @__PURE__ */
|
|
10690
|
+
/* @__PURE__ */ jsx112(
|
|
10482
10691
|
"path",
|
|
10483
10692
|
{
|
|
10484
10693
|
id: "XMLID_19_",
|
|
10485
10694
|
d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10486
|
-
children: /* @__PURE__ */
|
|
10695
|
+
children: /* @__PURE__ */ jsx112(
|
|
10487
10696
|
"animate",
|
|
10488
10697
|
{
|
|
10489
10698
|
attributeName: "opacity",
|
|
@@ -10496,12 +10705,12 @@ var BaseLoader = ({
|
|
|
10496
10705
|
)
|
|
10497
10706
|
}
|
|
10498
10707
|
),
|
|
10499
|
-
/* @__PURE__ */
|
|
10708
|
+
/* @__PURE__ */ jsx112(
|
|
10500
10709
|
"path",
|
|
10501
10710
|
{
|
|
10502
10711
|
id: "XMLID_20_",
|
|
10503
10712
|
d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10504
|
-
children: /* @__PURE__ */
|
|
10713
|
+
children: /* @__PURE__ */ jsx112(
|
|
10505
10714
|
"animate",
|
|
10506
10715
|
{
|
|
10507
10716
|
attributeName: "opacity",
|
|
@@ -10514,12 +10723,12 @@ var BaseLoader = ({
|
|
|
10514
10723
|
)
|
|
10515
10724
|
}
|
|
10516
10725
|
),
|
|
10517
|
-
/* @__PURE__ */
|
|
10726
|
+
/* @__PURE__ */ jsx112(
|
|
10518
10727
|
"path",
|
|
10519
10728
|
{
|
|
10520
10729
|
id: "XMLID_21_",
|
|
10521
10730
|
d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
|
|
10522
|
-
children: /* @__PURE__ */
|
|
10731
|
+
children: /* @__PURE__ */ jsx112(
|
|
10523
10732
|
"animate",
|
|
10524
10733
|
{
|
|
10525
10734
|
attributeName: "opacity",
|
|
@@ -10532,12 +10741,12 @@ var BaseLoader = ({
|
|
|
10532
10741
|
)
|
|
10533
10742
|
}
|
|
10534
10743
|
),
|
|
10535
|
-
/* @__PURE__ */
|
|
10744
|
+
/* @__PURE__ */ jsx112(
|
|
10536
10745
|
"path",
|
|
10537
10746
|
{
|
|
10538
10747
|
id: "XMLID_22_",
|
|
10539
10748
|
d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
|
|
10540
|
-
children: /* @__PURE__ */
|
|
10749
|
+
children: /* @__PURE__ */ jsx112(
|
|
10541
10750
|
"animate",
|
|
10542
10751
|
{
|
|
10543
10752
|
attributeName: "opacity",
|
|
@@ -10550,12 +10759,12 @@ var BaseLoader = ({
|
|
|
10550
10759
|
)
|
|
10551
10760
|
}
|
|
10552
10761
|
),
|
|
10553
|
-
/* @__PURE__ */
|
|
10762
|
+
/* @__PURE__ */ jsx112(
|
|
10554
10763
|
"path",
|
|
10555
10764
|
{
|
|
10556
10765
|
id: "XMLID_23_",
|
|
10557
10766
|
d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10558
|
-
children: /* @__PURE__ */
|
|
10767
|
+
children: /* @__PURE__ */ jsx112(
|
|
10559
10768
|
"animate",
|
|
10560
10769
|
{
|
|
10561
10770
|
attributeName: "opacity",
|
|
@@ -10568,12 +10777,12 @@ var BaseLoader = ({
|
|
|
10568
10777
|
)
|
|
10569
10778
|
}
|
|
10570
10779
|
),
|
|
10571
|
-
/* @__PURE__ */
|
|
10780
|
+
/* @__PURE__ */ jsx112(
|
|
10572
10781
|
"path",
|
|
10573
10782
|
{
|
|
10574
10783
|
id: "XMLID_24_",
|
|
10575
10784
|
d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10576
|
-
children: /* @__PURE__ */
|
|
10785
|
+
children: /* @__PURE__ */ jsx112(
|
|
10577
10786
|
"animate",
|
|
10578
10787
|
{
|
|
10579
10788
|
attributeName: "opacity",
|
|
@@ -10586,12 +10795,12 @@ var BaseLoader = ({
|
|
|
10586
10795
|
)
|
|
10587
10796
|
}
|
|
10588
10797
|
),
|
|
10589
|
-
/* @__PURE__ */
|
|
10798
|
+
/* @__PURE__ */ jsx112(
|
|
10590
10799
|
"path",
|
|
10591
10800
|
{
|
|
10592
10801
|
id: "XMLID_25_",
|
|
10593
10802
|
d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10594
|
-
children: /* @__PURE__ */
|
|
10803
|
+
children: /* @__PURE__ */ jsx112(
|
|
10595
10804
|
"animate",
|
|
10596
10805
|
{
|
|
10597
10806
|
attributeName: "opacity",
|
|
@@ -10604,12 +10813,12 @@ var BaseLoader = ({
|
|
|
10604
10813
|
)
|
|
10605
10814
|
}
|
|
10606
10815
|
),
|
|
10607
|
-
/* @__PURE__ */
|
|
10816
|
+
/* @__PURE__ */ jsx112(
|
|
10608
10817
|
"path",
|
|
10609
10818
|
{
|
|
10610
10819
|
id: "XMLID_26_",
|
|
10611
10820
|
d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10612
|
-
children: /* @__PURE__ */
|
|
10821
|
+
children: /* @__PURE__ */ jsx112(
|
|
10613
10822
|
"animate",
|
|
10614
10823
|
{
|
|
10615
10824
|
attributeName: "opacity",
|
|
@@ -10622,12 +10831,12 @@ var BaseLoader = ({
|
|
|
10622
10831
|
)
|
|
10623
10832
|
}
|
|
10624
10833
|
),
|
|
10625
|
-
/* @__PURE__ */
|
|
10834
|
+
/* @__PURE__ */ jsx112(
|
|
10626
10835
|
"path",
|
|
10627
10836
|
{
|
|
10628
10837
|
id: "XMLID_27_",
|
|
10629
10838
|
d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10630
|
-
children: /* @__PURE__ */
|
|
10839
|
+
children: /* @__PURE__ */ jsx112(
|
|
10631
10840
|
"animate",
|
|
10632
10841
|
{
|
|
10633
10842
|
attributeName: "opacity",
|
|
@@ -10643,17 +10852,17 @@ var BaseLoader = ({
|
|
|
10643
10852
|
]
|
|
10644
10853
|
}
|
|
10645
10854
|
),
|
|
10646
|
-
children ? /* @__PURE__ */
|
|
10855
|
+
children ? /* @__PURE__ */ jsx112(Label2, { className: className.label, children }) : null
|
|
10647
10856
|
]
|
|
10648
10857
|
}
|
|
10649
10858
|
);
|
|
10650
10859
|
};
|
|
10651
10860
|
|
|
10652
10861
|
// src/XLoader/XLoader.tsx
|
|
10653
|
-
import { jsx as
|
|
10862
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
10654
10863
|
var LoaderFullScreen = (props) => {
|
|
10655
10864
|
const id = useId2();
|
|
10656
|
-
return /* @__PURE__ */
|
|
10865
|
+
return /* @__PURE__ */ jsx113(Underlay, { defaultOpen: true, keyboardDismissable: true, variant: "modal", children: /* @__PURE__ */ jsx113(Modal2, { className: "grid h-(--visual-viewport-height) cursor-progress place-items-center", children: /* @__PURE__ */ jsx113(Dialog3, { className: "outline-0", "aria-labelledby": id, children: /* @__PURE__ */ jsx113(BaseLoader, { id, ...props }) }) }) });
|
|
10657
10866
|
};
|
|
10658
10867
|
var LoaderSection = (props) => {
|
|
10659
10868
|
const className = useClassNames62({
|
|
@@ -10661,30 +10870,30 @@ var LoaderSection = (props) => {
|
|
|
10661
10870
|
variant: "modal",
|
|
10662
10871
|
className: "flex size-full items-center justify-center"
|
|
10663
10872
|
});
|
|
10664
|
-
return /* @__PURE__ */
|
|
10873
|
+
return /* @__PURE__ */ jsx113("div", { className, children: /* @__PURE__ */ jsx113(BaseLoader, { ...props }) });
|
|
10665
10874
|
};
|
|
10666
|
-
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */
|
|
10875
|
+
var XLoader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx113(LoaderFullScreen, { variant: variant != null ? variant : "inverted", ...props }) : mode === "section" ? /* @__PURE__ */ jsx113(LoaderSection, { variant: variant != null ? variant : "inverted", ...props }) : /* @__PURE__ */ jsx113(BaseLoader, { variant, ...props });
|
|
10667
10876
|
|
|
10668
10877
|
// src/Tabs/Tabs.tsx
|
|
10669
10878
|
import { Tabs } from "react-aria-components";
|
|
10670
10879
|
import { useClassNames as useClassNames63 } from "@marigold/system";
|
|
10671
10880
|
|
|
10672
10881
|
// src/Tabs/Context.ts
|
|
10673
|
-
import { createContext as createContext13, useContext as
|
|
10882
|
+
import { createContext as createContext13, useContext as useContext23 } from "react";
|
|
10674
10883
|
var TabContext = createContext13({});
|
|
10675
|
-
var useTabContext = () =>
|
|
10884
|
+
var useTabContext = () => useContext23(TabContext);
|
|
10676
10885
|
|
|
10677
10886
|
// src/Tabs/Tab.tsx
|
|
10678
10887
|
import { Tab } from "react-aria-components";
|
|
10679
|
-
import { cn as
|
|
10680
|
-
import { jsx as
|
|
10888
|
+
import { cn as cn66 } from "@marigold/system";
|
|
10889
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
10681
10890
|
var _Tab = (props) => {
|
|
10682
10891
|
const { classNames: classNames3 } = useTabContext();
|
|
10683
|
-
return /* @__PURE__ */
|
|
10892
|
+
return /* @__PURE__ */ jsx114(
|
|
10684
10893
|
Tab,
|
|
10685
10894
|
{
|
|
10686
10895
|
...props,
|
|
10687
|
-
className:
|
|
10896
|
+
className: cn66(
|
|
10688
10897
|
"flex cursor-pointer justify-center aria-disabled:cursor-not-allowed",
|
|
10689
10898
|
classNames3.tab
|
|
10690
10899
|
),
|
|
@@ -10695,15 +10904,15 @@ var _Tab = (props) => {
|
|
|
10695
10904
|
|
|
10696
10905
|
// src/Tabs/TabList.tsx
|
|
10697
10906
|
import { TabList } from "react-aria-components";
|
|
10698
|
-
import { cn as
|
|
10699
|
-
import { jsx as
|
|
10907
|
+
import { cn as cn67, gapSpace as gapSpace10 } from "@marigold/system";
|
|
10908
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
10700
10909
|
var _TabList = ({ space = 2, ...props }) => {
|
|
10701
10910
|
const { classNames: classNames3 } = useTabContext();
|
|
10702
|
-
return /* @__PURE__ */
|
|
10911
|
+
return /* @__PURE__ */ jsx115(
|
|
10703
10912
|
TabList,
|
|
10704
10913
|
{
|
|
10705
10914
|
...props,
|
|
10706
|
-
className:
|
|
10915
|
+
className: cn67("flex", gapSpace10[space], classNames3.tabsList),
|
|
10707
10916
|
children: props.children
|
|
10708
10917
|
}
|
|
10709
10918
|
);
|
|
@@ -10711,14 +10920,14 @@ var _TabList = ({ space = 2, ...props }) => {
|
|
|
10711
10920
|
|
|
10712
10921
|
// src/Tabs/TabPanel.tsx
|
|
10713
10922
|
import { TabPanel } from "react-aria-components";
|
|
10714
|
-
import { jsx as
|
|
10923
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
10715
10924
|
var _TabPanel = (props) => {
|
|
10716
10925
|
const { classNames: classNames3 } = useTabContext();
|
|
10717
|
-
return /* @__PURE__ */
|
|
10926
|
+
return /* @__PURE__ */ jsx116(TabPanel, { ...props, className: classNames3.tabpanel, children: props.children });
|
|
10718
10927
|
};
|
|
10719
10928
|
|
|
10720
10929
|
// src/Tabs/Tabs.tsx
|
|
10721
|
-
import { jsx as
|
|
10930
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
10722
10931
|
var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
10723
10932
|
const props = {
|
|
10724
10933
|
isDisabled: disabled,
|
|
@@ -10729,7 +10938,7 @@ var _Tabs = ({ disabled, variant, size: size2 = "medium", ...rest }) => {
|
|
|
10729
10938
|
size: size2,
|
|
10730
10939
|
variant
|
|
10731
10940
|
});
|
|
10732
|
-
return /* @__PURE__ */
|
|
10941
|
+
return /* @__PURE__ */ jsx117(TabContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsx117(Tabs, { ...props, className: classNames3.container, children: props.children }) });
|
|
10733
10942
|
};
|
|
10734
10943
|
_Tabs.List = _TabList;
|
|
10735
10944
|
_Tabs.TabPanel = _TabPanel;
|
|
@@ -10781,6 +10990,7 @@ export {
|
|
|
10781
10990
|
_Menu as Menu,
|
|
10782
10991
|
_Modal as Modal,
|
|
10783
10992
|
Multiselect,
|
|
10993
|
+
NonModal,
|
|
10784
10994
|
_NumberField as NumberField,
|
|
10785
10995
|
OverlayContainerProvider,
|
|
10786
10996
|
_Pagination as Pagination,
|