@thecb/components 4.3.8 → 4.3.9
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
CHANGED
|
@@ -12469,10 +12469,10 @@ var border = {
|
|
|
12469
12469
|
};
|
|
12470
12470
|
var hoverBackgroundColor = {
|
|
12471
12471
|
primary: "#116285",
|
|
12472
|
-
secondary: "
|
|
12472
|
+
secondary: "#DBEAF0",
|
|
12473
12473
|
back: "transparent",
|
|
12474
12474
|
smallPrimary: "#116285",
|
|
12475
|
-
smallSecondary: "
|
|
12475
|
+
smallSecondary: "#DBEAF0",
|
|
12476
12476
|
smallGhost: "transparent",
|
|
12477
12477
|
ghost: "transparent",
|
|
12478
12478
|
tertiary: "transparent",
|
|
@@ -12482,10 +12482,10 @@ var hoverBackgroundColor = {
|
|
|
12482
12482
|
};
|
|
12483
12483
|
var hoverBorderColor = {
|
|
12484
12484
|
primary: "#116285",
|
|
12485
|
-
secondary: "#
|
|
12485
|
+
secondary: "#15749D",
|
|
12486
12486
|
back: "#DCEAF1",
|
|
12487
12487
|
smallPrimary: "#116285",
|
|
12488
|
-
smallSecondary: "#
|
|
12488
|
+
smallSecondary: "#15749D",
|
|
12489
12489
|
smallGhost: "transparent",
|
|
12490
12490
|
ghost: "transparent",
|
|
12491
12491
|
tertiary: "transparent",
|
|
@@ -12508,10 +12508,10 @@ var hoverColor = {
|
|
|
12508
12508
|
};
|
|
12509
12509
|
var activeBackgroundColor = {
|
|
12510
12510
|
primary: "#0E506D",
|
|
12511
|
-
secondary: "
|
|
12511
|
+
secondary: "#B8D5E1",
|
|
12512
12512
|
back: "transparent",
|
|
12513
12513
|
smallPrimary: "#0E506D",
|
|
12514
|
-
smallSecondary: "
|
|
12514
|
+
smallSecondary: "#B8D5E1",
|
|
12515
12515
|
smallGhost: "transparent",
|
|
12516
12516
|
ghost: "transparent",
|
|
12517
12517
|
tertiary: "transparent",
|
|
@@ -12521,10 +12521,10 @@ var activeBackgroundColor = {
|
|
|
12521
12521
|
};
|
|
12522
12522
|
var activeBorderColor = {
|
|
12523
12523
|
primary: "#0E506D",
|
|
12524
|
-
secondary: "#
|
|
12524
|
+
secondary: "#15749D",
|
|
12525
12525
|
back: "#0E506D",
|
|
12526
12526
|
smallPrimary: "#0E506D",
|
|
12527
|
-
smallSecondary: "#
|
|
12527
|
+
smallSecondary: "#15749D",
|
|
12528
12528
|
smallGhost: "transparent",
|
|
12529
12529
|
ghost: "transparent",
|
|
12530
12530
|
tertiary: "transparent",
|
|
@@ -12534,7 +12534,7 @@ var activeBorderColor = {
|
|
|
12534
12534
|
};
|
|
12535
12535
|
var activeColor = {
|
|
12536
12536
|
primary: "#FFFFFF",
|
|
12537
|
-
secondary: "#
|
|
12537
|
+
secondary: "#15749D",
|
|
12538
12538
|
back: "#0E506D",
|
|
12539
12539
|
smallPrimary: "#FFFFFF",
|
|
12540
12540
|
smallSecondary: "#0E506D",
|
|
@@ -12620,7 +12620,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12620
12620
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
12621
12621
|
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
12622
12622
|
d: "M72.1558149,36 C72.0733136,36 72.0151877,35.9981252 71.9829372,35.9970003 C66.1928468,35.9876262 60,31.1685779 60,23.9985001 C60,16.821298 66.204847,12 71.9998125,12 C78.2804106,12 84,17.7189638 84,23.9985001 C84,24.4124613 83.6639947,24.7484298 83.2499883,24.7484298 C82.8356068,24.7484298 82.4999766,24.4124613 82.4999766,23.9985001 C82.4999766,18.5041402 77.4951484,13.4998594 71.9998125,13.4998594 C66.9289833,13.4998594 61.5000234,17.7185889 61.5000234,23.9985001 C61.5000234,30.2784114 66.9289833,34.4971409 71.9998125,34.4971409 C72.0129377,34.4971409 72.0260629,34.4975159 72.0391881,34.4982658 C72.0789387,34.4990157 76.2268785,34.6471268 79.907186,30.9675968 C80.2000656,30.6747492 80.675198,30.6747492 80.9677026,30.9675968 C81.2605822,31.2604443 81.2605822,31.7351498 80.9677026,32.0279974 C77.2236441,35.7716464 73.1034547,36 72.1558149,36 L72.1558149,36 Z",
|
|
12623
|
-
id: "path-1"
|
|
12623
|
+
id: "spinner-path-1"
|
|
12624
12624
|
})), /*#__PURE__*/React__default.createElement("g", {
|
|
12625
12625
|
id: "Symbols",
|
|
12626
12626
|
fill: "none",
|
|
@@ -12632,11 +12632,11 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12632
12632
|
id: "mask-2",
|
|
12633
12633
|
fill: color || "white"
|
|
12634
12634
|
}, /*#__PURE__*/React__default.createElement("use", {
|
|
12635
|
-
xlinkHref: "#path-1"
|
|
12635
|
+
xlinkHref: "#spinner-path-1"
|
|
12636
12636
|
})), /*#__PURE__*/React__default.createElement("use", {
|
|
12637
12637
|
id: "loader",
|
|
12638
12638
|
fill: color || "white",
|
|
12639
|
-
xlinkHref: "#path-1"
|
|
12639
|
+
xlinkHref: "#spinner-path-1"
|
|
12640
12640
|
}))))));
|
|
12641
12641
|
};
|
|
12642
12642
|
|
|
@@ -38845,6 +38845,10 @@ var Modal$1 = function Modal(_ref) {
|
|
|
38845
38845
|
maxHeight = _ref.maxHeight,
|
|
38846
38846
|
_ref$underlayClickExi = _ref.underlayClickExits,
|
|
38847
38847
|
underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
|
|
38848
|
+
noBorder = _ref.noBorder,
|
|
38849
|
+
customWidth = _ref.customWidth,
|
|
38850
|
+
isLoading = _ref.isLoading,
|
|
38851
|
+
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
38848
38852
|
children = _ref.children;
|
|
38849
38853
|
|
|
38850
38854
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -38861,7 +38865,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
38861
38865
|
alignItems: "center"
|
|
38862
38866
|
},
|
|
38863
38867
|
dialogStyle: {
|
|
38864
|
-
width: "615px"
|
|
38868
|
+
width: customWidth || "615px"
|
|
38865
38869
|
},
|
|
38866
38870
|
underlayClickExits: underlayClickExits
|
|
38867
38871
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -38870,7 +38874,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
38870
38874
|
boxShadow: "inset 0px -2px 0px 0px rgb(0, 80, 149)"
|
|
38871
38875
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
38872
38876
|
background: modalHeaderBg,
|
|
38873
|
-
padding: "
|
|
38877
|
+
padding: "1.5rem"
|
|
38874
38878
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
38875
38879
|
justify: "flex-start",
|
|
38876
38880
|
align: "center"
|
|
@@ -38879,13 +38883,13 @@ var Modal$1 = function Modal(_ref) {
|
|
|
38879
38883
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
38880
38884
|
}, modalHeaderText))), /*#__PURE__*/React__default.createElement(Box, {
|
|
38881
38885
|
background: modalBodyBg,
|
|
38882
|
-
padding: "
|
|
38886
|
+
padding: "1.5rem"
|
|
38883
38887
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
38884
38888
|
childGap: "1.5rem"
|
|
38885
38889
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
38886
|
-
borderWidthOverride: "0 0 2px 0",
|
|
38887
|
-
borderColor: SILVER_GREY,
|
|
38888
|
-
padding: "0 0 1.5rem 0",
|
|
38890
|
+
borderWidthOverride: noBorder && "0 0 2px 0",
|
|
38891
|
+
borderColor: !noBorder && SILVER_GREY,
|
|
38892
|
+
padding: !noBorder && "0 0 1.5rem 0",
|
|
38889
38893
|
extraStyles: maxHeight ? "max-height: ".concat(maxHeight, "; overflow: auto;") : ""
|
|
38890
38894
|
}, defaultWrapper ? /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
38891
38895
|
variant: "p"
|
|
@@ -38893,33 +38897,63 @@ var Modal$1 = function Modal(_ref) {
|
|
|
38893
38897
|
padding: maxHeight ? "0 0 1rem 0" : "0"
|
|
38894
38898
|
}, modalBodyText)), /*#__PURE__*/React__default.createElement(Box, {
|
|
38895
38899
|
padding: "0"
|
|
38896
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
38900
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
38901
|
+
direction: "row",
|
|
38897
38902
|
justify: "flex-end",
|
|
38898
38903
|
align: "center",
|
|
38899
38904
|
childGap: "0rem"
|
|
38900
|
-
}, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
38901
|
-
|
|
38902
|
-
|
|
38905
|
+
}, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, isMobile ? /*#__PURE__*/React__default.createElement(Stack, {
|
|
38906
|
+
childGap: "1rem",
|
|
38907
|
+
direction: "row"
|
|
38908
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
38909
|
+
width: "100%",
|
|
38910
|
+
padding: "0"
|
|
38903
38911
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38904
38912
|
variant: "secondary",
|
|
38905
38913
|
action: cancelAction ? cancelAction : hideModal,
|
|
38906
38914
|
text: cancelButtonText,
|
|
38907
|
-
dataQa: cancelButtonText
|
|
38915
|
+
dataQa: cancelButtonText,
|
|
38916
|
+
extraStyles: buttonExtraStyles,
|
|
38917
|
+
className: "modal-cancel-button"
|
|
38908
38918
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
38909
|
-
|
|
38910
|
-
|
|
38919
|
+
width: "100%",
|
|
38920
|
+
padding: "0"
|
|
38911
38921
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38912
38922
|
variant: useDangerButton ? "danger" : "primary",
|
|
38913
38923
|
action: continueAction,
|
|
38914
38924
|
text: continueButtonText,
|
|
38915
|
-
dataQa: continueButtonText
|
|
38925
|
+
dataQa: continueButtonText,
|
|
38926
|
+
isLoading: isLoading,
|
|
38927
|
+
extraStyles: buttonExtraStyles,
|
|
38928
|
+
className: "modal-continue-button"
|
|
38929
|
+
}))) : /*#__PURE__*/React__default.createElement(Stack, {
|
|
38930
|
+
childGap: "1rem",
|
|
38931
|
+
direction: "row",
|
|
38932
|
+
justify: "flex-end"
|
|
38933
|
+
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38934
|
+
variant: "secondary",
|
|
38935
|
+
action: cancelAction ? cancelAction : hideModal,
|
|
38936
|
+
text: cancelButtonText,
|
|
38937
|
+
dataQa: cancelButtonText,
|
|
38938
|
+
extraStyles: buttonExtraStyles,
|
|
38939
|
+
className: "modal-cancel-button"
|
|
38940
|
+
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38941
|
+
variant: useDangerButton ? "danger" : "primary",
|
|
38942
|
+
action: continueAction,
|
|
38943
|
+
text: continueButtonText,
|
|
38944
|
+
dataQa: continueButtonText,
|
|
38945
|
+
isLoading: isLoading,
|
|
38946
|
+
extraStyles: buttonExtraStyles,
|
|
38947
|
+
className: "modal-continue-button"
|
|
38916
38948
|
}))) : /*#__PURE__*/React__default.createElement(Box, {
|
|
38917
38949
|
padding: "0.5rem"
|
|
38918
38950
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38919
38951
|
action: hideModal,
|
|
38920
38952
|
variant: "primary",
|
|
38921
38953
|
text: "Close",
|
|
38922
|
-
dataQa: "Close"
|
|
38954
|
+
dataQa: "Close",
|
|
38955
|
+
extraStyles: buttonExtraStyles,
|
|
38956
|
+
className: "modal-cancel-button"
|
|
38923
38957
|
})))))))), children);
|
|
38924
38958
|
};
|
|
38925
38959
|
|
package/package.json
CHANGED
|
@@ -117,10 +117,10 @@ const border = {
|
|
|
117
117
|
|
|
118
118
|
const hoverBackgroundColor = {
|
|
119
119
|
primary: "#116285",
|
|
120
|
-
secondary: "
|
|
120
|
+
secondary: "#DBEAF0",
|
|
121
121
|
back: "transparent",
|
|
122
122
|
smallPrimary: "#116285",
|
|
123
|
-
smallSecondary: "
|
|
123
|
+
smallSecondary: "#DBEAF0",
|
|
124
124
|
smallGhost: "transparent",
|
|
125
125
|
ghost: "transparent",
|
|
126
126
|
tertiary: "transparent",
|
|
@@ -131,10 +131,10 @@ const hoverBackgroundColor = {
|
|
|
131
131
|
|
|
132
132
|
const hoverBorderColor = {
|
|
133
133
|
primary: "#116285",
|
|
134
|
-
secondary: "#
|
|
134
|
+
secondary: "#15749D",
|
|
135
135
|
back: "#DCEAF1",
|
|
136
136
|
smallPrimary: "#116285",
|
|
137
|
-
smallSecondary: "#
|
|
137
|
+
smallSecondary: "#15749D",
|
|
138
138
|
smallGhost: "transparent",
|
|
139
139
|
ghost: "transparent",
|
|
140
140
|
tertiary: "transparent",
|
|
@@ -159,10 +159,10 @@ const hoverColor = {
|
|
|
159
159
|
|
|
160
160
|
const activeBackgroundColor = {
|
|
161
161
|
primary: "#0E506D",
|
|
162
|
-
secondary: "
|
|
162
|
+
secondary: "#B8D5E1",
|
|
163
163
|
back: "transparent",
|
|
164
164
|
smallPrimary: "#0E506D",
|
|
165
|
-
smallSecondary: "
|
|
165
|
+
smallSecondary: "#B8D5E1",
|
|
166
166
|
smallGhost: "transparent",
|
|
167
167
|
ghost: "transparent",
|
|
168
168
|
tertiary: "transparent",
|
|
@@ -173,10 +173,10 @@ const activeBackgroundColor = {
|
|
|
173
173
|
|
|
174
174
|
const activeBorderColor = {
|
|
175
175
|
primary: "#0E506D",
|
|
176
|
-
secondary: "#
|
|
176
|
+
secondary: "#15749D",
|
|
177
177
|
back: "#0E506D",
|
|
178
178
|
smallPrimary: "#0E506D",
|
|
179
|
-
smallSecondary: "#
|
|
179
|
+
smallSecondary: "#15749D",
|
|
180
180
|
smallGhost: "transparent",
|
|
181
181
|
ghost: "transparent",
|
|
182
182
|
tertiary: "transparent",
|
|
@@ -187,7 +187,7 @@ const activeBorderColor = {
|
|
|
187
187
|
|
|
188
188
|
const activeColor = {
|
|
189
189
|
primary: "#FFFFFF",
|
|
190
|
-
secondary: "#
|
|
190
|
+
secondary: "#15749D",
|
|
191
191
|
back: "#0E506D",
|
|
192
192
|
smallPrimary: "#FFFFFF",
|
|
193
193
|
smallSecondary: "#0E506D",
|
|
@@ -36,6 +36,10 @@ const Modal = ({
|
|
|
36
36
|
onlyCloseButton = false,
|
|
37
37
|
maxHeight,
|
|
38
38
|
underlayClickExits = true,
|
|
39
|
+
noBorder,
|
|
40
|
+
customWidth,
|
|
41
|
+
isLoading,
|
|
42
|
+
buttonExtraStyles,
|
|
39
43
|
children
|
|
40
44
|
}) => {
|
|
41
45
|
const { isMobile } = useContext(ThemeContext);
|
|
@@ -53,7 +57,7 @@ const Modal = ({
|
|
|
53
57
|
alignItems: "center"
|
|
54
58
|
}}
|
|
55
59
|
dialogStyle={{
|
|
56
|
-
width: "615px"
|
|
60
|
+
width: customWidth || "615px"
|
|
57
61
|
}}
|
|
58
62
|
underlayClickExits={underlayClickExits}
|
|
59
63
|
>
|
|
@@ -62,19 +66,19 @@ const Modal = ({
|
|
|
62
66
|
borderRadius="2px"
|
|
63
67
|
boxShadow="inset 0px -2px 0px 0px rgb(0, 80, 149)"
|
|
64
68
|
>
|
|
65
|
-
<Box background={modalHeaderBg} padding="
|
|
69
|
+
<Box background={modalHeaderBg} padding="1.5rem">
|
|
66
70
|
<Cluster justify="flex-start" align="center">
|
|
67
71
|
<Heading variant="h6" weight={FONT_WEIGHT_SEMIBOLD}>
|
|
68
72
|
{modalHeaderText}
|
|
69
73
|
</Heading>
|
|
70
74
|
</Cluster>
|
|
71
75
|
</Box>
|
|
72
|
-
<Box background={modalBodyBg} padding="
|
|
76
|
+
<Box background={modalBodyBg} padding="1.5rem">
|
|
73
77
|
<Stack childGap="1.5rem">
|
|
74
78
|
<Box
|
|
75
|
-
borderWidthOverride="0 0 2px 0"
|
|
76
|
-
borderColor={SILVER_GREY}
|
|
77
|
-
padding="0 0 1.5rem 0"
|
|
79
|
+
borderWidthOverride={noBorder && "0 0 2px 0"}
|
|
80
|
+
borderColor={!noBorder && SILVER_GREY}
|
|
81
|
+
padding={!noBorder && "0 0 1.5rem 0"}
|
|
78
82
|
extraStyles={
|
|
79
83
|
maxHeight ? `max-height: ${maxHeight}; overflow: auto;` : ``
|
|
80
84
|
}
|
|
@@ -88,31 +92,63 @@ const Modal = ({
|
|
|
88
92
|
)}
|
|
89
93
|
</Box>
|
|
90
94
|
<Box padding="0">
|
|
91
|
-
<
|
|
95
|
+
<Stack
|
|
96
|
+
direction="row"
|
|
97
|
+
justify="flex-end"
|
|
98
|
+
align="center"
|
|
99
|
+
childGap="0rem"
|
|
100
|
+
>
|
|
92
101
|
{!onlyCloseButton ? (
|
|
93
102
|
<Fragment>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
103
|
+
{isMobile ? (
|
|
104
|
+
<Stack childGap="1rem" direction="row">
|
|
105
|
+
<Box width="100%" padding="0">
|
|
106
|
+
<ButtonWithAction
|
|
107
|
+
variant="secondary"
|
|
108
|
+
action={cancelAction ? cancelAction : hideModal}
|
|
109
|
+
text={cancelButtonText}
|
|
110
|
+
dataQa={cancelButtonText}
|
|
111
|
+
extraStyles={buttonExtraStyles}
|
|
112
|
+
className="modal-cancel-button"
|
|
113
|
+
/>
|
|
114
|
+
</Box>
|
|
115
|
+
<Box width="100%" padding="0">
|
|
116
|
+
<ButtonWithAction
|
|
117
|
+
variant={useDangerButton ? "danger" : "primary"}
|
|
118
|
+
action={continueAction}
|
|
119
|
+
text={continueButtonText}
|
|
120
|
+
dataQa={continueButtonText}
|
|
121
|
+
isLoading={isLoading}
|
|
122
|
+
extraStyles={buttonExtraStyles}
|
|
123
|
+
className="modal-continue-button"
|
|
124
|
+
/>
|
|
125
|
+
</Box>
|
|
126
|
+
</Stack>
|
|
127
|
+
) : (
|
|
128
|
+
<Stack
|
|
129
|
+
childGap="1rem"
|
|
130
|
+
direction="row"
|
|
131
|
+
justify="flex-end"
|
|
132
|
+
>
|
|
133
|
+
<ButtonWithAction
|
|
134
|
+
variant="secondary"
|
|
135
|
+
action={cancelAction ? cancelAction : hideModal}
|
|
136
|
+
text={cancelButtonText}
|
|
137
|
+
dataQa={cancelButtonText}
|
|
138
|
+
extraStyles={buttonExtraStyles}
|
|
139
|
+
className="modal-cancel-button"
|
|
140
|
+
/>
|
|
141
|
+
<ButtonWithAction
|
|
142
|
+
variant={useDangerButton ? "danger" : "primary"}
|
|
143
|
+
action={continueAction}
|
|
144
|
+
text={continueButtonText}
|
|
145
|
+
dataQa={continueButtonText}
|
|
146
|
+
isLoading={isLoading}
|
|
147
|
+
extraStyles={buttonExtraStyles}
|
|
148
|
+
className="modal-continue-button"
|
|
149
|
+
/>
|
|
150
|
+
</Stack>
|
|
151
|
+
)}
|
|
116
152
|
</Fragment>
|
|
117
153
|
) : (
|
|
118
154
|
<Box padding="0.5rem">
|
|
@@ -121,10 +157,12 @@ const Modal = ({
|
|
|
121
157
|
variant="primary"
|
|
122
158
|
text="Close"
|
|
123
159
|
dataQa="Close"
|
|
160
|
+
extraStyles={buttonExtraStyles}
|
|
161
|
+
className="modal-cancel-button"
|
|
124
162
|
/>
|
|
125
163
|
</Box>
|
|
126
164
|
)}
|
|
127
|
-
</
|
|
165
|
+
</Stack>
|
|
128
166
|
</Box>
|
|
129
167
|
</Stack>
|
|
130
168
|
</Box>
|
|
@@ -45,7 +45,7 @@ const SpinnerIcon = ({ color, isMobile }) => (
|
|
|
45
45
|
<defs>
|
|
46
46
|
<path
|
|
47
47
|
d="M72.1558149,36 C72.0733136,36 72.0151877,35.9981252 71.9829372,35.9970003 C66.1928468,35.9876262 60,31.1685779 60,23.9985001 C60,16.821298 66.204847,12 71.9998125,12 C78.2804106,12 84,17.7189638 84,23.9985001 C84,24.4124613 83.6639947,24.7484298 83.2499883,24.7484298 C82.8356068,24.7484298 82.4999766,24.4124613 82.4999766,23.9985001 C82.4999766,18.5041402 77.4951484,13.4998594 71.9998125,13.4998594 C66.9289833,13.4998594 61.5000234,17.7185889 61.5000234,23.9985001 C61.5000234,30.2784114 66.9289833,34.4971409 71.9998125,34.4971409 C72.0129377,34.4971409 72.0260629,34.4975159 72.0391881,34.4982658 C72.0789387,34.4990157 76.2268785,34.6471268 79.907186,30.9675968 C80.2000656,30.6747492 80.675198,30.6747492 80.9677026,30.9675968 C81.2605822,31.2604443 81.2605822,31.7351498 80.9677026,32.0279974 C77.2236441,35.7716464 73.1034547,36 72.1558149,36 L72.1558149,36 Z"
|
|
48
|
-
id="path-1"
|
|
48
|
+
id="spinner-path-1"
|
|
49
49
|
/>
|
|
50
50
|
</defs>
|
|
51
51
|
<g id="Symbols" fill="none" fillRule="evenodd">
|
|
@@ -54,9 +54,13 @@ const SpinnerIcon = ({ color, isMobile }) => (
|
|
|
54
54
|
transform="translate(-60 -12)"
|
|
55
55
|
>
|
|
56
56
|
<mask id="mask-2" fill={color || "white"}>
|
|
57
|
-
<use xlinkHref="#path-1" />
|
|
57
|
+
<use xlinkHref="#spinner-path-1" />
|
|
58
58
|
</mask>
|
|
59
|
-
<use
|
|
59
|
+
<use
|
|
60
|
+
id="loader"
|
|
61
|
+
fill={color || "white"}
|
|
62
|
+
xlinkHref="#spinner-path-1"
|
|
63
|
+
/>
|
|
60
64
|
</g>
|
|
61
65
|
</g>
|
|
62
66
|
</svg>
|