@thecb/components 4.1.14 → 4.1.16

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.
Files changed (23) hide show
  1. package/dist/index.cjs.js +235 -553
  2. package/package.json +1 -1
  3. package/src/components/atoms/checkbox/Checkbox.js +63 -49
  4. package/src/components/atoms/dropdown/Dropdown.js +2 -2
  5. package/src/components/atoms/icons/ProfileIcon.js +48 -0
  6. package/src/components/atoms/icons/WalletIcon.js +38 -172
  7. package/src/components/atoms/icons/index.js +3 -1
  8. package/src/components/atoms/text/Text.js +2 -0
  9. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +14 -16
  10. package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +6 -11
  11. package/src/components/molecules/address-form/AddressForm.js +7 -27
  12. package/src/components/molecules/email-form/EmailForm.js +7 -27
  13. package/src/components/molecules/email-form/EmailForm.stories.js +4 -1
  14. package/src/components/molecules/modal/Modal.js +3 -3
  15. package/src/components/molecules/obligation/modules/AmountModule.stories.js +27 -0
  16. package/src/components/molecules/obligation/modules/AutopayModalModule.js +47 -38
  17. package/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +12 -1
  18. package/src/components/molecules/payment-form-ach/PaymentFormACH.js +22 -57
  19. package/src/components/molecules/payment-form-card/PaymentFormCard.js +7 -26
  20. package/src/components/molecules/phone-form/PhoneForm.js +7 -27
  21. package/src/components/molecules/terms-and-conditions/TermsAndConditions.js +12 -40
  22. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +14 -15
  23. package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +1 -1
package/dist/index.cjs.js CHANGED
@@ -6121,10 +6121,11 @@ var Text = function Text(_ref) {
6121
6121
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
6122
6122
  hoverStyles = _ref.hoverStyles,
6123
6123
  onClick = _ref.onClick,
6124
+ onKeyPress = _ref.onKeyPress,
6124
6125
  as = _ref.as,
6125
6126
  dataQa = _ref.dataQa,
6126
6127
  children = _ref.children,
6127
- rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "as", "dataQa", "children"]);
6128
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"]);
6128
6129
 
6129
6130
  return /*#__PURE__*/React__default.createElement(TextSpan, _extends({
6130
6131
  fontSize: themeValues.fontSize,
@@ -6135,6 +6136,7 @@ var Text = function Text(_ref) {
6135
6136
  extraStyles: extraStyles,
6136
6137
  hoverStyles: hoverStyles,
6137
6138
  onClick: onClick,
6139
+ onKeyPress: onKeyPress,
6138
6140
  "data-qa": dataQa
6139
6141
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
6140
6142
  };
@@ -14180,181 +14182,43 @@ var WalletIcon = function WalletIcon(_ref) {
14180
14182
  return /*#__PURE__*/React__default.createElement("svg", {
14181
14183
  xmlns: "http://www.w3.org/2000/svg",
14182
14184
  width: "299",
14183
- height: "150",
14184
- viewBox: "0 0 299 150"
14185
+ height: "151",
14186
+ viewBox: "0 0 299 151"
14185
14187
  }, /*#__PURE__*/React__default.createElement("g", {
14186
14188
  fill: "none",
14187
14189
  fillRule: "evenodd",
14188
14190
  stroke: "none",
14189
14191
  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"
14192
+ }, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
14193
+ fill: themeValues.subIconColor,
14194
+ d: "M154.932 144.31c16.42 0 29.73 2.956 29.73 6.602 0 3.646-13.31 6.602-29.73 6.602s-29.73-2.956-29.73-6.602c0-3.646 13.31-6.602 29.73-6.602zM38.894 88.746c5.595 0 10.19 4.277 10.697 9.74a6.45 6.45 0 013.768-1.214 6.484 6.484 0 010 12.966H24.014a7.588 7.588 0 010-15.175c1.704 0 3.27.569 4.537 1.516 1.27-4.519 5.418-7.833 10.343-7.833zM287.055 55.73a2.72 2.72 0 012.72 2.72v21.63a2.72 2.72 0 01-2.72 2.72h-37.303a2.72 2.72 0 01-2.72-2.72V58.45a2.72 2.72 0 012.72-2.72h37.303zM61.817 54.048c2.554 0 4.73 1.6 5.594 3.85a2.545 2.545 0 012.705.883 3.778 3.778 0 011.557-.336 3.8 3.8 0 010 7.603h-16.4a3.8 3.8 0 11.75-7.528 5.995 5.995 0 015.794-4.472zM191.964 28c6.009 0 10.88 4.871 10.88 10.88v1.48L91 42.324V35.48A7.48 7.48 0 0198.48 28h93.484zM38.38 22.048a6.9 6.9 0 016.44 4.43 2.93 2.93 0 013.114 1.017 4.35 4.35 0 011.792-.387 4.374 4.374 0 110 8.748h-18.88a4.374 4.374 0 11.864-8.662c.779-2.96 3.466-5.146 6.67-5.146zM242.193 8a6.9 6.9 0 016.44 4.431 2.928 2.928 0 013.113 1.016 4.353 4.353 0 011.792-.387 4.374 4.374 0 110 8.748h-18.88a4.374 4.374 0 11.866-8.661c.778-2.96 3.464-5.147 6.67-5.147z",
14195
+ opacity: "0.302"
14267
14196
  }), /*#__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", {
14197
+ width: "132",
14198
+ height: "97",
14199
+ x: "91",
14200
+ y: "40.398",
14282
14201
  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"
14202
+ rx: "10.88"
14293
14203
  }), /*#__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"
14204
+ width: "42.743",
14205
+ height: "27.07",
14206
+ x: "241.333",
14207
+ y: "62.141",
14208
+ fill: "#CACED8",
14209
+ rx: "2.72"
14301
14210
  }), /*#__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"
14211
+ fill: "#3B414D",
14212
+ fillRule: "nonzero",
14213
+ d: "M278.2 125.181a2.04 2.04 0 012.093 1.986c.028 1.075-.78 1.577-1.834 1.683l-.152.01-15.25.4a2.04 2.04 0 01-.26-4.069l.153-.01h15.25zm-192.675 0a2.04 2.04 0 01.103 4.076l-.153.004H62.418a2.04 2.04 0 01-.103-4.076l.153-.004h23.057zm-31.043 1.935a2.04 2.04 0 01-1.78 2.129l-.152.013H44.79a2.04 2.04 0 01-.362-4.061l.152-.014h7.759a2.04 2.04 0 012.142 1.933zm167.441-1.758l31.106.006c1.075-.012 1.958.793 1.971 1.799.012.96-.771 1.756-1.778 1.837l-.145.007L221.97 129c-1.075.012-1.958-.793-1.971-1.799-.012-.96.771-1.756 1.778-1.837l.145-.006zm62.153-56.806v5.7h-42.743v-5.7h42.743zM145.815 71c2.575 0 4.828 1.668 5.702 4.106a1.896 1.896 0 01-3.51 1.423l-.059-.144c-.345-.964-1.196-1.594-2.133-1.594-.883 0-1.689.558-2.069 1.427l-.066.167a1.896 1.896 0 01-3.568-1.28c.874-2.437 3.126-4.105 5.703-4.105zm23.513 0c2.576 0 4.828 1.668 5.702 4.106a1.896 1.896 0 01-3.51 1.423l-.059-.144c-.345-.964-1.196-1.594-2.133-1.594-.883 0-1.689.558-2.068 1.427l-.066.167a1.895 1.895 0 11-3.57-1.28c.875-2.437 3.128-4.105 5.704-4.105zm23.636-45.04c7.032 0 12.752 5.618 12.916 12.61l.004.31-.001 1.12h7.165c6.008 0 10.88 4.871 10.88 10.88v76.549c0 6.008-4.872 10.88-10.88 10.88H100.88c-6.009 0-10.88-4.872-10.88-10.88V45.325h-.04V35.48a9.52 9.52 0 019.249-9.516l.271-.004h93.484zm20.084 18.12l-118.968.001v83.348a6.8 6.8 0 006.561 6.795l.239.005h112.168a6.8 6.8 0 006.796-6.562l.004-.238V50.88a6.8 6.8 0 00-6.562-6.796l-.238-.004zm-45.4 49.455c1.047 0 1.895.849 1.895 1.896a5.415 5.415 0 01-5.197 5.41l-.218.005h-13.505a5.415 5.415 0 01-5.414-5.415 1.896 1.896 0 013.785-.148l.006.148c0 .847.648 1.543 1.476 1.617l.147.007h13.505c.847 0 1.543-.649 1.618-1.476l.006-.148c0-1.047.85-1.896 1.896-1.896zm113.708-31.394a2.72 2.72 0 012.72 2.72v21.63a2.72 2.72 0 01-2.72 2.72h-37.303a2.72 2.72 0 01-2.72-2.72v-21.63a2.72 2.72 0 012.72-2.72h37.303zm0 2.04h-37.303a.68.68 0 00-.672.58l-.008.1v21.63a.68.68 0 00.58.673l.1.007h37.303a.68.68 0 00.673-.58l.007-.1v-21.63a.68.68 0 00-.58-.673l-.1-.007zm-4.246 16.327c.751 0 1.36.609 1.36 1.36v.13a1.36 1.36 0 01-1.36 1.36h-7.253a1.36 1.36 0 01-1.36-1.36v-.13c0-.751.609-1.36 1.36-1.36h7.253zM192.964 30.04H99.48a5.44 5.44 0 00-5.436 5.221l-.004.219V40h107.763v-1.12a8.84 8.84 0 00-8.579-8.836l-.26-.004z"
14311
14214
  }), /*#__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"
14215
+ fill: themeValues.subIconColor,
14216
+ fillRule: "nonzero",
14217
+ d: "M160.625 137.938v10.248h6.045a2.04 2.04 0 012.034 1.888l.006.152a2.04 2.04 0 01-1.888 2.034l-.152.006h-8.085a2.04 2.04 0 01-2.034-1.888l-.006-.152v-12.288h4.08zm-7.92 0v11.89a2.04 2.04 0 01-1.887 2.034l-.152.006h-8.085a2.04 2.04 0 01-.153-4.075l.153-.005 6.044-.001v-9.849h4.08zm-62.7-34.592c-.008.004-.01.642-.012 1.477v2.665l-.002.408c-.001.507-.004.846-.01.851l-6.626 5.754 15.406 5.409a5.925 5.925 0 015.126-2.95 2.04 2.04 0 01.153 4.074l-.153.006a1.847 1.847 0 00-.144 3.69l.144.005h3.396a2.04 2.04 0 01.153 4.075l-.153.005h-3.396a5.93 5.93 0 01-5.825-4.828l-18.716-6.567a2.037 2.037 0 01-1.286-1.363 2.04 2.04 0 01.237-2.558l.122-.115 11.378-9.88c.042-.037.14-.109.191-.145l.016-.013zm176.39-8.358a2.04 2.04 0 01.152 4.074l-.152.006h-5.572a2.036 2.036 0 01-.233.213l-.13.093-26.212 17.393a2.04 2.04 0 01-2.238.011l-.141-.1-7.84-6.091c-.01-.007-.015-.415-.018-1.224v-.344V107.728v-.789l.004-1.53 9.198 7.147 20.328-13.488h-4.014a2.04 2.04 0 01-.152-4.074l.152-.006h16.868zm-28.267-27.86a8.905 8.905 0 110 17.81 8.905 8.905 0 010-17.81zm48.927-12.398a3.72 3.72 0 013.715 3.522l.005.198v21.63a3.72 3.72 0 01-3.522 3.715l-.198.005-3.306-.005v-2l3.306.005c.9 0 1.639-.691 1.714-1.572l.006-.148V68.84h-5v-5.699h5V58.45c0-.9-.69-1.639-1.571-1.714l-.149-.006h-37.303c-.9 0-1.638.69-1.713 1.571l-.007.149v3.691h-2V58.45a3.72 3.72 0 013.523-3.715l.197-.005h37.303z"
14315
14218
  }), /*#__PURE__*/React__default.createElement("path", {
14316
14219
  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
- })))))));
14220
+ d: "M239.196 71.402v3.56l3.562.002V77.1h-3.562v3.562h-2.137V77.1h-3.562v-2.137l3.561-.001.001-3.561h2.137z"
14221
+ }))));
14358
14222
  };
