@thecb/components 11.9.2-beta.2 → 11.9.2-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/dist/index.esm.js CHANGED
@@ -41241,7 +41241,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
41241
41241
  };
41242
41242
  }, []);
41243
41243
  }
41244
- var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Email address is not valid");
41244
+ var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41245
41245
  return /*#__PURE__*/React__default.createElement(FormInput$1, {
41246
41246
  labelTextWhenNoError: "Email address",
41247
41247
  errorMessages: EmailErrorMessages,
@@ -45940,7 +45940,7 @@ var LoginForm = function LoginForm(_ref) {
45940
45940
  };
45941
45941
  }, []);
45942
45942
  }
45943
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
45943
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
45944
45944
  var passwordErrorMessages = _defineProperty({}, required.error, "Password is required");
45945
45945
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {
45946
45946
  role: "form",
@@ -49313,7 +49313,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
49313
49313
  }
49314
49314
  var firstNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "First name is required"), validName.error, "First name contains invalid characters");
49315
49315
  var lastNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "Last name is required"), validName.error, "Last name contains invalid characters");
49316
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Invalid email address");
49316
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
49317
49317
  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 (!@#$%^&*.?)");
49318
49318
  var confirmPasswordErrorMessages = _defineProperty({}, matchesField.error, "Confirm password must match password");
49319
49319
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {