@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.9.2-beta.2",
3
+ "version": "11.9.2-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -15,7 +15,8 @@ const ForgotPasswordForm = ({
15
15
  }
16
16
  const EmailErrorMessages = {
17
17
  [required.error]: "Email address is required",
18
- [isProbablyEmail.error]: "Email address is not valid"
18
+ [isProbablyEmail.error]:
19
+ "Please enter a valid email address in the format user@example.com"
19
20
  };
20
21
 
21
22
  return (
@@ -15,7 +15,8 @@ const LoginForm = ({
15
15
  }
16
16
  const emailErrorMessages = {
17
17
  [required.error]: "Email address is required",
18
- [isProbablyEmail.error]: "Invalid email address"
18
+ [isProbablyEmail.error]:
19
+ "Please enter a valid email address in the format user@example.com"
19
20
  };
20
21
  const passwordErrorMessages = {
21
22
  [required.error]: "Password is required"
@@ -36,7 +36,8 @@ const RegistrationForm = ({
36
36
  };
37
37
  const emailErrorMessages = {
38
38
  [required.error]: "Email is required",
39
- [isProbablyEmail.error]: "Invalid email address"
39
+ [isProbablyEmail.error]:
40
+ "Please enter a valid email address in the format user@example.com"
40
41
  };
41
42
  const passwordErrorMessages = {
42
43
  [required.error]: "Password is required",