material-react-table 2.0.1 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/dist/index.esm.js +5 -5
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +5 -5
  4. package/dist/index.js.map +1 -1
  5. package/dist/types/MaterialReactTable.d.ts +7 -0
  6. package/dist/types/aggregationFns.d.ts +11 -0
  7. package/dist/types/body/MRT_TableBody.d.ts +13 -0
  8. package/dist/types/body/MRT_TableBodyCell.d.ts +15 -0
  9. package/dist/types/body/MRT_TableBodyCellValue.d.ts +8 -0
  10. package/dist/types/body/MRT_TableBodyRow.d.ts +18 -0
  11. package/dist/types/body/MRT_TableBodyRowGrabHandle.d.ts +10 -0
  12. package/dist/types/body/MRT_TableBodyRowPinButton.d.ts +8 -0
  13. package/dist/types/body/MRT_TableDetailPanel.d.ts +13 -0
  14. package/dist/types/body/index.d.ts +7 -0
  15. package/dist/types/buttons/MRT_ColumnPinningButtons.d.ts +8 -0
  16. package/dist/types/buttons/MRT_CopyButton.d.ts +8 -0
  17. package/dist/types/buttons/MRT_EditActionButtons.d.ts +9 -0
  18. package/dist/types/buttons/MRT_ExpandAllButton.d.ts +7 -0
  19. package/dist/types/buttons/MRT_ExpandButton.d.ts +8 -0
  20. package/dist/types/buttons/MRT_GrabHandleButton.d.ts +12 -0
  21. package/dist/types/buttons/MRT_RowPinButton.d.ts +10 -0
  22. package/dist/types/buttons/MRT_ShowHideColumnsButton.d.ts +7 -0
  23. package/dist/types/buttons/MRT_ToggleDensePaddingButton.d.ts +7 -0
  24. package/dist/types/buttons/MRT_ToggleFiltersButton.d.ts +7 -0
  25. package/dist/types/buttons/MRT_ToggleFullScreenButton.d.ts +7 -0
  26. package/dist/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +7 -0
  27. package/dist/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +9 -0
  28. package/dist/types/buttons/index.d.ts +13 -0
  29. package/dist/types/column.utils.d.ts +127 -0
  30. package/dist/types/filterFns.d.ts +69 -0
  31. package/dist/types/footer/MRT_TableFooter.d.ts +11 -0
  32. package/dist/types/footer/MRT_TableFooterCell.d.ts +8 -0
  33. package/dist/types/footer/MRT_TableFooterRow.d.ts +12 -0
  34. package/dist/types/footer/index.d.ts +3 -0
  35. package/dist/types/head/MRT_TableHead.d.ts +11 -0
  36. package/dist/types/head/MRT_TableHeadCell.d.ts +8 -0
  37. package/dist/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +8 -0
  38. package/dist/types/head/MRT_TableHeadCellFilterContainer.d.ts +8 -0
  39. package/dist/types/head/MRT_TableHeadCellFilterLabel.d.ts +8 -0
  40. package/dist/types/head/MRT_TableHeadCellGrabHandle.d.ts +10 -0
  41. package/dist/types/head/MRT_TableHeadCellResizeHandle.d.ts +8 -0
  42. package/dist/types/head/MRT_TableHeadCellSortLabel.d.ts +8 -0
  43. package/dist/types/head/MRT_TableHeadRow.d.ts +12 -0
  44. package/dist/types/head/index.d.ts +9 -0
  45. package/dist/types/hooks/index.d.ts +4 -0
  46. package/dist/types/hooks/useMRT_DisplayColumns.d.ts +9 -0
  47. package/dist/types/hooks/useMRT_Effects.d.ts +2 -0
  48. package/dist/types/hooks/useMRT_TableInstance.d.ts +2 -0
  49. package/dist/types/hooks/useMRT_TableOptions.d.ts +22 -0
  50. package/dist/types/icons.d.ts +36 -0
  51. package/dist/types/index.d.ts +18 -0
  52. package/dist/types/inputs/MRT_EditCellTextField.d.ts +8 -0
  53. package/dist/types/inputs/MRT_FilterCheckbox.d.ts +8 -0
  54. package/dist/types/inputs/MRT_FilterRangeFields.d.ts +8 -0
  55. package/dist/types/inputs/MRT_FilterRangeSlider.d.ts +8 -0
  56. package/dist/types/inputs/MRT_FilterTextField.d.ts +9 -0
  57. package/dist/types/inputs/MRT_GlobalFilterTextField.d.ts +7 -0
  58. package/dist/types/inputs/MRT_SelectCheckbox.d.ts +9 -0
  59. package/dist/types/inputs/index.d.ts +7 -0
  60. package/dist/types/locales/am.d.ts +2 -0
  61. package/dist/types/locales/ar.d.ts +2 -0
  62. package/dist/types/locales/az.d.ts +2 -0
  63. package/dist/types/locales/bg.d.ts +2 -0
  64. package/dist/types/locales/cs.d.ts +2 -0
  65. package/dist/types/locales/da.d.ts +2 -0
  66. package/dist/types/locales/de.d.ts +2 -0
  67. package/dist/types/locales/en.d.ts +2 -0
  68. package/dist/types/locales/es.d.ts +2 -0
  69. package/dist/types/locales/et.d.ts +2 -0
  70. package/dist/types/locales/fa.d.ts +2 -0
  71. package/dist/types/locales/fi.d.ts +2 -0
  72. package/dist/types/locales/fr.d.ts +2 -0
  73. package/dist/types/locales/hu.d.ts +2 -0
  74. package/dist/types/locales/hy.d.ts +2 -0
  75. package/dist/types/locales/id.d.ts +2 -0
  76. package/dist/types/locales/it.d.ts +2 -0
  77. package/dist/types/locales/ja.d.ts +2 -0
  78. package/dist/types/locales/ko.d.ts +2 -0
  79. package/dist/types/locales/nl.d.ts +2 -0
  80. package/dist/types/locales/no.d.ts +2 -0
  81. package/dist/types/locales/np.d.ts +2 -0
  82. package/dist/types/locales/pl.d.ts +2 -0
  83. package/dist/types/locales/pt-BR.d.ts +2 -0
  84. package/dist/types/locales/pt.d.ts +2 -0
  85. package/dist/types/locales/ro.d.ts +2 -0
  86. package/dist/types/locales/ru.d.ts +2 -0
  87. package/dist/types/locales/sk.d.ts +2 -0
  88. package/dist/types/locales/sr-Cyrl-RS.d.ts +2 -0
  89. package/dist/types/locales/sr-Latn-RS.d.ts +2 -0
  90. package/dist/types/locales/sv.d.ts +2 -0
  91. package/dist/types/locales/tr.d.ts +2 -0
  92. package/dist/types/locales/uk.d.ts +2 -0
  93. package/dist/types/locales/vi.d.ts +2 -0
  94. package/dist/types/locales/zh-Hans.d.ts +2 -0
  95. package/dist/types/locales/zh-Hant.d.ts +2 -0
  96. package/dist/types/menus/MRT_ColumnActionMenu.d.ts +20 -0
  97. package/dist/types/menus/MRT_FilterOptionMenu.d.ts +13 -0
  98. package/dist/types/menus/MRT_RowActionMenu.d.ts +12 -0
  99. package/dist/types/menus/MRT_ShowHideColumnsMenu.d.ts +10 -0
  100. package/dist/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +12 -0
  101. package/dist/types/menus/index.d.ts +5 -0
  102. package/dist/types/modals/MRT_EditRowModal.d.ts +8 -0
  103. package/dist/types/modals/index.d.ts +1 -0
  104. package/dist/types/sortingFns.d.ts +12 -0
  105. package/dist/types/style.utils.d.ts +32 -0
  106. package/dist/types/table/MRT_Table.d.ts +7 -0
  107. package/dist/types/table/MRT_TableContainer.d.ts +7 -0
  108. package/dist/types/table/MRT_TableLoadingOverlay.d.ts +7 -0
  109. package/dist/types/table/MRT_TablePaper.d.ts +7 -0
  110. package/dist/types/table/index.d.ts +5 -0
  111. package/dist/types/toolbar/MRT_BottomToolbar.d.ts +7 -0
  112. package/dist/types/toolbar/MRT_LinearProgressBar.d.ts +8 -0
  113. package/dist/types/toolbar/MRT_TablePagination.d.ts +11 -0
  114. package/dist/types/toolbar/MRT_ToolbarAlertBanner.d.ts +8 -0
  115. package/dist/types/toolbar/MRT_ToolbarDropZone.d.ts +7 -0
  116. package/dist/types/toolbar/MRT_ToolbarInternalButtons.d.ts +7 -0
  117. package/dist/types/toolbar/MRT_TopToolbar.d.ts +6 -0
  118. package/dist/types/toolbar/index.d.ts +7 -0
  119. package/dist/types/types.d.ts +844 -0
  120. package/dist/types/useMaterialReactTable.d.ts +2 -0
  121. package/locales/am/index.d.ts +3 -0
  122. package/locales/am/index.esm.d.ts +3 -0
  123. package/locales/am/index.esm.js +93 -0
  124. package/locales/am/index.js +97 -0
  125. package/locales/am/package.json +6 -0
  126. package/locales/ar/index.esm.js +3 -3
  127. package/locales/ar/index.js +3 -3
  128. package/locales/zh-Hans/index.esm.js +2 -2
  129. package/locales/zh-Hans/index.js +2 -2
  130. package/package.json +19 -19
  131. package/src/buttons/MRT_GrabHandleButton.tsx +1 -0
  132. package/src/head/MRT_TableHeadCellFilterLabel.tsx +2 -2
  133. package/src/locales/am.ts +94 -0
  134. package/src/locales/ar.ts +3 -3
  135. package/src/locales/zh-Hans.ts +2 -2
