@mui/x-data-grid 9.5.0 → 9.7.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 (383) hide show
  1. package/CHANGELOG.md +261 -0
  2. package/DataGrid/DataGrid.js +75 -14
  3. package/DataGrid/DataGrid.mjs +75 -14
  4. package/colDef/gridDateOperators.d.mts +1 -1
  5. package/colDef/gridDateOperators.d.ts +1 -1
  6. package/components/GridColumnHeaders.d.mts +1 -1
  7. package/components/GridColumnHeaders.d.ts +1 -1
  8. package/components/GridColumnHeaders.js +1 -1
  9. package/components/GridColumnHeaders.mjs +1 -1
  10. package/components/GridColumnUnsortedIcon.js +1 -1
  11. package/components/GridColumnUnsortedIcon.mjs +1 -1
  12. package/components/GridFooter.d.mts +1 -1
  13. package/components/GridFooter.d.ts +1 -1
  14. package/components/GridFooter.js +1 -1
  15. package/components/GridFooter.mjs +1 -1
  16. package/components/GridLoadingOverlay.d.mts +1 -1
  17. package/components/GridLoadingOverlay.d.ts +1 -1
  18. package/components/GridLoadingOverlay.js +1 -1
  19. package/components/GridLoadingOverlay.mjs +1 -1
  20. package/components/GridNoColumnsOverlay.d.mts +1 -1
  21. package/components/GridNoColumnsOverlay.d.ts +1 -1
  22. package/components/GridNoColumnsOverlay.js +1 -1
  23. package/components/GridNoColumnsOverlay.mjs +1 -1
  24. package/components/GridNoResultsOverlay.d.mts +1 -1
  25. package/components/GridNoResultsOverlay.d.ts +1 -1
  26. package/components/GridNoRowsOverlay.d.mts +1 -1
  27. package/components/GridNoRowsOverlay.d.ts +1 -1
  28. package/components/GridNoRowsOverlay.js +1 -1
  29. package/components/GridNoRowsOverlay.mjs +1 -1
  30. package/components/GridRow.js +1 -1
  31. package/components/GridRow.mjs +1 -1
  32. package/components/GridRowCount.d.mts +1 -1
  33. package/components/GridRowCount.d.ts +1 -1
  34. package/components/GridRowCount.js +1 -1
  35. package/components/GridRowCount.mjs +1 -1
  36. package/components/GridRowDragAndDropOverlay.d.mts +1 -1
  37. package/components/GridRowDragAndDropOverlay.d.ts +1 -1
  38. package/components/GridSelectedRowCount.d.mts +1 -1
  39. package/components/GridSelectedRowCount.d.ts +1 -1
  40. package/components/GridSelectedRowCount.js +1 -1
  41. package/components/GridSelectedRowCount.mjs +1 -1
  42. package/components/GridShadowScrollArea.js +1 -1
  43. package/components/GridShadowScrollArea.mjs +1 -1
  44. package/components/cell/GridActionsCell.d.mts +1 -1
  45. package/components/cell/GridActionsCell.d.ts +1 -1
  46. package/components/cell/GridActionsCell.js +83 -3
  47. package/components/cell/GridActionsCell.mjs +83 -3
  48. package/components/cell/GridActionsCellItem.js +75 -1
  49. package/components/cell/GridActionsCellItem.mjs +74 -0
  50. package/components/cell/GridBooleanCell.js +1 -1
  51. package/components/cell/GridBooleanCell.mjs +1 -1
  52. package/components/cell/GridCell.d.mts +1 -1
  53. package/components/cell/GridCell.d.ts +1 -1
  54. package/components/cell/GridCell.js +3 -11
  55. package/components/cell/GridCell.mjs +3 -11
  56. package/components/cell/GridEditBooleanCell.js +1 -1
  57. package/components/cell/GridEditBooleanCell.mjs +1 -1
  58. package/components/cell/GridEditDateCell.js +1 -1
  59. package/components/cell/GridEditDateCell.mjs +1 -1
  60. package/components/cell/GridEditInputCell.js +68 -0
  61. package/components/cell/GridEditInputCell.mjs +68 -0
  62. package/components/cell/GridEditLongTextCell.d.mts +3 -0
  63. package/components/cell/GridEditLongTextCell.d.ts +3 -0
  64. package/components/cell/GridEditLongTextCell.js +141 -0
  65. package/components/cell/GridEditLongTextCell.mjs +141 -0
  66. package/components/cell/GridEditSingleSelectCell.js +1 -1
  67. package/components/cell/GridEditSingleSelectCell.mjs +1 -1
  68. package/components/cell/GridFooterCell.d.mts +1 -1
  69. package/components/cell/GridFooterCell.d.ts +1 -1
  70. package/components/cell/GridLongTextCell.d.mts +3 -0
  71. package/components/cell/GridLongTextCell.d.ts +3 -0
  72. package/components/cell/GridLongTextCell.js +66 -0
  73. package/components/cell/GridLongTextCell.mjs +66 -0
  74. package/components/cell/GridSkeletonCell.js +3 -2
  75. package/components/cell/GridSkeletonCell.mjs +3 -2
  76. package/components/columnHeaders/GridBaseColumnHeaders.d.mts +1 -1
  77. package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
  78. package/components/columnHeaders/GridColumnGroupHeader.js +2 -10
  79. package/components/columnHeaders/GridColumnGroupHeader.mjs +2 -10
  80. package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +2 -2
  81. package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +2 -2
  82. package/components/columnHeaders/GridColumnHeaderItem.js +3 -11
  83. package/components/columnHeaders/GridColumnHeaderItem.mjs +3 -11
  84. package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  85. package/components/columnHeaders/GridColumnHeaderSeparator.mjs +1 -1
  86. package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +1 -1
  87. package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  88. package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
  89. package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +1 -1
  90. package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
  91. package/components/columnHeaders/GridColumnHeaderTitle.mjs +1 -1
  92. package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +1 -1
  93. package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +1 -1
  94. package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
  95. package/components/columnSelection/GridCellCheckboxRenderer.mjs +1 -1
  96. package/components/columnSelection/GridHeaderCheckbox.js +1 -1
  97. package/components/columnSelection/GridHeaderCheckbox.mjs +1 -1
  98. package/components/columnSelection/GridRowCheckbox.js +1 -1
  99. package/components/columnSelection/GridRowCheckbox.mjs +1 -1
  100. package/components/columnsManagement/GridColumnsManagement.js +1 -1
  101. package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
  102. package/components/columnsPanel/ColumnsPanelTrigger.d.mts +1 -1
  103. package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
  104. package/components/columnsPanel/ColumnsPanelTrigger.js +3 -3
  105. package/components/columnsPanel/ColumnsPanelTrigger.mjs +3 -3
  106. package/components/containers/GridFooterContainer.d.mts +1 -1
  107. package/components/containers/GridFooterContainer.d.ts +1 -1
  108. package/components/containers/GridFooterContainer.js +1 -1
  109. package/components/containers/GridFooterContainer.mjs +1 -1
  110. package/components/containers/GridOverlay.d.mts +1 -1
  111. package/components/containers/GridOverlay.d.ts +1 -1
  112. package/components/containers/GridOverlay.js +1 -1
  113. package/components/containers/GridOverlay.mjs +1 -1
  114. package/components/containers/GridRoot.js +1 -1
  115. package/components/containers/GridRoot.mjs +1 -1
  116. package/components/containers/GridRootStyles.js +3 -2
  117. package/components/containers/GridRootStyles.mjs +3 -2
  118. package/components/containers/GridToolbarContainer.d.mts +1 -1
  119. package/components/containers/GridToolbarContainer.d.ts +1 -1
  120. package/components/containers/GridToolbarContainer.js +1 -1
  121. package/components/containers/GridToolbarContainer.mjs +1 -1
  122. package/components/export/ExportCsv.d.mts +1 -1
  123. package/components/export/ExportCsv.d.ts +1 -1
  124. package/components/export/ExportCsv.js +1 -1
  125. package/components/export/ExportCsv.mjs +1 -1
  126. package/components/export/ExportPrint.d.mts +1 -1
  127. package/components/export/ExportPrint.d.ts +1 -1
  128. package/components/export/ExportPrint.js +1 -1
  129. package/components/export/ExportPrint.mjs +1 -1
  130. package/components/filterPanel/FilterPanelTrigger.d.mts +1 -1
  131. package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
  132. package/components/filterPanel/FilterPanelTrigger.js +3 -3
  133. package/components/filterPanel/FilterPanelTrigger.mjs +3 -3
  134. package/components/menu/GridMenu.js +1 -1
  135. package/components/menu/GridMenu.mjs +1 -1
  136. package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +1 -1
  137. package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  138. package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  139. package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
  140. package/components/menu/columnMenu/GridColumnMenu.js +2 -2
  141. package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
  142. package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
  143. package/components/menu/columnMenu/GridColumnMenuContainer.mjs +1 -1
  144. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
  145. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
  146. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
  147. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +1 -1
  148. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
  149. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +1 -1
  150. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
  151. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +1 -1
  152. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
  153. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +1 -1
  154. package/components/panel/GridColumnsPanel.d.mts +1 -1
  155. package/components/panel/GridColumnsPanel.d.ts +1 -1
  156. package/components/panel/GridPanel.js +1 -1
  157. package/components/panel/GridPanel.mjs +1 -1
  158. package/components/panel/GridPanelContent.d.mts +1 -1
  159. package/components/panel/GridPanelContent.d.ts +1 -1
  160. package/components/panel/GridPanelContent.js +1 -1
  161. package/components/panel/GridPanelContent.mjs +1 -1
  162. package/components/panel/GridPanelContext.d.mts +9 -3
  163. package/components/panel/GridPanelContext.d.ts +9 -3
  164. package/components/panel/GridPanelContext.js +40 -7
  165. package/components/panel/GridPanelContext.mjs +40 -7
  166. package/components/panel/GridPanelFooter.d.mts +1 -1
  167. package/components/panel/GridPanelFooter.d.ts +1 -1
  168. package/components/panel/GridPanelFooter.js +1 -1
  169. package/components/panel/GridPanelFooter.mjs +1 -1
  170. package/components/panel/GridPanelHeader.d.mts +1 -1
  171. package/components/panel/GridPanelHeader.d.ts +1 -1
  172. package/components/panel/GridPanelHeader.js +1 -1
  173. package/components/panel/GridPanelHeader.mjs +1 -1
  174. package/components/panel/GridPanelWrapper.d.mts +1 -1
  175. package/components/panel/GridPanelWrapper.d.ts +1 -1
  176. package/components/panel/GridPreferencesPanel.js +4 -6
  177. package/components/panel/GridPreferencesPanel.mjs +4 -6
  178. package/components/panel/filterPanel/GridFilterForm.d.mts +2 -1
  179. package/components/panel/filterPanel/GridFilterForm.d.ts +2 -1
  180. package/components/panel/filterPanel/GridFilterForm.js +1 -1
  181. package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
  182. package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
  183. package/components/panel/filterPanel/GridFilterInputBoolean.mjs +1 -1
  184. package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
  185. package/components/panel/filterPanel/GridFilterInputDate.mjs +1 -1
  186. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
  187. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +1 -1
  188. package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
  189. package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +1 -1
  190. package/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
  191. package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +1 -1
  192. package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
  193. package/components/panel/filterPanel/GridFilterInputValue.mjs +1 -1
  194. package/components/panel/filterPanel/GridFilterPanel.d.mts +2 -2
  195. package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -2
  196. package/components/panel/filterPanel/GridFilterPanel.js +1 -1
  197. package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
  198. package/components/quickFilter/QuickFilter.d.mts +2 -2
  199. package/components/quickFilter/QuickFilter.d.ts +2 -2
  200. package/components/quickFilter/QuickFilter.js +1 -1
  201. package/components/quickFilter/QuickFilter.mjs +1 -1
  202. package/components/quickFilter/QuickFilterClear.d.mts +2 -2
  203. package/components/quickFilter/QuickFilterClear.d.ts +2 -2
  204. package/components/quickFilter/QuickFilterClear.js +1 -1
  205. package/components/quickFilter/QuickFilterClear.mjs +1 -1
  206. package/components/quickFilter/QuickFilterControl.d.mts +2 -2
  207. package/components/quickFilter/QuickFilterControl.d.ts +2 -2
  208. package/components/quickFilter/QuickFilterControl.js +1 -1
  209. package/components/quickFilter/QuickFilterControl.mjs +1 -1
  210. package/components/quickFilter/QuickFilterTrigger.d.mts +2 -2
  211. package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
  212. package/components/quickFilter/QuickFilterTrigger.js +1 -1
  213. package/components/quickFilter/QuickFilterTrigger.mjs +1 -1
  214. package/components/toolbar/GridToolbar.d.mts +3 -3
  215. package/components/toolbar/GridToolbar.d.ts +3 -3
  216. package/components/toolbar/GridToolbar.js +1 -1
  217. package/components/toolbar/GridToolbar.mjs +1 -1
  218. package/components/toolbar/GridToolbarColumnsButton.js +3 -3
  219. package/components/toolbar/GridToolbarColumnsButton.mjs +3 -3
  220. package/components/toolbar/GridToolbarDensitySelector.js +1 -1
  221. package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
  222. package/components/toolbar/GridToolbarExport.js +3 -3
  223. package/components/toolbar/GridToolbarExport.mjs +3 -3
  224. package/components/toolbar/GridToolbarExportContainer.js +1 -1
  225. package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
  226. package/components/toolbar/GridToolbarFilterButton.js +3 -3
  227. package/components/toolbar/GridToolbarFilterButton.mjs +3 -3
  228. package/components/toolbar/GridToolbarQuickFilter.js +1 -1
  229. package/components/toolbar/GridToolbarQuickFilter.mjs +1 -1
  230. package/components/toolbarV8/GridToolbar.js +8 -3
  231. package/components/toolbarV8/GridToolbar.mjs +8 -3
  232. package/components/toolbarV8/Toolbar.d.mts +1 -1
  233. package/components/toolbarV8/Toolbar.d.ts +1 -1
  234. package/components/toolbarV8/Toolbar.js +1 -1
  235. package/components/toolbarV8/Toolbar.mjs +1 -1
  236. package/components/toolbarV8/ToolbarButton.d.mts +1 -1
  237. package/components/toolbarV8/ToolbarButton.d.ts +1 -1
  238. package/components/toolbarV8/ToolbarButton.js +1 -1
  239. package/components/toolbarV8/ToolbarButton.mjs +1 -1
  240. package/components/virtualization/GridVirtualScrollbar.js +8 -1
  241. package/components/virtualization/GridVirtualScrollbar.mjs +8 -1
  242. package/components/virtualization/GridVirtualScroller.js +12 -0
  243. package/components/virtualization/GridVirtualScroller.mjs +12 -0
  244. package/components/virtualization/GridVirtualScrollerContent.d.mts +1 -1
  245. package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
  246. package/components/virtualization/GridVirtualScrollerRenderZone.d.mts +1 -1
  247. package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
  248. package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +7 -1
  249. package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +7 -1
  250. package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +1 -1
  251. package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +1 -1
  252. package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +2 -1
  253. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -1
  254. package/hooks/features/columnResize/useGridColumnResize.js +56 -2
  255. package/hooks/features/columnResize/useGridColumnResize.mjs +57 -3
  256. package/hooks/features/columns/gridColumnsSelector.d.mts +1 -1
  257. package/hooks/features/columns/gridColumnsSelector.d.ts +1 -1
  258. package/hooks/features/dimensions/useGridDimensions.js +3 -3
  259. package/hooks/features/dimensions/useGridDimensions.mjs +3 -3
  260. package/hooks/features/editing/gridEditingSelectors.d.mts +1 -1
  261. package/hooks/features/editing/gridEditingSelectors.d.ts +1 -1
  262. package/hooks/features/editing/gridEditingSelectors.mjs +0 -1
  263. package/hooks/features/editing/utils.d.mts +1 -1
  264. package/hooks/features/editing/utils.d.ts +1 -1
  265. package/hooks/features/editing/utils.js +1 -1
  266. package/hooks/features/editing/utils.mjs +1 -1
  267. package/hooks/features/filter/gridFilterState.d.mts +1 -1
  268. package/hooks/features/filter/gridFilterState.d.ts +1 -1
  269. package/hooks/features/filter/gridFilterUtils.d.mts +2 -2
  270. package/hooks/features/filter/gridFilterUtils.d.ts +2 -2
  271. package/hooks/features/focus/useGridFocus.js +2 -10
  272. package/hooks/features/focus/useGridFocus.mjs +2 -10
  273. package/hooks/features/rowSelection/useGridRowSelection.js +0 -3
  274. package/hooks/features/rowSelection/useGridRowSelection.mjs +0 -3
  275. package/hooks/features/rows/gridRowSpanningUtils.d.mts +1 -1
  276. package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
  277. package/hooks/features/rows/gridRowSpanningUtils.js +1 -1
  278. package/hooks/features/rows/gridRowSpanningUtils.mjs +1 -1
  279. package/hooks/features/rows/gridRowsUtils.d.mts +1 -1
  280. package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
  281. package/hooks/features/rows/gridRowsUtils.js +5 -3
  282. package/hooks/features/rows/gridRowsUtils.mjs +5 -3
  283. package/hooks/features/virtualization/useGridVirtualization.d.mts +1 -1
  284. package/hooks/features/virtualization/useGridVirtualization.d.ts +1 -1
  285. package/hooks/features/virtualization/useGridVirtualization.js +2 -2
  286. package/hooks/features/virtualization/useGridVirtualization.mjs +2 -2
  287. package/hooks/utils/useGridSelector.js +1 -1
  288. package/hooks/utils/useGridSelector.mjs +1 -1
  289. package/index.js +1 -1
  290. package/index.mjs +1 -1
  291. package/locales/arSD.d.mts +1 -1
  292. package/locales/arSD.d.ts +1 -1
  293. package/locales/beBY.d.mts +1 -1
  294. package/locales/beBY.d.ts +1 -1
  295. package/locales/bgBG.d.mts +1 -1
  296. package/locales/bgBG.d.ts +1 -1
  297. package/locales/bnBD.d.mts +1 -1
  298. package/locales/bnBD.d.ts +1 -1
  299. package/locales/caES.d.mts +1 -1
  300. package/locales/caES.d.ts +1 -1
  301. package/locales/csCZ.d.mts +1 -1
  302. package/locales/csCZ.d.ts +1 -1
  303. package/locales/daDK.d.mts +1 -1
  304. package/locales/daDK.d.ts +1 -1
  305. package/locales/deDE.d.mts +1 -1
  306. package/locales/deDE.d.ts +1 -1
  307. package/locales/elGR.d.mts +1 -1
  308. package/locales/elGR.d.ts +1 -1
  309. package/locales/enUS.d.mts +1 -1
  310. package/locales/enUS.d.ts +1 -1
  311. package/locales/esES.d.mts +1 -1
  312. package/locales/esES.d.ts +1 -1
  313. package/locales/faIR.d.mts +1 -1
  314. package/locales/faIR.d.ts +1 -1
  315. package/locales/fiFI.d.mts +1 -1
  316. package/locales/fiFI.d.ts +1 -1
  317. package/locales/frFR.d.mts +1 -1
  318. package/locales/frFR.d.ts +1 -1
  319. package/locales/heIL.d.mts +1 -1
  320. package/locales/heIL.d.ts +1 -1
  321. package/locales/huHU.d.mts +1 -1
  322. package/locales/huHU.d.ts +1 -1
  323. package/locales/hyAM.d.mts +1 -1
  324. package/locales/hyAM.d.ts +1 -1
  325. package/locales/idID.d.mts +1 -1
  326. package/locales/idID.d.ts +1 -1
  327. package/locales/isIS.d.mts +1 -1
  328. package/locales/isIS.d.ts +1 -1
  329. package/locales/itIT.d.mts +1 -1
  330. package/locales/itIT.d.ts +1 -1
  331. package/locales/jaJP.d.mts +1 -1
  332. package/locales/jaJP.d.ts +1 -1
  333. package/locales/koKR.d.mts +1 -1
  334. package/locales/koKR.d.ts +1 -1
  335. package/locales/nbNO.d.mts +1 -1
  336. package/locales/nbNO.d.ts +1 -1
  337. package/locales/nlNL.d.mts +1 -1
  338. package/locales/nlNL.d.ts +1 -1
  339. package/locales/nnNO.d.mts +1 -1
  340. package/locales/nnNO.d.ts +1 -1
  341. package/locales/plPL.d.mts +1 -1
  342. package/locales/plPL.d.ts +1 -1
  343. package/locales/ptBR.d.mts +1 -1
  344. package/locales/ptBR.d.ts +1 -1
  345. package/locales/ptPT.d.mts +1 -1
  346. package/locales/ptPT.d.ts +1 -1
  347. package/locales/roRO.d.mts +1 -1
  348. package/locales/roRO.d.ts +1 -1
  349. package/locales/ruRU.d.mts +1 -1
  350. package/locales/ruRU.d.ts +1 -1
  351. package/locales/skSK.d.mts +1 -1
  352. package/locales/skSK.d.ts +1 -1
  353. package/locales/svSE.d.mts +1 -1
  354. package/locales/svSE.d.ts +1 -1
  355. package/locales/thTH.d.mts +1 -1
  356. package/locales/thTH.d.ts +1 -1
  357. package/locales/trTR.d.mts +1 -1
  358. package/locales/trTR.d.ts +1 -1
  359. package/locales/ukUA.d.mts +1 -1
  360. package/locales/ukUA.d.ts +1 -1
  361. package/locales/urPK.d.mts +1 -1
  362. package/locales/urPK.d.ts +1 -1
  363. package/locales/viVN.d.mts +1 -1
  364. package/locales/viVN.d.ts +1 -1
  365. package/locales/zhCN.d.mts +1 -1
  366. package/locales/zhCN.d.ts +1 -1
  367. package/locales/zhTW.d.mts +1 -1
  368. package/locales/zhTW.d.ts +1 -1
  369. package/material/index.js +5 -3
  370. package/material/index.mjs +5 -3
  371. package/material/variables.d.mts +1 -1
  372. package/material/variables.d.ts +1 -1
  373. package/package.json +8 -4
  374. package/utils/createSelector.d.mts +1 -1
  375. package/utils/createSelector.d.ts +1 -1
  376. package/utils/focusElement.d.mts +9 -0
  377. package/utils/focusElement.d.ts +9 -0
  378. package/utils/focusElement.js +24 -0
  379. package/utils/focusElement.mjs +19 -0
  380. package/utils/isJSDOM.d.mts +0 -1
  381. package/utils/isJSDOM.d.ts +0 -1
  382. package/utils/isJSDOM.js +0 -7
  383. package/utils/isJSDOM.mjs +0 -1
