@mui/x-data-grid 6.0.0-alpha.9 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (764) hide show
  1. package/CHANGELOG.md +1034 -0
  2. package/DataGrid/DataGrid.js +41 -94
  3. package/DataGrid/index.d.ts +1 -1
  4. package/DataGrid/index.js +1 -1
  5. package/DataGrid/useDataGridComponent.d.ts +2 -2
  6. package/DataGrid/useDataGridComponent.js +2 -2
  7. package/DataGrid/useDataGridProps.d.ts +0 -1
  8. package/DataGrid/useDataGridProps.js +8 -13
  9. package/colDef/gridDateColDef.d.ts +4 -4
  10. package/colDef/gridDateColDef.js +34 -8
  11. package/colDef/gridDateOperators.d.ts +1 -1
  12. package/colDef/gridDateOperators.js +3 -4
  13. package/colDef/gridSingleSelectColDef.js +36 -3
  14. package/colDef/gridSingleSelectOperators.d.ts +0 -3
  15. package/colDef/gridSingleSelectOperators.js +2 -47
  16. package/colDef/gridStringOperators.d.ts +1 -1
  17. package/colDef/gridStringOperators.js +1 -1
  18. package/components/GridAutoSizer.d.ts +1 -1
  19. package/components/GridAutoSizer.js +6 -19
  20. package/components/GridFooter.js +2 -2
  21. package/components/GridPagination.js +21 -17
  22. package/components/GridRow.d.ts +5 -5
  23. package/components/GridRow.js +14 -17
  24. package/components/GridScrollArea.js +4 -3
  25. package/components/base/GridBody.js +9 -20
  26. package/components/base/GridFooterPlaceholder.js +1 -8
  27. package/components/base/GridOverlays.js +3 -3
  28. package/components/base/index.d.ts +0 -2
  29. package/components/base/index.js +0 -2
  30. package/components/cell/GridActionsCellItem.d.ts +1 -1
  31. package/components/cell/GridCell.d.ts +1 -0
  32. package/components/cell/GridCell.js +13 -10
  33. package/components/cell/GridEditSingleSelectCell.d.ts +7 -0
  34. package/components/cell/GridEditSingleSelectCell.js +24 -37
  35. package/components/cell/GridSkeletonCell.js +1 -1
  36. package/components/columnHeaders/ColumnHeaderMenuIcon.d.ts +1 -1
  37. package/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  38. package/components/columnHeaders/GridColumnGroupHeader.d.ts +0 -1
  39. package/components/columnHeaders/GridColumnGroupHeader.js +6 -19
  40. package/components/columnHeaders/GridColumnHeaderItem.d.ts +1 -3
  41. package/components/columnHeaders/GridColumnHeaderItem.js +30 -43
  42. package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  43. package/components/columnHeaders/GridColumnHeaders.js +5 -9
  44. package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +0 -1
  45. package/components/columnHeaders/GridGenericColumnHeaderItem.js +5 -6
  46. package/components/columnHeaders/GridIconButtonContainer.d.ts +1 -1
  47. package/components/columnSelection/GridHeaderCheckbox.d.ts +1 -1
  48. package/components/columnSelection/GridHeaderCheckbox.js +2 -2
  49. package/components/containers/GridFooterContainer.d.ts +1 -1
  50. package/components/containers/GridFooterContainer.js +4 -8
  51. package/components/containers/GridOverlay.d.ts +1 -1
  52. package/components/containers/GridRoot.js +4 -2
  53. package/components/containers/GridRootStyles.d.ts +2 -1
  54. package/components/containers/GridRootStyles.js +58 -10
  55. package/components/containers/GridToolbarContainer.d.ts +1 -1
  56. package/components/icons/index.d.ts +9 -0
  57. package/components/icons/index.js +12 -1
  58. package/components/menu/GridMenu.d.ts +1 -1
  59. package/components/menu/GridMenu.js +1 -9
  60. package/components/menu/columnMenu/GridColumnHeaderMenu.js +3 -3
  61. package/components/menu/columnMenu/GridColumnMenu.d.ts +22 -2
  62. package/components/menu/columnMenu/GridColumnMenu.js +57 -35
  63. package/components/menu/columnMenu/GridColumnMenuContainer.d.ts +2 -2
  64. package/components/menu/columnMenu/GridColumnMenuContainer.js +9 -5
  65. package/components/menu/columnMenu/{GridFilterItemProps.d.ts → GridColumnMenuItemProps.d.ts} +3 -2
  66. package/components/menu/columnMenu/{GridFilterItemProps.js → GridColumnMenuItemProps.js} +0 -0
  67. package/components/menu/columnMenu/GridColumnMenuProps.d.ts +7 -2
  68. package/components/menu/columnMenu/index.d.ts +4 -7
  69. package/components/menu/columnMenu/index.js +7 -7
  70. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.d.ts +7 -0
  71. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +21 -0
  72. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.d.ts +7 -0
  73. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +43 -0
  74. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.d.ts +7 -0
  75. package/{modern/components/menu/columnMenu/HideGridColMenuItem.js → components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js} +22 -20
  76. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.d.ts +7 -0
  77. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +43 -0
  78. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.d.ts +7 -0
  79. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +74 -0
  80. package/components/menu/columnMenu/menuItems/index.d.ts +5 -0
  81. package/components/menu/columnMenu/menuItems/index.js +5 -0
  82. package/components/panel/GridColumnsPanel.d.ts +4 -2
  83. package/components/panel/GridColumnsPanel.js +12 -6
  84. package/components/panel/GridPanel.d.ts +2 -2
  85. package/components/panel/GridPanel.js +9 -2
  86. package/components/panel/filterPanel/GridFilterForm.d.ts +7 -7
  87. package/components/panel/filterPanel/GridFilterForm.js +52 -52
  88. package/components/panel/filterPanel/GridFilterInputDate.d.ts +1 -1
  89. package/components/panel/filterPanel/GridFilterInputDate.js +2 -2
  90. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.d.ts +7 -1
  91. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +15 -22
  92. package/components/panel/filterPanel/GridFilterInputMultipleValue.d.ts +1 -1
  93. package/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -3
  94. package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +8 -1
  95. package/components/panel/filterPanel/GridFilterInputSingleSelect.js +18 -18
  96. package/components/panel/filterPanel/GridFilterInputValue.d.ts +1 -1
  97. package/components/panel/filterPanel/GridFilterInputValue.js +8 -58
  98. package/components/panel/filterPanel/GridFilterInputValueProps.d.ts +1 -1
  99. package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -2
  100. package/components/panel/filterPanel/GridFilterPanel.js +18 -18
  101. package/components/panel/filterPanel/filterPanelUtils.d.ts +2 -0
  102. package/components/panel/filterPanel/filterPanelUtils.js +5 -1
  103. package/components/reexportable.d.ts +1 -0
  104. package/components/reexportable.js +1 -0
  105. package/components/toolbar/GridToolbarDensitySelector.js +5 -6
  106. package/components/toolbar/GridToolbarExport.d.ts +2 -2
  107. package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
  108. package/components/toolbar/GridToolbarFilterButton.js +3 -3
  109. package/components/toolbar/GridToolbarQuickFilter.d.ts +1 -1
  110. package/components/virtualization/GridVirtualScroller.js +1 -0
  111. package/constants/defaultGridSlotsComponents.d.ts +0 -3
  112. package/constants/defaultGridSlotsComponents.js +9 -9
  113. package/constants/gridClasses.d.ts +34 -5
  114. package/constants/gridClasses.js +1 -1
  115. package/constants/index.d.ts +0 -1
  116. package/constants/index.js +0 -1
  117. package/constants/localeTextConstants.js +4 -5
  118. package/context/GridContextProvider.d.ts +1 -1
  119. package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +21 -6
  120. package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +3 -3
  121. package/hooks/core/useGridApiInitialization.js +4 -12
  122. package/hooks/core/useGridInitialization.d.ts +1 -1
  123. package/hooks/core/useGridInitialization.js +0 -2
  124. package/hooks/features/clipboard/useGridClipboard.js +20 -7
  125. package/hooks/features/columnGrouping/gridColumnGroupsInterfaces.d.ts +2 -2
  126. package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +0 -1
  127. package/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -11
  128. package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +1 -1
  129. package/hooks/features/columnGrouping/useGridColumnGrouping.js +2 -2
  130. package/hooks/features/columnHeaders/useGridColumnHeaders.js +18 -20
  131. package/hooks/features/columnMenu/columnMenuInterfaces.d.ts +47 -0
  132. package/hooks/features/columnMenu/{columnMenuState.js → columnMenuInterfaces.js} +0 -0
  133. package/hooks/features/columnMenu/columnMenuSelector.d.ts +1 -1
  134. package/hooks/features/columnMenu/index.d.ts +1 -1
  135. package/hooks/features/columnMenu/index.js +1 -1
  136. package/hooks/features/columnMenu/useGridColumnMenu.js +27 -25
  137. package/hooks/features/columnMenu/useGridColumnMenuComponents.d.ts +16 -0
  138. package/hooks/features/columnMenu/useGridColumnMenuComponents.js +63 -0
  139. package/hooks/features/columns/gridColumnsInterfaces.d.ts +6 -6
  140. package/hooks/features/columns/gridColumnsSelector.d.ts +5 -5
  141. package/hooks/features/columns/gridColumnsSelector.js +2 -2
  142. package/hooks/features/columns/gridColumnsUtils.d.ts +2 -2
  143. package/hooks/features/columns/gridColumnsUtils.js +8 -13
  144. package/hooks/features/columns/useGridColumns.d.ts +2 -2
  145. package/hooks/features/columns/useGridColumns.js +28 -14
  146. package/hooks/features/density/densitySelector.d.ts +0 -2
  147. package/hooks/features/density/densitySelector.js +0 -2
  148. package/hooks/features/density/densityState.d.ts +0 -2
  149. package/hooks/features/density/useGridDensity.d.ts +2 -2
  150. package/hooks/features/density/useGridDensity.js +16 -33
  151. package/hooks/features/dimensions/useGridDimensions.d.ts +1 -1
  152. package/hooks/features/dimensions/useGridDimensions.js +9 -8
  153. package/hooks/features/editing/gridEditingSelectors.d.ts +1 -1
  154. package/hooks/features/editing/useGridRowEditing.js +8 -3
  155. package/hooks/features/events/useGridEvents.d.ts +1 -1
  156. package/hooks/features/events/useGridEvents.js +0 -3
  157. package/hooks/features/export/useGridPrintExport.d.ts +1 -1
  158. package/hooks/features/export/useGridPrintExport.js +12 -14
  159. package/hooks/features/filter/gridFilterSelector.d.ts +7 -7
  160. package/hooks/features/filter/gridFilterSelector.js +11 -11
  161. package/hooks/features/filter/gridFilterState.d.ts +4 -4
  162. package/hooks/features/filter/gridFilterState.js +3 -3
  163. package/hooks/features/filter/gridFilterUtils.d.ts +2 -2
  164. package/hooks/features/filter/gridFilterUtils.js +30 -30
  165. package/hooks/features/filter/useGridFilter.d.ts +1 -1
  166. package/hooks/features/filter/useGridFilter.js +22 -17
  167. package/hooks/features/focus/gridFocusState.d.ts +5 -9
  168. package/hooks/features/focus/gridFocusStateSelector.d.ts +2 -2
  169. package/hooks/features/focus/useGridFocus.js +8 -1
  170. package/hooks/features/index.d.ts +0 -1
  171. package/hooks/features/index.js +0 -1
  172. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +9 -2
  173. package/hooks/features/pagination/gridPaginationInterfaces.d.ts +13 -21
  174. package/hooks/features/pagination/gridPaginationSelector.d.ts +5 -0
  175. package/hooks/features/pagination/gridPaginationSelector.js +16 -9
  176. package/hooks/features/pagination/gridPaginationUtils.d.ts +10 -0
  177. package/hooks/features/pagination/gridPaginationUtils.js +26 -0
  178. package/hooks/features/pagination/useGridPagination.d.ts +2 -2
  179. package/hooks/features/pagination/useGridPagination.js +161 -17
  180. package/hooks/features/preferencesPanel/gridPreferencePanelState.d.ts +1 -1
  181. package/hooks/features/preferencesPanel/useGridPreferencesPanel.js +1 -1
  182. package/hooks/features/rowSelection/useGridRowSelection.js +19 -12
  183. package/hooks/features/rows/gridRowsInterfaces.d.ts +9 -9
  184. package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
  185. package/hooks/features/rows/gridRowsUtils.js +4 -4
  186. package/hooks/features/rows/useGridRows.js +6 -4
  187. package/hooks/features/rows/useGridRowsMeta.d.ts +1 -1
  188. package/hooks/features/rows/useGridRowsMeta.js +12 -12
  189. package/hooks/features/scroll/useGridScroll.js +2 -2
  190. package/hooks/features/sorting/gridSortingSelector.d.ts +1 -1
  191. package/hooks/features/sorting/gridSortingState.d.ts +2 -2
  192. package/hooks/features/sorting/useGridSorting.js +12 -1
  193. package/hooks/features/virtualization/useGridVirtualScroller.js +29 -22
  194. package/hooks/utils/index.d.ts +0 -1
  195. package/hooks/utils/index.js +0 -1
  196. package/hooks/utils/useGridApiMethod.d.ts +1 -1
  197. package/hooks/utils/useGridApiMethod.js +8 -6
  198. package/hooks/utils/useGridInitializeState.d.ts +2 -2
  199. package/hooks/utils/useGridVisibleRows.js +2 -2
  200. package/index.d.ts +7 -3
  201. package/index.js +12 -2
  202. package/internals/index.d.ts +4 -1
  203. package/internals/index.js +3 -1
  204. package/legacy/DataGrid/DataGrid.js +41 -94
  205. package/legacy/DataGrid/index.js +1 -1
  206. package/legacy/DataGrid/useDataGridComponent.js +2 -2
  207. package/legacy/DataGrid/useDataGridProps.js +8 -13
  208. package/legacy/colDef/gridDateColDef.js +35 -10
  209. package/legacy/colDef/gridDateOperators.js +3 -4
  210. package/legacy/colDef/gridSingleSelectColDef.js +37 -3
  211. package/legacy/colDef/gridSingleSelectOperators.js +8 -51
  212. package/legacy/colDef/gridStringOperators.js +1 -1
  213. package/legacy/components/GridAutoSizer.js +6 -19
  214. package/legacy/components/GridFooter.js +2 -2
  215. package/legacy/components/GridPagination.js +22 -18
  216. package/legacy/components/GridRow.js +18 -19
  217. package/legacy/components/GridScrollArea.js +4 -3
  218. package/legacy/components/base/GridBody.js +9 -20
  219. package/legacy/components/base/GridFooterPlaceholder.js +1 -8
  220. package/legacy/components/base/GridOverlays.js +3 -3
  221. package/legacy/components/base/index.js +0 -2
  222. package/legacy/components/cell/GridCell.js +13 -10
  223. package/legacy/components/cell/GridEditSingleSelectCell.js +24 -37
  224. package/legacy/components/cell/GridSkeletonCell.js +1 -1
  225. package/legacy/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  226. package/legacy/components/columnHeaders/GridColumnGroupHeader.js +6 -18
  227. package/legacy/components/columnHeaders/GridColumnHeaderItem.js +31 -43
  228. package/legacy/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  229. package/legacy/components/columnHeaders/GridColumnHeaders.js +5 -9
  230. package/legacy/components/columnHeaders/GridGenericColumnHeaderItem.js +4 -5
  231. package/legacy/components/columnSelection/GridHeaderCheckbox.js +2 -2
  232. package/legacy/components/containers/GridFooterContainer.js +4 -7
  233. package/legacy/components/containers/GridRoot.js +4 -2
  234. package/legacy/components/containers/GridRootStyles.js +47 -13
  235. package/legacy/components/icons/index.js +12 -1
  236. package/legacy/components/menu/GridMenu.js +1 -9
  237. package/legacy/components/menu/columnMenu/GridColumnHeaderMenu.js +3 -3
  238. package/legacy/components/menu/columnMenu/GridColumnMenu.js +61 -35
  239. package/legacy/components/menu/columnMenu/GridColumnMenuContainer.js +11 -5
  240. package/legacy/components/menu/columnMenu/{GridFilterItemProps.js → GridColumnMenuItemProps.js} +0 -0
  241. package/legacy/components/menu/columnMenu/index.js +7 -7
  242. package/legacy/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +21 -0
  243. package/legacy/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +41 -0
  244. package/legacy/components/menu/columnMenu/{HideGridColMenuItem.js → menuItems/GridColumnMenuHideItem.js} +22 -22
  245. package/legacy/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +41 -0
  246. package/legacy/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +76 -0
  247. package/legacy/components/menu/columnMenu/menuItems/index.js +5 -0
  248. package/legacy/components/panel/GridColumnsPanel.js +13 -5
  249. package/legacy/components/panel/GridPanel.js +12 -2
  250. package/legacy/components/panel/filterPanel/GridFilterForm.js +55 -55
  251. package/legacy/components/panel/filterPanel/GridFilterInputDate.js +2 -2
  252. package/legacy/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +15 -21
  253. package/legacy/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -3
  254. package/legacy/components/panel/filterPanel/GridFilterInputSingleSelect.js +18 -17
  255. package/legacy/components/panel/filterPanel/GridFilterInputValue.js +5 -58
  256. package/legacy/components/panel/filterPanel/GridFilterPanel.js +19 -19
  257. package/legacy/components/panel/filterPanel/filterPanelUtils.js +5 -1
  258. package/legacy/components/reexportable.js +1 -0
  259. package/legacy/components/toolbar/GridToolbarDensitySelector.js +5 -6
  260. package/legacy/components/toolbar/GridToolbarFilterButton.js +5 -5
  261. package/legacy/components/virtualization/GridVirtualScroller.js +1 -0
  262. package/legacy/constants/defaultGridSlotsComponents.js +9 -9
  263. package/legacy/constants/gridClasses.js +1 -1
  264. package/legacy/constants/index.js +0 -1
  265. package/legacy/constants/localeTextConstants.js +4 -5
  266. package/legacy/hooks/core/useGridApiInitialization.js +4 -12
  267. package/legacy/hooks/core/useGridInitialization.js +0 -2
  268. package/legacy/hooks/features/clipboard/useGridClipboard.js +19 -7
  269. package/legacy/hooks/features/columnGrouping/gridColumnGroupsSelector.js +0 -12
  270. package/legacy/hooks/features/columnGrouping/useGridColumnGrouping.js +2 -2
  271. package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +18 -20
  272. package/legacy/hooks/features/columnMenu/{columnMenuState.js → columnMenuInterfaces.js} +0 -0
  273. package/legacy/hooks/features/columnMenu/index.js +1 -1
  274. package/legacy/hooks/features/columnMenu/useGridColumnMenu.js +27 -25
  275. package/legacy/hooks/features/columnMenu/useGridColumnMenuComponents.js +76 -0
  276. package/legacy/hooks/features/columns/gridColumnsSelector.js +2 -2
  277. package/legacy/hooks/features/columns/gridColumnsUtils.js +42 -51
  278. package/legacy/hooks/features/columns/useGridColumns.js +29 -17
  279. package/legacy/hooks/features/density/densitySelector.js +0 -6
  280. package/legacy/hooks/features/density/useGridDensity.js +15 -34
  281. package/legacy/hooks/features/dimensions/useGridDimensions.js +9 -8
  282. package/legacy/hooks/features/editing/useGridRowEditing.js +10 -3
  283. package/legacy/hooks/features/events/useGridEvents.js +0 -3
  284. package/legacy/hooks/features/export/useGridPrintExport.js +12 -14
  285. package/legacy/hooks/features/filter/gridFilterSelector.js +11 -11
  286. package/legacy/hooks/features/filter/gridFilterState.js +3 -3
  287. package/legacy/hooks/features/filter/gridFilterUtils.js +31 -31
  288. package/legacy/hooks/features/filter/useGridFilter.js +22 -19
  289. package/legacy/hooks/features/focus/useGridFocus.js +8 -1
  290. package/legacy/hooks/features/index.js +0 -1
  291. package/legacy/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +9 -2
  292. package/legacy/hooks/features/pagination/gridPaginationSelector.js +21 -12
  293. package/legacy/hooks/features/pagination/gridPaginationUtils.js +31 -0
  294. package/legacy/hooks/features/pagination/useGridPagination.js +163 -17
  295. package/legacy/hooks/features/preferencesPanel/useGridPreferencesPanel.js +1 -1
  296. package/legacy/hooks/features/rowSelection/useGridRowSelection.js +19 -12
  297. package/legacy/hooks/features/rows/gridRowsUtils.js +4 -4
  298. package/legacy/hooks/features/rows/useGridRows.js +6 -4
  299. package/legacy/hooks/features/rows/useGridRowsMeta.js +12 -12
  300. package/legacy/hooks/features/scroll/useGridScroll.js +2 -2
  301. package/legacy/hooks/features/sorting/useGridSorting.js +14 -1
  302. package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +31 -24
  303. package/legacy/hooks/utils/index.js +0 -1
  304. package/legacy/hooks/utils/useGridApiMethod.js +6 -4
  305. package/legacy/hooks/utils/useGridVisibleRows.js +2 -2
  306. package/legacy/index.js +12 -2
  307. package/legacy/internals/index.js +3 -1
  308. package/legacy/locales/arSD.js +3 -4
  309. package/legacy/locales/bgBG.js +3 -4
  310. package/legacy/locales/csCZ.js +3 -4
  311. package/legacy/locales/daDK.js +3 -4
  312. package/legacy/locales/deDE.js +3 -4
  313. package/legacy/locales/elGR.js +3 -4
  314. package/legacy/locales/esES.js +28 -38
  315. package/legacy/locales/faIR.js +3 -4
  316. package/legacy/locales/fiFI.js +3 -4
  317. package/legacy/locales/frFR.js +3 -4
  318. package/legacy/locales/heIL.js +5 -5
  319. package/legacy/locales/huHU.js +3 -4
  320. package/legacy/locales/itIT.js +3 -4
  321. package/legacy/locales/jaJP.js +3 -4
  322. package/legacy/locales/koKR.js +3 -4
  323. package/legacy/locales/nbNO.js +3 -4
  324. package/legacy/locales/nlNL.js +3 -4
  325. package/legacy/locales/plPL.js +3 -4
  326. package/legacy/locales/ptBR.js +3 -4
  327. package/legacy/locales/roRO.js +3 -4
  328. package/legacy/locales/ruRU.js +16 -21
  329. package/legacy/locales/skSK.js +3 -4
  330. package/legacy/locales/svSE.js +12 -15
  331. package/legacy/locales/trTR.js +3 -4
  332. package/legacy/locales/ukUA.js +25 -30
  333. package/legacy/locales/viVN.js +3 -4
  334. package/legacy/locales/zhCN.js +3 -4
  335. package/legacy/locales/zhTW.js +3 -4
  336. package/legacy/models/colDef/index.js +2 -2
  337. package/legacy/models/gridDensity.js +1 -13
  338. package/legacy/models/gridEditRowModel.js +0 -1
  339. package/legacy/models/gridFilterItem.js +6 -6
  340. package/legacy/models/index.js +1 -0
  341. package/legacy/utils/utils.js +1 -1
  342. package/locales/arSD.js +3 -4
  343. package/locales/bgBG.js +3 -4
  344. package/locales/csCZ.js +3 -4
  345. package/locales/daDK.js +3 -4
  346. package/locales/deDE.js +3 -4
  347. package/locales/elGR.js +3 -4
  348. package/locales/esES.js +28 -38
  349. package/locales/faIR.js +3 -4
  350. package/locales/fiFI.js +3 -4
  351. package/locales/frFR.js +3 -4
  352. package/locales/heIL.js +5 -5
  353. package/locales/huHU.js +3 -4
  354. package/locales/itIT.js +3 -4
  355. package/locales/jaJP.js +3 -4
  356. package/locales/koKR.js +3 -4
  357. package/locales/nbNO.js +3 -4
  358. package/locales/nlNL.js +3 -4
  359. package/locales/plPL.js +3 -4
  360. package/locales/ptBR.js +3 -4
  361. package/locales/roRO.js +3 -4
  362. package/locales/ruRU.js +16 -21
  363. package/locales/skSK.js +3 -4
  364. package/locales/svSE.js +12 -15
  365. package/locales/trTR.js +3 -4
  366. package/locales/ukUA.js +21 -30
  367. package/locales/viVN.js +3 -4
  368. package/locales/zhCN.js +3 -4
  369. package/locales/zhTW.js +3 -4
  370. package/models/api/gridApiCommunity.d.ts +3 -1
  371. package/models/api/gridClipboardApi.d.ts +1 -2
  372. package/models/api/gridColumnApi.d.ts +14 -6
  373. package/models/api/gridColumnSpanning.d.ts +1 -1
  374. package/models/api/gridCoreApi.d.ts +8 -25
  375. package/models/api/gridDensityApi.d.ts +3 -6
  376. package/models/api/gridEditingApi.d.ts +4 -4
  377. package/models/api/gridFilterApi.d.ts +4 -10
  378. package/models/api/gridLocaleTextApi.d.ts +4 -4
  379. package/models/api/gridParamsApi.d.ts +1 -1
  380. package/models/api/gridRowApi.d.ts +18 -16
  381. package/models/api/index.d.ts +1 -1
  382. package/models/colDef/gridColDef.d.ts +26 -24
  383. package/models/colDef/gridColType.d.ts +2 -2
  384. package/models/colDef/gridColumnTypesRecord.d.ts +1 -1
  385. package/models/colDef/index.d.ts +1 -1
  386. package/models/colDef/index.js +2 -2
  387. package/models/events/gridEventListener.d.ts +1 -1
  388. package/models/events/gridEventLookup.d.ts +39 -33
  389. package/models/events/gridEventPublisher.d.ts +8 -8
  390. package/models/gridCell.d.ts +11 -2
  391. package/models/gridCellClass.d.ts +3 -2
  392. package/models/gridColumnGrouping.d.ts +4 -4
  393. package/models/gridColumnHeaderClass.d.ts +2 -2
  394. package/models/gridColumnSpanning.d.ts +2 -2
  395. package/models/gridDensity.d.ts +1 -10
  396. package/models/gridDensity.js +1 -13
  397. package/models/gridEditRowModel.d.ts +3 -4
  398. package/models/gridEditRowModel.js +0 -1
  399. package/models/gridExport.d.ts +2 -2
  400. package/models/gridFeatureMode.d.ts +1 -1
  401. package/models/gridFilterItem.d.ts +4 -5
  402. package/models/gridFilterItem.js +6 -6
  403. package/models/gridFilterModel.d.ts +9 -9
  404. package/models/gridFilterOperator.d.ts +5 -8
  405. package/models/gridIconSlotsComponent.d.ts +30 -0
  406. package/models/gridPaginationProps.d.ts +11 -6
  407. package/models/gridRenderContextProps.d.ts +1 -1
  408. package/models/gridRootContainerRef.d.ts +1 -1
  409. package/models/gridRowSelectionModel.d.ts +2 -2
  410. package/models/gridRows.d.ts +12 -12
  411. package/models/gridSlotsComponent.d.ts +0 -11
  412. package/models/gridSlotsComponentsProps.d.ts +0 -2
  413. package/models/gridSortModel.d.ts +3 -3
  414. package/models/gridStateCommunity.d.ts +2 -3
  415. package/models/index.d.ts +1 -0
  416. package/models/index.js +1 -0
  417. package/models/muiEvent.d.ts +2 -2
  418. package/models/params/gridCellParams.d.ts +5 -5
  419. package/models/params/gridColumnHeaderParams.d.ts +1 -1
  420. package/models/params/gridColumnOrderChangeParams.d.ts +2 -10
  421. package/models/params/gridEditCellParams.d.ts +2 -2
  422. package/models/params/gridRowParams.d.ts +3 -3
  423. package/models/params/gridScrollParams.d.ts +1 -1
  424. package/models/props/DataGridProps.d.ts +20 -72
  425. package/modern/DataGrid/DataGrid.js +41 -94
  426. package/modern/DataGrid/index.js +1 -1
  427. package/modern/DataGrid/useDataGridComponent.js +2 -2
  428. package/modern/DataGrid/useDataGridProps.js +8 -13
  429. package/modern/colDef/gridDateColDef.js +34 -8
  430. package/modern/colDef/gridDateOperators.js +3 -4
  431. package/modern/colDef/gridSingleSelectColDef.js +36 -3
  432. package/modern/colDef/gridSingleSelectOperators.js +2 -47
  433. package/modern/colDef/gridStringOperators.js +1 -1
  434. package/modern/components/GridAutoSizer.js +6 -19
  435. package/modern/components/GridFooter.js +2 -2
  436. package/modern/components/GridPagination.js +17 -14
  437. package/modern/components/GridRow.js +14 -16
  438. package/modern/components/GridScrollArea.js +4 -3
  439. package/modern/components/base/GridBody.js +9 -20
  440. package/modern/components/base/GridFooterPlaceholder.js +1 -8
  441. package/modern/components/base/GridOverlays.js +3 -3
  442. package/modern/components/base/index.js +0 -2
  443. package/modern/components/cell/GridCell.js +13 -10
  444. package/modern/components/cell/GridEditSingleSelectCell.js +24 -37
  445. package/modern/components/cell/GridSkeletonCell.js +1 -1
  446. package/modern/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  447. package/modern/components/columnHeaders/GridColumnGroupHeader.js +5 -18
  448. package/modern/components/columnHeaders/GridColumnHeaderItem.js +29 -42
  449. package/modern/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  450. package/modern/components/columnHeaders/GridColumnHeaders.js +5 -9
  451. package/modern/components/columnHeaders/GridGenericColumnHeaderItem.js +5 -6
  452. package/modern/components/columnSelection/GridHeaderCheckbox.js +2 -2
  453. package/modern/components/containers/GridFooterContainer.js +4 -8
  454. package/modern/components/containers/GridRoot.js +4 -2
  455. package/modern/components/containers/GridRootStyles.js +58 -10
  456. package/modern/components/icons/index.js +12 -1
  457. package/modern/components/menu/GridMenu.js +1 -9
  458. package/modern/components/menu/columnMenu/GridColumnHeaderMenu.js +3 -3
  459. package/modern/components/menu/columnMenu/GridColumnMenu.js +57 -35
  460. package/modern/components/menu/columnMenu/GridColumnMenuContainer.js +9 -5
  461. package/modern/components/menu/columnMenu/{GridFilterItemProps.js → GridColumnMenuItemProps.js} +0 -0
  462. package/modern/components/menu/columnMenu/index.js +7 -7
  463. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +21 -0
  464. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +43 -0
  465. package/{components/menu/columnMenu/HideGridColMenuItem.js → modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js} +22 -20
  466. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +43 -0
  467. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +73 -0
  468. package/modern/components/menu/columnMenu/menuItems/index.js +5 -0
  469. package/modern/components/panel/GridColumnsPanel.js +12 -6
  470. package/modern/components/panel/GridPanel.js +8 -1
  471. package/modern/components/panel/filterPanel/GridFilterForm.js +52 -52
  472. package/modern/components/panel/filterPanel/GridFilterInputDate.js +2 -2
  473. package/modern/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +15 -22
  474. package/modern/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -3
  475. package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +18 -18
  476. package/modern/components/panel/filterPanel/GridFilterInputValue.js +7 -57
  477. package/modern/components/panel/filterPanel/GridFilterPanel.js +18 -18
  478. package/modern/components/panel/filterPanel/filterPanelUtils.js +5 -1
  479. package/modern/components/reexportable.js +1 -0
  480. package/modern/components/toolbar/GridToolbarDensitySelector.js +5 -6
  481. package/modern/components/toolbar/GridToolbarFilterButton.js +3 -3
  482. package/modern/components/virtualization/GridVirtualScroller.js +1 -0
  483. package/modern/constants/defaultGridSlotsComponents.js +9 -9
  484. package/modern/constants/gridClasses.js +1 -1
  485. package/modern/constants/index.js +0 -1
  486. package/modern/constants/localeTextConstants.js +4 -5
  487. package/modern/hooks/core/useGridApiInitialization.js +4 -12
  488. package/modern/hooks/core/useGridInitialization.js +0 -2
  489. package/modern/hooks/features/clipboard/useGridClipboard.js +19 -6
  490. package/modern/hooks/features/columnGrouping/gridColumnGroupsSelector.js +1 -9
  491. package/modern/hooks/features/columnGrouping/useGridColumnGrouping.js +2 -2
  492. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +18 -20
  493. package/modern/hooks/features/columnMenu/{columnMenuState.js → columnMenuInterfaces.js} +0 -0
  494. package/modern/hooks/features/columnMenu/index.js +1 -1
  495. package/modern/hooks/features/columnMenu/useGridColumnMenu.js +27 -25
  496. package/modern/hooks/features/columnMenu/useGridColumnMenuComponents.js +63 -0
  497. package/modern/hooks/features/columns/gridColumnsSelector.js +2 -2
  498. package/modern/hooks/features/columns/gridColumnsUtils.js +8 -13
  499. package/modern/hooks/features/columns/useGridColumns.js +28 -14
  500. package/modern/hooks/features/density/densitySelector.js +0 -2
  501. package/modern/hooks/features/density/useGridDensity.js +16 -33
  502. package/modern/hooks/features/dimensions/useGridDimensions.js +9 -8
  503. package/modern/hooks/features/editing/useGridRowEditing.js +8 -3
  504. package/modern/hooks/features/events/useGridEvents.js +0 -3
  505. package/modern/hooks/features/export/useGridPrintExport.js +12 -14
  506. package/modern/hooks/features/filter/gridFilterSelector.js +11 -11
  507. package/modern/hooks/features/filter/gridFilterState.js +3 -3
  508. package/modern/hooks/features/filter/gridFilterUtils.js +28 -28
  509. package/modern/hooks/features/filter/useGridFilter.js +22 -17
  510. package/modern/hooks/features/focus/useGridFocus.js +8 -1
  511. package/modern/hooks/features/index.js +0 -1
  512. package/modern/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +9 -2
  513. package/modern/hooks/features/pagination/gridPaginationSelector.js +16 -9
  514. package/modern/hooks/features/pagination/gridPaginationUtils.js +26 -0
  515. package/modern/hooks/features/pagination/useGridPagination.js +153 -16
  516. package/modern/hooks/features/preferencesPanel/useGridPreferencesPanel.js +1 -1
  517. package/modern/hooks/features/rowSelection/useGridRowSelection.js +18 -12
  518. package/modern/hooks/features/rows/gridRowsUtils.js +4 -4
  519. package/modern/hooks/features/rows/useGridRows.js +6 -4
  520. package/modern/hooks/features/rows/useGridRowsMeta.js +12 -12
  521. package/modern/hooks/features/scroll/useGridScroll.js +2 -2
  522. package/modern/hooks/features/sorting/useGridSorting.js +12 -1
  523. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +29 -22
  524. package/modern/hooks/utils/index.js +0 -1
  525. package/modern/hooks/utils/useGridApiMethod.js +8 -6
  526. package/modern/hooks/utils/useGridVisibleRows.js +2 -2
  527. package/modern/index.js +12 -2
  528. package/modern/internals/index.js +3 -1
  529. package/modern/locales/arSD.js +3 -4
  530. package/modern/locales/bgBG.js +3 -4
  531. package/modern/locales/csCZ.js +3 -4
  532. package/modern/locales/daDK.js +3 -4
  533. package/modern/locales/deDE.js +3 -4
  534. package/modern/locales/elGR.js +3 -4
  535. package/modern/locales/esES.js +28 -38
  536. package/modern/locales/faIR.js +3 -4
  537. package/modern/locales/fiFI.js +3 -4
  538. package/modern/locales/frFR.js +3 -4
  539. package/modern/locales/heIL.js +5 -5
  540. package/modern/locales/huHU.js +3 -4
  541. package/modern/locales/itIT.js +3 -4
  542. package/modern/locales/jaJP.js +3 -4
  543. package/modern/locales/koKR.js +3 -4
  544. package/modern/locales/nbNO.js +3 -4
  545. package/modern/locales/nlNL.js +3 -4
  546. package/modern/locales/plPL.js +3 -4
  547. package/modern/locales/ptBR.js +3 -4
  548. package/modern/locales/roRO.js +3 -4
  549. package/modern/locales/ruRU.js +16 -21
  550. package/modern/locales/skSK.js +3 -4
  551. package/modern/locales/svSE.js +12 -15
  552. package/modern/locales/trTR.js +3 -4
  553. package/modern/locales/ukUA.js +21 -30
  554. package/modern/locales/viVN.js +3 -4
  555. package/modern/locales/zhCN.js +3 -4
  556. package/modern/locales/zhTW.js +3 -4
  557. package/modern/models/colDef/index.js +2 -2
  558. package/modern/models/gridDensity.js +1 -13
  559. package/modern/models/gridEditRowModel.js +0 -1
  560. package/modern/models/gridFilterItem.js +6 -6
  561. package/modern/models/index.js +1 -0
  562. package/modern/utils/utils.js +1 -1
  563. package/node/DataGrid/DataGrid.js +39 -92
  564. package/node/DataGrid/index.js +0 -7
  565. package/node/DataGrid/useDataGridComponent.js +2 -2
  566. package/node/DataGrid/useDataGridProps.js +9 -15
  567. package/node/colDef/gridDateColDef.js +34 -8
  568. package/node/colDef/gridDateOperators.js +3 -4
  569. package/node/colDef/gridSingleSelectColDef.js +35 -2
  570. package/node/colDef/gridSingleSelectOperators.js +3 -49
  571. package/node/colDef/gridStringOperators.js +1 -1
  572. package/node/components/GridAutoSizer.js +6 -19
  573. package/node/components/GridFooter.js +1 -1
  574. package/node/components/GridPagination.js +16 -13
  575. package/node/components/GridRow.js +14 -16
  576. package/node/components/GridScrollArea.js +3 -2
  577. package/node/components/base/GridBody.js +9 -20
  578. package/node/components/base/GridFooterPlaceholder.js +1 -8
  579. package/node/components/base/GridOverlays.js +2 -2
  580. package/node/components/base/index.js +0 -22
  581. package/node/components/cell/GridCell.js +13 -10
  582. package/node/components/cell/GridEditSingleSelectCell.js +23 -36
  583. package/node/components/cell/GridSkeletonCell.js +1 -1
  584. package/node/components/columnHeaders/ColumnHeaderMenuIcon.js +3 -3
  585. package/node/components/columnHeaders/GridColumnGroupHeader.js +5 -18
  586. package/node/components/columnHeaders/GridColumnHeaderItem.js +29 -42
  587. package/node/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  588. package/node/components/columnHeaders/GridColumnHeaders.js +4 -8
  589. package/node/components/columnHeaders/GridGenericColumnHeaderItem.js +5 -6
  590. package/node/components/columnSelection/GridHeaderCheckbox.js +1 -1
  591. package/node/components/containers/GridFooterContainer.js +3 -7
  592. package/node/components/containers/GridRoot.js +4 -2
  593. package/node/components/containers/GridRootStyles.js +57 -9
  594. package/node/components/icons/index.js +16 -2
  595. package/node/components/menu/GridMenu.js +1 -9
  596. package/node/components/menu/columnMenu/GridColumnHeaderMenu.js +3 -3
  597. package/node/components/menu/columnMenu/GridColumnMenu.js +60 -35
  598. package/node/components/menu/columnMenu/GridColumnMenuContainer.js +9 -5
  599. package/node/components/menu/columnMenu/{GridFilterItemProps.js → GridColumnMenuItemProps.js} +0 -0
  600. package/node/components/menu/columnMenu/index.js +26 -55
  601. package/node/components/{base/GridErrorHandler.js → menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js} +9 -24
  602. package/node/components/menu/columnMenu/{GridFilterMenuItem.js → menuItems/GridColumnMenuFilterItem.js} +20 -12
  603. package/node/components/menu/columnMenu/{HideGridColMenuItem.js → menuItems/GridColumnMenuHideItem.js} +21 -20
  604. package/node/components/menu/columnMenu/{GridColumnsMenuItem.js → menuItems/GridColumnMenuManageItem.js} +18 -10
  605. package/node/components/menu/columnMenu/{SortGridMenuItems.js → menuItems/GridColumnMenuSortItem.js} +41 -25
  606. package/node/components/menu/columnMenu/menuItems/index.js +60 -0
  607. package/node/components/panel/GridColumnsPanel.js +12 -6
  608. package/node/components/panel/GridPanel.js +8 -1
  609. package/node/components/panel/filterPanel/GridFilterForm.js +51 -51
  610. package/node/components/panel/filterPanel/GridFilterInputDate.js +2 -2
  611. package/node/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +14 -21
  612. package/node/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -3
  613. package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +17 -17
  614. package/node/components/panel/filterPanel/GridFilterInputValue.js +7 -57
  615. package/node/components/panel/filterPanel/GridFilterPanel.js +17 -17
  616. package/node/components/panel/filterPanel/filterPanelUtils.js +7 -1
  617. package/node/components/reexportable.js +24 -0
  618. package/node/components/toolbar/GridToolbarDensitySelector.js +5 -6
  619. package/node/components/toolbar/GridToolbarFilterButton.js +3 -3
  620. package/node/components/virtualization/GridVirtualScroller.js +1 -0
  621. package/node/constants/defaultGridSlotsComponents.js +9 -9
  622. package/node/constants/gridClasses.js +1 -1
  623. package/node/constants/index.js +0 -11
  624. package/node/constants/localeTextConstants.js +4 -5
  625. package/node/hooks/core/useGridApiInitialization.js +4 -12
  626. package/node/hooks/core/useGridInitialization.js +0 -2
  627. package/node/hooks/features/clipboard/useGridClipboard.js +19 -6
  628. package/node/hooks/features/columnGrouping/gridColumnGroupsSelector.js +2 -11
  629. package/node/hooks/features/columnGrouping/useGridColumnGrouping.js +2 -2
  630. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +15 -17
  631. package/node/hooks/features/columnMenu/{columnMenuState.js → columnMenuInterfaces.js} +0 -0
  632. package/node/hooks/features/columnMenu/index.js +4 -4
  633. package/node/hooks/features/columnMenu/useGridColumnMenu.js +27 -25
  634. package/node/hooks/features/columnMenu/useGridColumnMenuComponents.js +72 -0
  635. package/node/hooks/features/columns/gridColumnsSelector.js +2 -2
  636. package/node/hooks/features/columns/gridColumnsUtils.js +9 -14
  637. package/node/hooks/features/columns/useGridColumns.js +26 -12
  638. package/node/hooks/features/density/densitySelector.js +1 -5
  639. package/node/hooks/features/density/useGridDensity.js +16 -33
  640. package/node/hooks/features/dimensions/useGridDimensions.js +8 -7
  641. package/node/hooks/features/editing/useGridRowEditing.js +8 -3
  642. package/node/hooks/features/events/useGridEvents.js +0 -3
  643. package/node/hooks/features/export/useGridPrintExport.js +11 -13
  644. package/node/hooks/features/filter/gridFilterSelector.js +17 -17
  645. package/node/hooks/features/filter/gridFilterState.js +2 -2
  646. package/node/hooks/features/filter/gridFilterUtils.js +27 -27
  647. package/node/hooks/features/filter/useGridFilter.js +21 -16
  648. package/node/hooks/features/focus/useGridFocus.js +8 -1
  649. package/node/hooks/features/index.js +0 -11
  650. package/node/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +8 -1
  651. package/node/hooks/features/pagination/gridPaginationSelector.js +18 -10
  652. package/node/hooks/features/pagination/gridPaginationUtils.js +38 -0
  653. package/node/hooks/features/pagination/useGridPagination.js +156 -17
  654. package/node/hooks/features/preferencesPanel/useGridPreferencesPanel.js +1 -1
  655. package/node/hooks/features/rowSelection/useGridRowSelection.js +17 -11
  656. package/node/hooks/features/rows/gridRowsUtils.js +3 -3
  657. package/node/hooks/features/rows/useGridRows.js +6 -4
  658. package/node/hooks/features/rows/useGridRowsMeta.js +11 -11
  659. package/node/hooks/features/scroll/useGridScroll.js +1 -1
  660. package/node/hooks/features/sorting/useGridSorting.js +12 -1
  661. package/node/hooks/features/virtualization/useGridVirtualScroller.js +28 -21
  662. package/node/hooks/utils/index.js +0 -11
  663. package/node/hooks/utils/useGridApiMethod.js +8 -6
  664. package/node/hooks/utils/useGridVisibleRows.js +1 -1
  665. package/node/index.js +27 -3
  666. package/node/internals/index.js +20 -0
  667. package/node/locales/arSD.js +3 -4
  668. package/node/locales/bgBG.js +3 -4
  669. package/node/locales/csCZ.js +3 -4
  670. package/node/locales/daDK.js +3 -4
  671. package/node/locales/deDE.js +3 -4
  672. package/node/locales/elGR.js +3 -4
  673. package/node/locales/esES.js +28 -38
  674. package/node/locales/faIR.js +3 -4
  675. package/node/locales/fiFI.js +3 -4
  676. package/node/locales/frFR.js +3 -4
  677. package/node/locales/heIL.js +5 -5
  678. package/node/locales/huHU.js +3 -4
  679. package/node/locales/itIT.js +3 -4
  680. package/node/locales/jaJP.js +3 -4
  681. package/node/locales/koKR.js +3 -4
  682. package/node/locales/nbNO.js +3 -4
  683. package/node/locales/nlNL.js +3 -4
  684. package/node/locales/plPL.js +3 -4
  685. package/node/locales/ptBR.js +3 -4
  686. package/node/locales/roRO.js +3 -4
  687. package/node/locales/ruRU.js +16 -21
  688. package/node/locales/skSK.js +3 -4
  689. package/node/locales/svSE.js +12 -15
  690. package/node/locales/trTR.js +3 -4
  691. package/node/locales/ukUA.js +21 -30
  692. package/node/locales/viVN.js +3 -4
  693. package/node/locales/zhCN.js +3 -4
  694. package/node/locales/zhTW.js +3 -4
  695. package/node/models/colDef/index.js +0 -11
  696. package/node/models/gridDensity.js +1 -15
  697. package/node/models/gridEditRowModel.js +0 -1
  698. package/node/models/gridFilterItem.js +7 -7
  699. package/node/models/index.js +11 -0
  700. package/node/utils/utils.js +1 -1
  701. package/package.json +3 -3
  702. package/utils/EventManager.d.ts +1 -1
  703. package/utils/cleanupTracking/CleanupTracking.d.ts +2 -2
  704. package/utils/createSelector.d.ts +5 -5
  705. package/utils/utils.d.ts +1 -1
  706. package/utils/utils.js +1 -1
  707. package/components/ErrorBoundary.d.ts +0 -20
  708. package/components/ErrorBoundary.js +0 -32
  709. package/components/GridErrorOverlay.d.ts +0 -8
  710. package/components/GridErrorOverlay.js +0 -27
  711. package/components/base/GridErrorHandler.d.ts +0 -8
  712. package/components/base/GridErrorHandler.js +0 -38
  713. package/components/base/GridHeaderPlaceholder.d.ts +0 -2
  714. package/components/base/GridHeaderPlaceholder.js +0 -16
  715. package/components/menu/columnMenu/GridColumnsMenuItem.d.ts +0 -7
  716. package/components/menu/columnMenu/GridColumnsMenuItem.js +0 -34
  717. package/components/menu/columnMenu/GridFilterMenuItem.d.ts +0 -7
  718. package/components/menu/columnMenu/GridFilterMenuItem.js +0 -34
  719. package/components/menu/columnMenu/HideGridColMenuItem.d.ts +0 -7
  720. package/components/menu/columnMenu/SortGridMenuItems.d.ts +0 -7
  721. package/components/menu/columnMenu/SortGridMenuItems.js +0 -57
  722. package/hooks/core/useGridErrorHandler.d.ts +0 -4
  723. package/hooks/core/useGridErrorHandler.js +0 -21
  724. package/hooks/features/columnMenu/columnMenuState.d.ts +0 -4
  725. package/hooks/features/editing/index.d.ts +0 -1
  726. package/hooks/features/editing/index.js +0 -1
  727. package/hooks/features/pagination/useGridPage.d.ts +0 -8
  728. package/hooks/features/pagination/useGridPage.js +0 -137
  729. package/hooks/features/pagination/useGridPageSize.d.ts +0 -8
  730. package/hooks/features/pagination/useGridPageSize.js +0 -110
  731. package/hooks/utils/useGridScrollFn.d.ts +0 -4
  732. package/hooks/utils/useGridScrollFn.js +0 -20
  733. package/legacy/components/ErrorBoundary.js +0 -55
  734. package/legacy/components/GridErrorOverlay.js +0 -27
  735. package/legacy/components/base/GridErrorHandler.js +0 -36
  736. package/legacy/components/base/GridHeaderPlaceholder.js +0 -16
  737. package/legacy/components/menu/columnMenu/GridColumnsMenuItem.js +0 -32
  738. package/legacy/components/menu/columnMenu/GridFilterMenuItem.js +0 -32
  739. package/legacy/components/menu/columnMenu/SortGridMenuItems.js +0 -57
  740. package/legacy/hooks/core/useGridErrorHandler.js +0 -23
  741. package/legacy/hooks/features/editing/index.js +0 -1
  742. package/legacy/hooks/features/pagination/useGridPage.js +0 -143
  743. package/legacy/hooks/features/pagination/useGridPageSize.js +0 -116
  744. package/legacy/hooks/utils/useGridScrollFn.js +0 -20
  745. package/modern/components/ErrorBoundary.js +0 -31
  746. package/modern/components/GridErrorOverlay.js +0 -27
  747. package/modern/components/base/GridErrorHandler.js +0 -35
  748. package/modern/components/base/GridHeaderPlaceholder.js +0 -15
  749. package/modern/components/menu/columnMenu/GridColumnsMenuItem.js +0 -34
  750. package/modern/components/menu/columnMenu/GridFilterMenuItem.js +0 -34
  751. package/modern/components/menu/columnMenu/SortGridMenuItems.js +0 -57
  752. package/modern/hooks/core/useGridErrorHandler.js +0 -21
  753. package/modern/hooks/features/editing/index.js +0 -1
  754. package/modern/hooks/features/pagination/useGridPage.js +0 -134
  755. package/modern/hooks/features/pagination/useGridPageSize.js +0 -107
  756. package/modern/hooks/utils/useGridScrollFn.js +0 -19
  757. package/node/components/ErrorBoundary.js +0 -40
  758. package/node/components/GridErrorOverlay.js +0 -37
  759. package/node/components/base/GridHeaderPlaceholder.js +0 -24
  760. package/node/hooks/core/useGridErrorHandler.js +0 -30
  761. package/node/hooks/features/editing/index.js +0 -16
  762. package/node/hooks/features/pagination/useGridPage.js +0 -145
  763. package/node/hooks/features/pagination/useGridPageSize.js +0 -118
  764. package/node/hooks/utils/useGridScrollFn.js +0 -27
