@thecb/components 8.4.11-beta.4 → 8.4.11-beta.6

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
@@ -23993,7 +23993,7 @@ var Dropdown = function Dropdown(_ref8) {
23993
23993
  "aria-labelledby": ariaLabelledby,
23994
23994
  "aria-describedby": ariaDescribedby,
23995
23995
  "aria-expanded": isOpen,
23996
- "aria-live": "assertive",
23996
+ "aria-live": "polite",
23997
23997
  autoComplete: autocompleteValue,
23998
23998
  background: isOpen ? themeValues.hoverColor : WHITE,
23999
23999
  borderRadius: "2px",
@@ -24241,7 +24241,7 @@ var FormSelect = function FormSelect(_ref) {
24241
24241
  weight: themeValues.fontWeight,
24242
24242
  extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
24243
24243
  id: createIdFromString(labelTextWhenNoError, "error message"),
24244
- "aria-live": "assertive"
24244
+ "aria-live": "polite"
24245
24245
  }, field.hasErrors && field.dirty || field.hasErrors && showErrors ? errorMessages[field.errors[0]] : "")));
24246
24246
  };
24247
24247
 
@@ -26044,7 +26044,7 @@ var FormInput = function FormInput(_ref15) {
26044
26044
  }, props))), /*#__PURE__*/React__default.createElement(Stack, {
26045
26045
  direction: "row",
26046
26046
  justify: "space-between",
26047
- role: "alert"
26047
+ "aria-live": "polite"
26048
26048
  }, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
26049
26049
  color: ERROR_COLOR,
26050
26050
  variant: "pXS",
@@ -40398,7 +40398,7 @@ var AddressForm = function AddressForm(_ref) {
40398
40398
  return e.key === "Enter" && handleSubmit(e);
40399
40399
  },
40400
40400
  autocomplete: "address-line2",
40401
- "aria-label": "address line 2"
40401
+ "aria-label": "Apt, Suite, Unit, Floor, etc. (Optional)"
40402
40402
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40403
40403
  labelTextWhenNoError: "City",
40404
40404
  required: true,