material-react-table 0.30.0 → 0.30.1

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,5 +1,5 @@
1
1
  {
2
- "version": "0.30.0",
2
+ "version": "0.30.1",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
package/src/index.tsx CHANGED
@@ -1,3 +1,9 @@
1
1
  import MaterialReactTable from './MaterialReactTable';
2
2
  export default MaterialReactTable;
3
3
  export * from './MaterialReactTable';
4
+
5
+ import type { MRT_Icons } from './icons';
6
+ export type { MRT_Icons };
7
+
8
+ import type { MRT_Localization } from './localization';
9
+ export type { MRT_Localization };
@@ -100,7 +100,7 @@ export const MRT_ColumnActionMenu: FC<Props> = ({
100
100
 
101
101
  const handleGroupByColumn = () => {
102
102
  column.toggleGrouping();
103
- setColumnOrder((old) => ['mrt-row-expand', ...old]);
103
+ setColumnOrder((old: any) => ['mrt-row-expand', ...old]);
104
104
  setAnchorEl(null);
105
105
  };
106
106
 
@@ -186,7 +186,7 @@ export const MRT_ColumnActionMenu: FC<Props> = ({
186
186
  >
187
187
  <Box sx={commonListItemStyles}>
188
188
  <ListItemIcon>
189
- <SortIcon />
189
+ <SortIcon style={{ transform: 'rotate(180deg) scaleX(-1)' }} />
190
190
  </ListItemIcon>
191
191
  {localization.sortByColumnAsc?.replace(
192
192
  '{column}',
@@ -203,7 +203,7 @@ export const MRT_ColumnActionMenu: FC<Props> = ({
203
203
  >
204
204
  <Box sx={commonListItemStyles}>
205
205
  <ListItemIcon>
206
- <SortIcon style={{ transform: 'rotate(180deg) scaleX(-1)' }} />
206
+ <SortIcon />
207
207
  </ListItemIcon>
208
208
  {localization.sortByColumnDesc?.replace(
209
209
  '{column}',