@ahmadmubarak98/namozaj 1.6.2 → 1.6.3

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.
Files changed (2) hide show
  1. package/dist/main.d.ts +4 -1
  2. package/package.json +1 -1
package/dist/main.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { CountryIso2 } from 'react-international-phone';
1
2
  import { default as default_2 } from 'react';
2
3
  import { FieldValues } from 'react-hook-form';
3
4
  import { PickersTimezone } from '@mui/x-date-pickers';
@@ -296,6 +297,8 @@ export declare interface NamozajLocalizationOptions {
296
297
  };
297
298
  }
298
299
 
300
+ export declare type NamozajPhoneFieldCountry = CountryIso2;
301
+
299
302
  export declare type NumberFieldConfig = BaseFieldConfig & {
300
303
  type: "number";
301
304
  meta: BaseFieldConfig["meta"] & {
@@ -318,7 +321,7 @@ export declare type PhoneFieldConfig = BaseFieldConfig & {
318
321
  meta: BaseFieldConfig["meta"] & {
319
322
  variant?: FieldVariant;
320
323
  size?: FieldSize;
321
- defaultCountry?: string;
324
+ defaultCountry?: NamozajPhoneFieldCountry;
322
325
  hideDropdown?: boolean;
323
326
  maxLength?: number;
324
327
  minLength?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.6.2",
4
+ "version": "1.6.3",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",