@zauru-sdk/components 1.0.79 → 1.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.81](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.80...v1.0.81) (2024-07-31)
7
+
8
+ **Note:** Version bump only for package @zauru-sdk/components
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.80](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.79...v1.0.80) (2024-07-30)
15
+
16
+ **Note:** Version bump only for package @zauru-sdk/components
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.0.79](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.78...v1.0.79) (2024-07-20)
7
23
 
8
24
  **Note:** Version bump only for package @zauru-sdk/components
@@ -64,6 +64,7 @@ const GenericDynamicTable = (props) => {
64
64
  newDeletedData.push(deletedItem);
65
65
  }
66
66
  setDeletedData(newDeletedData);
67
+ onChange && onChange(tableData?.filter((x) => x.id !== rowId));
67
68
  setTableData((prevData) => prevData?.filter((x) => x.id !== rowId));
68
69
  };
69
70
  const handleChange = (name, value, rowId) => {
@@ -61,6 +61,7 @@ export const GenericDynamicTable = (props) => {
61
61
  newDeletedData.push(deletedItem);
62
62
  }
63
63
  setDeletedData(newDeletedData);
64
+ onChange && onChange(tableData?.filter((x) => x.id !== rowId));
64
65
  setTableData((prevData) => prevData?.filter((x) => x.id !== rowId));
65
66
  };
66
67
  const handleChange = (name, value, rowId) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/components",
3
- "version": "1.0.79",
3
+ "version": "1.0.81",
4
4
  "description": "Componentes reutilizables en las WebApps de Zauru.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -33,11 +33,11 @@
33
33
  "dependencies": {
34
34
  "@reduxjs/toolkit": "^2.2.1",
35
35
  "@remix-run/react": "^2.8.1",
36
- "@zauru-sdk/common": "^1.0.76",
37
- "@zauru-sdk/hooks": "^1.0.76",
36
+ "@zauru-sdk/common": "^1.0.81",
37
+ "@zauru-sdk/hooks": "^1.0.81",
38
38
  "@zauru-sdk/icons": "^1.0.60",
39
- "@zauru-sdk/types": "^1.0.76",
40
- "@zauru-sdk/utils": "^1.0.79",
39
+ "@zauru-sdk/types": "^1.0.81",
40
+ "@zauru-sdk/utils": "^1.0.81",
41
41
  "framer-motion": "^11.0.8",
42
42
  "jsonwebtoken": "^9.0.2",
43
43
  "react": "^18.2.0",
@@ -47,5 +47,5 @@
47
47
  "react-select": "^5.8.0",
48
48
  "styled-components": "^5.3.5"
49
49
  },
50
- "gitHead": "25cf887cf57d6eabd296bbe06b91170636f1275a"
50
+ "gitHead": "24f4eeb19473bf56b1681e21ca5d7db831429c4a"
51
51
  }
@@ -122,6 +122,7 @@ export const GenericDynamicTable = (props: Props) => {
122
122
  newDeletedData.push(deletedItem);
123
123
  }
124
124
  setDeletedData(newDeletedData);
125
+ onChange && onChange(tableData?.filter((x) => x.id !== rowId));
125
126
  setTableData((prevData) => prevData?.filter((x) => x.id !== rowId));
126
127
  };
127
128