@thecb/components 8.4.11-beta.23 → 8.4.11-beta.25

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
@@ -40400,7 +40400,8 @@ var AddressForm = function AddressForm(_ref) {
40400
40400
  },
40401
40401
  autocomplete: "address-line1",
40402
40402
  "aria-label": "Address Line 1",
40403
- "data-qa": "Address Line 1"
40403
+ "data-qa": "Address Line 1",
40404
+ dataQa: "Address Line 1"
40404
40405
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40405
40406
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
40406
40407
  field: fields.street2,
@@ -40438,7 +40439,8 @@ var AddressForm = function AddressForm(_ref) {
40438
40439
  "aria-label": isUS ? "State" : "State or Province",
40439
40440
  required: true,
40440
40441
  autocomplete: "administrative-area",
40441
- "data-qa": "State or Province"
40442
+ "data-qa": "State or Province",
40443
+ dataQa: "State or Province"
40442
40444
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40443
40445
  isNum: isUS,
40444
40446
  formatter: isUS ? zipFormat : null,
@@ -40453,13 +40455,15 @@ var AddressForm = function AddressForm(_ref) {
40453
40455
  "aria-label": "Zip code",
40454
40456
  autocomplete: "postal-code",
40455
40457
  required: true,
40456
- "data-qa": "Zip code"
40458
+ "data-qa": "Zip code",
40459
+ dataQa: "Zip code"
40457
40460
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
40458
40461
  name: "address checkbox",
40459
40462
  title: "Save address to wallet",
40460
40463
  checked: walletCheckboxMarked,
40461
40464
  onChange: saveToWallet,
40462
- "data-qa": "Save address to wallet"
40465
+ "data-qa": "Save address to wallet",
40466
+ dataQa: "Save address to wallet"
40463
40467
  })));
40464
40468
  };
40465
40469
 
@@ -48901,7 +48905,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48901
48905
  onKeyDown: function onKeyDown(e) {
48902
48906
  return e.key === "Enter" && handleSubmit(e);
48903
48907
  },
48904
- autocomplete: "name"
48908
+ autocomplete: "name",
48909
+ dataQa: "Name on checking account"
48905
48910
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48906
48911
  labelTextWhenNoError: "Routing number",
48907
48912
  "data-qa": "Routing number",
@@ -48922,7 +48927,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48922
48927
  },
48923
48928
  onKeyDown: function onKeyDown(e) {
48924
48929
  return e.key === "Enter" && handleSubmit(e);
48925
- }
48930
+ },
48931
+ dataQa: "Routing number"
48926
48932
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48927
48933
  labelTextWhenNoError: "Confirm routing number",
48928
48934
  "data-qa": "Confirm routing number",
@@ -48933,10 +48939,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48933
48939
  onKeyDown: function onKeyDown(e) {
48934
48940
  return e.key === "Enter" && handleSubmit(e);
48935
48941
  },
48936
- isNum: true
48942
+ isNum: true,
48943
+ dataQa: "Confirm routing number"
48937
48944
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
48938
48945
  labelTextWhenNoError: "Account number",
48939
48946
  "data-qa": "Account number",
48947
+ dataQa: "Account number",
48940
48948
  errorMessages: accountNumberErrors,
48941
48949
  field: fields.accountNumber,
48942
48950
  fieldActions: actions.fields.accountNumber,
@@ -48965,10 +48973,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48965
48973
  onKeyDown: function onKeyDown(e) {
48966
48974
  return e.key === "Enter" && handleSubmit(e);
48967
48975
  },
