@thecb/components 8.4.11-beta.22 → 8.4.11-beta.23
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 +9 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/dropdown/Dropdown.js +1 -0
- package/src/components/atoms/form-layouts/FormInput.js +3 -0
- package/src/components/molecules/email-form/EmailForm.js +1 -0
- package/src/components/molecules/phone-form/PhoneForm.js +1 -0
package/package.json
CHANGED
|
@@ -217,6 +217,7 @@ const FormInput = ({
|
|
|
217
217
|
formatter={formatter}
|
|
218
218
|
showErrors={showErrors}
|
|
219
219
|
dataQa={labelTextWhenNoError}
|
|
220
|
+
data-qa={labelTextWhenNoError}
|
|
220
221
|
themeValues={themeValues}
|
|
221
222
|
$customHeight={customHeight}
|
|
222
223
|
$extraStyles={extraStyles}
|
|
@@ -242,6 +243,7 @@ const FormInput = ({
|
|
|
242
243
|
field={field}
|
|
243
244
|
showErrors={showErrors}
|
|
244
245
|
dataQa={labelTextWhenNoError}
|
|
246
|
+
data-qa={labelTextWhenNoError}
|
|
245
247
|
themeValues={themeValues}
|
|
246
248
|
background={background}
|
|
247
249
|
$customHeight={customHeight}
|
|
@@ -256,6 +258,7 @@ const FormInput = ({
|
|
|
256
258
|
justify="space-between"
|
|
257
259
|
aria-live="polite"
|
|
258
260
|
aria-atomic={true}
|
|
261
|
+
data-qa={"Errors container"}
|
|
259
262
|
>
|
|
260
263
|
{(field.hasErrors && field.dirty) || (field.hasErrors && showErrors) ? (
|
|
261
264
|
<Text
|