@thecb/components 11.10.2-beta.2 → 11.10.4-beta.0

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.esm.js CHANGED
@@ -41170,7 +41170,7 @@ var EmailForm = function EmailForm(_ref) {
41170
41170
  }, []);
41171
41171
  }
41172
41172
  useConditionallyAddValidator(isRequired, required, actions.fields.email.addValidator, actions.fields.email.removeValidator);
41173
- var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
41173
+ var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41174
41174
  return /*#__PURE__*/React__default.createElement(FormContainer$1, {
41175
41175
  variant: variant,
41176
41176
  role: "form",
@@ -41262,7 +41262,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
41262
41262
  };
41263
41263
  }, []);
41264
41264
  }
41265
- var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Email address is not valid");
41265
+ var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41266
41266
  return /*#__PURE__*/React__default.createElement(FormInput$1, {
41267
41267
  labelTextWhenNoError: "Email address",
41268
41268
  errorMessages: EmailErrorMessages,
@@ -45961,7 +45961,7 @@ var LoginForm = function LoginForm(_ref) {
45961
45961
  };
45962
45962
  }, []);
45963
45963
  }
45964
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
45964
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
45965
45965
  var passwordErrorMessages = _defineProperty({}, required.error, "Password is required");
45966
45966
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {
45967
45967
  role: "form",
@@ -49334,7 +49334,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
49334
49334
  }
49335
49335
  var firstNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "First name is required"), validName.error, "First name contains invalid characters");
49336
49336
  var lastNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "Last name is required"), validName.error, "Last name contains invalid characters");
49337
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Invalid email address");
49337
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
49338
49338
  var passwordErrorMessages = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, required.error, "Password is required"), hasLength.error, "Password must have at least 8 characters"), hasNumber.error, "Password must contain at least one number"), hasLowercaseLetter.error, "Password must contain at least one lowercase letter"), hasUppercaseLetter.error, "Password must contain at least one uppercase letter"), hasSpecialCharacter.error, "Password must contain at least one special character (!@#$%^&*.?)");
49339
49339
  var confirmPasswordErrorMessages = _defineProperty({}, matchesField.error, "Confirm password must match password");
49340
49340
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {