@mui/x-data-grid 8.25.0 → 8.27.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 (776) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/DataGrid/DataGrid.d.ts +2 -2
  3. package/DataGrid/useDataGridComponent.d.ts +4 -4
  4. package/DataGrid/useDataGridProps.d.ts +2 -2
  5. package/colDef/gridActionsColDef.d.ts +1 -1
  6. package/colDef/gridBooleanColDef.d.ts +1 -1
  7. package/colDef/gridBooleanOperators.d.ts +1 -1
  8. package/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
  9. package/colDef/gridDateColDef.d.ts +1 -1
  10. package/colDef/gridDateOperators.d.ts +2 -2
  11. package/colDef/gridDefaultColumnTypes.js +3 -1
  12. package/colDef/gridLongTextColDef.d.ts +2 -0
  13. package/colDef/gridLongTextColDef.js +17 -0
  14. package/colDef/gridNumericColDef.d.ts +1 -1
  15. package/colDef/gridNumericOperators.d.ts +1 -1
  16. package/colDef/gridSingleSelectColDef.d.ts +1 -1
  17. package/colDef/gridSingleSelectOperators.d.ts +1 -1
  18. package/colDef/gridStringColDef.d.ts +1 -1
  19. package/colDef/gridStringOperators.d.ts +1 -1
  20. package/colDef/index.d.ts +1 -0
  21. package/colDef/index.js +11 -0
  22. package/components/GridColumnHeaders.d.ts +1 -1
  23. package/components/GridColumnSortButton.d.ts +2 -2
  24. package/components/GridColumnUnsortedIcon.d.ts +2 -2
  25. package/components/GridFooter.d.ts +1 -1
  26. package/components/GridLoadingOverlay.d.ts +1 -1
  27. package/components/GridNoColumnsOverlay.d.ts +1 -1
  28. package/components/GridNoResultsOverlay.d.ts +1 -1
  29. package/components/GridNoRowsOverlay.d.ts +1 -1
  30. package/components/GridRow.d.ts +2 -2
  31. package/components/GridRowCount.d.ts +1 -1
  32. package/components/GridScrollArea.d.ts +2 -2
  33. package/components/GridSelectedRowCount.d.ts +1 -1
  34. package/components/GridSkeletonLoadingOverlay.d.ts +1 -1
  35. package/components/cell/GridActionsCell.d.ts +24 -4
  36. package/components/cell/GridActionsCell.js +15 -5
  37. package/components/cell/GridActionsCellItem.d.ts +1 -1
  38. package/components/cell/GridCell.d.ts +3 -3
  39. package/components/cell/GridEditBooleanCell.d.ts +1 -1
  40. package/components/cell/GridEditDateCell.d.ts +2 -2
  41. package/components/cell/GridEditInputCell.d.ts +2 -2
  42. package/components/cell/GridEditLongTextCell.d.ts +41 -0
  43. package/components/cell/GridEditLongTextCell.js +248 -0
  44. package/components/cell/GridEditSingleSelectCell.d.ts +1 -1
  45. package/components/cell/GridFooterCell.d.ts +1 -1
  46. package/components/cell/GridLongTextCell.d.ts +43 -0
  47. package/components/cell/GridLongTextCell.js +254 -0
  48. package/components/cell/GridSkeletonCell.d.ts +1 -1
  49. package/components/cell/index.d.ts +3 -1
  50. package/components/cell/index.js +24 -0
  51. package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  52. package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
  53. package/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
  54. package/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
  55. package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  56. package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
  57. package/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
  58. package/components/columnsManagement/utils.d.ts +1 -1
  59. package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
  60. package/components/containers/GridFooterContainer.d.ts +1 -1
  61. package/components/containers/GridOverlay.d.ts +1 -1
  62. package/components/containers/GridRoot.d.ts +2 -2
  63. package/components/containers/GridRootStyles.d.ts +1 -1
  64. package/components/containers/GridToolbarContainer.d.ts +1 -1
  65. package/components/export/ExportCsv.d.ts +2 -2
  66. package/components/export/ExportPrint.d.ts +2 -2
  67. package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
  68. package/components/menu/GridMenu.d.ts +1 -1
  69. package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  70. package/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
  71. package/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
  72. package/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
  73. package/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
  74. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
  75. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
  76. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
  77. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
  78. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
  79. package/components/panel/GridColumnsPanel.d.ts +1 -1
  80. package/components/panel/GridPanel.d.ts +1 -1
  81. package/components/panel/GridPanelContent.d.ts +1 -1
  82. package/components/panel/GridPanelFooter.d.ts +1 -1
  83. package/components/panel/GridPanelHeader.d.ts +1 -1
  84. package/components/panel/GridPanelWrapper.d.ts +2 -2
  85. package/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
  86. package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
  87. package/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
  88. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
  89. package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
  90. package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
  91. package/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
  92. package/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
  93. package/components/quickFilter/QuickFilter.d.ts +2 -2
  94. package/components/quickFilter/QuickFilterClear.d.ts +2 -2
  95. package/components/quickFilter/QuickFilterControl.d.ts +2 -2
  96. package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
  97. package/components/toolbar/GridToolbar.d.ts +8 -3
  98. package/components/toolbar/GridToolbar.js +5 -0
  99. package/components/toolbar/GridToolbarExport.d.ts +1 -1
  100. package/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
  101. package/components/toolbarV8/GridToolbar.d.ts +2 -2
  102. package/components/toolbarV8/GridToolbar.js +26 -24
  103. package/components/toolbarV8/Toolbar.d.ts +1 -1
  104. package/components/toolbarV8/ToolbarButton.d.ts +1 -1
  105. package/components/virtualization/GridMainContainer.d.ts +1 -1
  106. package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
  107. package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
  108. package/constants/defaultGridSlotsComponents.d.ts +1 -1
  109. package/constants/gridClasses.d.ts +44 -0
  110. package/constants/gridClasses.js +1 -1
  111. package/constants/localeTextConstants.d.ts +1 -1
  112. package/constants/localeTextConstants.js +6 -0
  113. package/context/GridContextProvider.d.ts +3 -3
  114. package/esm/DataGrid/DataGrid.d.ts +2 -2
  115. package/esm/DataGrid/useDataGridComponent.d.ts +4 -4
  116. package/esm/DataGrid/useDataGridProps.d.ts +2 -2
  117. package/esm/colDef/gridActionsColDef.d.ts +1 -1
  118. package/esm/colDef/gridBooleanColDef.d.ts +1 -1
  119. package/esm/colDef/gridBooleanOperators.d.ts +1 -1
  120. package/esm/colDef/gridCheckboxSelectionColDef.d.ts +1 -1
  121. package/esm/colDef/gridDateColDef.d.ts +1 -1
  122. package/esm/colDef/gridDateOperators.d.ts +2 -2
  123. package/esm/colDef/gridDefaultColumnTypes.js +3 -1
  124. package/esm/colDef/gridLongTextColDef.d.ts +2 -0
  125. package/esm/colDef/gridLongTextColDef.js +10 -0
  126. package/esm/colDef/gridNumericColDef.d.ts +1 -1
  127. package/esm/colDef/gridNumericOperators.d.ts +1 -1
  128. package/esm/colDef/gridSingleSelectColDef.d.ts +1 -1
  129. package/esm/colDef/gridSingleSelectOperators.d.ts +1 -1
  130. package/esm/colDef/gridStringColDef.d.ts +1 -1
  131. package/esm/colDef/gridStringOperators.d.ts +1 -1
  132. package/esm/colDef/index.d.ts +1 -0
  133. package/esm/colDef/index.js +1 -0
  134. package/esm/components/GridColumnHeaders.d.ts +1 -1
  135. package/esm/components/GridColumnSortButton.d.ts +2 -2
  136. package/esm/components/GridColumnUnsortedIcon.d.ts +2 -2
  137. package/esm/components/GridFooter.d.ts +1 -1
  138. package/esm/components/GridLoadingOverlay.d.ts +1 -1
  139. package/esm/components/GridNoColumnsOverlay.d.ts +1 -1
  140. package/esm/components/GridNoResultsOverlay.d.ts +1 -1
  141. package/esm/components/GridNoRowsOverlay.d.ts +1 -1
  142. package/esm/components/GridRow.d.ts +2 -2
  143. package/esm/components/GridRowCount.d.ts +1 -1
  144. package/esm/components/GridScrollArea.d.ts +2 -2
  145. package/esm/components/GridSelectedRowCount.d.ts +1 -1
  146. package/esm/components/GridSkeletonLoadingOverlay.d.ts +1 -1
  147. package/esm/components/cell/GridActionsCell.d.ts +24 -4
  148. package/esm/components/cell/GridActionsCell.js +15 -5
  149. package/esm/components/cell/GridActionsCellItem.d.ts +1 -1
  150. package/esm/components/cell/GridCell.d.ts +3 -3
  151. package/esm/components/cell/GridEditBooleanCell.d.ts +1 -1
  152. package/esm/components/cell/GridEditDateCell.d.ts +2 -2
  153. package/esm/components/cell/GridEditInputCell.d.ts +2 -2
  154. package/esm/components/cell/GridEditLongTextCell.d.ts +41 -0
  155. package/esm/components/cell/GridEditLongTextCell.js +240 -0
  156. package/esm/components/cell/GridEditSingleSelectCell.d.ts +1 -1
  157. package/esm/components/cell/GridFooterCell.d.ts +1 -1
  158. package/esm/components/cell/GridLongTextCell.d.ts +43 -0
  159. package/esm/components/cell/GridLongTextCell.js +246 -0
  160. package/esm/components/cell/GridSkeletonCell.d.ts +1 -1
  161. package/esm/components/cell/index.d.ts +3 -1
  162. package/esm/components/cell/index.js +3 -1
  163. package/esm/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  164. package/esm/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
  165. package/esm/components/columnHeaders/GridColumnHeaderFilterIconButton.d.ts +1 -1
  166. package/esm/components/columnHeaders/GridColumnHeaderItem.d.ts +3 -3
  167. package/esm/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
  168. package/esm/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +4 -4
  169. package/esm/components/columnsManagement/GridColumnsManagement.d.ts +1 -1
  170. package/esm/components/columnsManagement/utils.d.ts +1 -1
  171. package/esm/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
  172. package/esm/components/containers/GridFooterContainer.d.ts +1 -1
  173. package/esm/components/containers/GridOverlay.d.ts +1 -1
  174. package/esm/components/containers/GridRoot.d.ts +2 -2
  175. package/esm/components/containers/GridRootStyles.d.ts +1 -1
  176. package/esm/components/containers/GridToolbarContainer.d.ts +1 -1
  177. package/esm/components/export/ExportCsv.d.ts +2 -2
  178. package/esm/components/export/ExportPrint.d.ts +2 -2
  179. package/esm/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
  180. package/esm/components/menu/GridMenu.d.ts +1 -1
  181. package/esm/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
  182. package/esm/components/menu/columnMenu/GridColumnMenu.d.ts +1 -1
  183. package/esm/components/menu/columnMenu/GridColumnMenuContainer.d.ts +1 -1
  184. package/esm/components/menu/columnMenu/GridColumnMenuItemProps.d.ts +2 -2
  185. package/esm/components/menu/columnMenu/GridColumnMenuProps.d.ts +3 -3
  186. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +1 -1
  187. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +1 -1
  188. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +1 -1
  189. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +1 -1
  190. package/esm/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +1 -1
  191. package/esm/components/panel/GridColumnsPanel.d.ts +1 -1
  192. package/esm/components/panel/GridPanel.d.ts +1 -1
  193. package/esm/components/panel/GridPanelContent.d.ts +1 -1
  194. package/esm/components/panel/GridPanelFooter.d.ts +1 -1
  195. package/esm/components/panel/GridPanelHeader.d.ts +1 -1
  196. package/esm/components/panel/GridPanelWrapper.d.ts +2 -2
  197. package/esm/components/panel/filterPanel/GridFilterForm.d.ts +2 -2
  198. package/esm/components/panel/filterPanel/GridFilterInputBoolean.d.ts +2 -2
  199. package/esm/components/panel/filterPanel/GridFilterInputDate.d.ts +2 -2
  200. package/esm/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +2 -2
  201. package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +2 -2
  202. package/esm/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +2 -2
  203. package/esm/components/panel/filterPanel/GridFilterInputValue.d.ts +3 -3
  204. package/esm/components/panel/filterPanel/GridFilterPanel.d.ts +4 -4
  205. package/esm/components/quickFilter/QuickFilter.d.ts +2 -2
  206. package/esm/components/quickFilter/QuickFilterClear.d.ts +2 -2
  207. package/esm/components/quickFilter/QuickFilterControl.d.ts +2 -2
  208. package/esm/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
  209. package/esm/components/toolbar/GridToolbar.d.ts +8 -3
  210. package/esm/components/toolbar/GridToolbar.js +5 -0
  211. package/esm/components/toolbar/GridToolbarExport.d.ts +1 -1
  212. package/esm/components/toolbar/GridToolbarQuickFilter.d.ts +2 -2
  213. package/esm/components/toolbarV8/GridToolbar.d.ts +2 -2
  214. package/esm/components/toolbarV8/GridToolbar.js +26 -24
  215. package/esm/components/toolbarV8/Toolbar.d.ts +1 -1
  216. package/esm/components/toolbarV8/ToolbarButton.d.ts +1 -1
  217. package/esm/components/virtualization/GridMainContainer.d.ts +1 -1
  218. package/esm/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
  219. package/esm/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
  220. package/esm/constants/defaultGridSlotsComponents.d.ts +1 -1
  221. package/esm/constants/gridClasses.d.ts +44 -0
  222. package/esm/constants/gridClasses.js +1 -1
  223. package/esm/constants/localeTextConstants.d.ts +1 -1
  224. package/esm/constants/localeTextConstants.js +6 -0
  225. package/esm/context/GridContextProvider.d.ts +3 -3
  226. package/esm/hooks/core/gridCoreSelector.d.ts +1 -1
  227. package/esm/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
  228. package/esm/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
  229. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
  230. package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
  231. package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
  232. package/esm/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
  233. package/esm/hooks/core/useGridApiInitialization.d.ts +2 -2
  234. package/esm/hooks/core/useGridInitialization.d.ts +2 -2
  235. package/esm/hooks/core/useGridIsRtl.d.ts +2 -2
  236. package/esm/hooks/core/useGridLocaleText.d.ts +3 -3
  237. package/esm/hooks/core/useGridLoggerFactory.d.ts +3 -3
  238. package/esm/hooks/core/useGridProps.js +5 -3
  239. package/esm/hooks/core/useGridRefs.d.ts +1 -1
  240. package/esm/hooks/core/useGridStateInitialization.d.ts +1 -1
  241. package/esm/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
  242. package/esm/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
  243. package/esm/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
  244. package/esm/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
  245. package/esm/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
  246. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
  247. package/esm/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
  248. package/esm/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
  249. package/esm/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
  250. package/esm/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
  251. package/esm/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
  252. package/esm/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
  253. package/esm/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
  254. package/esm/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
  255. package/esm/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
  256. package/esm/hooks/features/columns/useGridColumns.d.ts +4 -4
  257. package/esm/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
  258. package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
  259. package/esm/hooks/features/density/densitySelector.d.ts +2 -2
  260. package/esm/hooks/features/density/densityState.d.ts +1 -1
  261. package/esm/hooks/features/density/useGridDensity.d.ts +4 -4
  262. package/esm/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
  263. package/esm/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
  264. package/esm/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
  265. package/esm/hooks/features/editing/useGridCellEditable.d.ts +1 -1
  266. package/esm/hooks/features/editing/useGridCellEditing.d.ts +3 -3
  267. package/esm/hooks/features/editing/useGridEditing.d.ts +5 -5
  268. package/esm/hooks/features/editing/useGridRowEditing.d.ts +3 -3
  269. package/esm/hooks/features/editing/utils.d.ts +1 -1
  270. package/esm/hooks/features/events/useGridEvents.d.ts +3 -3
  271. package/esm/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
  272. package/esm/hooks/features/export/useGridCsvExport.d.ts +2 -2
  273. package/esm/hooks/features/export/useGridPrintExport.d.ts +3 -3
  274. package/esm/hooks/features/export/utils.d.ts +5 -5
  275. package/esm/hooks/features/filter/gridFilterSelector.d.ts +3 -3
  276. package/esm/hooks/features/filter/gridFilterState.d.ts +4 -4
  277. package/esm/hooks/features/filter/gridFilterUtils.d.ts +4 -4
  278. package/esm/hooks/features/filter/useGridFilter.d.ts +4 -4
  279. package/esm/hooks/features/focus/gridFocusState.d.ts +1 -1
  280. package/esm/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
  281. package/esm/hooks/features/focus/useGridFocus.d.ts +4 -4
  282. package/esm/hooks/features/focus/useGridFocus.js +40 -2
  283. package/esm/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
  284. package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
  285. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
  286. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
  287. package/esm/hooks/features/keyboardNavigation/utils.d.ts +3 -3
  288. package/esm/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
  289. package/esm/hooks/features/listView/useGridListView.d.ts +4 -4
  290. package/esm/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
  291. package/esm/hooks/features/overlays/useGridOverlays.d.ts +3 -3
  292. package/esm/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
  293. package/esm/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
  294. package/esm/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
  295. package/esm/hooks/features/pagination/useGridPagination.d.ts +4 -4
  296. package/esm/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
  297. package/esm/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
  298. package/esm/hooks/features/pagination/useGridRowCount.d.ts +3 -3
  299. package/esm/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
  300. package/esm/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
  301. package/esm/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
  302. package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
  303. package/esm/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
  304. package/esm/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
  305. package/esm/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
  306. package/esm/hooks/features/rowSelection/utils.d.ts +3 -3
  307. package/esm/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
  308. package/esm/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
  309. package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
  310. package/esm/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
  311. package/esm/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
  312. package/esm/hooks/features/rows/gridRowsSelector.d.ts +2 -2
  313. package/esm/hooks/features/rows/gridRowsUtils.d.ts +5 -5
  314. package/esm/hooks/features/rows/useGridParamsApi.d.ts +3 -3
  315. package/esm/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
  316. package/esm/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
  317. package/esm/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
  318. package/esm/hooks/features/rows/useGridRows.d.ts +4 -4
  319. package/esm/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
  320. package/esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
  321. package/esm/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
  322. package/esm/hooks/features/scroll/useGridScroll.d.ts +3 -3
  323. package/esm/hooks/features/scroll/useGridScroll.js +3 -3
  324. package/esm/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
  325. package/esm/hooks/features/sorting/gridSortingState.d.ts +2 -2
  326. package/esm/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
  327. package/esm/hooks/features/sorting/useGridSorting.d.ts +4 -4
  328. package/esm/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
  329. package/esm/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
  330. package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
  331. package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
  332. package/esm/hooks/utils/useGridApiContext.d.ts +3 -3
  333. package/esm/hooks/utils/useGridApiMethod.d.ts +2 -2
  334. package/esm/hooks/utils/useGridApiRef.d.ts +2 -2
  335. package/esm/hooks/utils/useGridAriaAttributes.d.ts +1 -1
  336. package/esm/hooks/utils/useGridConfiguration.d.ts +1 -1
  337. package/esm/hooks/utils/useGridEvent.d.ts +3 -3
  338. package/esm/hooks/utils/useGridInitializeState.d.ts +4 -4
  339. package/esm/hooks/utils/useGridLogger.d.ts +3 -3
  340. package/esm/hooks/utils/useGridNativeEventListener.d.ts +2 -2
  341. package/esm/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
  342. package/esm/hooks/utils/useGridSelector.d.ts +1 -1
  343. package/esm/hooks/utils/useGridVisibleRows.d.ts +2 -2
  344. package/esm/index.d.ts +2 -2
  345. package/esm/index.js +1 -1
  346. package/esm/internals/index.d.ts +1 -1
  347. package/esm/internals/index.js +1 -1
  348. package/esm/internals/utils/attachPinnedStyle.d.ts +1 -1
  349. package/esm/internals/utils/cache.d.ts +1 -1
  350. package/esm/internals/utils/getPinnedCellOffset.d.ts +1 -1
  351. package/esm/internals/utils/propValidation.d.ts +1 -1
  352. package/esm/locales/arSD.d.ts +1 -1
  353. package/esm/locales/arSD.js +6 -0
  354. package/esm/locales/beBY.d.ts +1 -1
  355. package/esm/locales/beBY.js +6 -0
  356. package/esm/locales/bgBG.d.ts +1 -1
  357. package/esm/locales/bgBG.js +6 -0
  358. package/esm/locales/bnBD.d.ts +1 -1
  359. package/esm/locales/bnBD.js +6 -0
  360. package/esm/locales/caES.d.ts +1 -1
  361. package/esm/locales/caES.js +6 -0
  362. package/esm/locales/csCZ.d.ts +1 -1
  363. package/esm/locales/csCZ.js +6 -0
  364. package/esm/locales/daDK.d.ts +1 -1
  365. package/esm/locales/daDK.js +6 -0
  366. package/esm/locales/deDE.d.ts +1 -1
  367. package/esm/locales/deDE.js +6 -0
  368. package/esm/locales/elGR.d.ts +1 -1
  369. package/esm/locales/elGR.js +6 -0
  370. package/esm/locales/enUS.d.ts +1 -1
  371. package/esm/locales/esES.d.ts +1 -1
  372. package/esm/locales/esES.js +6 -0
  373. package/esm/locales/faIR.d.ts +1 -1
  374. package/esm/locales/faIR.js +6 -0
  375. package/esm/locales/fiFI.d.ts +1 -1
  376. package/esm/locales/fiFI.js +6 -0
  377. package/esm/locales/frFR.d.ts +1 -1
  378. package/esm/locales/frFR.js +6 -0
  379. package/esm/locales/heIL.d.ts +1 -1
  380. package/esm/locales/heIL.js +6 -0
  381. package/esm/locales/hrHR.js +6 -0
  382. package/esm/locales/huHU.d.ts +1 -1
  383. package/esm/locales/huHU.js +6 -0
  384. package/esm/locales/hyAM.d.ts +1 -1
  385. package/esm/locales/hyAM.js +6 -0
  386. package/esm/locales/idID.d.ts +2 -2
  387. package/esm/locales/idID.js +6 -0
  388. package/esm/locales/isIS.d.ts +1 -1
  389. package/esm/locales/isIS.js +6 -0
  390. package/esm/locales/itIT.d.ts +1 -1
  391. package/esm/locales/itIT.js +6 -0
  392. package/esm/locales/jaJP.d.ts +1 -1
  393. package/esm/locales/jaJP.js +6 -0
  394. package/esm/locales/koKR.d.ts +1 -1
  395. package/esm/locales/koKR.js +6 -0
  396. package/esm/locales/nbNO.d.ts +1 -1
  397. package/esm/locales/nbNO.js +6 -0
  398. package/esm/locales/nlNL.d.ts +1 -1
  399. package/esm/locales/nlNL.js +6 -0
  400. package/esm/locales/nnNO.d.ts +1 -1
  401. package/esm/locales/nnNO.js +6 -0
  402. package/esm/locales/plPL.d.ts +1 -1
  403. package/esm/locales/plPL.js +6 -0
  404. package/esm/locales/ptBR.d.ts +1 -1
  405. package/esm/locales/ptBR.js +6 -0
  406. package/esm/locales/ptPT.d.ts +1 -1
  407. package/esm/locales/ptPT.js +6 -0
  408. package/esm/locales/roRO.d.ts +1 -1
  409. package/esm/locales/roRO.js +6 -0
  410. package/esm/locales/ruRU.d.ts +1 -1
  411. package/esm/locales/ruRU.js +6 -0
  412. package/esm/locales/skSK.d.ts +1 -1
  413. package/esm/locales/skSK.js +6 -0
  414. package/esm/locales/svSE.d.ts +1 -1
  415. package/esm/locales/svSE.js +6 -0
  416. package/esm/locales/trTR.d.ts +1 -1
  417. package/esm/locales/trTR.js +6 -0
  418. package/esm/locales/ukUA.d.ts +1 -1
  419. package/esm/locales/ukUA.js +6 -0
  420. package/esm/locales/urPK.d.ts +1 -1
  421. package/esm/locales/urPK.js +6 -0
  422. package/esm/locales/viVN.d.ts +1 -1
  423. package/esm/locales/viVN.js +6 -0
  424. package/esm/locales/zhCN.d.ts +1 -1
  425. package/esm/locales/zhCN.js +6 -0
  426. package/esm/locales/zhHK.js +6 -0
  427. package/esm/locales/zhTW.d.ts +1 -1
  428. package/esm/locales/zhTW.js +6 -0
  429. package/esm/material/augmentation.d.ts +4 -0
  430. package/esm/material/icons/createSvgIcon.d.ts +1 -1
  431. package/esm/material/icons/index.d.ts +5 -1
  432. package/esm/material/icons/index.js +13 -1
  433. package/esm/material/index.js +27 -10
  434. package/esm/models/api/gridColumnApi.d.ts +1 -1
  435. package/esm/models/api/gridColumnGroupingApi.d.ts +2 -2
  436. package/esm/models/api/gridColumnSpanning.d.ts +3 -3
  437. package/esm/models/api/gridCoreApi.d.ts +2 -2
  438. package/esm/models/api/gridCsvExportApi.d.ts +1 -1
  439. package/esm/models/api/gridDensityApi.d.ts +2 -2
  440. package/esm/models/api/gridEditingApi.d.ts +6 -6
  441. package/esm/models/api/gridFilterApi.d.ts +4 -4
  442. package/esm/models/api/gridFocusApi.d.ts +3 -3
  443. package/esm/models/api/gridHeaderFilteringApi.d.ts +2 -2
  444. package/esm/models/api/gridLocaleTextApi.d.ts +5 -1
  445. package/esm/models/api/gridLoggerApi.d.ts +1 -1
  446. package/esm/models/api/gridParamsApi.d.ts +7 -7
  447. package/esm/models/api/gridPreferencesPanelApi.d.ts +1 -1
  448. package/esm/models/api/gridPrintExportApi.d.ts +1 -1
  449. package/esm/models/api/gridRowApi.d.ts +1 -1
  450. package/esm/models/api/gridRowSelectionApi.d.ts +1 -1
  451. package/esm/models/api/gridRowsMetaApi.d.ts +2 -2
  452. package/esm/models/api/gridScrollApi.d.ts +2 -2
  453. package/esm/models/api/gridSortApi.d.ts +3 -3
  454. package/esm/models/api/gridStateApi.d.ts +3 -3
  455. package/esm/models/colDef/gridColDef.d.ts +13 -13
  456. package/esm/models/colDef/gridColType.d.ts +1 -0
  457. package/esm/models/colDef/gridColumnTypesRecord.d.ts +2 -2
  458. package/esm/models/configuration/gridAggregationConfiguration.d.ts +2 -2
  459. package/esm/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
  460. package/esm/models/configuration/gridConfiguration.d.ts +1 -1
  461. package/esm/models/configuration/gridParamsConfiguration.d.ts +2 -2
  462. package/esm/models/configuration/gridRowConfiguration.d.ts +4 -4
  463. package/esm/models/controlStateItem.d.ts +1 -1
  464. package/esm/models/events/gridEventLookup.d.ts +7 -7
  465. package/esm/models/gridBaseSlots.d.ts +13 -0
  466. package/esm/models/gridCell.d.ts +1 -1
  467. package/esm/models/gridCellClass.d.ts +2 -2
  468. package/esm/models/gridColumnGrouping.d.ts +1 -1
  469. package/esm/models/gridColumnHeaderClass.d.ts +1 -1
  470. package/esm/models/gridExport.d.ts +2 -2
  471. package/esm/models/gridFilterInputComponent.d.ts +3 -3
  472. package/esm/models/gridFilterItem.d.ts +1 -1
  473. package/esm/models/gridFilterModel.d.ts +1 -1
  474. package/esm/models/gridFilterOperator.d.ts +3 -3
  475. package/esm/models/gridHeaderFilteringModel.d.ts +1 -1
  476. package/esm/models/gridIconSlotsComponent.d.ts +22 -2
  477. package/esm/models/gridRowSelectionModel.d.ts +1 -1
  478. package/esm/models/gridSlotsComponent.d.ts +6 -1
  479. package/esm/models/gridSlotsComponentsProps.d.ts +4 -2
  480. package/esm/models/gridSortModel.d.ts +1 -1
  481. package/esm/models/gridStateCommunity.d.ts +2 -2
  482. package/esm/models/params/gridCellParams.d.ts +4 -4
  483. package/esm/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
  484. package/esm/models/params/gridColumnHeaderParams.d.ts +1 -1
  485. package/esm/models/params/gridEditCellParams.d.ts +2 -2
  486. package/esm/models/params/gridPreferencePanelParams.d.ts +1 -1
  487. package/esm/models/params/gridRowParams.d.ts +1 -1
  488. package/esm/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
  489. package/esm/models/params/gridValueOptionsParams.d.ts +1 -1
  490. package/esm/models/props/DataGridProps.d.ts +25 -26
  491. package/esm/themeAugmentation/overrides.d.ts +1 -1
  492. package/esm/themeAugmentation/props.d.ts +2 -2
  493. package/esm/utils/assert.d.ts +1 -1
  494. package/esm/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
  495. package/esm/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
  496. package/esm/utils/createSelector.d.ts +2 -2
  497. package/esm/utils/exportAs.d.ts +1 -1
  498. package/esm/utils/getPublicApiRef.d.ts +1 -1
  499. package/esm/utils/keyboardUtils.d.ts +4 -2
  500. package/esm/utils/keyboardUtils.js +6 -0
  501. package/hooks/core/gridCoreSelector.d.ts +1 -1
  502. package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +10 -10
  503. package/hooks/core/pipeProcessing/useGridPipeProcessing.d.ts +2 -2
  504. package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.d.ts +3 -3
  505. package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.d.ts +3 -3
  506. package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.d.ts +3 -3
  507. package/hooks/core/strategyProcessing/useGridStrategyProcessing.d.ts +3 -3
  508. package/hooks/core/useGridApiInitialization.d.ts +2 -2
  509. package/hooks/core/useGridInitialization.d.ts +2 -2
  510. package/hooks/core/useGridIsRtl.d.ts +2 -2
  511. package/hooks/core/useGridLocaleText.d.ts +3 -3
  512. package/hooks/core/useGridLoggerFactory.d.ts +3 -3
  513. package/hooks/core/useGridProps.js +5 -3
  514. package/hooks/core/useGridRefs.d.ts +1 -1
  515. package/hooks/core/useGridStateInitialization.d.ts +1 -1
  516. package/hooks/features/clipboard/useGridClipboard.d.ts +2 -2
  517. package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +1 -1
  518. package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +1 -1
  519. package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +3 -3
  520. package/hooks/features/columnGrouping/useGridColumnGrouping.d.ts +4 -4
  521. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +8 -8
  522. package/hooks/features/columnMenu/columnMenuInterfaces.d.ts +1 -1
  523. package/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
  524. package/hooks/features/columnMenu/useGridColumnMenu.d.ts +3 -3
  525. package/hooks/features/columnMenu/useGridColumnMenuSlots.d.ts +2 -2
  526. package/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
  527. package/hooks/features/columnResize/useGridColumnResize.d.ts +2 -2
  528. package/hooks/features/columns/gridColumnsSelector.d.ts +2 -2
  529. package/hooks/features/columns/gridColumnsUtils.d.ts +7 -7
  530. package/hooks/features/columns/useGridColumnSpanning.d.ts +2 -2
  531. package/hooks/features/columns/useGridColumns.d.ts +4 -4
  532. package/hooks/features/dataSource/useGridDataSource.d.ts +1 -1
  533. package/hooks/features/dataSource/useGridDataSourceBase.d.ts +2 -2
  534. package/hooks/features/density/densitySelector.d.ts +2 -2
  535. package/hooks/features/density/densityState.d.ts +1 -1
  536. package/hooks/features/density/useGridDensity.d.ts +4 -4
  537. package/hooks/features/dimensions/gridDimensionsSelectors.d.ts +1 -1
  538. package/hooks/features/dimensions/useGridDimensions.d.ts +5 -5
  539. package/hooks/features/editing/gridEditingSelectors.d.ts +3 -3
  540. package/hooks/features/editing/useGridCellEditable.d.ts +1 -1
  541. package/hooks/features/editing/useGridCellEditing.d.ts +3 -3
  542. package/hooks/features/editing/useGridEditing.d.ts +5 -5
  543. package/hooks/features/editing/useGridRowEditing.d.ts +3 -3
  544. package/hooks/features/editing/utils.d.ts +1 -1
  545. package/hooks/features/events/useGridEvents.d.ts +3 -3
  546. package/hooks/features/export/serializers/csvSerializer.d.ts +1 -1
  547. package/hooks/features/export/useGridCsvExport.d.ts +2 -2
  548. package/hooks/features/export/useGridPrintExport.d.ts +3 -3
  549. package/hooks/features/export/utils.d.ts +5 -5
  550. package/hooks/features/filter/gridFilterSelector.d.ts +3 -3
  551. package/hooks/features/filter/gridFilterState.d.ts +4 -4
  552. package/hooks/features/filter/gridFilterUtils.d.ts +4 -4
  553. package/hooks/features/filter/useGridFilter.d.ts +4 -4
  554. package/hooks/features/focus/gridFocusState.d.ts +1 -1
  555. package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
  556. package/hooks/features/focus/useGridFocus.d.ts +4 -4
  557. package/hooks/features/focus/useGridFocus.js +39 -1
  558. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +1 -1
  559. package/hooks/features/headerFiltering/useGridHeaderFiltering.d.ts +4 -4
  560. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.d.ts +3 -3
  561. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +3 -0
  562. package/hooks/features/keyboardNavigation/utils.d.ts +3 -3
  563. package/hooks/features/listView/gridListViewSelectors.d.ts +1 -1
  564. package/hooks/features/listView/useGridListView.d.ts +4 -4
  565. package/hooks/features/overlays/gridOverlaysInterfaces.d.ts +1 -1
  566. package/hooks/features/overlays/useGridOverlays.d.ts +3 -3
  567. package/hooks/features/pagination/gridPaginationInterfaces.d.ts +2 -2
  568. package/hooks/features/pagination/gridPaginationSelector.d.ts +2 -2
  569. package/hooks/features/pagination/gridPaginationUtils.d.ts +1 -1
  570. package/hooks/features/pagination/useGridPagination.d.ts +4 -4
  571. package/hooks/features/pagination/useGridPaginationMeta.d.ts +3 -3
  572. package/hooks/features/pagination/useGridPaginationModel.d.ts +5 -5
  573. package/hooks/features/pagination/useGridRowCount.d.ts +3 -3
  574. package/hooks/features/preferencesPanel/gridPreferencePanelSelector.d.ts +1 -1
  575. package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
  576. package/hooks/features/preferencesPanel/useGridPreferencesPanel.d.ts +4 -4
  577. package/hooks/features/rowReorder/gridRowReorderSelector.d.ts +1 -1
  578. package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +2 -2
  579. package/hooks/features/rowSelection/useGridRowSelection.d.ts +4 -4
  580. package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.d.ts +3 -3
  581. package/hooks/features/rowSelection/utils.d.ts +3 -3
  582. package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
  583. package/hooks/features/rows/gridRowsInterfaces.d.ts +1 -1
  584. package/hooks/features/rows/gridRowsMetaInterfaces.d.ts +1 -1
  585. package/hooks/features/rows/gridRowsMetaSelector.d.ts +1 -1
  586. package/hooks/features/rows/gridRowsMetaState.d.ts +1 -1
  587. package/hooks/features/rows/gridRowsSelector.d.ts +2 -2
  588. package/hooks/features/rows/gridRowsUtils.d.ts +5 -5
  589. package/hooks/features/rows/useGridParamsApi.d.ts +3 -3
  590. package/hooks/features/rows/useGridParamsOverridableMethods.d.ts +2 -2
  591. package/hooks/features/rows/useGridRowAriaAttributes.d.ts +1 -1
  592. package/hooks/features/rows/useGridRowSpanning.d.ts +2 -2
  593. package/hooks/features/rows/useGridRows.d.ts +4 -4
  594. package/hooks/features/rows/useGridRowsMeta.d.ts +4 -4
  595. package/hooks/features/rows/useGridRowsOverridableMethods.d.ts +3 -3
  596. package/hooks/features/rows/useGridRowsPreProcessors.d.ts +2 -2
  597. package/hooks/features/scroll/useGridScroll.d.ts +3 -3
  598. package/hooks/features/scroll/useGridScroll.js +3 -3
  599. package/hooks/features/sorting/gridSortingSelector.d.ts +2 -2
  600. package/hooks/features/sorting/gridSortingState.d.ts +2 -2
  601. package/hooks/features/sorting/gridSortingUtils.d.ts +5 -5
  602. package/hooks/features/sorting/useGridSorting.d.ts +4 -4
  603. package/hooks/features/statePersistence/gridStatePersistenceInterface.d.ts +1 -1
  604. package/hooks/features/statePersistence/useGridStatePersistence.d.ts +2 -2
  605. package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
  606. package/hooks/features/virtualization/useGridVirtualization.d.ts +5 -5
  607. package/hooks/utils/useGridApiContext.d.ts +3 -3
  608. package/hooks/utils/useGridApiMethod.d.ts +2 -2
  609. package/hooks/utils/useGridApiRef.d.ts +2 -2
  610. package/hooks/utils/useGridAriaAttributes.d.ts +1 -1
  611. package/hooks/utils/useGridConfiguration.d.ts +1 -1
  612. package/hooks/utils/useGridEvent.d.ts +3 -3
  613. package/hooks/utils/useGridInitializeState.d.ts +4 -4
  614. package/hooks/utils/useGridLogger.d.ts +3 -3
  615. package/hooks/utils/useGridNativeEventListener.d.ts +2 -2
  616. package/hooks/utils/useGridPrivateApiContext.d.ts +3 -3
  617. package/hooks/utils/useGridSelector.d.ts +1 -1
  618. package/hooks/utils/useGridVisibleRows.d.ts +2 -2
  619. package/index.d.ts +2 -2
  620. package/index.js +1 -1
  621. package/internals/index.d.ts +1 -1
  622. package/internals/index.js +14 -0
  623. package/internals/utils/attachPinnedStyle.d.ts +1 -1
  624. package/internals/utils/cache.d.ts +1 -1
  625. package/internals/utils/getPinnedCellOffset.d.ts +1 -1
  626. package/internals/utils/propValidation.d.ts +1 -1
  627. package/locales/arSD.d.ts +1 -1
  628. package/locales/arSD.js +6 -0
  629. package/locales/beBY.d.ts +1 -1
  630. package/locales/beBY.js +6 -0
  631. package/locales/bgBG.d.ts +1 -1
  632. package/locales/bgBG.js +6 -0
  633. package/locales/bnBD.d.ts +1 -1
  634. package/locales/bnBD.js +6 -0
  635. package/locales/caES.d.ts +1 -1
  636. package/locales/caES.js +6 -0
  637. package/locales/csCZ.d.ts +1 -1
  638. package/locales/csCZ.js +6 -0
  639. package/locales/daDK.d.ts +1 -1
  640. package/locales/daDK.js +6 -0
  641. package/locales/deDE.d.ts +1 -1
  642. package/locales/deDE.js +6 -0
  643. package/locales/elGR.d.ts +1 -1
  644. package/locales/elGR.js +6 -0
  645. package/locales/enUS.d.ts +1 -1
  646. package/locales/esES.d.ts +1 -1
  647. package/locales/esES.js +6 -0
  648. package/locales/faIR.d.ts +1 -1
  649. package/locales/faIR.js +6 -0
  650. package/locales/fiFI.d.ts +1 -1
  651. package/locales/fiFI.js +6 -0
  652. package/locales/frFR.d.ts +1 -1
  653. package/locales/frFR.js +6 -0
  654. package/locales/heIL.d.ts +1 -1
  655. package/locales/heIL.js +6 -0
  656. package/locales/hrHR.js +6 -0
  657. package/locales/huHU.d.ts +1 -1
  658. package/locales/huHU.js +6 -0
  659. package/locales/hyAM.d.ts +1 -1
  660. package/locales/hyAM.js +6 -0
  661. package/locales/idID.d.ts +2 -2
  662. package/locales/idID.js +6 -0
  663. package/locales/isIS.d.ts +1 -1
  664. package/locales/isIS.js +6 -0
  665. package/locales/itIT.d.ts +1 -1
  666. package/locales/itIT.js +6 -0
  667. package/locales/jaJP.d.ts +1 -1
  668. package/locales/jaJP.js +6 -0
  669. package/locales/koKR.d.ts +1 -1
  670. package/locales/koKR.js +6 -0
  671. package/locales/nbNO.d.ts +1 -1
  672. package/locales/nbNO.js +6 -0
  673. package/locales/nlNL.d.ts +1 -1
  674. package/locales/nlNL.js +6 -0
  675. package/locales/nnNO.d.ts +1 -1
  676. package/locales/nnNO.js +6 -0
  677. package/locales/plPL.d.ts +1 -1
  678. package/locales/plPL.js +6 -0
  679. package/locales/ptBR.d.ts +1 -1
  680. package/locales/ptBR.js +6 -0
  681. package/locales/ptPT.d.ts +1 -1
  682. package/locales/ptPT.js +6 -0
  683. package/locales/roRO.d.ts +1 -1
  684. package/locales/roRO.js +6 -0
  685. package/locales/ruRU.d.ts +1 -1
  686. package/locales/ruRU.js +6 -0
  687. package/locales/skSK.d.ts +1 -1
  688. package/locales/skSK.js +6 -0
  689. package/locales/svSE.d.ts +1 -1
  690. package/locales/svSE.js +6 -0
  691. package/locales/trTR.d.ts +1 -1
  692. package/locales/trTR.js +6 -0
  693. package/locales/ukUA.d.ts +1 -1
  694. package/locales/ukUA.js +6 -0
  695. package/locales/urPK.d.ts +1 -1
  696. package/locales/urPK.js +6 -0
  697. package/locales/viVN.d.ts +1 -1
  698. package/locales/viVN.js +6 -0
  699. package/locales/zhCN.d.ts +1 -1
  700. package/locales/zhCN.js +6 -0
  701. package/locales/zhHK.js +6 -0
  702. package/locales/zhTW.d.ts +1 -1
  703. package/locales/zhTW.js +6 -0
  704. package/material/augmentation.d.ts +4 -0
  705. package/material/icons/createSvgIcon.d.ts +1 -1
  706. package/material/icons/index.d.ts +5 -1
  707. package/material/icons/index.js +14 -2
  708. package/material/index.js +26 -9
  709. package/models/api/gridColumnApi.d.ts +1 -1
  710. package/models/api/gridColumnGroupingApi.d.ts +2 -2
  711. package/models/api/gridColumnSpanning.d.ts +3 -3
  712. package/models/api/gridCoreApi.d.ts +2 -2
  713. package/models/api/gridCsvExportApi.d.ts +1 -1
  714. package/models/api/gridDensityApi.d.ts +2 -2
  715. package/models/api/gridEditingApi.d.ts +6 -6
  716. package/models/api/gridFilterApi.d.ts +4 -4
  717. package/models/api/gridFocusApi.d.ts +3 -3
  718. package/models/api/gridHeaderFilteringApi.d.ts +2 -2
  719. package/models/api/gridLocaleTextApi.d.ts +5 -1
  720. package/models/api/gridLoggerApi.d.ts +1 -1
  721. package/models/api/gridParamsApi.d.ts +7 -7
  722. package/models/api/gridPreferencesPanelApi.d.ts +1 -1
  723. package/models/api/gridPrintExportApi.d.ts +1 -1
  724. package/models/api/gridRowApi.d.ts +1 -1
  725. package/models/api/gridRowSelectionApi.d.ts +1 -1
  726. package/models/api/gridRowsMetaApi.d.ts +2 -2
  727. package/models/api/gridScrollApi.d.ts +2 -2
  728. package/models/api/gridSortApi.d.ts +3 -3
  729. package/models/api/gridStateApi.d.ts +3 -3
  730. package/models/colDef/gridColDef.d.ts +13 -13
  731. package/models/colDef/gridColType.d.ts +1 -0
  732. package/models/colDef/gridColumnTypesRecord.d.ts +2 -2
  733. package/models/configuration/gridAggregationConfiguration.d.ts +2 -2
  734. package/models/configuration/gridCellEditableConfiguration.d.ts +4 -4
  735. package/models/configuration/gridConfiguration.d.ts +1 -1
  736. package/models/configuration/gridParamsConfiguration.d.ts +2 -2
  737. package/models/configuration/gridRowConfiguration.d.ts +4 -4
  738. package/models/controlStateItem.d.ts +1 -1
  739. package/models/events/gridEventLookup.d.ts +7 -7
  740. package/models/gridBaseSlots.d.ts +13 -0
  741. package/models/gridCell.d.ts +1 -1
  742. package/models/gridCellClass.d.ts +2 -2
  743. package/models/gridColumnGrouping.d.ts +1 -1
  744. package/models/gridColumnHeaderClass.d.ts +1 -1
  745. package/models/gridExport.d.ts +2 -2
  746. package/models/gridFilterInputComponent.d.ts +3 -3
  747. package/models/gridFilterItem.d.ts +1 -1
  748. package/models/gridFilterModel.d.ts +1 -1
  749. package/models/gridFilterOperator.d.ts +3 -3
  750. package/models/gridHeaderFilteringModel.d.ts +1 -1
  751. package/models/gridIconSlotsComponent.d.ts +22 -2
  752. package/models/gridRowSelectionModel.d.ts +1 -1
  753. package/models/gridSlotsComponent.d.ts +6 -1
  754. package/models/gridSlotsComponentsProps.d.ts +4 -2
  755. package/models/gridSortModel.d.ts +1 -1
  756. package/models/gridStateCommunity.d.ts +2 -2
  757. package/models/params/gridCellParams.d.ts +4 -4
  758. package/models/params/gridColumnGroupHeaderParams.d.ts +1 -1
  759. package/models/params/gridColumnHeaderParams.d.ts +1 -1
  760. package/models/params/gridEditCellParams.d.ts +2 -2
  761. package/models/params/gridPreferencePanelParams.d.ts +1 -1
  762. package/models/params/gridRowParams.d.ts +1 -1
  763. package/models/params/gridRowSelectionCheckboxParams.d.ts +1 -1
  764. package/models/params/gridValueOptionsParams.d.ts +1 -1
  765. package/models/props/DataGridProps.d.ts +25 -26
  766. package/package.json +3 -3
  767. package/themeAugmentation/overrides.d.ts +1 -1
  768. package/themeAugmentation/props.d.ts +2 -2
  769. package/utils/assert.d.ts +1 -1
  770. package/utils/cleanupTracking/FinalizationRegistryBasedCleanupTracking.d.ts +1 -1
  771. package/utils/cleanupTracking/TimerBasedCleanupTracking.d.ts +1 -1
  772. package/utils/createSelector.d.ts +2 -2
  773. package/utils/exportAs.d.ts +1 -1
  774. package/utils/getPublicApiRef.d.ts +1 -1
  775. package/utils/keyboardUtils.d.ts +4 -2
  776. package/utils/keyboardUtils.js +8 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,190 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## v8.27.0
