@thecb/components 9.0.0-beta.5 → 9.0.0-beta.7

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": "9.0.0-beta.5",
3
+ "version": "9.0.0-beta.7",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -80,7 +80,7 @@ const AddressForm = ({
80
80
  showErrors={showErrors}
81
81
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
82
82
  autocompleteValue="address-line1"
83
- dataQa="Address Line 1"
83
+ dataQa="Address"
84
84
  />
85
85
  <FormInput
86
86
  labelTextWhenNoError="Apt, Suite, Unit, Floor, etc. (Optional)"
@@ -60,6 +60,7 @@ const RegistrationForm = ({
60
60
  showErrors={showErrors}
61
61
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
62
62
  autocompleteValue="given-name"
63
+ dataQa="First name"
63
64
  />
64
65
  <FormInput
65
66
  labelTextWhenNoError="Last name"
@@ -69,6 +70,7 @@ const RegistrationForm = ({
69
70
  showErrors={showErrors}
70
71
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
71
72
  autocompleteValue="family-name"
73
+ dataQa="Last name"
72
74
  />
73
75
  <FormInput
74
76
  labelTextWhenNoError="Email address"
@@ -80,6 +82,7 @@ const RegistrationForm = ({
80
82
  type="email"
81
83
  isEmail
82
84
  autocompleteValue="email"
85
+ dataQa="Email address"
83
86
  />
84
87
  <FormInput
85
88
  labelTextWhenNoError="Password"
@@ -90,6 +93,7 @@ const RegistrationForm = ({
90
93
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
91
94
  type="password"
92
95
  autocompleteValue="new-password"
96
+ dataQa="Password"
93
97
  />
94
98
  <FormInput
95
99
  labelTextWhenNoError="Confirm password"
@@ -100,6 +104,7 @@ const RegistrationForm = ({
100
104
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
101
105
  type="password"
102
106
  autocompleteValue="new-password"
107
+ dataQa="Confirm password"
103
108
  />
104
109
  <Box padding={isMobile ? "0" : "0.5rem 0 0"}>
105
110
  <PasswordRequirements password={fields.password} isMobile={isMobile} />