rez-table-listing-mui 2.0.2 → 2.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez-table-listing-mui",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
@@ -48,8 +48,8 @@ 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: `1px solid ${theme.palette.divider}`,
52
- borderBottom: `1px solid ${theme.palette.divider}`,
51
+ // borderTop: `0.5px solid ${theme.palette.grey[100]}`,
52
+ borderBottom: `0.5px solid ${theme.palette.grey[100]}`,
53
53
 
54
54
  ...(wrap && {
55
55
  wordBreak: "break-all",
@@ -60,7 +60,7 @@ function DraggableTableHeader<T>({
60
60
  }}
61
61
  >
62
62
  {header.isPlaceholder ? null : (
63
- <TableHeadContent>
63
+ <TableHeadContent onClick={handleHover}>
64
64
  <TableHeadSort sortable={header.column.getCanSort()}>
65
65
  {flexRender(header.column.columnDef.header, header.getContext())}
66
66
  </TableHeadSort>
@@ -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[100],
86
+ : theme.palette.grey[50],
87
87
  }));
88
88
 
89
89
  export const TableHeadCell = styled("th", {
@@ -97,7 +97,7 @@ export const TableHeadCell = styled("th", {
97
97
  }>(({ theme, compact, isDragging, isPinned, sticky }) => ({
98
98
  position: "relative",
99
99
  padding: compact ? theme.spacing(0.375, 0.675) : theme.spacing(0.75, 1),
100
- border: `0.5px solid ${theme.palette.grey[300]}`,
100
+ border: `0.5px solid ${theme.palette.grey[100]}`,
101
101
  cursor: "pointer",
102
102
  backgroundColor: theme.palette.common.white,
103
103
  userSelect: "none",
@@ -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,