@@ -85,7 +85,7 @@ function GridColumnHeaderTitle(props) {
85
85
  })
86
86
  }));
87
87
  }
88
- process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes = {
88
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes /* remove-proptypes */ = {
89
89
  // ----------------------------- Warning --------------------------------
90
90
  // | These PropTypes are generated from the TypeScript type definitions |
91
91
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -78,7 +78,7 @@ function GridColumnHeaderTitle(props) {
78
78
  })
79
79
  }));
80
80
  }
81
- process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes = {
81
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes /* remove-proptypes */ = {
82
82
  // ----------------------------- Warning --------------------------------
83
83
  // | These PropTypes are generated from the TypeScript type definitions |
84
84
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { GridStateColDef } from "../../models/colDef/gridColDef.mjs";
3
3
  import type { GridSortDirection } from "../../models/gridSortModel.mjs";
4
- import { type GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.mjs";
4
+ import type { GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.mjs";
5
5
  import type { GridColumnGroup } from "../../models/gridColumnGrouping.mjs";
6
6
  interface GridGenericColumnHeaderItemProps extends Pick<GridStateColDef, 'headerClassName' | 'description' | 'resizable'> {
7
7
  classes: Record<'root' | 'draggableContainer' | 'titleContainer' | 'titleContainerContent', string>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { GridStateColDef } from "../../models/colDef/gridColDef.js";
3
3
  import type { GridSortDirection } from "../../models/gridSortModel.js";
4
- import { type GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
4
+ import type { GridColumnHeaderSeparatorProps } from "./GridColumnHeaderSeparator.js";
5
5
  import type { GridColumnGroup } from "../../models/gridColumnGrouping.js";
6
6
  interface GridGenericColumnHeaderItemProps extends Pick<GridStateColDef, 'headerClassName' | 'description' | 'resizable'> {
7
7
  classes: Record<'root' | 'draggableContainer' | 'titleContainer' | 'titleContainerContent', string>;
@@ -120,7 +120,7 @@ const GridCellCheckboxForwardRef = exports.GridCellCheckboxForwardRef = (0, _for
120
120
  }));
121
121
  });
122
122
  if (process.env.NODE_ENV !== "production") GridCellCheckboxForwardRef.displayName = "GridCellCheckboxForwardRef";
123
- process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes = {
123
+ process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes /* remove-proptypes */ = {
124
124
  // ----------------------------- Warning --------------------------------
125
125
  // | These PropTypes are generated from the TypeScript type definitions |
126
126
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -113,7 +113,7 @@ const GridCellCheckboxForwardRef = forwardRef(function GridCellCheckboxRenderer(
113
113
  }));
114
114
  });
115
115
  if (process.env.NODE_ENV !== "production") GridCellCheckboxForwardRef.displayName = "GridCellCheckboxForwardRef";
116
- process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes = {
116
+ process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes /* remove-proptypes */ = {
117
117
  // ----------------------------- Warning --------------------------------
118
118
  // | These PropTypes are generated from the TypeScript type definitions |
119
119
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -168,7 +168,7 @@ const GridHeaderCheckbox = exports.GridHeaderCheckbox = (0, _forwardRef.forwardR
168
168
  }));
169
169
  });
