@thecb/components 8.4.11-beta.2 → 8.4.11-beta.3

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
@@ -18818,7 +18818,8 @@ var Alert = function Alert(_ref) {
18818
18818
  borderColor: themeValues.border,
18819
18819
  borderSize: noBorder ? "0px" : "1px",
18820
18820
  boxShadow: enableBoxShadow ? (_generateShadows = generateShadows()) === null || _generateShadows === void 0 ? void 0 : (_generateShadows$inse = _generateShadows.inset) === null || _generateShadows$inse === void 0 ? void 0 : _generateShadows$inse.base : "",
18821
- extraStyles: extraStyles
18821
+ extraStyles: extraStyles,
18822
+ role: "alert"
18822
18823
  }, maxContentWidth ? /*#__PURE__*/React__default.createElement(Center, {
18823
18824
  maxWidth: maxContentWidth
18824
18825
  }, content) : content);
@@ -40382,7 +40383,8 @@ var AddressForm = function AddressForm(_ref) {
40382
40383
  }
40383
40384
  },
40384
40385
  showErrors: showErrors,
40385
- "aria-label": "country"
40386
+ "aria-label": "country",
40387
+ "aria-role": "listbox"
40386
40388
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40387
40389
  labelTextWhenNoError: "Address",
40388
40390
  errorMessages: street1ErrorMessages,
@@ -40393,7 +40395,7 @@ var AddressForm = function AddressForm(_ref) {
40393
40395
  onKeyDown: function onKeyDown(e) {
40394
40396
  return e.key === "Enter" && handleSubmit(e);
40395
40397
  },
40396
- autoComplete: "address-line1",
40398
+ autocomplete: "address-line1",
40397
40399
  "aria-label": "address line 1"
40398
40400
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40399
40401
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
@@ -40403,7 +40405,7 @@ var AddressForm = function AddressForm(_ref) {
40403
40405
  onKeyDown: function onKeyDown(e) {
40404
40406
  return e.key === "Enter" && handleSubmit(e);
40405
40407
  },
40406
- autoComplete: "address-line2",
40408
+ autocomplete: "address-line2",
40407
40409
  "aria-label": "address line 2"
40408
40410
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40409
40411
  labelTextWhenNoError: "City",
@@ -40415,7 +40417,7 @@ var AddressForm = function AddressForm(_ref) {
40415
40417
  onKeyDown: function onKeyDown(e) {
40416
40418
  return e.key === "Enter" && handleSubmit(e);
40417
40419
  },
40418
- autoComplete: "locality",
40420
+ autocomplete: "city",
40419
40421
  "aria-label": "city"
40420
40422
  }), /*#__PURE__*/React__default.createElement(FormStateDropdown, {
40421
40423
  labelTextWhenNoError: isUS ? "State" : "State or Province",
@@ -40442,7 +40444,7 @@ var AddressForm = function AddressForm(_ref) {
40442
40444
  return e.key === "Enter" && handleSubmit(e);
40443
40445
  },
40444
40446
  "aria-label": "zip code",
40445
- autoComplete: "postal-code"
40447
+ autocomplete: "postal-code"
40446
40448
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
40447
40449
  name: "address checkbox",
40448
40450
  title: "Save address to Wallet",