@thecb/components 4.1.0 → 4.1.2
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
|
@@ -14175,6 +14175,190 @@ var SearchIcon = function SearchIcon() {
|
|
|
14175
14175
|
})))))));
|
|
14176
14176
|
};
|
|
14177
14177
|
|
|
14178
|
+
var WalletIcon = function WalletIcon(_ref) {
|
|
14179
|
+
var themeValues = _ref.themeValues;
|
|
14180
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14181
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14182
|
+
width: "299",
|
|
14183
|
+
height: "150",
|
|
14184
|
+
viewBox: "0 0 299 150"
|
|
14185
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14186
|
+
fill: "none",
|
|
14187
|
+
fillRule: "evenodd",
|
|
14188
|
+
stroke: "none",
|
|
14189
|
+
strokeWidth: "1"
|
|
14190
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14191
|
+
transform: "translate(-154 -340)"
|
|
14192
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14193
|
+
transform: "translate(132 261)"
|
|
14194
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14195
|
+
transform: "translate(22 79)"
|
|
14196
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
14197
|
+
stroke: "#3B414D",
|
|
14198
|
+
strokeLinecap: "round",
|
|
14199
|
+
strokeWidth: "4.08",
|
|
14200
|
+
transform: "translate(52.686 118.445)"
|
|
14201
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14202
|
+
d: "M208.2 0.375L175.611 0.776"
|
|
14203
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14204
|
+
d: "M233.568 0.375L218.318 0.776"
|
|
14205
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14206
|
+
d: "M44.527 0.375L17.757 0.776"
|
|
14207
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14208
|
+
d: "M7.759 0.375L0 0.776"
|
|
14209
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
14210
|
+
fill: "#B8E4F4",
|
|
14211
|
+
d: "M192.663 142.912c0 3.646-13.311 6.602-29.731 6.602s-29.73-2.956-29.73-6.602c0-3.646 13.31-6.602 29.73-6.602s29.73 2.956 29.73 6.602"
|
|
14212
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
14213
|
+
stroke: "#45B770",
|
|
14214
|
+
strokeLinecap: "round",
|
|
14215
|
+
strokeLinejoin: "round",
|
|
14216
|
+
strokeWidth: "4.08",
|
|
14217
|
+
transform: "translate(150.58 129.154)"
|
|
14218
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14219
|
+
d: "M8.08496185 -1.08959555e-14L8.08496185 12.6741246 1.81599258e-15 12.6741246"
|
|
14220
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14221
|
+
d: "M16.0044112 -1.18039517e-14L16.0044112 13.0723155 24.0893731 13.0723155"
|
|
14222
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
14223
|
+
stroke: "#45B770",
|
|
14224
|
+
strokeLinecap: "round",
|
|
14225
|
+
strokeLinejoin: "round",
|
|
14226
|
+
strokeWidth: "4.08",
|
|
14227
|
+
d: "M97.135 97.043L85.756 106.925"
|
|
14228
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14229
|
+
stroke: "#45B770",
|
|
14230
|
+
strokeLinecap: "round",
|
|
14231
|
+
strokeLinejoin: "round",
|
|
14232
|
+
strokeWidth: "4.08",
|
|
14233
|
+
d: "M267.332301 89.6743933L241.12027 107.066692 228.276465 97.0878034"
|
|
14234
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14235
|
+
stroke: "#45B770",
|
|
14236
|
+
strokeLinecap: "round",
|
|
14237
|
+
strokeWidth: "4.08",
|
|
14238
|
+
d: "M257.527 89.028L274.395 89.028"
|
|
14239
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
14240
|
+
transform: "translate(255.032 47.73)"
|
|
14241
|
+
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
14242
|
+
width: "40.703",
|
|
14243
|
+
height: "25.03",
|
|
14244
|
+
x: "1.02",
|
|
14245
|
+
y: "1.02",
|
|
14246
|
+
fill: "#E8FFEF",
|
|
14247
|
+
stroke: "#45B770",
|
|
14248
|
+
strokeWidth: "2.04",
|
|
14249
|
+
rx: "2.72"
|
|
14250
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14251
|
+
fill: "#45B770",
|
|
14252
|
+
d: "M0 6.411H42.743V12.11H0z"
|
|
14253
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
14254
|
+
transform: "translate(249.333 54.141)"
|
|
14255
|
+
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
14256
|
+
width: "40.703",
|
|
14257
|
+
height: "25.03",
|
|
14258
|
+
x: "1.02",
|
|
14259
|
+
y: "1.02",
|
|
14260
|
+
fill: "#CACED8",
|
|
14261
|
+
stroke: "#3B414D",
|
|
14262
|
+
strokeWidth: "2.04",
|
|
14263
|
+
rx: "2.72"
|
|
14264
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14265
|
+
fill: "#3B414D",
|
|
14266
|
+
d: "M0 6.411H42.743V12.11H0z"
|
|
14267
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
14268
|
+
width: "9.973",
|
|
14269
|
+
height: "2.85",
|
|
14270
|
+
x: "27.163",
|
|
14271
|
+
y: "18.367",
|
|
14272
|
+
fill: "#3B414D",
|
|
14273
|
+
rx: "1.36"
|
|
14274
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
14275
|
+
transform: "translate(237.223 59.128)"
|
|
14276
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
14277
|
+
cx: "8.905",
|
|
14278
|
+
cy: "8.905",
|
|
14279
|
+
r: "8.905",
|
|
14280
|
+
fill: themeValues.subIconColor
|
|
14281
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
14282
|
+
fill: "#FFF",
|
|
14283
|
+
transform: "translate(4.274 4.274)"
|
|
14284
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14285
|
+
d: "M3.562 0H5.699V9.261H3.562z"
|
|
14286
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14287
|
+
d: "M0 3.562H9.261V5.699H0z"
|
|
14288
|
+
}))), /*#__PURE__*/React__default.createElement("path", {
|
|
14289
|
+
fill: "#B8E4F4",
|
|
14290
|
+
stroke: "#3B414D",
|
|
14291
|
+
strokeWidth: "4.08",
|
|
14292
|
+
d: "M196.423 22.699c2.441 0 4.651.99 6.25 2.59 1.6 1.599 2.59 3.809 2.59 6.25h0V78.88c0 2.441-.99 4.651-2.59 6.25a8.812 8.812 0 01-6.25 2.59h0-90.084a8.812 8.812 0 01-6.25-2.59 8.812 8.812 0 01-2.59-6.25h0V28.139c0-1.502.609-2.862 1.593-3.847a5.423 5.423 0 013.847-1.593h0z"
|
|
14293
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
14294
|
+
width: "32.964",
|
|
14295
|
+
height: "11.592",
|
|
14296
|
+
x: "97.499",
|
|
14297
|
+
y: "22.699",
|
|
14298
|
+
stroke: "#3B414D",
|
|
14299
|
+
strokeWidth: "4.08",
|
|
14300
|
+
rx: "5.796"
|
|
14301
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14302
|
+
fill: "#B8E4F4",
|
|
14303
|
+
d: "M121.817 24.933H141.051V32.057H121.817z"
|
|
14304
|
+
}), /*#__PURE__*/React__default.createElement("rect", {
|
|
14305
|
+
width: "133.928",
|
|
14306
|
+
height: "98.309",
|
|
14307
|
+
x: "95.459",
|
|
14308
|
+
y: "32.057",
|
|
14309
|
+
fill: "#FFF",
|
|
14310
|
+
rx: "10.88"
|
|
14311
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14312
|
+
stroke: "#3B414D",
|
|
14313
|
+
strokeWidth: "4.08",
|
|
14314
|
+
d: "M218.507 34.097c2.44 0 4.65.99 6.25 2.59 1.6 1.599 2.59 3.809 2.59 6.25h0v76.549c0 2.44-.99 4.65-2.59 6.25a8.812 8.812 0 01-6.25 2.59h0-112.168a8.812 8.812 0 01-6.25-2.59 8.812 8.812 0 01-2.59-6.25h0V34.097z"
|
|
14315
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14316
|
+
fill: "#FFF",
|
|
14317
|
+
d: "M99.733 35.148c.745.789 2.175 1.183 4.289 1.183s2.114.304 0 .911l-4.289-.022v-2.072z"
|
|
14318
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14319
|
+
stroke: "#45B770",
|
|
14320
|
+
strokeLinecap: "round",
|
|
14321
|
+
strokeLinejoin: "round",
|
|
14322
|
+
strokeWidth: "4.08",
|
|
14323
|
+
d: "M85.756 106.925L111.684 112.988"
|
|
14324
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
14325
|
+
stroke: "#45B770",
|
|
14326
|
+
strokeLinecap: "round",
|
|
14327
|
+
strokeLinejoin: "round",
|
|
14328
|
+
strokeWidth: "4.08",
|
|
14329
|
+
transform: "translate(112.486 110.241)"
|
|
14330
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14331
|
+
d: "M3.887.053a3.887 3.887 0 000 7.775h3.396"
|
|
14332
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
14333
|
+
stroke: "#3B414D",
|
|
14334
|
+
strokeLinecap: "round",
|
|
14335
|
+
strokeLinejoin: "round",
|
|
14336
|
+
strokeWidth: "3.791",
|
|
14337
|
+
transform: "translate(147.003 64.237)"
|
|
14338
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14339
|
+
d: "M.415 3.316C1.012 1.651 2.54.466 4.333.466c1.792 0 3.321 1.185 3.918 2.85"
|
|
14340
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14341
|
+
d: "M23.928 3.316c.597-1.665 2.126-2.85 3.918-2.85 1.792 0 3.321 1.185 3.918 2.85"
|
|
14342
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
14343
|
+
stroke: "#3B414D",
|
|
14344
|
+
strokeLinecap: "round",
|
|
14345
|
+
strokeWidth: "3.791",
|
|
14346
|
+
d: "M173.17 87.239h0a3.52 3.52 0 01-3.52 3.52h-13.505a3.52 3.52 0 01-3.52-3.52"
|
|
14347
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
14348
|
+
fill: "#B8E4F4"
|
|
14349
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14350
|
+
d: "M245.538 5.06c-.639 0-1.244.141-1.792.387a2.94 2.94 0 00-3.113-1.016A6.9 6.9 0 00234.193 0c-3.205 0-5.891 2.186-6.67 5.147a4.374 4.374 0 10-.865 8.662h18.88a4.374 4.374 0 100-8.749"
|
|
14351
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14352
|
+
d: "M37.36 89.272a6.45 6.45 0 00-3.769 1.214c-.507-5.463-5.102-9.74-10.697-9.74-4.925 0-9.073 3.314-10.343 7.833a7.545 7.545 0 00-4.537-1.516 7.587 7.587 0 000 15.175h29.345a6.483 6.483 0 000-12.966"
|
|
14353
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14354
|
+
d: "M108.726 75.108a4.35 4.35 0 00-1.792.387 2.943 2.943 0 00-3.114-1.016 6.9 6.9 0 00-6.44-4.431c-3.204 0-5.891 2.186-6.67 5.146a4.374 4.374 0 10-.864 8.662h18.88a4.374 4.374 0 100-8.748"
|
|
14355
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
14356
|
+
d: "M71.695 41.493c-.639 0-1.245.14-1.792.387a2.941 2.941 0 00-3.114-1.016 6.9 6.9 0 00-6.44-4.432c-3.204 0-5.89 2.187-6.67 5.147a4.374 4.374 0 10-.864 8.662h18.88a4.374 4.374 0 100-8.748"
|
|
14357
|
+
})))))));
|
|
14358
|
+
};
|
|
14359
|
+
|
|
14360
|
+
var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$2, "info");
|
|
14361
|
+
|
|
14178
14362
|
var color$2 = "#15749D";
|
|
14179
14363
|
var hoverColor$1 = "#116285";
|
|
14180
14364
|
var activeColor$1 = "#0E506D";
|
|
@@ -34325,6 +34509,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
34325
34509
|
fields = _ref.fields,
|
|
34326
34510
|
actions = _ref.actions,
|
|
34327
34511
|
showErrors = _ref.showErrors,
|
|
34512
|
+
guestCheckout = _ref.guestCheckout,
|
|
34328
34513
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
34329
34514
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
34330
34515
|
|
|
@@ -34341,7 +34526,9 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
34341
34526
|
variant: variant,
|
|
34342
34527
|
role: "form",
|
|
34343
34528
|
"aria-label": "Email"
|
|
34344
|
-
},
|
|
34529
|
+
}, guestCheckout && /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
34530
|
+
margin: "0 0 1.125rem 0"
|
|
34531
|
+
}, "If desired, you can create a wallet later for faster checkout"), /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
34345
34532
|
labelTextWhenNoError: "Email",
|
|
34346
34533
|
errorMessages: emailFieldErrorMessages,
|
|
34347
34534
|
type: "email",
|
|
@@ -40001,6 +40188,7 @@ exports.TimeoutImage = TimeoutImage;
|
|
|
40001
40188
|
exports.ToggleSwitch = ToggleSwitch$1;
|
|
40002
40189
|
exports.TypeaheadInput = TypeaheadInput;
|
|
40003
40190
|
exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
|
|
40191
|
+
exports.WalletIcon = WalletIcon$1;
|
|
40004
40192
|
exports.WelcomeModule = WelcomeModule$1;
|
|
40005
40193
|
exports.WorkflowTile = WorkflowTile;
|
|
40006
40194
|
exports.cardRegistry = cardRegistry;
|
package/package.json
CHANGED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
|
|
5
|
+
const WalletIcon = ({ themeValues }) => {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width="299"
|
|
10
|
+
height="150"
|
|
11
|
+
viewBox="0 0 299 150"
|
|
12
|
+
>
|
|
13
|
+
<g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
14
|
+
<g transform="translate(-154 -340)">
|
|
15
|
+
<g transform="translate(132 261)">
|
|
16
|
+
<g transform="translate(22 79)">
|
|
17
|
+
<g
|
|
18
|
+
stroke="#3B414D"
|
|
19
|
+
strokeLinecap="round"
|
|
20
|
+
strokeWidth="4.08"
|
|
21
|
+
transform="translate(52.686 118.445)"
|
|
22
|
+
>
|
|
23
|
+
<path d="M208.2 0.375L175.611 0.776"></path>
|
|
24
|
+
<path d="M233.568 0.375L218.318 0.776"></path>
|
|
25
|
+
<path d="M44.527 0.375L17.757 0.776"></path>
|
|
26
|
+
<path d="M7.759 0.375L0 0.776"></path>
|
|
27
|
+
</g>
|
|
28
|
+
<path
|
|
29
|
+
fill="#B8E4F4"
|
|
30
|
+
d="M192.663 142.912c0 3.646-13.311 6.602-29.731 6.602s-29.73-2.956-29.73-6.602c0-3.646 13.31-6.602 29.73-6.602s29.73 2.956 29.73 6.602"
|
|
31
|
+
></path>
|
|
32
|
+
<g
|
|
33
|
+
stroke="#45B770"
|
|
34
|
+
strokeLinecap="round"
|
|
35
|
+
strokeLinejoin="round"
|
|
36
|
+
strokeWidth="4.08"
|
|
37
|
+
transform="translate(150.58 129.154)"
|
|
38
|
+
>
|
|
39
|
+
<path d="M8.08496185 -1.08959555e-14L8.08496185 12.6741246 1.81599258e-15 12.6741246"></path>
|
|
40
|
+
<path d="M16.0044112 -1.18039517e-14L16.0044112 13.0723155 24.0893731 13.0723155"></path>
|
|
41
|
+
</g>
|
|
42
|
+
<path
|
|
43
|
+
stroke="#45B770"
|
|
44
|
+
strokeLinecap="round"
|
|
45
|
+
strokeLinejoin="round"
|
|
46
|
+
strokeWidth="4.08"
|
|
47
|
+
d="M97.135 97.043L85.756 106.925"
|
|
48
|
+
></path>
|
|
49
|
+
<path
|
|
50
|
+
stroke="#45B770"
|
|
51
|
+
strokeLinecap="round"
|
|
52
|
+
strokeLinejoin="round"
|
|
53
|
+
strokeWidth="4.08"
|
|
54
|
+
d="M267.332301 89.6743933L241.12027 107.066692 228.276465 97.0878034"
|
|
55
|
+
></path>
|
|
56
|
+
<path
|
|
57
|
+
stroke="#45B770"
|
|
58
|
+
strokeLinecap="round"
|
|
59
|
+
strokeWidth="4.08"
|
|
60
|
+
d="M257.527 89.028L274.395 89.028"
|
|
61
|
+
></path>
|
|
62
|
+
<g transform="translate(255.032 47.73)">
|
|
63
|
+
<rect
|
|
64
|
+
width="40.703"
|
|
65
|
+
height="25.03"
|
|
66
|
+
x="1.02"
|
|
67
|
+
y="1.02"
|
|
68
|
+
fill="#E8FFEF"
|
|
69
|
+
stroke="#45B770"
|
|
70
|
+
strokeWidth="2.04"
|
|
71
|
+
rx="2.72"
|
|
72
|
+
></rect>
|
|
73
|
+
<path fill="#45B770" d="M0 6.411H42.743V12.11H0z"></path>
|
|
74
|
+
</g>
|
|
75
|
+
<g transform="translate(249.333 54.141)">
|
|
76
|
+
<rect
|
|
77
|
+
width="40.703"
|
|
78
|
+
height="25.03"
|
|
79
|
+
x="1.02"
|
|
80
|
+
y="1.02"
|
|
81
|
+
fill="#CACED8"
|
|
82
|
+
stroke="#3B414D"
|
|
83
|
+
strokeWidth="2.04"
|
|
84
|
+
rx="2.72"
|
|
85
|
+
></rect>
|
|
86
|
+
<path fill="#3B414D" d="M0 6.411H42.743V12.11H0z"></path>
|
|
87
|
+
<rect
|
|
88
|
+
width="9.973"
|
|
89
|
+
height="2.85"
|
|
90
|
+
x="27.163"
|
|
91
|
+
y="18.367"
|
|
92
|
+
fill="#3B414D"
|
|
93
|
+
rx="1.36"
|
|
94
|
+
></rect>
|
|
95
|
+
</g>
|
|
96
|
+
<g transform="translate(237.223 59.128)">
|
|
97
|
+
<circle
|
|
98
|
+
cx="8.905"
|
|
99
|
+
cy="8.905"
|
|
100
|
+
r="8.905"
|
|
101
|
+
fill={themeValues.subIconColor}
|
|
102
|
+
></circle>
|
|
103
|
+
<g fill="#FFF" transform="translate(4.274 4.274)">
|
|
104
|
+
<path d="M3.562 0H5.699V9.261H3.562z"></path>
|
|
105
|
+
<path d="M0 3.562H9.261V5.699H0z"></path>
|
|
106
|
+
</g>
|
|
107
|
+
</g>
|
|
108
|
+
<path
|
|
109
|
+
fill="#B8E4F4"
|
|
110
|
+
stroke="#3B414D"
|
|
111
|
+
strokeWidth="4.08"
|
|
112
|
+
d="M196.423 22.699c2.441 0 4.651.99 6.25 2.59 1.6 1.599 2.59 3.809 2.59 6.25h0V78.88c0 2.441-.99 4.651-2.59 6.25a8.812 8.812 0 01-6.25 2.59h0-90.084a8.812 8.812 0 01-6.25-2.59 8.812 8.812 0 01-2.59-6.25h0V28.139c0-1.502.609-2.862 1.593-3.847a5.423 5.423 0 013.847-1.593h0z"
|
|
113
|
+
></path>
|
|
114
|
+
<rect
|
|
115
|
+
width="32.964"
|
|
116
|
+
height="11.592"
|
|
117
|
+
x="97.499"
|
|
118
|
+
y="22.699"
|
|
119
|
+
stroke="#3B414D"
|
|
120
|
+
strokeWidth="4.08"
|
|
121
|
+
rx="5.796"
|
|
122
|
+
></rect>
|
|
123
|
+
<path
|
|
124
|
+
fill="#B8E4F4"
|
|
125
|
+
d="M121.817 24.933H141.051V32.057H121.817z"
|
|
126
|
+
></path>
|
|
127
|
+
<rect
|
|
128
|
+
width="133.928"
|
|
129
|
+
height="98.309"
|
|
130
|
+
x="95.459"
|
|
131
|
+
y="32.057"
|
|
132
|
+
fill="#FFF"
|
|
133
|
+
rx="10.88"
|
|
134
|
+
></rect>
|
|
135
|
+
<path
|
|
136
|
+
stroke="#3B414D"
|
|
137
|
+
strokeWidth="4.08"
|
|
138
|
+
d="M218.507 34.097c2.44 0 4.65.99 6.25 2.59 1.6 1.599 2.59 3.809 2.59 6.25h0v76.549c0 2.44-.99 4.65-2.59 6.25a8.812 8.812 0 01-6.25 2.59h0-112.168a8.812 8.812 0 01-6.25-2.59 8.812 8.812 0 01-2.59-6.25h0V34.097z"
|
|
139
|
+
></path>
|
|
140
|
+
<path
|
|
141
|
+
fill="#FFF"
|
|
142
|
+
d="M99.733 35.148c.745.789 2.175 1.183 4.289 1.183s2.114.304 0 .911l-4.289-.022v-2.072z"
|
|
143
|
+
></path>
|
|
144
|
+
<path
|
|
145
|
+
stroke="#45B770"
|
|
146
|
+
strokeLinecap="round"
|
|
147
|
+
strokeLinejoin="round"
|
|
148
|
+
strokeWidth="4.08"
|
|
149
|
+
d="M85.756 106.925L111.684 112.988"
|
|
150
|
+
></path>
|
|
151
|
+
<g
|
|
152
|
+
stroke="#45B770"
|
|
153
|
+
strokeLinecap="round"
|
|
154
|
+
strokeLinejoin="round"
|
|
155
|
+
strokeWidth="4.08"
|
|
156
|
+
transform="translate(112.486 110.241)"
|
|
157
|
+
>
|
|
158
|
+
<path d="M3.887.053a3.887 3.887 0 000 7.775h3.396"></path>
|
|
159
|
+
</g>
|
|
160
|
+
<g
|
|
161
|
+
stroke="#3B414D"
|
|
162
|
+
strokeLinecap="round"
|
|
163
|
+
strokeLinejoin="round"
|
|
164
|
+
strokeWidth="3.791"
|
|
165
|
+
transform="translate(147.003 64.237)"
|
|
166
|
+
>
|
|
167
|
+
<path d="M.415 3.316C1.012 1.651 2.54.466 4.333.466c1.792 0 3.321 1.185 3.918 2.85"></path>
|
|
168
|
+
<path d="M23.928 3.316c.597-1.665 2.126-2.85 3.918-2.85 1.792 0 3.321 1.185 3.918 2.85"></path>
|
|
169
|
+
</g>
|
|
170
|
+
<path
|
|
171
|
+
stroke="#3B414D"
|
|
172
|
+
strokeLinecap="round"
|
|
173
|
+
strokeWidth="3.791"
|
|
174
|
+
d="M173.17 87.239h0a3.52 3.52 0 01-3.52 3.52h-13.505a3.52 3.52 0 01-3.52-3.52"
|
|
175
|
+
></path>
|
|
176
|
+
<g fill="#B8E4F4">
|
|
177
|
+
<path d="M245.538 5.06c-.639 0-1.244.141-1.792.387a2.94 2.94 0 00-3.113-1.016A6.9 6.9 0 00234.193 0c-3.205 0-5.891 2.186-6.67 5.147a4.374 4.374 0 10-.865 8.662h18.88a4.374 4.374 0 100-8.749"></path>
|
|
178
|
+
<path d="M37.36 89.272a6.45 6.45 0 00-3.769 1.214c-.507-5.463-5.102-9.74-10.697-9.74-4.925 0-9.073 3.314-10.343 7.833a7.545 7.545 0 00-4.537-1.516 7.587 7.587 0 000 15.175h29.345a6.483 6.483 0 000-12.966"></path>
|
|
179
|
+
<path d="M108.726 75.108a4.35 4.35 0 00-1.792.387 2.943 2.943 0 00-3.114-1.016 6.9 6.9 0 00-6.44-4.431c-3.204 0-5.891 2.186-6.67 5.146a4.374 4.374 0 10-.864 8.662h18.88a4.374 4.374 0 100-8.748"></path>
|
|
180
|
+
<path d="M71.695 41.493c-.639 0-1.245.14-1.792.387a2.941 2.941 0 00-3.114-1.016 6.9 6.9 0 00-6.44-4.432c-3.204 0-5.89 2.187-6.67 5.147a4.374 4.374 0 10-.864 8.662h18.88a4.374 4.374 0 100-8.748"></path>
|
|
181
|
+
</g>
|
|
182
|
+
</g>
|
|
183
|
+
</g>
|
|
184
|
+
</g>
|
|
185
|
+
</g>
|
|
186
|
+
</svg>
|
|
187
|
+
);
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export default themeComponent(WalletIcon, "Icons", fallbackValues, "info");
|
|
@@ -23,6 +23,7 @@ import TimeoutImage from "./TimeoutImage";
|
|
|
23
23
|
import AutopayOnIcon from "./AutopayOnIcon";
|
|
24
24
|
import NotFoundIcon from "./NotFoundIcon";
|
|
25
25
|
import SearchIcon from "./SearchIcon";
|
|
26
|
+
import WalletIcon from "./WalletIcon";
|
|
26
27
|
|
|
27
28
|
export {
|
|
28
29
|
AccountsIcon,
|
|
@@ -49,5 +50,6 @@ export {
|
|
|
49
50
|
TimeoutImage,
|
|
50
51
|
AutopayOnIcon,
|
|
51
52
|
NotFoundIcon,
|
|
52
|
-
SearchIcon
|
|
53
|
+
SearchIcon,
|
|
54
|
+
WalletIcon
|
|
53
55
|
};
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
FormContainer,
|
|
6
6
|
FormInputColumn
|
|
7
7
|
} from "../../atoms/form-layouts";
|
|
8
|
+
import Paragraph from "../../atoms/paragraph";
|
|
8
9
|
import { noop } from "../../../util/general";
|
|
9
10
|
|
|
10
11
|
const EmailForm = ({
|
|
@@ -13,6 +14,7 @@ const EmailForm = ({
|
|
|
13
14
|
fields,
|
|
14
15
|
actions,
|
|
15
16
|
showErrors,
|
|
17
|
+
guestCheckout,
|
|
16
18
|
handleSubmit = noop
|
|
17
19
|
}) => {
|
|
18
20
|
if (clearOnDismount) {
|
|
@@ -25,6 +27,11 @@ const EmailForm = ({
|
|
|
25
27
|
|
|
26
28
|
return (
|
|
27
29
|
<FormContainer variant={variant} role="form" aria-label="Email">
|
|
30
|
+
{guestCheckout && (
|
|
31
|
+
<Paragraph margin="0 0 1.125rem 0">
|
|
32
|
+
If desired, you can create a wallet later for faster checkout
|
|
33
|
+
</Paragraph>
|
|
34
|
+
)}
|
|
28
35
|
<FormInputColumn>
|
|
29
36
|
<FormInput
|
|
30
37
|
labelTextWhenNoError="Email"
|