170
170
  if (process.env.NODE_ENV !== "production") GridHeaderCheckbox.displayName = "GridHeaderCheckbox";
171
- process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes = {
171
+ process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes /* remove-proptypes */ = {
172
172
  // ----------------------------- Warning --------------------------------
173
173
  // | These PropTypes are generated from the TypeScript type definitions |
174
174
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -161,7 +161,7 @@ const GridHeaderCheckbox = forwardRef(function GridHeaderCheckbox(props, ref) {
161
161
  }));
162
162
  });
163
163
  if (process.env.NODE_ENV !== "production") GridHeaderCheckbox.displayName = "GridHeaderCheckbox";
164
- process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes = {
164
+ process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes /* remove-proptypes */ = {
165
165
  // ----------------------------- Warning --------------------------------
166
166
  // | These PropTypes are generated from the TypeScript type definitions |
167
167
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -29,7 +29,7 @@ const GridRowCheckbox = exports.GridRowCheckbox = (0, _forwardRef.forwardRef)(fu
29
29
  }));
30
30
  });
31
31
  if (process.env.NODE_ENV !== "production") GridRowCheckbox.displayName = "GridRowCheckbox";
32
- process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes = {
32
+ process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes /* remove-proptypes */ = {
33
33
  // ----------------------------- Warning --------------------------------
34
34
  // | These PropTypes are generated from the TypeScript type definitions |
35
35
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -22,7 +22,7 @@ const GridRowCheckbox = forwardRef(function GridRowCheckbox(props, ref) {
22
22
  }));
23
23
  });
