rez-table-listing-mui 2.0.3 → 2.0.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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/listing/components/table-body/table-body.styles.ts +1 -1
- package/src/listing/components/table-head/table-head-dnd-cell.tsx +0 -1
- package/src/listing/components/table-head/table-head.styles.ts +1 -1
- package/src/listing/components/table-head/table-head.tsx +1 -2
- package/src/view/ListingView.tsx +1 -1
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@ export const TableBodyCell = styled("td", {
|
|
|
48
48
|
}>(({ theme, compact, isDragging, wrap }) => ({
|
|
49
49
|
fontSize: theme.typography.pxToRem(14),
|
|
50
50
|
padding: compact ? theme.spacing(0.25, 0.5) : theme.spacing(0.5, 1),
|
|
51
|
-
borderTop: `0.5px solid ${theme.palette.grey[100]}`,
|
|
51
|
+
// borderTop: `0.5px solid ${theme.palette.grey[100]}`,
|
|
52
52
|
borderBottom: `0.5px solid ${theme.palette.grey[100]}`,
|
|
53
53
|
|
|
54
54
|
...(wrap && {
|
|
@@ -83,7 +83,7 @@ export const TableHeadRow = styled("tr", {
|
|
|
83
83
|
})<{ striped?: boolean }>(({ theme, striped }) => ({
|
|
84
84
|
backgroundColor: striped
|
|
85
85
|
? theme.palette.common.white
|
|
86
|
-
: theme.palette.grey[
|
|
86
|
+
: theme.palette.grey[50],
|
|
87
87
|
}));
|
|
88
88
|
|
|
89
89
|
export const TableHeadCell = styled("th", {
|
|
@@ -97,7 +97,6 @@ function TableHead<T>({
|
|
|
97
97
|
key={header?.id}
|
|
98
98
|
colSpan={header.colSpan}
|
|
99
99
|
compact={featureOptions.compactTable}
|
|
100
|
-
onClick={handleHover}
|
|
101
100
|
style={{
|
|
102
101
|
...getColumnPinningStyles(header.column),
|
|
103
102
|
width: `${header.column.getSize()}px`,
|
|
@@ -106,7 +105,7 @@ function TableHead<T>({
|
|
|
106
105
|
}}
|
|
107
106
|
>
|
|
108
107
|
{header.isPlaceholder ? null : (
|
|
109
|
-
<TableHeadContent>
|
|
108
|
+
<TableHeadContent onClick={handleHover}>
|
|
110
109
|
<TableHeadSort sortable={header.column.getCanSort()}>
|
|
111
110
|
{flexRender(
|
|
112
111
|
header.column.columnDef.header,
|
package/src/view/ListingView.tsx
CHANGED
|
@@ -399,7 +399,7 @@ function ListingView() {
|
|
|
399
399
|
filterSettingStates={filterSettingStates}
|
|
400
400
|
onSaveSettings={handleSaveSettings}
|
|
401
401
|
featureOptions={{
|
|
402
|
-
striped: true,
|
|
402
|
+
// striped: true,
|
|
403
403
|
compactTable: false,
|
|
404
404
|
enableSorting: !enableServerSideSorting,
|
|
405
405
|
enableColumnReordering: true,
|