@megha-ui/react 1.2.553 → 1.2.555
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.
|
@@ -74,7 +74,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
|
|
|
74
74
|
if (height) {
|
|
75
75
|
const availableHeight = height - 50;
|
|
76
76
|
const styles = currentTooltip.getAttribute("style");
|
|
77
|
-
console.log(currentTooltip.getBoundingClientRect());
|
|
77
|
+
console.log(currentTooltip, currentTooltip.getBoundingClientRect());
|
|
78
78
|
currentTooltip.setAttribute("style", `${styles} height: max-content; max-height: ${availableHeight}px; overflow: hidden auto;`);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -153,6 +153,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
|
|
|
153
153
|
ignoreRowSelect.has((_p = item["id"].value) === null || _p === void 0 ? void 0 : _p.toString()), onChange: () => { var _a; return toggleRowSelection((_a = item["id"].value) === null || _a === void 0 ? void 0 : _a.toString()); }, selected: item["id"] && selectedRows.has(item["id"].value), wrapperClass: checkboxWrapper }) })), columns.map((column, colIndex) => {
|
|
154
154
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
155
155
|
const cellData = item[column.key];
|
|
156
|
+
console.log(column.isArrayString, cellData);
|
|
156
157
|
const cellValue = cellData && cellData.isArrayString ? (_jsx("div", { children: cellData.value.toString().split(">>").length > 1 ? (_jsx(_Fragment, { children: column.isArrayString ? (_jsxs("div", { className: "flex items-center gap-2", children: [cellData.value
|
|
157
158
|
.toString()
|
|
158
159
|
.split(">>")
|
package/package.json
CHANGED