material-react-table-narender 2.13.34 → 2.13.35
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.
package/dist/index.esm.js
CHANGED
@@ -2420,7 +2420,7 @@ const MRT_TableDetailPanel = (_a) => {
|
|
2420
2420
|
};
|
2421
2421
|
|
2422
2422
|
const MRT_TableBodyRow = (_a) => {
|
2423
|
-
var _b, _c, _d, _f;
|
2423
|
+
var _b, _c, _d, _f, _g;
|
2424
2424
|
var { columnVirtualizer, numRows, pinnedRowIds, row, rowVirtualizer, staticRowIndex, table, virtualRow } = _a, rest = __rest(_a, ["columnVirtualizer", "numRows", "pinnedRowIds", "row", "rowVirtualizer", "staticRowIndex", "table", "virtualRow"]);
|
2425
2425
|
const theme = useTheme();
|
2426
2426
|
const { getState, options: { enableRowOrdering, enableRowPinning, enableStickyFooter, enableStickyHeader, layoutMode, memoMode, mrtTheme: { baseBackgroundColor, pinnedRowBackgroundColor, selectedRowBackgroundColor, }, muiTableBodyRowProps, renderDetailPanel, rowPinningDisplayMode, }, refs: { tableFooterRef, tableHeadRef }, setHoveredRow, } = table;
|
@@ -2500,7 +2500,7 @@ const MRT_TableBodyRow = (_a) => {
|
|
2500
2500
|
: topPinnedIndex !== undefined && isRowPinned
|
2501
2501
|
? `${topPinnedIndex * rowHeight +
|
2502
2502
|
(enableStickyHeader || isFullScreen ? tableHeadHeight - 1 : 0)}px`
|
2503
|
-
: undefined, transition: virtualRow ? 'none' : 'all 150ms ease-in-out', width: '100%', zIndex: (rowPinningDisplayMode === null || rowPinningDisplayMode === void 0 ? void 0 : rowPinningDisplayMode.includes('sticky')) && isRowPinned ? 2 : 0 }, sx)), key: row.id }),
|
2503
|
+
: undefined, transition: virtualRow ? 'none' : 'all 150ms ease-in-out', width: '100%', zIndex: (rowPinningDisplayMode === null || rowPinningDisplayMode === void 0 ? void 0 : rowPinningDisplayMode.includes('sticky')) && isRowPinned ? 2 : 0 }, sx)), key: (_g = row === null || row === void 0 ? void 0 : row.original) === null || _g === void 0 ? void 0 : _g.id }),
|
2504
2504
|
virtualPaddingLeft ? (jsx("td", { style: { display: 'flex', width: virtualPaddingLeft } })) : null,
|
2505
2505
|
(virtualColumns !== null && virtualColumns !== void 0 ? virtualColumns : visibleCells).map((cellOrVirtualCell, staticColumnIndex) => {
|
2506
2506
|
let cell = cellOrVirtualCell;
|