material-react-table 3.0.0-rc.0 → 3.0.0

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.
@@ -89,7 +89,7 @@ const MRT_Localization_NO = {
89
89
  unpin: 'Løsne',
90
90
  unpinAll: 'Løsne alle',
91
91
  ungroupByColumn: 'Oppgrupper etter {column}',
92
- selectedCountOfRowCountRowsSelected: '{selected} av {count} rader valgt',
92
+ selectedCountOfRowCountRowsSelected: '{selectedCount} av {rowCount} rader valgt',
93
93
  };
94
94
 
95
95
  export { MRT_Localization_NO };
@@ -93,7 +93,7 @@ const MRT_Localization_NO = {
93
93
  unpin: 'Løsne',
94
94
  unpinAll: 'Løsne alle',
95
95
  ungroupByColumn: 'Oppgrupper etter {column}',
96
- selectedCountOfRowCountRowsSelected: '{selected} av {count} rader valgt',
96
+ selectedCountOfRowCountRowsSelected: '{selectedCount} av {rowCount} rader valgt',
97
97
  };
98
98
 
99
99
  exports.MRT_Localization_NO = MRT_Localization_NO;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.0-rc.0",
2
+ "version": "3.0.0",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V6 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -38,7 +38,7 @@ export const MRT_TablePaper = <TData extends MRT_RowData>({
38
38
  const theme = useTheme();
39
39
 
40
40
  return (
41
- <FocusTrap open={isFullScreen}>
41
+ <FocusTrap disableEnforceFocus open={isFullScreen}>
42
42
  <Paper
43
43
  elevation={2}
44
44
  onKeyDown={(e) => e.key === 'Escape' && table.setIsFullScreen(false)}
@@ -49,7 +49,6 @@ export const MRT_TablePagination = <TData extends MRT_RowData>({
49
49
  } = table;
50
50
  const {
51
51
  pagination: { pageIndex = 0, pageSize = 10 },
52
- showGlobalFilter,
53
52
  } = getState();
54
53
 
55
54
  const paginationProps = {
@@ -95,9 +94,7 @@ export const MRT_TablePagination = <TData extends MRT_RowData>({
95
94
  justifyContent: { md: 'space-between', sm: 'center' },
96
95
  justifySelf: 'flex-end',
97
96
  mt:
98
- position === 'top' &&
99
- enableToolbarInternalActions &&
100
- !showGlobalFilter
97
+ position === 'top' && enableToolbarInternalActions
101
98
  ? '3rem'
102
99
  : undefined,
103
100
  position: 'relative',
package/src/locales/no.ts CHANGED
@@ -93,5 +93,6 @@ export const MRT_Localization_NO: MRT_Localization = {
93
93
  unpinAll: 'Løsne alle',
94
94
 
95
95
  ungroupByColumn: 'Oppgrupper etter {column}',
96
- selectedCountOfRowCountRowsSelected: '{selected} av {count} rader valgt',
96
+ selectedCountOfRowCountRowsSelected:
97
+ '{selectedCount} av {rowCount} rader valgt',
97
98
  };