@@ -0,0 +1,2 @@
1
+ import { type MRT_RowData, type MRT_TableInstance, type MRT_TableOptions } from './types';
2
+ export declare const useMaterialReactTable: <TData extends MRT_RowData>(tableOptions: MRT_TableOptions<TData>) => MRT_TableInstance<TData>;
@@ -0,0 +1,3 @@
1
+ import { type MRT_Localization } from '../..';
2
+ export declare const MRT_Localization_AM: MRT_Localization;
3
+
@@ -0,0 +1,3 @@
1
+ import { type MRT_Localization } from '../..';
2
+ export declare const MRT_Localization_AM: MRT_Localization;
3
+
@@ -0,0 +1,93 @@
1
+ const MRT_Localization_AM = {
2
+ actions: 'እግር',
3
+ and: 'እና',
4
+ cancel: 'ሰርዝ',
5
+ changeFilterMode: 'በማጣጣት የተቋቋኸውን ይቀይር',
6
+ changeSearchMode: 'በደጋገሚ የተጠቀሰከውን ይቀይር',
7
+ clearFilter: 'ተጠናቀቁ',
8
+ clearSearch: 'የይላላ ግባብውን ይሰርዝ',
9
+ clearSort: 'የማጣጣትውን ይሰረዝ',
10
+ clickToCopy: 'ከሁሉም ተዘጋጅላቸው ይከፍሉ',
11
+ collapse: 'ርክበ',
12
+ collapseAll: 'ሁሉንም ርክበ',
13
+ columnActions: 'ሁሉንም ማጠናከሪያዎች',
14
+ copiedToClipboard: 'የተቀደሰውን ብለን ይከፈሉ',
15
+ dropToGroupBy: 'ለ{column} የቡና ቦታ ወደጥዋት ይዘገቡ',
16
+ edit: 'አስተካክ',
17
+ expand: 'ጠቀሱ',
18
+ expandAll: 'ሁሉንም ጠቀሱ',
19
+ filterArrIncludes: 'አካሉን አስፈልጎ',
20
+ filterArrIncludesAll: 'አካሉን ሁሉንም አስፈልጎ',
21
+ filterArrIncludesSome: 'አካሉን ያለሁሉን አስፈልጎ',
22
+ filterBetween: 'እና',
23
+ filterBetweenInclusive: 'እና',
24
+ filterByColumn: '{column} በአካል ማጣጣት',
25
+ filterContains: 'የነሀበቱ አካል',
26
+ filterEmpty: 'ትናት የለው',
27
+ filterEndsWith: 'የመጨረሻው እብዎች',
28
+ filterEquals: 'ከተማ',
29
+ filterEqualsString: 'ከተማ',
30
+ filterFuzzy: 'አስተናገር',
31
+ filterGreaterThan: 'ድጋሜ',
32
+ filterGreaterThanOrEqualTo: 'ድጋሜ ወይስ ትናት',
33
+ filterInNumberRange: 'እና',
34
+ filterIncludesString: 'አካሉን አስፈልጎ',
35
+ filterIncludesStringSensitive: 'አካሉን አስፈልጎ',
36
+ filterLessThan: 'ትናት',
37
+ filterLessThanOrEqualTo: 'ትናት ወይስ ድጋሜ',
38
+ filterMode: 'የቡና አካል: {filterType}',
39
+ filterNotEmpty: 'ከለዎ',
40
+ filterNotEquals: 'ከተማ የለው',
41
+ filterStartsWith: 'የመጀሳው እብዎች',
42
+ filterWeakEquals: 'ከተማ',
43
+ filteringByColumn: '{column} በማጣጣት - {filterType} {filterValue}',
44
+ goToFirstPage: 'ወደ መመለሻ ገጽ ይሂዱ',
45
+ goToLastPage: 'ወደ መጨረሻ ገጽ ይሂዱ',
46
+ goToNextPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
47
+ goToPreviousPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
48
+ grab: 'ቆይ',
49
+ groupByColumn: '{column} ቡና',
50
+ groupedBy: 'ቡና ቦታ ',
51
+ hideAll: 'ሁሉንም ደገን',
52
+ hideColumn: '{column} አካልን ደገን',
53
+ max: 'ከፍተኛ',
54
+ min: 'ከሚካሄዱ',
55
+ move: 'እርምጃ',
56
+ noRecordsToDisplay: 'ምንም የተለየም አልነበረም',
57
+ noResultsFound: 'ምንም አልተገኘም',
58
+ of: 'ከ',
59
+ or: 'ወይም',
60
+ pin: 'ቀዝቃኛ',
61
+ pinToLeft: 'ወደ ግራ ቀዝቃኛ',
62
+ pinToRight: 'ወደ ቀኝ ቀዝቃኛ',
63
+ resetColumnSize: 'አካል መልክ ይስጥ',
64
+ resetOrder: 'ማጣጣት ይስጥ',
65
+ rowActions: 'ከሚከባቡ ማጠናከሪያዎች',
66
+ rowNumber: '#',
67
+ rowNumbers: 'የስም ቁጥሮች',
68
+ rowsPerPage: 'በገቢ የቁጥር ቁጥሮች',
69
+ save: 'አስቀምጥ',
70
+ search: 'ፈልግ',
71
+ selectedCountOfRowCountRowsSelected: 'የ{rowCount} ቁጥሮች ውስጠ የ{selectedCount} ሁኔ አምስቱ ቁጥሮች',
72
+ select: 'ይምረጡ',
73
+ showAll: 'ሁሉንም አሳ',
74
+ showAllColumns: 'ሁሉንም አሳ',
75
+ showHideColumns: 'ማጋጣሚዎችን አሳ/ሲክም',
76
+ showHideFilters: 'ማጣጣዎችን አሳ/ሲክም',
77
+ showHideSearch: 'ፍለጎችን አሳ/ሲክም',
78
+ sortByColumnAsc: '{column} በለዋሉ ማጣጣት',
79
+ sortByColumnDesc: '{column} በታዋሉ ማጣጣት',
80
+ sortedByColumnAsc: '{column} በለዋሉ ነቀላዋሉ',
81
+ sortedByColumnDesc: '{column} በታዋሉ ነቀላዋሉ',
82
+ thenBy: 'እና',
83
+ toggleDensity: 'ባዝላምውን አሳ/ሲክም',
84
+ toggleFullScreen: 'የሙሉ ማሳያ አሳ/ሲክም',
85
+ toggleSelectAll: 'ሁሉንም ይምረጡ/ይላል',
86
+ toggleSelectRow: 'ቁጥሮችን ይምረጡ/ይላል',
87
+ toggleVisibility: 'አሳ/ሲክም',
88
+ ungroupByColumn: 'ቡና ማጣጣት ይከፍሉ',
89
+ unpin: 'ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
90
+ unpinAll: 'ሁሉንም ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
91
+ };
92
+
93
+ export { MRT_Localization_AM };
@@ -0,0 +1,97 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const MRT_Localization_AM = {
6
+ actions: 'እግር',
7
+ and: 'እና',
8
+ cancel: 'ሰርዝ',
9
+ changeFilterMode: 'በማጣጣት የተቋቋኸውን ይቀይር',
10
+ changeSearchMode: 'በደጋገሚ የተጠቀሰከውን ይቀይር',
11
+ clearFilter: 'ተጠናቀቁ',
12
+ clearSearch: 'የይላላ ግባብውን ይሰርዝ',
13
+ clearSort: 'የማጣጣትውን ይሰረዝ',
14
+ clickToCopy: 'ከሁሉም ተዘጋጅላቸው ይከፍሉ',
15
+ collapse: 'ርክበ',
16
+ collapseAll: 'ሁሉንም ርክበ',
17
+ columnActions: 'ሁሉንም ማጠናከሪያዎች',
18
+ copiedToClipboard: 'የተቀደሰውን ብለን ይከፈሉ',
19
+ dropToGroupBy: 'ለ{column} የቡና ቦታ ወደጥዋት ይዘገቡ',
20
+ edit: 'አስተካክ',
21
+ expand: 'ጠቀሱ',
22
+ expandAll: 'ሁሉንም ጠቀሱ',
23
+ filterArrIncludes: 'አካሉን አስፈልጎ',
24
+ filterArrIncludesAll: 'አካሉን ሁሉንም አስፈልጎ',
25
+ filterArrIncludesSome: 'አካሉን ያለሁሉን አስፈልጎ',
26
+ filterBetween: 'እና',
27
+ filterBetweenInclusive: 'እና',
28
+ filterByColumn: '{column} በአካል ማጣጣት',
29
+ filterContains: 'የነሀበቱ አካል',
30
+ filterEmpty: 'ትናት የለው',
31
+ filterEndsWith: 'የመጨረሻው እብዎች',
32
+ filterEquals: 'ከተማ',
33
+ filterEqualsString: 'ከተማ',
34
+ filterFuzzy: 'አስተናገር',
35
+ filterGreaterThan: 'ድጋሜ',
36
+ filterGreaterThanOrEqualTo: 'ድጋሜ ወይስ ትናት',
37
+ filterInNumberRange: 'እና',
38
+ filterIncludesString: 'አካሉን አስፈልጎ',
39
+ filterIncludesStringSensitive: 'አካሉን አስፈልጎ',
40
+ filterLessThan: 'ትናት',
41
+ filterLessThanOrEqualTo: 'ትናት ወይስ ድጋሜ',
42
+ filterMode: 'የቡና አካል: {filterType}',
43
+ filterNotEmpty: 'ከለዎ',
44
+ filterNotEquals: 'ከተማ የለው',
45
+ filterStartsWith: 'የመጀሳው እብዎች',
46
+ filterWeakEquals: 'ከተማ',
47
+ filteringByColumn: '{column} በማጣጣት - {filterType} {filterValue}',
48
+ goToFirstPage: 'ወደ መመለሻ ገጽ ይሂዱ',
49
+ goToLastPage: 'ወደ መጨረሻ ገጽ ይሂዱ',
50
+ goToNextPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
51
+ goToPreviousPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
52
+ grab: 'ቆይ',
53
+ groupByColumn: '{column} ቡና',
54
+ groupedBy: 'ቡና ቦታ ',
55
+ hideAll: 'ሁሉንም ደገን',
56
+ hideColumn: '{column} አካልን ደገን',
57
+ max: 'ከፍተኛ',
58
+ min: 'ከሚካሄዱ',
59
+ move: 'እርምጃ',
60
+ noRecordsToDisplay: 'ምንም የተለየም አልነበረም',
61
+ noResultsFound: 'ምንም አልተገኘም',
62
+ of: 'ከ',
63
+ or: 'ወይም',
64
+ pin: 'ቀዝቃኛ',
65
+ pinToLeft: 'ወደ ግራ ቀዝቃኛ',
66
+ pinToRight: 'ወደ ቀኝ ቀዝቃኛ',
67
+ resetColumnSize: 'አካል መልክ ይስጥ',
68
+ resetOrder: 'ማጣጣት ይስጥ',
69
+ rowActions: 'ከሚከባቡ ማጠናከሪያዎች',
70
+ rowNumber: '#',
71
+ rowNumbers: 'የስም ቁጥሮች',
72
+ rowsPerPage: 'በገቢ የቁጥር ቁጥሮች',
73
+ save: 'አስቀምጥ',
74
+ search: 'ፈልግ',
75
+ selectedCountOfRowCountRowsSelected: 'የ{rowCount} ቁጥሮች ውስጠ የ{selectedCount} ሁኔ አምስቱ ቁጥሮች',
76
+ select: 'ይምረጡ',
77
+ showAll: 'ሁሉንም አሳ',
78
+ showAllColumns: 'ሁሉንም አሳ',
79
+ showHideColumns: 'ማጋጣሚዎችን አሳ/ሲክም',
80
+ showHideFilters: 'ማጣጣዎችን አሳ/ሲክም',
81
+ showHideSearch: 'ፍለጎችን አሳ/ሲክም',
82
+ sortByColumnAsc: '{column} በለዋሉ ማጣጣት',
83
+ sortByColumnDesc: '{column} በታዋሉ ማጣጣት',
84
+ sortedByColumnAsc: '{column} በለዋሉ ነቀላዋሉ',
85
+ sortedByColumnDesc: '{column} በታዋሉ ነቀላዋሉ',
86
+ thenBy: 'እና',
87
+ toggleDensity: 'ባዝላምውን አሳ/ሲክም',
88
+ toggleFullScreen: 'የሙሉ ማሳያ አሳ/ሲክም',
89
+ toggleSelectAll: 'ሁሉንም ይምረጡ/ይላል',
90
+ toggleSelectRow: 'ቁጥሮችን ይምረጡ/ይላል',
91
+ toggleVisibility: 'አሳ/ሲክም',
92
+ ungroupByColumn: 'ቡና ማጣጣት ይከፍሉ',
93
+ unpin: 'ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
94
+ unpinAll: 'ሁሉንም ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
95
+ };
96
+
97
+ exports.MRT_Localization_AM = MRT_Localization_AM;
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "index.js",
3
+ "module": "index.esm.js",
4
+ "sideEffects": false,
5
+ "types": "index.d.ts"
6
+ }
@@ -60,7 +60,7 @@ const MRT_Localization_AR = {
60
60
  pin: 'تثبيت',
61
61
  pinToLeft: 'تثبيت جهة اليسار',
62
62
  pinToRight: 'تثبيت على اليمين',
63
- resetColumnSize: 'Reset column size',
63
+ resetColumnSize: 'إعادة تعيين حجم العمود',
64
64
  resetOrder: 'إعادة تعيين',
65
65
  rowActions: 'إجراءات الصف',
66
66
  rowNumber: '#',
@@ -69,7 +69,7 @@ const MRT_Localization_AR = {
69
69
  save: 'حفظ',
70
70
  search: 'بحث',
71
71
  selectedCountOfRowCountRowsSelected: '{selectedCount} ل {rowCount} row(s) المحدد',
72
- select: 'اخيار',
72
+ select: 'اختيار',
73
73
  showAll: 'عرض الكل',
74
74
  showAllColumns: 'إظهار كافة الأعمدة',
75
75
  showHideColumns: 'إظهار / إخفاء الأعمدة',
@@ -82,7 +82,7 @@ const MRT_Localization_AR = {
82
82
  thenBy: ', ثم بواسطة ',
83
83
  toggleDensity: 'تبديل الكثافة',
84
84
  toggleFullScreen: 'ملء الشاشة',
85
- toggleSelectAll: 'تبديل حدد الكل',
85
+ toggleSelectAll: 'تبديل تحديد الكل',
86
86
  toggleSelectRow: 'تبديل تحديد الصف',
87
87
  toggleVisibility: 'تبديل الرؤية',
88
88
  ungroupByColumn: 'فك التجميع حسب {column}',
@@ -64,7 +64,7 @@ const MRT_Localization_AR = {
64
64
  pin: 'تثبيت',
65
65
  pinToLeft: 'تثبيت جهة اليسار',
66
66
  pinToRight: 'تثبيت على اليمين',
67
- resetColumnSize: 'Reset column size',
67
+ resetColumnSize: 'إعادة تعيين حجم العمود',
68
68
  resetOrder: 'إعادة تعيين',
69
69
  rowActions: 'إجراءات الصف',
70
70
  rowNumber: '#',
@@ -73,7 +73,7 @@ const MRT_Localization_AR = {
73
73
  save: 'حفظ',
74
74
  search: 'بحث',
75
75
  selectedCountOfRowCountRowsSelected: '{selectedCount} ل {rowCount} row(s) المحدد',
76
- select: 'اخيار',
76
+ select: 'اختيار',
77
77
  showAll: 'عرض الكل',
78
78
  showAllColumns: 'إظهار كافة الأعمدة',
79
79
  showHideColumns: 'إظهار / إخفاء الأعمدة',
@@ -86,7 +86,7 @@ const MRT_Localization_AR = {
86
86
  thenBy: ', ثم بواسطة ',
87
87
  toggleDensity: 'تبديل الكثافة',
88
88
  toggleFullScreen: 'ملء الشاشة',
89
- toggleSelectAll: 'تبديل حدد الكل',
89
+ toggleSelectAll: 'تبديل تحديد الكل',
90
90
  toggleSelectRow: 'تبديل تحديد الصف',
91
91
  toggleVisibility: 'تبديل الرؤية',
92
92
  ungroupByColumn: 'فك التجميع حسب {column}',
@@ -75,9 +75,9 @@ const MRT_Localization_ZH_HANS = {
75
75
  showHideColumns: '显示/隐藏 列',
76
76
  showHideFilters: '显示/隐藏 过滤条件',
77
77
  showHideSearch: '显示/隐藏 搜索条件',
78
- sortByColumnAsc: '按 {column} 顺序排序',
78
+ sortByColumnAsc: '按 {column} 升序排序',
79
79
  sortByColumnDesc: '按 {column} 倒序排序',
80
- sortedByColumnAsc: '已按 {column} 顺序排序',
80
+ sortedByColumnAsc: '已按 {column} 升序排序',
81
81
  sortedByColumnDesc: '已按 {column} 倒序排序',
82
82
  thenBy: ',然后以',
83
83
  toggleDensity: '切换间距',
@@ -79,9 +79,9 @@ const MRT_Localization_ZH_HANS = {
79
79
  showHideColumns: '显示/隐藏 列',
80
80
  showHideFilters: '显示/隐藏 过滤条件',
81
81
  showHideSearch: '显示/隐藏 搜索条件',
82
- sortByColumnAsc: '按 {column} 顺序排序',
82
+ sortByColumnAsc: '按 {column} 升序排序',
83
83
  sortByColumnDesc: '按 {column} 倒序排序',
84
- sortedByColumnAsc: '已按 {column} 顺序排序',
84
+ sortedByColumnAsc: '已按 {column} 升序排序',
85
85
  sortedByColumnDesc: '已按 {column} 倒序排序',
86
86
  thenBy: ',然后以',
87
87
  toggleDensity: '切换间距',
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.1",
2
+ "version": "2.0.3",
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.",
@@ -67,26 +67,26 @@
67
67
  "@emotion/styled": "^11.11.0",
68
68
  "@faker-js/faker": "^8.2.0",
69
69
  "@mui/icons-material": "^5.14.16",
70
- "@mui/material": "^5.14.16",
71
- "@mui/x-date-pickers": "^6.17.0",
70
+ "@mui/material": "^5.14.17",
71
+ "@mui/x-date-pickers": "^6.18.0",
72
72
  "@rollup/plugin-typescript": "^11.1.5",
73
- "@size-limit/preset-small-lib": "^10.0.1",
74
- "@storybook/addon-a11y": "^7.5.2",
75
- "@storybook/addon-essentials": "^7.5.2",
76
- "@storybook/addon-interactions": "^7.5.2",
77
- "@storybook/addon-links": "^7.5.2",
78
- "@storybook/addon-storysource": "^7.5.2",
79
- "@storybook/blocks": "^7.5.2",
80
- "@storybook/react": "^7.5.2",
81
- "@storybook/react-vite": "^7.5.2",
73
+ "@size-limit/preset-small-lib": "^10.0.2",
74
+ "@storybook/addon-a11y": "^7.5.3",
75
+ "@storybook/addon-essentials": "^7.5.3",
76
+ "@storybook/addon-interactions": "^7.5.3",
77
+ "@storybook/addon-links": "^7.5.3",
78
+ "@storybook/addon-storysource": "^7.5.3",
79
+ "@storybook/blocks": "^7.5.3",
80
+ "@storybook/react": "^7.5.3",
81
+ "@storybook/react-vite": "^7.5.3",
82
82
  "@storybook/testing-library": "^0.2.2",
83
83
  "@types/node": "^20.8.10",
84
- "@types/react": "^18.2.33",
84
+ "@types/react": "^18.2.36",
85
85
  "@types/react-dom": "^18.2.14",
86
- "@typescript-eslint/eslint-plugin": "^6.9.1",
87
- "@typescript-eslint/parser": "^6.9.1",
88
- "@vitejs/plugin-react": "^4.1.0",
89
- "eslint": "^8.52.0",
86
+ "@typescript-eslint/eslint-plugin": "^6.10.0",
87
+ "@typescript-eslint/parser": "^6.10.0",
88
+ "@vitejs/plugin-react": "^4.1.1",
89
+ "eslint": "^8.53.0",
90
90
  "eslint-plugin-mui-path-imports": "^0.0.15",
91
91
  "eslint-plugin-perfectionist": "^2.2.0",
92
92
  "prop-types": "^15.8.1",
@@ -96,8 +96,8 @@
96
96
  "rollup": "^2.79.1",
97
97
  "rollup-plugin-dts": "^6.1.0",
98
98
  "rollup-plugin-peer-deps-external": "^2.2.4",
99
- "size-limit": "^10.0.1",
100
- "storybook": "^7.5.2",
99
+ "size-limit": "^10.0.2",
100
+ "storybook": "^7.5.3",
101
101
  "storybook-dark-mode": "^3.0.1",
102
102
  "tslib": "^2.6.2",
103
103
  "typescript": "^5.2.2",
@@ -37,6 +37,7 @@ export const MRT_GrabHandleButton = <TData extends MRT_RowData>({
37
37
  title={_iconButtonProps?.title ?? localization.move}
38
38
  >
39
39
  <IconButton
40
+ aria-label={_iconButtonProps.title ?? localization.move}
40
41
  disableRipple
41
42
  draggable="true"
42
43
  size="small"
@@ -102,8 +102,8 @@ export const MRT_TableHeadCellFilterLabel = <TData extends MRT_RowData = {}>({
102
102
  setShowColumnFilters(true);
103
103
  }
104
104
  queueMicrotask(() => {
105
- filterInputRefs.current[`${column.id}-0`]?.focus();
106
- filterInputRefs.current[`${column.id}-0`]?.select();
105
+ filterInputRefs.current[`${column.id}-0`]?.focus?.();
106
+ filterInputRefs.current[`${column.id}-0`]?.select?.();
107
107
  });
108
108
  event.stopPropagation();
109
109
  }}
@@ -0,0 +1,94 @@
1
+ import { type MRT_Localization } from '..';
2
+
3
+ export const MRT_Localization_AM: MRT_Localization = {
4
+ actions: 'እግር',
5
+ and: 'እና',
6
+ cancel: 'ሰርዝ',
7
+ changeFilterMode: 'በማጣጣት የተቋቋኸውን ይቀይር',
8
+ changeSearchMode: 'በደጋገሚ የተጠቀሰከውን ይቀይር',
9
+ clearFilter: 'ተጠናቀቁ',
10
+ clearSearch: 'የይላላ ግባብውን ይሰርዝ',
11
+ clearSort: 'የማጣጣትውን ይሰረዝ',
12
+ clickToCopy: 'ከሁሉም ተዘጋጅላቸው ይከፍሉ',
13
+ collapse: 'ርክበ',
14
+ collapseAll: 'ሁሉንም ርክበ',
15
+ columnActions: 'ሁሉንም ማጠናከሪያዎች',
16
+ copiedToClipboard: 'የተቀደሰውን ብለን ይከፈሉ',
17
+ dropToGroupBy: 'ለ{column} የቡና ቦታ ወደጥዋት ይዘገቡ',
18
+ edit: 'አስተካክ',
19
+ expand: 'ጠቀሱ',
20
+ expandAll: 'ሁሉንም ጠቀሱ',
21
+ filterArrIncludes: 'አካሉን አስፈልጎ',
22
+ filterArrIncludesAll: 'አካሉን ሁሉንም አስፈልጎ',
23
+ filterArrIncludesSome: 'አካሉን ያለሁሉን አስፈልጎ',
24
+ filterBetween: 'እና',
25
+ filterBetweenInclusive: 'እና',
26
+ filterByColumn: '{column} በአካል ማጣጣት',
27
+ filterContains: 'የነሀበቱ አካል',
28
+ filterEmpty: 'ትናት የለው',
29
+ filterEndsWith: 'የመጨረሻው እብዎች',
30
+ filterEquals: 'ከተማ',
31
+ filterEqualsString: 'ከተማ',
32
+ filterFuzzy: 'አስተናገር',
33
+ filterGreaterThan: 'ድጋሜ',
34
+ filterGreaterThanOrEqualTo: 'ድጋሜ ወይስ ትናት',
35
+ filterInNumberRange: 'እና',
36
+ filterIncludesString: 'አካሉን አስፈልጎ',
37
+ filterIncludesStringSensitive: 'አካሉን አስፈልጎ',
38
+ filterLessThan: 'ትናት',
39
+ filterLessThanOrEqualTo: 'ትናት ወይስ ድጋሜ',
40
+ filterMode: 'የቡና አካል: {filterType}',
41
+ filterNotEmpty: 'ከለዎ',
42
+ filterNotEquals: 'ከተማ የለው',
43
+ filterStartsWith: 'የመጀሳው እብዎች',
44
+ filterWeakEquals: 'ከተማ',
45
+ filteringByColumn: '{column} በማጣጣት - {filterType} {filterValue}',
46
+ goToFirstPage: 'ወደ መመለሻ ገጽ ይሂዱ',
47
+ goToLastPage: 'ወደ መጨረሻ ገጽ ይሂዱ',
48
+ goToNextPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
49
+ goToPreviousPage: 'ወደ ቀጣይ ገጽ ይሂዱ',
50
+ grab: 'ቆይ',
51
+ groupByColumn: '{column} ቡና',
52
+ groupedBy: 'ቡና ቦታ ',
53
+ hideAll: 'ሁሉንም ደገን',
54
+ hideColumn: '{column} አካልን ደገን',
55
+ max: 'ከፍተኛ',
56
+ min: 'ከሚካሄዱ',
57
+ move: 'እርምጃ',
58
+ noRecordsToDisplay: 'ምንም የተለየም አልነበረም',
59
+ noResultsFound: 'ምንም አልተገኘም',
60
+ of: 'ከ',
61
+ or: 'ወይም',
62
+ pin: 'ቀዝቃኛ',
63
+ pinToLeft: 'ወደ ግራ ቀዝቃኛ',
64
+ pinToRight: 'ወደ ቀኝ ቀዝቃኛ',
65
+ resetColumnSize: 'አካል መልክ ይስጥ',
66
+ resetOrder: 'ማጣጣት ይስጥ',
67
+ rowActions: 'ከሚከባቡ ማጠናከሪያዎች',
68
+ rowNumber: '#',
69
+ rowNumbers: 'የስም ቁጥሮች',
70
+ rowsPerPage: 'በገቢ የቁጥር ቁጥሮች',
71
+ save: 'አስቀምጥ',
72
+ search: 'ፈልግ',
73
+ selectedCountOfRowCountRowsSelected:
74
+ 'የ{rowCount} ቁጥሮች ውስጠ የ{selectedCount} ሁኔ አምስቱ ቁጥሮች',
75
+ select: 'ይምረጡ',
76
+ showAll: 'ሁሉንም አሳ',
77
+ showAllColumns: 'ሁሉንም አሳ',
78
+ showHideColumns: 'ማጋጣሚዎችን አሳ/ሲክም',
79
+ showHideFilters: 'ማጣጣዎችን አሳ/ሲክም',
80
+ showHideSearch: 'ፍለጎችን አሳ/ሲክም',
81
+ sortByColumnAsc: '{column} በለዋሉ ማጣጣት',
82
+ sortByColumnDesc: '{column} በታዋሉ ማጣጣት',
83
+ sortedByColumnAsc: '{column} በለዋሉ ነቀላዋሉ',
84
+ sortedByColumnDesc: '{column} በታዋሉ ነቀላዋሉ',
85
+ thenBy: 'እና',
86
+ toggleDensity: 'ባዝላምውን አሳ/ሲክም',
87
+ toggleFullScreen: 'የሙሉ ማሳያ አሳ/ሲክም',
88
+ toggleSelectAll: 'ሁሉንም ይምረጡ/ይላል',
89
+ toggleSelectRow: 'ቁጥሮችን ይምረጡ/ይላል',
90
+ toggleVisibility: 'አሳ/ሲክም',
91
+ ungroupByColumn: 'ቡና ማጣጣት ይከፍሉ',
92
+ unpin: 'ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
93
+ unpinAll: 'ሁሉንም ቀዝቃኛን ቀዝቃኛን ይከፍሉ',
94
+ };
package/src/locales/ar.ts CHANGED
@@ -62,7 +62,7 @@ export const MRT_Localization_AR: MRT_Localization = {
62
62
  pin: 'تثبيت',
63
63
  pinToLeft: 'تثبيت جهة اليسار',
64
64
  pinToRight: 'تثبيت على اليمين',
65
- resetColumnSize: 'Reset column size',
65
+ resetColumnSize: 'إعادة تعيين حجم العمود',
66
66
  resetOrder: 'إعادة تعيين',
67
67
  rowActions: 'إجراءات الصف',
68
68
  rowNumber: '#',
@@ -72,7 +72,7 @@ export const MRT_Localization_AR: MRT_Localization = {
72
72
  search: 'بحث',
73
73
  selectedCountOfRowCountRowsSelected:
74
74
  '{selectedCount} ل {rowCount} row(s) المحدد',
75
- select: 'اخيار',
75
+ select: 'اختيار',
76
76
  showAll: 'عرض الكل',
77
77
  showAllColumns: 'إظهار كافة الأعمدة',
78
78
  showHideColumns: 'إظهار / إخفاء الأعمدة',
@@ -85,7 +85,7 @@ export const MRT_Localization_AR: MRT_Localization = {
85
85
  thenBy: ', ثم بواسطة ',
86
86
  toggleDensity: 'تبديل الكثافة',
87
87
  toggleFullScreen: 'ملء الشاشة',
88
- toggleSelectAll: 'تبديل حدد الكل',
88
+ toggleSelectAll: 'تبديل تحديد الكل',
89
89
  toggleSelectRow: 'تبديل تحديد الصف',
90
90
  toggleVisibility: 'تبديل الرؤية',
91
91
  ungroupByColumn: 'فك التجميع حسب {column}',
@@ -77,9 +77,9 @@ export const MRT_Localization_ZH_HANS: MRT_Localization = {
77
77
  showHideColumns: '显示/隐藏 列',
78
78
  showHideFilters: '显示/隐藏 过滤条件',
79
79
  showHideSearch: '显示/隐藏 搜索条件',
80
- sortByColumnAsc: '按 {column} 顺序排序',
80
+ sortByColumnAsc: '按 {column} 升序排序',
81
81
  sortByColumnDesc: '按 {column} 倒序排序',
82
- sortedByColumnAsc: '已按 {column} 顺序排序',
82
+ sortedByColumnAsc: '已按 {column} 升序排序',
83
83
  sortedByColumnDesc: '已按 {column} 倒序排序',
84
84
  thenBy: ',然后以',
85
85
  toggleDensity: '切换间距',