48968
- isNum: true
48976
+ isNum: true,
48977
+ dataQa: "Confirm account number"
48969
48978
  }), allowBankAccountType && /*#__PURE__*/React__default.createElement(FormSelect$1, {
48970
48979
  labelTextWhenNoError: "Account type",
48971
48980
  "data-qa": "Account type",
48981
+ dataQa: "Account type",
48972
48982
  options: [{
48973
48983
  text: "Select account type",
48974
48984
  value: ""
@@ -48989,7 +48999,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
48989
48999
  name: "default-payment-ach",
48990
49000
  onChange: toggleCheckbox,
48991
49001
  checked: defaultMethod.value,
48992
- hidden: hideDefaultPayment
49002
+ hidden: hideDefaultPayment,
49003
+ dataQa: "default-payment-ach"
48993
49004
  }), (showWalletCheckbox || showTerms) && /*#__PURE__*/React__default.createElement(Cluster, {
48994
49005
  childGap: "4px",
48995
49006
  align: "center"
@@ -49005,7 +49016,9 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
49005
49016
  version: "v2",
49006
49017
  showCheckbox: false,
49007
49018
  description: "View",
49008
- terms: termsContent
49019
+ terms: termsContent,
49020
+ dataQa: "Terms and Conditions",
49021
+ "data-qa": "Terms and Conditions"
49009
49022
  })))));
49010
49023
  };
49011
49024
 
@@ -49109,7 +49122,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49109
49122
  }
49110
49123
  },
49111
49124
  showErrors: showErrors,
49112
- "data-qa": "Country"
49125
+ "data-qa": "Country",
49126
+ dataQa: "Country"
49113
49127
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
49114
49128
  labelTextWhenNoError: "Name on card",
49115
49129
  "data-qa": "Name on card",
@@ -49120,7 +49134,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49120
49134
  onKeyDown: function onKeyDown(e) {
49121
49135
  return e.key === "Enter" && handleSubmit(e);
49122
49136
  },
49123
- autocomplete: "cc-name"
49137
+ autocomplete: "cc-name",
49138
+ dataQa: "Name on card"
49124
49139
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
49125
49140
  labelTextWhenNoError: "Credit card number",
49126
49141
  "data-qa": "Credit card number",
@@ -49133,7 +49148,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49133
49148
  return e.key === "Enter" && handleSubmit(e);
49134
49149
  },
49135
49150
  isNum: true,
49136
- autocomplete: "cc-number"
49151
+ autocomplete: "cc-number",
49152
+ dataQa: "Credit card number"
49137
49153
  }), /*#__PURE__*/React__default.createElement(FormInputRow, {
49138
49154
  breakpoint: isMobile ? "1000rem" : "21rem",
49139
49155
  childGap: isMobile ? "0rem" : "1rem"
@@ -49151,7 +49167,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49151
49167
  isNum: true,
49152
49168
  removeFromValue: /\// // removes "/" from browser autofill
49153
49169
  ,
49154
- autocomplete: "cc-exp"
49170
+ autocomplete: "cc-exp",
49171
+ dataQa: "Expiration date"
49155
49172
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
49156
49173
  labelTextWhenNoError: "CVV",
49157
49174
  "data-qa": "CVV",
@@ -49164,7 +49181,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49164
49181
  onKeyDown: function onKeyDown(e) {
49165
49182
  return e.key === "Enter" && handleSubmit(e);
49166
49183
  },
49167
- autocomplete: "cc-csc"
49184
+ autocomplete: "cc-csc",
49185
+ dataQa: "CVV"
49168
49186
  })), !hideZipCode && /*#__PURE__*/React__default.createElement(Box, {
49169
49187
  padding: isMobile ? "0" : "0 0.5rem 0 0",
49170
49188
  width: isMobile ? "100%" : "50%"
@@ -49180,7 +49198,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49180
49198
  onKeyDown: function onKeyDown(e) {
49181
49199
  return e.key === "Enter" && handleSubmit(e);
49182
49200
  },
49183
- autoComplete: "billing postal-code"
49201
+ autoComplete: "billing postal-code",
49202
+ dataQa: "Zip code"
49184
49203
  })), (showWalletCheckbox || showTerms) && /*#__PURE__*/React__default.createElement(Cluster, {
49185
49204
  childGap: "4px",
49186
49205
  align: "center"