@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.cjs.js CHANGED
@@ -41178,7 +41178,7 @@ var EmailForm = function EmailForm(_ref) {
41178
41178
  }, []);
41179
41179
  }
41180
41180
  useConditionallyAddValidator(isRequired, required, actions.fields.email.addValidator, actions.fields.email.removeValidator);
41181
- var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
41181
+ var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41182
41182
  return /*#__PURE__*/React__default.createElement(FormContainer$1, {
41183
41183
  variant: variant,
41184
41184
  role: "form",
@@ -41270,7 +41270,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
41270
41270
  };
41271
41271
  }, []);
41272
41272
  }
41273
- var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Email address is not valid");
41273
+ var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41274
41274
  return /*#__PURE__*/React__default.createElement(FormInput$1, {
41275
41275
  labelTextWhenNoError: "Email address",
41276
41276
  errorMessages: EmailErrorMessages,
@@ -45969,7 +45969,7 @@ var LoginForm = function LoginForm(_ref) {
45969
45969
  };
45970
45970
  }, []);
45971
45971
  }
45972
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
45972
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
45973
45973
  var passwordErrorMessages = _defineProperty({}, required.error, "Password is required");
45974
45974
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {
45975
45975
  role: "form",
@@ -49342,7 +49342,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
49342
49342
  }
49343
49343
  var firstNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "First name is required"), validName.error, "First name contains invalid characters");
49344
49344
  var lastNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "Last name is required"), validName.error, "Last name contains invalid characters");
49345
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Invalid email address");
49345
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
49346
49346
  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 (!@#$%^&*.?)");
49347
49347
  var confirmPasswordErrorMessages = _defineProperty({}, matchesField.error, "Confirm password must match password");
49348
49348
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {