material-react-table 1.11.4 → 1.12.0-beta.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.
Files changed (317) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/index.js +770 -1004
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/MaterialReactTable.d.ts +4 -743
  5. package/dist/cjs/types/_locales/cs.d.ts +1 -1
  6. package/dist/cjs/types/_locales/da.d.ts +1 -1
  7. package/dist/cjs/types/_locales/de.d.ts +1 -1
  8. package/dist/cjs/types/_locales/en.d.ts +1 -1
  9. package/dist/cjs/types/_locales/es.d.ts +1 -1
  10. package/dist/cjs/types/_locales/fa.d.ts +1 -1
  11. package/dist/cjs/types/_locales/fi.d.ts +1 -1
  12. package/dist/cjs/types/_locales/fr.d.ts +1 -1
  13. package/dist/cjs/types/_locales/hu.d.ts +1 -1
  14. package/dist/cjs/types/_locales/id.d.ts +1 -1
  15. package/dist/cjs/types/_locales/it.d.ts +1 -1
  16. package/dist/cjs/types/_locales/ja.d.ts +1 -1
  17. package/dist/cjs/types/_locales/nl.d.ts +1 -1
  18. package/dist/cjs/types/_locales/pl.d.ts +1 -1
  19. package/dist/cjs/types/_locales/pt-BR.d.ts +1 -1
  20. package/dist/cjs/types/_locales/pt.d.ts +1 -1
  21. package/dist/cjs/types/_locales/ro.d.ts +1 -1
  22. package/dist/cjs/types/_locales/ru.d.ts +1 -1
  23. package/dist/cjs/types/_locales/sk.d.ts +1 -1
  24. package/dist/cjs/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  25. package/dist/cjs/types/_locales/sr-Latn-RS.d.ts +1 -1
  26. package/dist/cjs/types/_locales/sv.d.ts +1 -1
  27. package/dist/cjs/types/_locales/tr.d.ts +1 -1
  28. package/dist/cjs/types/_locales/uk.d.ts +1 -1
  29. package/dist/cjs/types/_locales/vi.d.ts +1 -1
  30. package/dist/cjs/types/_locales/zh-Hans.d.ts +1 -1
  31. package/dist/cjs/types/_locales/zh-Hant.d.ts +1 -1
  32. package/dist/cjs/types/body/MRT_EditRowModal.d.ts +2 -3
  33. package/dist/cjs/types/body/MRT_TableBody.d.ts +4 -4
  34. package/dist/cjs/types/body/MRT_TableBodyCell.d.ts +5 -5
  35. package/dist/cjs/types/body/MRT_TableBodyCellValue.d.ts +2 -3
  36. package/dist/cjs/types/body/MRT_TableBodyRow.d.ts +5 -5
  37. package/dist/cjs/types/body/MRT_TableBodyRowGrabHandle.d.ts +3 -3
  38. package/dist/cjs/types/body/MRT_TableDetailPanel.d.ts +4 -4
  39. package/dist/cjs/types/buttons/MRT_ColumnPinningButtons.d.ts +2 -3
  40. package/dist/cjs/types/buttons/MRT_CopyButton.d.ts +3 -3
  41. package/dist/cjs/types/buttons/MRT_EditActionButtons.d.ts +2 -3
  42. package/dist/cjs/types/buttons/MRT_ExpandAllButton.d.ts +2 -3
  43. package/dist/cjs/types/buttons/MRT_ExpandButton.d.ts +2 -3
  44. package/dist/cjs/types/buttons/MRT_FullScreenToggleButton.d.ts +3 -4
  45. package/dist/cjs/types/buttons/MRT_GrabHandleButton.d.ts +4 -4
  46. package/dist/cjs/types/buttons/MRT_ShowHideColumnsButton.d.ts +3 -4
  47. package/dist/cjs/types/buttons/MRT_ToggleDensePaddingButton.d.ts +3 -4
  48. package/dist/cjs/types/buttons/MRT_ToggleFiltersButton.d.ts +3 -4
  49. package/dist/cjs/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +3 -4
  50. package/dist/cjs/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +2 -3
  51. package/dist/cjs/types/column.utils.d.ts +10 -10
  52. package/dist/cjs/types/filterFns.d.ts +1 -1
  53. package/dist/cjs/types/footer/MRT_TableFooter.d.ts +3 -4
  54. package/dist/cjs/types/footer/MRT_TableFooterCell.d.ts +2 -3
  55. package/dist/cjs/types/footer/MRT_TableFooterRow.d.ts +3 -4
  56. package/dist/cjs/types/head/MRT_TableHead.d.ts +3 -4
  57. package/dist/cjs/types/head/MRT_TableHeadCell.d.ts +2 -3
  58. package/dist/cjs/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +2 -3
  59. package/dist/cjs/types/head/MRT_TableHeadCellFilterContainer.d.ts +2 -3
  60. package/dist/cjs/types/head/MRT_TableHeadCellFilterLabel.d.ts +2 -3
  61. package/dist/cjs/types/head/MRT_TableHeadCellGrabHandle.d.ts +3 -3
  62. package/dist/cjs/types/head/MRT_TableHeadCellResizeHandle.d.ts +2 -3
  63. package/dist/cjs/types/head/MRT_TableHeadCellSortLabel.d.ts +3 -4
  64. package/dist/cjs/types/head/MRT_TableHeadRow.d.ts +3 -4
  65. package/dist/cjs/types/index.d.ts +6 -4
  66. package/dist/cjs/types/inputs/MRT_EditCellTextField.d.ts +2 -3
  67. package/dist/cjs/types/inputs/MRT_FilterCheckbox.d.ts +2 -3
  68. package/dist/cjs/types/inputs/MRT_FilterRangeFields.d.ts +2 -3
  69. package/dist/cjs/types/inputs/MRT_FilterTextField.d.ts +2 -3
  70. package/dist/cjs/types/inputs/MRT_GlobalFilterTextField.d.ts +2 -3
  71. package/dist/cjs/types/inputs/MRT_SelectCheckbox.d.ts +2 -3
  72. package/dist/cjs/types/menus/MRT_ColumnActionMenu.d.ts +2 -3
  73. package/dist/cjs/types/menus/MRT_FilterOptionMenu.d.ts +2 -3
  74. package/dist/cjs/types/menus/MRT_RowActionMenu.d.ts +3 -3
  75. package/dist/cjs/types/menus/MRT_ShowHideColumnsMenu.d.ts +2 -3
  76. package/dist/cjs/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +3 -3
  77. package/dist/cjs/types/sortingFns.d.ts +17 -17
  78. package/dist/cjs/types/table/MRT_Table.d.ts +2 -3
  79. package/dist/cjs/types/table/MRT_TableContainer.d.ts +2 -3
  80. package/dist/cjs/types/table/MRT_TablePaper.d.ts +2 -3
  81. package/dist/cjs/types/toolbar/MRT_BottomToolbar.d.ts +2 -3
  82. package/dist/cjs/types/toolbar/MRT_LinearProgressBar.d.ts +2 -3
  83. package/dist/cjs/types/toolbar/MRT_TablePagination.d.ts +2 -3
  84. package/dist/cjs/types/toolbar/MRT_ToolbarAlertBanner.d.ts +2 -3
  85. package/dist/cjs/types/toolbar/MRT_ToolbarDropZone.d.ts +2 -3
  86. package/dist/cjs/types/toolbar/MRT_ToolbarInternalButtons.d.ts +2 -3
  87. package/dist/cjs/types/toolbar/MRT_TopToolbar.d.ts +3 -4
  88. package/dist/cjs/types/types.d.ts +745 -0
  89. package/dist/esm/material-react-table.esm.js +691 -925
  90. package/dist/esm/material-react-table.esm.js.map +1 -1
  91. package/dist/esm/types/MaterialReactTable.d.ts +4 -743
  92. package/dist/esm/types/_locales/cs.d.ts +1 -1
  93. package/dist/esm/types/_locales/da.d.ts +1 -1
  94. package/dist/esm/types/_locales/de.d.ts +1 -1
  95. package/dist/esm/types/_locales/en.d.ts +1 -1
  96. package/dist/esm/types/_locales/es.d.ts +1 -1
  97. package/dist/esm/types/_locales/fa.d.ts +1 -1
  98. package/dist/esm/types/_locales/fi.d.ts +1 -1
  99. package/dist/esm/types/_locales/fr.d.ts +1 -1
  100. package/dist/esm/types/_locales/hu.d.ts +1 -1
  101. package/dist/esm/types/_locales/id.d.ts +1 -1
  102. package/dist/esm/types/_locales/it.d.ts +1 -1
  103. package/dist/esm/types/_locales/ja.d.ts +1 -1
  104. package/dist/esm/types/_locales/nl.d.ts +1 -1
  105. package/dist/esm/types/_locales/pl.d.ts +1 -1
  106. package/dist/esm/types/_locales/pt-BR.d.ts +1 -1
  107. package/dist/esm/types/_locales/pt.d.ts +1 -1
  108. package/dist/esm/types/_locales/ro.d.ts +1 -1
  109. package/dist/esm/types/_locales/ru.d.ts +1 -1
  110. package/dist/esm/types/_locales/sk.d.ts +1 -1
  111. package/dist/esm/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  112. package/dist/esm/types/_locales/sr-Latn-RS.d.ts +1 -1
  113. package/dist/esm/types/_locales/sv.d.ts +1 -1
  114. package/dist/esm/types/_locales/tr.d.ts +1 -1
  115. package/dist/esm/types/_locales/uk.d.ts +1 -1
  116. package/dist/esm/types/_locales/vi.d.ts +1 -1
  117. package/dist/esm/types/_locales/zh-Hans.d.ts +1 -1
  118. package/dist/esm/types/_locales/zh-Hant.d.ts +1 -1
  119. package/dist/esm/types/body/MRT_EditRowModal.d.ts +2 -3
  120. package/dist/esm/types/body/MRT_TableBody.d.ts +4 -4
  121. package/dist/esm/types/body/MRT_TableBodyCell.d.ts +5 -5
  122. package/dist/esm/types/body/MRT_TableBodyCellValue.d.ts +2 -3
  123. package/dist/esm/types/body/MRT_TableBodyRow.d.ts +5 -5
  124. package/dist/esm/types/body/MRT_TableBodyRowGrabHandle.d.ts +3 -3
  125. package/dist/esm/types/body/MRT_TableDetailPanel.d.ts +4 -4
  126. package/dist/esm/types/buttons/MRT_ColumnPinningButtons.d.ts +2 -3
  127. package/dist/esm/types/buttons/MRT_CopyButton.d.ts +3 -3
  128. package/dist/esm/types/buttons/MRT_EditActionButtons.d.ts +2 -3
  129. package/dist/esm/types/buttons/MRT_ExpandAllButton.d.ts +2 -3
  130. package/dist/esm/types/buttons/MRT_ExpandButton.d.ts +2 -3
  131. package/dist/esm/types/buttons/MRT_FullScreenToggleButton.d.ts +3 -4
  132. package/dist/esm/types/buttons/MRT_GrabHandleButton.d.ts +4 -4
  133. package/dist/esm/types/buttons/MRT_ShowHideColumnsButton.d.ts +3 -4
  134. package/dist/esm/types/buttons/MRT_ToggleDensePaddingButton.d.ts +3 -4
  135. package/dist/esm/types/buttons/MRT_ToggleFiltersButton.d.ts +3 -4
  136. package/dist/esm/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +3 -4
  137. package/dist/esm/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +2 -3
  138. package/dist/esm/types/column.utils.d.ts +10 -10
  139. package/dist/esm/types/filterFns.d.ts +1 -1
  140. package/dist/esm/types/footer/MRT_TableFooter.d.ts +3 -4
  141. package/dist/esm/types/footer/MRT_TableFooterCell.d.ts +2 -3
  142. package/dist/esm/types/footer/MRT_TableFooterRow.d.ts +3 -4
  143. package/dist/esm/types/head/MRT_TableHead.d.ts +3 -4
  144. package/dist/esm/types/head/MRT_TableHeadCell.d.ts +2 -3
  145. package/dist/esm/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +2 -3
  146. package/dist/esm/types/head/MRT_TableHeadCellFilterContainer.d.ts +2 -3
  147. package/dist/esm/types/head/MRT_TableHeadCellFilterLabel.d.ts +2 -3
  148. package/dist/esm/types/head/MRT_TableHeadCellGrabHandle.d.ts +3 -3
  149. package/dist/esm/types/head/MRT_TableHeadCellResizeHandle.d.ts +2 -3
  150. package/dist/esm/types/head/MRT_TableHeadCellSortLabel.d.ts +3 -4
  151. package/dist/esm/types/head/MRT_TableHeadRow.d.ts +3 -4
  152. package/dist/esm/types/index.d.ts +6 -4
  153. package/dist/esm/types/inputs/MRT_EditCellTextField.d.ts +2 -3
  154. package/dist/esm/types/inputs/MRT_FilterCheckbox.d.ts +2 -3
  155. package/dist/esm/types/inputs/MRT_FilterRangeFields.d.ts +2 -3
  156. package/dist/esm/types/inputs/MRT_FilterTextField.d.ts +2 -3
  157. package/dist/esm/types/inputs/MRT_GlobalFilterTextField.d.ts +2 -3
  158. package/dist/esm/types/inputs/MRT_SelectCheckbox.d.ts +2 -3
  159. package/dist/esm/types/menus/MRT_ColumnActionMenu.d.ts +2 -3
  160. package/dist/esm/types/menus/MRT_FilterOptionMenu.d.ts +2 -3
  161. package/dist/esm/types/menus/MRT_RowActionMenu.d.ts +3 -3
  162. package/dist/esm/types/menus/MRT_ShowHideColumnsMenu.d.ts +2 -3
  163. package/dist/esm/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +3 -3
  164. package/dist/esm/types/sortingFns.d.ts +17 -17
  165. package/dist/esm/types/table/MRT_Table.d.ts +2 -3
  166. package/dist/esm/types/table/MRT_TableContainer.d.ts +2 -3
  167. package/dist/esm/types/table/MRT_TablePaper.d.ts +2 -3
  168. package/dist/esm/types/toolbar/MRT_BottomToolbar.d.ts +2 -3
  169. package/dist/esm/types/toolbar/MRT_LinearProgressBar.d.ts +2 -3
  170. package/dist/esm/types/toolbar/MRT_TablePagination.d.ts +2 -3
  171. package/dist/esm/types/toolbar/MRT_ToolbarAlertBanner.d.ts +2 -3
  172. package/dist/esm/types/toolbar/MRT_ToolbarDropZone.d.ts +2 -3
  173. package/dist/esm/types/toolbar/MRT_ToolbarInternalButtons.d.ts +2 -3
  174. package/dist/esm/types/toolbar/MRT_TopToolbar.d.ts +3 -4
  175. package/dist/esm/types/types.d.ts +745 -0
  176. package/dist/index.d.ts +40 -35
  177. package/locales/cs.d.ts +1 -1
  178. package/locales/cs.esm.d.ts +1 -1
  179. package/locales/da.d.ts +1 -1
  180. package/locales/da.esm.d.ts +1 -1
  181. package/locales/de.d.ts +1 -1
  182. package/locales/de.esm.d.ts +1 -1
  183. package/locales/en.d.ts +1 -1
  184. package/locales/en.esm.d.ts +1 -1
  185. package/locales/es.d.ts +1 -1
  186. package/locales/es.esm.d.ts +1 -1
  187. package/locales/fa.d.ts +1 -1
  188. package/locales/fa.esm.d.ts +1 -1
  189. package/locales/fi.d.ts +1 -1
  190. package/locales/fi.esm.d.ts +1 -1
  191. package/locales/fr.d.ts +1 -1
  192. package/locales/fr.esm.d.ts +1 -1
  193. package/locales/hu.d.ts +1 -1
  194. package/locales/hu.esm.d.ts +1 -1
  195. package/locales/id.d.ts +1 -1
  196. package/locales/id.esm.d.ts +1 -1
  197. package/locales/it.d.ts +1 -1
  198. package/locales/it.esm.d.ts +1 -1
  199. package/locales/ja.d.ts +1 -1
  200. package/locales/ja.esm.d.ts +1 -1
  201. package/locales/nl.d.ts +1 -1
  202. package/locales/nl.esm.d.ts +1 -1
  203. package/locales/pl.d.ts +1 -1
  204. package/locales/pl.esm.d.ts +1 -1
  205. package/locales/pt-BR.d.ts +1 -1
  206. package/locales/pt-BR.esm.d.ts +1 -1
  207. package/locales/pt.d.ts +1 -1
  208. package/locales/pt.esm.d.ts +1 -1
  209. package/locales/ro.d.ts +1 -1
  210. package/locales/ro.esm.d.ts +1 -1
  211. package/locales/ru.d.ts +1 -1
  212. package/locales/ru.esm.d.ts +1 -1
  213. package/locales/sk.d.ts +1 -1
  214. package/locales/sk.esm.d.ts +1 -1
  215. package/locales/sr-Cyrl-RS.d.ts +1 -1
  216. package/locales/sr-Cyrl-RS.esm.d.ts +1 -1
  217. package/locales/sr-Latn-RS.d.ts +1 -1
  218. package/locales/sr-Latn-RS.esm.d.ts +1 -1
  219. package/locales/sv.d.ts +1 -1
  220. package/locales/sv.esm.d.ts +1 -1
  221. package/locales/tr.d.ts +1 -1
  222. package/locales/tr.esm.d.ts +1 -1
  223. package/locales/uk.d.ts +1 -1
  224. package/locales/uk.esm.d.ts +1 -1
  225. package/locales/vi.d.ts +1 -1
  226. package/locales/vi.esm.d.ts +1 -1
  227. package/locales/zh-Hans.d.ts +1 -1
  228. package/locales/zh-Hans.esm.d.ts +1 -1
  229. package/locales/zh-Hant.d.ts +1 -1
  230. package/locales/zh-Hant.esm.d.ts +1 -1
  231. package/package.json +35 -17
  232. package/src/MaterialReactTable.tsx +10 -984
  233. package/src/_locales/cs.ts +1 -1
  234. package/src/_locales/da.ts +1 -1
  235. package/src/_locales/de.ts +1 -1
  236. package/src/_locales/en.ts +1 -1
  237. package/src/_locales/es.ts +1 -1
  238. package/src/_locales/fa.ts +1 -1
  239. package/src/_locales/fi.ts +1 -1
  240. package/src/_locales/fr.ts +1 -1
  241. package/src/_locales/hu.ts +1 -1
  242. package/src/_locales/id.ts +1 -1
  243. package/src/_locales/it.ts +1 -1
  244. package/src/_locales/ja.ts +1 -1
  245. package/src/_locales/nl.ts +1 -1
  246. package/src/_locales/pl.ts +1 -1
  247. package/src/_locales/pt-BR.ts +1 -1
  248. package/src/_locales/pt.ts +1 -1
  249. package/src/_locales/ro.ts +1 -1
  250. package/src/_locales/ru.ts +1 -1
  251. package/src/_locales/sk.ts +1 -1
  252. package/src/_locales/sr-Cyrl-RS.ts +1 -1
  253. package/src/_locales/sr-Latn-RS.ts +1 -1
  254. package/src/_locales/sv.ts +1 -1
  255. package/src/_locales/tr.ts +1 -1
  256. package/src/_locales/uk.ts +1 -1
  257. package/src/_locales/vi.ts +1 -1
  258. package/src/_locales/zh-Hans.ts +1 -1
  259. package/src/_locales/zh-Hant.ts +1 -1
  260. package/src/body/MRT_EditRowModal.tsx +1 -2
  261. package/src/body/MRT_TableBody.tsx +2 -2
  262. package/src/body/MRT_TableBodyCell.tsx +6 -6
  263. package/src/body/MRT_TableBodyCellValue.tsx +2 -2
  264. package/src/body/MRT_TableBodyRow.tsx +3 -3
  265. package/src/body/MRT_TableBodyRowGrabHandle.tsx +2 -2
  266. package/src/body/MRT_TableDetailPanel.tsx +3 -3
  267. package/src/buttons/MRT_ColumnPinningButtons.tsx +1 -2
  268. package/src/buttons/MRT_CopyButton.tsx +2 -2
  269. package/src/buttons/MRT_EditActionButtons.tsx +1 -2
  270. package/src/buttons/MRT_ExpandAllButton.tsx +1 -2
  271. package/src/buttons/MRT_ExpandButton.tsx +2 -2
  272. package/src/buttons/MRT_FullScreenToggleButton.tsx +2 -3
  273. package/src/buttons/MRT_GrabHandleButton.tsx +3 -3
  274. package/src/buttons/MRT_ShowHideColumnsButton.tsx +3 -3
  275. package/src/buttons/MRT_ToggleDensePaddingButton.tsx +2 -3
  276. package/src/buttons/MRT_ToggleFiltersButton.tsx +2 -3
  277. package/src/buttons/MRT_ToggleGlobalFilterButton.tsx +2 -3
  278. package/src/buttons/MRT_ToggleRowActionMenuButton.tsx +2 -2
  279. package/src/column.utils.ts +23 -22
  280. package/src/filterFns.ts +1 -1
  281. package/src/footer/MRT_TableFooter.tsx +2 -3
  282. package/src/footer/MRT_TableFooterCell.tsx +1 -2
  283. package/src/footer/MRT_TableFooterRow.tsx +2 -3
  284. package/src/head/MRT_TableHead.tsx +2 -3
  285. package/src/head/MRT_TableHeadCell.tsx +3 -3
  286. package/src/head/MRT_TableHeadCellColumnActionsButton.tsx +2 -2
  287. package/src/head/MRT_TableHeadCellFilterContainer.tsx +1 -2
  288. package/src/head/MRT_TableHeadCellFilterLabel.tsx +2 -2
  289. package/src/head/MRT_TableHeadCellGrabHandle.tsx +2 -2
  290. package/src/head/MRT_TableHeadCellResizeHandle.tsx +1 -2
  291. package/src/head/MRT_TableHeadCellSortLabel.tsx +2 -3
  292. package/src/head/MRT_TableHeadRow.tsx +2 -3
  293. package/src/index.tsx +7 -5
  294. package/src/inputs/MRT_EditCellTextField.tsx +3 -3
  295. package/src/inputs/MRT_FilterCheckbox.tsx +2 -3
  296. package/src/inputs/MRT_FilterRangeFields.tsx +1 -2
  297. package/src/inputs/MRT_FilterTextField.tsx +5 -5
  298. package/src/inputs/MRT_GlobalFilterTextField.tsx +4 -4
  299. package/src/inputs/MRT_SelectCheckbox.tsx +3 -3
  300. package/src/menus/MRT_ColumnActionMenu.tsx +3 -2
  301. package/src/menus/MRT_FilterOptionMenu.tsx +8 -8
  302. package/src/menus/MRT_RowActionMenu.tsx +2 -2
  303. package/src/menus/MRT_ShowHideColumnsMenu.tsx +2 -2
  304. package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +2 -8
  305. package/src/sortingFns.ts +1 -1
  306. package/src/table/MRT_Table.tsx +2 -2
  307. package/src/table/MRT_TableContainer.tsx +2 -2
  308. package/src/table/MRT_TablePaper.tsx +1 -2
  309. package/src/table/MRT_TableRoot.tsx +16 -16
  310. package/src/toolbar/MRT_BottomToolbar.tsx +1 -2
  311. package/src/toolbar/MRT_LinearProgressBar.tsx +1 -2
  312. package/src/toolbar/MRT_TablePagination.tsx +2 -2
  313. package/src/toolbar/MRT_ToolbarAlertBanner.tsx +2 -2
  314. package/src/toolbar/MRT_ToolbarDropZone.tsx +2 -2
  315. package/src/toolbar/MRT_ToolbarInternalButtons.tsx +1 -2
  316. package/src/toolbar/MRT_TopToolbar.tsx +2 -3
  317. package/src/types.ts +981 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { MutableRefObject, Dispatch, SetStateAction, ReactNode, DragEventHandler } from 'react';