14359
14223
 
14360
14224
  var WalletIcon$1 = themeComponent(WalletIcon, "Icons", fallbackValues$2, "info");
@@ -14761,6 +14625,44 @@ var CarrotIcon = function CarrotIcon(_ref) {
14761
14625
 
14762
14626
  var CarrotIcon$1 = themeComponent(CarrotIcon, "Icons", fallbackValues$2, "darkMode");
14763
14627
 
14628
+ var ProfileIcon = function ProfileIcon(_ref) {
14629
+ var themeValues = _ref.themeValues;
14630
+ return /*#__PURE__*/React__default.createElement("svg", {
14631
+ xmlns: "http://www.w3.org/2000/svg",
14632
+ width: "299",
14633
+ height: "151",
14634
+ viewBox: "0 0 299 151"
14635
+ }, /*#__PURE__*/React__default.createElement("g", {
14636
+ fill: "none",
14637
+ fillRule: "evenodd",
14638
+ stroke: "none",
14639
+ strokeWidth: "1"
14640
+ }, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
14641
+ fill: themeValues.subIconColor,
14642
+ d: "M162.932 144.31c16.42 0 29.73 2.956 29.73 6.602 0 3.646-13.31 6.602-29.73 6.602s-29.73-2.956-29.73-6.602c0-3.646 13.31-6.602 29.73-6.602zM123.899 25.659a4 4 0 013.988 3.688l.539 6.892h85.445c3.396 0 6.293 2.78 6.47 6.207l4.31 83.776c.177 3.427-2.434 6.205-5.83 6.205H100.945c-3.397 0-6.293-2.778-6.47-6.205l-4.31-83.776c-.177-3.428 2.434-6.206 5.83-6.206h2.05l-.16-3.103a4.117 4.117 0 01.077-1.039l-.165-2.127a4 4 0 013.987-4.312H123.9zm-80.672 76.579c2.836 0 5.164 2.189 5.42 4.985a3.247 3.247 0 011.91-.621c1.814 0 3.285 1.485 3.285 3.318 0 1.832-1.47 3.318-3.285 3.318h-14.87c-2.123 0-3.845-1.739-3.845-3.883 0-2.145 1.722-3.884 3.845-3.884.863 0 1.657.291 2.3.776.643-2.313 2.744-4.009 5.24-4.009zm30.478-53.79c.369 0 .668.398.668.89v39.11h-28v-39.11c0-.492.3-.89.668-.89zm221.35 7.282a2.72 2.72 0 012.72 2.72v21.63a2.72 2.72 0 01-2.72 2.72h-37.303a2.72 2.72 0 01-2.72-2.72V58.45a2.72 2.72 0 012.72-2.72h37.303zM31.403 20.856c3.193 0 5.912 2 6.993 4.814a3.181 3.181 0 013.381 1.103 4.723 4.723 0 011.946-.42 4.75 4.75 0 014.75 4.751 4.75 4.75 0 01-4.75 4.752h-20.5a4.75 4.75 0 01-4.75-4.752 4.75 4.75 0 015.687-4.657c.846-3.216 3.764-5.591 7.243-5.591zM237.078 10c3.406 0 6.306 2.133 7.46 5.135a3.39 3.39 0 013.605 1.177 5.04 5.04 0 012.076-.448 5.067 5.067 0 015.066 5.068c0 2.799-2.268 5.068-5.066 5.068h-21.868a5.067 5.067 0 01-5.066-5.068 5.067 5.067 0 016.068-4.968c.901-3.43 4.013-5.964 7.725-5.964z",
14643
+ opacity: "0.302"
14644
+ }), /*#__PURE__*/React__default.createElement("path", {
14645
+ fill: "#FFF",
14646
+ d: "M143.096 33.659a4 4 0 013.985 4.347l-.094 1.098c.057.288.083.588.072.896l-.104 3h79.1c3.397 0 6.057 2.686 5.941 6l-2.817 81c-.115 3.314-2.962 6-6.358 6H104.945c-3.397 0-6.057-2.686-5.941-6l2.817-81c.115-3.314 2.962-6 6.358-6l4.468-.001.494-5.686a4 4 0 013.985-3.654h25.97z"
14647
+ }), /*#__PURE__*/React__default.createElement("path", {
14648
+ fill: "#CACED8",
14649
+ d: "M80.846 54.267c.369 0 .668.233.668.52v36.48h-28v-36.48c0-.287.3-.52.669-.52zm208.51 7.874a2.72 2.72 0 012.72 2.72v21.63a2.72 2.72 0 01-2.72 2.72h-37.303a2.72 2.72 0 01-2.72-2.72v-21.63a2.72 2.72 0 012.72-2.72h37.303z"
14650
+ }), /*#__PURE__*/React__default.createElement("path", {
14651
+ fill: "#3B414D",
14652
+ fillRule: "nonzero",
14653
+ d: "M123.298 25c3.333 0 6.138 2.69 6.312 6.075l.017.584h14.276a5.993 5.993 0 014.931 2.58h65.037c4.01 0 7.46 2.918 8.288 6.761h3.896c4.434 0 7.962 3.48 7.945 7.823l-.005.247-2.653 76.287 29.687.007c1.075-.012 1.958.793 1.971 1.799.012.96-.771 1.756-1.778 1.837l-.145.007-29.862-.008-.037 1.07c-.15 4.318-3.754 7.798-8.106 7.927l-.251.004H104.945c-3.077 0-5.719-1.677-7.04-4.155a8.665 8.665 0 01-4.734-4.585H70.418a2.04 2.04 0 01-.103-4.075l.153-.004 21.95-.001-4.25-82.632c-.232-4.482 3.154-8.172 7.58-8.304l.234-.005-.094-3c-.172-3.346 2.354-6.114 5.658-6.235l.227-.004h21.525zm20.605 10.659h-25.932a2 2 0 00-1.983 1.741l-.99 7.599-6.819.001c-2.329 0-4.282 1.843-4.36 4.07l-2.817 81c-.075 2.17 1.667 3.93 3.943 3.93h117.876c2.329 0 4.282-1.843 4.36-4.07l2.817-81c.075-2.17-1.667-3.93-3.943-3.93l-81.093-.001.925-7.081a2 2 0 00-1.984-2.259zM286.2 125.181a2.04 2.04 0 012.093 1.986c.028 1.075-.78 1.577-1.834 1.683l-.152.01-15.25.4a2.04 2.04 0 01-.26-4.069l.153-.01h15.25zm-223.718 1.935a2.04 2.04 0 01-1.78 2.129l-.152.013H52.79a2.04 2.04 0 01-.362-4.061l.152-.014h7.759a2.04 2.04 0 012.142 1.933zM123.298 29h-21.525c-1.066 0-1.876.812-1.891 1.922l.002.153.225 7.165h-4.114c-2.178 0-3.847 1.706-3.839 3.896l.006.207 4.31 83.776c.038.717.25 1.398.595 1.998l2.755-79.187c.153-4.4 3.893-7.93 8.357-7.93l3.305-.001.538-4.116a6 6 0 015.712-5.22l.237-.004h7.655l-.013-.42c-.06-1.172-1.03-2.15-2.16-2.233l-.155-.006zm53.072 64.344l.148.003a1.895 1.895 0 011.77 2.014c-.185 2.865-2.567 5.172-5.413 5.289l-.226.004h-13.504c-3.04 0-5.38-2.502-5.184-5.537a1.896 1.896 0 013.787.096l-.004.148c-.052.805.487 1.43 1.262 1.496l.139.006h13.504c.894 0 1.705-.717 1.84-1.598l.015-.148a1.896 1.896 0 011.866-1.773zM81.514 53.018v.374c.573.225 1 .734 1 1.396v36.479a1 1 0 01-1 1h-28a1 1 0 01-1-1v-36.48c0-.661.427-1.17 1-1.395v-.374h28zm-1 4.807h-26v32.441h26V57.825zm211.562 28.666a2.72 2.72 0 01-2.72 2.72h-37.303a2.72 2.72 0 01-2.72-2.72v-21.63a2.72 2.72 0 012.72-2.72h37.303a2.72 2.72 0 012.72 2.72v21.63zM67.158 83.647c.57 0 1.032.462 1.032 1.032v2.177c0 .57-.462 1.032-1.032 1.032h-7.886c-.57 0-1.033-.462-1.033-1.032v-2.177c0-.57.463-1.032 1.033-1.032zm222.878-9.396h-38.663v12.24a.68.68 0 00.58.673l.1.007h37.303a.68.68 0 00.673-.58l.007-.1v-12.24zM66.124 85.711h-5.82v.111h5.82v-.111zm218.986-5.203c.751 0 1.36.609 1.36 1.36v.13a1.36 1.36 0 01-1.36 1.36h-7.253a1.36 1.36 0 01-1.36-1.36v-.13c0-.751.609-1.36 1.36-1.36h7.253zM77 74.25a1 1 0 011 1v5a1 1 0 01-1 1H58a1 1 0 01-1-1v-5a1 1 0 011-1zm-1 2H59v3h17v-3zm80.015-5.442c2.612 0 4.82 1.717 5.553 4.21a1.895 1.895 0 01-3.59 1.21l-.047-.14c-.267-.907-1.015-1.489-1.916-1.489-.915 0-1.813.597-2.275 1.517l-.081.176a1.896 1.896 0 11-3.492-1.477c1.008-2.383 3.306-4.007 5.848-4.007zm23.513 0c2.613 0 4.82 1.717 5.553 4.21a1.896 1.896 0 01-3.59 1.21l-.047-.14c-.267-.907-1.015-1.489-1.916-1.489-.915 0-1.813.597-2.275 1.517l-.081.176a1.896 1.896 0 01-3.492-1.477c1.008-2.383 3.306-4.007 5.848-4.007zM77 65.25a1 1 0 011 1v5a1 1 0 01-1 1H58a1 1 0 01-1-1v-5a1 1 0 011-1zm-1 2H59v3h17v-3zm213.356-3.069h-37.303a.68.68 0 00-.672.58l-.008.1v3.691h38.663v-3.691a.68.68 0 00-.58-.673l-.1-.007zM67.12 60.839a1.033 1.033 0 01.113 2.059l-.113.006h-9.038a1.033 1.033 0 01-.113-2.06l.113-.005h9.038zm146.75-22.6h-63.996l-.021.196-.335 2.564 68.458.001c-.674-1.547-2.188-2.669-3.895-2.755l-.21-.005z"
14654
+ }), /*#__PURE__*/React__default.createElement("path", {
14655
+ fill: themeValues.subIconColor,
14656
+ fillRule: "nonzero",
14657
+ d: "M168.625 137.938v10.248h6.045a2.04 2.04 0 012.034 1.888l.006.152a2.04 2.04 0 01-1.888 2.034l-.152.006h-8.085a2.04 2.04 0 01-2.034-1.888l-.006-.152v-12.288h4.08zm-7.92 0v11.89a2.04 2.04 0 01-1.887 2.034l-.152.006h-8.085a2.04 2.04 0 01-.153-4.075l.153-.005 6.044-.001v-9.849h4.08zm113.69-42.95a2.04 2.04 0 01.152 4.074l-.152.006h-5.572a2.036 2.036 0 01-.233.213l-.13.093-26.212 17.393a2.04 2.04 0 01-2.238.011l-.141-.1-7.84-6.091c-.01-.008-.017-.531-.018-1.568v-1.543c0-.602.002-1.29.004-2.067l9.198 7.147 20.328-13.488h-4.014a2.04 2.04 0 01-.152-4.074l.152-.006h16.868zM80.5 96.46a2.04 2.04 0 01.152 4.074l-.152.006h-4.092l11.455 11.59 9.934-8.627c.042-.036.14-.108.191-.144l.016-.012-.001.014c-.006.096-.008.588-.01 1.24v2.431l-.001.667a25.458 25.458 0 01-.01 1.048l-8.888 7.718-.017.014-.017.015-.06.048.094-.077a2.066 2.066 0 01-.811.43c-.037.01-.074.02-.111.027l-.03.006a1.966 1.966 0 01-.577.028 2 2 0 01-.686-.189 2.032 2.032 0 01-.304-.179l-.037-.027a1.865 1.865 0 01-.095-.075l-.008-.007-.042-.036a2.05 2.05 0 01-.077-.073l-.01-.011-14.257-14.425a2.033 2.033 0 01-.589-1.394H62.5a2.04 2.04 0 01-.152-4.074l.152-.006h18zm-6.795-49.011c.944 0 1.6.81 1.663 1.741l.005.148v3.68s-.5.017-1 .026v.07H53.098v1.907h-5.725v17.54a8.885 8.885 0 012.492-.43l.263-.003a8.905 8.905 0 11-2.914 17.322l-.84-.001a1 1 0 01-.994-.882 8.898 8.898 0 01-4.157-7.535 8.898 8.898 0 014.15-7.53V49.338c0-.942.609-1.8 1.522-1.883l.146-.006h26.664zm172.423 19.679a8.905 8.905 0 110 17.81 8.905 8.905 0 010-17.81zm48.927-12.398a3.72 3.72 0 013.715 3.522l.005.198v21.63a3.72 3.72 0 01-3.522 3.715l-.198.005h-3.818v-2h3.818c.9 0 1.639-.691 1.714-1.572l.006-.148V68.84h-5v-5.699h5V58.45c0-.9-.69-1.639-1.571-1.714l-.149-.006h-37.303c-.9 0-1.638.69-1.713 1.571l-.007.149v4.728h-2V58.45a3.72 3.72 0 013.523-3.715l.197-.005h37.303zm-241.54 9.649v1l-3.351-.001v2.834h3.35v1h-4.35V64.38h4.35zm-.519-6.025v1h-2.832v2.834h2.832v1h-3.832v-4.834h3.832z"
14658
+ }), /*#__PURE__*/React__default.createElement("path", {
14659
+ fill: "#FFF",
14660
+ d: "M51.196 76.402v3.56l3.562.002V82.1h-3.562v3.562H49.06V82.1h-3.562v-2.137l3.561-.001.001-3.561h2.137zm196-5v3.56l3.562.002V77.1h-3.562v3.562h-2.137V77.1h-3.562v-2.137l3.561-.001.001-3.561h2.137z"
14661
+ }))));
14662
+ };
14663
+
14664
+ var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$2, "info");
14665
+
14764
14666
  var color$2 = "#15749D";
