@zauru-sdk/components 2.0.99 → 2.0.101
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
|
+
## [2.0.101](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.100...v2.0.101) (2025-01-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @zauru-sdk/components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.0.100](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.99...v2.0.100) (2025-01-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @zauru-sdk/components
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [2.0.99](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.98...v2.0.99) (2025-01-07)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @zauru-sdk/components
|
|
@@ -161,7 +161,7 @@ export const GenericDynamicTable = (props) => {
|
|
|
161
161
|
? column.options?.find((x) => x.value === tempVal)
|
|
162
162
|
: tempVal;
|
|
163
163
|
if (column.type === "label") {
|
|
164
|
-
return (_jsx("td", { className: `align-middle p-1 ${column.cellClassName || ""}`, children: _jsx("div", { children: defaultVal }) }, `${rowData.id}-${column.name}`));
|
|
164
|
+
return (_jsx("td", { className: `align-middle p-1 ${column.cellClassName || ""}`, children: _jsx("div", { children: column.cell ? column.cell(rowData) : defaultVal }) }, `${rowData.id}-${column.name}`));
|
|
165
165
|
}
|
|
166
166
|
const FieldComponent = column.type === "textField"
|
|
167
167
|
? TextField
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.101",
|
|
4
4
|
"description": "Componentes reutilizables en las WebApps de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@zauru-sdk/hooks": "^2.0.99",
|
|
38
38
|
"@zauru-sdk/icons": "^2.0.99",
|
|
39
39
|
"@zauru-sdk/types": "^2.0.92",
|
|
40
|
-
"@zauru-sdk/utils": "^2.0.
|
|
40
|
+
"@zauru-sdk/utils": "^2.0.101",
|
|
41
41
|
"framer-motion": "^11.7.0",
|
|
42
42
|
"jsonwebtoken": "^9.0.2",
|
|
43
43
|
"react": "^18.2.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"styled-components": "^5.3.5",
|
|
50
50
|
"zod": "^3.23.8"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "600c804405b61d0b07ebc19ecb4f02d25ba1e28b"
|
|
53
53
|
}
|
|
@@ -298,7 +298,7 @@ export const GenericDynamicTable = (props: Props) => {
|
|
|
298
298
|
key={`${rowData.id}-${column.name}`}
|
|
299
299
|
className={`align-middle p-1 ${column.cellClassName || ""}`}
|
|
300
300
|
>
|
|
301
|
-
<div>{defaultVal}</div>
|
|
301
|
+
<div>{column.cell ? column.cell(rowData) : defaultVal}</div>
|
|
302
302
|
</td>
|
|
303
303
|
);
|
|
304
304
|
}
|