9
+
10
+ _Feb 2, 2026_
11
+
12
+ We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 📝 Data Grid supports new `longText` [column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
15
+
16
+ The following team members contributed to this release:
17
+ @alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @siriwatknp
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@8.27.0`
22
+
23
+ - [DataGrid] Fix virtualization crash by preventing out-of-bounds `focusedVirtualCell` indices (#21123) @cherniavskii
24
+ - [DataGrid] Fix focus steal issue with `<Dialog />` (#21106) @MBilalShafi
25
+ - [DataGrid] Add new `longText` column type (#21103) @siriwatknp
26
+
27
+ #### `@mui/x-data-grid-pro@8.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
28
+
29
+ Same changes as in `@mui/x-data-grid@8.27.0`.
30
+
31
+ #### `@mui/x-data-grid-premium@8.27.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
32
+
33
+ Same changes as in `@mui/x-data-grid-pro@8.27.0`, plus:
34
+
35
+ - [DataGridPremium] Fix focus retention when undo/redo operations are done on the same cell (#21110) @arminmeh
36
+
37
+ ### Date and Time Pickers
38
+
39
+ #### `@mui/x-date-pickers@8.27.0`
40
+
41
+ Internal changes.
42
+
43
+ #### `@mui/x-date-pickers-pro@8.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
44
+
45
+ Same changes as in `@mui/x-date-pickers@8.27.0`.
46
+
47
+ ### Charts
48
+
49
+ #### `@mui/x-charts@8.27.0`
50
+
51
+ - [charts] Deprecate `AxisId` class in favour of to `data-axis-id` attribute (#21048) @JCQuintas
52
+
53
+ #### `@mui/x-charts-pro@8.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
54
+
55
+ Same changes as in `@mui/x-charts@8.27.0`, plus:
56
+
57
+ - [charts-pro] Add `onItemClick` to the heatmap (#20817) (#21030) @alexfauquette
58
+
59
+ #### `@mui/x-charts-premium@8.27.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
60
+
61
+ Same changes as in `@mui/x-charts-pro@8.27.0`, plus:
62
+
63
+ - [charts-premium] Fix wrong `defaultSlots` in premium charts (#21052) @bernardobelchior
64
+
65
+ ### Tree View
66
+
67
+ #### `@mui/x-tree-view@8.27.0`
68
+
69
+ Internal changes.
70
+
71
+ #### `@mui/x-tree-view-pro@8.27.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
72
+
73
+ Same changes as in `@mui/x-tree-view@8.27.0`, plus:
74
+
75
+ - [RichTreeViewPro] Do not export `useSimpleTreeViewApiRef()` and `useRichTreeViewApiRef()` from pro package (#21145) @flaviendelangle
76
+
77
+ ### Codemod
78
+
79
+ #### `@mui/x-codemod@8.27.0`
80
+
81
+ Internal changes.
82
+
83
+ ### Docs
84
+
85
+ - [docs] Fix DataGrid's cell edit renderers (@arminmeh) (#21041) @github-actions[bot]
86
+
87
+ ### Core
88
+
89
+ - [code-infra] Add `consistent-type-imports` rule to the grid packages (#21119) @arminmeh
90
+ - [code-infra] Allow user to select target branch if it exists for current major (#21005) @JCQuintas
91
+ - [code-infra] Fix the target branch condition in the release script (#21051) @arminmeh
92
+ - [code-infra] Update docs deploy script to fetch from `v8.x` (#21013) @arminmeh
93
+
94
+ ## 8.26.1
95
+
96
+ _Jan 23, 2026_
97
+
98
+ Release highlight ✨:
99
+
100
+ - 🐞 Hotfix for Data Grid Premium type imports
101
+
102
+ ### Data Grid
103
+
104
+ #### `@mui/x-data-grid-premium@8.26.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
105
+
106
+ - [DataGridPremium] Fix type import (#21033) @arminmeh
107
+
108
+ ## 8.26.0
109
+
110
+ _Jan 22, 2026_
111
+
112
+ We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
113
+
114
+ - 🔄 Data Grid now supports undo and redo actions. See the [Undo and redo](https://mui.com/x/react-data-grid/undo-redo/) page for details about out-of-the-box support and customization options.
115
+ - 🐞 Bugfixes
116
+
117
+ Special thanks go out to these community members for their valuable contributions:
118
+ @jhe-iqbis
119
+
120
+ The following team members contributed to this release:
121
+ @arminmeh, @cherniavskii, @flaviendelangle, @JCQuintas, @romgrk
122
+
123
+ ### Data Grid
124
+
125
+ #### `@mui/x-data-grid@8.26.0`
126
+
127
+ - [DataGrid] Add `onMenuOpen()` and `onMenuClose()` event handlers in `GridActionsCell` (#20994) @jhe-iqbis
128
+ - [DataGrid] Fix scroll position when virtualization is disabled (#20958) @romgrk
129
+
130
+ #### `@mui/x-data-grid-pro@8.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
131
+
132
+ Same changes as in `@mui/x-data-grid@8.26.0`.
133
+
134
+ #### `@mui/x-data-grid-premium@8.26.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
135
+
136
+ Same changes as in `@mui/x-data-grid-pro@8.26.0`, plus:
137
+
138
+ - [DataGridPremium] Undo and redo (#20993) @arminmeh
139
+
140
+ ### Date and Time Pickers
141
+
142
+ #### `@mui/x-date-pickers@8.26.0`
143
+
144
+ Internal changes.
145
+
146
+ #### `@mui/x-date-pickers-pro@8.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
147
+
148
+ Same changes as in `@mui/x-date-pickers@8.26.0`.
149
+
150
+ ### Charts
151
+
152
+ #### `@mui/x-charts@8.26.0`
153
+
154
+ Internal changes.
155
+
156
+ #### `@mui/x-charts-pro@8.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
157
+
158
+ Same changes as in `@mui/x-charts@8.26.0`.
159
+
160
+ #### `@mui/x-charts-premium@8.26.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
161
+
162
+ Same changes as in `@mui/x-charts-pro@8.26.0`.
163
+
164
+ ### Tree View
165
+
166
+ #### `@mui/x-tree-view@8.26.0`
167
+
168
+ - [tree view] Fix `props.id` not passed to the root element (#20976) @flaviendelangle
169
+
170
+ #### `@mui/x-tree-view-pro@8.26.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
171
+
172
+ Same changes as in `@mui/x-tree-view@8.26.0`.
173
+
174
+ ### Codemod
175
+
176
+ #### `@mui/x-codemod@8.26.0`
177
+
178
+ Internal changes.
179
+
180
+ ### Docs
181
+
182
+ - [docs] Recipe for lazy loading DataGrid's detail panels with auto height (#20995) @arminmeh
183
+
184
+ ### Core
185
+
186
+ - [code-infra] Update `master` to `v8` references (#20864) @JCQuintas
187
+ - [code-infra] Update v8 branch tags (#20926) @JCQuintas
188
+ - [code-infra] V8 changes in master (#20919) @JCQuintas
189
+ - [code-infra] Allow user to select target branch if it exists for current major (#21005) @JCQuintas
190
+ - [internal] Set up shared instructions for coding agents (#21000) @cherniavskii
191
+
8
192
  ## 8.25.0
9
193
 
10
194
  <!-- generated comparing v8.24.0..master -->
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { DataGridProps } from "../models/props/DataGridProps.js";
3
- import { GridValidRowModel } from "../models/gridRows.js";
2
+ import type { DataGridProps } from "../models/props/DataGridProps.js";
3
+ import type { GridValidRowModel } from "../models/gridRows.js";
4
4
  export type { GridSlotsComponent as GridSlots } from "../models/index.js";
5
5
  interface DataGridComponent {
6
6
  <R extends GridValidRowModel = any>(props: DataGridProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { DataGridProcessedProps } from "../models/props/DataGridProps.js";
3
- import { GridPrivateApiCommunity } from "../models/api/gridApiCommunity.js";
4
- import { GridConfiguration } from "../models/configuration/gridConfiguration.js";
1
+ import type { RefObject } from '@mui/x-internals/types';
2
+ import type { DataGridProcessedProps } from "../models/props/DataGridProps.js";
3
+ import type { GridPrivateApiCommunity } from "../models/api/gridApiCommunity.js";
4
+ import type { GridConfiguration } from "../models/configuration/gridConfiguration.js";
5
5
  export declare const useDataGridComponent: (apiRef: RefObject<GridPrivateApiCommunity>, props: DataGridProcessedProps, configuration: GridConfiguration) => void;
@@ -1,3 +1,3 @@
1
- import { DataGridProcessedProps, DataGridProps } from "../models/props/DataGridProps.js";
2
- import { GridValidRowModel } from "../models/index.js";
1
+ import type { DataGridProcessedProps, DataGridProps } from "../models/props/DataGridProps.js";
2
+ import type { GridValidRowModel } from "../models/index.js";
3
3
  export declare const useDataGridProps: <R extends GridValidRowModel>(inProps: DataGridProps<R>) => DataGridProcessedProps<R>;
@@ -1,3 +1,3 @@
1
- import { GridColTypeDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
2
2
  export declare const GRID_ACTIONS_COLUMN_TYPE = "actions";
3
3
  export declare const GRID_ACTIONS_COL_DEF: GridColTypeDef;
@@ -1,2 +1,2 @@
1
- import { GridColTypeDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
2
2
  export declare const GRID_BOOLEAN_COL_DEF: GridColTypeDef<boolean | null, any>;
@@ -1,2 +1,2 @@
1
- import { GridFilterOperator } from "../models/gridFilterOperator.js";
1
+ import type { GridFilterOperator } from "../models/gridFilterOperator.js";
2
2
  export declare const getGridBooleanOperators: () => GridFilterOperator<any, boolean | null, any>[];
@@ -1,3 +1,3 @@
1
- import { GridColDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridColDef } from "../models/colDef/gridColDef.js";
2
2
  export declare const GRID_CHECKBOX_SELECTION_FIELD = "__check__";
3
3
  export declare const GRID_CHECKBOX_SELECTION_COL_DEF: GridColDef;
@@ -1,4 +1,4 @@
1
- import { GridColTypeDef, GridValueFormatter } from "../models/colDef/gridColDef.js";
1
+ import type { GridColTypeDef, GridValueFormatter } from "../models/colDef/gridColDef.js";
2
2
  export declare const gridDateFormatter: GridValueFormatter;
3
3
  export declare const gridDateTimeFormatter: GridValueFormatter;
4
4
  export declare const GRID_DATE_COL_DEF: GridColTypeDef<Date, string>;
@@ -1,3 +1,3 @@
1
- import { GridFilterInputDateProps } from "../components/panel/filterPanel/GridFilterInputDate.js";
2
- import { GridFilterOperator } from "../models/gridFilterOperator.js";
1
+ import { type GridFilterInputDateProps } from "../components/panel/filterPanel/GridFilterInputDate.js";
2
+ import type { GridFilterOperator } from "../models/gridFilterOperator.js";
3
3
  export declare const getGridDateOperators: (showTime?: boolean) => GridFilterOperator<any, Date, any, GridFilterInputDateProps>[];
@@ -10,6 +10,7 @@ var _gridDateColDef = require("./gridDateColDef");
10
10
  var _gridBooleanColDef = require("./gridBooleanColDef");
11
11
  var _gridSingleSelectColDef = require("./gridSingleSelectColDef");
12
12
  var _gridActionsColDef = require("./gridActionsColDef");
13
+ var _gridLongTextColDef = require("./gridLongTextColDef");
13
14
  const DEFAULT_GRID_COL_TYPE_KEY = exports.DEFAULT_GRID_COL_TYPE_KEY = 'string';
14
15
  const getGridDefaultColumnTypes = () => {
15
16
  const nativeColumnTypes = {
@@ -20,7 +21,8 @@ const getGridDefaultColumnTypes = () => {
20
21
  boolean: _gridBooleanColDef.GRID_BOOLEAN_COL_DEF,
21
22
  singleSelect: _gridSingleSelectColDef.GRID_SINGLE_SELECT_COL_DEF,
22
23
  [_gridActionsColDef.GRID_ACTIONS_COLUMN_TYPE]: _gridActionsColDef.GRID_ACTIONS_COL_DEF,
23
- custom: _gridStringColDef.GRID_STRING_COL_DEF
24
+ custom: _gridStringColDef.GRID_STRING_COL_DEF,
25
+ longText: _gridLongTextColDef.GRID_LONG_TEXT_COL_DEF
24
26
  };
25
27
  return nativeColumnTypes;
26
28
  };
@@ -0,0 +1,2 @@
1
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
2
+ export declare const GRID_LONG_TEXT_COL_DEF: GridColTypeDef<string | null, any>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.GRID_LONG_TEXT_COL_DEF = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _gridStringColDef = require("./gridStringColDef");
10
+ var _GridLongTextCell = require("../components/cell/GridLongTextCell");
11
+ var _GridEditLongTextCell = require("../components/cell/GridEditLongTextCell");
12
+ const GRID_LONG_TEXT_COL_DEF = exports.GRID_LONG_TEXT_COL_DEF = (0, _extends2.default)({}, _gridStringColDef.GRID_STRING_COL_DEF, {
13
+ type: 'longText',
14
+ display: 'flex',
15
+ renderCell: _GridLongTextCell.renderLongTextCell,
16
+ renderEditCell: _GridEditLongTextCell.renderEditLongTextCell
17
+ });
@@ -1,2 +1,2 @@
1
- import { GridColTypeDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
2
2
  export declare const GRID_NUMERIC_COL_DEF: GridColTypeDef<number | string | null, string>;
@@ -1,4 +1,4 @@
1
- import { GridFilterOperator } from "../models/gridFilterOperator.js";
1
+ import type { GridFilterOperator } from "../models/gridFilterOperator.js";
2
2
  import type { GridFilterInputValueProps } from "../models/gridFilterInputComponent.js";
3
3
  import type { GetApplyQuickFilterFn } from "../models/colDef/gridColDef.js";
4
4
  export declare const getGridNumericQuickFilterFn: GetApplyQuickFilterFn<any, number | string | null>;
@@ -1,2 +1,2 @@
1
- import { GridSingleSelectColDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridSingleSelectColDef } from "../models/colDef/gridColDef.js";
2
2
  export declare const GRID_SINGLE_SELECT_COL_DEF: Omit<GridSingleSelectColDef, 'field'>;
@@ -1,2 +1,2 @@
1
- import { GridFilterOperator } from "../models/gridFilterOperator.js";
1
+ import type { GridFilterOperator } from "../models/gridFilterOperator.js";
2
2
  export declare const getGridSingleSelectOperators: () => GridFilterOperator[];
@@ -1,4 +1,4 @@
1
- import { GridColTypeDef } from "../models/colDef/gridColDef.js";
1
+ import type { GridColTypeDef } from "../models/colDef/gridColDef.js";
2
2
  /**
3
3
  * TODO: Move pro and premium properties outside of this Community file
4
4
  */
@@ -1,4 +1,4 @@
1
1
  import type { GetApplyQuickFilterFn } from "../models/colDef/gridColDef.js";
2
- import { GridFilterOperator } from "../models/gridFilterOperator.js";
2
+ import type { GridFilterOperator } from "../models/gridFilterOperator.js";
3
3
  export declare const getGridStringQuickFilterFn: GetApplyQuickFilterFn<any, unknown>;
4
4
  export declare const getGridStringOperators: (disableTrim?: boolean) => GridFilterOperator<any, number | string | null, any>[];
package/colDef/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from "./gridDateColDef.js";
5
5
  export * from "./gridNumericColDef.js";
6
6
  export * from "./gridSingleSelectColDef.js";
7
7
  export * from "./gridStringColDef.js";
8
+ export * from "./gridLongTextColDef.js";
8
9
  export * from "./gridBooleanOperators.js";
9
10
  export * from "./gridDateOperators.js";
10
11
  export * from "./gridNumericOperators.js";
package/colDef/index.js CHANGED
@@ -80,6 +80,17 @@ Object.keys(_gridStringColDef).forEach(function (key) {
80
80
  }
81
81
  });
82
82
  });
83
+ var _gridLongTextColDef = require("./gridLongTextColDef");
84
+ Object.keys(_gridLongTextColDef).forEach(function (key) {
85
+ if (key === "default" || key === "__esModule") return;
86
+ if (key in exports && exports[key] === _gridLongTextColDef[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function () {
90
+ return _gridLongTextColDef[key];
91
+ }
92
+ });
93
+ });
83
94
  var _gridBooleanOperators = require("./gridBooleanOperators");
84
95
  Object.keys(_gridBooleanOperators).forEach(function (key) {
85
96
  if (key === "default" || key === "__esModule") return;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { UseGridColumnHeadersProps } from "../hooks/features/columnHeaders/useGridColumnHeaders.js";
2
+ import { type UseGridColumnHeadersProps } from "../hooks/features/columnHeaders/useGridColumnHeaders.js";
3
3
  export interface GridColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement>, UseGridColumnHeadersProps {
4
4
  ref?: React.Ref<HTMLDivElement>;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { GridSlotProps } from "../models/index.js";
3
- import { GridSortDirection } from "../models/gridSortModel.js";
2
+ import type { GridSlotProps } from "../models/index.js";
3
+ import type { GridSortDirection } from "../models/gridSortModel.js";
4
4
  export type GridColumnSortButtonProps = GridSlotProps['baseIconButton'] & {
5
5
  field: string;
6
6
  direction: GridSortDirection;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { GridBaseIconProps } from "../models/gridSlotsComponentsProps.js";
3
- import { GridSortDirection } from "../models/gridSortModel.js";
2
+ import type { GridBaseIconProps } from "../models/gridSlotsComponentsProps.js";
3
+ import type { GridSortDirection } from "../models/gridSortModel.js";
4
4
  export interface GridColumnUnsortedIconProps extends GridBaseIconProps {
5
5
  sortingOrder: GridSortDirection[];
6
6
  }
@@ -1,4 +1,4 @@
1
- import { GridFooterContainerProps } from "./containers/GridFooterContainer.js";
1
+ import { type GridFooterContainerProps } from "./containers/GridFooterContainer.js";
2
2
  declare const GridFooter: import("react").ForwardRefExoticComponent<GridFooterContainerProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
4
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GridOverlayProps } from "./containers/GridOverlay.js";
2
+ import { type GridOverlayProps } from "./containers/GridOverlay.js";
3
3
  import type { GridLoadingOverlayVariant } from "../hooks/features/overlays/gridOverlaysInterfaces.js";
4
4
  export interface GridLoadingOverlayProps extends GridOverlayProps {
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { GridOverlayProps } from "./containers/GridOverlay.js";
1
+ import { type GridOverlayProps } from "./containers/GridOverlay.js";
2
2
  declare const GridNoColumnsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
4
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { GridOverlayProps } from "./containers/GridOverlay.js";
1
+ import { type GridOverlayProps } from "./containers/GridOverlay.js";
2
2
  export declare const GridNoResultsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
4
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { GridOverlayProps } from "./containers/GridOverlay.js";
1
+ import { type GridOverlayProps } from "./containers/GridOverlay.js";
2
2
  declare const GridNoRowsOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
4
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { GridRowId, GridRowModel } from "../models/gridRows.js";
3
- import { GridPinnedColumns } from "../hooks/features/columns/index.js";
2
+ import type { GridRowId, GridRowModel } from "../models/gridRows.js";
3
+ import type { GridPinnedColumns } from "../hooks/features/columns/index.js";
4
4
  import type { GridStateColDef } from "../models/colDef/gridColDef.js";
5
5
  export interface GridRowProps extends React.HTMLAttributes<HTMLDivElement> {
6
6
  row: GridRowModel;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SxProps, Theme } from '@mui/system';
2
+ import { type SxProps, type Theme } from '@mui/system';
3
3
  interface RowCountProps {
4
4
  rowCount: number;
5
5
  visibleRowCount: number;
@@ -1,5 +1,5 @@
1
- import { RefObject } from '@mui/x-internals/types';
2
- import { GridScrollParams } from "../models/params/gridScrollParams.js";
1
+ import type { RefObject } from '@mui/x-internals/types';
2
+ import type { GridScrollParams } from "../models/params/gridScrollParams.js";
3
3
  interface ScrollAreaProps {
4
4
  scrollDirection: 'left' | 'right' | 'up' | 'down';
5
5
  scrollPosition: RefObject<GridScrollParams>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SxProps, Theme } from '@mui/system';
2
+ import { type SxProps, type Theme } from '@mui/system';
3
3
  interface SelectedRowCountProps {
4
4
  selectedRowCount: number;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GridColDef } from "../models/index.js";
2
+ import type { GridColDef } from "../models/index.js";
3
3
  type GridSkeletonLoadingOverlayInnerProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  skeletonRowsCount: number;
5
5
  showFirstRowBorder?: boolean;
@@ -1,7 +1,9 @@
1
1
  import * as React from 'react';
2
- import { GridRenderCellParams } from "../../models/params/gridCellParams.js";
3
- import { GridMenuProps } from "../menu/GridMenu.js";
4
- interface GridActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
2
+ import type { GridRowParams } from "../../models/params/gridRowParams.js";
3
+ import type { GridRenderCellParams } from "../../models/params/gridCellParams.js";
4
+ import { type GridMenuProps } from "../menu/GridMenu.js";
5
+ import type { GridValidRowModel, GridTreeNodeWithRender } from "../../models/gridRows.js";
6
+ interface GridActionsCellProps<R extends GridValidRowModel = any, V = any, F = V, N extends GridTreeNodeWithRender = GridTreeNodeWithRender> extends Omit<GridRenderCellParams<R, V, F, N>, 'api'> {
5
7
  api?: GridRenderCellParams['api'];
6
8
  position?: GridMenuProps['position'];
7
9
  children: React.ReactNode;
@@ -12,8 +14,26 @@ interface GridActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
12
14
  * @default false
13
15
  */
14
16
  suppressChildrenValidation?: boolean;
17
+ /**
18
+ * Callback to fire before the menu gets opened.
19
+ * Use this callback to prevent the menu from opening.
20
+ *
21
+ * @param {GridRowParams<R>} params Row parameters.
22
+ * @param {React.MouseEvent<HTMLElement>} event The event triggering this callback.
23
+ * @returns {boolean} if the menu should be opened.
24
+ */
25
+ onMenuOpen?: (params: GridRowParams<R>, event: React.MouseEvent<HTMLElement>) => boolean;
26
+ /**
27
+ * Callback to fire before the menu gets closed.
28
+ * Use this callback to prevent the menu from closing.
29
+ *
30
+ * @param {GridRowParams<R>} params Row parameters.
31
+ * @param {React.MouseEvent<HTMLElement> | React.KeyboardEvent | MouseEvent | TouchEvent | undefined} event The event triggering this callback.
32
+ * @returns {boolean} if the menu should be closed.
33
+ */
34
+ onMenuClose?: (params: GridRowParams<R>, event: React.MouseEvent<HTMLElement> | React.KeyboardEvent | MouseEvent | TouchEvent | undefined) => boolean;
15
35
  }
16
- declare function GridActionsCell(props: GridActionsCellProps): import("react/jsx-runtime").JSX.Element;
36
+ declare function GridActionsCell<R extends GridValidRowModel = any, V = any, F = V, N extends GridTreeNodeWithRender = GridTreeNodeWithRender>(props: GridActionsCellProps<R, V, F, N>): import("react/jsx-runtime").JSX.Element;
17
37
  declare namespace GridActionsCell {
18
38
  var propTypes: any;
19
39
  }
@@ -21,13 +21,16 @@ var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
21
21
  var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
22
22
  var _GridActionsCellItem = require("./GridActionsCellItem");
23
23
  var _jsxRuntime = require("react/jsx-runtime");
24
- const _excluded = ["api", "colDef", "id", "hasFocus", "isEditable", "field", "value", "formattedValue", "row", "rowNode", "cellMode", "tabIndex", "position", "children", "suppressChildrenValidation"];
24
+ const _excluded = ["api", "colDef", "id", "hasFocus", "isEditable", "field", "value", "formattedValue", "row", "rowNode", "cellMode", "tabIndex", "position", "onMenuOpen", "onMenuClose", "children", "suppressChildrenValidation"];
25
25
  const hasActions = colDef => typeof colDef.getActions === 'function';
26
26
  function GridActionsCell(props) {
27
27
  const {
28
+ id,
28
29
  hasFocus,
29
30
  tabIndex,
30
31
  position = 'bottom-end',
32
+ onMenuOpen,
33
+ onMenuClose,
31
34
  children,
32
35
  suppressChildrenValidation
33
36
  } = props,
@@ -43,6 +46,7 @@ function GridActionsCell(props) {
43
46
  const menuId = (0, _useId.default)();
44
47
  const buttonId = (0, _useId.default)();
45
48
  const rootProps = (0, _useGridRootProps.useGridRootProps)();
49
+ const rowParams = apiRef.current.getRowParams(id);
46
50
  const actions = [];
47
51
  React.Children.forEach(children, child => {
48
52
  // Unwrap React.Fragment
@@ -101,21 +105,27 @@ If this is intentional, you can suppress this warning by passing the \`suppressC
101
105
  setFocusedButtonIndex(numberOfButtons - 1);
102
106
  }
103
107
  }, [focusedButtonIndex, numberOfButtons]);
104
- const showMenu = () => {
108
+ const showMenu = event => {
109
+ if (onMenuOpen && !onMenuOpen(rowParams, event)) {
110
+ return;
111
+ }
105
112
  setOpen(true);
106
113
  setFocusedButtonIndex(numberOfButtons - 1);
107
114
  ignoreCallToFocus.current = true;
108
115
  };
109
- const hideMenu = () => {
116
+ const hideMenu = event => {
117
+ if (onMenuClose && !onMenuClose(rowParams, event)) {
118
+ return;
119
+ }
110
120
  setOpen(false);
111
121
  };
112
122
  const toggleMenu = event => {
113
123
  event.stopPropagation();
114
124
  event.preventDefault();
115
125
  if (open) {
116
- hideMenu();
126
+ hideMenu(event);
117
127
  } else {
118
- showMenu();
128
+ showMenu(event);
119
129
  }
120
130
  };
121
131
  const handleTouchRippleRef = index => instance => {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GridSlotProps, GridBaseIconProps } from "../../models/gridSlotsComponentsProps.js";
2
+ import type { GridSlotProps, GridBaseIconProps } from "../../models/gridSlotsComponentsProps.js";
3
3
  interface GridActionsCellItemCommonProps {
4
4
  icon?: React.JSXElementConstructor<GridBaseIconProps> | React.ReactNode;
5
5
  /** from https://mui.com/material-ui/api/button-base/#ButtonBase-prop-component */
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { GridRowId } from "../../models/index.js";
3
- import { GridAlignment, GridStateColDef } from "../../models/colDef/gridColDef.js";
4
- import { GridRowModel, GridTreeNode } from "../../models/gridRows.js";
2
+ import { type GridRowId } from "../../models/index.js";
3
+ import type { GridAlignment, GridStateColDef } from "../../models/colDef/gridColDef.js";
4
+ import type { GridRowModel, GridTreeNode } from "../../models/gridRows.js";
5
5
  import { GridPinnedColumnPosition } from "../../hooks/features/columns/gridColumnsInterfaces.js";
6
6
  import { PinnedColumnPosition } from "../../internals/constants.js";
7
7
  export declare const gridPinnedColumnPositionLookup: {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
2
+ import type { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
3
3
  export interface GridEditBooleanCellProps extends GridRenderEditCellParams, Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, 'id' | 'tabIndex'> {
4
4
  /**
5
5
  * Callback called when the value is changed by the user.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { GridSlotProps } from "../../models/gridSlotsComponent.js";
3
- import { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
2
+ import type { GridSlotProps } from "../../models/gridSlotsComponent.js";
3
+ import type { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
4
4
  export interface GridEditDateCellProps extends GridRenderEditCellParams {
5
5
  /**
6
6
  * Callback called when the value is changed by the user.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { GridSlotProps } from "../../models/gridSlotsComponent.js";
3
- import { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
2
+ import type { GridSlotProps } from "../../models/gridSlotsComponent.js";
3
+ import type { GridRenderEditCellParams } from "../../models/params/gridCellParams.js";
4
4
  export interface GridEditInputCellProps extends GridRenderEditCellParams {
5
5
  debounceMs?: number;
6
6
  /**