@moda/om 20.0.0 → 20.2.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.cjs.js +454 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +443 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems.d.ts +2 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems.stories.d.ts +6 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems1.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems2.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems3.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems4.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/LoadingItems5.d.ts +3 -0
- package/dist/src/components/LoadingItemsLavenderBlue/index.d.ts +5 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems.d.ts +2 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems.stories.d.ts +6 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems1.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems2.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems3.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems4.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/LoadingItems5.d.ts +3 -0
- package/dist/src/components/LoadingItemsPinkGreen/index.d.ts +5 -0
- package/dist/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.d.ts +3 -0
- package/dist/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.stories.d.ts +6 -0
- package/dist/src/components/LoadingShapesLavenderBlue/index.d.ts +1 -0
- package/dist/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.d.ts +3 -0
- package/dist/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.stories.d.ts +6 -0
- package/dist/src/components/LoadingShapesPinkGreen/index.d.ts +1 -0
- package/dist/src/components/Select/Select.d.ts +1 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/LoadingItemsLavenderBlue/LoadingItems.stories.tsx +15 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems.tsx +3 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems1.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems2.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems3.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems4.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/LoadingItems5.tsx +28 -0
- package/src/components/LoadingItemsLavenderBlue/index.ts +5 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems.stories.tsx +15 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems.tsx +3 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems1.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems2.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems3.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems4.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/LoadingItems5.tsx +28 -0
- package/src/components/LoadingItemsPinkGreen/index.ts +5 -0
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.scss +9 -0
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.stories.tsx +11 -0
- package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.tsx +48 -0
- package/src/components/LoadingShapesLavenderBlue/index.ts +1 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.scss +9 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.stories.tsx +11 -0
- package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.tsx +42 -0
- package/src/components/LoadingShapesPinkGreen/index.ts +1 -0
- package/src/components/Select/Select.scss +2 -2
- package/src/components/Select/Select.stories.tsx +17 -4
- package/src/components/Select/Select.tsx +8 -3
- package/src/components/Select/SelectOption.scss +13 -0
- package/src/components/Select/SelectOption.tsx +17 -6
- package/src/components/Select/SelectOptions.tsx +4 -3
- package/src/components/index.ts +4 -0
package/dist/index.esm.js
CHANGED
|
@@ -10574,14 +10574,18 @@ var SelectOption = function SelectOption(_ref) {
|
|
|
10574
10574
|
var active = _ref.active,
|
|
10575
10575
|
selected = _ref.selected,
|
|
10576
10576
|
option = _ref.option,
|
|
10577
|
+
_ref$option = _ref.option,
|
|
10578
|
+
disabled = _ref$option.disabled,
|
|
10579
|
+
colorSwatch = _ref$option.colorSwatch,
|
|
10580
|
+
label = _ref$option.label,
|
|
10577
10581
|
onClick = _ref.onClick,
|
|
10578
10582
|
className = _ref.className,
|
|
10579
10583
|
dataTestId = _ref.dataTestId;
|
|
10580
10584
|
var ref = useRef(null);
|
|
10581
10585
|
var handleClick = useCallback(function (event) {
|
|
10582
10586
|
event.preventDefault();
|
|
10583
|
-
if (!
|
|
10584
|
-
}, [onClick, option]);
|
|
10587
|
+
if (!disabled) onClick(option);
|
|
10588
|
+
}, [disabled, onClick, option]);
|
|
10585
10589
|
useEffect(function () {
|
|
10586
10590
|
if (active && ref.current) {
|
|
10587
10591
|
e(ref.current, {
|
|
@@ -10595,14 +10599,19 @@ var SelectOption = function SelectOption(_ref) {
|
|
|
10595
10599
|
className: classNames('SelectOption', className, {
|
|
10596
10600
|
'SelectOption--active': active,
|
|
10597
10601
|
'SelectOption--selected': selected,
|
|
10598
|
-
'SelectOption--disabled':
|
|
10602
|
+
'SelectOption--disabled': disabled
|
|
10599
10603
|
}),
|
|
10600
10604
|
onClick: handleClick,
|
|
10601
|
-
"data-test-id": dataTestId ? "".concat(dataTestId, "--").concat(
|
|
10602
|
-
"aria-label":
|
|
10605
|
+
"data-test-id": dataTestId ? "".concat(dataTestId, "--").concat(label.replace(' ', '-')) : undefined,
|
|
10606
|
+
"aria-label": label,
|
|
10603
10607
|
"aria-selected": selected,
|
|
10604
10608
|
role: "option"
|
|
10605
|
-
},
|
|
10609
|
+
}, colorSwatch && /*#__PURE__*/React__default.createElement("div", {
|
|
10610
|
+
className: "SelectOption__color-swatch",
|
|
10611
|
+
style: {
|
|
10612
|
+
backgroundColor: distExports$4.colors.all[colorSwatch]
|
|
10613
|
+
}
|
|
10614
|
+
}), label);
|
|
10606
10615
|
};
|
|
10607
10616
|
|
|
10608
10617
|
var _excluded$k = ["idRef", "searchable", "autoFocus", "options", "selectedOption", "onSelect", "onFocus", "className", "dataTestId"];
|
|
@@ -10675,7 +10684,7 @@ var SelectOptions = function SelectOptions(_ref) {
|
|
|
10675
10684
|
active: (activeOption === null || activeOption === void 0 ? void 0 : activeOption.value) === option.value,
|
|
10676
10685
|
selected: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value) === option.value,
|
|
10677
10686
|
onClick: onSelect
|
|
10678
|
-
}
|
|
10687
|
+
});
|
|
10679
10688
|
})), options.length === 0 && /*#__PURE__*/React__default.createElement(Text, {
|
|
10680
10689
|
className: "SelectOptions__none",
|
|
10681
10690
|
color: "cement"
|
|
@@ -10887,12 +10896,12 @@ var Select = function Select(_ref) {
|
|
|
10887
10896
|
idRef: idRef,
|
|
10888
10897
|
label: label || (selected === undefined ? placeholder : undefined),
|
|
10889
10898
|
hasValue: focused != null || selected != null
|
|
10890
|
-
}),
|
|
10899
|
+
}), colorSwatch && /*#__PURE__*/React__default.createElement("div", {
|
|
10891
10900
|
className: "Select__selected-color",
|
|
10892
10901
|
style: {
|
|
10893
10902
|
backgroundColor: distExports$4.colors.all[colorSwatch]
|
|
10894
10903
|
}
|
|
10895
|
-
}), /*#__PURE__*/React__default.createElement("span", {
|
|
10904
|
+
}), (_ref2 = focused !== null && focused !== void 0 ? focused : selected) === null || _ref2 === void 0 ? void 0 : _ref2.label, /*#__PURE__*/React__default.createElement("span", {
|
|
10896
10905
|
className: classNames('Select__icon', {
|
|
10897
10906
|
'Select__icon--shifted': shiftIconLeftwards
|
|
10898
10907
|
})
|
|
@@ -11573,7 +11582,7 @@ var LoadingBalls = function LoadingBalls(_ref) {
|
|
|
11573
11582
|
})));
|
|
11574
11583
|
};
|
|
11575
11584
|
|
|
11576
|
-
var INTERVAL_MS = 250;
|
|
11585
|
+
var INTERVAL_MS$2 = 250;
|
|
11577
11586
|
var LoadingShapes = function LoadingShapes() {
|
|
11578
11587
|
var items = [Triangle, Diamond, ArcWindow, Circle];
|
|
11579
11588
|
var _useCursor = distExports.useCursor({
|
|
@@ -11584,7 +11593,7 @@ var LoadingShapes = function LoadingShapes() {
|
|
|
11584
11593
|
useEffect(function () {
|
|
11585
11594
|
var interval = setInterval(function () {
|
|
11586
11595
|
handleNext();
|
|
11587
|
-
}, INTERVAL_MS);
|
|
11596
|
+
}, INTERVAL_MS$2);
|
|
11588
11597
|
return function () {
|
|
11589
11598
|
return clearInterval(interval);
|
|
11590
11599
|
};
|
|
@@ -11603,6 +11612,428 @@ var LoadingShapes = function LoadingShapes() {
|
|
|
11603
11612
|
}));
|
|
11604
11613
|
};
|
|
11605
11614
|
|
|
11615
|
+
var LoadingItems1 = function LoadingItems1() {
|
|
11616
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11617
|
+
width: "211",
|
|
11618
|
+
height: "21",
|
|
11619
|
+
viewBox: "0 0 211 21",
|
|
11620
|
+
fill: "none",
|
|
11621
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11622
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11623
|
+
fillRule: "evenodd",
|
|
11624
|
+
clipRule: "evenodd",
|
|
11625
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11626
|
+
fill: "#DB4C8A"
|
|
11627
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11628
|
+
fillRule: "evenodd",
|
|
11629
|
+
clipRule: "evenodd",
|
|
11630
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11631
|
+
fill: "#DB4C8A"
|
|
11632
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11633
|
+
fillRule: "evenodd",
|
|
11634
|
+
clipRule: "evenodd",
|
|
11635
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11636
|
+
fill: "#DB4C8A"
|
|
11637
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11638
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11639
|
+
fill: "#DB4C8A"
|
|
11640
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11641
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11642
|
+
fill: "#DB4C8A"
|
|
11643
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11644
|
+
x: "3.18616",
|
|
11645
|
+
y: "4.93651",
|
|
11646
|
+
width: "18.8016",
|
|
11647
|
+
height: "16.0635",
|
|
11648
|
+
fill: "#DB4C8A"
|
|
11649
|
+
}));
|
|
11650
|
+
};
|
|
11651
|
+
|
|
11652
|
+
var LoadingItems2 = function LoadingItems2() {
|
|
11653
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11654
|
+
width: "211",
|
|
11655
|
+
height: "21",
|
|
11656
|
+
viewBox: "0 0 211 21",
|
|
11657
|
+
fill: "none",
|
|
11658
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11659
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11660
|
+
fillRule: "evenodd",
|
|
11661
|
+
clipRule: "evenodd",
|
|
11662
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11663
|
+
fill: "#DB4C8A"
|
|
11664
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11665
|
+
fillRule: "evenodd",
|
|
11666
|
+
clipRule: "evenodd",
|
|
11667
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11668
|
+
fill: "#DB4C8A"
|
|
11669
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11670
|
+
fillRule: "evenodd",
|
|
11671
|
+
clipRule: "evenodd",
|
|
11672
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11673
|
+
fill: "#DB4C8A"
|
|
11674
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11675
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11676
|
+
fill: "#006F62"
|
|
11677
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11678
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11679
|
+
fill: "#006F62"
|
|
11680
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11681
|
+
x: "3.18619",
|
|
11682
|
+
y: "4.93651",
|
|
11683
|
+
width: "18.8016",
|
|
11684
|
+
height: "16.0635",
|
|
11685
|
+
fill: "#006F62"
|
|
11686
|
+
}));
|
|
11687
|
+
};
|
|
11688
|
+
|
|
11689
|
+
var LoadingItems3 = function LoadingItems3() {
|
|
11690
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11691
|
+
width: "211",
|
|
11692
|
+
height: "21",
|
|
11693
|
+
viewBox: "0 0 211 21",
|
|
11694
|
+
fill: "none",
|
|
11695
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11696
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11697
|
+
fillRule: "evenodd",
|
|
11698
|
+
clipRule: "evenodd",
|
|
11699
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11700
|
+
fill: "#006F62"
|
|
11701
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11702
|
+
fillRule: "evenodd",
|
|
11703
|
+
clipRule: "evenodd",
|
|
11704
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11705
|
+
fill: "#DB4C8A"
|
|
11706
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11707
|
+
fillRule: "evenodd",
|
|
11708
|
+
clipRule: "evenodd",
|
|
11709
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11710
|
+
fill: "#DB4C8A"
|
|
11711
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11712
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11713
|
+
fill: "#006F62"
|
|
11714
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11715
|
+
d: "M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z",
|
|
11716
|
+
fill: "#006F62"
|
|
11717
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11718
|
+
x: "3.18617",
|
|
11719
|
+
y: "4.93651",
|
|
11720
|
+
width: "18.8016",
|
|
11721
|
+
height: "16.0635",
|
|
11722
|
+
fill: "#006F62"
|
|
11723
|
+
}));
|
|
11724
|
+
};
|
|
11725
|
+
|
|
11726
|
+
var LoadingItems4 = function LoadingItems4() {
|
|
11727
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11728
|
+
width: "211",
|
|
11729
|
+
height: "21",
|
|
11730
|
+
viewBox: "0 0 211 21",
|
|
11731
|
+
fill: "none",
|
|
11732
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11733
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11734
|
+
fillRule: "evenodd",
|
|
11735
|
+
clipRule: "evenodd",
|
|
11736
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11737
|
+
fill: "#006F62"
|
|
11738
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11739
|
+
fillRule: "evenodd",
|
|
11740
|
+
clipRule: "evenodd",
|
|
11741
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11742
|
+
fill: "#006F62"
|
|
11743
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11744
|
+
fillRule: "evenodd",
|
|
11745
|
+
clipRule: "evenodd",
|
|
11746
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11747
|
+
fill: "#F04E98"
|
|
11748
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11749
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11750
|
+
fill: "#006F62"
|
|
11751
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11752
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11753
|
+
fill: "#006F62"
|
|
11754
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11755
|
+
x: "3.18619",
|
|
11756
|
+
y: "4.93651",
|
|
11757
|
+
width: "18.8016",
|
|
11758
|
+
height: "16.0635",
|
|
11759
|
+
fill: "#006F62"
|
|
11760
|
+
}));
|
|
11761
|
+
};
|
|
11762
|
+
|
|
11763
|
+
var LoadingItems5 = function LoadingItems5() {
|
|
11764
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11765
|
+
width: "211",
|
|
11766
|
+
height: "21",
|
|
11767
|
+
viewBox: "0 0 211 21",
|
|
11768
|
+
fill: "none",
|
|
11769
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11770
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11771
|
+
fillRule: "evenodd",
|
|
11772
|
+
clipRule: "evenodd",
|
|
11773
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11774
|
+
fill: "#006F62"
|
|
11775
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11776
|
+
fillRule: "evenodd",
|
|
11777
|
+
clipRule: "evenodd",
|
|
11778
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11779
|
+
fill: "#006F62"
|
|
11780
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11781
|
+
fillRule: "evenodd",
|
|
11782
|
+
clipRule: "evenodd",
|
|
11783
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11784
|
+
fill: "#006F62"
|
|
11785
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11786
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11787
|
+
fill: "#006F62"
|
|
11788
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11789
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11790
|
+
fill: "#006F62"
|
|
11791
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11792
|
+
x: "3.18616",
|
|
11793
|
+
y: "4.93651",
|
|
11794
|
+
width: "18.8016",
|
|
11795
|
+
height: "16.0635",
|
|
11796
|
+
fill: "#006F62"
|
|
11797
|
+
}));
|
|
11798
|
+
};
|
|
11799
|
+
|
|
11800
|
+
var INTERVAL_MS$1 = 250;
|
|
11801
|
+
var LoadingShapesPinkGreen = function LoadingShapesPinkGreen() {
|
|
11802
|
+
var items = [LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5];
|
|
11803
|
+
var _useCursor = distExports.useCursor({
|
|
11804
|
+
max: items.length
|
|
11805
|
+
}),
|
|
11806
|
+
index = _useCursor.index,
|
|
11807
|
+
handleNext = _useCursor.handleNext;
|
|
11808
|
+
useEffect(function () {
|
|
11809
|
+
var interval = setInterval(function () {
|
|
11810
|
+
handleNext();
|
|
11811
|
+
}, INTERVAL_MS$1);
|
|
11812
|
+
return function () {
|
|
11813
|
+
return clearInterval(interval);
|
|
11814
|
+
};
|
|
11815
|
+
}, [handleNext]);
|
|
11816
|
+
return /*#__PURE__*/React__default.createElement("div", null, items.map(function (Item, itemIndex) {
|
|
11817
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
11818
|
+
className: classNames('LoadingShapesPinkGreen__item', {
|
|
11819
|
+
'LoadingShapesPinkGreen__item--current': itemIndex !== index
|
|
11820
|
+
}),
|
|
11821
|
+
key: itemIndex
|
|
11822
|
+
}, /*#__PURE__*/React__default.createElement(Item, null));
|
|
11823
|
+
}));
|
|
11824
|
+
};
|
|
11825
|
+
|
|
11826
|
+
var LoadingItemsLavenderBlue1 = function LoadingItemsLavenderBlue1() {
|
|
11827
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11828
|
+
width: "211",
|
|
11829
|
+
height: "21",
|
|
11830
|
+
viewBox: "0 0 211 21",
|
|
11831
|
+
fill: "none",
|
|
11832
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11833
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11834
|
+
fillRule: "evenodd",
|
|
11835
|
+
clipRule: "evenodd",
|
|
11836
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11837
|
+
fill: "#1E22AA"
|
|
11838
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11839
|
+
fillRule: "evenodd",
|
|
11840
|
+
clipRule: "evenodd",
|
|
11841
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11842
|
+
fill: "#1E22AA"
|
|
11843
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11844
|
+
fillRule: "evenodd",
|
|
11845
|
+
clipRule: "evenodd",
|
|
11846
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11847
|
+
fill: "#1E22AA"
|
|
11848
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11849
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11850
|
+
fill: "#1E22AA"
|
|
11851
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11852
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11853
|
+
fill: "#1E22AA"
|
|
11854
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11855
|
+
x: "3.18616",
|
|
11856
|
+
y: "4.93652",
|
|
11857
|
+
width: "18.8016",
|
|
11858
|
+
height: "16.0635",
|
|
11859
|
+
fill: "#1E22AA"
|
|
11860
|
+
}));
|
|
11861
|
+
};
|
|
11862
|
+
|
|
11863
|
+
var LoadingItemsLavenderBlue2 = function LoadingItemsLavenderBlue2() {
|
|
11864
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11865
|
+
width: "211",
|
|
11866
|
+
height: "21",
|
|
11867
|
+
viewBox: "0 0 211 21",
|
|
11868
|
+
fill: "none",
|
|
11869
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11870
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11871
|
+
fillRule: "evenodd",
|
|
11872
|
+
clipRule: "evenodd",
|
|
11873
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11874
|
+
fill: "#1E22AA"
|
|
11875
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11876
|
+
fillRule: "evenodd",
|
|
11877
|
+
clipRule: "evenodd",
|
|
11878
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11879
|
+
fill: "#1E22AA"
|
|
11880
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11881
|
+
fillRule: "evenodd",
|
|
11882
|
+
clipRule: "evenodd",
|
|
11883
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11884
|
+
fill: "#1E22AA"
|
|
11885
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11886
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11887
|
+
fill: "#D5C2D8"
|
|
11888
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11889
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11890
|
+
fill: "#D5C2D8"
|
|
11891
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11892
|
+
x: "3.18619",
|
|
11893
|
+
y: "4.93652",
|
|
11894
|
+
width: "18.8016",
|
|
11895
|
+
height: "16.0635",
|
|
11896
|
+
fill: "#D5C2D8"
|
|
11897
|
+
}));
|
|
11898
|
+
};
|
|
11899
|
+
|
|
11900
|
+
var LoadingItemsLavenderBlue3 = function LoadingItemsLavenderBlue3() {
|
|
11901
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11902
|
+
width: "211",
|
|
11903
|
+
height: "21",
|
|
11904
|
+
viewBox: "0 0 211 21",
|
|
11905
|
+
fill: "none",
|
|
11906
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11907
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11908
|
+
fillRule: "evenodd",
|
|
11909
|
+
clipRule: "evenodd",
|
|
11910
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11911
|
+
fill: "#D5C2D8"
|
|
11912
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11913
|
+
fillRule: "evenodd",
|
|
11914
|
+
clipRule: "evenodd",
|
|
11915
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11916
|
+
fill: "#1E22AA"
|
|
11917
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11918
|
+
fillRule: "evenodd",
|
|
11919
|
+
clipRule: "evenodd",
|
|
11920
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11921
|
+
fill: "#1E22AA"
|
|
11922
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11923
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11924
|
+
fill: "#D5C2D8"
|
|
11925
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11926
|
+
d: "M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z",
|
|
11927
|
+
fill: "#D5C2D8"
|
|
11928
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11929
|
+
x: "3.18617",
|
|
11930
|
+
y: "4.93652",
|
|
11931
|
+
width: "18.8016",
|
|
11932
|
+
height: "16.0635",
|
|
11933
|
+
fill: "#D5C2D8"
|
|
11934
|
+
}));
|
|
11935
|
+
};
|
|
11936
|
+
|
|
11937
|
+
var LoadingItemsLavenderBlue4 = function LoadingItemsLavenderBlue4() {
|
|
11938
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11939
|
+
width: "211",
|
|
11940
|
+
height: "21",
|
|
11941
|
+
viewBox: "0 0 211 21",
|
|
11942
|
+
fill: "none",
|
|
11943
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11944
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11945
|
+
fillRule: "evenodd",
|
|
11946
|
+
clipRule: "evenodd",
|
|
11947
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11948
|
+
fill: "#D5C2D8"
|
|
11949
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11950
|
+
fillRule: "evenodd",
|
|
11951
|
+
clipRule: "evenodd",
|
|
11952
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11953
|
+
fill: "#D5C2D8"
|
|
11954
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11955
|
+
fillRule: "evenodd",
|
|
11956
|
+
clipRule: "evenodd",
|
|
11957
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11958
|
+
fill: "#1E22AA"
|
|
11959
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11960
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11961
|
+
fill: "#D5C2D8"
|
|
11962
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11963
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11964
|
+
fill: "#D5C2D8"
|
|
11965
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
11966
|
+
x: "3.18619",
|
|
11967
|
+
y: "4.93652",
|
|
11968
|
+
width: "18.8016",
|
|
11969
|
+
height: "16.0635",
|
|
11970
|
+
fill: "#D5C2D8"
|
|
11971
|
+
}));
|
|
11972
|
+
};
|
|
11973
|
+
|
|
11974
|
+
var LoadingItemsLavenderBlue5 = function LoadingItemsLavenderBlue5() {
|
|
11975
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
11976
|
+
width: "211",
|
|
11977
|
+
height: "21",
|
|
11978
|
+
viewBox: "0 0 211 21",
|
|
11979
|
+
fill: "none",
|
|
11980
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11981
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
11982
|
+
fillRule: "evenodd",
|
|
11983
|
+
clipRule: "evenodd",
|
|
11984
|
+
d: "M85.9155 10.414C85.9155 16.1661 81.2537 20.828 75.5015 20.828C69.7494 20.828 65.0875 16.1661 65.0875 10.414C65.0875 4.66186 69.7494 0 75.5015 0C81.2537 0 85.9155 4.66186 85.9155 10.414Z",
|
|
11985
|
+
fill: "#D5C2D8"
|
|
11986
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11987
|
+
fillRule: "evenodd",
|
|
11988
|
+
clipRule: "evenodd",
|
|
11989
|
+
d: "M145.023 20.828V10.0906V7.66566V7.65423C145.017 3.44429 141.874 0 138.032 0C134.192 0 131.047 3.44429 131.043 7.65423V7.66566V10.0906V20.828H145.023Z",
|
|
11990
|
+
fill: "#D5C2D8"
|
|
11991
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11992
|
+
fillRule: "evenodd",
|
|
11993
|
+
clipRule: "evenodd",
|
|
11994
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11995
|
+
fill: "#D5C2D8"
|
|
11996
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
11997
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11998
|
+
fill: "#D5C2D8"
|
|
11999
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
12000
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
12001
|
+
fill: "#D5C2D8"
|
|
12002
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
12003
|
+
x: "3.18619",
|
|
12004
|
+
y: "4.93652",
|
|
12005
|
+
width: "18.8016",
|
|
12006
|
+
height: "16.0635",
|
|
12007
|
+
fill: "#D5C2D8"
|
|
12008
|
+
}));
|
|
12009
|
+
};
|
|
12010
|
+
|
|
12011
|
+
var INTERVAL_MS = 250;
|
|
12012
|
+
var LoadingShapesLavenderBlue = function LoadingShapesLavenderBlue() {
|
|
12013
|
+
var items = [LoadingItemsLavenderBlue1, LoadingItemsLavenderBlue2, LoadingItemsLavenderBlue3, LoadingItemsLavenderBlue4, LoadingItemsLavenderBlue5];
|
|
12014
|
+
var _useCursor = distExports.useCursor({
|
|
12015
|
+
max: items.length
|
|
12016
|
+
}),
|
|
12017
|
+
index = _useCursor.index,
|
|
12018
|
+
handleNext = _useCursor.handleNext;
|
|
12019
|
+
useEffect(function () {
|
|
12020
|
+
var interval = setInterval(function () {
|
|
12021
|
+
handleNext();
|
|
12022
|
+
}, INTERVAL_MS);
|
|
12023
|
+
return function () {
|
|
12024
|
+
return clearInterval(interval);
|
|
12025
|
+
};
|
|
12026
|
+
}, [handleNext]);
|
|
12027
|
+
return /*#__PURE__*/React__default.createElement("div", null, items.map(function (Item, itemIndex) {
|
|
12028
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
12029
|
+
className: classNames('LoadingShapesLavenderBlue__item', {
|
|
12030
|
+
'LoadingShapesLavenderBlue__item--current': itemIndex !== index
|
|
12031
|
+
}),
|
|
12032
|
+
key: itemIndex
|
|
12033
|
+
}, /*#__PURE__*/React__default.createElement(Item, null));
|
|
12034
|
+
}));
|
|
12035
|
+
};
|
|
12036
|
+
|
|
11606
12037
|
var preventNavigation = function preventNavigation(event) {
|
|
11607
12038
|
event.preventDefault();
|
|
11608
12039
|
event.returnValue = '';
|
|
@@ -12288,4 +12719,4 @@ var Utilities = {
|
|
|
12288
12719
|
States: States
|
|
12289
12720
|
};
|
|
12290
12721
|
|
|
12291
|
-
export { ArcWindow, AspectRatioBox, Badge, Bradley, Brancusi, Breadcrumb, Breadcrumbs, Breakpoint, BreakpointContext, BreakpointProvider, Button, Checkbox, Circle, Clickable, ColorSwatch, ConfirmProvider, Constrain, ControlLink, CreditCardNumberInput, DEFAULT_PRODUCT_ASPECT_HEIGHT, DEFAULT_PRODUCT_ASPECT_RATIO, DEFAULT_PRODUCT_ASPECT_WIDTH, DefinitionList, Dialog, Diamond, Divider, ExceedConstrain, Expandable, Field, FocusOn, Field as Input, Keyhole, Label, Loading, LoadingBalls, LoadingShapes, Mirror, Modal, ModalOverlay, MultiSelect, NavigationPreventer, NoLineDivider, Oval, Overlay, POPOVER_MOUSEOUT_DELAY_MS, Paginator, PasswordInput, Popover, PromoBanner, RadioButton, SKU_COLORS, SearchInput, Select, SelectableButton, SlidingPane, Stack, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, Text, TextInput, Textarea, Toast, Triangle, TwoLineDivider, UNMOUNT_DELAY_MS, Utilities, VerticalDivider, Window, discriminate, tokens, useBreakpoint, useClickOutside, useConfirm, useKeyboardListNavigation, usePreventNavigation, useUpdateEffect };
|
|
12722
|
+
export { ArcWindow, AspectRatioBox, Badge, Bradley, Brancusi, Breadcrumb, Breadcrumbs, Breakpoint, BreakpointContext, BreakpointProvider, Button, Checkbox, Circle, Clickable, ColorSwatch, ConfirmProvider, Constrain, ControlLink, CreditCardNumberInput, DEFAULT_PRODUCT_ASPECT_HEIGHT, DEFAULT_PRODUCT_ASPECT_RATIO, DEFAULT_PRODUCT_ASPECT_WIDTH, DefinitionList, Dialog, Diamond, Divider, ExceedConstrain, Expandable, Field, FocusOn, Field as Input, Keyhole, Label, Loading, LoadingBalls, LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5, LoadingItemsLavenderBlue1, LoadingItemsLavenderBlue2, LoadingItemsLavenderBlue3, LoadingItemsLavenderBlue4, LoadingItemsLavenderBlue5, LoadingShapes, LoadingShapesLavenderBlue, LoadingShapesPinkGreen, Mirror, Modal, ModalOverlay, MultiSelect, NavigationPreventer, NoLineDivider, Oval, Overlay, POPOVER_MOUSEOUT_DELAY_MS, Paginator, PasswordInput, Popover, PromoBanner, RadioButton, SKU_COLORS, SearchInput, Select, SelectableButton, SlidingPane, Stack, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, Text, TextInput, Textarea, Toast, Triangle, TwoLineDivider, UNMOUNT_DELAY_MS, Utilities, VerticalDivider, Window, discriminate, tokens, useBreakpoint, useClickOutside, useConfirm, useKeyboardListNavigation, usePreventNavigation, useUpdateEffect };
|