package/CHANGELOG.md CHANGED
@@ -3,6 +3,866 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.0.0-beta.0
7
+
8
+ _Jan 19, 2023_
9
+
10
+ After a long period in alpha, we're glad to announce the first MUI X v6 beta!
11
+ We encourage you to try out this version, packed with improvements, bug fixes, and a few highlighted features ✨:
12
+
13
+ **Data Grid**
14
+
15
+ - [Access to the API Object in the community version](https://next.mui.com/x/react-data-grid/api-object/)
16
+ - [Improved column menu](https://next.mui.com/x/react-data-grid/column-menu/)
17
+ - [Cell selection range](https://next.mui.com/x/react-data-grid/cell-selection/) (Premium)
18
+
19
+ **Date and Time pickers**
20
+
21
+ - [Fields: the new default input for pickers](https://next.mui.com/x/react-date-pickers/fields/).
22
+ - [Improved layout customization](https://next.mui.com/x/react-date-pickers/custom-layout/)
23
+ - [Edit date ranges with drag and drop](https://next.mui.com/x/react-date-pickers/date-range-calendar/) (Pro)
24
+
25
+ You can check the migration guides for the [Data Grid](https://next.mui.com/x/migration/migration-data-grid-v5/) and [Date Pickers](https://next.mui.com/x/migration/migration-pickers-v5/) in the documentation.
26
+
27
+ We'd like to offer a big thanks to the 10 contributors who made this release possible.
28
+
29
+ - ✨ Merge `page` and `pageSize` props into `paginationModel`
30
+ - 🚀 Replace old masked picker components with field based ones
31
+ - 🌍 Improve Swedish (sv-SE) and Italian (it-IT) locales
32
+ - 📚 Documentation improvements
33
+ - 🐞 Bug fixes
34
+
35
+ ### `@mui/x-data-grid@v6.0.0-beta.0` / `@mui/x-data-grid-pro@v6.0.0-beta.0` / `@mui/x-data-grid-premium@v6.0.0-beta.0`
36
+
37
+ #### Breaking changes
38
+
39
+ - The `disableExtendRowFullWidth` prop was removed.
40
+ Use `showCellVerticalBorder` or `showColumnVerticalBorder` props to show or hide right border for cells and header cells respectively.
41
+
42
+ - The `GridCellIdentifier` type was removed. Use `GridCellCoordinates` instead.
43
+
44
+ - The `singleSelect` column type now has a default value formatter that returns the `label` corresponding to the selected value when `valueOptions` is an array of objects.
45
+ As consequence, any existing value formatter will not be applied to the individual options anymore, but only to the text of the cell.
46
+ It is recommended to migrate `valueOptions` to an array of objects to be able to add a custom label for each value.
47
+ To override the label used for each option when the cell is in edit mode or in the filter panel, the following components now support a `getOptionLabel` prop.
48
+ This prop accepts a callback that is called with the item from `valueOptions` and must return the new label.
49
+
50
+ - `GridEditSingleSelectCell`
51
+ - `GridFilterInputSingleSelect`
52
+ - `GridFilterInputMultipleSingleSelect`
53
+
54
+ - The `getGridSingleSelectQuickFilterFn` function was removed.
55
+ You can copy the old function and pass it to the `getApplyQuickFilterFn` property of the `singleSelect` column definition.
56
+
57
+ - The `page` and `pageSize` props and their respective event handlers `onPageChange` and `onPageSizeChange` were removed.
58
+ Use `paginationModel` and `onPaginationModelChange` instead.
59
+
60
+ ```diff
61
+ <DataGrid
62
+ rows={rows}
63
+ columns={columns}
64
+ - page={page}
65
+ - pageSize={pageSize}
66
+ - onPageChange={handlePageChange}
67
+ - onPageSizeChange={handlePageSizeChange}
68
+ + paginationModel={{ page, pageSize }}
69
+ + onPaginationModelChange={handlePaginationModelChange}
70
+ />
71
+ ```
72
+
73
+ - The properties `initialState.pagination.page` and `initialState.pagination.pageSize` were also removed.
74
+ Use `initialState.pagination.paginationModel` instead.
75
+
76
+ ```diff
77
+ -initialState={{ pagination: { page: 1, pageSize: 10 } }}
78
+ +initialState={{ pagination: { paginationModel: { page: 1, pageSize: 10 } } }}
79
+ ```
80
+
81
+ - The `rowsPerPageOptions` prop was renamed to `pageSizeOptions`.
82
+
83
+ ```diff
84
+ -<DataGrid rowsPerPageOptions={[10, 20, 50]} />
85
+ +<DataGrid pageSizeOptions={[10, 20, 50]} />
86
+ ```
87
+
88
+ - The `error` and `onError` props were removed - the grid no longer catches errors during rendering.
89
+ To catch errors that happen during rendering use the [error boundary](https://reactjs.org/docs/error-boundaries.html).
90
+
91
+ - The `components.ErrorOverlay` slot was removed.
92
+
93
+ - The `GridErrorOverlay` component was removed.
94
+
95
+ - The `componentError` event was removed.
96
+ Use the [error boundary](https://reactjs.org/docs/error-boundaries.html) to catch errors thrown during rendering.
97
+
98
+ - The `apiRef.current.showError` method was removed.
99
+ The UI for errors is no longer handled by the grid.
100
+
101
+ - The `date` and `dateTime` columns now only support `Date` objects as values.
102
+ To parse a string value, use the [`valueGetter`](https://mui.com/x/react-data-grid/column-definition/#value-getter):
103
+
104
+ ```tsx
105
+ <DataGrid
106
+ columns={[
107
+ {
108
+ field: 'date',
109
+ type: 'date',
110
+ valueGetter: (params) => new Date(params.value),
111
+ },
112
+ ]}
113
+ />
114
+ ```
115
+
116
+ - The following selectors have been renamed:
117
+
118
+ - `gridVisibleSortedRowIdsSelector` renamed to `gridExpandedSortedRowIdsSelector`
119
+ - `gridVisibleSortedRowEntriesSelector` renamed to `gridExpandedSortedRowEntriesSelector`
120
+ - `gridVisibleRowCountSelector` renamed to `gridExpandedRowCountSelector`
121
+ - `gridVisibleSortedTopLevelRowEntriesSelector` renamed to `gridFilteredSortedTopLevelRowEntriesSelector`
122
+ - `gridVisibleTopLevelRowCountSelector` renamed to `gridFilteredTopLevelRowCountSelector`
123
+
124
+ - The `apiRef.current.getVisibleRowModels` method was removed. Use the `gridVisibleSortedRowEntriesSelector` selector instead.
125
+
126
+ - The `GridRowScrollEndParams["virtualRowsCount"]` parameter was renamed to `GridRowScrollEndParams["visibleRowsCount"]`.
127
+
128
+ #### Changes
129
+
130
+ - [DataGrid] Add default value formatter to `singleSelect` (#7290) @m4theushw
131
+ - [DataGrid] Fix flickering on grid scroll (#7549) @cherniavskii
132
+ - [DataGrid] Merge `page` and `pageSize` props into `paginationModel` (#7147) @MBilalShafi
133
+ - [DataGrid] Only support `Date` as value in `date` and `dateTime` column types (#7594) @cherniavskii
134
+ - [DataGrid] Remove error boundary (#7579) @cherniavskii
135
+ - [DataGrid] Remove `GridCellIdentifier` redundant type (#7578) @MBilalShafi
136
+ - [DataGrid] Remove `disableExtendRowFullWidth` prop (#7373) @MBilalShafi
137
+ - [DataGrid] Remove tag limit from `isAnyOf` operator input (#7592) @m4theushw
138
+ - [DataGrid] Use v6 terminology (#7473) @DanailH
139
+ - [DataGridPremium] Keep focus on first selected cell (#7482) @m4theushw
140
+ - [l10n] Update Swedish (sv-SE) locale (#7585) @MaanTyringe
141
+
142
+ ### `@mui/x-date-pickers@v6.0.0-beta.0` / `@mui/x-date-pickers-pro@v6.0.0-beta.0`
143
+
144
+ #### Breaking changes
145
+
146
+ - The `showToolbar` prop has been moved to the `toolbar` component slot props:
147
+
148
+ ```diff
149
+ <DatePicker
150
+ - showToolbar
151
+ + slotProps={{
152
+ + toolbar: {
153
+ + hidden: false,
154
+ + }
155
+ + }}
156
+ />
157
+ ```
158
+
159
+ - The new pickers have replaced the legacy one.
160
+
161
+ If you were using the new pickers with their temporary name, you just have to change your imports.
162
+
163
+ ```diff
164
+ -import { Unstable_NextDatePicker as NextDatePicker } from '@mui/x-date-pickers/NextDatePicker';
165
+ +import { DatePicker } from '@mui/x-date-pickers/DatePicker';
166
+ -import { Unstable_DesktopNextDatePicker as DesktopNextDatePicker } from '@mui/x-date-pickers/DesktopNextDatePicker';
167
+ +import { DesktopDatePicker } from '@mui/x-date-pickers/DesktopDatePicker';
168
+
169
+ // Same for all the other pickers with an `Unstable_` prefix
170
+ ```
171
+
172
+ If you were still using the legacy picker (`DatePicker`, `DesktopDatePicker`, ...), please take a look at our [migration guide](https://next.mui.com/x/migration/migration-pickers-v5/#picker-components) for detailed explanations on how to start using the new ones.
173
+
174
+ - The fields components are no longer unstable
175
+
176
+ ```diff
177
+ -import { Unstable_DateField as DateField } from '@mui/x-date-pickers/DateField';
178
+ +import { DateField } from '@mui/x-date-pickers/DateField';
179
+ ```
180
+
181
+ #### Changes
182
+
183
+ - [DateRangeCalendar] Ignore `calendars` prop on mobile (#7526) @flaviendelangle
184
+ - [DateRangeCalendar] Ignore `showDaysOutsideCurrentMonth` when `calendars > 1` (#7529) @flaviendelangle
185
+ - [DateRangePicker] Propagate `rangePosition` to view (#7602) @LukasTy
186
+ - [fields] Fix upper boundary on 12-hours sections (#7618) @flaviendelangle
187
+ - [fields] Publish value when cleaning the last section of a date (#7519) @flaviendelangle
188
+ - [fields] Remove the `Unstable_` prefix for field components (#7185) @flaviendelangle
189
+ - [pickers] Add missing `slots` and `slotProps` on the date range view renderer (#7586) @flaviendelangle
190
+ - [pickers] Drop legacy pickers (#7545) @flaviendelangle
191
+ - [pickers] Fix day calendar row and column index (#7589) @LukasTy
192
+ - [pickers] Go to the default view when opening a picker (#7484) @flaviendelangle
193
+ - [pickers] Make sure the `className` and `sx` props are applied to the field / static root of the picker and never to the view (#7600) @flaviendelangle
194
+ - [pickers] Rename new pickers (#7575) @flaviendelangle
195
+ - [pickers] Rename remaining `components` and `componentSlots` references (#7576) @LukasTy
196
+ - [pickers] Replace `showToolbar` with toolbar slot `hidden` prop (#7498) @LukasTy
197
+ - [pickers] Spread props to the DOM in `DateCalendar` and `TimeClock` (#7587) @flaviendelangle
198
+ - [pickers] Stop using the `WrapperVariantContext` in `DateRangeCalendar` (#7488) @flaviendelangle
199
+ - [l10n] Improve Italian (it-IT) locale (#7582) @marikadeveloper
200
+
201
+ ### `@mui/x-codemod@v6.0.0-beta.0`
202
+
203
+ #### Changes
204
+
205
+ - [codemod] Remove `disableExtendRowFullWidth` prop (#7508) @MBilalShafi
206
+
207
+ ### Docs
208
+
209
+ - [docs] Clean-up the `field components` page (#7605) @flaviendelangle
210
+ - [docs] List all pickers toolbar pages in api docs side menu (#7577) @LukasTy
211
+ - [docs] Remove "Flex layout" docs section and demo (#7477) @cherniavskii
212
+ - [docs] Rework the pickers "Getting Started" page (#7140) @flaviendelangle
213
+
214
+ ### Core
215
+
216
+ - [core] Add missing `status: needs triage` label on RFC @oliviertassinari
217
+ - [core] Add release documentation step detailing `x-codemod` package tag change (#7617) @LukasTy
218
+ - [core] Fix typo in `CHANGELOG` (#7611) @flaviendelangle
219
+ - [test] Fix date range picker tests to work with western time zones (#7581) @m4theushw
220
+
221
+ ## 6.0.0-alpha.15
222
+
223
+ _Jan 13, 2023_
224
+
225
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
226
+
227
+ - 🚀 Support components and slots for new pickers (#7390) @alexfauquette
228
+ - ✨ Update `onColumnOrderChange` behavior to match `onRowsOrderChange` (#7385) @DanailH
229
+ - 🌍 Improve Spanish (es-ES) and Belarusian (be-BY) locales
230
+ - 📚 Documentation improvements
231
+ - 🐞 Bugfixes
232
+
233
+ ### `@mui/x-data-grid@v6.0.0-alpha.15` / `@mui/x-data-grid-pro@6.0.0-alpha.15` / `@mui/x-data-grid-premium@6.0.0-alpha.15`
234
+
235
+ #### Breaking changes
236
+
237
+ - Remove the `onCellFocusOut` prop (#6302) @cherniavskii
238
+
239
+ The `onCellFocusOut` prop was removed. Use `componentsProps.cell.onBlur` instead:
240
+
241
+ ```tsx
242
+ <DataGrid
243
+ componentsProps={{
244
+ cell: {
245
+ onBlur: (event) => {
246
+ const cellElement = event.currentTarget;
247
+ const field = cellElement.getAttribute('data-field');
248
+ const rowId = cell.parentElement.getAttribute('data-id');
249
+ },
250
+ },
251
+ }}
252
+ />
253
+ ```
254
+
255
+ - [DataGrid] Stop exporting editing selector (#7456) @m4theushw
256
+
257
+ The `gridEditRowsStateSelector` selector was removed.
258
+
259
+ - [DataGrid] Rework column headers and virtual scroller positioning (#7001) @cherniavskii
260
+
261
+ The `headerHeight` prop was renamed to `columnHeaderHeight`.
262
+
263
+ - [DataGrid] Remove the `columnTypes` prop (#7309) @cherniavskii
264
+
265
+ The `columnTypes` prop was removed. For custom column types see [Custom column types](https://mui.com/x/react-data-grid/column-definition/#custom-column-types) docs.
266
+
267
+ - [DataGrid] Rename `linkOperators` to `logicOperators` (#7310) @cherniavskii
268
+
269
+ The `apiRef.current.setFilterLinkOperator` method was renamed to `apiRef.current.setFilterLogicOperator`.
270
+ The `GridLinkOperator` enum was renamed to `GridLogicOperator`.
271
+ The `GridFilterModel['linkOperator']` was renamed to `GridFilterModel['logicOperator']`.
272
+ The `linkOperators` prop of `GridFilterForm` and `GridFilterPanel` components was renamed to `logicOperators`.
273
+ The `linkOperatorInputProps` prop of `GridFilterForm` component was renamed to `logicOperatorInputProps`.
274
+ The `filterFormProps.linkOperatorInputProps` prop in `GridFilterForm` component was renamed to `filterFormProps.logicOperatorInputProps`.
275
+ The `GridLocaleText['filterPanelLinkOperator']` property was renamed to `GridLocaleText['filterPanelLogicOperator']`.
276
+ The `.MuiDataGrid-filterFormLinkOperatorInput`CSS class was renamed to `.MuiDataGrid-filterFormLogicOperatorInput`.
277
+
278
+ - [DataGrid] Remove `Alt+C` keyboard shortcut (#7466) @MBilalShafi
279
+
280
+ <kbd>Alt</kbd> (or <kbd>⌥ Option</kbd>) + <kbd>C</kbd> keyboard shortcut is no longer supported.
281
+
282
+ #### Changes
283
+
284
+ - [DataGrid] Fix <kbd>Tab</kbd> between portaled and non-portaled edit components (#7098) @m4theushw
285
+ - [DataGrid] Remove the `columnTypes` prop (#7309) @cherniavskii
286
+ - [DataGrid] Remove the `onCellFocusOut` prop (#6302) @cherniavskii
287
+ - [DataGrid] Rename `linkOperators` to `logicOperators` (#7310) @cherniavskii
288
+ - [DataGrid] Rework column headers and virtual scroller positioning (#7001) @cherniavskii
289
+ - [DataGrid] Stop exporting editing selector (#7456) @m4theushw
290
+ - [DataGrid] Update `onColumnOrderChange` behavior to match `onRowsOrderChange` (#7385) @DanailH
291
+ - [DataGrid] Improve Spanish (es-ES) locale (#7447) @Anderssxn
292
+ - [DataGrid] Remove Alt+C keyboard shortcut (#7466) @MBilalShafi
293
+ - [DataGridPremium] Fix Excel export not working with date strings (#7396) @cherniavskii
294
+
295
+ ### `@mui/x-date-pickers@6.0.0-alpha.15` / `@mui/x-date-pickers-pro@6.0.0-alpha.15`
296
+
297
+ #### Breaking changes
298
+
299
+ - [pickers] Stop using the `WrapperVariantContext` in `MonthCalendar` and `YearCalendar` (#7382) @flaviendelangle
300
+
301
+ The `modeMobile` and `modeDesktop` classes have been removed from the `PickersMonth` and `PickersYear` internal components.
302
+
303
+ If you were using those classes on responsive components,
304
+ you can import `DEFAULT_DESKTOP_MODE_MEDIA_QUERY` from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro` (or use your custom media query if any):
305
+
306
+ ```diff
307
+ <GlobalStyles
308
+ styles={{
309
+ - [`.${pickersYearClasses.modeDesktop}`]: {
310
+ - backgroundColor: 'red'
311
+ - }
312
+ + [DEFAULT_DESKTOP_MODE_MEDIA_QUERY]: {
313
+ + [`.${pickersYearClasses.root}`]: {
314
+ + backgroundColor: 'red'
315
+ + }
316
+ + }
317
+ - [`.${pickersYearClasses.modeMobile}`]: {
318
+ - backgroundColor: 'red'
319
+ - }
320
+ + [DEFAULT_DESKTOP_MODE_MEDIA_QUERY.replace('@media', '@media not')]: {
321
+ + [`.${pickersYearClasses.root}`]: {
322
+ + backgroundColor: 'red'
323
+ + }
324
+ + }
325
+ }}
326
+ />
327
+ ```
328
+
329
+ Works exactly the same way for `PickersMonth`.
330
+
331
+ - [pickers] Refactor `shouldDisableTime` (#7299) @LukasTy
332
+
333
+ The `shouldDisableTime` prop signature has been changed. Either rename the prop usage to `shouldDisableClock` or refactor usage.
334
+
335
+ ```diff
336
+ <DateTimePicker
337
+ - shouldDisableTime={(timeValue, view) => view === 'hours' && timeValue < 12}
338
+ + shouldDisableClock={(timeValue, view) => view === 'hours' && timeValue < 12}
339
+ />
340
+ ```
341
+
342
+ ```diff
343
+ <DateTimePicker
344
+ - shouldDisableTime={(timeValue, view) => view === 'hours' && timeValue < 12}
345
+ + shouldDisableTime={(time, view) => view === 'hours' && value.hour() < 12}
346
+ />
347
+ ```
348
+
349
+ #### Changes
350
+
351
+ - [fields] Fix Android editing (#7444) @flaviendelangle
352
+ - [pickers] Add Belarusian (be-BY) locale (#7395) @volhalink
353
+ - [pickers] Hide am/pm controls when there is no hour view (#7380) @flaviendelangle
354
+ - [pickers] Hide the tabs by default on `DesktopNextDateTimePicker` (#7503) @flaviendelangle
355
+ - [pickers] Refactor `shouldDisableTime` (#7299) @LukasTy
356
+ - [pickers] Remove `WrapperVariantContext` from `DateTimePickerTabs` (#7374) @LukasTy
357
+ - [pickers] Stop using the `WrapperVariantContext` in `MonthCalendar` and `YearCalendar` (#7382) @flaviendelangle
358
+ - [pickers] Support `components` and `slots` for new pickers (#7390) @alexfauquette
359
+ - [pickers] Replace `slotsProps` by `slotProps` (#7528) @alexfauquette
360
+
361
+ ### Docs
362
+
363
+ - [docs] Fix codesandboxes using `DemoContainer` (#7388) @LukasTy
364
+ - [docs] Fix wrong reference to currentView (#7441) @oliviertassinari
365
+ - [docs] New page for `DateRangeCalendar` (#7378) @flaviendelangle
366
+ - [docs] Update the migration guide with the breaking changes between the legacy and the new pickers (#7345) @flaviendelangle
367
+ - [docs] Use new pickers on "Custom components" demos (#7194) @flaviendelangle
368
+
369
+ ### Core
370
+
371
+ - [core] Handle selection edge case (#7350) @oliviertassinari
372
+ - [core] Improve license message @oliviertassinari
373
+ - [core] Move default `closeOnSelect` to prop definition in `usePickerValue` (#7459) @flaviendelangle
374
+ - [core] Move interfaces of UI views to dedicated files (#7458) @flaviendelangle
375
+ - [core] Update package used to import LicenseInfo (#7442) @oliviertassinari
376
+ - [test] Add a few inheritComponent (#7352) @oliviertassinari
377
+
378
+ ## 6.0.0-alpha.14
379
+
380
+ _Jan 5, 2023_
381
+
382
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
383
+
384
+ - 📆 Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
385
+ - 🚀 Use grid for modifying pickers layout (#6900) @alexfauquette
386
+ - ✨ Improve field components editing experience (#7272) @flaviendelangle
387
+ - 💻 Multiple codemods
388
+ - 📚 Many documentation improvements
389
+ - 🐞 Bugfixes
390
+
391
+ ### `@mui/x-data-grid@v6.0.0-alpha.14` / `@mui/x-data-grid-pro@v6.0.0-alpha.14` / `@mui/x-data-grid-premium@v6.0.0-alpha.14`
392
+
393
+ #### Breaking changes
394
+
395
+ - [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
396
+
397
+ The default type of `GridCellParams['value']` was changed from `any` to `unknown`.
398
+
399
+ #### Changes
400
+
401
+ - [DataGrid] Fix flickering on mount (#7205) @cherniavskii
402
+ - [DataGrid] Fix selected text in cell input not being copied in Firefox (#6593) @cherniavskii
403
+ - [DataGrid] Invert generic parameters order (#6874) @DanailH
404
+ - [DataGrid] Remove legacy logic for `singleSelect` inside `GridFilterInputValue` (#7386) @m4theushw
405
+ - [DataGrid] Remove remaining props from legacy editing API (#7381) @m4theushw
406
+ - [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
407
+
408
+ ### `@mui/x-date-pickers@v6.0.0-alpha.14` / `@mui/x-date-pickers-pro@v6.0.0-alpha.14`
409
+
410
+ #### Breaking changes
411
+
412
+ - [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
413
+
414
+ #### Changes
415
+
416
+ - [fields] Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
417
+ - [fields] Improve editing (automatic section switch, allow letter editing in digit section, allow numeric editing in letter section) (#7272) @flaviendelangle
418
+ - [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
419
+ - [fields] Prevent date change on `TimeField` arrow edition (#7383) @flaviendelangle
420
+ - [pickers] Clean some JSDoc descriptions (#7384) @flaviendelangle
421
+ - [pickers] Remove redundant `variants` in theme augmentation (#7356) @LukasTy
422
+ - [pickers] Remove the `PaperContent` slot from the new pickers (#7342) @flaviendelangle
423
+ - [pickers] Use grid for modifying the layout (#6900) @alexfauquette
424
+
425
+ ### `@mui/x-codemod@v6.0.0-alpha.14`
426
+
427
+ #### Changes
428
+
429
+ - [codemod] Add new codemod for adapter import (#7348) @flaviendelangle
430
+ - [codemod] Add new codemod for the value prop renaming on the view components (#7338) @flaviendelangle
431
+ - [codemod] Reorganize codemods and add rename column menu components codemod (#7368) @MBilalShafi
432
+
433
+ ### Docs
434
+
435
+ - [docs] Add example to add back the mobile keyboard view (#7347) @flaviendelangle
436
+ - [docs] Cleanup the doc pages of the community pickers (#7339) @flaviendelangle
437
+ - [docs] Drop security fixes support for v4 (#7322) @oliviertassinari
438
+ - [docs] Fix `disablePast` and `disableFuture` definition swap (#7324) @alexfauquette
439
+ - [docs] Hide ad for paid docs pages (#7321) @oliviertassinari
440
+ - [docs] New page for `TimeClock` (#7280) @flaviendelangle
441
+ - [docs] Note the pickers breaking changes supported by the codemod (#7337) @flaviendelangle
442
+ - [docs] Redirect translated pages (#7341) @cherniavskii
443
+ - [docs] Reorganize v6 pickers migration guide (#7257) @flaviendelangle
444
+
445
+ ### Core
446
+
447
+ - [core] Apply eslint rule for React component @oliviertassinari
448
+ - [core] Apply title capitalization convention @oliviertassinari
449
+ - [core] Fix the product license reference name (#7367) @oliviertassinari
450
+ - [core] Order the slots alphabetically in the JSON files (#7349) @flaviendelangle
451
+ - [core] Remove blanklines in `_redirects` @oliviertassinari
452
+ - [core] Remove dead prettier config @oliviertassinari
453
+ - [core] Sync back with the mono repo (#7351) @oliviertassinari
454
+ - [core] Sync monorepo, fix layout scrollbar @oliviertassinari
455
+ - [core] Upgrade monorepo (#7307) @LukasTy
456
+
457
+ ## 6.0.0-alpha.13
458
+
459
+ _Dec 24, 2022_
460
+
461
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
462
+
463
+ - 🚀 New column menu design and API
464
+ - 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
465
+ - 📚 Documentation improvements
466
+ - 🐞 Bugfixes
467
+
468
+ ### `@mui/x-data-grid@6.0.0-alpha.13` / `@mui/x-data-grid-pro@6.0.0-alpha.13` / `@mui/x-data-grid-premium@6.0.0-alpha.13`
469
+
470
+ #### Breaking changes
471
+
472
+ - New column menu design and API (#6619) MBilalShafi
473
+
474
+ The `currentColumn` prop passed to `components.ColumnMenu` was renamed to `colDef`.
475
+ The `column` prop passed to the items of the column menu was renamed to `colDef`.
476
+ The `DATA_GRID_DEFAULT_SLOTS_COMPONENTS` export has been removed.
477
+ The following components and interfaces were been renamed for consistency:
478
+
479
+ **Community Package:**
480
+
481
+ ```diff
482
+ -<GridFilterMenuItem />
483
+ +<GridColumnMenuFilterItem />
484
+ ```
485
+
486
+ ```diff
487
+ -<HideGridColMenuItem />
488
+ +<GridColumnMenuHideItem />
489
+ ```
490
+
491
+ ```diff
492
+ -<GridColumnsMenuItem />
493
+ +<GridColumnMenuColumnsItem />
494
+ ```
495
+
496
+ ```diff
497
+ -<SortGridMenuItems />
498
+ +<GridColumnMenuSortItem />
499
+ ```
500
+
501
+ ```diff
502
+ -interface GridFilterItemProps
503
+ +interface GridColumnMenuItemProps
504
+ ```
505
+
506
+ **Pro package:**
507
+
508
+ ```diff
509
+ -<GridColumnPinningMenuItems />
510
+ +<GridColumnMenuPinningItem />
511
+ ```
512
+
513
+ **Premium package:**
514
+
515
+ ```diff
516
+ -<GridAggregationColumnMenuItem />
517
+ +<GridColumnMenuAggregationItem />
518
+ ```
519
+
520
+ ```diff
521
+ -<GridRowGroupingColumnMenuItems />
522
+ -<GridRowGroupableColumnMenuItems />
523
+ +<GridColumnMenuGroupingItem />
524
+ ```
525
+
526
+ - Improve column definition typing (#7224) @cherniavskii
527
+
528
+ The `GridColumns` type was removed. Use `GridColDef[]` instead.
529
+ The `GridActionsColDef` interface was removed. Use `GridColDef` instead.
530
+ The `GridEnrichedColDef` type was removed. Use `GridColDef` instead.
531
+ The `GridStateColDef` type was removed.
532
+
533
+ If you use it to type `searchPredicate`, use `GridColumnsPanelProps['searchPredicate']` instead.
534
+ If you use it to type `getApplyFilterFn`, `GridFilterOperator['getApplyFilterFn']` can be used as replacement.
535
+
536
+ - Remove GridDensityType enum (#7304) @cherniavskii
537
+
538
+ The `GridDensityTypes` enum was removed. Use `GridDensity` type instead.
539
+
540
+ #### Changes
541
+
542
+ - [DataGrid] Allow disabling of buttons in column panel (#6947) @MBilalShafi
543
+ - [DataGrid] Improve column definition typing (#7224) @cherniavskii
544
+ - [DataGrid] Improve column menu design and API (#6619) @MBilalShafi
545
+ - [DataGrid] Remove `GridDensityType` enum (#7304) @cherniavskii
546
+ - [DataGrid] Remove `rowHeight` and `headerHeight` from state (#7199) @DanailH
547
+ - [DataGrid] Remove column separator to match table styles (#7067) @MBilalShafi
548
+ - [DataGrid] Update Russian (ru-RU) locale (#7220) @VeceluXa
549
+ - [DataGridPro] Use row ID as `key` of the detail panels (#7302) @m4theushw
550
+ - [DataGridPremium] Fix `exceljs` import with parcel (#7284) @alexfauquette
551
+
552
+ ### `@mui/x-date-pickers@6.0.0-alpha.13` / `@mui/x-date-pickers-pro@6.0.0-alpha.13`
553
+
554
+ #### Breaking changes
555
+
556
+ - Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
557
+
558
+ `AdapterLuxon` now requires `luxon` in version `3.0.2` or higher in order to work.
559
+
560
+ Take a look at the [Upgrading Luxon](https://moment.github.io/luxon/#/upgrading) guide if you are using an older version.
561
+
562
+ #### Changes
563
+
564
+ - [DateRangePicker] Fix to propagate `disabled` and `readOnly` on multi input picker (#7135) @LukasTy
565
+ - [fields] Fix multi input fields root element props order and types (#7225) @LukasTy
566
+ - [fields] Support escaped characters (#7184) @flaviendelangle
567
+ - [pickers] Allow to define custom view renderers on the pickers (#7176) @flaviendelangle
568
+ - [pickers] Avoid running validation methods several times in `DateCalendar` (#7247) @flaviendelangle
569
+ - [pickers] Improve Korean (ko-KR) locale (#7266) @hanbin9775
570
+ - [pickers] Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
571
+ - [pickers] Rework view internals (#7097) @flaviendelangle
572
+
573
+ ### `@mui/x-codemod@6.0.0-alpha.13`
574
+
575
+ #### Changes
576
+
577
+ - [codemod] New codemod for view component renaming (#7264) @flaviendelangle
578
+
579
+ ### Docs
580
+
581
+ - [docs] Fix some selectors not being documented (#7218) @cherniavskii
582
+ - [docs] New page for `DateCalendar` (#7053) @flaviendelangle
583
+ - [docs] Split selection docs (#7213) @m4theushw
584
+
585
+ ### Core
586
+
587
+ - [core] Fix API demos callout spacing @oliviertassinari
588
+
589
+ ## 6.0.0-alpha.12
590
+
591
+ _Dec 16, 2022_
592
+
593
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
594
+
595
+ - 🚀 The `apiRef` prop is now available in the `@mui/x-data-grid` package:
596
+
597
+ ```tsx
598
+ const apiRef = useGridApiRef();
599
+
600
+ return <DataGrid apiRef={apiRef} {...other} />;
601
+ ```
602
+
603
+ See [the documentation](https://next.mui.com/x/react-data-grid/api-object/) for more information.
604
+
605
+ - 🎁 The `DataGridPremium` now supports cell selection:
606
+
607
+ ```tsx
608
+ <DataGridPremium unstable_cellSelection />
609
+ ```
610
+
611
+ See [the documentation](https://next.mui.com/x/react-data-grid/selection/#cell-selection) for more information
612
+
613
+ - 🌍 Support the Right To Left orientation on the fields components
614
+ - 📚 Documentation improvements
615
+ - 🐞 Bugfixes
616
+
617
+ ### `@mui/x-data-grid@v6.0.0-alpha.12` / `@mui/x-data-grid-pro@v6.0.0-alpha.12` / `@mui/x-data-grid-premium@v6.0.0-alpha.12`
618
+
619
+ #### Breaking changes
620
+
621
+ - The `showCellRightBorder` was renamed to `showCellVerticalBorder`
622
+ - The `showColumnRightBorder` was renamed to `showColumnVerticalBorder`
623
+ - The `.MuiDataGrid-withBorder` CSS class was renamed to `.MuiDataGrid-withBorderColor` and it only sets `border-color` CSS property now.
624
+ - The following undocumented properties from `apiRef` were removed: `footerRef`, `headerRef`, `columnHeadersElementRef`, `columnHeadersContainerElementRef`
625
+ - The `GridHeaderPlaceholder` component was removed.
626
+ - The `MAX_PAGE_SIZE` constant was removed.
627
+ - The `useGridScrollFn` hook was removed.
628
+
629
+ #### Changes
630
+
631
+ - [DataGrid] Display sort column menu items as per `sortingOrder` prop (#7180) @MBilalShafi
632
+ - [DataGrid] Support `apiRef` in Community package (#6773) @cherniavskii
633
+ - [DataGridPremium] Add support for cell selection (#6567) @m4theushw
634
+ - [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7142) @m4theushw
635
+ - [DataGridPro] Fix missing border in right-pinned columns (#4197) @cherniavskii
636
+ - [DataGridPro] Fix wrong border color on skeleton cells (#7202) @cherniavskii
637
+
638
+ ### `@mui/x-date-pickers@v6.0.0-alpha.12` / `@mui/x-date-pickers-pro@v6.0.0-alpha.12`
639
+
640
+ #### Changes
641
+
642
+ - [fields] Fix bug introduced by RTL in single input range fields (#7189) @alexfauquette
643
+ - [fields] Support RTL out of the box (#6715) @alexfauquette
644
+ - [pickers] Clean `autoFocus` behavior on fields and new pickers (#7153) @flaviendelangle
645
+ - [pickers] Fix label on the new range pickers (#7210) @flaviendelangle
646
+ - [pickers] Fix wrong component name on `StaticNextDateTime` (#7187) @flaviendelangle
647
+
648
+ ### Docs
649
+
650
+ - [docs] Add docs section about field placeholders' localization (#7139) @flaviendelangle
651
+ - [docs] Create a `DemoGrid` component to unify demos with several components (#7057) @flaviendelangle
652
+ - [docs] Document aggregation selectors (#7148) @cherniavskii
653
+ - [docs] Fix 301 links to demo pages in API pages (#7197) @oliviertassinari
654
+ - [docs] Fix errors and warning in demos (#7209) @LukasTy
655
+ - [docs] Use `DemoContainer` and `DemoItem` on every picker demo (#7149) @flaviendelangle
656
+
657
+ ### Core
658
+
659
+ - [core] Fix broken test (#7179) @flaviendelangle
660
+
661
+ ## 6.0.0-alpha.11
662
+
663
+ _Dec 8, 2022_
664
+
665
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
666
+
667
+ - 🚀 Add dragging support for the new Date Range Picker (`NextDateRangePicker`) (#6763) @LukasTy
668
+ - ⚡️ Improve performance of the `day` view (#7066) @flaviendelangle
669
+ - ✨ Fix lazy-loading feature not working in `DataGridPremium` (#7124) @m4theushw
670
+ - 🐞 Bugfixes
671
+
672
+ ### `@mui/x-data-grid@v6.0.0-alpha.11` / `@mui/x-data-grid-pro@v6.0.0-alpha.11` / `@mui/x-data-grid-premium@v6.0.0-alpha.11`
673
+
674
+ #### Breaking changes
675
+
676
+ - The `filterPanelOperators` translation key was renamed to `filterPanelOperator` (#7062) @MBilalShafi
677
+ - The `components.Header` slot was removed. Use `components.Toolbar` slot instead (#6999) @cherniavskii
678
+
679
+ #### Changes
680
+
681
+ - [DataGrid] Fix rows not rendering properly after height change (#6892) @MBilalShafi
682
+ - [DataGrid] Remove `Header` slot (#6999) @cherniavskii
683
+ - [DataGrid] Rename `filterPanelOperators` -> `filterPanelOperator` (#7062) @MBilalShafi
684
+ - [DataGridPremium] Add support for lazy-loading (#7124) @m4theushw
685
+ - [DataGridPremium] Pass `groupId` to aggregation function (#7003) @m4theushw
686
+
687
+ ### `@mui/x-date-pickers@v6.0.0-alpha.11` / `@mui/x-date-pickers-pro@v6.0.0-alpha.11`
688
+
689
+ #### Breaking changes
690
+
691
+ - Remove the callback version of the `action` prop on the `actionBar` slot (#7038) @flaviendelangle
692
+
693
+ The `action` prop of the `actionBar` slot is no longer supporting a callback.
694
+ Instead, you can pass a callback at the slot level:
695
+
696
+ ```diff
697
+ <DatePicker
698
+ componentsProps={{
699
+ - actionBar: {
700
+ - actions: (variant) => (variant === 'desktop' ? [] : ['clear']),
701
+ - },
702
+ + actionBar: ({ wrapperVariant }) => ({
703
+ + actions: wrapperVariant === 'desktop' ? [] : ['clear'],
704
+ + }),
705
+ }}
706
+ />
707
+ ```
708
+
709
+ - The `selectedDays` prop has been removed from the `Day` component (#7066) @flaviendelangle
710
+ If you need to access it, you can control the value and pass it to the slot using `componentsProps`:
711
+
712
+ ```tsx
713
+ function CustomDay({ selectedDay, ...other }) {
714
+ // do something with 'selectedDay'
715
+ return <PickersDay {...other} />;
716
+ }
717
+ function App() {
718
+ const [value, setValue] = React.useState(null);
719
+ return (
720
+ <DatePicker
721
+ value={value}
722
+ onChange={(newValue) => setValue(newValue)}
723
+ components={{ Day: CustomDay }}
724
+ componentsProps={{
725
+ day: { selectedDay: value },
726
+ }}
727
+ />
728
+ );
729
+ }
730
+ ```
731
+
732
+ - The `currentlySelectingRangeEnd` / `setCurrentlySelectingRangeEnd` props on the Date Range Picker toolbar have been renamed to `rangePosition` / `onRangePositionChange` (#6989) @flaviendelangle
733
+
734
+ ```diff
735
+ const CustomToolbarComponent = props => (
736
+ <div>
737
+ - <button onChange={() => props.setCurrentlySelectingRangeEnd('end')}>Edit end date</button>
738
+ + <button onClick={() => props.onRangePositionChange('end')}>Edit end date</button>
739
+ - <div>Is editing end date: {props.currentlySelectingRangeEnd === 'end'}</div>
740
+ + <div>Is editing end date: {props.rangePosition === 'end'}</div>
741
+ </div>
742
+ )
743
+ <DateRangePicker
744
+ components={{
745
+ Toolbar: CustomToolbarComponent
746
+ }}
747
+ />
748
+ ```
749
+
750
+ #### Changes
751
+
752
+ - [DateRangePicker] Add dragging support to edit range (#6763) @LukasTy
753
+ - [pickers] Fix lost props on Date Range Pickers (#7092) @flaviendelangle
754
+ - [pickers] Fix toolbar on the new range pickers (#6989) @flaviendelangle
755
+ - [pickers] Improve performance of `DayCalendar` (#7066) @flaviendelangle
756
+ - [pickers] Initialize date without time when selecting year or month (#7120) @LukasTy
757
+ - [pickers] Remove the callback version of the `action` prop in the `actionBar` component slot (#7038) @flaviendelangle
758
+
759
+ ### Docs
760
+
761
+ - [docs] Add `GridCell` change in migration guide (#7087) @MBilalShafi
762
+ - [docs] Fix API page ad space regression (#7051) @oliviertassinari
763
+ - [docs] Update localization doc to use existing locale (#7102) @LukasTy
764
+
765
+ ### Core
766
+
767
+ - [core] Add codemod to move l10n translation (#7027) @alexfauquette
768
+ - [core] Add notes to remove the legacy pickers internals (#7133) @flaviendelangle
769
+ - [core] Remove `internals-fields` imports (#7119) @flaviendelangle
770
+ - [core] Remove unused code (#7094) @flaviendelangle
771
+ - [core] Sync `ApiPage.js` with monorepo (#7073) @oliviertassinari
772
+ - [test] Fix karma-mocha assertion error messages (#7054) @cherniavskii
773
+
774
+ ## 6.0.0-alpha.10
775
+
776
+ _Dec 1, 2022_
777
+
778
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
779
+
780
+ - 🌍 Improve Ukrainian (uk-UA) and add Urdu (ur-PK) locales
781
+ - 📚 Documentation improvements
782
+ - 🐞 Bugfixes
783
+
784
+ ### `@mui/x-data-grid@v6.0.0-alpha.10` / `@mui/x-data-grid-pro@v6.0.0-alpha.10` / `@mui/x-data-grid-premium@v6.0.0-alpha.10`
785
+
786
+ ### Breaking changes
787
+
788
+ - [DataGrid] Removes `GridCell` fallback to `valueToRender` on `null` children (#7023) @MBilalShafi
789
+
790
+ Returning `null` in `column.renderCell` or `column.renderEditCell` now renders an empty cell instead of the default formatted value.
791
+
792
+ - [DataGrid] Refactor `GridFilterItem` props (#6985) @MBilalShafi
793
+
794
+ Properties `columnField` and `operatorValue` of `GridFilterItem` are renamed `field` and `operator`. And `operator` property is now required.
795
+
796
+ ```diff
797
+ filterModel: {
798
+ items: [{
799
+ - columnField: 'rating',
800
+ + field: 'rating',
801
+ - operatorValue: '>',
802
+ + operator: '>', // required
803
+ value: '2.5'
804
+ }],
805
+ },
806
+ ```
807
+
808
+ #### Changes
809
+
810
+ - [DataGrid] Fix row selection when clicking blank cell (#6974) @yami03
811
+ - [DataGrid] Refactor `GridFilterItem` props (#6985) @MBilalShafi
812
+ - [DataGrid] Removes `<GridCell />` fallback to `valueToRender` on `null` children (#7023) @MBilalShafi
813
+ - [DataGridPremium] Fix empty column group in Excel export (#7029) @alexfauquette
814
+ - [DataGridPremium] Update cache before hydrating columns (#7040) @m4theushw
815
+ - [DataGridPremium] Use custom cell component for grouping cell by default (#6692) @cherniavskii
816
+ - [l10n] Improve Ukrainian (uk-UA) locale (#7009) @rettoua
817
+
818
+ ### `@mui/x-date-pickers@v6.0.0-alpha.10` / `@mui/x-date-pickers-pro@v6.0.0-alpha.10`
819
+
820
+ #### Breaking changes
821
+
822
+ - Rename `dateRangeIcon` to `dateIcon` (#7024) @LukasTy
823
+
824
+ The `dateRangeIcon` prop has been renamed to `dateIcon`:
825
+
826
+ ```diff
827
+ // Same on all other Date Time Picker variations
828
+ <DateTimePicker
829
+ componentsProps={{
830
+ tabs: {
831
+ - dateRangeIcon: <LightModeIcon />,
832
+ + dateIcon: <LightModeIcon />,
833
+ }
834
+ }}
835
+ />
836
+ ```
837
+
838
+ #### Changes
839
+
840
+ - [DateTimePicker] Rename `dateRangeIcon` to `dateIcon` (#7024) @LukasTy
841
+ - [pickers] Allow non-controlled usage of `TimeClock` (#6962) @flaviendelangle
842
+ - [pickers] Throw error when using adapter from `@date-io` (#6972) @flaviendelangle
843
+ - [l10n] Add Urdu (ur-PK) locale (#7007) @MBilalShafi
844
+ - [l10n] Improve Ukrainian (uk-UA) locale (#7009) @rettoua
845
+
846
+ ### Docs
847
+
848
+ - [docs] Add Demos section on the pickers API pages (#6909) @flaviendelangle
849
+ - [docs] Add missing pickers migration docs (#7000) @LukasTy
850
+ - [docs] Fix broken link (#7048) @flaviendelangle
851
+ - [docs] Improve demo about customizing pagination (#6724) @m4theushw
852
+ - [docs] Keep track of localization completion (#7002) @alexfauquette
853
+ - [docs] Remove `LocalizationProvider` from previews (#6869) @flaviendelangle
854
+ - [docs] Remove the statement of support to RTL (#6521) @joserodolfofreitas
855
+ - [docs] Rework localization doc pages (#6625) @flaviendelangle
856
+ - [docs] Setup GitHub issue template for feedbacks about docs (#7026) @alexfauquette
857
+ - [docs] Test links with API page ignoring url hash (#7004) @alexfauquette
858
+ - [docs] Update API links from clock-picker to time-clock (#6993) @alexfauquette
859
+ - [docs] Use new pickers on the validation page (#7047) @flaviendelangle
860
+
861
+ ### Core
862
+
863
+ - [core] Remove useless type casting in field hooks (#7045) @flaviendelangle
864
+ - [test] Sync `test:unit` with monorepo (#6907) @oliviertassinari
865
+
6
866
  ## 6.0.0-alpha.9
7
867
 
8
868
  _Nov 24, 2022_
@@ -1096,6 +1956,180 @@ You can find more information about the new api, including how to set those tran
1096
1956
  - [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
1097
1957
  - [website] Improve security header @oliviertassinari
1098
1958
 
1959
+ ## 5.17.20
1960
+
1961
+ _Jan 19, 2023_
1962
+
1963
+ We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
1964
+
1965
+ - 🌍 Improve Italian (it-IT) and Swedish (sv-SE) locales
1966
+ - 🐞 Bugfixes
1967
+
1968
+ ### `@mui/x-data-grid@v5.17.20` / `@mui/x-data-grid-pro@v5.17.20` / `@mui/x-data-grid-premium@v5.17.20`
1969
+
1970
+ #### Changes
1971
+
1972
+ - [DataGrid] Fix flickering on grid scroll (#7609) @cherniavskii
1973
+ - [DataGrid] Remove tag limit from `isAnyOf` operator input (#7616) @m4theushw
1974
+ - [l10n] Improve Swedish (sv-SE) locale (#7463) @MaanTyringe
1975
+
1976
+ ### `@mui/x-date-pickers@v5.0.15` / `@mui/x-date-pickers-pro@v5.0.15`
1977
+
1978
+ #### Changes
1979
+
1980
+ - [pickers] Ensure `key` is passed without object spreading (#7584) @alexfauquette
1981
+ - [l10n] Improve Italian (it-IT) locale (#7547) @marikadeveloper
1982
+
1983
+ ## 5.17.19
1984
+
1985
+ _Jan 16, 2023_
1986
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
1987
+
1988
+ - 🌍 Improve Spanish (es-ES) and add Belarusian (be-BY) and Urdu (ur-PK) locales
1989
+ - 🐞 Bugfixes
1990
+
1991
+ ### `@mui/x-data-grid@v5.17.19` / `@mui/x-data-grid-pro@v5.17.19` / `@mui/x-data-grid-premium@v5.17.19`
1992
+
1993
+ #### Changes
1994
+
1995
+ - [DataGrid] Improve print support (#7407) @cherniavskii
1996
+ - [DataGrid] Improve Spanish (es-ES) locale (#7438) @Anderssxn
1997
+ - [DataGridPremium] Fix Excel export not working with date strings (#7478) @cherniavskii
1998
+ - [DataGridPro] Fix missing column headers border with top-pinned rows (#7399) @cherniavskii
1999
+
2000
+ ### `@mui/x-date-pickers@v5.0.14` / `@mui/x-date-pickers-pro@v5.0.14`
2001
+
2002
+ #### Changes
2003
+
2004
+ - [pickers] Add Belarusian (be-BY) locale (#7450) @volhalink
2005
+ - [pickers] Add Urdu (ur-PK) locale (#7449) @MBilalShafi
2006
+
2007
+ ## 5.17.18
2008
+
2009
+ _Jan 5, 2023_
2010
+
2011
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
2012
+
2013
+ - 🐞 Bugfixes
2014
+
2015
+ ### `@mui/x-data-grid@v5.17.18` / `@mui/x-data-grid-pro@v5.17.18` / `@mui/x-data-grid-premium@v5.17.18`
2016
+
2017
+ #### Changes
2018
+
2019
+ - [DataGrid] Fix rows not rendering properly after height change (#7376) @cherniavskii
2020
+ - [DataGrid] Fix selected text in cell input not being copied in Firefox (#7330) @cherniavskii
2021
+ - [DataGridPremium] Export row grouping column menu components (#7308) @cherniavskii
2022
+
2023
+ ### `@mui/x-date-pickers@v5.0.13` / `@mui/x-date-pickers-pro@v5.0.13`
2024
+
2025
+ #### Changes
2026
+
2027
+ - [pickers] Fix the product license reference name (#7367)
2028
+
2029
+ ### Docs
2030
+
2031
+ - [docs] Redirect translated pages (#7370) @cherniavskii
2032
+
2033
+ ### Core
2034
+
2035
+ - [core] Fix release date (#7314) @DanailH
2036
+ - [core] Fix the product license reference name (#7367) @oliviertassinari
2037
+ - [core] Upgrade monorepo (#7344) @cherniavskii
2038
+
2039
+ ## 5.17.17
2040
+
2041
+ _Dec 24, 2022_
2042
+
2043
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
2044
+
2045
+ - 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
2046
+ - 🐞 Bugfixes
2047
+
2048
+ ### `@mui/x-data-grid@v5.17.17` / `@mui/x-data-grid-pro@v5.17.17` / `@mui/x-data-grid-premium@v5.17.17`
2049
+
2050
+ #### Changes
2051
+
2052
+ - [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
2053
+ - [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
2054
+ - [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
2055
+
2056
+ ### `@mui/x-date-pickers@v5.0.12` / `@mui/x-date-pickers-pro@v5.0.12`
2057
+
2058
+ #### Changes
2059
+
2060
+ - [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
2061
+
2062
+ ## 5.17.16
2063
+
2064
+ _Dec 16, 2022_
2065
+
2066
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
2067
+
2068
+ - 🐞 Bugfixes
2069
+
2070
+ ### `@mui/x-data-grid@v5.17.16` / `@mui/x-data-grid-pro@v5.17.16` / `@mui/x-data-grid-premium@v5.17.16`
2071
+
2072
+ #### Changes
2073
+
2074
+ - [DataGrid] Display sort column menu items as per `sortingOrder` prop (#7125) @hanbin9775
2075
+ - [DataGrid] Fix flickering on mount (#7155) @cherniavskii
2076
+ - [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7174) @m4theushw
2077
+
2078
+ ### `@mui/x-date-pickers@v5.0.11` / `@mui/x-date-pickers-pro@v5.0.11`
2079
+
2080
+ #### Changes
2081
+
2082
+ - [DateTimePicker] Update export pattern (#7172) @kealjones-wk
2083
+
2084
+ ### Docs
2085
+
2086
+ - [docs] Document aggregation selectors (#7151) @cherniavskii
2087
+
2088
+ ## 5.17.15
2089
+
2090
+ _Dec 8, 2022_
2091
+
2092
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
2093
+
2094
+ - ✨ Fix lazy-loading not working in `DataGridPremium` (#7130) @m4theushw
2095
+ - 🐞 Bugfixes
2096
+
2097
+ ### `@mui/x-data-grid@v5.17.15` / `@mui/x-data-grid-pro@v5.17.15` / `@mui/x-data-grid-premium@v5.17.15`
2098
+
2099
+ #### Changes
2100
+
2101
+ - [DataGridPremium] Add support for lazy-loading (#7130) @m4theushw
2102
+ - [DataGridPremium] Pass `groupId` to the aggregation function (#7143) @m4theushw
2103
+
2104
+ ### `@mui/x-date-pickers@v5.0.10` / `@mui/x-date-pickers-pro@v5.0.10`
2105
+
2106
+ #### Changes
2107
+
2108
+ - [pickers] Initialize date without time when selecting year or month (#7136) @LukasTy
2109
+
2110
+ ### Docs
2111
+
2112
+ - [docs] Fix the nested import on the api pages (#7134) @flaviendelangle
2113
+ - [docs] Keep track of the localization completion (#7099) @alexfauquette
2114
+ - [docs] Update localization doc to use existing locale (#7104) @LukasTy
2115
+
2116
+ ## 5.17.14
2117
+
2118
+ _Dec 1, 2022_
2119
+
2120
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
2121
+
2122
+ - 🌍 Improve Ukrainian (uk-UA) locale (#7035) @rettoua
2123
+ - 🐞 Bugfixes
2124
+
2125
+ ### `@mui/x-data-grid@v5.17.14` / `@mui/x-data-grid-pro@v5.17.14` / `@mui/x-data-grid-premium@v5.17.14`
2126
+
2127
+ #### Changes
2128
+
2129
+ - [DataGrid] Fix row selection when clicking blank cell (#7056) @yami03
2130
+ - [DataGridPremium] Update cache before hydrating columns (#7043) @m4theushw
2131
+ - [l10n] Improve Ukrainian (uk-UA) locale (#7035) @rettoua
2132
+
1099
2133
  ## 5.17.13
1100
2134
 
1101
2135
  _Nov 24, 2022_