@cakemail-org/ui-components-v2 2.1.37 → 2.1.38
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2423,7 +2423,7 @@ function capitalizeFirstLetter(str) {
|
|
|
2423
2423
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
2424
2424
|
}
|
|
2425
2425
|
function isValidEmail(email) {
|
|
2426
|
-
if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
|
|
2426
|
+
if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(\(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
|
|
2427
2427
|
return true;
|
|
2428
2428
|
}
|
|
2429
2429
|
return false;
|
package/dist/esm/index.js
CHANGED
|
@@ -2403,7 +2403,7 @@ function capitalizeFirstLetter(str) {
|
|
|
2403
2403
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
2404
2404
|
}
|
|
2405
2405
|
function isValidEmail(email) {
|
|
2406
|
-
if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
|
|
2406
|
+
if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(\(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
|
|
2407
2407
|
return true;
|
|
2408
2408
|
}
|
|
2409
2409
|
return false;
|