@visns-studio/visns-components 5.14.4 → 5.14.5

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
@@ -16,16 +16,16 @@
16
16
  "@uiw/react-color": "^2.7.1",
17
17
  "@visns-studio/visns-datagrid-community": "1.1.0",
18
18
  "@visns-studio/visns-datagrid-enterprise": "1.1.0",
19
- "@vitejs/plugin-react": "^4.6.0",
19
+ "@vitejs/plugin-react": "^4.7.0",
20
20
  "add": "^2.0.6",
21
21
  "array-move": "^4.0.0",
22
22
  "awesome-debounce-promise": "^2.1.0",
23
23
  "browser-image-compression": "^2.0.2",
24
24
  "dayjs": "^1.11.13",
25
- "fabric": "^6.7.0",
25
+ "fabric": "^6.7.1",
26
26
  "file-saver": "^2.0.5",
27
27
  "framer-motion": "^12.23.6",
28
- "html-react-parser": "^5.2.5",
28
+ "html-react-parser": "^5.2.6",
29
29
  "lodash": "^4.17.21",
30
30
  "lodash.debounce": "^4.0.8",
31
31
  "lucide-react": "^0.525.0",
@@ -66,7 +66,7 @@
66
66
  "validator": "^13.15.15",
67
67
  "vite": "^6.3.5",
68
68
  "yarn": "^1.22.22",
69
- "yet-another-react-lightbox": "^3.24.0"
69
+ "yet-another-react-lightbox": "^3.25.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/core": "^7.28.0",
@@ -88,7 +88,7 @@
88
88
  "react-dom": "^17.0.0 || ^18.0.0"
89
89
  },
90
90
  "name": "@visns-studio/visns-components",
91
- "version": "5.14.4",
91
+ "version": "5.14.5",
92
92
  "description": "Various packages to assist in the development of our Custom Applications.",
93
93
  "main": "src/index.js",
94
94
  "files": [
@@ -26,7 +26,7 @@ const ClientLogin = ({ logo, setSystemAuth, urls = {} }) => {
26
26
 
27
27
  if (!email.trim()) {
28
28
  setInputError(true);
29
- toast.error('Please enter your email address');
29
+ toast.error('Please enter your email address or mobile number');
30
30
  return;
31
31
  }
32
32
 
@@ -61,14 +61,14 @@ const ClientLogin = ({ logo, setSystemAuth, urls = {} }) => {
61
61
  });
62
62
  toast.success(
63
63
  result.data.message ||
64
- 'Verification code sent to your email'
64
+ 'Verification code sent'
65
65
  );
66
66
  } else {
67
67
  setSystemAuth(false);
68
68
  setInputError(true);
69
69
  toast.error(
70
70
  (result.data && result.data.message) ||
71
- 'Could not find an account with this email address.'
71
+ 'Could not find an account with this email address or mobile number.'
72
72
  );
73
73
  }
74
74
  } catch (error) {
@@ -85,25 +85,25 @@ const ClientLogin = ({ logo, setSystemAuth, urls = {} }) => {
85
85
 
86
86
  <h1 className={styles.title}>Client Login</h1>
87
87
  <p className={styles.subtitle}>
88
- Enter your email address to receive a verification code
88
+ Enter your email address or mobile number to receive a verification code
89
89
  </p>
90
90
 
91
91
  <form onSubmit={handleSubmit}>
92
92
  <div className={styles.formGroup}>
93
93
  <label htmlFor="email" className={styles.inputLabel}>
94
- Email
94
+ Email or Mobile
95
95
  </label>
96
96
  <input
97
97
  id="email"
98
- type="email"
98
+ type="text"
99
99
  name="email"
100
100
  value={email}
101
101
  onChange={handleChange}
102
102
  className={`${styles.input} ${
103
103
  inputError ? styles.error : ''
104
104
  }`}
105
- placeholder="Enter your email address"
106
- autoComplete="email"
105
+ placeholder="Enter your email address or mobile number"
106
+ autoComplete="username"
107
107
  />
108
108
  <span className={styles.inputIcon}>
109
109
  <User strokeWidth={2} size={18} />