material-react-table 1.11.5 → 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 (370) hide show
  1. package/dist/cjs/index.js +191 -190
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/MaterialReactTable.d.ts +4 -743
  4. package/dist/cjs/types/_locales/cs.d.ts +1 -1
  5. package/dist/cjs/types/_locales/da.d.ts +1 -1
  6. package/dist/cjs/types/_locales/de.d.ts +1 -1
  7. package/dist/cjs/types/_locales/en.d.ts +1 -1
  8. package/dist/cjs/types/_locales/es.d.ts +1 -1
  9. package/dist/cjs/types/_locales/fa.d.ts +1 -1
  10. package/dist/cjs/types/_locales/fi.d.ts +1 -1
  11. package/dist/cjs/types/_locales/fr.d.ts +1 -1
  12. package/dist/cjs/types/_locales/hu.d.ts +1 -1
  13. package/dist/cjs/types/_locales/id.d.ts +1 -1
  14. package/dist/cjs/types/_locales/it.d.ts +1 -1
  15. package/dist/cjs/types/_locales/ja.d.ts +1 -1
  16. package/dist/cjs/types/_locales/nl.d.ts +1 -1
  17. package/dist/cjs/types/_locales/pl.d.ts +1 -1
  18. package/dist/cjs/types/_locales/pt-BR.d.ts +1 -1
  19. package/dist/cjs/types/_locales/pt.d.ts +1 -1
  20. package/dist/cjs/types/_locales/ro.d.ts +1 -1
  21. package/dist/cjs/types/_locales/ru.d.ts +1 -1
  22. package/dist/cjs/types/_locales/sk.d.ts +1 -1
  23. package/dist/cjs/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  24. package/dist/cjs/types/_locales/sr-Latn-RS.d.ts +1 -1
  25. package/dist/cjs/types/_locales/sv.d.ts +1 -1
  26. package/dist/cjs/types/_locales/tr.d.ts +1 -1
  27. package/dist/cjs/types/_locales/uk.d.ts +1 -1
  28. package/dist/cjs/types/_locales/vi.d.ts +1 -1
  29. package/dist/cjs/types/_locales/zh-Hans.d.ts +1 -1
  30. package/dist/cjs/types/_locales/zh-Hant.d.ts +1 -1
  31. package/dist/cjs/types/body/MRT_EditRowModal.d.ts +1 -1
  32. package/dist/cjs/types/body/MRT_TableBody.d.ts +1 -1
  33. package/dist/cjs/types/body/MRT_TableBodyCell.d.ts +3 -3
  34. package/dist/cjs/types/body/MRT_TableBodyCellValue.d.ts +1 -1
  35. package/dist/cjs/types/body/MRT_TableBodyRow.d.ts +2 -2
  36. package/dist/cjs/types/body/MRT_TableBodyRowGrabHandle.d.ts +2 -2
  37. package/dist/cjs/types/body/MRT_TableDetailPanel.d.ts +2 -2
  38. package/dist/cjs/types/buttons/MRT_ColumnPinningButtons.d.ts +1 -1
  39. package/dist/cjs/types/buttons/MRT_CopyButton.d.ts +2 -2
  40. package/dist/cjs/types/buttons/MRT_EditActionButtons.d.ts +1 -1
  41. package/dist/cjs/types/buttons/MRT_ExpandAllButton.d.ts +1 -1
  42. package/dist/cjs/types/buttons/MRT_ExpandButton.d.ts +1 -1
  43. package/dist/cjs/types/buttons/MRT_FullScreenToggleButton.d.ts +2 -2
  44. package/dist/cjs/types/buttons/MRT_GrabHandleButton.d.ts +3 -3
  45. package/dist/cjs/types/buttons/MRT_ShowHideColumnsButton.d.ts +2 -2
  46. package/dist/cjs/types/buttons/MRT_ToggleDensePaddingButton.d.ts +2 -2
  47. package/dist/cjs/types/buttons/MRT_ToggleFiltersButton.d.ts +2 -2
  48. package/dist/cjs/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +2 -2
  49. package/dist/cjs/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +1 -1
  50. package/dist/cjs/types/column.utils.d.ts +10 -10
  51. package/dist/cjs/types/filterFns.d.ts +1 -1
  52. package/dist/cjs/types/footer/MRT_TableFooter.d.ts +2 -2
  53. package/dist/cjs/types/footer/MRT_TableFooterCell.d.ts +1 -1
  54. package/dist/cjs/types/footer/MRT_TableFooterRow.d.ts +2 -2
  55. package/dist/cjs/types/head/MRT_TableHead.d.ts +2 -2
  56. package/dist/cjs/types/head/MRT_TableHeadCell.d.ts +1 -1
  57. package/dist/cjs/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +1 -1
  58. package/dist/cjs/types/head/MRT_TableHeadCellFilterContainer.d.ts +1 -1
  59. package/dist/cjs/types/head/MRT_TableHeadCellFilterLabel.d.ts +1 -1
  60. package/dist/cjs/types/head/MRT_TableHeadCellGrabHandle.d.ts +2 -2
  61. package/dist/cjs/types/head/MRT_TableHeadCellResizeHandle.d.ts +1 -1
  62. package/dist/cjs/types/head/MRT_TableHeadCellSortLabel.d.ts +2 -2
  63. package/dist/cjs/types/head/MRT_TableHeadRow.d.ts +2 -2
  64. package/dist/cjs/types/index.d.ts +6 -4
  65. package/dist/cjs/types/inputs/MRT_EditCellTextField.d.ts +1 -1
  66. package/dist/cjs/types/inputs/MRT_FilterCheckbox.d.ts +1 -1
  67. package/dist/cjs/types/inputs/MRT_FilterRangeFields.d.ts +1 -1
  68. package/dist/cjs/types/inputs/MRT_FilterTextField.d.ts +1 -1
  69. package/dist/cjs/types/inputs/MRT_GlobalFilterTextField.d.ts +1 -1
  70. package/dist/cjs/types/inputs/MRT_SelectCheckbox.d.ts +1 -1
  71. package/dist/cjs/types/menus/MRT_ColumnActionMenu.d.ts +1 -1
  72. package/dist/cjs/types/menus/MRT_FilterOptionMenu.d.ts +1 -1
  73. package/dist/cjs/types/menus/MRT_RowActionMenu.d.ts +2 -2
  74. package/dist/cjs/types/menus/MRT_ShowHideColumnsMenu.d.ts +1 -1
  75. package/dist/cjs/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +2 -2
  76. package/dist/cjs/types/sortingFns.d.ts +17 -17
  77. package/dist/cjs/types/table/MRT_Table.d.ts +1 -1
  78. package/dist/cjs/types/table/MRT_TableContainer.d.ts +1 -1
  79. package/dist/cjs/types/table/MRT_TablePaper.d.ts +1 -1
  80. package/dist/cjs/types/toolbar/MRT_BottomToolbar.d.ts +1 -1
  81. package/dist/cjs/types/toolbar/MRT_LinearProgressBar.d.ts +1 -1
  82. package/dist/cjs/types/toolbar/MRT_TablePagination.d.ts +1 -1
  83. package/dist/cjs/types/toolbar/MRT_ToolbarAlertBanner.d.ts +1 -1
  84. package/dist/cjs/types/toolbar/MRT_ToolbarDropZone.d.ts +1 -1
  85. package/dist/cjs/types/toolbar/MRT_ToolbarInternalButtons.d.ts +1 -1
  86. package/dist/cjs/types/toolbar/MRT_TopToolbar.d.ts +2 -2
  87. package/dist/cjs/types/types.d.ts +745 -0
  88. package/dist/esm/material-react-table.esm.js +191 -191
  89. package/dist/esm/material-react-table.esm.js.map +1 -1
  90. package/dist/esm/types/MaterialReactTable.d.ts +4 -743
  91. package/dist/esm/types/_locales/cs.d.ts +1 -1
  92. package/dist/esm/types/_locales/da.d.ts +1 -1
  93. package/dist/esm/types/_locales/de.d.ts +1 -1
  94. package/dist/esm/types/_locales/en.d.ts +1 -1
  95. package/dist/esm/types/_locales/es.d.ts +1 -1
  96. package/dist/esm/types/_locales/fa.d.ts +1 -1
  97. package/dist/esm/types/_locales/fi.d.ts +1 -1
  98. package/dist/esm/types/_locales/fr.d.ts +1 -1
  99. package/dist/esm/types/_locales/hu.d.ts +1 -1
  100. package/dist/esm/types/_locales/id.d.ts +1 -1
  101. package/dist/esm/types/_locales/it.d.ts +1 -1
  102. package/dist/esm/types/_locales/ja.d.ts +1 -1
  103. package/dist/esm/types/_locales/nl.d.ts +1 -1
  104. package/dist/esm/types/_locales/pl.d.ts +1 -1
  105. package/dist/esm/types/_locales/pt-BR.d.ts +1 -1
  106. package/dist/esm/types/_locales/pt.d.ts +1 -1
  107. package/dist/esm/types/_locales/ro.d.ts +1 -1
  108. package/dist/esm/types/_locales/ru.d.ts +1 -1
  109. package/dist/esm/types/_locales/sk.d.ts +1 -1
  110. package/dist/esm/types/_locales/sr-Cyrl-RS.d.ts +1 -1
  111. package/dist/esm/types/_locales/sr-Latn-RS.d.ts +1 -1
  112. package/dist/esm/types/_locales/sv.d.ts +1 -1
  113. package/dist/esm/types/_locales/tr.d.ts +1 -1
  114. package/dist/esm/types/_locales/uk.d.ts +1 -1
  115. package/dist/esm/types/_locales/vi.d.ts +1 -1
  116. package/dist/esm/types/_locales/zh-Hans.d.ts +1 -1
  117. package/dist/esm/types/_locales/zh-Hant.d.ts +1 -1
  118. package/dist/esm/types/body/MRT_EditRowModal.d.ts +1 -1
  119. package/dist/esm/types/body/MRT_TableBody.d.ts +1 -1
  120. package/dist/esm/types/body/MRT_TableBodyCell.d.ts +3 -3
  121. package/dist/esm/types/body/MRT_TableBodyCellValue.d.ts +1 -1
  122. package/dist/esm/types/body/MRT_TableBodyRow.d.ts +2 -2
  123. package/dist/esm/types/body/MRT_TableBodyRowGrabHandle.d.ts +2 -2
  124. package/dist/esm/types/body/MRT_TableDetailPanel.d.ts +2 -2
  125. package/dist/esm/types/buttons/MRT_ColumnPinningButtons.d.ts +1 -1
  126. package/dist/esm/types/buttons/MRT_CopyButton.d.ts +2 -2
  127. package/dist/esm/types/buttons/MRT_EditActionButtons.d.ts +1 -1
  128. package/dist/esm/types/buttons/MRT_ExpandAllButton.d.ts +1 -1
  129. package/dist/esm/types/buttons/MRT_ExpandButton.d.ts +1 -1
  130. package/dist/esm/types/buttons/MRT_FullScreenToggleButton.d.ts +2 -2
  131. package/dist/esm/types/buttons/MRT_GrabHandleButton.d.ts +3 -3
  132. package/dist/esm/types/buttons/MRT_ShowHideColumnsButton.d.ts +2 -2
  133. package/dist/esm/types/buttons/MRT_ToggleDensePaddingButton.d.ts +2 -2
  134. package/dist/esm/types/buttons/MRT_ToggleFiltersButton.d.ts +2 -2
  135. package/dist/esm/types/buttons/MRT_ToggleGlobalFilterButton.d.ts +2 -2
  136. package/dist/esm/types/buttons/MRT_ToggleRowActionMenuButton.d.ts +1 -1
  137. package/dist/esm/types/column.utils.d.ts +10 -10
  138. package/dist/esm/types/filterFns.d.ts +1 -1
  139. package/dist/esm/types/footer/MRT_TableFooter.d.ts +2 -2
  140. package/dist/esm/types/footer/MRT_TableFooterCell.d.ts +1 -1
  141. package/dist/esm/types/footer/MRT_TableFooterRow.d.ts +2 -2
  142. package/dist/esm/types/head/MRT_TableHead.d.ts +2 -2
  143. package/dist/esm/types/head/MRT_TableHeadCell.d.ts +1 -1
  144. package/dist/esm/types/head/MRT_TableHeadCellColumnActionsButton.d.ts +1 -1
  145. package/dist/esm/types/head/MRT_TableHeadCellFilterContainer.d.ts +1 -1
  146. package/dist/esm/types/head/MRT_TableHeadCellFilterLabel.d.ts +1 -1
  147. package/dist/esm/types/head/MRT_TableHeadCellGrabHandle.d.ts +2 -2
  148. package/dist/esm/types/head/MRT_TableHeadCellResizeHandle.d.ts +1 -1
  149. package/dist/esm/types/head/MRT_TableHeadCellSortLabel.d.ts +2 -2
  150. package/dist/esm/types/head/MRT_TableHeadRow.d.ts +2 -2
  151. package/dist/esm/types/index.d.ts +6 -4
  152. package/dist/esm/types/inputs/MRT_EditCellTextField.d.ts +1 -1
  153. package/dist/esm/types/inputs/MRT_FilterCheckbox.d.ts +1 -1
  154. package/dist/esm/types/inputs/MRT_FilterRangeFields.d.ts +1 -1
  155. package/dist/esm/types/inputs/MRT_FilterTextField.d.ts +1 -1
  156. package/dist/esm/types/inputs/MRT_GlobalFilterTextField.d.ts +1 -1
  157. package/dist/esm/types/inputs/MRT_SelectCheckbox.d.ts +1 -1
  158. package/dist/esm/types/menus/MRT_ColumnActionMenu.d.ts +1 -1
  159. package/dist/esm/types/menus/MRT_FilterOptionMenu.d.ts +1 -1
  160. package/dist/esm/types/menus/MRT_RowActionMenu.d.ts +2 -2
  161. package/dist/esm/types/menus/MRT_ShowHideColumnsMenu.d.ts +1 -1
  162. package/dist/esm/types/menus/MRT_ShowHideColumnsMenuItems.d.ts +2 -2
  163. package/dist/esm/types/sortingFns.d.ts +17 -17
  164. package/dist/esm/types/table/MRT_Table.d.ts +1 -1
  165. package/dist/esm/types/table/MRT_TableContainer.d.ts +1 -1
  166. package/dist/esm/types/table/MRT_TablePaper.d.ts +1 -1
  167. package/dist/esm/types/toolbar/MRT_BottomToolbar.d.ts +1 -1
  168. package/dist/esm/types/toolbar/MRT_LinearProgressBar.d.ts +1 -1
  169. package/dist/esm/types/toolbar/MRT_TablePagination.d.ts +1 -1
  170. package/dist/esm/types/toolbar/MRT_ToolbarAlertBanner.d.ts +1 -1
  171. package/dist/esm/types/toolbar/MRT_ToolbarDropZone.d.ts +1 -1
  172. package/dist/esm/types/toolbar/MRT_ToolbarInternalButtons.d.ts +1 -1
  173. package/dist/esm/types/toolbar/MRT_TopToolbar.d.ts +2 -2
  174. package/dist/esm/types/types.d.ts +745 -0
  175. package/dist/index.d.ts +19 -14
  176. package/locales/cs.d.ts +1 -1
  177. package/locales/cs.esm.d.ts +1 -1
  178. package/locales/cs.esm.js +89 -91
  179. package/locales/cs.js +89 -91
  180. package/locales/da.d.ts +1 -1
  181. package/locales/da.esm.d.ts +1 -1
  182. package/locales/da.esm.js +89 -90
  183. package/locales/da.js +89 -90
  184. package/locales/de.d.ts +1 -1
  185. package/locales/de.esm.d.ts +1 -1
  186. package/locales/de.esm.js +89 -90
  187. package/locales/de.js +89 -90
  188. package/locales/en.d.ts +1 -1
  189. package/locales/en.esm.d.ts +1 -1
  190. package/locales/en.esm.js +89 -90
  191. package/locales/en.js +89 -90
  192. package/locales/es.d.ts +1 -1
  193. package/locales/es.esm.d.ts +1 -1
  194. package/locales/es.esm.js +89 -90
  195. package/locales/es.js +89 -90
  196. package/locales/fa.d.ts +1 -1
  197. package/locales/fa.esm.d.ts +1 -1
  198. package/locales/fa.esm.js +89 -90
  199. package/locales/fa.js +89 -90
  200. package/locales/fi.d.ts +1 -1
  201. package/locales/fi.esm.d.ts +1 -1
  202. package/locales/fi.esm.js +89 -91
  203. package/locales/fi.js +89 -91
  204. package/locales/fr.d.ts +1 -1
  205. package/locales/fr.esm.d.ts +1 -1
  206. package/locales/fr.esm.js +89 -90
  207. package/locales/fr.js +89 -90
  208. package/locales/hu.d.ts +1 -1
  209. package/locales/hu.esm.d.ts +1 -1
  210. package/locales/hu.esm.js +89 -90
  211. package/locales/hu.js +89 -90
  212. package/locales/id.d.ts +1 -1
  213. package/locales/id.esm.d.ts +1 -1
  214. package/locales/id.esm.js +89 -91
  215. package/locales/id.js +89 -91
  216. package/locales/it.d.ts +1 -1
  217. package/locales/it.esm.d.ts +1 -1
  218. package/locales/it.esm.js +89 -90
  219. package/locales/it.js +89 -90
  220. package/locales/ja.d.ts +1 -1
  221. package/locales/ja.esm.d.ts +1 -1
  222. package/locales/ja.esm.js +89 -90
  223. package/locales/ja.js +89 -90
  224. package/locales/nl.d.ts +1 -1
  225. package/locales/nl.esm.d.ts +1 -1
  226. package/locales/nl.esm.js +89 -90
  227. package/locales/nl.js +89 -90
  228. package/locales/pl.d.ts +1 -1
  229. package/locales/pl.esm.d.ts +1 -1
  230. package/locales/pl.esm.js +89 -90
  231. package/locales/pl.js +89 -90
  232. package/locales/pt-BR.d.ts +1 -1
  233. package/locales/pt-BR.esm.d.ts +1 -1
  234. package/locales/pt-BR.esm.js +89 -90
  235. package/locales/pt-BR.js +89 -90
  236. package/locales/pt.d.ts +1 -1
  237. package/locales/pt.esm.d.ts +1 -1
  238. package/locales/pt.esm.js +89 -90
  239. package/locales/pt.js +89 -90
  240. package/locales/ro.d.ts +1 -1
  241. package/locales/ro.esm.d.ts +1 -1
  242. package/locales/ro.esm.js +89 -90
  243. package/locales/ro.js +89 -90
  244. package/locales/ru.d.ts +1 -1
  245. package/locales/ru.esm.d.ts +1 -1
  246. package/locales/ru.esm.js +89 -90
  247. package/locales/ru.js +89 -90
  248. package/locales/sk.d.ts +1 -1
  249. package/locales/sk.esm.d.ts +1 -1
  250. package/locales/sk.esm.js +89 -91
  251. package/locales/sk.js +89 -91
  252. package/locales/sr-Cyrl-RS.d.ts +1 -1
  253. package/locales/sr-Cyrl-RS.esm.d.ts +1 -1
  254. package/locales/sr-Cyrl-RS.esm.js +89 -90
  255. package/locales/sr-Cyrl-RS.js +89 -90
  256. package/locales/sr-Latn-RS.d.ts +1 -1
  257. package/locales/sr-Latn-RS.esm.d.ts +1 -1
  258. package/locales/sr-Latn-RS.esm.js +89 -90
  259. package/locales/sr-Latn-RS.js +89 -90
  260. package/locales/sv.d.ts +1 -1
  261. package/locales/sv.esm.d.ts +1 -1
  262. package/locales/sv.esm.js +89 -90
  263. package/locales/sv.js +89 -90
  264. package/locales/tr.d.ts +1 -1
  265. package/locales/tr.esm.d.ts +1 -1
  266. package/locales/tr.esm.js +89 -90
  267. package/locales/tr.js +89 -90
  268. package/locales/uk.d.ts +1 -1
  269. package/locales/uk.esm.d.ts +1 -1
  270. package/locales/uk.esm.js +89 -90
  271. package/locales/uk.js +89 -90
  272. package/locales/vi.d.ts +1 -1
  273. package/locales/vi.esm.d.ts +1 -1
  274. package/locales/vi.esm.js +89 -90
  275. package/locales/vi.js +89 -90
  276. package/locales/zh-Hans.d.ts +1 -1
  277. package/locales/zh-Hans.esm.d.ts +1 -1
  278. package/locales/zh-Hans.esm.js +89 -89
  279. package/locales/zh-Hans.js +89 -89
  280. package/locales/zh-Hant.d.ts +1 -1
  281. package/locales/zh-Hant.esm.d.ts +1 -1
  282. package/locales/zh-Hant.esm.js +89 -89
  283. package/locales/zh-Hant.js +89 -89
  284. package/package.json +15 -15
  285. package/src/MaterialReactTable.tsx +10 -984
  286. package/src/_locales/cs.ts +1 -1
  287. package/src/_locales/da.ts +1 -1
  288. package/src/_locales/de.ts +1 -1
  289. package/src/_locales/en.ts +1 -1
  290. package/src/_locales/es.ts +1 -1
  291. package/src/_locales/fa.ts +1 -1
  292. package/src/_locales/fi.ts +1 -1
  293. package/src/_locales/fr.ts +1 -1
  294. package/src/_locales/hu.ts +1 -1
  295. package/src/_locales/id.ts +1 -1
  296. package/src/_locales/it.ts +1 -1
  297. package/src/_locales/ja.ts +1 -1
  298. package/src/_locales/nl.ts +1 -1
  299. package/src/_locales/pl.ts +1 -1
  300. package/src/_locales/pt-BR.ts +1 -1
  301. package/src/_locales/pt.ts +1 -1
  302. package/src/_locales/ro.ts +1 -1
  303. package/src/_locales/ru.ts +1 -1
  304. package/src/_locales/sk.ts +1 -1
  305. package/src/_locales/sr-Cyrl-RS.ts +1 -1
  306. package/src/_locales/sr-Latn-RS.ts +1 -1
  307. package/src/_locales/sv.ts +1 -1
  308. package/src/_locales/tr.ts +1 -1
  309. package/src/_locales/uk.ts +1 -1
  310. package/src/_locales/vi.ts +1 -1
  311. package/src/_locales/zh-Hans.ts +1 -1
  312. package/src/_locales/zh-Hant.ts +1 -1
  313. package/src/body/MRT_EditRowModal.tsx +1 -1
  314. package/src/body/MRT_TableBody.tsx +1 -1
  315. package/src/body/MRT_TableBodyCell.tsx +5 -5
  316. package/src/body/MRT_TableBodyCellValue.tsx +2 -2
  317. package/src/body/MRT_TableBodyRow.tsx +3 -3
  318. package/src/body/MRT_TableBodyRowGrabHandle.tsx +2 -2
  319. package/src/body/MRT_TableDetailPanel.tsx +2 -2
  320. package/src/buttons/MRT_ColumnPinningButtons.tsx +1 -1
  321. package/src/buttons/MRT_CopyButton.tsx +2 -2
  322. package/src/buttons/MRT_EditActionButtons.tsx +1 -1
  323. package/src/buttons/MRT_ExpandAllButton.tsx +1 -1
  324. package/src/buttons/MRT_ExpandButton.tsx +2 -2
  325. package/src/buttons/MRT_FullScreenToggleButton.tsx +2 -2
  326. package/src/buttons/MRT_GrabHandleButton.tsx +3 -3
  327. package/src/buttons/MRT_ShowHideColumnsButton.tsx +3 -3
  328. package/src/buttons/MRT_ToggleDensePaddingButton.tsx +2 -2
  329. package/src/buttons/MRT_ToggleFiltersButton.tsx +2 -2
  330. package/src/buttons/MRT_ToggleGlobalFilterButton.tsx +2 -2
  331. package/src/buttons/MRT_ToggleRowActionMenuButton.tsx +2 -2
  332. package/src/column.utils.ts +19 -19
  333. package/src/filterFns.ts +1 -1
  334. package/src/footer/MRT_TableFooter.tsx +2 -2
  335. package/src/footer/MRT_TableFooterCell.tsx +1 -1
  336. package/src/footer/MRT_TableFooterRow.tsx +2 -2
  337. package/src/head/MRT_TableHead.tsx +2 -2
  338. package/src/head/MRT_TableHeadCell.tsx +3 -3
  339. package/src/head/MRT_TableHeadCellColumnActionsButton.tsx +2 -2
  340. package/src/head/MRT_TableHeadCellFilterContainer.tsx +1 -1
  341. package/src/head/MRT_TableHeadCellFilterLabel.tsx +2 -2
  342. package/src/head/MRT_TableHeadCellGrabHandle.tsx +2 -2
  343. package/src/head/MRT_TableHeadCellResizeHandle.tsx +1 -1
  344. package/src/head/MRT_TableHeadCellSortLabel.tsx +2 -2
  345. package/src/head/MRT_TableHeadRow.tsx +2 -2
  346. package/src/index.tsx +7 -5
  347. package/src/inputs/MRT_EditCellTextField.tsx +3 -3
  348. package/src/inputs/MRT_FilterCheckbox.tsx +2 -2
  349. package/src/inputs/MRT_FilterRangeFields.tsx +1 -1
  350. package/src/inputs/MRT_FilterTextField.tsx +4 -4
  351. package/src/inputs/MRT_GlobalFilterTextField.tsx +3 -3
  352. package/src/inputs/MRT_SelectCheckbox.tsx +3 -3
  353. package/src/menus/MRT_ColumnActionMenu.tsx +1 -1
  354. package/src/menus/MRT_FilterOptionMenu.tsx +7 -7
  355. package/src/menus/MRT_RowActionMenu.tsx +2 -2
  356. package/src/menus/MRT_ShowHideColumnsMenu.tsx +1 -1
  357. package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +2 -2
  358. package/src/sortingFns.ts +1 -1
  359. package/src/table/MRT_Table.tsx +1 -1
  360. package/src/table/MRT_TableContainer.tsx +1 -1
  361. package/src/table/MRT_TablePaper.tsx +1 -1
  362. package/src/table/MRT_TableRoot.tsx +15 -15
  363. package/src/toolbar/MRT_BottomToolbar.tsx +1 -1
  364. package/src/toolbar/MRT_LinearProgressBar.tsx +1 -1
  365. package/src/toolbar/MRT_TablePagination.tsx +2 -2
  366. package/src/toolbar/MRT_ToolbarAlertBanner.tsx +1 -1
  367. package/src/toolbar/MRT_ToolbarDropZone.tsx +2 -2
  368. package/src/toolbar/MRT_ToolbarInternalButtons.tsx +1 -1
  369. package/src/toolbar/MRT_TopToolbar.tsx +2 -2
  370. package/src/types.ts +981 -0
