next-recomponents 1.5.0 → 1.5.2

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.js CHANGED
@@ -32019,7 +32019,9 @@ function HTable(_a) {
32019
32019
  onClick: (e) => __async(null, null, function* () {
32020
32020
  setIsLoading(true);
32021
32021
  yield onSave({ data: values });
32022
- setIsLoading(false);
32022
+ setTimeout(() => {
32023
+ setIsLoading(false);
32024
+ }, 100);
32023
32025
  }),
32024
32026
  children: [
32025
32027
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SaveIcon, {}),
package/dist/index.mjs CHANGED
@@ -32007,7 +32007,9 @@ function HTable(_a) {
32007
32007
  onClick: (e) => __async(null, null, function* () {
32008
32008
  setIsLoading(true);
32009
32009
  yield onSave({ data: values });
32010
- setIsLoading(false);
32010
+ setTimeout(() => {
32011
+ setIsLoading(false);
32012
+ }, 100);
32011
32013
  }),
32012
32014
  children: [
32013
32015
  /* @__PURE__ */ jsx11(SaveIcon, {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/table/h.tsx CHANGED
@@ -94,7 +94,9 @@ export default function HTable({
94
94
  onClick={async (e) => {
95
95
  setIsLoading(true);
96
96
  await onSave({ data: values });
97
- setIsLoading(false);
97
+ setTimeout(() => {
98
+ setIsLoading(false);
99
+ }, 100);
98
100
  }}
99
101
  >
100
102
  <SaveIcon /> Guardar