material-react-table 2.12.0 → 2.13.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.
@@ -0,0 +1,96 @@
1
+ import { type MRT_Localization } from '..';
2
+
3
+ export const MRT_Localization_HR: MRT_Localization = {
4
+ actions: 'Radnje',
5
+ and: 'i',
6
+ cancel: 'Odustani',
7
+ changeFilterMode: 'Promijeni način filtriranja',
8
+ changeSearchMode: 'Promijeni način pretraživanja',
9
+ clearFilter: 'Očisti filtriranje',
10
+ clearSearch: 'Očisti pretragu',
11
+ clearSelection: 'Očisti odabir',
12
+ clearSort: 'Očisti sortiranje',
13
+ clickToCopy: 'Klikni za kopiranje',
14
+ copy: 'Kopiraj',
15
+ collapse: 'Sažmi',
16
+ collapseAll: 'Sažmi sve',
17
+ columnActions: 'Radnje s stupcima',
18
+ copiedToClipboard: 'Kopirano u međuspremnik',
19
+ dropToGroupBy: 'Ispusti za grupiranje po {column}',
20
+ edit: 'Uredi',
21
+ expand: 'Proširi',
22
+ expandAll: 'Proširi sve',
23
+ filterArrIncludes: 'Uključuje',
24
+ filterArrIncludesAll: 'Uključuje sve',
25
+ filterArrIncludesSome: 'Uključuje',
26
+ filterBetween: 'Između',
27
+ filterBetweenInclusive: 'Između uključivo',
28
+ filterByColumn: 'Filtriraj po {column}',
29
+ filterContains: 'Sadrži',
30
+ filterEmpty: 'Prazno',
31
+ filterEndsWith: 'Završava s',
32
+ filterEquals: 'Jednako',
33
+ filterEqualsString: 'Jednako',
34
+ filterFuzzy: 'Maglovito',
35
+ filterGreaterThan: 'Veće od',
36
+ filterGreaterThanOrEqualTo: 'Veće od ili jednako',
37
+ filterInNumberRange: 'Između',
38
+ filterIncludesString: 'Sadrži',
39
+ filterIncludesStringSensitive: 'Sadrži',
40
+ filterLessThan: 'Manje od',
41
+ filterLessThanOrEqualTo: 'Manje od ili jednako',
42
+ filterMode: 'Način filtriranja: {filterType}',
43
+ filterNotEmpty: 'Nije prazno',
44
+ filterNotEquals: 'Nije jednako',
45
+ filterStartsWith: 'Počinje s',
46
+ filterWeakEquals: 'Jednako',
47
+ filteringByColumn: 'Filtriranje po {column} - {filterType} {filterValue}',
48
+ goToFirstPage: 'Idi na prvu stranicu',
49
+ goToLastPage: 'Idi na zadnju stranicu',
50
+ goToNextPage: 'Idi na sljedeću stranicu',
51
+ goToPreviousPage: 'Idi na prethodnu stranicu',
52
+ grab: 'Uhvati',
53
+ groupByColumn: 'Grupiraj po {column}',
54
+ groupedBy: 'Grupirano po ',
55
+ hideAll: 'Sakrij sve',
56
+ hideColumn: 'Sakrij stupac {column}',
57
+ max: 'Maks.',
58
+ min: 'Min.',
59
+ move: 'Premjesti',
60
+ noRecordsToDisplay: 'Nema zapisa za prikaz',
61
+ noResultsFound: 'Nema pronađenih rezultata',
62
+ of: 'od',
63
+ or: 'ili',
64
+ pin: 'Prikači',
65
+ pinToLeft: 'Prikači na lijevo',
66
+ pinToRight: 'Prikači na desno',
67
+ resetColumnSize: 'Resetiraj veličinu stupca',
68
+ resetOrder: 'Resetiraj redoslijed',
69
+ rowActions: 'Radnje retka',
70
+ rowNumber: '#',
71
+ rowNumbers: 'Brojevi redaka',
72
+ rowsPerPage: 'Redaka po stranici',
73
+ save: 'Spremi',
74
+ search: 'Pretraži',
75
+ selectedCountOfRowCountRowsSelected:
76
+ '{selectedCount} od {rowCount} odabranih redaka',
77
+ select: 'Odaberi',
78
+ showAll: 'Prikaži sve',
79
+ showAllColumns: 'Prikaži sve stupce',
80
+ showHideColumns: 'Prikaži/sakrij stupce',
81
+ showHideFilters: 'Prikaži/sakrij filtere',
82
+ showHideSearch: 'Prikaži/sakrij pretragu',
83
+ sortByColumnAsc: 'Sortiraj po {column} uzlazno',
84
+ sortByColumnDesc: 'Sortiraj po {column} silazno',
85
+ sortedByColumnAsc: 'Sortirano po {column} uzlazno',
86
+ sortedByColumnDesc: 'Sortirano po {column} silazno',
87
+ thenBy: ', zatim po ',
88
+ toggleDensity: 'Promijeni gustoću',
89
+ toggleFullScreen: 'Prebaci u puni zaslon',
90
+ toggleSelectAll: 'Prebaci odabir svih',
91
+ toggleSelectRow: 'Prebaci odabir retka',
92
+ toggleVisibility: 'Prebaci vidljivost',
93
+ ungroupByColumn: 'Razgrupiraj po {column}',
94
+ unpin: 'Odkači',
95
+ unpinAll: 'Odkači sve',
96
+ };
package/src/locales/pl.ts CHANGED
@@ -57,7 +57,7 @@ export const MRT_Localization_PL: MRT_Localization = {
57
57
  max: 'Maks.',
58
58
  min: 'Min.',
59
59
  move: 'Przenieś',
60
- noRecordsToDisplay: 'Brak rekordów do wyświetlenia',
60
+ noRecordsToDisplay: 'Brak wyników do wyświetlenia',
61
61
  noResultsFound: 'Brak wyników',
62
62
  of: 'z',
63
63
  or: 'lub',
@@ -68,12 +68,12 @@ export const MRT_Localization_PL: MRT_Localization = {
68
68
  resetOrder: 'Resetuj kolejność',
69
69
  rowActions: 'Akcje dla rekordu',
70
70
  rowNumber: '#',
71
- rowNumbers: 'Liczba rekordów',
72
- rowsPerPage: 'Rekordów na stronę',
71
+ rowNumbers: 'Liczba wyników',
72
+ rowsPerPage: 'Wyników na stronę',
73
73
  save: 'Zapisz',
74
74
  search: 'Szukaj',
75
75
  selectedCountOfRowCountRowsSelected:
76
- 'Wybrano {selectedCount} z {rowCount} rekordów',
76
+ 'Wybrano {selectedCount} z {rowCount} wyników',
77
77
  select: 'Wybierz',
78
78
  showAll: 'Pokaż wszystko',
79
79
  showAllColumns: 'Pokaż wszystkie kolumny',
@@ -85,7 +85,7 @@ export const MRT_Localization_PL: MRT_Localization = {
85
85
  sortedByColumnAsc: 'Sortuj wg {column} rosnąco',
86
86
  sortedByColumnDesc: 'Sortuj wg {column} malejąco',
87
87
  thenBy: ', następnie wg ',
88
- toggleDensity: 'Przełącz gęstość rekordów',
88
+ toggleDensity: 'Przełącz gęstość wyników',
89
89
  toggleFullScreen: 'Tryb pełnoekranowy',
90
90
  toggleSelectAll: 'Zaznacz wszystkie',
91
91
  toggleSelectRow: 'Zaznacz rekord',
package/src/types.ts CHANGED
@@ -605,15 +605,15 @@ export type MRT_ColumnDef<TData extends MRT_RowData, TValue = unknown> = Omit<
605
605
  column: MRT_Column<TData>;
606
606
  rangeFilterIndex?: number;
607
607
  table: MRT_TableInstance<TData>;
608
- }) => DatePickerProps<any>)
609
- | DatePickerProps<any>;
608
+ }) => DatePickerProps<never>)
609
+ | DatePickerProps<never>;
610
610
  muiFilterDateTimePickerProps?:
