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
|
@@ -2738,10 +2738,8 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
2738
2738
|
editingMode = _tableInstance$option.editingMode,
|
|
2739
2739
|
enableClickToCopy = _tableInstance$option.enableClickToCopy,
|
|
2740
2740
|
enableColumnOrdering = _tableInstance$option.enableColumnOrdering,
|
|
2741
|
-
enableColumnResizing = _tableInstance$option.enableColumnResizing,
|
|
2742
2741
|
enableEditing = _tableInstance$option.enableEditing,
|
|
2743
2742
|
enableRowNumbers = _tableInstance$option.enableRowNumbers,
|
|
2744
|
-
enableRowVirtualization = _tableInstance$option.enableRowVirtualization,
|
|
2745
2743
|
muiTableBodyCellProps = _tableInstance$option.muiTableBodyCellProps,
|
|
2746
2744
|
muiTableBodyCellSkeletonProps = _tableInstance$option.muiTableBodyCellSkeletonProps,
|
|
2747
2745
|
onMrtCellClick = _tableInstance$option.onMrtCellClick,
|
|
@@ -2822,8 +2820,7 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
2822
2820
|
tableInstance: tableInstance
|
|
2823
2821
|
});
|
|
2824
2822
|
},
|
|
2825
|
-
onDoubleClick: handleDoubleClick
|
|
2826
|
-
title: (enableRowVirtualization || enableColumnResizing) && !(columnDef != null && columnDef.Cell) && !cell.getIsGrouped() && !columnDef.enableClickToCopy && typeof cell.getValue() === 'string' ? cell.getValue() : ''
|
|
2823
|
+
onDoubleClick: handleDoubleClick
|
|
2827
2824
|
}, tableCellProps, {
|
|
2828
2825
|
ref: columnDefType === 'data' && enableColumnOrdering ? dropRef : undefined,
|
|
2829
2826
|
sx: function sx(theme) {
|
|
@@ -2837,7 +2834,7 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
|
|
|
2837
2834
|
pl: column.id === 'mrt-expand' ? row.depth + (isDensePadding ? 0.5 : 0.75) + "rem" : undefined,
|
|
2838
2835
|
position: column.getIsPinned() ? 'sticky' : 'relative',
|
|
2839
2836
|
right: column.getIsPinned() === 'right' ? getTotalRight() + "px" : undefined,
|
|
2840
|
-
textOverflow: 'ellipsis',
|
|
2837
|
+
textOverflow: columnDefType !== 'display' ? 'ellipsis' : undefined,
|
|
2841
2838
|
transition: 'all 0.2s ease-in-out',
|
|
2842
2839
|
whiteSpace: isDensePadding ? 'nowrap' : 'normal',
|
|
2843
2840
|
zIndex: column.getIsPinned() ? 1 : undefined,
|