3
3
  import { AlertProps } from '@mui/material/Alert';
4
4
  import { ButtonProps } from '@mui/material/Button';
@@ -136,19 +136,6 @@ interface MRT_Icons {
136
136
  VisibilityOffIcon: any;
137
137
  }
138
138
 
139
- declare const MRT_SortingFns: {
140
- fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
141
- alphanumeric: _tanstack_react_table.SortingFn<any>;
142
- alphanumericCaseSensitive: _tanstack_react_table.SortingFn<any>;
143
- text: _tanstack_react_table.SortingFn<any>;
144
- textCaseSensitive: _tanstack_react_table.SortingFn<any>;
145
- datetime: _tanstack_react_table.SortingFn<any>;
146
- basic: _tanstack_react_table.SortingFn<any>;
147
- };
148
-
149
- /**
150
- * Most of this file is just TypeScript types
151
- */
152
139
  type Prettify<T> = {
153
140
  [K in keyof T]: T[K];
154
141
  } & {};
@@ -867,32 +854,43 @@ type MaterialReactTableProps<TData extends Record<string, any> = {}> = Prettify<
867
854
  table: MRT_TableInstance<TData>;
868
855
  }) => Partial<VirtualizerOptions<HTMLDivElement, HTMLTableRowElement>>);
869
856
  };
