@megha-ui/react 1.2.352 → 1.2.353

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.
@@ -67,6 +67,8 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
67
67
  flex: widthMode === "auto" ? 1 : undefined,
68
68
  flexGrow: widthMode === "auto" ? 1 : 0,
69
69
  flexShrink: widthMode === "auto" ? 1 : 0,
70
+ display: "flex",
71
+ alignItems: "center",
70
72
  padding: "0.5rem",
71
73
  }, className: `column index-${columnKey}`, children: [index === 0 && (_jsx("span", { style: {
72
74
  fontSize: "inherit",
@@ -108,7 +110,8 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
108
110
  else if (display &&
109
111
  compositeIndex === compositeKeys.length - 1 &&
110
112
  index ===
111
- ((_a = item.groupedKey) === null || _a === void 0 ? void 0 : _a.split(">").flatMap((item) => item.split("+")).length) - 1) {
113
+ ((_a = item.groupedKey) === null || _a === void 0 ? void 0 : _a.split(">").flatMap((item) => item.split("+")).length) -
114
+ 1) {
112
115
  return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
113
116
  }
114
117
  if (compositeKeys.includes(item.key) ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.352",
3
+ "version": "1.2.353",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",