@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.4.11-beta.2",
3
+ "version": "8.4.11-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -92,6 +92,7 @@ const Alert = ({
92
92
  borderSize={noBorder ? "0px" : "1px"}
93
93
  boxShadow={enableBoxShadow ? generateShadows()?.inset?.base : ""}
94
94
  extraStyles={extraStyles}
95
+ role="alert"
95
96
  >
96
97
  {maxContentWidth ? (
97
98
  <Center maxWidth={maxContentWidth}>{content}</Center>
@@ -65,6 +65,7 @@ const AddressForm = ({
65
65
  }}
66
66
  showErrors={showErrors}
67
67
  aria-label="country"
68
+ aria-role="listbox"
68
69
  />
69
70
  <FormInput
70
71
  labelTextWhenNoError="Address"
@@ -74,7 +75,7 @@ const AddressForm = ({
74
75
  fieldActions={actions.fields.street1}
75
76
  showErrors={showErrors}
76
77
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
77
- autoComplete="address-line1"
78
+ autocomplete="address-line1"
78
79
  aria-label="address line 1"
79
80
  />
80
81
  <FormInput
@@ -83,7 +84,7 @@ const AddressForm = ({
83
84
  fieldActions={actions.fields.street2}
84
85
  showErrors={showErrors}
85
86
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
86
- autoComplete="address-line2"
87
+ autocomplete="address-line2"
87
88
  aria-label="address line 2"
88
89
  />
89
90
  <FormInput
@@ -94,7 +95,7 @@ const AddressForm = ({
94
95
  fieldActions={actions.fields.city}
95
96
  showErrors={showErrors}
96
97
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
97
- autoComplete="locality"
98
+ autocomplete="city"
98
99
  aria-label="city"
99
100
  />
100
101
  <StateProvinceDropdown
@@ -119,7 +120,7 @@ const AddressForm = ({
119
120
  showErrors={showErrors}
120
121
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
121
122
  aria-label="zip code"
122
- autoComplete="postal-code"
123
+ autocomplete="postal-code"
123
124
  />
124
125
  {showWalletCheckbox && (
125
126
  <Checkbox