870
- declare const MaterialReactTable: <TData extends Record<string, any> = {}>({ aggregationFns, autoResetExpanded, columnResizeMode, defaultColumn, defaultDisplayColumn, editingMode, enableBottomToolbar, enableColumnActions, enableColumnFilters, enableColumnOrdering, enableColumnResizing, enableDensityToggle, enableExpandAll, enableFilterMatchHighlighting, enableFilters, enableFullScreenToggle, enableGlobalFilter, enableGlobalFilterRankedResults, enableGrouping, enableHiding, enableMultiRowSelection, enableMultiSort, enablePagination, enablePinning, enableRowSelection, enableSelectAll, enableSorting, enableStickyHeader, enableTableFooter, enableTableHead, enableToolbarInternalActions, enableTopToolbar, filterFns, icons, layoutMode, localization, manualFiltering, manualGrouping, manualPagination, manualSorting, positionActionsColumn, positionExpandColumn, positionGlobalFilter, positionPagination, positionToolbarAlertBanner, positionToolbarDropZone, rowNumberMode, selectAllMode, sortingFns, ...rest }: MaterialReactTableProps<TData>) => JSX.Element;
857
+
858
+ declare const MRT_SortingFns: {
859
+ fuzzy: <TData extends Record<string, any> = {}>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
860
+ alphanumeric: _tanstack_react_table.SortingFn<any>;
861
+ alphanumericCaseSensitive: _tanstack_react_table.SortingFn<any>;
862
+ text: _tanstack_react_table.SortingFn<any>;
863
+ textCaseSensitive: _tanstack_react_table.SortingFn<any>;
864
+ datetime: _tanstack_react_table.SortingFn<any>;
865
+ basic: _tanstack_react_table.SortingFn<any>;
866
+ };
867
+
868
+ declare const MaterialReactTable: <TData extends Record<string, any> = {}>({ aggregationFns, autoResetExpanded, columnResizeMode, defaultColumn, defaultDisplayColumn, editingMode, enableBottomToolbar, enableColumnActions, enableColumnFilters, enableColumnOrdering, enableColumnResizing, enableDensityToggle, enableExpandAll, enableFilterMatchHighlighting, enableFilters, enableFullScreenToggle, enableGlobalFilter, enableGlobalFilterRankedResults, enableGrouping, enableHiding, enableMultiRowSelection, enableMultiSort, enablePagination, enablePinning, enableRowSelection, enableSelectAll, enableSorting, enableStickyHeader, enableTableFooter, enableTableHead, enableToolbarInternalActions, enableTopToolbar, filterFns, icons, layoutMode, localization, manualFiltering, manualGrouping, manualPagination, manualSorting, positionActionsColumn, positionExpandColumn, positionGlobalFilter, positionPagination, positionToolbarAlertBanner, positionToolbarDropZone, rowNumberMode, selectAllMode, sortingFns, ...rest }: MaterialReactTableProps<TData>) => react_jsx_runtime.JSX.Element;
871
869
 
