@megha-ui/react 1.2.326 → 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",
|
|
@@ -111,8 +111,8 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
111
111
|
}
|
|
112
112
|
console.log({ item, columnKey, index });
|
|
113
113
|
if (compositeIndex > -1 && item.key === columnKey) {
|
|
114
|
-
return display;
|
|
115
114
|
}
|
|
115
|
+
return display;
|
|
116
116
|
})() })] }));
|
|
117
117
|
}
|
|
118
118
|
return null;
|
package/package.json
CHANGED