@megha-ui/react 1.2.807 → 1.2.810
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.
|
@@ -1526,6 +1526,11 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1526
1526
|
? "minmax(max-content, 1fr)"
|
|
1527
1527
|
: "max-content")
|
|
1528
1528
|
.join(" "),
|
|
1529
|
+
gridTemplateRows: gridColumns
|
|
1530
|
+
.map((_, index) => index > gridColumns.length - 2
|
|
1531
|
+
? "minmax(max-content, 1fr)"
|
|
1532
|
+
: "max-content")
|
|
1533
|
+
.join(" "),
|
|
1529
1534
|
height: `calc(100% - ${removalHeight})`,
|
|
1530
1535
|
border: gridBorder ? "1px solid #f0f0f0" : "none",
|
|
1531
1536
|
overflow: calculateVisible && gridGroupBy ? "visible" : "auto",
|
|
@@ -1599,7 +1604,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1599
1604
|
else if (index >= startIndex && index <= endIndex) {
|
|
1600
1605
|
return (_jsx(NewGridRow, { item: item, index: index, rowStyle: Object.assign(Object.assign({}, rowStyle), (selectedRow === ((_d = item.id) === null || _d === void 0 ? void 0 : _d.value) ? selectedRowStyle : {})), handleDragStart: handleDragStart, handleDragOver: handleDragOver, handleDrop: handleDrop, draggable: draggable, cellStyle: cellStyle, rowHeight: rowHeight, alternateRowColor: alternateRowColor, bulkSelect: bulkSelect, selectedRows: selectedRows ? selectedRows : new Set([""]), ignoreRowSelect: ignoreRowSelect ? ignoreRowSelect : new Set([""]), toggleRowSelection: toggleRowSelection, columns: gridColumns, widthMode: widthMode, hasVerticalScroll: hasVerticalScroll, onRowClick: onRowClick, loading: isLoading, groupBy: gridGroupBy, rowKey: rowKey, rowIndex: rowIndex, columnIndex: columnIndex, hlBorderColor: hlBorderColor, hugColumnWidths: columnWidths, hugColumnHeights: columnHeights, expandedRow: expandedRow, isExpandable: isExpandable, checkboxWrapper: checkboxWrapper, locale: locale, formatOptions: formatOptions, ignoreClickKeys: ignoreClickKeys, actionsKey: actionsKey }, String((_f = (_e = item.id) === null || _e === void 0 ? void 0 : _e.value) !== null && _f !== void 0 ? _f : index)));
|
|
1601
1606
|
}
|
|
1602
|
-
})] }), paginate && gridGroupBy === "" && (_jsxs("div", { id: "pagination", style: {
|
|
1607
|
+
}), extraRow && extraRow] }), paginate && gridGroupBy === "" && (_jsxs("div", { id: "pagination", style: {
|
|
1603
1608
|
display: "flex",
|
|
1604
1609
|
minHeight: "2rem",
|
|
1605
1610
|
alignItems: "center",
|
package/package.json
CHANGED