14765
14667
  var hoverColor$1 = "#116285";
14766
14668
  var activeColor$1 = "#0E506D";
@@ -18575,17 +18477,38 @@ var Checkbox = function Checkbox(_ref4) {
18575
18477
  onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
18576
18478
  _ref4$disabled = _ref4.disabled,
18577
18479
  disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
18578
- _ref4$focused = _ref4.focused,
18579
- focused = _ref4$focused === void 0 ? false : _ref4$focused,
18580
18480
  themeValues = _ref4.themeValues,
18581
18481
  _ref4$hidden = _ref4.hidden,
18582
18482
  hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
18583
18483
  _ref4$error = _ref4.error,
18584
18484
  error = _ref4$error === void 0 ? false : _ref4$error;
18485
+
18486
+ var _useState = React.useState(false),
18487
+ _useState2 = _slicedToArray(_useState, 2),
18488
+ focused = _useState2[0],
18489
+ setFocused = _useState2[1];
18490
+
18491
+ var handleClick = function handleClick(e, func) {
18492
+ if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
18493
+ func();
18494
+ }
18495
+ };
18496
+
18585
18497
  return /*#__PURE__*/React__default.createElement(Box, {
18586
18498
  padding: "0",
18499
+ tabIndex: "0",
18500
+ onFocus: function onFocus() {
18501
+ return setFocused(true);
18502
+ },
18503
+ onBlur: function onBlur() {
18504
+ return setFocused(false);
18505
+ },
18506
+ onKeyDown: function onKeyDown(e) {
18507
+ return handleClick(e, onChange);
18508
+ },
18587
18509
  hiddenStyles: hidden,
18588
- background: themeValues.backgroundColor
18510
+ background: themeValues.backgroundColor,
18511
+ extraStyles: "outline: none;"
18589
18512
  }, /*#__PURE__*/React__default.createElement(CheckboxLabelContainer, null, /*#__PURE__*/React__default.createElement(CheckboxContainer, {
18590
18513
  "data-qa": "Checkbox"
18591
18514
  }, /*#__PURE__*/React__default.createElement(HiddenCheckbox, {
@@ -19108,7 +19031,6 @@ var Dropdown = function Dropdown(_ref9) {
19108
19031
  return /*#__PURE__*/React__default.createElement(Box, {
19109
19032
  onKeyDown: onKeyDown,
19110
19033
  onClick: onClick,
19111
- tabIndex: 0,
19112
19034
  padding: "0",
19113
19035
  width: "100%",
19114
19036
  hoverStyles: "background-color: ".concat(themeValues.hoverColor, ";"),
@@ -19122,7 +19044,8 @@ var Dropdown = function Dropdown(_ref9) {
19122
19044
  borderSize: "1px",
19123
19045
  borderColor: isError ? ERROR_COLOR : isOpen ? themeValues.selectedColor : GREY_CHATEAU,
19124
19046
  borderRadius: "2px",
19125
- extraStyles: "tabindex: 0; height: 48px;",
19047
+ tabIndex: 0,
19048
+ extraStyles: "height: 48px;",
19126
19049
  dataQa: placeholder
19127
19050
  }, /*#__PURE__*/React__default.createElement(Stack, {
19128
19051
  direction: "row",
@@ -34293,17 +34216,6 @@ var formats = /*#__PURE__*/Object.freeze({
34293
34216
  moneyFormat: moneyFormat
34294
34217
  });
34295
34218
 
34296
- function _templateObject$x() {
34297
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
34298
-
34299
- _templateObject$x = function _templateObject() {
34300
- return data;
34301
- };
34302
-
34303
- return data;
34304
- }
34305
- var CheckboxWrapper = styled__default.div(_templateObject$x());
34306
-
34307
34219
  var AddressForm = function AddressForm(_ref) {
34308
34220
  var _zipErrorMessages;
34309
34221
 
@@ -34319,17 +34231,6 @@ var AddressForm = function AddressForm(_ref) {
34319
34231
  saveToWallet = _ref.saveToWallet,
34320
34232
  walletCheckboxMarked = _ref.walletCheckboxMarked;
34321
34233
 
34322
- var _useState = React.useState(false),
34323
- _useState2 = _slicedToArray(_useState, 2),
34324
- checkboxFocused = _useState2[0],
34325
- focusCheckbox = _useState2[1];
34326
-
34327
- var handleClick = function handleClick(e, func) {
34328
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
34329
- func();
34330
- }
34331
- };
34332
-
34333
34234
  if (clearOnDismount) {
34334
34235
  React.useEffect(function () {
34335
34236
  return function () {
@@ -34417,24 +34318,12 @@ var AddressForm = function AddressForm(_ref) {
34417
34318
  onKeyDown: function onKeyDown(e) {
34418
34319
  return e.key === "Enter" && handleSubmit(e);
34419
34320
  }
34420
- }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(CheckboxWrapper, {
34421
- tabIndex: "0",
34422
- onFocus: function onFocus() {
34423
- return focusCheckbox(true);
34424
- },
34425
- onBlur: function onBlur() {
34426
- return focusCheckbox(false);
34427
- },
34428
- onKeyDown: function onKeyDown(e) {
34429
- return handleClick(e, saveToWallet);
34430
- }
34431
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
34321
+ }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
34432
34322
  name: "address checkbox",
34433
34323
  title: "Save address to wallet",
34434
34324
  checked: walletCheckboxMarked,
34435
- onChange: saveToWallet,
34436
- focused: checkboxFocused
34437
- }))));
34325
+ onChange: saveToWallet
34326
+ })));
34438
34327
  };
34439
34328
 
34440
34329
  var formConfig = {
@@ -34737,16 +34626,16 @@ function _templateObject2$j() {
34737
34626
  return data;
34738
34627
  }
34739
34628
 
34740
- function _templateObject$y() {
34629
+ function _templateObject$x() {
34741
34630
  var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"]);
34742
34631
 
34743
- _templateObject$y = function _templateObject() {
34632
+ _templateObject$x = function _templateObject() {
34744
34633
  return data;
34745
34634
  };
34746
34635
 
34747
34636
  return data;
34748
34637
  }
34749
- var EditableListItem = styled__default.div(_templateObject$y(), WHITE, function (_ref) {
34638
+ var EditableListItem = styled__default.div(_templateObject$x(), WHITE, function (_ref) {
34750
34639
  var listItemSize = _ref.listItemSize;
34751
34640
  return listItemSize === "big" ? "120px" : "72px";
34752
34641
  });
@@ -34931,16 +34820,16 @@ function _templateObject2$k() {
34931
34820
  return data;
34932
34821
  }
34933
34822
 
34934
- function _templateObject$z() {
34823
+ function _templateObject$y() {
34935
34824
  var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
34936
34825
 
34937
- _templateObject$z = function _templateObject() {
34826
+ _templateObject$y = function _templateObject() {
34938
34827
  return data;
34939
34828
  };
34940
34829
 
34941
34830
  return data;
34942
34831
  }
34943
- var EditableTableContainer = styled__default.div(_templateObject$z(), function (_ref) {
34832
+ var EditableTableContainer = styled__default.div(_templateObject$y(), function (_ref) {
34944
34833
  var hide = _ref.hide;
34945
34834
  return hide ? "none" : "flex";
34946
34835
  });
@@ -35052,17 +34941,6 @@ var TableListItem = function TableListItem(_ref) {
35052
34941
  }, "Edit")) : /*#__PURE__*/React__default.createElement(React.Fragment, null))));
35053
34942
  };
35054
34943
 
35055
- function _templateObject$A() {
35056
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
35057
-
35058
- _templateObject$A = function _templateObject() {
35059
- return data;
35060
- };
35061
-
35062
- return data;
35063
- }
35064
- var CheckboxWrapper$1 = styled__default.div(_templateObject$A());
35065
-
35066
34944
  var EmailForm = function EmailForm(_ref) {
35067
34945
  var _emailFieldErrorMessa;
35068
34946
 
@@ -35079,17 +34957,6 @@ var EmailForm = function EmailForm(_ref) {
35079
34957
  saveToWallet = _ref.saveToWallet,
35080
34958
  walletCheckboxMarked = _ref.walletCheckboxMarked;
35081
34959
 
35082
- var _useState = React.useState(false),
35083
- _useState2 = _slicedToArray(_useState, 2),
35084
- checkboxFocused = _useState2[0],
35085
- focusCheckbox = _useState2[1];
35086
-
35087
- var handleClick = function handleClick(e, func) {
35088
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
35089
- func();
35090
- }
35091
- };
35092
-
35093
34960
  if (clearOnDismount) {
35094
34961
  React.useEffect(function () {
35095
34962
  return function () {
@@ -35115,24 +34982,12 @@ var EmailForm = function EmailForm(_ref) {
35115
34982
  onKeyDown: function onKeyDown(e) {
35116
34983
  return e.key === "Enter" && handleSubmit(e);
35117
34984
  }
35118
- }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(CheckboxWrapper$1, {
35119
- tabIndex: "0",
35120
- onFocus: function onFocus() {
35121
- return focusCheckbox(true);
35122
- },
35123
- onBlur: function onBlur() {
35124
- return focusCheckbox(false);
35125
- },
35126
- onKeyDown: function onKeyDown(e) {
35127
- return handleClick(e, saveToWallet);
35128
- }
35129
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
34985
+ }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
35130
34986
  name: "email checkbox",
35131
34987
  title: "Save email address to wallet",
35132
34988
  checked: walletCheckboxMarked,
35133
- onChange: saveToWallet,
35134
- focused: checkboxFocused
35135
- }))));
34989
+ onChange: saveToWallet
34990
+ })));
35136
34991
  };
35137
34992
 
35138
34993
  var formConfig$3 = {
@@ -36476,8 +36331,7 @@ var getApplicationNode = function getApplicationNode() {
36476
36331
  };
36477
36332
 
36478
36333
  var Modal$1 = function Modal(_ref) {
36479
- var ModalLink = _ref.ModalLink,
36480
- hideModal = _ref.hideModal,
36334
+ var hideModal = _ref.hideModal,
36481
36335
  continueAction = _ref.continueAction,
36482
36336
  cancelAction = _ref.cancelAction,
36483
36337
  modalOpen = _ref.modalOpen,
@@ -36499,12 +36353,13 @@ var Modal$1 = function Modal(_ref) {
36499
36353
  onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
36500
36354
  maxHeight = _ref.maxHeight,
36501
36355
  _ref$underlayClickExi = _ref.underlayClickExits,
36502
- underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi;
36356
+ underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
36357
+ children = _ref.children;
36503
36358
 
36504
36359
  var _useContext = React.useContext(styled.ThemeContext),
36505
36360
  isMobile = _useContext.isMobile;
36506
36361
 
36507
- return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(ModalLink, null), modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
36362
+ return /*#__PURE__*/React__default.createElement(React.Fragment, null, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
36508
36363
  onExit: hideModal,
36509
36364
  getApplicationNode: getApplicationNode,
36510
36365
  titleText: modalHeaderText,
@@ -36576,7 +36431,7 @@ var Modal$1 = function Modal(_ref) {
36576
36431
  variant: "primary",
36577
36432
  text: "Close",
36578
36433
  dataQa: "Close"
36579
- })))))))));
36434
+ })))))))), children);
36580
36435
  };
