@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.4.11-beta.13",
3
+ "version": "8.4.11-beta.15",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -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="zip code"
119
+ aria-label="Zip code"
120
120
  autocomplete="postal-code"
121
121
  required={true}
122
122
  />