872
870
  interface Props$i<TData extends Record<string, any> = {}> {
873
871
  table: MRT_TableInstance<TData>;
874
872
  }
875
- declare const MRT_BottomToolbar: <TData extends Record<string, any> = {}>({ table, }: Props$i<TData>) => JSX.Element;
873
+ declare const MRT_BottomToolbar: <TData extends Record<string, any> = {}>({ table, }: Props$i<TData>) => react_jsx_runtime.JSX.Element;
876
874
 
877
875
  interface Props$h<TData extends Record<string, any> = {}> {
878
876
  cell: MRT_Cell<TData>;
879
877
  children: ReactNode;
880
878
  table: MRT_TableInstance<TData>;
881
879
  }
882
- declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$h<TData>) => JSX.Element;
880
+ declare const MRT_CopyButton: <TData extends Record<string, any> = {}>({ cell, children, table, }: Props$h<TData>) => react_jsx_runtime.JSX.Element;
883
881
 
884
882
  interface Props$g<TData extends Record<string, any> = {}> {
885
883
  row: MRT_Row<TData>;
886
884
  table: MRT_TableInstance<TData>;
887
885
  variant?: 'icon' | 'text';
888
886
  }
889
- declare const MRT_EditActionButtons: <TData extends Record<string, any> = {}>({ row, table, variant, }: Props$g<TData>) => JSX.Element;
887
+ declare const MRT_EditActionButtons: <TData extends Record<string, any> = {}>({ row, table, variant, }: Props$g<TData>) => react_jsx_runtime.JSX.Element;
890
888
 
