material-react-table-narender 2.13.29 → 2.13.30

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.13.29",
2
+ "version": "2.13.30",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table-narender",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -309,7 +309,7 @@ export const MRT_TableHeadCell = <TData extends MRT_RowData>({
309
309
  {column.getCanSort() && (
310
310
  <MRT_TableHeadCellSortLabel header={header} table={table} />
311
311
  )}
312
- <MRT_TableHeadCellToolBar header={header} table={table} />
312
+ {/* <MRT_TableHeadCellToolBar header={header} table={table} /> */}
313
313
  </Box>
314
314
  {columnDefType !== 'group' && (
315
315
  <Box
@@ -48,6 +48,7 @@ export const MRT_ColumnActionMenu = <TData extends MRT_RowData>({
48
48
  SortIcon,
49
49
  ViewColumnIcon,
50
50
  VisibilityOffIcon,
51
+ SettingsOutlinedIcon
51
52
  },
52
53
  localization,
53
54
  mrtTheme: { menuBackgroundColor },
@@ -319,7 +320,7 @@ export const MRT_ColumnActionMenu = <TData extends MRT_RowData>({
319
320
 
320
321
  // **Newly Added Menu Item for Toolbar Visibility**
321
322
  <MRT_ActionMenuItem
322
- icon={<ViewColumnIcon />}
323
+ icon={<SettingsOutlinedIcon />}
323
324
  key={13}
324
325
  label={showToolBar ? "Hide ToolBar" : "Show ToolBar"}
325
326
  onClick={(e) => {
package/src/icons.ts CHANGED
@@ -33,6 +33,7 @@ import SyncAltIcon from '@mui/icons-material/SyncAlt';
33
33
  import ViewColumnIcon from '@mui/icons-material/ViewColumn';
34
34
  import VisibilityOffIcon from '@mui/icons-material/VisibilityOff';
35
35
  import SettingsBackupRestoreIcon from '@mui/icons-material/SettingsBackupRestore';
36
+ import SettingsOutlinedIcon from '@mui/icons-material/SettingsOutlined';
36
37
 
37
38
  export const MRT_Default_Icons = {
38
39
  ArrowDownwardIcon,
@@ -69,7 +70,8 @@ export const MRT_Default_Icons = {
69
70
  SyncAltIcon,
70
71
  ViewColumnIcon,
71
72
  VisibilityOffIcon,
72
- SettingsBackupRestoreIcon
73
+ SettingsBackupRestoreIcon,
74
+ SettingsOutlinedIcon
73
75
  } as const;
74
76
 
75
77
  export type MRT_Icons = Record<keyof typeof MRT_Default_Icons, any>;