@megha-ui/react 1.2.332 → 1.2.333
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.
|
@@ -68,6 +68,8 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
68
68
|
flex: widthMode === "auto" ? 1 : undefined,
|
|
69
69
|
flexGrow: widthMode === "auto" ? 1 : 0,
|
|
70
70
|
flexShrink: widthMode === "auto" ? 1 : 0,
|
|
71
|
+
display: "flex",
|
|
72
|
+
alignItems: "center",
|
|
71
73
|
padding: "0.5rem",
|
|
72
74
|
}, className: `column index-${columnKey}`, children: [index === 0 && (_jsx("span", { style: {
|
|
73
75
|
fontSize: "inherit",
|
|
@@ -110,7 +112,8 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
110
112
|
else if (display &&
|
|
111
113
|
compositeIndex === compositeKeys.length - 1 &&
|
|
112
114
|
index ===
|
|
113
|
-
((_a = item.groupedKey) === null || _a === void 0 ? void 0 : _a.split(">").flatMap((item) => item.split("+")).length) -
|
|
115
|
+
((_a = item.groupedKey) === null || _a === void 0 ? void 0 : _a.split(">").flatMap((item) => item.split("+")).length) -
|
|
116
|
+
1) {
|
|
114
117
|
return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
|
|
115
118
|
}
|
|
116
119
|
if (compositeKeys.includes(item.key) ||
|
package/package.json
CHANGED