891
889
  interface Props$f<TData extends Record<string, any> = {}> {
892
890
  row: MRT_Row<TData>;
893
891
  table: MRT_TableInstance<TData>;
894
892
  }
895
- declare const MRT_ExpandButton: <TData extends Record<string, any> = {}>({ row, table, }: Props$f<TData>) => JSX.Element;
893
+ declare const MRT_ExpandButton: <TData extends Record<string, any> = {}>({ row, table, }: Props$f<TData>) => react_jsx_runtime.JSX.Element;
896
894
 
897
895
  interface Props$e<TData extends Record<string, any> = {}> {
898
896
  anchorEl: HTMLElement | null;
@@ -902,17 +900,17 @@ interface Props$e<TData extends Record<string, any> = {}> {
902
900
  setFilterValue?: (filterValue: any) => void;
903
901
  table: MRT_TableInstance<TData>;
904
902
  }
905
- declare const MRT_FilterOptionMenu: <TData extends Record<string, any> = {}>({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, }: Props$e<TData>) => JSX.Element;
903
+ declare const MRT_FilterOptionMenu: <TData extends Record<string, any> = {}>({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, }: Props$e<TData>) => react_jsx_runtime.JSX.Element;
906
904
 
907
905
  interface Props$d<TData extends Record<string, any> = {}> extends IconButtonProps {
908
906
  table: MRT_TableInstance<TData>;
909
907
  }
910
- declare const MRT_FullScreenToggleButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$d<TData>) => JSX.Element;
908
+ declare const MRT_FullScreenToggleButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$d<TData>) => react_jsx_runtime.JSX.Element;
911
909
 
