@zauru-sdk/components 6.5.4 → 6.5.5
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 +11 -0
- package/dist/esm/Table/ZauruTable.js +19 -0
- package/package.json +2 -2
- package/src/Table/ZauruTable.tsx +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## [6.5.5](https://github.com/intuitiva/zauru-typescript-sdk/compare/@zauru-sdk/components@6.5.4...@zauru-sdk/components@6.5.5) (2026-09-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* estirar filas de ZauruTable al ancho del contenido al hacer scroll ([de57d25](https://github.com/intuitiva/zauru-typescript-sdk/commit/de57d25243d907a889aba0a5e05328646b50b5cb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [6.5.4](https://github.com/intuitiva/zauru-typescript-sdk/compare/@zauru-sdk/components@6.5.3...@zauru-sdk/components@6.5.4) (2026-09-16)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -13,7 +13,17 @@ const headerTextWrapStyle = {
|
|
|
13
13
|
wordBreak: "normal",
|
|
14
14
|
lineHeight: "1.25",
|
|
15
15
|
};
|
|
16
|
+
const fullContentWidthStyle = {
|
|
17
|
+
width: "max-content",
|
|
18
|
+
minWidth: "100%",
|
|
19
|
+
maxWidth: "none",
|
|
20
|
+
};
|
|
16
21
|
const customStyles = {
|
|
22
|
+
table: {
|
|
23
|
+
style: {
|
|
24
|
+
...fullContentWidthStyle,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
17
27
|
tableWrapper: {
|
|
18
28
|
style: {
|
|
19
29
|
display: "block",
|
|
@@ -31,11 +41,17 @@ const customStyles = {
|
|
|
31
41
|
overflowX: "auto",
|
|
32
42
|
},
|
|
33
43
|
},
|
|
44
|
+
head: {
|
|
45
|
+
style: {
|
|
46
|
+
...fullContentWidthStyle,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
34
49
|
headRow: {
|
|
35
50
|
style: {
|
|
36
51
|
minHeight: "40px",
|
|
37
52
|
height: "auto",
|
|
38
53
|
alignItems: "stretch",
|
|
54
|
+
...fullContentWidthStyle,
|
|
39
55
|
},
|
|
40
56
|
denseStyle: {
|
|
41
57
|
minHeight: "36px",
|
|
@@ -81,6 +97,9 @@ const customStyles = {
|
|
|
81
97
|
},
|
|
82
98
|
},
|
|
83
99
|
rows: {
|
|
100
|
+
style: {
|
|
101
|
+
...fullContentWidthStyle,
|
|
102
|
+
},
|
|
84
103
|
highlightOnHoverStyle: {
|
|
85
104
|
backgroundColor: "rgb(230, 244, 244)",
|
|
86
105
|
borderBottomColor: "#FFFFFF",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/components",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.5",
|
|
4
4
|
"description": "Componentes reutilizables en las WebApps de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"styled-components": "^5.3.5",
|
|
63
63
|
"zod": "^3.23.8"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "c157999c77c4d4a5cbb926466b8f3947b00f12f4"
|
|
66
66
|
}
|
package/src/Table/ZauruTable.tsx
CHANGED
|
@@ -20,7 +20,18 @@ const headerTextWrapStyle = {
|
|
|
20
20
|
lineHeight: "1.25",
|
|
21
21
|
} as const;
|
|
22
22
|
|
|
23
|
+
const fullContentWidthStyle = {
|
|
24
|
+
width: "max-content",
|
|
25
|
+
minWidth: "100%",
|
|
26
|
+
maxWidth: "none",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
23
29
|
const customStyles: TableStyles = {
|
|
30
|
+
table: {
|
|
31
|
+
style: {
|
|
32
|
+
...fullContentWidthStyle,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
24
35
|
tableWrapper: {
|
|
25
36
|
style: {
|
|
26
37
|
display: "block",
|
|
@@ -38,11 +49,17 @@ const customStyles: TableStyles = {
|
|
|
38
49
|
overflowX: "auto",
|
|
39
50
|
},
|
|
40
51
|
},
|
|
52
|
+
head: {
|
|
53
|
+
style: {
|
|
54
|
+
...fullContentWidthStyle,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
41
57
|
headRow: {
|
|
42
58
|
style: {
|
|
43
59
|
minHeight: "40px",
|
|
44
60
|
height: "auto",
|
|
45
61
|
alignItems: "stretch",
|
|
62
|
+
...fullContentWidthStyle,
|
|
46
63
|
},
|
|
47
64
|
denseStyle: {
|
|
48
65
|
minHeight: "36px",
|
|
@@ -88,6 +105,9 @@ const customStyles: TableStyles = {
|
|
|
88
105
|
},
|
|
89
106
|
},
|
|
90
107
|
rows: {
|
|
108
|
+
style: {
|
|
109
|
+
...fullContentWidthStyle,
|
|
110
|
+
},
|
|
91
111
|
highlightOnHoverStyle: {
|
|
92
112
|
backgroundColor: "rgb(230, 244, 244)",
|
|
93
113
|
borderBottomColor: "#FFFFFF",
|