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
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.9.
|
|
2
|
+
"version": "0.9.5",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "material-react-table",
|
|
5
5
|
"description": "A fully featured Material UI implementation of TanStack React Table, inspired by material-table and the MUI X DataGrid, written from the ground up in TypeScript.",
|
|
@@ -25,10 +25,8 @@ export const MRT_TableBodyCell: FC<Props> = ({
|
|
|
25
25
|
editingMode,
|
|
26
26
|
enableClickToCopy,
|
|
27
27
|
enableColumnOrdering,
|
|
28
|
-
enableColumnResizing,
|
|
29
28
|
enableEditing,
|
|
30
29
|
enableRowNumbers,
|
|
31
|
-
enableRowVirtualization,
|
|
32
30
|
muiTableBodyCellProps,
|
|
33
31
|
muiTableBodyCellSkeletonProps,
|
|
34
32
|
onMrtCellClick,
|
|
@@ -137,15 +135,6 @@ export const MRT_TableBodyCell: FC<Props> = ({
|
|
|
137
135
|
onMrtCellClick?.({ event, cell, tableInstance })
|
|
138
136
|
}
|
|
139
137
|
onDoubleClick={handleDoubleClick}
|
|
140
|
-
title={
|
|
141
|
-
(enableRowVirtualization || enableColumnResizing) &&
|
|
142
|
-
!columnDef?.Cell &&
|
|
143
|
-
!cell.getIsGrouped() &&
|
|
144
|
-
!columnDef.enableClickToCopy &&
|
|
145
|
-
typeof cell.getValue() === 'string'
|
|
146
|
-
? (cell.getValue() as string)
|
|
147
|
-
: ''
|
|
148
|
-
}
|
|
149
138
|
{...tableCellProps}
|
|
150
139
|
ref={
|
|
151
140
|
columnDefType === 'data' && enableColumnOrdering ? dropRef : undefined
|
|
@@ -179,7 +168,7 @@ export const MRT_TableBodyCell: FC<Props> = ({
|
|
|
179
168
|
position: column.getIsPinned() ? 'sticky' : 'relative',
|
|
180
169
|
right:
|
|
181
170
|
column.getIsPinned() === 'right' ? `${getTotalRight()}px` : undefined,
|
|
182
|
-
textOverflow: 'ellipsis',
|
|
171
|
+
textOverflow: columnDefType !== 'display' ? 'ellipsis' : undefined,
|
|
183
172
|
transition: 'all 0.2s ease-in-out',
|
|
184
173
|
whiteSpace: isDensePadding ? 'nowrap' : 'normal',
|
|
185
174
|
zIndex: column.getIsPinned() ? 1 : undefined,
|