@megha-ui/react 1.2.272 → 1.2.274

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.
@@ -55,6 +55,7 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
55
55
  backgroundColor: "var(--summary-bg)",
56
56
  }, children: [(_a = item.groupedKey) === null || _a === void 0 ? void 0 : _a.split(">").filter((key) => key !== item.key).map((columnKey) => {
57
57
  const column = gridColumns.find((column) => column.key === columnKey);
58
+ console.log({ columnKey });
58
59
  if (column) {
59
60
  return (_jsx("div", { style: {
60
61
  width: widthMode === "auto"
@@ -65,7 +66,7 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
65
66
  ? columnWidths[`column-${columnKey}`]
66
67
  : "fit-content",
67
68
  padding: "0.5rem",
68
- }, className: `column index-${groupBy}`, children: _jsx("div", { style: {
69
+ }, className: `column index-${columnKey}`, children: _jsx("div", { style: {
69
70
  color: alternateRowColor && (gIndex + 1) % 2 === 0
70
71
  ? "var(--row-header-bg)"
71
72
  : "var(--row-bg)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.272",
3
+ "version": "1.2.274",
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",