24
24
  if (process.env.NODE_ENV !== "production") GridRowCheckbox.displayName = "GridRowCheckbox";
25
- process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes = {
25
+ process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes /* remove-proptypes */ = {
26
26
  // ----------------------------- Warning --------------------------------
27
27
  // | These PropTypes are generated from the TypeScript type definitions |
28
28
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -221,7 +221,7 @@ function GridColumnsManagement(props) {
221
221
  }) : null]
222
222
  });
223
223
  }
224
- process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
224
+ process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes /* remove-proptypes */ = {
225
225
  // ----------------------------- Warning --------------------------------
226
226
  // | These PropTypes are generated from the TypeScript type definitions |
227
227
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -214,7 +214,7 @@ function GridColumnsManagement(props) {
214
214
  }) : null]
215
215
  });
216
216
  }
217
- process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
217
+ process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes /* remove-proptypes */ = {
218
218
  // ----------------------------- Warning --------------------------------
219
219
  // | These PropTypes are generated from the TypeScript type definitions |
220
220
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridSlotProps } from "../../models/index.mjs";
4
4
  export interface ColumnsPanelState {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridSlotProps } from "../../models/index.js";
4
4
  export interface ColumnsPanelState {
5
5
  /**
@@ -51,9 +51,9 @@ const ColumnsPanelTrigger = exports.ColumnsPanelTrigger = (0, _forwardRef.forwar
51
51
  };
52
52
  const resolvedClassName = typeof className === 'function' ? className(state) : className;
53
53
  const {
54
- columnsPanelTriggerRef
54
+ triggers
55
55
  } = (0, _GridPanelContext.useGridPanelContext)();
56
- const handleRef = (0, _useForkRef.default)(ref, columnsPanelTriggerRef);
56
+ const handleRef = (0, _useForkRef.default)(ref, triggers.columnsPanel.setRef);
57
57
  const handleClick = event => {
58
58
  if (open) {
59
59
  apiRef.current.hidePreferences();
@@ -84,7 +84,7 @@ const ColumnsPanelTrigger = exports.ColumnsPanelTrigger = (0, _forwardRef.forwar
84
84
  });
85
85
  });
86
86
  if (process.env.NODE_ENV !== "production") ColumnsPanelTrigger.displayName = "ColumnsPanelTrigger";
87
- process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes = {
87
+ process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes /* remove-proptypes */ = {
88
88
  // ----------------------------- Warning --------------------------------
89
89
  // | These PropTypes are generated from the TypeScript type definitions |
90
90
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -43,9 +43,9 @@ const ColumnsPanelTrigger = forwardRef(function ColumnsPanelTrigger(props, ref)
43
43
  };
44
44
  const resolvedClassName = typeof className === 'function' ? className(state) : className;
45
45
  const {
46
- columnsPanelTriggerRef
46
+ triggers
47
47
  } = useGridPanelContext();
48
- const handleRef = useForkRef(ref, columnsPanelTriggerRef);
48
+ const handleRef = useForkRef(ref, triggers.columnsPanel.setRef);
49
49
  const handleClick = event => {
50
50
  if (open) {
51
51
  apiRef.current.hidePreferences();
@@ -76,7 +76,7 @@ const ColumnsPanelTrigger = forwardRef(function ColumnsPanelTrigger(props, ref)
76
76
  });
77
77
  });
78
78
  if (process.env.NODE_ENV !== "production") ColumnsPanelTrigger.displayName = "ColumnsPanelTrigger";
79
- process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes = {
79
+ process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes /* remove-proptypes */ = {
80
80
  // ----------------------------- Warning --------------------------------
81
81
  // | These PropTypes are generated from the TypeScript type definitions |
82
82
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SxProps, type Theme } from '@mui/system';
2
+ import type { SxProps, Theme } from '@mui/system';
3
3
  export type GridFooterContainerProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SxProps, type Theme } from '@mui/system';
2
+ import type { SxProps, Theme } from '@mui/system';
3
3
  export type GridFooterContainerProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -53,7 +53,7 @@ const GridFooterContainer = exports.GridFooterContainer = (0, _forwardRef.forwar
53
53
  }));
