next-recomponents 1.6.9 → 1.6.81

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.d.mts CHANGED
@@ -71,7 +71,6 @@ interface TableProps extends React.DetailedHTMLProps<React.TableHTMLAttributes<H
71
71
  data: Record<string, any>;
72
72
  }) => void | Promise<void>;
73
73
  loader?: React.ReactNode;
74
- maxItems?: number;
75
74
  }
76
75
  declare function Table({ ...props }: TableProps): react_jsx_runtime.JSX.Element;
77
76
 
@@ -161,9 +160,7 @@ declare function useDates(): {
161
160
 
162
161
  declare function useExcel(): {
163
162
  import: (file: File) => Promise<any[][]>;
164
- export: (data: any[][], fileName?: string) => Promise<void>;
165
- exportAllPages: (data: Record<string, any[]>, fileName?: string) => Promise<void>;
166
- importAllPages: (file: File) => Promise<Record<string, any[]>>;
163
+ export: (data: any[][], fileName?: string) => void;
167
164
  };
168
165
 
169
166
  export { Alert, Button, Container, Form, Input, Modal, Pre, Select, Table, TextArea, regularExpresions, useDates, useExcel, useResources };
package/dist/index.d.ts CHANGED
@@ -71,7 +71,6 @@ interface TableProps extends React.DetailedHTMLProps<React.TableHTMLAttributes<H
71
71
  data: Record<string, any>;
72
72
  }) => void | Promise<void>;
73
73
  loader?: React.ReactNode;
74
- maxItems?: number;
75
74
  }
76
75
  declare function Table({ ...props }: TableProps): react_jsx_runtime.JSX.Element;
77
76
 
@@ -161,9 +160,7 @@ declare function useDates(): {
161
160
 
162
161
  declare function useExcel(): {
163
162
  import: (file: File) => Promise<any[][]>;
164
- export: (data: any[][], fileName?: string) => Promise<void>;
165
- exportAllPages: (data: Record<string, any[]>, fileName?: string) => Promise<void>;
166
- importAllPages: (file: File) => Promise<Record<string, any[]>>;
163
+ export: (data: any[][], fileName?: string) => void;
167
164
  };
168
165
 
169
166
  export { Alert, Button, Container, Form, Input, Modal, Pre, Select, Table, TextArea, regularExpresions, useDates, useExcel, useResources };