912
910
  interface Props$c<TData extends Record<string, any> = {}> {
913
911
  table: MRT_TableInstance<TData>;
914
912
  }
915
- declare const MRT_GlobalFilterTextField: <TData extends Record<string, any> = {}>({ table, }: Props$c<TData>) => JSX.Element;
913
+ declare const MRT_GlobalFilterTextField: <TData extends Record<string, any> = {}>({ table, }: Props$c<TData>) => react_jsx_runtime.JSX.Element;
916
914
 
917
915
  interface Props$b<TData extends Record<string, any> = {}> {
918
916
  iconButtonProps?: IconButtonProps;
@@ -920,66 +918,73 @@ interface Props$b<TData extends Record<string, any> = {}> {
920
918
  onDragEnd: DragEventHandler<HTMLButtonElement>;
921
919
  table: MRT_TableInstance<TData>;
922
920
  }
923
- declare const MRT_GrabHandleButton: <TData extends Record<string, any> = {}>({ iconButtonProps, onDragEnd, onDragStart, table, }: Props$b<TData>) => JSX.Element;
921
+ declare const MRT_GrabHandleButton: <TData extends Record<string, any> = {}>({ iconButtonProps, onDragEnd, onDragStart, table, }: Props$b<TData>) => react_jsx_runtime.JSX.Element;
924
922
 
925
923
  interface Props$a<TData extends Record<string, any> = {}> extends IconButtonProps {
926
924
  table: MRT_TableInstance<TData>;
927
925
  }
928
- declare const MRT_ShowHideColumnsButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$a<TData>) => JSX.Element;
926
+ declare const MRT_ShowHideColumnsButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$a<TData>) => react_jsx_runtime.JSX.Element;
929
927
 
930
928
  interface Props$9 {
931
929
  header: MRT_Header;
932
930
  table: MRT_TableInstance;
933
931
  }
934
- declare const MRT_TableHeadCellFilterContainer: ({ header, table }: Props$9) => JSX.Element;
932
+ declare const MRT_TableHeadCellFilterContainer: ({ header, table }: Props$9) => react_jsx_runtime.JSX.Element;
935
933
 
936
934
  interface Props$8<TData extends Record<string, any> = {}> {
937
935
  position?: 'top' | 'bottom';
938
936
  table: MRT_TableInstance<TData>;
939
937
  }
940
- declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props$8<TData>) => JSX.Element;
938
+ declare const MRT_TablePagination: <TData extends Record<string, any> = {}>({ table, position, }: Props$8<TData>) => react_jsx_runtime.JSX.Element;
941
939
 
942
940
  interface Props$7<TData extends Record<string, any> = {}> extends IconButtonProps {
943
941
  table: MRT_TableInstance<TData>;
944
942
  }