54
54
  });
55
55
  if (process.env.NODE_ENV !== "production") GridFooterContainer.displayName = "GridFooterContainer";
56
- process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes = {
56
+ process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes /* remove-proptypes */ = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
59
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -46,7 +46,7 @@ const GridFooterContainer = forwardRef(function GridFooterContainer(props, ref)
46
46
  }));
47
47
  });
48
48
  if (process.env.NODE_ENV !== "production") GridFooterContainer.displayName = "GridFooterContainer";
49
- process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes = {
49
+ process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes /* remove-proptypes */ = {
50
50
  // ----------------------------- Warning --------------------------------
51
51
  // | These PropTypes are generated from the TypeScript type definitions |
52
52
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type Theme, type SxProps } from '@mui/system';
2
+ import type { Theme, SxProps } from '@mui/system';
3
3
  export type GridOverlayProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type Theme, type SxProps } from '@mui/system';
2
+ import type { Theme, SxProps } from '@mui/system';
3
3
  export type GridOverlayProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -60,7 +60,7 @@ const GridOverlay = exports.GridOverlay = (0, _forwardRef.forwardRef)(function G
60
60
  }));
61
61
  });
62
62
  if (process.env.NODE_ENV !== "production") GridOverlay.displayName = "GridOverlay";
