@thecb/components 8.4.11-beta.21 → 8.4.11-beta.22

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.esm.js CHANGED
@@ -40374,7 +40374,8 @@ var AddressForm = function AddressForm(_ref) {
40374
40374
  actions.fields.zip.set("");
40375
40375
  }
40376
40376
  },
40377
- showErrors: showErrors
40377
+ showErrors: showErrors,
40378
+ "data-qa": "Country"
40378
40379
  }), /*#__PURE__*/React.createElement(FormInput$1, {
40379
40380
  labelTextWhenNoError: "Address",
40380
40381
  errorMessages: street1ErrorMessages,
@@ -40386,7 +40387,8 @@ var AddressForm = function AddressForm(_ref) {
40386
40387
  return e.key === "Enter" && handleSubmit(e);
40387
40388
  },
40388
40389
  autocomplete: "address-line1",
40389
- "aria-label": "Address Line 1"
40390
+ "aria-label": "Address Line 1",
40391
+ "data-qa": "Address Line 1"
40390
40392
  }), /*#__PURE__*/React.createElement(FormInput$1, {
40391
40393
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
40392
40394
  field: fields.street2,
@@ -40396,7 +40398,8 @@ var AddressForm = function AddressForm(_ref) {
40396
40398
  return e.key === "Enter" && handleSubmit(e);
40397
40399
  },
40398
40400
  autocomplete: "address-line2",
40399
- "aria-label": "Address Line 2"
40401
+ "aria-label": "Address Line 2",
40402
+ "data-qa": "Address Line 2"
40400
40403
  }), /*#__PURE__*/React.createElement(FormInput$1, {
40401
40404
  labelTextWhenNoError: "City",
40402
40405
  required: true,
@@ -40408,7 +40411,8 @@ var AddressForm = function AddressForm(_ref) {
40408
40411
  return e.key === "Enter" && handleSubmit(e);
40409
40412
  },
40410
40413
  autocomplete: "city",
40411
- "aria-label": "City"
40414
+ "aria-label": "City",
40415
+ "data-qa": "City"
40412
40416
  }), /*#__PURE__*/React.createElement(FormStateDropdown, {
40413
40417
  labelTextWhenNoError: isUS ? "State" : "State or Province",
40414
40418
  errorMessages: stateProvinceErrorMessages,
@@ -40421,7 +40425,8 @@ var AddressForm = function AddressForm(_ref) {
40421
40425
  },
40422
40426
  "aria-label": isUS ? "State" : "State or Province",
40423
40427
  required: true,
40424
- autocomplete: "administrative-area"
40428
+ autocomplete: "administrative-area",
40429
+ "data-qa": "State or Province"
40425
40430
  }), /*#__PURE__*/React.createElement(FormInput$1, {
40426
40431
  isNum: isUS,
40427
40432
  formatter: isUS ? zipFormat : null,
@@ -40435,12 +40440,14 @@ var AddressForm = function AddressForm(_ref) {
40435
40440
  },
40436
40441
  "aria-label": "Zip code",
40437
40442
  autocomplete: "postal-code",
40438
- required: true
40443
+ required: true,
40444
+ "data-qa": "Zip code"
40439
40445
  }), showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
40440
40446
  name: "address checkbox",
40441
40447
  title: "Save address to wallet",
40442
40448
  checked: walletCheckboxMarked,
40443
- onChange: saveToWallet
40449
+ onChange: saveToWallet,
40450
+ "data-qa": "Save address to wallet"
40444
40451
  })));
40445
40452
  };
40446
40453
 
@@ -49088,7 +49095,8 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49088
49095
  actions.fields.zipCode.set("");
49089
49096
  }
49090
49097
  },
49091
- showErrors: showErrors
49098
+ showErrors: showErrors,
49099
+ "data-qa": "Country"
49092
49100
  }), /*#__PURE__*/React.createElement(FormInput$1, {
49093
49101
  labelTextWhenNoError: "Name on card",
49094
49102
  "data-qa": "Name on card",