945
- declare const MRT_ToggleDensePaddingButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$7<TData>) => JSX.Element;
943
+ declare const MRT_ToggleDensePaddingButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$7<TData>) => react_jsx_runtime.JSX.Element;
946
944
 
947
945
  interface Props$6<TData extends Record<string, any> = {}> extends IconButtonProps {
948
946
  table: MRT_TableInstance<TData>;
949
947
  }
950
- declare const MRT_ToggleFiltersButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$6<TData>) => JSX.Element;
948
+ declare const MRT_ToggleFiltersButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$6<TData>) => react_jsx_runtime.JSX.Element;
951
949
 
952
950
  interface Props$5<TData extends Record<string, any> = {}> extends IconButtonProps {
953
951
  table: MRT_TableInstance<TData>;
954
952
  }
955
- declare const MRT_ToggleGlobalFilterButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$5<TData>) => JSX.Element;
953
+ declare const MRT_ToggleGlobalFilterButton: <TData extends Record<string, any> = {}>({ table, ...rest }: Props$5<TData>) => react_jsx_runtime.JSX.Element;
956
954
 
957
955
  interface Props$4<TData extends Record<string, any> = {}> {
958
956
  cell: MRT_Cell<TData>;
959
957
  row: MRT_Row<TData>;
960
958
  table: MRT_TableInstance<TData>;
961
959
  }
962
- declare const MRT_ToggleRowActionMenuButton: <TData extends Record<string, any> = {}>({ cell, row, table, }: Props$4<TData>) => JSX.Element;
960
+ declare const MRT_ToggleRowActionMenuButton: <TData extends Record<string, any> = {}>({ cell, row, table, }: Props$4<TData>) => react_jsx_runtime.JSX.Element;
963
961
 
964
962
  interface Props$3<TData extends Record<string, any> = {}> {
965
963
  stackAlertBanner: boolean;
966
964
  table: MRT_TableInstance<TData>;
967
965
  }
968
- declare const MRT_ToolbarAlertBanner: <TData extends Record<string, any> = {}>({ stackAlertBanner, table, }: Props$3<TData>) => JSX.Element;
966
+ declare const MRT_ToolbarAlertBanner: <TData extends Record<string, any> = {}>({ stackAlertBanner, table, }: Props$3<TData>) => react_jsx_runtime.JSX.Element;
969
967
 
970
968
  interface Props$2<TData extends Record<string, any> = {}> {
971
969
  table: MRT_TableInstance<TData>;
972
970
  }
973
- declare const MRT_ToolbarDropZone: <TData extends Record<string, any> = {}>({ table, }: Props$2<TData>) => JSX.Element;
971
+ declare const MRT_ToolbarDropZone: <TData extends Record<string, any> = {}>({ table, }: Props$2<TData>) => react_jsx_runtime.JSX.Element;
974
972
 
975
973
  interface Props$1<TData extends Record<string, any> = {}> {
976
974
  table: MRT_TableInstance<TData>;
977
975
  }
978
- declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props$1<TData>) => JSX.Element;
976
+ declare const MRT_ToolbarInternalButtons: <TData extends Record<string, any> = {}>({ table, }: Props$1<TData>) => react_jsx_runtime.JSX.Element;
979
977
 
980
978
  interface Props<TData extends Record<string, any> = {}> {
981
979
  table: MRT_TableInstance<TData>;
982
980
  }
983
- declare const MRT_TopToolbar: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => JSX.Element;
981
+ declare const MRT_TopToolbar: <TData extends Record<string, any> = {}>({ table, }: Props<TData>) => react_jsx_runtime.JSX.Element;
982
+
983
+ export { MRT_AggregationFn, MRT_AggregationFns, MRT_AggregationOption, MRT_BottomToolbar, MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_CopyButton, MRT_CreateTableFeature, MRT_DefinedColumnDef, MRT_DensityState, MRT_DisplayColumnIds, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFn, MRT_FilterFns, MRT_FilterFnsState, MRT_FilterOption, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_Header, MRT_HeaderGroup, MRT_Icons, MRT_InternalFilterOption, MRT_Localization, MRT_Row, MRT_RowModel, MRT_ShowHideColumnsButton, MRT_SortingFn, MRT_SortingFns, MRT_SortingOption, MRT_TableHeadCellFilterContainer, MRT_TableInstance, MRT_TablePagination, MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTable, MaterialReactTableProps };
984
984
 