63
- process.env.NODE_ENV !== "production" ? GridOverlay.propTypes = {
63
+ process.env.NODE_ENV !== "production" ? GridOverlay.propTypes /* remove-proptypes */ = {
64
64
  // ----------------------------- Warning --------------------------------
65
65
  // | These PropTypes are generated from the TypeScript type definitions |
66
66
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -53,7 +53,7 @@ const GridOverlay = forwardRef(function GridOverlay(props, ref) {
53
53
  }));
54
54
  });
55
55
  if (process.env.NODE_ENV !== "production") GridOverlay.displayName = "GridOverlay";
56
- process.env.NODE_ENV !== "production" ? GridOverlay.propTypes = {
56
+ process.env.NODE_ENV !== "production" ? GridOverlay.propTypes /* remove-proptypes */ = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
59
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -80,7 +80,7 @@ const GridRoot = (0, _forwardRef.forwardRef)(function GridRoot(props, ref) {
80
80
  }));
81
81
  });
82
82
  if (process.env.NODE_ENV !== "production") GridRoot.displayName = "GridRoot";
83
- process.env.NODE_ENV !== "production" ? GridRoot.propTypes = {
83
+ process.env.NODE_ENV !== "production" ? GridRoot.propTypes /* remove-proptypes */ = {
84
84
  // ----------------------------- Warning --------------------------------
85
85
  // | These PropTypes are generated from the TypeScript type definitions |
86
86
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -73,7 +73,7 @@ const GridRoot = forwardRef(function GridRoot(props, ref) {
73
73
  }));
74
74
  });
75
75
  if (process.env.NODE_ENV !== "production") GridRoot.displayName = "GridRoot";
76
- process.env.NODE_ENV !== "production" ? GridRoot.propTypes = {
76
+ process.env.NODE_ENV !== "production" ? GridRoot.propTypes /* remove-proptypes */ = {
77
77
  // ----------------------------- Warning --------------------------------
78
78
  // | These PropTypes are generated from the TypeScript type definitions |
79
79
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -131,11 +131,12 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
131
131
  minHeight: 0,
132
132
  flexDirection: 'column',
133
133
  overflow: 'hidden',
134
- overflowAnchor: 'none',
135
- // Keep the same scrolling position
136
134
  transform: 'translate(0, 0)',
137
135
  // Create a stacking context to keep scrollbars from showing on top
138
136
 
137
+ [`& .${_gridClasses.gridClasses.virtualScroller}`]: {
138
+ overflowAnchor: 'none' // Keep the same scrolling position
139
+ },
139
140
  // Use `css` tagged template so the ignore-comment remains a sibling of the
140
141
  // `:first-child` rule in the stylis AST. Previously, the comment was embedded
141
142
  // in the object-key selector, which got separated from the rule during
@@ -125,11 +125,12 @@ export const GridRootStyles = styled('div', {
125
125
  minHeight: 0,
126
126
  flexDirection: 'column',
127
127
  overflow: 'hidden',
128
- overflowAnchor: 'none',
129
- // Keep the same scrolling position
130
128
  transform: 'translate(0, 0)',
131
129
  // Create a stacking context to keep scrollbars from showing on top
132
130
 
131
+ [`& .${c.virtualScroller}`]: {
132
+ overflowAnchor: 'none' // Keep the same scrolling position
133
+ },
133
134
  // Use `css` tagged template so the ignore-comment remains a sibling of the
134
135
  // `:first-child` rule in the stylis AST. Previously, the comment was embedded
135
136
  // in the object-key selector, which got separated from the rule during
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SxProps, type Theme } from '@mui/system';
2
+ import type { SxProps, Theme } from '@mui/system';
3
3
  export type GridToolbarContainerProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type SxProps, type Theme } from '@mui/system';
2
+ import type { SxProps, Theme } from '@mui/system';
3
3
  export type GridToolbarContainerProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  sx?: SxProps<Theme>;
5
5
  };
@@ -66,7 +66,7 @@ const GridToolbarContainer = exports.GridToolbarContainer = (0, _forwardRef.forw
66
66
  }));