36581
36436
 
36582
36437
  var fontSize$8 = {
@@ -36713,10 +36568,10 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
36713
36568
 
36714
36569
  var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$v, "profile");
36715
36570
 
36716
- function _templateObject$B() {
36571
+ function _templateObject$z() {
36717
36572
  var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
36718
36573
 
36719
- _templateObject$B = function _templateObject() {
36574
+ _templateObject$z = function _templateObject() {
36720
36575
  return data;
36721
36576
  };
36722
36577
 
@@ -36752,7 +36607,7 @@ var menu = posed.div({
36752
36607
  }
36753
36608
  }
36754
36609
  });
36755
- var ImposterMenu = styled__default(menu)(_templateObject$B());
36610
+ var ImposterMenu = styled__default(menu)(_templateObject$z());
36756
36611
 
36757
36612
  var NavMenuMobile = function NavMenuMobile(_ref) {
36758
36613
  var id = _ref.id,
@@ -38275,10 +38130,16 @@ var TitleModule = function TitleModule(_ref) {
38275
38130
  var color$a = "#15749D";
38276
38131
  var hoverColor$4 = "#116285";
38277
38132
  var activeColor$5 = "#0E506D";
38133
+ var linkColor$3 = "#357fb8";
38134
+ var fontWeight$6 = FONT_WEIGHT_REGULAR;
38135
+ var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #357fb8;";
38278
38136
  var fallbackValues$w = {
38279
38137
  color: color$a,
38280
38138
  hoverColor: hoverColor$4,
38281
- activeColor: activeColor$5
38139
+ activeColor: activeColor$5,
38140
+ linkColor: linkColor$3,
38141
+ fontWeight: fontWeight$6,
38142
+ modalLinkHoverFocus: modalLinkHoverFocus
38282
38143
  };
38283
38144
 
38284
38145
  var AutopayModal = function AutopayModal(_ref) {
@@ -38308,34 +38169,6 @@ var AutopayModal = function AutopayModal(_ref) {
38308
38169
  var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
38309
38170
  var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
38310
38171
  return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
38311
- ModalLink: function ModalLink() {
38312
- return buttonLinkType ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
38313
- text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
38314
- variant: "tertiary",
38315
- action: function action() {
38316
- toggleModal(true);
38317
- },
38318
- dataQa: "Manage Autopay",
38319
- extraStyles: isMobile && "flex-grow: 1; width: 100%;"
38320
- }) : /*#__PURE__*/React__default.createElement(Box, {
38321
- padding: "0",
38322
- onClick: function onClick() {
38323
- toggleModal(true);
38324
- },
38325
- hoverStyles: hoverStyles,
38326
- activeStyles: activeStyles,
38327
- extraStyles: defaultStyles
38328
- }, /*#__PURE__*/React__default.createElement(Cluster, {
38329
- justify: isMobile ? "flex-start" : "flex-end",
38330
- align: "center"
38331
- }, /*#__PURE__*/React__default.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
38332
- text: "".concat(planType, " On"),
38333
- variant: "smallGhost",
38334
- dataQa: "Autopay On",
38335
- textExtraStyles: "font-size: 0.875rem; ",
38336
- extraStyles: "min-width: auto; padding: 0 0 0 6px;"
38337
- })));
38338
- },
38339
38172
  showModal: function showModal() {
38340
38173
  return toggleModal(true);
38341
38174
  },
@@ -38343,7 +38176,43 @@ var AutopayModal = function AutopayModal(_ref) {
38343
38176
  return toggleModal(false);
38344
38177
  },
38345
38178
  modalOpen: modalOpen
38346
- }, modalExtraProps));
38179
+ }, modalExtraProps), buttonLinkType ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
38180
+ text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
38181
+ variant: "tertiary",
38182
+ action: function action() {
38183
+ toggleModal(true);
38184
+ },
38185
+ dataQa: "Manage Autopay",
38186
+ extraStyles: isMobile && "flex-grow: 1; width: 100%;"
38187
+ }) : /*#__PURE__*/React__default.createElement(Box, {
38188
+ padding: "0",
38189
+ onClick: function onClick() {
38190
+ toggleModal(true);
38191
+ },
38192
+ hoverStyles: hoverStyles,
38193
+ activeStyles: activeStyles,
38194
+ extraStyles: defaultStyles
38195
+ }, /*#__PURE__*/React__default.createElement(Cluster, {
38196
+ justify: isMobile ? "flex-start" : "flex-end",
38197
+ align: "center"
38198
+ }, /*#__PURE__*/React__default.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React__default.createElement(Text$1, {
38199
+ variant: "pS",
38200
+ onClick: function onClick() {
38201
+ return toggleModal(true);
38202
+ },
38203
+ onKeyPress: function onKeyPress(e) {
38204
+ console.log({
38205
+ e: e
38206
+ });
38207
+ e.key === "Enter" && toggleModal(true);
38208
+ },
38209
+ tabIndex: "0",
38210
+ dataQa: "".concat(planType, " On"),
38211
+ color: themeValues.linkColor,
38212
+ weight: themeValues.fontWeight,
38213
+ hoverStyles: themeValues.modalLinkHoverFocus,
38214
+ extraStyles: "padding: 0 0 0 6px;"
38215
+ }, "".concat(planType, " On")))));
38347
38216
  };
