@ludo.ninja/components 2.4.15 → 2.4.17
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.
|
@@ -114,12 +114,12 @@ const useSidebarData = () => {
|
|
|
114
114
|
// icon: <ReferralDashboardIcon />,
|
|
115
115
|
// isExternalUrl: false,
|
|
116
116
|
// },
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
{
|
|
118
|
+
href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/invite-codes`,
|
|
119
|
+
title: "My invites",
|
|
120
|
+
icon: (0, jsx_runtime_1.jsx)(icons_1.MyInvitesIcon, {}),
|
|
121
|
+
isExternalUrl: false,
|
|
122
|
+
},
|
|
123
123
|
]
|
|
124
124
|
: []),
|
|
125
125
|
];
|
|
@@ -4,65 +4,65 @@ const messages = {
|
|
|
4
4
|
galleryName: {
|
|
5
5
|
maxLength: {
|
|
6
6
|
value: 30,
|
|
7
|
-
message:
|
|
7
|
+
message: "The Gallery name is too long 🤟",
|
|
8
8
|
},
|
|
9
|
-
required:
|
|
9
|
+
required: "Name is required",
|
|
10
10
|
},
|
|
11
11
|
galleryDescription: {
|
|
12
12
|
maxLength: {
|
|
13
13
|
value: 400,
|
|
14
|
-
message:
|
|
14
|
+
message: "Please enter no more than 400 characters",
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
username: {
|
|
18
18
|
minLength: {
|
|
19
19
|
value: 1,
|
|
20
|
-
message:
|
|
20
|
+
message: "Username must be at least 1 character",
|
|
21
21
|
},
|
|
22
22
|
maxLength: {
|
|
23
23
|
value: 30,
|
|
24
|
-
message:
|
|
24
|
+
message: "Username must be at most 30 characters",
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
about: {
|
|
28
28
|
minLength: {
|
|
29
29
|
value: 2,
|
|
30
|
-
message:
|
|
30
|
+
message: "The bio is too small 🤟",
|
|
31
31
|
},
|
|
32
32
|
maxLength: {
|
|
33
33
|
value: 400,
|
|
34
|
-
message:
|
|
34
|
+
message: "Please enter no more than 400 characters",
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
userEmail: {
|
|
38
38
|
pattern: {
|
|
39
39
|
value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
|
|
40
|
-
message:
|
|
40
|
+
message: "Invalid Email address",
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
inviteCode: {
|
|
44
44
|
minLength: {
|
|
45
45
|
value: 6,
|
|
46
|
-
message:
|
|
46
|
+
message: "Invite code is too small 🤟",
|
|
47
47
|
},
|
|
48
48
|
maxLength: {
|
|
49
49
|
value: 6,
|
|
50
|
-
message:
|
|
50
|
+
message: "Please enter no more than 6 characters",
|
|
51
51
|
},
|
|
52
|
-
required:
|
|
52
|
+
required: "Invite code is required",
|
|
53
53
|
},
|
|
54
54
|
userWeb: {
|
|
55
55
|
minLength: {
|
|
56
56
|
value: 2,
|
|
57
|
-
message:
|
|
57
|
+
message: "The website is too small 🤟",
|
|
58
58
|
},
|
|
59
59
|
maxLength: {
|
|
60
60
|
value: 64,
|
|
61
|
-
message:
|
|
61
|
+
message: "The website is too long 🤟",
|
|
62
62
|
},
|
|
63
63
|
pattern: {
|
|
64
|
-
value:
|
|
65
|
-
message:
|
|
64
|
+
value: /^(https?:\/\/)?(www\.)?[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*(\.[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)+([\/#?][^\s]*)?$/,
|
|
65
|
+
message: "Invalid URL address",
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
};
|