@megha-ui/react 1.2.325 → 1.2.327

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.
@@ -143,9 +143,9 @@ const SummariseDetails = ({ columns, rowIndex, groupBy, sortable, cellStyle, col
143
143
  return (_jsxs("div", { style: Object.assign(Object.assign({}, cellStyle), { position: "relative", width: widthMode === "auto"
144
144
  ? "auto"
145
145
  : (column === null || column === void 0 ? void 0 : column.width)
146
- ? column === null || column === void 0 ? void 0 : column.width
146
+ ? `calc(${column === null || column === void 0 ? void 0 : column.width} + 25px)`
147
147
  : columnWidths[`column-${_groupBy}`]
148
- ? columnWidths[`column-${_groupBy}`]
148
+ ? `calc(${columnWidths === null || columnWidths === void 0 ? void 0 : columnWidths[`column-${_groupBy}`]} + 25px)`
149
149
  : "fit-content", padding: _groupBy ? "0.5rem" : 0 }), className: `column ${columnKey}-${(_a = summariseDetails[columnKey || ""]) === null || _a === void 0 ? void 0 : _a.type}`, children: [summariseDetails[columnKey || ""] &&
150
150
  summariseDetails[columnKey || ""].type ? (_jsxs("div", { style: {
151
151
  display: "flex",
@@ -109,9 +109,10 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
109
109
  else if (display && compositeIndex === compositeKeys.length - 1) {
110
110
  return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
111
111
  }
112
+ console.log({ item, columnKey, index });
112
113
  if (compositeIndex > -1 && item.key === columnKey) {
113
- return display;
114
114
  }
115
+ return display;
115
116
  })() })] }));
116
117
  }
117
118
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.325",
3
+ "version": "1.2.327",
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",