@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.cjs.js
CHANGED
|
@@ -10594,14 +10594,18 @@ var SelectOption = function SelectOption(_ref) {
|
|
|
10594
10594
|
var active = _ref.active,
|
|
10595
10595
|
selected = _ref.selected,
|
|
10596
10596
|
option = _ref.option,
|
|
10597
|
+
_ref$option = _ref.option,
|
|
10598
|
+
disabled = _ref$option.disabled,
|
|
10599
|
+
colorSwatch = _ref$option.colorSwatch,
|
|
10600
|
+
label = _ref$option.label,
|
|
10597
10601
|
onClick = _ref.onClick,
|
|
10598
10602
|
className = _ref.className,
|
|
10599
10603
|
dataTestId = _ref.dataTestId;
|
|
10600
10604
|
var ref = React.useRef(null);
|
|
10601
10605
|
var handleClick = React.useCallback(function (event) {
|
|
10602
10606
|
event.preventDefault();
|
|
10603
|
-
if (!
|
|
10604
|
-
}, [onClick, option]);
|
|
10607
|
+
if (!disabled) onClick(option);
|
|
10608
|
+
}, [disabled, onClick, option]);
|
|
10605
10609
|
React.useEffect(function () {
|
|
10606
10610
|
if (active && ref.current) {
|
|
10607
10611
|
e(ref.current, {
|
|
@@ -10615,14 +10619,19 @@ var SelectOption = function SelectOption(_ref) {
|
|
|
10615
10619
|
className: classNames('SelectOption', className, {
|
|
10616
10620
|
'SelectOption--active': active,
|
|
10617
10621
|
'SelectOption--selected': selected,
|
|
10618
|
-
'SelectOption--disabled':
|
|
10622
|
+
'SelectOption--disabled': disabled
|
|
10619
10623
|
}),
|
|
10620
10624
|
onClick: handleClick,
|
|
10621
|
-
"data-test-id": dataTestId ? "".concat(dataTestId, "--").concat(
|
|
10622
|
-
"aria-label":
|
|
10625
|
+
"data-test-id": dataTestId ? "".concat(dataTestId, "--").concat(label.replace(' ', '-')) : undefined,
|
|
10626
|
+
"aria-label": label,
|
|
10623
10627
|
"aria-selected": selected,
|
|
10624
10628
|
role: "option"
|
|
10625
|
-
},
|
|
10629
|
+
}, colorSwatch && /*#__PURE__*/React.createElement("div", {
|
|
10630
|
+
className: "SelectOption__color-swatch",
|
|
10631
|
+
style: {
|
|
10632
|
+
backgroundColor: distExports$4.colors.all[colorSwatch]
|
|
10633
|
+
}
|
|
10634
|
+
}), label);
|
|
10626
10635
|
};
|
|
10627
10636
|
|
|
10628
10637
|
var _excluded$k = ["idRef", "searchable", "autoFocus", "options", "selectedOption", "onSelect", "onFocus", "className", "dataTestId"];
|
|
@@ -10695,7 +10704,7 @@ var SelectOptions = function SelectOptions(_ref) {
|
|
|
10695
10704
|
active: (activeOption === null || activeOption === void 0 ? void 0 : activeOption.value) === option.value,
|
|
10696
10705
|
selected: (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value) === option.value,
|
|
10697
10706
|
onClick: onSelect
|
|
10698
|
-
}
|
|
10707
|
+
});
|
|
10699
10708
|
})), options.length === 0 && /*#__PURE__*/React.createElement(Text, {
|
|
10700
10709
|
className: "SelectOptions__none",
|
|
10701
10710
|
color: "cement"
|
|
@@ -10907,12 +10916,12 @@ var Select = function Select(_ref) {
|
|
|
10907
10916
|
idRef: idRef,
|
|
10908
10917
|
label: label || (selected === undefined ? placeholder : undefined),
|
|
10909
10918
|
hasValue: focused != null || selected != null
|
|
10910
|
-
}),
|
|
10919
|
+
}), colorSwatch && /*#__PURE__*/React.createElement("div", {
|
|
10911
10920
|
className: "Select__selected-color",
|
|
10912
10921
|
style: {
|
|
10913
10922
|
backgroundColor: distExports$4.colors.all[colorSwatch]
|
|
10914
10923
|
}
|
|
10915
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
10924
|
+
}), (_ref2 = focused !== null && focused !== void 0 ? focused : selected) === null || _ref2 === void 0 ? void 0 : _ref2.label, /*#__PURE__*/React.createElement("span", {
|
|
10916
10925
|
className: classNames('Select__icon', {
|
|
10917
10926
|
'Select__icon--shifted': shiftIconLeftwards
|
|
10918
10927
|
})
|
|
@@ -11593,7 +11602,7 @@ var LoadingBalls = function LoadingBalls(_ref) {
|
|
|
11593
11602
|
})));
|
|
11594
11603
|
};
|
|
11595
11604
|
|
|
11596
|
-
var INTERVAL_MS = 250;
|
|
11605
|
+
var INTERVAL_MS$2 = 250;
|
|
11597
11606
|
var LoadingShapes = function LoadingShapes() {
|
|
11598
11607
|
var items = [Triangle, Diamond, ArcWindow, Circle];
|
|
11599
11608
|
var _useCursor = distExports.useCursor({
|
|
@@ -11604,7 +11613,7 @@ var LoadingShapes = function LoadingShapes() {
|
|
|
11604
11613
|
React.useEffect(function () {
|
|
11605
11614
|
var interval = setInterval(function () {
|
|
11606
11615
|
handleNext();
|
|
11607
|
-
}, INTERVAL_MS);
|
|
11616
|
+
}, INTERVAL_MS$2);
|
|
11608
11617
|
return function () {
|
|
11609
11618
|
return clearInterval(interval);
|
|
11610
11619
|
};
|
|
@@ -11623,6 +11632,428 @@ var LoadingShapes = function LoadingShapes() {
|
|
|
11623
11632
|
}));
|
|
11624
11633
|
};
|
|
11625
11634
|
|
|
11635
|
+
var LoadingItems1 = function LoadingItems1() {
|
|
11636
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11637
|
+
width: "211",
|
|
11638
|
+
height: "21",
|
|
11639
|
+
viewBox: "0 0 211 21",
|
|
11640
|
+
fill: "none",
|
|
11641
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11642
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11643
|
+
fillRule: "evenodd",
|
|
11644
|
+
clipRule: "evenodd",
|
|
11645
|
+
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",
|
|
11646
|
+
fill: "#DB4C8A"
|
|
11647
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11648
|
+
fillRule: "evenodd",
|
|
11649
|
+
clipRule: "evenodd",
|
|
11650
|
+
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",
|
|
11651
|
+
fill: "#DB4C8A"
|
|
11652
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11653
|
+
fillRule: "evenodd",
|
|
11654
|
+
clipRule: "evenodd",
|
|
11655
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11656
|
+
fill: "#DB4C8A"
|
|
11657
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11658
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11659
|
+
fill: "#DB4C8A"
|
|
11660
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11661
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11662
|
+
fill: "#DB4C8A"
|
|
11663
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11664
|
+
x: "3.18616",
|
|
11665
|
+
y: "4.93651",
|
|
11666
|
+
width: "18.8016",
|
|
11667
|
+
height: "16.0635",
|
|
11668
|
+
fill: "#DB4C8A"
|
|
11669
|
+
}));
|
|
11670
|
+
};
|
|
11671
|
+
|
|
11672
|
+
var LoadingItems2 = function LoadingItems2() {
|
|
11673
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11674
|
+
width: "211",
|
|
11675
|
+
height: "21",
|
|
11676
|
+
viewBox: "0 0 211 21",
|
|
11677
|
+
fill: "none",
|
|
11678
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11679
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11680
|
+
fillRule: "evenodd",
|
|
11681
|
+
clipRule: "evenodd",
|
|
11682
|
+
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",
|
|
11683
|
+
fill: "#DB4C8A"
|
|
11684
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11685
|
+
fillRule: "evenodd",
|
|
11686
|
+
clipRule: "evenodd",
|
|
11687
|
+
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",
|
|
11688
|
+
fill: "#DB4C8A"
|
|
11689
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11690
|
+
fillRule: "evenodd",
|
|
11691
|
+
clipRule: "evenodd",
|
|
11692
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11693
|
+
fill: "#DB4C8A"
|
|
11694
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11695
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11696
|
+
fill: "#006F62"
|
|
11697
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11698
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11699
|
+
fill: "#006F62"
|
|
11700
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11701
|
+
x: "3.18619",
|
|
11702
|
+
y: "4.93651",
|
|
11703
|
+
width: "18.8016",
|
|
11704
|
+
height: "16.0635",
|
|
11705
|
+
fill: "#006F62"
|
|
11706
|
+
}));
|
|
11707
|
+
};
|
|
11708
|
+
|
|
11709
|
+
var LoadingItems3 = function LoadingItems3() {
|
|
11710
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11711
|
+
width: "211",
|
|
11712
|
+
height: "21",
|
|
11713
|
+
viewBox: "0 0 211 21",
|
|
11714
|
+
fill: "none",
|
|
11715
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11716
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11717
|
+
fillRule: "evenodd",
|
|
11718
|
+
clipRule: "evenodd",
|
|
11719
|
+
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",
|
|
11720
|
+
fill: "#006F62"
|
|
11721
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11722
|
+
fillRule: "evenodd",
|
|
11723
|
+
clipRule: "evenodd",
|
|
11724
|
+
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",
|
|
11725
|
+
fill: "#DB4C8A"
|
|
11726
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11727
|
+
fillRule: "evenodd",
|
|
11728
|
+
clipRule: "evenodd",
|
|
11729
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11730
|
+
fill: "#DB4C8A"
|
|
11731
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11732
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11733
|
+
fill: "#006F62"
|
|
11734
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11735
|
+
d: "M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z",
|
|
11736
|
+
fill: "#006F62"
|
|
11737
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11738
|
+
x: "3.18617",
|
|
11739
|
+
y: "4.93651",
|
|
11740
|
+
width: "18.8016",
|
|
11741
|
+
height: "16.0635",
|
|
11742
|
+
fill: "#006F62"
|
|
11743
|
+
}));
|
|
11744
|
+
};
|
|
11745
|
+
|
|
11746
|
+
var LoadingItems4 = function LoadingItems4() {
|
|
11747
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11748
|
+
width: "211",
|
|
11749
|
+
height: "21",
|
|
11750
|
+
viewBox: "0 0 211 21",
|
|
11751
|
+
fill: "none",
|
|
11752
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11753
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11754
|
+
fillRule: "evenodd",
|
|
11755
|
+
clipRule: "evenodd",
|
|
11756
|
+
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",
|
|
11757
|
+
fill: "#006F62"
|
|
11758
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11759
|
+
fillRule: "evenodd",
|
|
11760
|
+
clipRule: "evenodd",
|
|
11761
|
+
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",
|
|
11762
|
+
fill: "#006F62"
|
|
11763
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11764
|
+
fillRule: "evenodd",
|
|
11765
|
+
clipRule: "evenodd",
|
|
11766
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11767
|
+
fill: "#F04E98"
|
|
11768
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11769
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11770
|
+
fill: "#006F62"
|
|
11771
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11772
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11773
|
+
fill: "#006F62"
|
|
11774
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11775
|
+
x: "3.18619",
|
|
11776
|
+
y: "4.93651",
|
|
11777
|
+
width: "18.8016",
|
|
11778
|
+
height: "16.0635",
|
|
11779
|
+
fill: "#006F62"
|
|
11780
|
+
}));
|
|
11781
|
+
};
|
|
11782
|
+
|
|
11783
|
+
var LoadingItems5 = function LoadingItems5() {
|
|
11784
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11785
|
+
width: "211",
|
|
11786
|
+
height: "21",
|
|
11787
|
+
viewBox: "0 0 211 21",
|
|
11788
|
+
fill: "none",
|
|
11789
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11790
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11791
|
+
fillRule: "evenodd",
|
|
11792
|
+
clipRule: "evenodd",
|
|
11793
|
+
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",
|
|
11794
|
+
fill: "#006F62"
|
|
11795
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11796
|
+
fillRule: "evenodd",
|
|
11797
|
+
clipRule: "evenodd",
|
|
11798
|
+
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",
|
|
11799
|
+
fill: "#006F62"
|
|
11800
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11801
|
+
fillRule: "evenodd",
|
|
11802
|
+
clipRule: "evenodd",
|
|
11803
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11804
|
+
fill: "#006F62"
|
|
11805
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11806
|
+
d: "M12.5109 4.9286L22.0054 0.696629L21.9727 9.23312L12.5109 4.9286Z",
|
|
11807
|
+
fill: "#006F62"
|
|
11808
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11809
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11810
|
+
fill: "#006F62"
|
|
11811
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11812
|
+
x: "3.18616",
|
|
11813
|
+
y: "4.93651",
|
|
11814
|
+
width: "18.8016",
|
|
11815
|
+
height: "16.0635",
|
|
11816
|
+
fill: "#006F62"
|
|
11817
|
+
}));
|
|
11818
|
+
};
|
|
11819
|
+
|
|
11820
|
+
var INTERVAL_MS$1 = 250;
|
|
11821
|
+
var LoadingShapesPinkGreen = function LoadingShapesPinkGreen() {
|
|
11822
|
+
var items = [LoadingItems1, LoadingItems2, LoadingItems3, LoadingItems4, LoadingItems5];
|
|
11823
|
+
var _useCursor = distExports.useCursor({
|
|
11824
|
+
max: items.length
|
|
11825
|
+
}),
|
|
11826
|
+
index = _useCursor.index,
|
|
11827
|
+
handleNext = _useCursor.handleNext;
|
|
11828
|
+
React.useEffect(function () {
|
|
11829
|
+
var interval = setInterval(function () {
|
|
11830
|
+
handleNext();
|
|
11831
|
+
}, INTERVAL_MS$1);
|
|
11832
|
+
return function () {
|
|
11833
|
+
return clearInterval(interval);
|
|
11834
|
+
};
|
|
11835
|
+
}, [handleNext]);
|
|
11836
|
+
return /*#__PURE__*/React.createElement("div", null, items.map(function (Item, itemIndex) {
|
|
11837
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11838
|
+
className: classNames('LoadingShapesPinkGreen__item', {
|
|
11839
|
+
'LoadingShapesPinkGreen__item--current': itemIndex !== index
|
|
11840
|
+
}),
|
|
11841
|
+
key: itemIndex
|
|
11842
|
+
}, /*#__PURE__*/React.createElement(Item, null));
|
|
11843
|
+
}));
|
|
11844
|
+
};
|
|
11845
|
+
|
|
11846
|
+
var LoadingItemsLavenderBlue1 = function LoadingItemsLavenderBlue1() {
|
|
11847
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11848
|
+
width: "211",
|
|
11849
|
+
height: "21",
|
|
11850
|
+
viewBox: "0 0 211 21",
|
|
11851
|
+
fill: "none",
|
|
11852
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11853
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11854
|
+
fillRule: "evenodd",
|
|
11855
|
+
clipRule: "evenodd",
|
|
11856
|
+
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",
|
|
11857
|
+
fill: "#1E22AA"
|
|
11858
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11859
|
+
fillRule: "evenodd",
|
|
11860
|
+
clipRule: "evenodd",
|
|
11861
|
+
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",
|
|
11862
|
+
fill: "#1E22AA"
|
|
11863
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11864
|
+
fillRule: "evenodd",
|
|
11865
|
+
clipRule: "evenodd",
|
|
11866
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11867
|
+
fill: "#1E22AA"
|
|
11868
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11869
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11870
|
+
fill: "#1E22AA"
|
|
11871
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11872
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11873
|
+
fill: "#1E22AA"
|
|
11874
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11875
|
+
x: "3.18616",
|
|
11876
|
+
y: "4.93652",
|
|
11877
|
+
width: "18.8016",
|
|
11878
|
+
height: "16.0635",
|
|
11879
|
+
fill: "#1E22AA"
|
|
11880
|
+
}));
|
|
11881
|
+
};
|
|
11882
|
+
|
|
11883
|
+
var LoadingItemsLavenderBlue2 = function LoadingItemsLavenderBlue2() {
|
|
11884
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11885
|
+
width: "211",
|
|
11886
|
+
height: "21",
|
|
11887
|
+
viewBox: "0 0 211 21",
|
|
11888
|
+
fill: "none",
|
|
11889
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11890
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11891
|
+
fillRule: "evenodd",
|
|
11892
|
+
clipRule: "evenodd",
|
|
11893
|
+
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",
|
|
11894
|
+
fill: "#1E22AA"
|
|
11895
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11896
|
+
fillRule: "evenodd",
|
|
11897
|
+
clipRule: "evenodd",
|
|
11898
|
+
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",
|
|
11899
|
+
fill: "#1E22AA"
|
|
11900
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11901
|
+
fillRule: "evenodd",
|
|
11902
|
+
clipRule: "evenodd",
|
|
11903
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11904
|
+
fill: "#1E22AA"
|
|
11905
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11906
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11907
|
+
fill: "#D5C2D8"
|
|
11908
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11909
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11910
|
+
fill: "#D5C2D8"
|
|
11911
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11912
|
+
x: "3.18619",
|
|
11913
|
+
y: "4.93652",
|
|
11914
|
+
width: "18.8016",
|
|
11915
|
+
height: "16.0635",
|
|
11916
|
+
fill: "#D5C2D8"
|
|
11917
|
+
}));
|
|
11918
|
+
};
|
|
11919
|
+
|
|
11920
|
+
var LoadingItemsLavenderBlue3 = function LoadingItemsLavenderBlue3() {
|
|
11921
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11922
|
+
width: "211",
|
|
11923
|
+
height: "21",
|
|
11924
|
+
viewBox: "0 0 211 21",
|
|
11925
|
+
fill: "none",
|
|
11926
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11927
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11928
|
+
fillRule: "evenodd",
|
|
11929
|
+
clipRule: "evenodd",
|
|
11930
|
+
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",
|
|
11931
|
+
fill: "#D5C2D8"
|
|
11932
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11933
|
+
fillRule: "evenodd",
|
|
11934
|
+
clipRule: "evenodd",
|
|
11935
|
+
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",
|
|
11936
|
+
fill: "#1E22AA"
|
|
11937
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11938
|
+
fillRule: "evenodd",
|
|
11939
|
+
clipRule: "evenodd",
|
|
11940
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11941
|
+
fill: "#1E22AA"
|
|
11942
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11943
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11944
|
+
fill: "#D5C2D8"
|
|
11945
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11946
|
+
d: "M12.6203 4.95946L3.19631 9.27653L3.15217 0.740086L12.6203 4.95946Z",
|
|
11947
|
+
fill: "#D5C2D8"
|
|
11948
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11949
|
+
x: "3.18617",
|
|
11950
|
+
y: "4.93652",
|
|
11951
|
+
width: "18.8016",
|
|
11952
|
+
height: "16.0635",
|
|
11953
|
+
fill: "#D5C2D8"
|
|
11954
|
+
}));
|
|
11955
|
+
};
|
|
11956
|
+
|
|
11957
|
+
var LoadingItemsLavenderBlue4 = function LoadingItemsLavenderBlue4() {
|
|
11958
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11959
|
+
width: "211",
|
|
11960
|
+
height: "21",
|
|
11961
|
+
viewBox: "0 0 211 21",
|
|
11962
|
+
fill: "none",
|
|
11963
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11964
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11965
|
+
fillRule: "evenodd",
|
|
11966
|
+
clipRule: "evenodd",
|
|
11967
|
+
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",
|
|
11968
|
+
fill: "#D5C2D8"
|
|
11969
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11970
|
+
fillRule: "evenodd",
|
|
11971
|
+
clipRule: "evenodd",
|
|
11972
|
+
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",
|
|
11973
|
+
fill: "#D5C2D8"
|
|
11974
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11975
|
+
fillRule: "evenodd",
|
|
11976
|
+
clipRule: "evenodd",
|
|
11977
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
11978
|
+
fill: "#1E22AA"
|
|
11979
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11980
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
11981
|
+
fill: "#D5C2D8"
|
|
11982
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11983
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
11984
|
+
fill: "#D5C2D8"
|
|
11985
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
11986
|
+
x: "3.18619",
|
|
11987
|
+
y: "4.93652",
|
|
11988
|
+
width: "18.8016",
|
|
11989
|
+
height: "16.0635",
|
|
11990
|
+
fill: "#D5C2D8"
|
|
11991
|
+
}));
|
|
11992
|
+
};
|
|
11993
|
+
|
|
11994
|
+
var LoadingItemsLavenderBlue5 = function LoadingItemsLavenderBlue5() {
|
|
11995
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
11996
|
+
width: "211",
|
|
11997
|
+
height: "21",
|
|
11998
|
+
viewBox: "0 0 211 21",
|
|
11999
|
+
fill: "none",
|
|
12000
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12001
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12002
|
+
fillRule: "evenodd",
|
|
12003
|
+
clipRule: "evenodd",
|
|
12004
|
+
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",
|
|
12005
|
+
fill: "#D5C2D8"
|
|
12006
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12007
|
+
fillRule: "evenodd",
|
|
12008
|
+
clipRule: "evenodd",
|
|
12009
|
+
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",
|
|
12010
|
+
fill: "#D5C2D8"
|
|
12011
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12012
|
+
fillRule: "evenodd",
|
|
12013
|
+
clipRule: "evenodd",
|
|
12014
|
+
d: "M200.468 0L190.056 20.828H210.884L200.468 0Z",
|
|
12015
|
+
fill: "#D5C2D8"
|
|
12016
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12017
|
+
d: "M12.5109 4.92857L22.0054 0.696598L21.9727 9.23309L12.5109 4.92857Z",
|
|
12018
|
+
fill: "#D5C2D8"
|
|
12019
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12020
|
+
d: "M12.6203 4.95946L3.19629 9.27653L3.15215 0.740086L12.6203 4.95946Z",
|
|
12021
|
+
fill: "#D5C2D8"
|
|
12022
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
12023
|
+
x: "3.18619",
|
|
12024
|
+
y: "4.93652",
|
|
12025
|
+
width: "18.8016",
|
|
12026
|
+
height: "16.0635",
|
|
12027
|
+
fill: "#D5C2D8"
|
|
12028
|
+
}));
|
|
12029
|
+
};
|
|
12030
|
+
|
|
12031
|
+
var INTERVAL_MS = 250;
|
|
12032
|
+
var LoadingShapesLavenderBlue = function LoadingShapesLavenderBlue() {
|
|
12033
|
+
var items = [LoadingItemsLavenderBlue1, LoadingItemsLavenderBlue2, LoadingItemsLavenderBlue3, LoadingItemsLavenderBlue4, LoadingItemsLavenderBlue5];
|
|
12034
|
+
var _useCursor = distExports.useCursor({
|
|
12035
|
+
max: items.length
|
|
12036
|
+
}),
|
|
12037
|
+
index = _useCursor.index,
|
|
12038
|
+
handleNext = _useCursor.handleNext;
|
|
12039
|
+
React.useEffect(function () {
|
|
12040
|
+
var interval = setInterval(function () {
|
|
12041
|
+
handleNext();
|
|
12042
|
+
}, INTERVAL_MS);
|
|
12043
|
+
return function () {
|
|
12044
|
+
return clearInterval(interval);
|
|
12045
|
+
};
|
|
12046
|
+
}, [handleNext]);
|
|
12047
|
+
return /*#__PURE__*/React.createElement("div", null, items.map(function (Item, itemIndex) {
|
|
12048
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12049
|
+
className: classNames('LoadingShapesLavenderBlue__item', {
|
|
12050
|
+
'LoadingShapesLavenderBlue__item--current': itemIndex !== index
|
|
12051
|
+
}),
|
|
12052
|
+
key: itemIndex
|
|
12053
|
+
}, /*#__PURE__*/React.createElement(Item, null));
|
|
12054
|
+
}));
|
|
12055
|
+
};
|
|
12056
|
+
|
|
11626
12057
|
var preventNavigation = function preventNavigation(event) {
|
|
11627
12058
|
event.preventDefault();
|
|
11628
12059
|
event.returnValue = '';
|
|
@@ -12343,7 +12774,19 @@ exports.Keyhole = Keyhole;
|
|
|
12343
12774
|
exports.Label = Label;
|
|
12344
12775
|
exports.Loading = Loading;
|
|
12345
12776
|
exports.LoadingBalls = LoadingBalls;
|
|
12777
|
+
exports.LoadingItems1 = LoadingItems1;
|
|
12778
|
+
exports.LoadingItems2 = LoadingItems2;
|
|
12779
|
+
exports.LoadingItems3 = LoadingItems3;
|
|
12780
|
+
exports.LoadingItems4 = LoadingItems4;
|
|
12781
|
+
exports.LoadingItems5 = LoadingItems5;
|
|
12782
|
+
exports.LoadingItemsLavenderBlue1 = LoadingItemsLavenderBlue1;
|
|
12783
|
+
exports.LoadingItemsLavenderBlue2 = LoadingItemsLavenderBlue2;
|
|
12784
|
+
exports.LoadingItemsLavenderBlue3 = LoadingItemsLavenderBlue3;
|
|
12785
|
+
exports.LoadingItemsLavenderBlue4 = LoadingItemsLavenderBlue4;
|
|
12786
|
+
exports.LoadingItemsLavenderBlue5 = LoadingItemsLavenderBlue5;
|
|
12346
12787
|
exports.LoadingShapes = LoadingShapes;
|
|
12788
|
+
exports.LoadingShapesLavenderBlue = LoadingShapesLavenderBlue;
|
|
12789
|
+
exports.LoadingShapesPinkGreen = LoadingShapesPinkGreen;
|
|
12347
12790
|
exports.Mirror = Mirror;
|
|
12348
12791
|
exports.Modal = Modal;
|
|
12349
12792
|
exports.ModalOverlay = ModalOverlay;
|