38348
38217
 
38349
38218
  var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$w);
@@ -39081,32 +38950,27 @@ var PaymentDetails = function PaymentDetails(_ref4) {
39081
38950
 
39082
38951
  var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$x, "default");
39083
38952
 
39084
- var linkColor$3 = {
39085
- "default": "#357fb8",
39086
- footer: "#ffffff"
38953
+ var linkColor$4 = {
38954
+ "default": "#357fb8"
39087
38955
  };
39088
38956
  var fontSize$9 = {
39089
- "default": "1rem",
39090
- footer: "0.875rem"
38957
+ "default": "1rem"
39091
38958
  };
39092
38959
  var lineHeight$5 = {
39093
- "default": "1.5rem",
39094
- footer: "1.25rem"
38960
+ "default": "1.5rem"
39095
38961
  };
39096
- var fontWeight$6 = {
39097
- "default": FONT_WEIGHT_REGULAR,
39098
- footer: FONT_WEIGHT_SEMIBOLD
38962
+ var fontWeight$7 = {
38963
+ "default": FONT_WEIGHT_REGULAR
39099
38964
  };
39100
- var modalLinkHoverFocus = {
39101
- "default": "",
39102
- footer: "outline: none; text-decoration: underline;"
38965
+ var modalLinkHoverFocus$1 = {
38966
+ "default": "outline: none; text-decoration: underline;"
39103
38967
  };
39104
38968
  var fallbackValues$y = {
39105
- linkColor: linkColor$3,
38969
+ linkColor: linkColor$4,
39106
38970
  fontSize: fontSize$9,
39107
38971
  lineHeight: lineHeight$5,
39108
- fontWeight: fontWeight$6,
39109
- modalLinkHoverFocus: modalLinkHoverFocus
38972
+ fontWeight: fontWeight$7,
38973
+ modalLinkHoverFocus: modalLinkHoverFocus$1
39110
38974
  };
39111
38975
 
39112
38976
  var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
@@ -39118,25 +38982,8 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
39118
38982
  acceptText = _ref.acceptText,
39119
38983
  content = _ref.content,
39120
38984
  imageType = _ref.imageType,
39121
- variant = _ref.variant,
39122
38985
  themeValues = _ref.themeValues;
39123
38986
  return /*#__PURE__*/React__default.createElement(Modal$1, {
39124
- ModalLink: function ModalLink() {
39125
- return /*#__PURE__*/React__default.createElement(Text$1, {
39126
- variant: variant === "default" ? "pS" : "pXS",
39127
- onClick: function onClick() {
39128
- return toggleOpen(true);
39129
- },
39130
- color: themeValues.linkColor,
39131
- weight: themeValues.fontWeight,
39132
- hoverStyles: themeValues.modalLinkHoverFocus,
39133
- extraStyles: "cursor: pointer;",
39134
- tabIndex: "0",
39135
- onKeyPress: function onKeyPress(e) {
39136
- return e.key === "Enter" && toggleOpen(true);
39137
- }
39138
- }, link);
39139
- },
39140
38987
  modalOpen: isOpen,
39141
38988
  hideModal: function hideModal() {
39142
38989
  return toggleOpen(false);
@@ -39161,33 +39008,24 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
39161
39008
  toggleAccepted(true);
39162
39009
  toggleOpen(false);
39163
39010
  }
39164
- });
39011
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
39012
+ variant: "pS",
39013
+ onClick: function onClick() {
39014
+ return toggleOpen(true);
39015
+ },
39016
+ onKeyPress: function onKeyPress(e) {
39017
+ return e.key === "Enter" && toggleOpen(true);
39018
+ },
39019
+ tabIndex: "0",
39020
+ color: themeValues.linkColor,
39021
+ weight: themeValues.fontWeight,
39022
+ hoverStyles: themeValues.modalLinkHoverFocus,
39023
+ extraStyles: "cursor: pointer;"
39024
+ }, link));
39165
39025
  };