985
- export { MRT_AggregationFn, MRT_AggregationFns, MRT_AggregationOption, MRT_BottomToolbar, MRT_Cell, MRT_Column, MRT_ColumnDef, MRT_CopyButton, MRT_CreateTableFeature, MRT_DefinedColumnDef, MRT_DensityState, MRT_DisplayColumnIds, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterFn, MRT_FilterFns, MRT_FilterFnsState, MRT_FilterOption, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_Header, MRT_HeaderGroup, MRT_Icons, MRT_InternalFilterOption, MRT_Localization, MRT_Row, MRT_RowModel, MRT_ShowHideColumnsButton, MRT_SortingFn, MRT_SortingFns, MRT_SortingOption, MRT_TableHeadCellFilterContainer, MRT_TableInstance, MRT_TablePagination, MRT_TableState, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, MaterialReactTableProps, MaterialReactTable as default };
985
+
986
+ /**
987
+ * @deprecated Use `import { MaterialReactTable } from 'material-react-table';` instead
988
+ */
989
+ declare const _default: typeof MaterialReactTable;
990
+ export default _default;
package/locales/cs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_CS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_CS: MRT_Localization;
package/locales/da.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_DA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_DA: MRT_Localization;
package/locales/de.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_DE: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_DE: MRT_Localization;
package/locales/en.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_EN: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_EN: MRT_Localization;
package/locales/es.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '..';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ES: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '..';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ES: MRT_Localization;
package/locales/fa.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FA: MRT_Localization;
package/locales/fi.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FI: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FI: MRT_Localization;
package/locales/fr.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_FR: MRT_Localization;
package/locales/hu.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_HU: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_HU: MRT_Localization;
package/locales/id.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ID: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ID: MRT_Localization;
package/locales/it.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_IT: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_IT: MRT_Localization;
package/locales/ja.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_JA: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_JA: MRT_Localization;
package/locales/nl.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '..';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_NL: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '..';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_NL: MRT_Localization;
package/locales/pl.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PL: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PL: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PT_BR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PT_BR: MRT_Localization;
package/locales/pt.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PT: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_PT: MRT_Localization;
package/locales/ro.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_RO: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_RO: MRT_Localization;
package/locales/ru.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_RU: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_RU: MRT_Localization;
package/locales/sk.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SK: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SK: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SR_CYRL_RS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SR_LATN_RS: MRT_Localization;
package/locales/sv.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SV: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_SV: MRT_Localization;
package/locales/tr.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_TR: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_TR: MRT_Localization;
package/locales/uk.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_UK: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_UK: MRT_Localization;
package/locales/vi.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_VI: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_VI: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ZH_HANS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ZH_HANS: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ZH_HANT: MRT_Localization;
@@ -1,2 +1,2 @@
1
- import type { MRT_Localization } from '../MaterialReactTable';
1
+ import { type MRT_Localization } from '../types';
2
2
  export declare const MRT_Localization_ZH_HANT: MRT_Localization;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.11.4",
2
+ "version": "1.12.0-beta.0",
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.",
@@ -50,30 +50,45 @@
50
50
  "build-no-locales": "pnpm lib:build-no-locales",
51
51
  "dev": "pnpm lib:dev",
52
52
  "lib:build": "rm -rf dist && pnpm build-no-locales && pnpm build-locales",
53
- "lib:build-locales": "export NODE_OPTIONS=--max_old_space_size=8096 && rm -rf locales && rollup -c rollup-locales.config.mjs",
53
+ "lib:build-locales": "rm -rf locales && node build-locales.mjs",
54
54
  "lib:build-no-locales": "rm -rf dist && rollup -c rollup.config.mjs && size-limit",
55
55
  "lib:dev": "rollup -c rollup.config.mjs --watch",
56
56
  "lint": "eslint .",
57
- "size": "size-limit"
57
+ "size": "size-limit",
58
+ "storybook": "pnpm storybook:dev",
59
+ "storybook:build": "storybook build",
60
+ "storybook:dev": "storybook dev -p 6006"
58
61
  },
59
62
  "devDependencies": {
60
- "@babel/core": "^7.21.8",
61
- "@babel/preset-react": "^7.18.6",
62
- "@emotion/react": "^11.10.8",
63
- "@emotion/styled": "^11.10.8",
63
+ "@babel/core": "^7.22.1",
64
+ "@babel/preset-react": "^7.22.3",
65
+ "@emotion/react": "^11.11.0",
66
+ "@emotion/styled": "^11.11.0",
67
+ "@faker-js/faker": "^8.0.1",
64
68
  "@mui/icons-material": "^5.11.16",
65
- "@mui/material": "^5.12.3",
69
+ "@mui/material": "^5.13.2",
66
70
  "@rollup/plugin-babel": "^6.0.3",
67
71
  "@rollup/plugin-node-resolve": "^15.0.2",
68
- "@rollup/plugin-typescript": "^11.1.0",
72
+ "@rollup/plugin-typescript": "^11.1.1",
69
73
  "@size-limit/preset-small-lib": "^8.2.4",
70
- "@types/node": "^18.16.3",
71
- "@types/react": "^18.2.0",
72
- "@types/react-dom": "^18.2.1",
73
- "@typescript-eslint/eslint-plugin": "^5.59.2",
74
- "@typescript-eslint/parser": "^5.59.2",
75
- "eslint": "^8.39.0",
74
+ "@storybook/addon-a11y": "^7.0.18",
75
+ "@storybook/addon-essentials": "^7.0.18",
76
+ "@storybook/addon-interactions": "^7.0.18",
77
+ "@storybook/addon-links": "^7.0.18",
78
+ "@storybook/addon-storysource": "^7.0.18",
79
+ "@storybook/blocks": "^7.0.18",
80
+ "@storybook/react": "^7.0.18",
81
+ "@storybook/react-vite": "^7.0.18",
82
+ "@storybook/testing-library": "^0.1.0",
83
+ "@types/node": "^20.2.5",
84
+ "@types/react": "^18.2.7",
85
+ "@types/react-dom": "^18.2.4",
86
+ "@typescript-eslint/eslint-plugin": "^5.59.7",
87
+ "@typescript-eslint/parser": "^5.59.7",
88
+ "@vitejs/plugin-react": "^4.0.0",
89
+ "eslint": "^8.41.0",
76
90
  "eslint-plugin-mui-path-imports": "^0.0.15",
91
+ "prop-types": "^15.8.1",
77
92
  "react": "^18.2.0",
78
93
  "react-dom": "^18.2.0",
79
94
  "react-is": "^18.2.0",
@@ -82,8 +97,11 @@
82
97
  "rollup-plugin-dts": "^5.3.0",
83
98
  "rollup-plugin-peer-deps-external": "^2.2.4",
84
99
  "size-limit": "^8.2.4",
85
- "tslib": "^2.5.0",
86
- "typescript": "^5.0.4"
100
+ "storybook": "^7.0.18",
101
+ "storybook-dark-mode": "^3.0.0",
102
+ "tslib": "^2.5.2",
103
+ "typescript": "^5.0.4",
104
+ "vite": "^4.3.9"
87
105
  },
88
106
  "peerDependencies": {
89
107
  "@emotion/react": ">=11",