@ahmadmubarak98/namozaj 1.6.5 → 1.6.6

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/main.d.ts CHANGED
@@ -269,7 +269,7 @@ export declare type HelperTextConfig = {
269
269
  color?: BaseColors | string;
270
270
  };
271
271
 
272
- export declare type InputRestriction = "alpha" | "alphanumeric" | "numeric" | "alpha-with-spaces" | "alphanumeric-with-spaces" | "numeric-with-spaces" | RegExp;
272
+ export declare type InputRestriction = "alpha" | "alphanumeric" | "numeric" | "alpha-with-spaces" | "alphanumeric-with-spaces" | "numeric-with-spaces" | 'email' | RegExp;
273
273
 
274
274
  export declare type ModalSize = "small" | "medium" | "large" | "full";
275
275
 
package/dist/namozaj.js CHANGED
@@ -4582,6 +4582,8 @@ const getDefaultValue = (e) => {
4582
4582
  return /^[\p{L}\0-9\s]*$/u;
4583
4583
  case "numeric-with-spaces":
4584
4584
  return /^[0-9\s]*$/;
4585
+ case "email":
4586
+ return /^[a-zA-Z0-9._@-]*$/;
4585
4587
  default:
4586
4588
  return /.*/;
4587
4589
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.6.5",
4
+ "version": "1.6.6",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",