@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 +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/dropdown/Dropdown.js +1 -1
- package/src/components/atoms/form-layouts/FormInput.js +1 -1
- package/src/components/atoms/form-select/FormSelect.js +1 -1
- package/src/components/molecules/address-form/AddressForm.js +1 -1
package/package.json
CHANGED
|
@@ -295,7 +295,7 @@ const Dropdown = ({
|
|
|
295
295
|
aria-labelledby={ariaLabelledby}
|
|
296
296
|
aria-describedby={ariaDescribedby}
|
|
297
297
|
aria-expanded={isOpen}
|
|
298
|
-
aria-live="
|
|
298
|
+
aria-live="polite"
|
|
299
299
|
autoComplete={autocompleteValue}
|
|
300
300
|
background={isOpen ? themeValues.hoverColor : WHITE}
|
|
301
301
|
borderRadius="2px"
|
|
@@ -249,7 +249,7 @@ const FormInput = ({
|
|
|
249
249
|
/>
|
|
250
250
|
)}
|
|
251
251
|
</Box>
|
|
252
|
-
<Stack direction="row" justify="space-between"
|
|
252
|
+
<Stack direction="row" justify="space-between" aria-live="polite">
|
|
253
253
|
{(field.hasErrors && field.dirty) || (field.hasErrors && showErrors) ? (
|
|
254
254
|
<Text
|
|
255
255
|
color={ERROR_COLOR}
|
|
@@ -96,7 +96,7 @@ const FormSelect = ({
|
|
|
96
96
|
text-transform: uppercase;
|
|
97
97
|
}`}
|
|
98
98
|
id={createIdFromString(labelTextWhenNoError, "error message")}
|
|
99
|
-
aria-live="
|
|
99
|
+
aria-live="polite"
|
|
100
100
|
>
|
|
101
101
|
{(field.hasErrors && field.dirty) || (field.hasErrors && showErrors)
|
|
102
102
|
? errorMessages[field.errors[0]]
|
|
@@ -84,7 +84,7 @@ const AddressForm = ({
|
|
|
84
84
|
showErrors={showErrors}
|
|
85
85
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
86
86
|
autocomplete="address-line2"
|
|
87
|
-
aria-label="
|
|
87
|
+
aria-label="Apt, Suite, Unit, Floor, etc. (Optional)"
|
|
88
88
|
/>
|
|
89
89
|
<FormInput
|
|
90
90
|
labelTextWhenNoError="City"
|