material-react-table 0.9.4 → 0.9.5
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/material-react-table.cjs.development.js +2 -5
- package/dist/material-react-table.cjs.development.js.map +1 -1
- package/dist/material-react-table.cjs.production.min.js +1 -1
- package/dist/material-react-table.cjs.production.min.js.map +1 -1
- package/dist/material-react-table.esm.js +2 -5
- package/dist/material-react-table.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/body/MRT_TableBodyCell.tsx +1 -12
|
@@ -6982,10 +6982,8 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
6982
6982
|
editingMode = _tableInstance$option.editingMode,
|
|
6983
6983
|
enableClickToCopy = _tableInstance$option.enableClickToCopy,
|
|
6984
6984
|
enableColumnOrdering = _tableInstance$option.enableColumnOrdering,
|
|
6985
|
-
enableColumnResizing = _tableInstance$option.enableColumnResizing,
|
|
6986
6985
|
enableEditing = _tableInstance$option.enableEditing,
|
|
6987
6986
|
enableRowNumbers = _tableInstance$option.enableRowNumbers,
|
|
6988
|
-
enableRowVirtualization = _tableInstance$option.enableRowVirtualization,
|
|
6989
6987
|
muiTableBodyCellProps = _tableInstance$option.muiTableBodyCellProps,
|
|
6990
6988
|
muiTableBodyCellSkeletonProps = _tableInstance$option.muiTableBodyCellSkeletonProps,
|
|
6991
6989
|
onMrtCellClick = _tableInstance$option.onMrtCellClick,
|
|
@@ -7066,8 +7064,7 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
7066
7064
|
tableInstance: tableInstance
|
|
7067
7065
|
});
|
|
7068
7066
|
},
|
|
7069
|
-
onDoubleClick: handleDoubleClick
|
|
7070
|
-
title: (enableRowVirtualization || enableColumnResizing) && !(columnDef != null && columnDef.Cell) && !cell.getIsGrouped() && !columnDef.enableClickToCopy && typeof cell.getValue() === 'string' ? cell.getValue() : ''
|
|
7067
|
+
onDoubleClick: handleDoubleClick
|
|
7071
7068
|
}, tableCellProps, {
|
|
7072
7069
|
ref: columnDefType === 'data' && enableColumnOrdering ? dropRef : undefined,
|
|
7073
7070
|
sx: function sx(theme) {
|
|
@@ -7081,7 +7078,7 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
7081
7078
|
pl: column.id === 'mrt-expand' ? row.depth + (isDensePadding ? 0.5 : 0.75) + "rem" : undefined,
|
|
7082
7079
|
position: column.getIsPinned() ? 'sticky' : 'relative',
|
|
7083
7080
|
right: column.getIsPinned() === 'right' ? getTotalRight() + "px" : undefined,
|
|
7084
|
-
textOverflow: 'ellipsis',
|
|
7081
|
+
textOverflow: columnDefType !== 'display' ? 'ellipsis' : undefined,
|
|
7085
7082
|
transition: 'all 0.2s ease-in-out',
|
|
7086
7083
|
whiteSpace: isDensePadding ? 'nowrap' : 'normal',
|
|
7087
7084
|
zIndex: column.getIsPinned() ? 1 : undefined,
|