next-recomponents 1.5.2 → 1.5.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.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
- package/src/table/h.tsx +1 -3
- package/src/table/index.tsx +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -70,7 +70,7 @@ interface TableProps extends React.DetailedHTMLProps<React.TableHTMLAttributes<H
|
|
|
70
70
|
onSave?: (e: {
|
|
71
71
|
data: Record<string, any>;
|
|
72
72
|
}) => void | Promise<void>;
|
|
73
|
-
loader
|
|
73
|
+
loader?: React.ReactNode;
|
|
74
74
|
}
|
|
75
75
|
declare function Table({ ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
76
76
|
|
package/dist/index.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ interface TableProps extends React.DetailedHTMLProps<React.TableHTMLAttributes<H
|
|
|
70
70
|
onSave?: (e: {
|
|
71
71
|
data: Record<string, any>;
|
|
72
72
|
}) => void | Promise<void>;
|
|
73
|
-
loader
|
|
73
|
+
loader?: React.ReactNode;
|
|
74
74
|
}
|
|
75
75
|
declare function Table({ ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
76
76
|
|
package/dist/index.js
CHANGED
|
@@ -32019,9 +32019,7 @@ function HTable(_a) {
|
|
|
32019
32019
|
onClick: (e) => __async(null, null, function* () {
|
|
32020
32020
|
setIsLoading(true);
|
|
32021
32021
|
yield onSave({ data: values });
|
|
32022
|
-
|
|
32023
|
-
setIsLoading(false);
|
|
32024
|
-
}, 100);
|
|
32022
|
+
setIsLoading(false);
|
|
32025
32023
|
}),
|
|
32026
32024
|
children: [
|
|
32027
32025
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SaveIcon, {}),
|
package/dist/index.mjs
CHANGED
|
@@ -32007,9 +32007,7 @@ function HTable(_a) {
|
|
|
32007
32007
|
onClick: (e) => __async(null, null, function* () {
|
|
32008
32008
|
setIsLoading(true);
|
|
32009
32009
|
yield onSave({ data: values });
|
|
32010
|
-
|
|
32011
|
-
setIsLoading(false);
|
|
32012
|
-
}, 100);
|
|
32010
|
+
setIsLoading(false);
|
|
32013
32011
|
}),
|
|
32014
32012
|
children: [
|
|
32015
32013
|
/* @__PURE__ */ jsx11(SaveIcon, {}),
|
package/package.json
CHANGED
package/src/table/h.tsx
CHANGED
package/src/table/index.tsx
CHANGED
|
@@ -15,7 +15,7 @@ export interface TableProps
|
|
|
15
15
|
symbols?: Record<string, ReactNode>;
|
|
16
16
|
exportName?: string;
|
|
17
17
|
onSave?: (e: { data: Record<string, any> }) => void | Promise<void>;
|
|
18
|
-
loader
|
|
18
|
+
loader?: React.ReactNode;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export default function Table({ ...props }: TableProps) {
|