39166
39026
 
39167
39027
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$y, "default");
39168
39028
 
39169
- function _templateObject2$l() {
39170
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
39171
-
39172
- _templateObject2$l = function _templateObject2() {
39173
- return data;
39174
- };
39175
-
39176
- return data;
39177
- }
39178
-
39179
- function _templateObject$C() {
39180
- var data = _taggedTemplateLiteral([""]);
39181
-
39182
- _templateObject$C = function _templateObject() {
39183
- return data;
39184
- };
39185
-
39186
- return data;
39187
- }
39188
- var ModalWrapper = styled__default.div(_templateObject$C());
39189
- var CheckboxWrapper$2 = styled__default.div(_templateObject2$l());
39190
-
39191
39029
  var PaymentFormACH = function PaymentFormACH(_ref) {
39192
39030
  var _routingNumberErrors, _accountNumberErrors;
39193
39031
 
@@ -39208,17 +39046,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39208
39046
  saveToWallet = _ref.saveToWallet,
39209
39047
  walletCheckboxMarked = _ref.walletCheckboxMarked;
39210
39048
 
39211
- var _useState = React.useState(false),
39212
- _useState2 = _slicedToArray(_useState, 2),
39213
- checkboxFocused = _useState2[0],
39214
- focusCheckbox = _useState2[1];
39215
-
39216
- var handleClick = function handleClick(e, func) {
39217
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
39218
- func();
39219
- }
39220
- };
39221
-
39222
39049
  if (clearOnDismount) {
39223
39050
  React.useEffect(function () {
39224
39051
  return function () {
@@ -39227,15 +39054,15 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39227
39054
  }, []);
39228
39055
  }
39229
39056
 
39057
+ var _useState = React.useState(false),
39058
+ _useState2 = _slicedToArray(_useState, 2),
39059
+ showRouting = _useState2[0],
39060
+ toggleShowRouting = _useState2[1];
39061
+
39230
39062
  var _useState3 = React.useState(false),
39231
39063
  _useState4 = _slicedToArray(_useState3, 2),
39232
- showRouting = _useState4[0],
39233
- toggleShowRouting = _useState4[1];
39234
-
39235
- var _useState5 = React.useState(false),
39236
- _useState6 = _slicedToArray(_useState5, 2),
39237
- showAccount = _useState6[0],
39238
- toggleShowAccount = _useState6[1];
39064
+ showAccount = _useState4[0],
39065
+ toggleShowAccount = _useState4[1];
39239
39066
 
39240
39067
  var nameErrors = _defineProperty({}, required.error, "Name is required");
39241
39068
 
@@ -39269,19 +39096,14 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39269
39096
  fieldActions: actions.fields.routingNumber,
39270
39097
  showErrors: showErrors,
39271
39098
  helperModal: function helperModal() {
39272
- return /*#__PURE__*/React__default.createElement(ModalWrapper, {
39273
- tabIndex: "0",
39274
- onKeyDown: function onKeyDown(e) {
39275
- return e.key === "Enter" && toggleShowAccount(!showRouting);
39276
- }
39277
- }, /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
39099
+ return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
39278
39100
  link: "What is this?",
39279
39101
  title: "Where is my routing number?",
39280
39102
  content: "Your routing number is the 9-digit number in the bottom left corner of your check.",
39281
39103
  imageType: "Routing",
39282
39104
  isOpen: showRouting,
39283
39105
  toggleOpen: toggleShowRouting
39284
- }));
39106
+ });
39285
39107
  },
