@thecb/components 8.4.11-beta.13 → 8.4.11-beta.15
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 +26 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +26 -30
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -3
- package/src/components/molecules/address-form/AddressForm.js +1 -1
package/package.json
CHANGED
|
@@ -9,8 +9,7 @@ const CountryDropdown = ({
|
|
|
9
9
|
field,
|
|
10
10
|
fieldActions,
|
|
11
11
|
showErrors,
|
|
12
|
-
onChange
|
|
13
|
-
...rest
|
|
12
|
+
onChange
|
|
14
13
|
}) => (
|
|
15
14
|
<FormSelect
|
|
16
15
|
options={options}
|
|
@@ -21,7 +20,6 @@ const CountryDropdown = ({
|
|
|
21
20
|
showErrors={showErrors}
|
|
22
21
|
onChange={onChange}
|
|
23
22
|
autocompleteValue="country-name"
|
|
24
|
-
{...rest}
|
|
25
23
|
/>
|
|
26
24
|
);
|
|
27
25
|
export default CountryDropdown;
|
|
@@ -116,7 +116,7 @@ const AddressForm = ({
|
|
|
116
116
|
fieldActions={actions.fields.zip}
|
|
117
117
|
showErrors={showErrors}
|
|
118
118
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
119
|
-
aria-label="
|
|
119
|
+
aria-label="Zip code"
|
|
120
120
|
autocomplete="postal-code"
|
|
121
121
|
required={true}
|
|
122
122
|
/>
|