67
67
  });
68
68
  if (process.env.NODE_ENV !== "production") GridToolbarContainer.displayName = "GridToolbarContainer";
69
- process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes = {
69
+ process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes /* remove-proptypes */ = {
70
70
  // ----------------------------- Warning --------------------------------
71
71
  // | These PropTypes are generated from the TypeScript type definitions |
72
72
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -59,7 +59,7 @@ const GridToolbarContainer = forwardRef(function GridToolbarContainer(props, ref
59
59
  }));
60
60
  });
61
61
  if (process.env.NODE_ENV !== "production") GridToolbarContainer.displayName = "GridToolbarContainer";
62
- process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes = {
62
+ process.env.NODE_ENV !== "production" ? GridToolbarContainer.propTypes /* remove-proptypes */ = {
63
63
  // ----------------------------- Warning --------------------------------
64
64
  // | These PropTypes are generated from the TypeScript type definitions |
65
65
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridCsvExportOptions } from "../../models/gridExport.mjs";
4
4
  import type { GridSlotProps } from "../../models/index.mjs";
5
5
  export type ExportCsvProps = GridSlotProps['baseButton'] & {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridCsvExportOptions } from "../../models/gridExport.js";
4
4
  import type { GridSlotProps } from "../../models/index.js";
5
5
  export type ExportCsvProps = GridSlotProps['baseButton'] & {
@@ -51,7 +51,7 @@ const ExportCsv = exports.ExportCsv = (0, _forwardRef.forwardRef)(function Expor
51
51
  });
52
52
  });
53
53
  if (process.env.NODE_ENV !== "production") ExportCsv.displayName = "ExportCsv";
54
- process.env.NODE_ENV !== "production" ? ExportCsv.propTypes = {
54
+ process.env.NODE_ENV !== "production" ? ExportCsv.propTypes /* remove-proptypes */ = {
55
55
  // ----------------------------- Warning --------------------------------
56
56
  // | These PropTypes are generated from the TypeScript type definitions |
57
57
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -43,7 +43,7 @@ const ExportCsv = forwardRef(function ExportCsv(props, ref) {
43
43
  });
44
44
  });
45
45
  if (process.env.NODE_ENV !== "production") ExportCsv.displayName = "ExportCsv";
46
- process.env.NODE_ENV !== "production" ? ExportCsv.propTypes = {
46
+ process.env.NODE_ENV !== "production" ? ExportCsv.propTypes /* remove-proptypes */ = {
47
47
  // ----------------------------- Warning --------------------------------
48
48
  // | These PropTypes are generated from the TypeScript type definitions |
49
49
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridPrintExportOptions } from "../../models/gridExport.mjs";
4
4
  import type { GridSlotProps } from "../../models/index.mjs";
5
5
  export type ExportPrintProps = GridSlotProps['baseButton'] & {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridPrintExportOptions } from "../../models/gridExport.js";
4
4
  import type { GridSlotProps } from "../../models/index.js";
5
5
  export type ExportPrintProps = GridSlotProps['baseButton'] & {
@@ -51,7 +51,7 @@ const ExportPrint = exports.ExportPrint = (0, _forwardRef.forwardRef)(function E
51
51
  });
52
52
  });
53
53
  if (process.env.NODE_ENV !== "production") ExportPrint.displayName = "ExportPrint";
54
- process.env.NODE_ENV !== "production" ? ExportPrint.propTypes = {
54
+ process.env.NODE_ENV !== "production" ? ExportPrint.propTypes /* remove-proptypes */ = {
55
55
  // ----------------------------- Warning --------------------------------
56
56
  // | These PropTypes are generated from the TypeScript type definitions |
57
57
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -43,7 +43,7 @@ const ExportPrint = forwardRef(function ExportPrint(props, ref) {
43
43
  });
44
44
  });
45
45
  if (process.env.NODE_ENV !== "production") ExportPrint.displayName = "ExportPrint";