611
611
  | ((props: {
612
612
  column: MRT_Column<TData>;
613
613
  rangeFilterIndex?: number;
614
614
  table: MRT_TableInstance<TData>;
615
- }) => DateTimePickerProps<any>)
616
- | DateTimePickerProps<any>;
615
+ }) => DateTimePickerProps<never>)
616
+ | DateTimePickerProps<never>;
617
617
  muiFilterSliderProps?:
618
618
  | ((props: {
619
619
  column: MRT_Column<TData>;
@@ -632,8 +632,8 @@ export type MRT_ColumnDef<TData extends MRT_RowData, TValue = unknown> = Omit<
632
632
  column: MRT_Column<TData>;
633
633
  rangeFilterIndex?: number;
634
634
  table: MRT_TableInstance<TData>;
635
- }) => TimePickerProps<any>)
636
- | TimePickerProps<any>;
635
+ }) => TimePickerProps<never>)
636
+ | TimePickerProps<never>;
637
637
  muiTableBodyCellProps?:
638
638
  | ((props: {
639
639
  cell: MRT_Cell<TData, TValue>;
@@ -998,15 +998,15 @@ export type MRT_TableOptions<TData extends MRT_RowData> = Omit<
998
998
  column: MRT_Column<TData>;
999
999
  rangeFilterIndex?: number;
1000
1000
  table: MRT_TableInstance<TData>;
1001
- }) => DatePickerProps<any>)
1002
- | DatePickerProps<any>;
1001
+ }) => DatePickerProps<never>)
1002
+ | DatePickerProps<never>;
1003
1003
  muiFilterDateTimePickerProps?:
1004
1004
  | ((props: {
1005
1005
  column: MRT_Column<TData>;
1006
1006
  rangeFilterIndex?: number;
1007
1007
  table: MRT_TableInstance<TData>;
1008
- }) => DateTimePickerProps<any>)
1009
- | DateTimePickerProps<any>;
1008
+ }) => DateTimePickerProps<never>)
1009
+ | DateTimePickerProps<never>;
1010
1010
  muiFilterSliderProps?:
1011
1011
  | ((props: {
1012
1012
  column: MRT_Column<TData>;
@@ -1025,8 +1025,8 @@ export type MRT_TableOptions<TData extends MRT_RowData> = Omit<
1025
1025
  column: MRT_Column<TData>;
1026
1026
  rangeFilterIndex?: number;
1027
1027
  table: MRT_TableInstance<TData>;
1028
- }) => TimePickerProps<any>)
1029
- | TimePickerProps<any>;
1028
+ }) => TimePickerProps<never>)
1029
+ | TimePickerProps<never>;
1030
1030
  muiLinearProgressProps?:
1031
1031
  | ((props: {
1032
1032
  isTopToolbar: boolean;
@@ -1267,7 +1267,6 @@ export type MRT_TableOptions<TData extends MRT_RowData> = Omit<
1267
1267
  renderTopToolbarCustomActions?: (props: {
1268
1268
  table: MRT_TableInstance<TData>;
1269
1269
  }) => ReactNode;
1270
- rowCount?: number;
1271
1270
  rowNumberDisplayMode?: 'original' | 'static';
1272
1271
  rowPinningDisplayMode?:
1273
1272
  | 'bottom'