@marigold/components 12.0.0 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +152 -106
- package/dist/index.mjs +242 -196
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
|
|
|
206
206
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
207
207
|
var Element2 = REACT_ELEMENT_TYPE;
|
|
208
208
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
209
|
-
var
|
|
209
|
+
var Fragment15 = REACT_FRAGMENT_TYPE;
|
|
210
210
|
var Lazy = REACT_LAZY_TYPE;
|
|
211
211
|
var Memo = REACT_MEMO_TYPE;
|
|
212
212
|
var Portal = REACT_PORTAL_TYPE;
|
|
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
|
|
|
265
265
|
exports.ContextProvider = ContextProvider;
|
|
266
266
|
exports.Element = Element2;
|
|
267
267
|
exports.ForwardRef = ForwardRef;
|
|
268
|
-
exports.Fragment =
|
|
268
|
+
exports.Fragment = Fragment15;
|
|
269
269
|
exports.Lazy = Lazy;
|
|
270
270
|
exports.Memo = Memo;
|
|
271
271
|
exports.Portal = Portal;
|
|
@@ -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.27.
|
|
395
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/extends.js
|
|
396
396
|
var require_extends = __commonJS({
|
|
397
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
397
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
412
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/typeof.js
|
|
413
413
|
var require_typeof = __commonJS({
|
|
414
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
414
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
428
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
429
429
|
var require_toPrimitive = __commonJS({
|
|
430
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
430
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
447
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
448
448
|
var require_toPropertyKey = __commonJS({
|
|
449
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
449
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
461
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
462
462
|
var require_defineProperty = __commonJS({
|
|
463
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
463
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
478
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
479
479
|
var require_objectSpread2 = __commonJS({
|
|
480
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
480
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
508
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
509
509
|
var require_arrayWithHoles = __commonJS({
|
|
510
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
510
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
519
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
520
520
|
var require_iterableToArrayLimit = __commonJS({
|
|
521
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
521
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
548
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
549
549
|
var require_arrayLikeToArray = __commonJS({
|
|
550
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
550
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
561
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
562
562
|
var require_unsupportedIterableToArray = __commonJS({
|
|
563
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
563
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
577
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
578
578
|
var require_nonIterableRest = __commonJS({
|
|
579
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
579
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
588
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
589
589
|
var require_slicedToArray = __commonJS({
|
|
590
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
590
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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,9 +600,9 @@ var require_slicedToArray = __commonJS({
|
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
602
|
|
|
603
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
603
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
604
604
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
605
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
605
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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 {};
|
|
@@ -617,9 +617,9 @@ var require_objectWithoutPropertiesLoose = __commonJS({
|
|
|
617
617
|
}
|
|
618
618
|
});
|
|
619
619
|
|
|
620
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
620
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
621
621
|
var require_objectWithoutProperties = __commonJS({
|
|
622
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
622
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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) {
|
|
@@ -635,9 +635,9 @@ var require_objectWithoutProperties = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
638
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
639
639
|
var require_classCallCheck = __commonJS({
|
|
640
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
640
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
649
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/createClass.js
|
|
650
650
|
var require_createClass = __commonJS({
|
|
651
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
651
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
669
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
670
670
|
var require_setPrototypeOf = __commonJS({
|
|
671
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
671
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
682
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/inherits.js
|
|
683
683
|
var require_inherits = __commonJS({
|
|
684
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
684
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
703
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
704
704
|
var require_getPrototypeOf = __commonJS({
|
|
705
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
705
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
716
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
|
|
717
717
|
var require_isNativeReflectConstruct = __commonJS({
|
|
718
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
718
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
734
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
735
735
|
var require_assertThisInitialized = __commonJS({
|
|
736
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
736
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
746
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
747
747
|
var require_possibleConstructorReturn = __commonJS({
|
|
748
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
748
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
761
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/createSuper.js
|
|
762
762
|
var require_createSuper = __commonJS({
|
|
763
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
763
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
783
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
784
784
|
var require_arrayWithoutHoles = __commonJS({
|
|
785
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
785
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
795
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
796
796
|
var require_iterableToArray = __commonJS({
|
|
797
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
797
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
806
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
807
807
|
var require_nonIterableSpread = __commonJS({
|
|
808
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
808
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
817
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
818
818
|
var require_toConsumableArray = __commonJS({
|
|
819
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
819
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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.27.
|
|
832
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
|
|
833
833
|
var require_taggedTemplateLiteral = __commonJS({
|
|
834
|
-
"../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
834
|
+
"../../node_modules/.pnpm/@babel+runtime@7.27.1/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, {
|
|
@@ -1307,19 +1307,39 @@ var useListBoxContext = () => useContext5(ListBoxContext);
|
|
|
1307
1307
|
|
|
1308
1308
|
// src/ListBox/ListBoxItem.tsx
|
|
1309
1309
|
import { ListBoxItem } from "react-aria-components";
|
|
1310
|
-
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1310
|
+
import { Fragment, jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1311
|
+
var CheckMark = ({ className }) => /* @__PURE__ */ jsx14("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx14(
|
|
1312
|
+
"path",
|
|
1313
|
+
{
|
|
1314
|
+
fill: "currentColor",
|
|
1315
|
+
stroke: "none",
|
|
1316
|
+
d: "M11.915 1.548 10.367 0 4.045 6.315 1.557 3.827 0 5.373l4.045 4.046 7.87-7.871Z"
|
|
1317
|
+
}
|
|
1318
|
+
) });
|
|
1311
1319
|
var _ListBoxItem = ({ ...props }) => {
|
|
1320
|
+
var _a;
|
|
1312
1321
|
const { classNames: classNames3 } = useListBoxContext();
|
|
1313
|
-
return /* @__PURE__ */ jsx14(
|
|
1322
|
+
return /* @__PURE__ */ jsx14(
|
|
1323
|
+
ListBoxItem,
|
|
1324
|
+
{
|
|
1325
|
+
...props,
|
|
1326
|
+
className: classNames3.item,
|
|
1327
|
+
textValue: (_a = props.textValue) != null ? _a : String(props.children),
|
|
1328
|
+
children: /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
1329
|
+
/* @__PURE__ */ jsx14(CheckMark, { className: "hidden" }),
|
|
1330
|
+
props.children
|
|
1331
|
+
] })
|
|
1332
|
+
}
|
|
1333
|
+
);
|
|
1314
1334
|
};
|
|
1315
1335
|
|
|
1316
1336
|
// src/ListBox/ListBoxSection.tsx
|
|
1317
1337
|
import { Header, ListBoxSection } from "react-aria-components";
|
|
1318
1338
|
import { cn as cn9 } from "@marigold/system";
|
|
1319
|
-
import { jsx as jsx15, jsxs as
|
|
1339
|
+
import { jsx as jsx15, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1320
1340
|
var _Section = ({ header, children, ...props }) => {
|
|
1321
1341
|
const { classNames: classNames3 } = useListBoxContext();
|
|
1322
|
-
return /* @__PURE__ */
|
|
1342
|
+
return /* @__PURE__ */ jsxs8(
|
|
1323
1343
|
ListBoxSection,
|
|
1324
1344
|
{
|
|
1325
1345
|
...props,
|
|
@@ -1428,7 +1448,7 @@ var Underlay = ({
|
|
|
1428
1448
|
};
|
|
1429
1449
|
|
|
1430
1450
|
// src/Overlay/Popover.tsx
|
|
1431
|
-
import { Fragment, jsx as jsx19, jsxs as
|
|
1451
|
+
import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1432
1452
|
var _Popover = forwardRef6(
|
|
1433
1453
|
({ keyboardDismissDisabled, placement, open, children, container, ...rest }, ref) => {
|
|
1434
1454
|
const props = {
|
|
@@ -1445,7 +1465,7 @@ var _Popover = forwardRef6(
|
|
|
1445
1465
|
});
|
|
1446
1466
|
const isSmallScreen = useSmallScreen();
|
|
1447
1467
|
const portal = usePortalContainer();
|
|
1448
|
-
return /* @__PURE__ */ jsx19(
|
|
1468
|
+
return /* @__PURE__ */ jsx19(Fragment2, { children: isSmallScreen ? /* @__PURE__ */ jsx19(Fragment2, { children: /* @__PURE__ */ jsxs9(
|
|
1449
1469
|
Popover,
|
|
1450
1470
|
{
|
|
1451
1471
|
ref,
|
|
@@ -1476,7 +1496,7 @@ var _Popover = forwardRef6(
|
|
|
1476
1496
|
);
|
|
1477
1497
|
|
|
1478
1498
|
// src/Autocomplete/Autocomplete.tsx
|
|
1479
|
-
import { jsx as jsx20, jsxs as
|
|
1499
|
+
import { jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1480
1500
|
var AutocompleteInput = ({
|
|
1481
1501
|
onSubmit,
|
|
1482
1502
|
onClear,
|
|
@@ -1538,7 +1558,7 @@ var _Autocomplete = forwardRef7(
|
|
|
1538
1558
|
isRequired: required,
|
|
1539
1559
|
...rest
|
|
1540
1560
|
};
|
|
1541
|
-
return /* @__PURE__ */
|
|
1561
|
+
return /* @__PURE__ */ jsxs10(FieldBase, { as: ComboBox, ref, ...props, children: [
|
|
1542
1562
|
/* @__PURE__ */ jsx20(AutocompleteInput, { onSubmit, onClear, ref }),
|
|
1543
1563
|
/* @__PURE__ */ jsx20(_Popover, { children: /* @__PURE__ */ jsx20(_ListBox, { children }) })
|
|
1544
1564
|
] });
|
|
@@ -1607,7 +1627,7 @@ import { jsx as jsx25 } from "react/jsx-runtime";
|
|
|
1607
1627
|
var SortUp = forwardRef11((props, ref) => /* @__PURE__ */ jsx25(SVG6, { ...props, viewBox: "0 0 24 24", ref, children: /* @__PURE__ */ jsx25("path", { d: "M16.9048 15.1491H7.12078C6.73856 15.1491 6.42188 14.8324 6.42188 14.4503C6.42188 14.2645 6.49827 14.0899 6.62934 13.9588L11.5214 9.06684C11.6524 8.93577 11.8272 8.85938 12.0128 8.85938C12.1984 8.85938 12.3731 8.93577 12.5042 9.06684L17.3962 13.9588C17.5273 14.0899 17.6037 14.2645 17.6037 14.4503C17.6037 14.8324 17.287 15.1491 16.9048 15.1491Z" }) }));
|
|
1608
1628
|
|
|
1609
1629
|
// src/ComboBox/ComboBox.tsx
|
|
1610
|
-
import { jsx as jsx26, jsxs as
|
|
1630
|
+
import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1611
1631
|
var _ComboBox = forwardRef12(
|
|
1612
1632
|
({
|
|
1613
1633
|
variant,
|
|
@@ -1633,7 +1653,7 @@ var _ComboBox = forwardRef12(
|
|
|
1633
1653
|
...rest
|
|
1634
1654
|
};
|
|
1635
1655
|
const classNames3 = useClassNames11({ component: "ComboBox", variant, size: size2 });
|
|
1636
|
-
return /* @__PURE__ */
|
|
1656
|
+
return /* @__PURE__ */ jsxs11(FieldBase, { as: ComboBox2, ref, ...props, children: [
|
|
1637
1657
|
/* @__PURE__ */ jsx26(
|
|
1638
1658
|
_Input,
|
|
1639
1659
|
{
|
|
@@ -1677,7 +1697,7 @@ import { cn as cn16, useClassNames as useClassNames15 } from "@marigold/system";
|
|
|
1677
1697
|
// src/ProgressCycle/ProgressCycle.tsx
|
|
1678
1698
|
import { ProgressBar } from "react-aria-components";
|
|
1679
1699
|
import { SVG as SVG7, cn as cn15, useClassNames as useClassNames14 } from "@marigold/system";
|
|
1680
|
-
import { jsx as jsx30, jsxs as
|
|
1700
|
+
import { jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1681
1701
|
var ProgressCycle = ({
|
|
1682
1702
|
size: size2 = "16",
|
|
1683
1703
|
...props
|
|
@@ -1690,7 +1710,7 @@ var ProgressCycle = ({
|
|
|
1690
1710
|
}
|
|
1691
1711
|
const radius = `calc(50% - ${strokeWidth / 2}px)`;
|
|
1692
1712
|
const classNames3 = useClassNames14({ component: "ProgressCycle" });
|
|
1693
|
-
return /* @__PURE__ */ jsx30(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */
|
|
1713
|
+
return /* @__PURE__ */ jsx30(ProgressBar, { ...props, "aria-label": "loading", isIndeterminate: true, children: /* @__PURE__ */ jsxs12(
|
|
1694
1714
|
SVG7,
|
|
1695
1715
|
{
|
|
1696
1716
|
className: "animate-rotate-spinner origin-center fill-none",
|
|
@@ -1731,7 +1751,7 @@ var ProgressCycle = ({
|
|
|
1731
1751
|
};
|
|
1732
1752
|
|
|
1733
1753
|
// src/Button/Button.tsx
|
|
1734
|
-
import { Fragment as
|
|
1754
|
+
import { Fragment as Fragment3, jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1735
1755
|
var _Button = forwardRef13(
|
|
1736
1756
|
({
|
|
1737
1757
|
children,
|
|
@@ -1762,7 +1782,7 @@ var _Button = forwardRef13(
|
|
|
1762
1782
|
),
|
|
1763
1783
|
isPending: loading,
|
|
1764
1784
|
isDisabled: disabled,
|
|
1765
|
-
children: loading ? /* @__PURE__ */
|
|
1785
|
+
children: loading ? /* @__PURE__ */ jsxs13(Fragment3, { children: [
|
|
1766
1786
|
/* @__PURE__ */ jsx31("span", { className: "absolute", children: /* @__PURE__ */ jsx31(ProgressCycle, {}) }),
|
|
1767
1787
|
/* @__PURE__ */ jsx31("span", { className: "invisible flex gap-[inherit]", children })
|
|
1768
1788
|
] }) : children
|
|
@@ -1852,10 +1872,10 @@ import { cn as cn20, useClassNames as useClassNames19 } from "@marigold/system";
|
|
|
1852
1872
|
|
|
1853
1873
|
// src/Checkbox/CheckBoxField.tsx
|
|
1854
1874
|
import { createVar as createVar5, useClassNames as useClassNames17 } from "@marigold/system";
|
|
1855
|
-
import { jsx as jsx34, jsxs as
|
|
1875
|
+
import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1856
1876
|
var CheckboxField = ({ children, labelWidth }) => {
|
|
1857
1877
|
const classNames3 = useClassNames17({ component: "Field" });
|
|
1858
|
-
return /* @__PURE__ */
|
|
1878
|
+
return /* @__PURE__ */ jsxs14("div", { className: classNames3, children: [
|
|
1859
1879
|
/* @__PURE__ */ jsx34("div", { className: "w-(--labelWidth)", style: createVar5({ labelWidth }) }),
|
|
1860
1880
|
children
|
|
1861
1881
|
] });
|
|
@@ -1915,8 +1935,8 @@ var _CheckboxGroup = ({
|
|
|
1915
1935
|
};
|
|
1916
1936
|
|
|
1917
1937
|
// src/Checkbox/Checkbox.tsx
|
|
1918
|
-
import { Fragment as
|
|
1919
|
-
var
|
|
1938
|
+
import { Fragment as Fragment4, jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1939
|
+
var CheckMark2 = () => /* @__PURE__ */ jsx36("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", children: /* @__PURE__ */ jsx36(
|
|
1920
1940
|
"path",
|
|
1921
1941
|
{
|
|
1922
1942
|
fill: "currentColor",
|
|
@@ -1945,7 +1965,7 @@ var Icon2 = ({ className, checked, indeterminate, ...props }) => {
|
|
|
1945
1965
|
className
|
|
1946
1966
|
),
|
|
1947
1967
|
...props,
|
|
1948
|
-
children: indeterminate ? /* @__PURE__ */ jsx36(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx36(
|
|
1968
|
+
children: indeterminate ? /* @__PURE__ */ jsx36(IndeterminateMark, {}) : checked ? /* @__PURE__ */ jsx36(CheckMark2, {}) : null
|
|
1949
1969
|
}
|
|
1950
1970
|
);
|
|
1951
1971
|
};
|
|
@@ -1990,7 +2010,7 @@ var _Checkbox = forwardRef14(
|
|
|
1990
2010
|
classNames3.container
|
|
1991
2011
|
),
|
|
1992
2012
|
...props,
|
|
1993
|
-
children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */
|
|
2013
|
+
children: ({ isSelected, isIndeterminate }) => /* @__PURE__ */ jsxs15(Fragment4, { children: [
|
|
1994
2014
|
/* @__PURE__ */ jsx36(
|
|
1995
2015
|
Icon2,
|
|
1996
2016
|
{
|
|
@@ -2242,7 +2262,7 @@ var useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
|
2242
2262
|
};
|
|
2243
2263
|
|
|
2244
2264
|
// src/Overlay/NonModal.tsx
|
|
2245
|
-
import { jsx as jsx41, jsxs as
|
|
2265
|
+
import { jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2246
2266
|
var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
2247
2267
|
const { nonModalProps } = useNonModal(props, state);
|
|
2248
2268
|
const ref = props.nonModalRef;
|
|
@@ -2262,7 +2282,7 @@ var NonModalInner = ({ state, isExiting, ...props }) => {
|
|
|
2262
2282
|
...renderProps.style,
|
|
2263
2283
|
"--visual-viewport-height": viewport.height + "px"
|
|
2264
2284
|
};
|
|
2265
|
-
const overlay = /* @__PURE__ */
|
|
2285
|
+
const overlay = /* @__PURE__ */ jsxs16(
|
|
2266
2286
|
"div",
|
|
2267
2287
|
{
|
|
2268
2288
|
...mergeProps(filterDOMProps(props), nonModalProps),
|
|
@@ -2373,7 +2393,7 @@ var _DialogTrigger = ({
|
|
|
2373
2393
|
};
|
|
2374
2394
|
|
|
2375
2395
|
// src/Dialog/Dialog.tsx
|
|
2376
|
-
import { jsx as jsx46, jsxs as
|
|
2396
|
+
import { jsx as jsx46, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2377
2397
|
var _Dialog = forwardRef18(
|
|
2378
2398
|
({ variant, size: size2, ...props }, ref) => {
|
|
2379
2399
|
var _a;
|
|
@@ -2395,7 +2415,7 @@ var _Dialog = forwardRef18(
|
|
|
2395
2415
|
keyboardDismissable: isKeyboardDismissDisabled,
|
|
2396
2416
|
open: isOpen,
|
|
2397
2417
|
size: size2,
|
|
2398
|
-
children: /* @__PURE__ */
|
|
2418
|
+
children: /* @__PURE__ */ jsxs17(
|
|
2399
2419
|
Dialog,
|
|
2400
2420
|
{
|
|
2401
2421
|
...props,
|
|
@@ -2543,7 +2563,7 @@ var DrawerTrigger = ({
|
|
|
2543
2563
|
}) => /* @__PURE__ */ jsx52(DialogTrigger2, { isOpen: open, ...props, children });
|
|
2544
2564
|
|
|
2545
2565
|
// src/Drawer/Drawer.tsx
|
|
2546
|
-
import { jsx as jsx53, jsxs as
|
|
2566
|
+
import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2547
2567
|
var Drawer = ({
|
|
2548
2568
|
children,
|
|
2549
2569
|
variant,
|
|
@@ -2566,7 +2586,7 @@ var Drawer = ({
|
|
|
2566
2586
|
className: classNames3.overlay,
|
|
2567
2587
|
open,
|
|
2568
2588
|
keyboardDismissable,
|
|
2569
|
-
children: /* @__PURE__ */ jsx53(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */
|
|
2589
|
+
children: /* @__PURE__ */ jsx53(DrawerContext.Provider, { value: { variant, size: size2 }, children: /* @__PURE__ */ jsxs18(
|
|
2570
2590
|
Dialog2,
|
|
2571
2591
|
{
|
|
2572
2592
|
...props,
|
|
@@ -2775,7 +2795,7 @@ import { useClassNames as useClassNames35 } from "@marigold/system";
|
|
|
2775
2795
|
// src/DateField/DateSegment.tsx
|
|
2776
2796
|
import { DateSegment } from "react-aria-components";
|
|
2777
2797
|
import { cn as cn38 } from "@marigold/system";
|
|
2778
|
-
import { Fragment as
|
|
2798
|
+
import { Fragment as Fragment5, jsx as jsx62, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2779
2799
|
var _DateSegment = ({ segment, ...props }) => {
|
|
2780
2800
|
return /* @__PURE__ */ jsx62(
|
|
2781
2801
|
DateSegment,
|
|
@@ -2785,7 +2805,7 @@ var _DateSegment = ({ segment, ...props }) => {
|
|
|
2785
2805
|
style: {
|
|
2786
2806
|
minWidth: segment.maxValue != null ? `${String(segment.maxValue).length}ch` : void 0
|
|
2787
2807
|
},
|
|
2788
|
-
children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */
|
|
2808
|
+
children: ({ text, placeholder, isPlaceholder }) => /* @__PURE__ */ jsxs19(Fragment5, { children: [
|
|
2789
2809
|
/* @__PURE__ */ jsx62(
|
|
2790
2810
|
"span",
|
|
2791
2811
|
{
|
|
@@ -2804,10 +2824,10 @@ var _DateSegment = ({ segment, ...props }) => {
|
|
|
2804
2824
|
};
|
|
2805
2825
|
|
|
2806
2826
|
// src/DateField/DateInput.tsx
|
|
2807
|
-
import { jsx as jsx63, jsxs as
|
|
2827
|
+
import { jsx as jsx63, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2808
2828
|
var _DateInput = ({ variant, size: size2, action, ...props }) => {
|
|
2809
2829
|
const classNames3 = useClassNames35({ component: "DateField", variant, size: size2 });
|
|
2810
|
-
return /* @__PURE__ */
|
|
2830
|
+
return /* @__PURE__ */ jsxs20(Group, { className: classNames3.field, children: [
|
|
2811
2831
|
/* @__PURE__ */ jsx63(DateInput, { className: "flex flex-1 items-center", ...props, children: (segment) => /* @__PURE__ */ jsx63(_DateSegment, { className: classNames3.segment, segment }) }),
|
|
2812
2832
|
action ? action : null
|
|
2813
2833
|
] });
|
|
@@ -2889,10 +2909,10 @@ function CalendarGridHeader(props) {
|
|
|
2889
2909
|
}
|
|
2890
2910
|
|
|
2891
2911
|
// src/Calendar/CalendarGrid.tsx
|
|
2892
|
-
import { jsx as jsx66, jsxs as
|
|
2912
|
+
import { jsx as jsx66, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2893
2913
|
var _CalendarGrid = () => {
|
|
2894
2914
|
const classNames3 = useClassNames37({ component: "Calendar" });
|
|
2895
|
-
return /* @__PURE__ */
|
|
2915
|
+
return /* @__PURE__ */ jsxs21(CalendarGrid, { className: classNames3.calendarGrid, children: [
|
|
2896
2916
|
/* @__PURE__ */ jsx66(CalendarGridHeader, {}),
|
|
2897
2917
|
/* @__PURE__ */ jsx66(CalendarGridBody, { children: (date) => /* @__PURE__ */ jsx66(
|
|
2898
2918
|
CalendarCell,
|
|
@@ -2929,7 +2949,7 @@ function useFormattedMonths(timeZone, focusedDate) {
|
|
|
2929
2949
|
}
|
|
2930
2950
|
|
|
2931
2951
|
// src/Calendar/CalendarListBox.tsx
|
|
2932
|
-
import { jsx as jsx67, jsxs as
|
|
2952
|
+
import { jsx as jsx67, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2933
2953
|
function CalendarListBox({
|
|
2934
2954
|
type,
|
|
2935
2955
|
isDisabled,
|
|
@@ -2939,7 +2959,7 @@ function CalendarListBox({
|
|
|
2939
2959
|
const months = useFormattedMonths(state.timeZone, state.focusedDate);
|
|
2940
2960
|
const buttonStyles = "flex items-center justify-between gap-1 overflow-hidden";
|
|
2941
2961
|
const { select: selectClassNames } = useClassNames38({ component: "Select" });
|
|
2942
|
-
return /* @__PURE__ */
|
|
2962
|
+
return /* @__PURE__ */ jsxs22(
|
|
2943
2963
|
"button",
|
|
2944
2964
|
{
|
|
2945
2965
|
disabled: isDisabled,
|
|
@@ -2956,10 +2976,10 @@ function CalendarListBox({
|
|
|
2956
2976
|
|
|
2957
2977
|
// src/Calendar/MonthControls.tsx
|
|
2958
2978
|
import { cn as cn41, useClassNames as useClassNames39 } from "@marigold/system";
|
|
2959
|
-
import { jsx as jsx68, jsxs as
|
|
2979
|
+
import { jsx as jsx68, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2960
2980
|
function MonthControls() {
|
|
2961
2981
|
const classNames3 = useClassNames39({ component: "Calendar" });
|
|
2962
|
-
return /* @__PURE__ */
|
|
2982
|
+
return /* @__PURE__ */ jsxs23(
|
|
2963
2983
|
"div",
|
|
2964
2984
|
{
|
|
2965
2985
|
className: cn41(
|
|
@@ -3104,7 +3124,7 @@ var YearListBox = ({ setSelectedDropdown }) => {
|
|
|
3104
3124
|
var YearListBox_default = YearListBox;
|
|
3105
3125
|
|
|
3106
3126
|
// src/Calendar/Calendar.tsx
|
|
3107
|
-
import { Fragment as
|
|
3127
|
+
import { Fragment as Fragment6, jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3108
3128
|
var _Calendar = ({
|
|
3109
3129
|
disabled,
|
|
3110
3130
|
readOnly,
|
|
@@ -3133,9 +3153,9 @@ var _Calendar = ({
|
|
|
3133
3153
|
classNames3.calendar
|
|
3134
3154
|
),
|
|
3135
3155
|
...props,
|
|
3136
|
-
children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */
|
|
3137
|
-
/* @__PURE__ */
|
|
3138
|
-
/* @__PURE__ */
|
|
3156
|
+
children: selectedDropdown ? ViewMap[selectedDropdown] : /* @__PURE__ */ jsxs24(Fragment6, { children: [
|
|
3157
|
+
/* @__PURE__ */ jsxs24("div", { className: "mb-4 flex items-center justify-between", children: [
|
|
3158
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex w-fit gap-4", children: [
|
|
3139
3159
|
/* @__PURE__ */ jsx71(
|
|
3140
3160
|
CalendarListBox,
|
|
3141
3161
|
{
|
|
@@ -3165,7 +3185,7 @@ var _Calendar = ({
|
|
|
3165
3185
|
import React6 from "react";
|
|
3166
3186
|
import { DatePicker, Dialog as Dialog3 } from "react-aria-components";
|
|
3167
3187
|
import { useClassNames as useClassNames41 } from "@marigold/system";
|
|
3168
|
-
import { jsx as jsx72, jsxs as
|
|
3188
|
+
import { jsx as jsx72, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3169
3189
|
var _DatePicker = React6.forwardRef(
|
|
3170
3190
|
({
|
|
3171
3191
|
dateUnavailable,
|
|
@@ -3194,7 +3214,7 @@ var _DatePicker = React6.forwardRef(
|
|
|
3194
3214
|
size: size2,
|
|
3195
3215
|
variant
|
|
3196
3216
|
});
|
|
3197
|
-
return /* @__PURE__ */
|
|
3217
|
+
return /* @__PURE__ */ jsxs25(
|
|
3198
3218
|
FieldBase,
|
|
3199
3219
|
{
|
|
3200
3220
|
as: DatePicker,
|
|
@@ -3293,7 +3313,7 @@ var List = ({
|
|
|
3293
3313
|
List.Item = ListItem;
|
|
3294
3314
|
|
|
3295
3315
|
// src/Menu/Menu.tsx
|
|
3296
|
-
import { Menu, MenuTrigger } from "react-aria-components";
|
|
3316
|
+
import { Button as Button6, Menu, MenuTrigger } from "react-aria-components";
|
|
3297
3317
|
import { useClassNames as useClassNames46 } from "@marigold/system";
|
|
3298
3318
|
|
|
3299
3319
|
// src/Menu/MenuItem.tsx
|
|
@@ -3308,17 +3328,17 @@ var _MenuItem = ({ children, ...props }) => {
|
|
|
3308
3328
|
// src/Menu/MenuSection.tsx
|
|
3309
3329
|
import { MenuSection } from "react-aria-components";
|
|
3310
3330
|
import { useClassNames as useClassNames45 } from "@marigold/system";
|
|
3311
|
-
import { jsx as jsx78, jsxs as
|
|
3331
|
+
import { jsx as jsx78, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3312
3332
|
var _MenuSection = ({ children, title, ...props }) => {
|
|
3313
3333
|
const className = useClassNames45({ component: "Menu" });
|
|
3314
|
-
return /* @__PURE__ */
|
|
3334
|
+
return /* @__PURE__ */ jsxs26(MenuSection, { ...props, children: [
|
|
3315
3335
|
/* @__PURE__ */ jsx78(_Header, { className: className.section, children: title }),
|
|
3316
3336
|
children
|
|
3317
3337
|
] });
|
|
3318
3338
|
};
|
|
3319
3339
|
|
|
3320
3340
|
// src/Menu/Menu.tsx
|
|
3321
|
-
import { jsx as jsx79, jsxs as
|
|
3341
|
+
import { jsx as jsx79, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3322
3342
|
var _Menu = ({
|
|
3323
3343
|
children,
|
|
3324
3344
|
label,
|
|
@@ -3331,8 +3351,16 @@ var _Menu = ({
|
|
|
3331
3351
|
...props
|
|
3332
3352
|
}) => {
|
|
3333
3353
|
const classNames3 = useClassNames46({ component: "Menu", variant, size: size2 });
|
|
3334
|
-
return /* @__PURE__ */
|
|
3335
|
-
/* @__PURE__ */ jsx79(
|
|
3354
|
+
return /* @__PURE__ */ jsxs27(MenuTrigger, { ...props, children: [
|
|
3355
|
+
/* @__PURE__ */ jsx79(
|
|
3356
|
+
Button6,
|
|
3357
|
+
{
|
|
3358
|
+
className: classNames3.button,
|
|
3359
|
+
"aria-label": ariaLabel,
|
|
3360
|
+
isDisabled: disabled,
|
|
3361
|
+
children: label
|
|
3362
|
+
}
|
|
3363
|
+
),
|
|
3336
3364
|
/* @__PURE__ */ jsx79(_Popover, { open, placement, children: /* @__PURE__ */ jsx79(Menu, { ...props, className: classNames3.container, children }) })
|
|
3337
3365
|
] });
|
|
3338
3366
|
};
|
|
@@ -3340,9 +3368,9 @@ _Menu.Item = _MenuItem;
|
|
|
3340
3368
|
_Menu.Section = _MenuSection;
|
|
3341
3369
|
|
|
3342
3370
|
// src/Menu/ActionMenu.tsx
|
|
3343
|
-
import { Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
|
|
3371
|
+
import { Button as Button7, Menu as Menu2, MenuTrigger as MenuTrigger2 } from "react-aria-components";
|
|
3344
3372
|
import { SVG as SVG8, useClassNames as useClassNames47 } from "@marigold/system";
|
|
3345
|
-
import { jsx as jsx80, jsxs as
|
|
3373
|
+
import { jsx as jsx80, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3346
3374
|
var ActionMenu = ({
|
|
3347
3375
|
variant,
|
|
3348
3376
|
size: size2,
|
|
@@ -3350,8 +3378,8 @@ var ActionMenu = ({
|
|
|
3350
3378
|
...props
|
|
3351
3379
|
}) => {
|
|
3352
3380
|
const classNames3 = useClassNames47({ component: "Menu", variant, size: size2 });
|
|
3353
|
-
return /* @__PURE__ */
|
|
3354
|
-
/* @__PURE__ */ jsx80(
|
|
3381
|
+
return /* @__PURE__ */ jsxs28(MenuTrigger2, { children: [
|
|
3382
|
+
/* @__PURE__ */ jsx80(Button7, { className: classNames3.button, isDisabled: disabled, children: /* @__PURE__ */ jsx80(SVG8, { viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx80("path", { d: "M12.0117 7.47656C13.2557 7.47656 14.2734 6.45879 14.2734 5.21484C14.2734 3.9709 13.2557 2.95312 12.0117 2.95312C10.7678 2.95312 9.75 3.9709 9.75 5.21484C9.75 6.45879 10.7678 7.47656 12.0117 7.47656ZM12.0117 9.73828C10.7678 9.73828 9.75 10.7561 9.75 12C9.75 13.2439 10.7678 14.2617 12.0117 14.2617C13.2557 14.2617 14.2734 13.2439 14.2734 12C14.2734 10.7561 13.2557 9.73828 12.0117 9.73828ZM12.0117 16.5234C10.7678 16.5234 9.75 17.5412 9.75 18.7852C9.75 20.0291 10.7678 21.0469 12.0117 21.0469C13.2557 21.0469 14.2734 20.0291 14.2734 18.7852C14.2734 17.5412 13.2557 16.5234 12.0117 16.5234Z" }) }) }),
|
|
3355
3383
|
/* @__PURE__ */ jsx80(_Popover, { children: /* @__PURE__ */ jsx80(Menu2, { ...props, className: classNames3.container, children: props.children }) })
|
|
3356
3384
|
] });
|
|
3357
3385
|
};
|
|
@@ -3385,7 +3413,7 @@ var SectionMessageTitle = ({ children }) => {
|
|
|
3385
3413
|
};
|
|
3386
3414
|
|
|
3387
3415
|
// src/SectionMessage/SectionMessage.tsx
|
|
3388
|
-
import { jsx as jsx83, jsxs as
|
|
3416
|
+
import { jsx as jsx83, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3389
3417
|
var icons = {
|
|
3390
3418
|
success: () => /* @__PURE__ */ jsx83(
|
|
3391
3419
|
"svg",
|
|
@@ -3478,7 +3506,7 @@ var SectionMessage = ({
|
|
|
3478
3506
|
}
|
|
3479
3507
|
};
|
|
3480
3508
|
if (!isCurrentlyVisible) return null;
|
|
3481
|
-
return /* @__PURE__ */ jsx83(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */
|
|
3509
|
+
return /* @__PURE__ */ jsx83(SectionMessageContext.Provider, { value: { classNames: classNames3 }, children: /* @__PURE__ */ jsxs29(
|
|
3482
3510
|
"div",
|
|
3483
3511
|
{
|
|
3484
3512
|
role: variant === "error" ? "alert" : void 0,
|
|
@@ -3506,7 +3534,7 @@ SectionMessage.Content = SectionMessageContent;
|
|
|
3506
3534
|
|
|
3507
3535
|
// src/Multiselect/Multiselect.tsx
|
|
3508
3536
|
import {
|
|
3509
|
-
Button as
|
|
3537
|
+
Button as Button8,
|
|
3510
3538
|
ButtonContext,
|
|
3511
3539
|
FieldErrorContext as FieldErrorContext2,
|
|
3512
3540
|
InputContext,
|
|
@@ -3514,7 +3542,7 @@ import {
|
|
|
3514
3542
|
Input as _Input2
|
|
3515
3543
|
} from "react-aria-components";
|
|
3516
3544
|
|
|
3517
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3545
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
3518
3546
|
function _typeof(o) {
|
|
3519
3547
|
"@babel/helpers - typeof";
|
|
3520
3548
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -3524,7 +3552,7 @@ function _typeof(o) {
|
|
|
3524
3552
|
}, _typeof(o);
|
|
3525
3553
|
}
|
|
3526
3554
|
|
|
3527
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3555
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
3528
3556
|
function toPrimitive(t, r) {
|
|
3529
3557
|
if ("object" != _typeof(t) || !t) return t;
|
|
3530
3558
|
var e = t[Symbol.toPrimitive];
|
|
@@ -3536,13 +3564,13 @@ function toPrimitive(t, r) {
|
|
|
3536
3564
|
return ("string" === r ? String : Number)(t);
|
|
3537
3565
|
}
|
|
3538
3566
|
|
|
3539
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3567
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
3540
3568
|
function toPropertyKey(t) {
|
|
3541
3569
|
var i = toPrimitive(t, "string");
|
|
3542
3570
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
3543
3571
|
}
|
|
3544
3572
|
|
|
3545
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3573
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
3546
3574
|
function _defineProperty(e, r, t) {
|
|
3547
3575
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
3548
3576
|
value: t,
|
|
@@ -3552,7 +3580,7 @@ function _defineProperty(e, r, t) {
|
|
|
3552
3580
|
}) : e[r] = t, e;
|
|
3553
3581
|
}
|
|
3554
3582
|
|
|
3555
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3583
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
3556
3584
|
function ownKeys(e, r) {
|
|
3557
3585
|
var t = Object.keys(e);
|
|
3558
3586
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3575,12 +3603,12 @@ function _objectSpread2(e) {
|
|
|
3575
3603
|
return e;
|
|
3576
3604
|
}
|
|
3577
3605
|
|
|
3578
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3606
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
3579
3607
|
function _arrayWithHoles(r) {
|
|
3580
3608
|
if (Array.isArray(r)) return r;
|
|
3581
3609
|
}
|
|
3582
3610
|
|
|
3583
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3611
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
3584
3612
|
function _iterableToArrayLimit(r, l) {
|
|
3585
3613
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3586
3614
|
if (null != t) {
|
|
@@ -3603,14 +3631,14 @@ function _iterableToArrayLimit(r, l) {
|
|
|
3603
3631
|
}
|
|
3604
3632
|
}
|
|
3605
3633
|
|
|
3606
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3634
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
3607
3635
|
function _arrayLikeToArray(r, a) {
|
|
3608
3636
|
(null == a || a > r.length) && (a = r.length);
|
|
3609
3637
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
3610
3638
|
return n;
|
|
3611
3639
|
}
|
|
3612
3640
|
|
|
3613
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3641
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
3614
3642
|
function _unsupportedIterableToArray(r, a) {
|
|
3615
3643
|
if (r) {
|
|
3616
3644
|
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
@@ -3619,17 +3647,17 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
3619
3647
|
}
|
|
3620
3648
|
}
|
|
3621
3649
|
|
|
3622
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3650
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
3623
3651
|
function _nonIterableRest() {
|
|
3624
3652
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3625
3653
|
}
|
|
3626
3654
|
|
|
3627
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3655
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
3628
3656
|
function _slicedToArray(r, e) {
|
|
3629
3657
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
3630
3658
|
}
|
|
3631
3659
|
|
|
3632
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3660
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
3633
3661
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
3634
3662
|
if (null == r) return {};
|
|
3635
3663
|
var t = {};
|
|
@@ -3640,7 +3668,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
3640
3668
|
return t;
|
|
3641
3669
|
}
|
|
3642
3670
|
|
|
3643
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3671
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
3644
3672
|
function _objectWithoutProperties(e, t) {
|
|
3645
3673
|
if (null == e) return {};
|
|
3646
3674
|
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
@@ -3651,7 +3679,7 @@ function _objectWithoutProperties(e, t) {
|
|
|
3651
3679
|
return i;
|
|
3652
3680
|
}
|
|
3653
3681
|
|
|
3654
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
3682
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js
|
|
3655
3683
|
import { useState as useState3, useCallback } from "react";
|
|
3656
3684
|
var _excluded = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
3657
3685
|
function useStateManager(_ref3) {
|
|
@@ -3698,7 +3726,7 @@ function useStateManager(_ref3) {
|
|
|
3698
3726
|
});
|
|
3699
3727
|
}
|
|
3700
3728
|
|
|
3701
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3729
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/extends.js
|
|
3702
3730
|
function _extends() {
|
|
3703
3731
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3704
3732
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -3709,16 +3737,16 @@ function _extends() {
|
|
|
3709
3737
|
}, _extends.apply(null, arguments);
|
|
3710
3738
|
}
|
|
3711
3739
|
|
|
3712
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
3740
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
|
|
3713
3741
|
import * as React11 from "react";
|
|
3714
3742
|
import { forwardRef as forwardRef23, useMemo as useMemo5 } from "react";
|
|
3715
3743
|
|
|
3716
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3744
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
3717
3745
|
function _classCallCheck(a, n) {
|
|
3718
3746
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
3719
3747
|
}
|
|
3720
3748
|
|
|
3721
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3749
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
3722
3750
|
function _defineProperties(e, r) {
|
|
3723
3751
|
for (var t = 0; t < r.length; t++) {
|
|
3724
3752
|
var o = r[t];
|
|
@@ -3731,14 +3759,14 @@ function _createClass(e, r, t) {
|
|
|
3731
3759
|
}), e;
|
|
3732
3760
|
}
|
|
3733
3761
|
|
|
3734
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3762
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
3735
3763
|
function _setPrototypeOf(t, e) {
|
|
3736
3764
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
3737
3765
|
return t2.__proto__ = e2, t2;
|
|
3738
3766
|
}, _setPrototypeOf(t, e);
|
|
3739
3767
|
}
|
|
3740
3768
|
|
|
3741
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3769
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
3742
3770
|
function _inherits(t, e) {
|
|
3743
3771
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
3744
3772
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -3752,14 +3780,14 @@ function _inherits(t, e) {
|
|
|
3752
3780
|
}), e && _setPrototypeOf(t, e);
|
|
3753
3781
|
}
|
|
3754
3782
|
|
|
3755
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3783
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
3756
3784
|
function _getPrototypeOf(t) {
|
|
3757
3785
|
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
3758
3786
|
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
3759
3787
|
}, _getPrototypeOf(t);
|
|
3760
3788
|
}
|
|
3761
3789
|
|
|
3762
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3790
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
3763
3791
|
function _isNativeReflectConstruct() {
|
|
3764
3792
|
try {
|
|
3765
3793
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
@@ -3771,20 +3799,20 @@ function _isNativeReflectConstruct() {
|
|
|
3771
3799
|
})();
|
|
3772
3800
|
}
|
|
3773
3801
|
|
|
3774
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3802
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
3775
3803
|
function _assertThisInitialized(e) {
|
|
3776
3804
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3777
3805
|
return e;
|
|
3778
3806
|
}
|
|
3779
3807
|
|
|
3780
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3808
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
3781
3809
|
function _possibleConstructorReturn(t, e) {
|
|
3782
3810
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
3783
3811
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
3784
3812
|
return _assertThisInitialized(t);
|
|
3785
3813
|
}
|
|
3786
3814
|
|
|
3787
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3815
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
3788
3816
|
function _createSuper(t) {
|
|
3789
3817
|
var r = _isNativeReflectConstruct();
|
|
3790
3818
|
return function() {
|
|
@@ -3797,31 +3825,31 @@ function _createSuper(t) {
|
|
|
3797
3825
|
};
|
|
3798
3826
|
}
|
|
3799
3827
|
|
|
3800
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3828
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
3801
3829
|
function _arrayWithoutHoles(r) {
|
|
3802
3830
|
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
3803
3831
|
}
|
|
3804
3832
|
|
|
3805
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3833
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
3806
3834
|
function _iterableToArray(r) {
|
|
3807
3835
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
3808
3836
|
}
|
|
3809
3837
|
|
|
3810
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3838
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
3811
3839
|
function _nonIterableSpread() {
|
|
3812
3840
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3813
3841
|
}
|
|
3814
3842
|
|
|
3815
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
3843
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
3816
3844
|
function _toConsumableArray(r) {
|
|
3817
3845
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
3818
3846
|
}
|
|
3819
3847
|
|
|
3820
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
3848
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
3821
3849
|
import * as React10 from "react";
|
|
3822
|
-
import { useMemo as useMemo4, Fragment as
|
|
3850
|
+
import { useMemo as useMemo4, Fragment as Fragment9, useRef as useRef6, useCallback as useCallback3, useEffect as useEffect3, Component } from "react";
|
|
3823
3851
|
|
|
3824
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
3852
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
3825
3853
|
import * as React8 from "react";
|
|
3826
3854
|
import { useContext as useContext19, forwardRef as forwardRef22 } from "react";
|
|
3827
3855
|
|
|
@@ -4995,7 +5023,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
4995
5023
|
var useInsertionEffect2 = React7["useInsertionEffect"] ? React7["useInsertionEffect"] : false;
|
|
4996
5024
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
4997
5025
|
|
|
4998
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5026
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
4999
5027
|
var isDevelopment3 = false;
|
|
5000
5028
|
var isBrowser4 = typeof document !== "undefined";
|
|
5001
5029
|
var EmotionCacheContext = /* @__PURE__ */ React8.createContext(
|
|
@@ -5099,7 +5127,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
5099
5127
|
});
|
|
5100
5128
|
var Emotion$1 = Emotion;
|
|
5101
5129
|
|
|
5102
|
-
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.
|
|
5130
|
+
// ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.1.3_react@19.1.0/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
5103
5131
|
import * as React9 from "react";
|
|
5104
5132
|
var import_extends2 = __toESM(require_extends());
|
|
5105
5133
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -5141,7 +5169,7 @@ function keyframes() {
|
|
|
5141
5169
|
};
|
|
5142
5170
|
}
|
|
5143
5171
|
|
|
5144
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.27.
|
|
5172
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.27.1/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js
|
|
5145
5173
|
function _taggedTemplateLiteral(e, t) {
|
|
5146
5174
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
5147
5175
|
raw: {
|
|
@@ -5150,7 +5178,7 @@ function _taggedTemplateLiteral(e, t) {
|
|
|
5150
5178
|
}));
|
|
5151
5179
|
}
|
|
5152
5180
|
|
|
5153
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
5181
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5154
5182
|
import { useContext as useContext21, useRef as useRef5, useState as useState4, useMemo as useMemo3, useCallback as useCallback2, createContext as createContext11 } from "react";
|
|
5155
5183
|
import { createPortal } from "react-dom";
|
|
5156
5184
|
|
|
@@ -5551,12 +5579,12 @@ function autoUpdate(reference, floating, update, options2) {
|
|
|
5551
5579
|
};
|
|
5552
5580
|
}
|
|
5553
5581
|
|
|
5554
|
-
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.
|
|
5582
|
+
// ../../node_modules/.pnpm/use-isomorphic-layout-effect@1.2.0_@types+react@19.1.3_react@19.1.0/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js
|
|
5555
5583
|
import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect2 } from "react";
|
|
5556
5584
|
var isClient = typeof document !== "undefined";
|
|
5557
5585
|
var index = isClient ? useLayoutEffect2 : useEffect2;
|
|
5558
5586
|
|
|
5559
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
5587
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/index-641ee5b8.esm.js
|
|
5560
5588
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
5561
5589
|
var noop = function noop2() {
|
|
5562
5590
|
};
|
|
@@ -6630,7 +6658,7 @@ function memoizeOne(resultFn, isEqual2) {
|
|
|
6630
6658
|
return memoized;
|
|
6631
6659
|
}
|
|
6632
6660
|
|
|
6633
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
6661
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/Select-aab027f3.esm.js
|
|
6634
6662
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() {
|
|
6635
6663
|
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).";
|
|
6636
6664
|
}
|
|
@@ -6779,7 +6807,7 @@ var LiveRegion = function LiveRegion2(props) {
|
|
|
6779
6807
|
}
|
|
6780
6808
|
return guidanceMsg;
|
|
6781
6809
|
}, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled3, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
|
|
6782
|
-
var ScreenReaderText = jsx84(
|
|
6810
|
+
var ScreenReaderText = jsx84(Fragment9, null, jsx84("span", {
|
|
6783
6811
|
id: "aria-selection"
|
|
6784
6812
|
}, ariaSelected), jsx84("span", {
|
|
6785
6813
|
id: "aria-focused"
|
|
@@ -6788,7 +6816,7 @@ var LiveRegion = function LiveRegion2(props) {
|
|
|
6788
6816
|
}, ariaResults), jsx84("span", {
|
|
6789
6817
|
id: "aria-guidance"
|
|
6790
6818
|
}, ariaGuidance));
|
|
6791
|
-
return jsx84(
|
|
6819
|
+
return jsx84(Fragment9, null, jsx84(A11yText$1, {
|
|
6792
6820
|
id
|
|
6793
6821
|
}, isInitialFocus && ScreenReaderText), jsx84(A11yText$1, {
|
|
6794
6822
|
"aria-live": ariaLive,
|
|
@@ -7345,7 +7373,7 @@ function ScrollManager(_ref3) {
|
|
|
7345
7373
|
setScrollCaptureTarget(element);
|
|
7346
7374
|
setScrollLockTarget(element);
|
|
7347
7375
|
};
|
|
7348
|
-
return jsx84(
|
|
7376
|
+
return jsx84(Fragment9, null, lockEnabled && jsx84("div", {
|
|
7349
7377
|
onClick: blurSelectInput,
|
|
7350
7378
|
css: _ref2$1
|
|
7351
7379
|
}), children(targetRef));
|
|
@@ -8926,7 +8954,7 @@ var Select = /* @__PURE__ */ function(_Component) {
|
|
|
8926
8954
|
}(Component);
|
|
8927
8955
|
Select.defaultProps = defaultProps;
|
|
8928
8956
|
|
|
8929
|
-
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.
|
|
8957
|
+
// ../../node_modules/.pnpm/react-select@5.10.1_@types+react@19.1.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-select/dist/react-select.esm.js
|
|
8930
8958
|
var import_objectSpread24 = __toESM(require_objectSpread2());
|
|
8931
8959
|
var import_slicedToArray3 = __toESM(require_slicedToArray());
|
|
8932
8960
|
var import_objectWithoutProperties4 = __toESM(require_objectWithoutProperties());
|
|
@@ -9012,7 +9040,7 @@ function $2baaea4c71418dea$export$294aa081a6c6f55d(props) {
|
|
|
9012
9040
|
// src/Multiselect/Multiselect.tsx
|
|
9013
9041
|
import { useId } from "@react-aria/utils";
|
|
9014
9042
|
import { cn as cn47, useClassNames as useClassNames49 } from "@marigold/system";
|
|
9015
|
-
import { jsx as jsx86, jsxs as
|
|
9043
|
+
import { jsx as jsx86, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
9016
9044
|
var propsToBeRemoved = [
|
|
9017
9045
|
"clearValue",
|
|
9018
9046
|
"getStyles",
|
|
@@ -9049,7 +9077,7 @@ var Input4 = ({ innerRef, placeholder, hasValue, ...props }) => {
|
|
|
9049
9077
|
);
|
|
9050
9078
|
};
|
|
9051
9079
|
var MultiValueRemove2 = ({ innerProps }) => {
|
|
9052
|
-
return /* @__PURE__ */ jsx86(
|
|
9080
|
+
return /* @__PURE__ */ jsx86(Button8, { slot: "remove", ...innerProps, children: /* @__PURE__ */ jsx86("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: 20, height: 20, children: /* @__PURE__ */ jsx86("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" }) }) });
|
|
9053
9081
|
};
|
|
9054
9082
|
var getClassNames = (classNames3) => ({
|
|
9055
9083
|
control: () => cn47(
|
|
@@ -9131,7 +9159,7 @@ var Multiselect = ({
|
|
|
9131
9159
|
}
|
|
9132
9160
|
]
|
|
9133
9161
|
],
|
|
9134
|
-
children: /* @__PURE__ */
|
|
9162
|
+
children: /* @__PURE__ */ jsxs30(
|
|
9135
9163
|
"div",
|
|
9136
9164
|
{
|
|
9137
9165
|
className: cn47(classNames3.field, "group/field"),
|
|
@@ -9154,7 +9182,7 @@ var Multiselect = ({
|
|
|
9154
9182
|
zIndex: 1
|
|
9155
9183
|
}),
|
|
9156
9184
|
// Return empty object to reset react-select styles
|
|
9157
|
-
valueContainer: (base) => ({ ...base
|
|
9185
|
+
valueContainer: (base) => ({ ...base }),
|
|
9158
9186
|
container: (base) => ({ ...base, pointerEvents: "auto" }),
|
|
9159
9187
|
menuList: () => ({}),
|
|
9160
9188
|
// eslint-disable-next-line no-empty-pattern
|
|
@@ -9202,7 +9230,7 @@ import { Group as Group4, Input as Input5, NumberField } from "react-aria-compon
|
|
|
9202
9230
|
import { cn as cn49, useClassNames as useClassNames50 } from "@marigold/system";
|
|
9203
9231
|
|
|
9204
9232
|
// src/NumberField/StepButton.tsx
|
|
9205
|
-
import { Button as
|
|
9233
|
+
import { Button as Button9 } from "react-aria-components";
|
|
9206
9234
|
import { cn as cn48 } from "@marigold/system";
|
|
9207
9235
|
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
9208
9236
|
var Plus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx87(
|
|
@@ -9224,7 +9252,7 @@ var Minus = () => /* @__PURE__ */ jsx87("svg", { width: 16, height: 16, viewBox:
|
|
|
9224
9252
|
var _StepButton = ({ direction, className, ...props }) => {
|
|
9225
9253
|
const Icon4 = direction === "up" ? Plus : Minus;
|
|
9226
9254
|
return /* @__PURE__ */ jsx87(
|
|
9227
|
-
|
|
9255
|
+
Button9,
|
|
9228
9256
|
{
|
|
9229
9257
|
className: cn48(
|
|
9230
9258
|
[
|
|
@@ -9240,7 +9268,7 @@ var _StepButton = ({ direction, className, ...props }) => {
|
|
|
9240
9268
|
};
|
|
9241
9269
|
|
|
9242
9270
|
// src/NumberField/NumberField.tsx
|
|
9243
|
-
import { jsx as jsx88, jsxs as
|
|
9271
|
+
import { jsx as jsx88, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
9244
9272
|
var _NumberField = forwardRef24(
|
|
9245
9273
|
({
|
|
9246
9274
|
variant,
|
|
@@ -9272,7 +9300,7 @@ var _NumberField = forwardRef24(
|
|
|
9272
9300
|
...props,
|
|
9273
9301
|
"data-readonly": readOnly ? "true" : void 0,
|
|
9274
9302
|
"data-stepper": showStepper ? "true" : void 0,
|
|
9275
|
-
children: /* @__PURE__ */
|
|
9303
|
+
children: /* @__PURE__ */ jsxs31(Group4, { className: cn49("flex items-stretch", classNames3.group), children: [
|
|
9276
9304
|
showStepper && /* @__PURE__ */ jsx88(
|
|
9277
9305
|
_StepButton,
|
|
9278
9306
|
{
|
|
@@ -9324,7 +9352,7 @@ var Ellipsis = () => {
|
|
|
9324
9352
|
import { useRef as useRef7 } from "react";
|
|
9325
9353
|
import { useButton as useButton2 } from "@react-aria/button";
|
|
9326
9354
|
import { cn as cn50, useClassNames as useClassNames51 } from "@marigold/system";
|
|
9327
|
-
import { jsxs as
|
|
9355
|
+
import { jsxs as jsxs32 } from "react/jsx-runtime";
|
|
9328
9356
|
var NavigationButton = (props) => {
|
|
9329
9357
|
const ref = useRef7(null);
|
|
9330
9358
|
const classNames3 = useClassNames51({
|
|
@@ -9340,7 +9368,7 @@ var NavigationButton = (props) => {
|
|
|
9340
9368
|
position: position2,
|
|
9341
9369
|
...rest
|
|
9342
9370
|
} = props;
|
|
9343
|
-
return /* @__PURE__ */
|
|
9371
|
+
return /* @__PURE__ */ jsxs32(
|
|
9344
9372
|
"button",
|
|
9345
9373
|
{
|
|
9346
9374
|
ref,
|
|
@@ -9417,7 +9445,7 @@ var usePageRange = ({ currentPage, totalPages }) => {
|
|
|
9417
9445
|
};
|
|
9418
9446
|
|
|
9419
9447
|
// src/Pagination/Pagination.tsx
|
|
9420
|
-
import { Fragment as
|
|
9448
|
+
import { Fragment as Fragment10, jsx as jsx91, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
9421
9449
|
var InnerPagination = ({
|
|
9422
9450
|
currentPage,
|
|
9423
9451
|
pageSize,
|
|
@@ -9457,7 +9485,7 @@ var InnerPagination = ({
|
|
|
9457
9485
|
onEnter();
|
|
9458
9486
|
}
|
|
9459
9487
|
};
|
|
9460
|
-
return /* @__PURE__ */
|
|
9488
|
+
return /* @__PURE__ */ jsxs33(Fragment10, { children: [
|
|
9461
9489
|
/* @__PURE__ */ jsx91(
|
|
9462
9490
|
NavigationButton,
|
|
9463
9491
|
{
|
|
@@ -9597,7 +9625,7 @@ var _RadioGroup = ({
|
|
|
9597
9625
|
};
|
|
9598
9626
|
|
|
9599
9627
|
// src/Radio/Radio.tsx
|
|
9600
|
-
import { Fragment as
|
|
9628
|
+
import { Fragment as Fragment11, jsx as jsx93, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
9601
9629
|
var Dot = () => /* @__PURE__ */ jsx93("svg", { viewBox: "0 0 6 6", children: /* @__PURE__ */ jsx93("circle", { fill: "currentColor", cx: "3", cy: "3", r: "3" }) });
|
|
9602
9630
|
var Icon3 = ({ checked, className, ...props }) => /* @__PURE__ */ jsx93(
|
|
9603
9631
|
"div",
|
|
@@ -9632,7 +9660,7 @@ var _Radio = forwardRef25(
|
|
|
9632
9660
|
value,
|
|
9633
9661
|
isDisabled: disabled,
|
|
9634
9662
|
...props,
|
|
9635
|
-
children: ({ isSelected }) => /* @__PURE__ */
|
|
9663
|
+
children: ({ isSelected }) => /* @__PURE__ */ jsxs34(Fragment11, { children: [
|
|
9636
9664
|
/* @__PURE__ */ jsx93(
|
|
9637
9665
|
Icon3,
|
|
9638
9666
|
{
|
|
@@ -9678,7 +9706,7 @@ var _SearchField = forwardRef26(
|
|
|
9678
9706
|
import { forwardRef as forwardRef27 } from "react";
|
|
9679
9707
|
import { Select as Select2, SelectValue } from "react-aria-components";
|
|
9680
9708
|
import { cn as cn53, useClassNames as useClassNames56 } from "@marigold/system";
|
|
9681
|
-
import { jsx as jsx95, jsxs as
|
|
9709
|
+
import { jsx as jsx95, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
9682
9710
|
var _Select = forwardRef27(
|
|
9683
9711
|
({
|
|
9684
9712
|
disabled,
|
|
@@ -9700,8 +9728,8 @@ var _Select = forwardRef27(
|
|
|
9700
9728
|
...rest
|
|
9701
9729
|
};
|
|
9702
9730
|
const classNames3 = useClassNames56({ component: "Select", variant, size: size2 });
|
|
9703
|
-
return /* @__PURE__ */
|
|
9704
|
-
/* @__PURE__ */
|
|
9731
|
+
return /* @__PURE__ */ jsxs35(FieldBase, { as: Select2, ref, variant, size: size2, ...props, children: [
|
|
9732
|
+
/* @__PURE__ */ jsxs35(
|
|
9705
9733
|
IconButton,
|
|
9706
9734
|
{
|
|
9707
9735
|
className: cn53(
|
|
@@ -9739,7 +9767,25 @@ var useSelectListContext = () => useContext23(SelectListContext);
|
|
|
9739
9767
|
import { forwardRef as forwardRef28 } from "react";
|
|
9740
9768
|
import { GridListItem as SelectListItem } from "react-aria-components";
|
|
9741
9769
|
import { cn as cn54 } from "@marigold/system";
|
|
9742
|
-
import { jsx as jsx96, jsxs as
|
|
9770
|
+
import { Fragment as Fragment12, jsx as jsx96, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
9771
|
+
var CheckMark3 = ({ className }) => /* @__PURE__ */ jsx96("svg", { width: "12px", height: "10px", viewBox: "0 0 12 10", className, children: /* @__PURE__ */ jsx96(
|
|
9772
|
+
"path",
|
|
9773
|
+
{
|
|
9774
|
+
fill: "currentColor",
|
|
9775
|
+
stroke: "none",
|
|
9776
|
+
d: "M11.915 1.548 10.367 0 4.045 6.315 1.557 3.827 0 5.373l4.045 4.046 7.87-7.871Z"
|
|
9777
|
+
}
|
|
9778
|
+
) });
|
|
9779
|
+
var SelectionIndicator = ({ selectionMode }) => {
|
|
9780
|
+
switch (selectionMode) {
|
|
9781
|
+
case "multiple": {
|
|
9782
|
+
return /* @__PURE__ */ jsx96(_Checkbox, { slot: "selection" });
|
|
9783
|
+
}
|
|
9784
|
+
case "single": {
|
|
9785
|
+
return /* @__PURE__ */ jsx96(CheckMark3, { className: "invisible hidden" });
|
|
9786
|
+
}
|
|
9787
|
+
}
|
|
9788
|
+
};
|
|
9743
9789
|
var _SelectListItem = forwardRef28(
|
|
9744
9790
|
({ children, ...props }, ref) => {
|
|
9745
9791
|
let textValue = typeof children === "string" ? children : void 0;
|
|
@@ -9749,10 +9795,10 @@ var _SelectListItem = forwardRef28(
|
|
|
9749
9795
|
{
|
|
9750
9796
|
textValue,
|
|
9751
9797
|
...props,
|
|
9752
|
-
className: cn54("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.
|
|
9798
|
+
className: cn54("group-[layout=grid]/list:flex-row", classNames3 == null ? void 0 : classNames3.item),
|
|
9753
9799
|
ref,
|
|
9754
|
-
children: ({ selectionMode }) => /* @__PURE__ */
|
|
9755
|
-
|
|
9800
|
+
children: ({ selectionMode }) => /* @__PURE__ */ jsxs36(Fragment12, { children: [
|
|
9801
|
+
/* @__PURE__ */ jsx96(SelectionIndicator, { selectionMode }),
|
|
9756
9802
|
children
|
|
9757
9803
|
] })
|
|
9758
9804
|
}
|
|
@@ -9817,7 +9863,7 @@ import {
|
|
|
9817
9863
|
width as twWidth3,
|
|
9818
9864
|
useClassNames as useClassNames58
|
|
9819
9865
|
} from "@marigold/system";
|
|
9820
|
-
import { Fragment as
|
|
9866
|
+
import { Fragment as Fragment13, jsx as jsx99, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
9821
9867
|
var _Slider = forwardRef30(
|
|
9822
9868
|
({
|
|
9823
9869
|
thumbLabels,
|
|
@@ -9837,7 +9883,7 @@ var _Slider = forwardRef30(
|
|
|
9837
9883
|
isDisabled: disabled,
|
|
9838
9884
|
...rest
|
|
9839
9885
|
};
|
|
9840
|
-
return /* @__PURE__ */
|
|
9886
|
+
return /* @__PURE__ */ jsxs37(
|
|
9841
9887
|
FieldBase,
|
|
9842
9888
|
{
|
|
9843
9889
|
as: Slider,
|
|
@@ -9855,7 +9901,7 @@ var _Slider = forwardRef30(
|
|
|
9855
9901
|
SliderTrack,
|
|
9856
9902
|
{
|
|
9857
9903
|
className: cn57("relative col-span-2 h-2 w-full", classNames3.track),
|
|
9858
|
-
children: ({ state }) => /* @__PURE__ */
|
|
9904
|
+
children: ({ state }) => /* @__PURE__ */ jsxs37(Fragment13, { children: [
|
|
9859
9905
|
/* @__PURE__ */ jsx99(
|
|
9860
9906
|
"div",
|
|
9861
9907
|
{
|
|
@@ -9937,7 +9983,7 @@ import {
|
|
|
9937
9983
|
width as twWidth4,
|
|
9938
9984
|
useClassNames as useClassNames59
|
|
9939
9985
|
} from "@marigold/system";
|
|
9940
|
-
import { jsx as jsx102, jsxs as
|
|
9986
|
+
import { jsx as jsx102, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
9941
9987
|
var _Switch = forwardRef31(
|
|
9942
9988
|
({
|
|
9943
9989
|
variant,
|
|
@@ -9956,7 +10002,7 @@ var _Switch = forwardRef31(
|
|
|
9956
10002
|
isSelected: selected,
|
|
9957
10003
|
...rest
|
|
9958
10004
|
};
|
|
9959
|
-
return /* @__PURE__ */
|
|
10005
|
+
return /* @__PURE__ */ jsxs38(
|
|
9960
10006
|
Switch,
|
|
9961
10007
|
{
|
|
9962
10008
|
...props,
|
|
@@ -10124,7 +10170,7 @@ import { useHover } from "@react-aria/interactions";
|
|
|
10124
10170
|
import { useTableColumnHeader } from "@react-aria/table";
|
|
10125
10171
|
import { mergeProps as mergeProps4 } from "@react-aria/utils";
|
|
10126
10172
|
import { cn as cn62, width as twWidth5, useStateProps as useStateProps3 } from "@marigold/system";
|
|
10127
|
-
import { jsx as jsx106, jsxs as
|
|
10173
|
+
import { jsx as jsx106, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
10128
10174
|
var TableColumnHeader = ({
|
|
10129
10175
|
column: column2,
|
|
10130
10176
|
width = "auto",
|
|
@@ -10146,7 +10192,7 @@ var TableColumnHeader = ({
|
|
|
10146
10192
|
hover: isHovered,
|
|
10147
10193
|
focusVisible: isFocusVisible
|
|
10148
10194
|
});
|
|
10149
|
-
return /* @__PURE__ */
|
|
10195
|
+
return /* @__PURE__ */ jsxs39(
|
|
10150
10196
|
"th",
|
|
10151
10197
|
{
|
|
10152
10198
|
colSpan: column2.colspan,
|
|
@@ -10304,7 +10350,7 @@ var TableSelectAllCell = ({
|
|
|
10304
10350
|
};
|
|
10305
10351
|
|
|
10306
10352
|
// src/Table/Table.tsx
|
|
10307
|
-
import { jsx as jsx111, jsxs as
|
|
10353
|
+
import { jsx as jsx111, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
10308
10354
|
var Table = ({
|
|
10309
10355
|
variant,
|
|
10310
10356
|
size: size2,
|
|
@@ -10337,7 +10383,7 @@ var Table = ({
|
|
|
10337
10383
|
TableContext.Provider,
|
|
10338
10384
|
{
|
|
10339
10385
|
value: { state, interactive, classNames: classNames3, variant, size: size2 },
|
|
10340
|
-
children: /* @__PURE__ */
|
|
10386
|
+
children: /* @__PURE__ */ jsxs40(
|
|
10341
10387
|
"table",
|
|
10342
10388
|
{
|
|
10343
10389
|
ref: tableRef,
|
|
@@ -10379,7 +10425,7 @@ var Table = ({
|
|
|
10379
10425
|
},
|
|
10380
10426
|
headerRow.key
|
|
10381
10427
|
)) }),
|
|
10382
|
-
/* @__PURE__ */
|
|
10428
|
+
/* @__PURE__ */ jsxs40(TableBody, { className: classNames3.body, emptyState, children: [
|
|
10383
10429
|
...collection.rows.map(
|
|
10384
10430
|
(row) => row.type === "item" && /* @__PURE__ */ jsx111(TableRow, { row, children: [...collection.getChildren(row.key)].map((cell, index2) => {
|
|
10385
10431
|
var _a, _b;
|
|
@@ -10561,7 +10607,7 @@ var _TooltipTrigger = ({
|
|
|
10561
10607
|
};
|
|
10562
10608
|
|
|
10563
10609
|
// src/Tooltip/Tooltip.tsx
|
|
10564
|
-
import { jsx as jsx117, jsxs as
|
|
10610
|
+
import { jsx as jsx117, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
10565
10611
|
var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
10566
10612
|
const props = {
|
|
10567
10613
|
...rest,
|
|
@@ -10569,7 +10615,7 @@ var _Tooltip = ({ children, variant, size: size2, open, ...rest }) => {
|
|
|
10569
10615
|
};
|
|
10570
10616
|
const classNames3 = useClassNames64({ component: "Tooltip", variant, size: size2 });
|
|
10571
10617
|
const portal = usePortalContainer();
|
|
10572
|
-
return /* @__PURE__ */
|
|
10618
|
+
return /* @__PURE__ */ jsxs41(
|
|
10573
10619
|
Tooltip,
|
|
10574
10620
|
{
|
|
10575
10621
|
...props,
|
|
@@ -10615,7 +10661,7 @@ var TagGroupHiddenInput = ({ name }) => {
|
|
|
10615
10661
|
};
|
|
10616
10662
|
|
|
10617
10663
|
// src/TagGroup/TagGroup.tsx
|
|
10618
|
-
import { jsx as jsx119, jsxs as
|
|
10664
|
+
import { jsx as jsx119, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
10619
10665
|
var _TagGroup = ({
|
|
10620
10666
|
width,
|
|
10621
10667
|
items,
|
|
@@ -10627,7 +10673,7 @@ var _TagGroup = ({
|
|
|
10627
10673
|
...rest
|
|
10628
10674
|
}) => {
|
|
10629
10675
|
const classNames3 = useClassNames65({ component: "Tag", variant, size: size2 });
|
|
10630
|
-
return /* @__PURE__ */
|
|
10676
|
+
return /* @__PURE__ */ jsxs42(FieldBase, { as: TagGroup, ...rest, children: [
|
|
10631
10677
|
/* @__PURE__ */ jsx119(
|
|
10632
10678
|
TagList,
|
|
10633
10679
|
{
|
|
@@ -10642,7 +10688,7 @@ var _TagGroup = ({
|
|
|
10642
10688
|
};
|
|
10643
10689
|
|
|
10644
10690
|
// src/TagGroup/Tag.tsx
|
|
10645
|
-
import { Fragment as
|
|
10691
|
+
import { Fragment as Fragment14, jsx as jsx120, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
10646
10692
|
var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
10647
10693
|
let textValue = typeof children === "string" ? children : void 0;
|
|
10648
10694
|
const classNames3 = useClassNames66({ component: "Tag", variant, size: size2 });
|
|
@@ -10656,7 +10702,7 @@ var _Tag = ({ variant, size: size2, children, disabled, ...rest }) => {
|
|
|
10656
10702
|
textValue,
|
|
10657
10703
|
...props,
|
|
10658
10704
|
className: cn70("data-selection-mode:cursor-pointer", classNames3.tag),
|
|
10659
|
-
children: ({ allowsRemoving }) => /* @__PURE__ */
|
|
10705
|
+
children: ({ allowsRemoving }) => /* @__PURE__ */ jsxs43(Fragment14, { children: [
|
|
10660
10706
|
children,
|
|
10661
10707
|
allowsRemoving && /* @__PURE__ */ jsx120(CloseButton, { className: classNames3.closeButton, slot: "remove" })
|
|
10662
10708
|
] })
|
|
@@ -10689,7 +10735,7 @@ var intlMessages2 = {
|
|
|
10689
10735
|
};
|
|
10690
10736
|
|
|
10691
10737
|
// src/XLoader/BaseLoader.tsx
|
|
10692
|
-
import { jsx as jsx121, jsxs as
|
|
10738
|
+
import { jsx as jsx121, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
10693
10739
|
var BaseLoader = ({
|
|
10694
10740
|
variant,
|
|
10695
10741
|
size: size2,
|
|
@@ -10699,7 +10745,7 @@ var BaseLoader = ({
|
|
|
10699
10745
|
}) => {
|
|
10700
10746
|
const stringFormatter = useLocalizedStringFormatter2(intlMessages2, "marigold");
|
|
10701
10747
|
const className = useClassNames67({ component: "XLoader", variant, size: size2 });
|
|
10702
|
-
return /* @__PURE__ */
|
|
10748
|
+
return /* @__PURE__ */ jsxs44(
|
|
10703
10749
|
ProgressBar2,
|
|
10704
10750
|
{
|
|
10705
10751
|
className: className.container,
|
|
@@ -10707,7 +10753,7 @@ var BaseLoader = ({
|
|
|
10707
10753
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
10708
10754
|
...props,
|
|
10709
10755
|
children: [
|
|
10710
|
-
/* @__PURE__ */
|
|
10756
|
+
/* @__PURE__ */ jsxs44(
|
|
10711
10757
|
"svg",
|
|
10712
10758
|
{
|
|
10713
10759
|
xmlns: "http://www.w3.org/2000/svg",
|