39286
39108
  onKeyDown: function onKeyDown(e) {
39287
39109
  return e.key === "Enter" && handleSubmit(e);
@@ -39302,19 +39124,14 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39302
39124
  fieldActions: actions.fields.accountNumber,
39303
39125
  showErrors: showErrors,
39304
39126
  helperModal: function helperModal() {
39305
- return /*#__PURE__*/React__default.createElement(ModalWrapper, {
39306
- tabIndex: "0",
39307
- onKeyDown: function onKeyDown(e) {
39308
- return e.key === "Enter" && toggleShowAccount(!showAccount);
39309
- }
39310
- }, /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
39127
+ return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
39311
39128
  link: "What is this?",
39312
39129
  title: "Where is my account number?",
39313
39130
  content: "Your account number is usually the 10-digit number in the bottom of your check to the right of the routing number.",
39314
39131
  imageType: "Account",
39315
39132
  isOpen: showAccount,
39316
39133
  toggleOpen: toggleShowAccount
39317
- }));
39134
+ });
39318
39135
  },
39319
39136
  onKeyDown: function onKeyDown(e) {
39320
39137
  return e.key === "Enter" && handleSubmit(e);
@@ -39350,24 +39167,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39350
39167
  onChange: toggleCheckbox,
39351
39168
  checked: defaultMethod.value,
39352
39169
  hidden: hideDefaultPayment
39353
- }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(CheckboxWrapper$2, {
39354
- tabIndex: "0",
39355
- onFocus: function onFocus() {
39356
- return focusCheckbox(true);
39357
- },
39358
- onBlur: function onBlur() {
39359
- return focusCheckbox(false);
39360
- },
39361
- onKeyDown: function onKeyDown(e) {
39362
- return handleClick(e, saveToWallet);
39363
- }
39364
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
39170
+ }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
39365
39171
  name: "bank checkbox",
39366
39172
  title: "Save bank account to wallet",
39367
39173
  checked: walletCheckboxMarked,
39368
- onChange: saveToWallet,
39369
- focused: checkboxFocused
39370
- }))));
39174
+ onChange: saveToWallet
39175
+ })));
39371
39176
  };
39372
39177
 
39373
39178
  var formConfig$6 = {
@@ -39407,17 +39212,6 @@ PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
39407
39212
 
39408
39213
  var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
39409
39214
 
39410
- function _templateObject$D() {
39411
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
39412
-
39413
- _templateObject$D = function _templateObject() {
39414
- return data;
39415
- };
39416
-
39417
- return data;
39418
- }
39419
- var CheckboxWrapper$3 = styled__default.div(_templateObject$D());
39420
-
39421
39215
  var nameOnCardErrors = _defineProperty({}, required.error, "Name is required");
39422
39216
 
39423
39217
  var creditCardNumberErrors = (_creditCardNumberErro = {}, _defineProperty(_creditCardNumberErro, required.error, "Credit card number is required"), _defineProperty(_creditCardNumberErro, hasLength.error, "Credit card number is invalid"), _creditCardNumberErro);
@@ -39442,18 +39236,6 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
39442
39236
  showWalletCheckbox = _ref.showWalletCheckbox,
39443
39237
  saveToWallet = _ref.saveToWallet,
39444
39238
  walletCheckboxMarked = _ref.walletCheckboxMarked;
39445
-
39446
- var _useState = React.useState(false),
39447
- _useState2 = _slicedToArray(_useState, 2),
39448
- checkboxFocused = _useState2[0],
39449
- focusCheckbox = _useState2[1];
39450
-
39451
- var handleClick = function handleClick(e, func) {
39452
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
39453
- func();
39454
- }
39455
- };
39456
-
39457
39239
  React.useEffect(function () {
39458
39240
  if (clearOnDismount) {
39459
39241
  return function () {
@@ -39534,24 +39316,12 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
39534
39316
  onKeyDown: function onKeyDown(e) {
39535
39317
  return e.key === "Enter" && handleSubmit(e);
39536
39318
  }
39537
- })), showWalletCheckbox && /*#__PURE__*/React__default.createElement(CheckboxWrapper$3, {
39538
- tabIndex: "0",
39539
- onFocus: function onFocus() {
39540
- return focusCheckbox(true);
39541
- },
39542
- onBlur: function onBlur() {
39543
- return focusCheckbox(false);
39544
- },
39545
- onKeyDown: function onKeyDown(e) {
39546
- return handleClick(e, saveToWallet);
39547
- }
39548
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
39319
+ })), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
39549
39320
  name: "credit card checkbox",
39550
39321
  title: "Save credit card to wallet",
39551
39322
  checked: walletCheckboxMarked,
39552
- onChange: saveToWallet,
39553
- focused: checkboxFocused
39554
- }))));
39323
+ onChange: saveToWallet
39324
+ })));
39555
39325
  };
39556
39326
 
39557
39327
  var formConfig$7 = {
@@ -39589,17 +39359,6 @@ PaymentFormCard.reducer = reducer$7;
39589
39359
  PaymentFormCard.mapStateToProps = mapStateToProps$8;
39590
39360
  PaymentFormCard.mapDispatchToProps = mapDispatchToProps$7;
39591
39361
 
39592
- function _templateObject$E() {
39593
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
39594
-
39595
- _templateObject$E = function _templateObject() {
39596
- return data;
39597
- };
39598
-
39599
- return data;
39600
- }
39601
- var CheckboxWrapper$4 = styled__default.div(_templateObject$E());
39602
-
39603
39362
  var PhoneForm = function PhoneForm(_ref) {
39604
39363
  var _phoneErrorMessage;
39605
39364
 
@@ -39615,17 +39374,6 @@ var PhoneForm = function PhoneForm(_ref) {
39615
39374
  saveToWallet = _ref.saveToWallet,
39616
39375
  walletCheckboxMarked = _ref.walletCheckboxMarked;
39617
39376
 
39618
- var _useState = React.useState(false),
39619
- _useState2 = _slicedToArray(_useState, 2),
39620
- checkboxFocused = _useState2[0],
39621
- focusCheckbox = _useState2[1];
39622
-
39623
- var handleClick = function handleClick(e, func) {
39624
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
39625
- func();
39626
- }
39627
- };
39628
-
39629
39377
  if (clearOnDismount) {
39630
39378
  React.useEffect(function () {
39631
39379
  return function () {
@@ -39649,24 +39397,12 @@ var PhoneForm = function PhoneForm(_ref) {
39649
39397
  onKeyUp: function onKeyUp(e) {
39650
39398
  return e.key === "Enter" && handleSubmit(e);
39651
39399
  }
39652
- }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(CheckboxWrapper$4, {
39653
- tabIndex: "0",
39654
- onFocus: function onFocus() {
39655
- return focusCheckbox(true);
39656
- },
39657
- onBlur: function onBlur() {
39658
- return focusCheckbox(false);
39659
- },
39660
- onKeyDown: function onKeyDown(e) {
39661
- return handleClick(e, saveToWallet);
39662
- }
39663
- }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
39400
+ }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
39664
39401
  name: "phone checkbox",
39665
39402
  title: "Save phone number to wallet",
39666
39403
  checked: walletCheckboxMarked,
39667
- onChange: saveToWallet,
39668
- focused: checkboxFocused
39669
- }))));
39404
+ onChange: saveToWallet
39405
+ })));
39670
39406
  };
39671
39407
 