@@ -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_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_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_EN: 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;
@@ -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_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_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_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_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_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_JA: 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;
@@ -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: 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;
@@ -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_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_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_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_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_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_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_HANT: MRT_Localization;
@@ -1,4 +1,4 @@
1
- import type { MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  open: boolean;
4
4
  row: MRT_Row<TData>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type VirtualItem, type Virtualizer } from '@tanstack/react-virtual';
3
- import type { MRT_TableInstance } from '..';
3
+ import { type MRT_TableInstance } from '../types';
4
4
  interface Props {
5
5
  columnVirtualizer?: Virtualizer<HTMLDivElement, HTMLTableCellElement>;
6
6
  table: MRT_TableInstance;
@@ -1,6 +1,6 @@
1
- import { RefObject } from 'react';
2
- import type { VirtualItem } from '@tanstack/react-virtual';
3
- import type { MRT_Cell, MRT_TableInstance } from '..';
1
+ import { type RefObject } from 'react';
2
+ import { type VirtualItem } from '@tanstack/react-virtual';
3
+ import { type MRT_Cell, type MRT_TableInstance } from '../types';
4
4
  interface Props {
5
5
  cell: MRT_Cell;
6
6
  measureElement?: (element: HTMLTableCellElement) => void;
@@ -1,4 +1,4 @@
1
- import type { MRT_Cell, MRT_TableInstance } from '..';
1
+ import { type MRT_Cell, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  cell: MRT_Cell;
4
4
  table: MRT_TableInstance;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import type { VirtualItem, Virtualizer } from '@tanstack/react-virtual';
3
- import type { MRT_Row, MRT_TableInstance } from '..';
2
+ import { type VirtualItem, type Virtualizer } from '@tanstack/react-virtual';
3
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
4
4
  interface Props {
5
5
  columnVirtualizer?: Virtualizer<HTMLDivElement, HTMLTableCellElement>;
6
6
  measureElement?: (element: HTMLTableRowElement) => void;
@@ -1,5 +1,5 @@
1
- import { RefObject } from 'react';
2
- import { MRT_Cell, MRT_TableInstance } from '..';
1
+ import { type RefObject } from 'react';
2
+ import { type MRT_Cell, type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  cell: MRT_Cell;
5
5
  rowRef: RefObject<HTMLTableRowElement>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { VirtualItem } from '@tanstack/react-virtual';
3
- import type { MRT_Row, MRT_TableInstance } from '..';
2
+ import { type VirtualItem } from '@tanstack/react-virtual';
3
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
4
4
  interface Props {
5
5
  parentRowRef: React.RefObject<HTMLTableRowElement>;
6
6
  row: MRT_Row;
@@ -1,4 +1,4 @@
1
- import type { MRT_Column, MRT_TableInstance } from '..';
1
+ import { type MRT_Column, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  column: MRT_Column<TData>;
4
4
  table: MRT_TableInstance<TData>;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { MRT_Cell, MRT_TableInstance } from '..';
1
+ import { type ReactNode } from 'react';
2
+ import { type MRT_Cell, type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> {
4
4
  cell: MRT_Cell<TData>;
5
5
  children: ReactNode;
@@ -1,4 +1,4 @@
1
- import type { MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  row: MRT_Row<TData>;
4
4
  table: MRT_TableInstance<TData>;
@@ -1,4 +1,4 @@
1
- import type { MRT_TableInstance } from '..';
1
+ import { type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  table: MRT_TableInstance;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  row: MRT_Row<TData>;
4
4
  table: MRT_TableInstance<TData>;
@@ -1,5 +1,5 @@
1
- import type { IconButtonProps } from '@mui/material/IconButton';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> extends IconButtonProps {
4
4
  table: MRT_TableInstance<TData>;
5
5
  }
@@ -1,6 +1,6 @@
1
- import { DragEventHandler } from 'react';
2
- import type { IconButtonProps } from '@mui/material/IconButton';
3
- import type { MRT_TableInstance } from '..';
1
+ import { type DragEventHandler } from 'react';
2
+ import { type IconButtonProps } from '@mui/material/IconButton';
3
+ import { type MRT_TableInstance } from '../types';
4
4
  interface Props<TData extends Record<string, any> = {}> {
5
5
  iconButtonProps?: IconButtonProps;
6
6
  onDragStart: DragEventHandler<HTMLButtonElement>;
@@ -1,5 +1,5 @@
1
- import type { IconButtonProps } from '@mui/material/IconButton';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> extends IconButtonProps {
4
4
  table: MRT_TableInstance<TData>;
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { IconButtonProps } from '@mui/material/IconButton';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> extends IconButtonProps {
4
4
  table: MRT_TableInstance<TData>;
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { IconButtonProps } from '@mui/material/IconButton';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> extends IconButtonProps {
4
4
  table: MRT_TableInstance<TData>;
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { IconButtonProps } from '@mui/material/IconButton';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> extends IconButtonProps {
4
4
  table: MRT_TableInstance<TData>;
5
5
  }
@@ -1,4 +1,4 @@
1
- import type { MRT_Cell, MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MRT_Cell, type MRT_Row, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  cell: MRT_Cell<TData>;
4
4
  row: MRT_Row<TData>;
@@ -1,10 +1,10 @@
1
- import { MRT_AggregationFns } from './aggregationFns';
2
- import { MRT_FilterFns } from './filterFns';
3
- import { MRT_SortingFns } from './sortingFns';
4
- import type { Row } from '@tanstack/react-table';
5
- import type { TableCellProps } from '@mui/material/TableCell';
6
- import type { Theme } from '@mui/material/styles';
7
- import type { MaterialReactTableProps, MRT_Column, MRT_ColumnDef, MRT_ColumnOrderState, MRT_DefinedColumnDef, MRT_DisplayColumnIds, MRT_FilterOption, MRT_GroupingState, MRT_Header, MRT_TableInstance } from '.';
1
+ import { type MRT_AggregationFns } from './aggregationFns';
2
+ import { type MRT_FilterFns } from './filterFns';
3
+ import { type MRT_SortingFns } from './sortingFns';
4
+ import { type Row } from '@tanstack/react-table';
5
+ import { type TableCellProps } from '@mui/material/TableCell';
6
+ import { type Theme } from '@mui/material/styles';
7
+ import { type MaterialReactTableProps, type MRT_Column, type MRT_ColumnDef, type MRT_ColumnOrderState, type MRT_DefinedColumnDef, type MRT_DisplayColumnIds, type MRT_FilterOption, type MRT_GroupingState, type MRT_Header, type MRT_TableInstance } from './types';
8
8
  export declare const getColumnId: <TData extends Record<string, any> = {}>(columnDef: MRT_ColumnDef<TData>) => string;
9
9
  export declare const getAllLeafColumnDefs: <TData extends Record<string, any> = {}>(columns: MRT_ColumnDef<TData>[]) => MRT_ColumnDef<TData>[];
10
10
  export declare const prepareColumns: <TData extends Record<string, any> = {}>({ aggregationFns, columnDefs, columnFilterFns, defaultDisplayColumn, filterFns, sortingFns, }: {
@@ -116,15 +116,15 @@ export declare const getCommonCellStyles: ({ column, header, table, tableCellPro
116
116
  header?: {
117
117
  id: string;
118
118
  getContext: () => import("@tanstack/react-table").HeaderContext<{}, unknown>;
119
- getLeafHeaders: () => import("@tanstack/react-table").Header<{}, unknown>[];
120
- colSpan: number;
121
- rowSpan: number;
122
119
  index: number;
123
120
  depth: number;
121
+ getLeafHeaders: () => import("@tanstack/react-table").Header<{}, unknown>[];
124
122
  getSize: () => number;
125
123
  getStart: (position?: import("@tanstack/react-table").ColumnPinningPosition | undefined) => number;
126
124
  headerGroup: import("@tanstack/react-table").HeaderGroup<{}>;
127
125
  subHeaders: import("@tanstack/react-table").Header<{}, unknown>[];
126
+ colSpan: number;
127
+ rowSpan: number;
128
128
  isPlaceholder: boolean;
129
129
  placeholderId?: string | undefined;
130
130
  getResizeHandler: () => (event: unknown) => void;
@@ -1,4 +1,4 @@
1
- import { RankingInfo } from '@tanstack/match-sorter-utils';
1
+ import { type RankingInfo } from '@tanstack/match-sorter-utils';
2
2
  import { type Row } from '@tanstack/react-table';
3
3
  export declare const MRT_FilterFns: {
4
4
  between: {
@@ -1,5 +1,5 @@
1
- import type { VirtualItem } from '@tanstack/react-virtual';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type VirtualItem } from '@tanstack/react-virtual';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  table: MRT_TableInstance;
5
5
  virtualColumns?: VirtualItem[];
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  footer: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,5 +1,5 @@
1
- import type { VirtualItem } from '@tanstack/react-virtual';
2
- import type { MRT_HeaderGroup, MRT_TableInstance } from '..';
1
+ import { type VirtualItem } from '@tanstack/react-virtual';
2
+ import { type MRT_HeaderGroup, type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  footerGroup: MRT_HeaderGroup;
5
5
  table: MRT_TableInstance;
@@ -1,5 +1,5 @@
1
- import type { VirtualItem } from '@tanstack/react-virtual';
2
- import type { MRT_TableInstance } from '..';
1
+ import { type VirtualItem } from '@tanstack/react-virtual';
2
+ import { type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  table: MRT_TableInstance;
5
5
  virtualColumns?: VirtualItem[];
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,5 +1,5 @@
1
- import { RefObject } from 'react';
2
- import type { MRT_Column, MRT_TableInstance } from '..';
1
+ import { type RefObject } from 'react';
2
+ import { type MRT_Column, type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  column: MRT_Column;
5
5
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,5 +1,5 @@
1
- import { MRT_Header, MRT_TableInstance } from '..';
2
- import type { TableCellProps } from '@mui/material/TableCell';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
+ import { type TableCellProps } from '@mui/material/TableCell';
3
3
  interface Props {
4
4
  header: MRT_Header;
5
5
  table: MRT_TableInstance;
@@ -1,5 +1,5 @@
1
- import type { VirtualItem } from '@tanstack/react-virtual';
2
- import type { MRT_HeaderGroup, MRT_TableInstance } from '..';
1
+ import { type VirtualItem } from '@tanstack/react-virtual';
2
+ import { type MRT_HeaderGroup, type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  headerGroup: MRT_HeaderGroup;
5
5
  table: MRT_TableInstance;
@@ -1,8 +1,5 @@
1
- import MaterialReactTable from './MaterialReactTable';
2
- export default MaterialReactTable;
3
1
  export * from './MaterialReactTable';
4
- import type { MRT_Icons } from './icons';
5
- export type { MRT_Icons };
2
+ export * from './types';
6
3
  import { MRT_BottomToolbar } from './toolbar/MRT_BottomToolbar';
7
4
  import { MRT_CopyButton } from './buttons/MRT_CopyButton';
8
5
  import { MRT_EditActionButtons } from './buttons/MRT_EditActionButtons';
@@ -23,3 +20,8 @@ import { MRT_ToolbarDropZone } from './toolbar/MRT_ToolbarDropZone';
23
20
  import { MRT_ToolbarInternalButtons } from './toolbar/MRT_ToolbarInternalButtons';
24
21
  import { MRT_TopToolbar } from './toolbar/MRT_TopToolbar';
25
22
  export { MRT_BottomToolbar, MRT_CopyButton, MRT_EditActionButtons, MRT_ExpandButton, MRT_FilterOptionMenu, MRT_FullScreenToggleButton, MRT_GlobalFilterTextField, MRT_GrabHandleButton, MRT_ShowHideColumnsButton, MRT_TableHeadCellFilterContainer, MRT_TablePagination, MRT_ToggleDensePaddingButton, MRT_ToggleFiltersButton, MRT_ToggleGlobalFilterButton, MRT_ToggleRowActionMenuButton, MRT_ToolbarAlertBanner, MRT_ToolbarDropZone, MRT_ToolbarInternalButtons, MRT_TopToolbar, };
23
+ /**
24
+ * @deprecated Use named exports instead of default export (will be removed in v2)
25
+ * @example import { MaterialReactTable } from 'material-react-table';
26
+ */
27
+ export { default } from './MaterialReactTable';
@@ -1,4 +1,4 @@
1
- import type { MRT_Cell, MRT_TableInstance } from '..';
1
+ import { type MRT_Cell, type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  cell: MRT_Cell<TData>;
4
4
  table: MRT_TableInstance<TData>;
@@ -1,4 +1,4 @@
1
- import type { MRT_Column, MRT_TableInstance } from '..';
1
+ import { type MRT_Column, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  column: MRT_Column;
4
4
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  table: MRT_TableInstance;
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  header: MRT_Header;
4
4
  rangeFilterIndex?: number;
@@ -1,4 +1,4 @@
1
- import type { MRT_TableInstance } from '..';
1
+ import { type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  table: MRT_TableInstance<TData>;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
2
2
  interface Props {
3
3
  row?: MRT_Row;
4
4
  selectAll?: boolean;
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_TableInstance } from '../types';
2
2
  export declare const commonMenuItemStyles: {
3
3
  py: string;
4
4
  my: number;
@@ -1,4 +1,4 @@
1
- import type { MRT_Header, MRT_InternalFilterOption, MRT_Localization, MRT_TableInstance } from '..';
1
+ import { type MRT_Header, type MRT_InternalFilterOption, type MRT_Localization, type MRT_TableInstance } from '../types';
2
2
  export declare const mrtFilterOptions: (localization: MRT_Localization) => MRT_InternalFilterOption[];
3
3
  interface Props<TData extends Record<string, any> = {}> {
4
4
  anchorEl: HTMLElement | null;
@@ -1,5 +1,5 @@
1
- import { MouseEvent } from 'react';
2
- import type { MRT_Row, MRT_TableInstance } from '..';
1
+ import { type MouseEvent } from 'react';
2
+ import { type MRT_Row, type MRT_TableInstance } from '../types';
3
3
  interface Props {
4
4
  anchorEl: HTMLElement | null;
5
5
  handleEdit: (event: MouseEvent) => void;
@@ -1,4 +1,4 @@
1
- import type { MRT_TableInstance } from '..';
1
+ import { type MRT_TableInstance } from '../types';
2
2
  interface Props<TData extends Record<string, any> = {}> {
3
3
  anchorEl: HTMLElement | null;
4
4
  isSubMenu?: boolean;
@@ -1,5 +1,5 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import type { MRT_Column, MRT_TableInstance } from '..';
1
+ import { type Dispatch, type SetStateAction } from 'react';
2
+ import { type MRT_Column, type MRT_TableInstance } from '../types';
3
3
  interface Props<TData extends Record<string, any> = {}> {
4
4
  allColumns: MRT_Column<TData>[];
5
5
  column: MRT_Column<TData>;