46
- process.env.NODE_ENV !== "production" ? ExportPrint.propTypes = {
46
+ process.env.NODE_ENV !== "production" ? ExportPrint.propTypes /* remove-proptypes */ = {
47
47
  // ----------------------------- Warning --------------------------------
48
48
  // | These PropTypes are generated from the TypeScript type definitions |
49
49
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridSlotProps } from "../../models/index.mjs";
4
4
  export interface FilterPanelState {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
2
+ import type { RenderProp } from '@mui/x-internals/useComponentRenderer';
3
3
  import type { GridSlotProps } from "../../models/index.js";
4
4
  export interface FilterPanelState {
5
5
  /**
@@ -54,9 +54,9 @@ const FilterPanelTrigger = exports.FilterPanelTrigger = (0, _forwardRef.forwardR
54
54
  };
55
55
  const resolvedClassName = typeof className === 'function' ? className(state) : className;
56
56
  const {
57
- filterPanelTriggerRef
57
+ triggers
58
58
  } = (0, _GridPanelContext.useGridPanelContext)();
59
- const handleRef = (0, _useForkRef.default)(ref, filterPanelTriggerRef);
59
+ const handleRef = (0, _useForkRef.default)(ref, triggers.filterPanel.setRef);
60
60
  const handleClick = event => {
61
61
  if (open) {
62
62
  apiRef.current.hidePreferences();
@@ -87,7 +87,7 @@ const FilterPanelTrigger = exports.FilterPanelTrigger = (0, _forwardRef.forwardR
87
87
  });
88
88
  });
89
89
  if (process.env.NODE_ENV !== "production") FilterPanelTrigger.displayName = "FilterPanelTrigger";
90
- process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes = {
90
+ process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes /* remove-proptypes */ = {
91
91
  // ----------------------------- Warning --------------------------------
92
92
  // | These PropTypes are generated from the TypeScript type definitions |
93
93
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -46,9 +46,9 @@ const FilterPanelTrigger = forwardRef(function FilterPanelTrigger(props, ref) {
46
46
  };
47
47
  const resolvedClassName = typeof className === 'function' ? className(state) : className;
48
48
  const {
49
- filterPanelTriggerRef
49
+ triggers
50
50
  } = useGridPanelContext();
51
- const handleRef = useForkRef(ref, filterPanelTriggerRef);
51
+ const handleRef = useForkRef(ref, triggers.filterPanel.setRef);
52
52
  const handleClick = event => {
53
53
  if (open) {
54
54
  apiRef.current.hidePreferences();
@@ -79,7 +79,7 @@ const FilterPanelTrigger = forwardRef(function FilterPanelTrigger(props, ref) {
79
79
  });
80
80
  });
81
81
  if (process.env.NODE_ENV !== "production") FilterPanelTrigger.displayName = "FilterPanelTrigger";
82
- process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes = {
82
+ process.env.NODE_ENV !== "production" ? FilterPanelTrigger.propTypes /* remove-proptypes */ = {
83
83
  // ----------------------------- Warning --------------------------------
84
84
  // | These PropTypes are generated from the TypeScript type definitions |
85
85
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -101,7 +101,7 @@ function GridMenu(props) {
101
101
  children: children
102
102
  }));
103
103
  }
104
- process.env.NODE_ENV !== "production" ? GridMenu.propTypes = {
104
+ process.env.NODE_ENV !== "production" ? GridMenu.propTypes /* remove-proptypes */ = {
105
105
  // ----------------------------- Warning --------------------------------
106
106
  // | These PropTypes are generated from the TypeScript type definitions |
107
107
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -94,7 +94,7 @@ function GridMenu(props) {
94
94
  children: children
95
95
  }));
96
96
  }
97
- process.env.NODE_ENV !== "production" ? GridMenu.propTypes = {
97
+ process.env.NODE_ENV !== "production" ? GridMenu.propTypes /* remove-proptypes */ = {
98
98
  // ----------------------------- Warning --------------------------------
99
99
  // | These PropTypes are generated from the TypeScript type definitions |
100
100
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type GridMenuProps } from "../GridMenu.mjs";
2
+ import type { GridMenuProps } from "../GridMenu.mjs";
3
3
  export interface GridColumnHeaderMenuProps {
4
4
  columnMenuId?: string;
5
5
  columnMenuButtonId?: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { type GridMenuProps } from "../GridMenu.js";
2
+ import type { GridMenuProps } from "../GridMenu.js";
3
3
  export interface GridColumnHeaderMenuProps {
4
4
  columnMenuId?: string;
5
5
  columnMenuButtonId?: string;
@@ -54,7 +54,7 @@ function GridColumnHeaderMenu({
54
54
  }, contentComponentProps))
55
55
  });
56
56
  }
57
- process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes = {
57
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes /* remove-proptypes */ = {
58
58
  // ----------------------------- Warning --------------------------------
59
59
  // | These PropTypes are generated from the TypeScript type definitions |
60
60
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -46,7 +46,7 @@ function GridColumnHeaderMenu({
46
46
  }, contentComponentProps))
47
47
  });
48
48
  }
49
- process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes = {
49
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderMenu.propTypes /* remove-proptypes */ = {
50
50
  // ----------------------------- Warning --------------------------------
51
51
  // | These PropTypes are generated from the TypeScript type definitions |
52
52
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -53,7 +53,7 @@ const GridGenericColumnMenu = exports.GridGenericColumnMenu = (0, _forwardRef.fo
53
53
  }));
54
54
  });
55
55
  if (process.env.NODE_ENV !== "production") GridGenericColumnMenu.displayName = "GridGenericColumnMenu";
56
- process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes = {
56
+ process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes /* remove-proptypes */ = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
59
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -95,7 +95,7 @@ const GridColumnMenu = exports.GridColumnMenu = (0, _forwardRef.forwardRef)(func
95
95
  if (process.env.NODE_ENV !== "production") GridColumnMenu.displayName = "GridColumnMenu";
96
96
  GridColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS;
97
97
  GridColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS;
98
- process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes = {
98
+ process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes /* remove-proptypes */ = {
99
99
  // ----------------------------- Warning --------------------------------
100
100
  // | These PropTypes are generated from the TypeScript type definitions |
101
101
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -47,7 +47,7 @@ const GridGenericColumnMenu = forwardRef(function GridGenericColumnMenu(props, r
47
47
  }));
48
48
  });
49
49
  if (process.env.NODE_ENV !== "production") GridGenericColumnMenu.displayName = "GridGenericColumnMenu";
50
- process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes = {
50
+ process.env.NODE_ENV !== "production" ? GridGenericColumnMenu.propTypes /* remove-proptypes */ = {
51
51
  // ----------------------------- Warning --------------------------------
52
52
  // | These PropTypes are generated from the TypeScript type definitions |
53
53
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -89,7 +89,7 @@ const GridColumnMenu = forwardRef(function GridColumnMenu(props, ref) {
89
89
  if (process.env.NODE_ENV !== "production") GridColumnMenu.displayName = "GridColumnMenu";
90
90
  GridColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS;
91
91
  GridColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS;
92
- process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes = {
92
+ process.env.NODE_ENV !== "production" ? GridColumnMenu.propTypes /* remove-proptypes */ = {
93
93
  // ----------------------------- Warning --------------------------------
94
94
  // | These PropTypes are generated from the TypeScript type definitions |
95
95
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -65,7 +65,7 @@ const GridColumnMenuContainer = exports.GridColumnMenuContainer = (0, _forwardRe
65
65
  }));
66
66
  });
67
67
  if (process.env.NODE_ENV !== "production") GridColumnMenuContainer.displayName = "GridColumnMenuContainer";
68
- process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes = {
68
+ process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes /* remove-proptypes */ = {
69
69
  // ----------------------------- Warning --------------------------------
70
70
  // | These PropTypes are generated from the TypeScript type definitions |
71
71
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -58,7 +58,7 @@ const GridColumnMenuContainer = forwardRef(function GridColumnMenuContainer(prop
58
58
  }));
59
59
  });
60
60
  if (process.env.NODE_ENV !== "production") GridColumnMenuContainer.displayName = "GridColumnMenuContainer";
61
- process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes = {
61
+ process.env.NODE_ENV !== "production" ? GridColumnMenuContainer.propTypes /* remove-proptypes */ = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
64
  // | To update them edit the TypeScript types and run "pnpm proptypes" |