39672
39408
  var formConfig$8 = {
@@ -39698,10 +39434,10 @@ var fallbackValues$z = {
39698
39434
  focusStyles: focusStyles
39699
39435
  };
39700
39436
 
39701
- function _templateObject$F() {
39437
+ function _templateObject$A() {
39702
39438
  var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
39703
39439
 
39704
- _templateObject$F = function _templateObject() {
39440
+ _templateObject$A = function _templateObject() {
39705
39441
  return data;
39706
39442
  };
39707
39443
 
@@ -39771,7 +39507,7 @@ var RadioSection = function RadioSection(_ref) {
39771
39507
  }
39772
39508
  };
39773
39509
  var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
39774
- var RightIcon = styled__default.img(_templateObject$F(), function (_ref2) {
39510
+ var RightIcon = styled__default.img(_templateObject$A(), function (_ref2) {
39775
39511
  var isMobile = _ref2.isMobile;
39776
39512
  return isMobile ? "14px" : "18px";
39777
39513
  }, function (_ref3) {
@@ -40232,7 +39968,7 @@ var backgroundColor$9 = {
40232
39968
  "default": "#ffffff",
40233
39969
  footer: "#ffffff"
40234
39970
  };
40235
- var linkColor$4 = {
39971
+ var linkColor$5 = {
40236
39972
  "default": "#357fb8",
40237
39973
  footer: "#ffffff"
40238
39974
  };
@@ -40248,22 +39984,22 @@ var lineHeight$6 = {
40248
39984
  "default": "1.5rem",
40249
39985
  footer: "1.25rem"
40250
39986
  };
40251
- var fontWeight$7 = {
39987
+ var fontWeight$8 = {
40252
39988
  "default": FONT_WEIGHT_REGULAR,
40253
39989
  footer: FONT_WEIGHT_SEMIBOLD
40254
39990
  };
40255
- var modalLinkHoverFocus$1 = {
40256
- "default": "",
39991
+ var modalLinkHoverFocus$2 = {
39992
+ "default": "outline: none; text-decoration: underline;",
40257
39993
  footer: "outline: none; text-decoration: underline;"
40258
39994
  };
40259
39995
  var fallbackValues$B = {
40260
39996
  backgroundColor: backgroundColor$9,
40261
- linkColor: linkColor$4,
39997
+ linkColor: linkColor$5,
40262
39998
  border: border$2,
40263
39999
  fontSize: fontSize$a,
40264
40000
  lineHeight: lineHeight$6,
40265
- fontWeight: fontWeight$7,
40266
- modalLinkHoverFocus: modalLinkHoverFocus$1
40001
+ fontWeight: fontWeight$8,
40002
+ modalLinkHoverFocus: modalLinkHoverFocus$2
40267
40003
  };
40268
40004
 
40269
40005
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
@@ -40278,22 +40014,6 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
40278
40014
  variant = _ref.variant,
40279
40015
  themeValues = _ref.themeValues;
40280
40016
  return /*#__PURE__*/React__default.createElement(Modal$1, {
40281
- ModalLink: function ModalLink() {
40282
- return /*#__PURE__*/React__default.createElement(Text$1, {
40283
- variant: variant === "default" ? "pS" : "pXS",
40284
- onClick: function onClick() {
40285
- return toggleOpen(true);
40286
- },
40287
- color: themeValues.linkColor,
40288
- weight: themeValues.fontWeight,
40289
- hoverStyles: themeValues.modalLinkHoverFocus,
40290
- extraStyles: "cursor: pointer;",
40291
- tabIndex: "0",
40292
- onKeyPress: function onKeyPress(e) {
40293
- return e.key === "Enter" && toggleOpen(true);
40294
- }
40295
- }, link);
40296
- },
40297
40017
  modalOpen: isOpen,
40298
40018
  hideModal: function hideModal() {
40299
40019
  return toggleOpen(false);
@@ -40317,33 +40037,24 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
40317
40037
  toggleAccepted(true);
40318
40038
  toggleOpen(false);
40319
40039
  }
40320
- });
40040
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
40041
+ variant: variant === "default" ? "pS" : "pXS",
40042
+ onClick: function onClick() {
40043
+ return toggleOpen(true);
40044
+ },
40045
+ onKeyPress: function onKeyPress(e) {
40046
+ return e.key === "Enter" && toggleOpen(true);
40047
+ },
40048
+ tabIndex: "0",
40049
+ color: themeValues.linkColor,
40050
+ weight: themeValues.fontWeight,
40051
+ hoverStyles: themeValues.modalLinkHoverFocus,
40052
+ extraStyles: "cursor: pointer;"
40053
+ }, link));
40321
40054
  };
40322
40055
 
40323
40056
  var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$B, "default");
40324
40057
 
40325
- function _templateObject2$m() {
40326
- var data = _taggedTemplateLiteral([""]);
40327
-
40328
- _templateObject2$m = function _templateObject2() {
40329
- return data;
40330
- };
40331
-
40332
- return data;
40333
- }
40334
-
40335
- function _templateObject$G() {
40336
- var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
40337
-
40338
- _templateObject$G = function _templateObject() {
40339
- return data;
40340
- };
40341
-
40342
- return data;
40343
- }
40344
- var CheckboxWrapper$5 = styled__default.div(_templateObject$G());
40345
- var ModalWrapper$1 = styled__default.div(_templateObject2$m());
40346
-
40347
40058
  var TermsAndConditions = function TermsAndConditions(_ref) {
40348
40059
  var onCheck = _ref.onCheck,
40349
40060
  isChecked = _ref.isChecked,
@@ -40357,54 +40068,24 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
40357
40068
  showTerms = _useState2[0],
40358
40069
  toggleShowTerms = _useState2[1];
40359
40070
 
40360
- var _useState3 = React.useState(false),
40361
- _useState4 = _slicedToArray(_useState3, 2),
40362
- checkboxFocused = _useState4[0],
40363
- focusCheckbox = _useState4[1];
40364
-
40365
- var handleClick = function handleClick(e, func) {
40366
- if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
40367
- func();
40368
- }
40369
- };
40370
-
40371
40071
  return /*#__PURE__*/React__default.createElement(DisplayBox$1, null, /*#__PURE__*/React__default.createElement(Stack, {
40372
40072
  direction: "row"
40373
- }, /*#__PURE__*/React__default.createElement(CheckboxWrapper$5, {
40374
- tabIndex: "0",
40375
- onFocus: function onFocus() {
40376
- return focusCheckbox(true);
40377
- },
40378
- onBlur: function onBlur() {
40379
- return focusCheckbox(false);
40380
- },
40381
- onKeyDown: function onKeyDown(e) {
40382
- return handleClick(e, onCheck);
40383
- }
40384
40073
  }, /*#__PURE__*/React__default.createElement(Checkbox$1, {
40385
40074
  name: "terms",
40386
40075
  error: error,
40387
40076
  checked: isChecked,
40388
- onChange: onCheck,
40389
- focused: checkboxFocused
40390
- })), /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Text$1, {
40077
+ onChange: onCheck
40078
+ }), /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Text$1, {
40391
40079
  variant: "p",
40392
40080
  fontWeight: FONT_WEIGHT_BOLD
40393
40081
  }, "Terms and Conditions"), /*#__PURE__*/React__default.createElement(Box, {
40394
40082
  padding: "0"
40395
- }, html), terms && /*#__PURE__*/React__default.createElement(ModalWrapper$1, {
40396
- tabIndex: "0",
40397
- onKeyDown: function onKeyDown(e) {
40398
- return handleClick(e, function () {
40399
- return toggleShowTerms(!showTerms);
40400
- });
40401
- }
40402
- }, /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
40083
+ }, html), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
40403
40084
  link: "Learn More",
40404
40085
  terms: terms,
40405
40086
  isOpen: showTerms,
40406
40087
  toggleOpen: toggleShowTerms
40407
- })))));
40088
+ }))));
40408
40089
  };
40409
40090
 
40410
40091
  var Timeout = function Timeout(_ref) {
@@ -40444,29 +40125,29 @@ var Timeout = function Timeout(_ref) {
40444
40125
 
40445
40126
  var Timeout$1 = withWindowSize(Timeout);
40446
40127
 
40447
- var fontWeight$8 = "600";
40128
+ var fontWeight$9 = "600";
40448
40129
  var fontColor$1 = WHITE;
40449
40130
  var textAlign$1 = "left";
40450
40131
  var headerBackgroundColor = BRIGHT_GREY;
40451
40132
  var imageBackgroundColor = MATISSE_BLUE;
40452
40133
  var fallbackValues$C = {
40453
- fontWeight: fontWeight$8,
40134
+ fontWeight: fontWeight$9,
40454
40135
  fontColor: fontColor$1,
40455
40136
  textAlign: textAlign$1,
40456
40137
  headerBackgroundColor: headerBackgroundColor,
40457
40138
  imageBackgroundColor: imageBackgroundColor
40458
40139
  };
40459
40140
 
40460
- function _templateObject$H() {
40141
+ function _templateObject$B() {
40461
40142
  var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
40462
40143
 
40463
- _templateObject$H = function _templateObject() {
40144
+ _templateObject$B = function _templateObject() {
40464
40145
  return data;
40465
40146
  };
40466
40147
 
40467
40148
  return data;
40468
40149
  }
40469
- var WelcomeImage = styled__default.img(_templateObject$H());
40150
+ var WelcomeImage = styled__default.img(_templateObject$B());
40470
40151
 
40471
40152
  var WelcomeModule = function WelcomeModule(_ref) {
40472
40153
  var heading = _ref.heading,
@@ -40917,6 +40598,7 @@ exports.PendingIcon = PendingIcon;
40917
40598
  exports.PhoneForm = PhoneForm;
40918
40599
  exports.Placeholder = Placeholder$1;
40919
40600
  exports.ProcessingFee = ProcessingFee$1;
40601
+ exports.ProfileIcon = ProfileIcon$1;
40920
40602
  exports.ProfileIconSmall = ProfileIconSmall$1;
40921
40603
  exports.PropertiesAddIcon = PropertiesAddIcon$1;
40922
40604
  exports.PropertiesIconSmall = PropertiesIconSmall$1;