@pelcro/react-pelcro-js 3.19.0-beta.14 → 3.19.0-beta.15
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12080,7 +12080,7 @@ function Email(_ref) {
|
|
|
12080
12080
|
}
|
|
12081
12081
|
}, []);
|
|
12082
12082
|
const isEmailValid = email => {
|
|
12083
|
-
const re = /[
|
|
12083
|
+
const re = /[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?/;
|
|
12084
12084
|
return re.test(email);
|
|
12085
12085
|
};
|
|
12086
12086
|
return /*#__PURE__*/React__default['default'].createElement(Input, Object.assign({
|
package/dist/index.esm.js
CHANGED
|
@@ -12050,7 +12050,7 @@ function Email(_ref) {
|
|
|
12050
12050
|
}
|
|
12051
12051
|
}, []);
|
|
12052
12052
|
const isEmailValid = email => {
|
|
12053
|
-
const re = /[
|
|
12053
|
+
const re = /[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?/;
|
|
12054
12054
|
return re.test(email);
|
|
12055
12055
|
};
|
|
12056
12056
|
return /*#__PURE__*/React__default.createElement(Input, Object.assign({
|