@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/dist/index.cjs.js
CHANGED
|
@@ -24019,6 +24019,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
24019
24019
|
value: inputValue,
|
|
24020
24020
|
width: "100%",
|
|
24021
24021
|
dataQa: placeholder,
|
|
24022
|
+
"data-qa": placeholder,
|
|
24022
24023
|
required: options.required
|
|
24023
24024
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
24024
24025
|
open: isOpen,
|
|
@@ -26021,6 +26022,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26021
26022
|
formatter: formatter,
|
|
26022
26023
|
showErrors: showErrors,
|
|
26023
26024
|
dataQa: labelTextWhenNoError,
|
|
26025
|
+
"data-qa": labelTextWhenNoError,
|
|
26024
26026
|
themeValues: themeValues,
|
|
26025
26027
|
$customHeight: customHeight,
|
|
26026
26028
|
$extraStyles: extraStyles,
|
|
@@ -26039,6 +26041,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26039
26041
|
field: field,
|
|
26040
26042
|
showErrors: showErrors,
|
|
26041
26043
|
dataQa: labelTextWhenNoError,
|
|
26044
|
+
"data-qa": labelTextWhenNoError,
|
|
26042
26045
|
themeValues: themeValues,
|
|
26043
26046
|
background: background,
|
|
26044
26047
|
$customHeight: customHeight,
|
|
@@ -26048,7 +26051,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
26048
26051
|
direction: "row",
|
|
26049
26052
|
justify: "space-between",
|
|
26050
26053
|
"aria-live": "polite",
|
|
26051
|
-
"aria-atomic": true
|
|
26054
|
+
"aria-atomic": true,
|
|
26055
|
+
"data-qa": "Errors container"
|
|
26052
26056
|
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26053
26057
|
color: ERROR_COLOR,
|
|
26054
26058
|
variant: "pXS",
|
|
@@ -41379,7 +41383,8 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
41379
41383
|
return e.key === "Enter" && handleSubmit(e);
|
|
41380
41384
|
},
|
|
41381
41385
|
isEmail: true,
|
|
41382
|
-
autoComplete: "email"
|
|
41386
|
+
autoComplete: "email",
|
|
41387
|
+
"data-qa": "Email address"
|
|
41383
41388
|
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
41384
41389
|
name: "email checkbox",
|
|
41385
41390
|
title: "Save email address to wallet",
|
|
@@ -49394,7 +49399,8 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49394
49399
|
return e.key === "Enter" && handleSubmit(e);
|
|
49395
49400
|
},
|
|
49396
49401
|
autocomplete: "tel",
|
|
49397
|
-
isPhone: true
|
|
49402
|
+
isPhone: true,
|
|
49403
|
+
"data-qa": "Phone number"
|
|
49398
49404
|
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
49399
49405
|
name: "phone checkbox",
|
|
49400
49406
|
title: "Save phone number to wallet",
|