@ahmadmubarak98/namozaj 1.16.18 → 1.16.20

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
@@ -393,6 +393,7 @@ export declare type NamozajFormMethods = RHFFormMethods & {
393
393
  setFieldOptions: (name: string, options: FieldOption[]) => void;
394
394
  markAsClean: () => void;
395
395
  markAsDirty: () => void;
396
+ scrollToFirstError: () => void;
396
397
  };
397
398
 
398
399
  export declare interface NamozajLocalizationOptions {
package/dist/namozaj.js CHANGED
@@ -89682,9 +89682,13 @@ const Kb = fe.forwardRef(
89682
89682
  },
89683
89683
  markAsDirty: () => {
89684
89684
  v(!0);
89685
+ },
89686
+ scrollToFirstError: () => {
89687
+ const G = M.formState.errors, Q = L(G);
89688
+ Q && E(Q);
89685
89689
  }
89686
89690
  }),
89687
- [M]
89691
+ [M, L, E]
89688
89692
  );
89689
89693
  const D = e.isNested ? "div" : "form", F = He(
89690
89694
  (G) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.16.18",
4
+ "version": "1.16.20",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",