material-react-table-narender 2.13.29 → 2.13.30
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.d.ts +3 -0
- package/dist/index.esm.js +7 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/head/MRT_TableHeadCell.tsx +1 -1
- package/src/components/menus/MRT_ColumnActionMenu.tsx +2 -1
- package/src/icons.ts +3 -1
package/package.json
CHANGED
@@ -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={<
|
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>;
|