@mui/x-data-grid-premium 6.0.0-alpha.8 → 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 (243) hide show
  1. package/CHANGELOG.md +1163 -15
  2. package/DataGridPremium/DataGrid.js +1 -3
  3. package/DataGridPremium/DataGridPremium.js +53 -237
  4. package/DataGridPremium/useDataGridPremiumComponent.js +10 -5
  5. package/DataGridPremium/useDataGridPremiumProps.js +6 -6
  6. package/components/GridAggregationHeader.js +2 -10
  7. package/components/GridColumnMenuAggregationItem.d.ts +7 -0
  8. package/components/GridColumnMenuAggregationItem.js +110 -0
  9. package/components/GridColumnMenuRowGroupItem.d.ts +7 -0
  10. package/components/{GridRowGroupingColumnMenuItems.js → GridColumnMenuRowGroupItem.js} +23 -23
  11. package/components/GridColumnMenuRowUngroupItem.d.ts +7 -0
  12. package/components/GridColumnMenuRowUngroupItem.js +65 -0
  13. package/components/GridExcelExportMenuItem.d.ts +1 -1
  14. package/components/GridExcelExportMenuItem.js +4 -8
  15. package/components/GridFooterCell.js +4 -8
  16. package/components/GridGroupingColumnFooterCell.js +0 -4
  17. package/components/GridGroupingColumnLeafCell.js +0 -3
  18. package/components/GridGroupingCriteriaCell.js +21 -10
  19. package/components/GridPremiumColumnMenu.d.ts +34 -0
  20. package/components/GridPremiumColumnMenu.js +51 -0
  21. package/components/icons.d.ts +9 -0
  22. package/components/icons.js +14 -0
  23. package/components/index.d.ts +3 -0
  24. package/components/index.js +4 -1
  25. package/components/reexports.d.ts +1 -0
  26. package/components/reexports.js +1 -0
  27. package/constants/dataGridPremiumDefaultSlotsComponents.d.ts +3 -0
  28. package/constants/dataGridPremiumDefaultSlotsComponents.js +12 -0
  29. package/hooks/features/aggregation/createAggregationLookup.js +6 -18
  30. package/hooks/features/aggregation/gridAggregationFunctions.js +0 -13
  31. package/hooks/features/aggregation/gridAggregationInterfaces.d.ts +7 -5
  32. package/hooks/features/aggregation/gridAggregationSelectors.d.ts +9 -0
  33. package/hooks/features/aggregation/gridAggregationSelectors.js +11 -0
  34. package/hooks/features/aggregation/gridAggregationUtils.d.ts +4 -4
  35. package/hooks/features/aggregation/gridAggregationUtils.js +9 -31
  36. package/hooks/features/aggregation/useGridAggregation.js +8 -8
  37. package/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +1 -1
  38. package/hooks/features/aggregation/useGridAggregationPreProcessors.js +14 -41
  39. package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +8 -8
  40. package/hooks/features/aggregation/wrapColumnWithAggregation.js +6 -52
  41. package/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +40 -0
  42. package/hooks/features/cellSelection/gridCellSelectionInterfaces.js +1 -0
  43. package/hooks/features/cellSelection/gridCellSelectionSelector.d.ts +2 -0
  44. package/hooks/features/cellSelection/gridCellSelectionSelector.js +1 -0
  45. package/hooks/features/cellSelection/index.d.ts +1 -0
  46. package/hooks/features/cellSelection/index.js +1 -0
  47. package/hooks/features/cellSelection/useGridCellSelection.d.ts +6 -0
  48. package/hooks/features/cellSelection/useGridCellSelection.js +323 -0
  49. package/hooks/features/export/gridExcelExportInterface.d.ts +2 -2
  50. package/hooks/features/export/serializer/excelSerializer.d.ts +2 -1
  51. package/hooks/features/export/serializer/excelSerializer.js +28 -63
  52. package/hooks/features/export/useGridExcelExport.js +2 -7
  53. package/hooks/features/index.d.ts +1 -0
  54. package/hooks/features/index.js +2 -1
  55. package/hooks/features/rowGrouping/createGroupingColDef.d.ts +2 -2
  56. package/hooks/features/rowGrouping/createGroupingColDef.js +38 -80
  57. package/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts +2 -2
  58. package/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts +0 -1
  59. package/hooks/features/rowGrouping/gridRowGroupingSelector.js +1 -1
  60. package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +1 -1
  61. package/hooks/features/rowGrouping/gridRowGroupingUtils.js +5 -34
  62. package/hooks/features/rowGrouping/index.d.ts +1 -1
  63. package/hooks/features/rowGrouping/index.js +1 -1
  64. package/hooks/features/rowGrouping/useGridRowGrouping.d.ts +1 -1
  65. package/hooks/features/rowGrouping/useGridRowGrouping.js +22 -62
  66. package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +8 -15
  67. package/hooks/utils/useKeepGroupedColumnsHidden.js +1 -6
  68. package/index.d.ts +1 -0
  69. package/index.js +6 -3
  70. package/legacy/DataGridPremium/DataGrid.js +1 -3
  71. package/legacy/DataGridPremium/DataGridPremium.js +53 -237
  72. package/legacy/DataGridPremium/useDataGridPremiumComponent.js +10 -5
  73. package/legacy/DataGridPremium/useDataGridPremiumProps.js +8 -9
  74. package/legacy/components/GridAggregationHeader.js +4 -14
  75. package/legacy/components/GridColumnMenuAggregationItem.js +114 -0
  76. package/legacy/components/{GridRowGroupingColumnMenuItems.js → GridColumnMenuRowGroupItem.js} +24 -24
  77. package/legacy/components/GridColumnMenuRowUngroupItem.js +63 -0
  78. package/legacy/components/GridExcelExportMenuItem.js +2 -6
  79. package/legacy/components/GridFooterCell.js +14 -18
  80. package/legacy/components/GridGroupingColumnFooterCell.js +0 -4
  81. package/legacy/components/GridGroupingColumnLeafCell.js +0 -3
  82. package/legacy/components/GridGroupingCriteriaCell.js +25 -14
  83. package/legacy/components/GridPremiumColumnMenu.js +49 -0
  84. package/legacy/components/icons.js +14 -0
  85. package/legacy/components/index.js +4 -1
  86. package/legacy/components/reexports.js +1 -0
  87. package/legacy/constants/dataGridPremiumDefaultSlotsComponents.js +12 -0
  88. package/legacy/hooks/features/aggregation/createAggregationLookup.js +18 -30
  89. package/legacy/hooks/features/aggregation/gridAggregationFunctions.js +0 -15
  90. package/legacy/hooks/features/aggregation/gridAggregationSelectors.js +11 -0
  91. package/legacy/hooks/features/aggregation/gridAggregationUtils.js +19 -45
  92. package/legacy/hooks/features/aggregation/useGridAggregation.js +10 -10
  93. package/legacy/hooks/features/aggregation/useGridAggregationPreProcessors.js +14 -41
  94. package/legacy/hooks/features/aggregation/wrapColumnWithAggregation.js +19 -72
  95. package/legacy/hooks/features/cellSelection/gridCellSelectionInterfaces.js +1 -0
  96. package/legacy/hooks/features/cellSelection/gridCellSelectionSelector.js +3 -0
  97. package/legacy/hooks/features/cellSelection/index.js +1 -0
  98. package/legacy/hooks/features/cellSelection/useGridCellSelection.js +312 -0
  99. package/legacy/hooks/features/export/serializer/excelSerializer.js +36 -89
  100. package/legacy/hooks/features/export/useGridExcelExport.js +2 -12
  101. package/legacy/hooks/features/index.js +2 -1
  102. package/legacy/hooks/features/rowGrouping/createGroupingColDef.js +38 -82
  103. package/legacy/hooks/features/rowGrouping/gridRowGroupingSelector.js +1 -1
  104. package/legacy/hooks/features/rowGrouping/gridRowGroupingUtils.js +11 -43
  105. package/legacy/hooks/features/rowGrouping/index.js +1 -1
  106. package/legacy/hooks/features/rowGrouping/useGridRowGrouping.js +22 -65
  107. package/legacy/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +8 -15
  108. package/legacy/hooks/utils/useKeepGroupedColumnsHidden.js +1 -6
  109. package/legacy/index.js +6 -3
  110. package/legacy/models/gridPremiumIconSlotsComponent.js +1 -0
  111. package/legacy/models/gridPremiumSlotsComponent.js +1 -0
  112. package/legacy/models/index.js +3 -1
  113. package/legacy/themeAugmentation/index.js +2 -1
  114. package/legacy/typeOverloads/reexports.js +1 -0
  115. package/legacy/utils/releaseInfo.js +1 -3
  116. package/models/dataGridPremiumProps.d.ts +31 -5
  117. package/models/gridApiPremium.d.ts +3 -2
  118. package/models/gridGroupingValueGetterParams.d.ts +3 -3
  119. package/models/gridPremiumIconSlotsComponent.d.ts +18 -0
  120. package/models/gridPremiumIconSlotsComponent.js +1 -0
  121. package/models/gridPremiumSlotsComponent.d.ts +8 -0
  122. package/models/gridPremiumSlotsComponent.js +1 -0
  123. package/models/gridStatePremium.d.ts +3 -1
  124. package/models/index.d.ts +2 -0
  125. package/models/index.js +3 -1
  126. package/modern/DataGridPremium/DataGrid.js +1 -3
  127. package/modern/DataGridPremium/DataGridPremium.js +53 -237
  128. package/modern/DataGridPremium/useDataGridPremiumComponent.js +10 -5
  129. package/modern/DataGridPremium/useDataGridPremiumProps.js +6 -6
  130. package/modern/components/GridAggregationHeader.js +2 -9
  131. package/modern/components/GridColumnMenuAggregationItem.js +109 -0
  132. package/modern/components/{GridRowGroupingColumnMenuItems.js → GridColumnMenuRowGroupItem.js} +23 -22
  133. package/modern/components/GridColumnMenuRowUngroupItem.js +64 -0
  134. package/modern/components/GridExcelExportMenuItem.js +4 -8
  135. package/modern/components/GridFooterCell.js +4 -8
  136. package/modern/components/GridGroupingColumnFooterCell.js +0 -4
  137. package/modern/components/GridGroupingColumnLeafCell.js +0 -2
  138. package/modern/components/GridGroupingCriteriaCell.js +21 -9
  139. package/modern/components/GridPremiumColumnMenu.js +51 -0
  140. package/modern/components/icons.js +14 -0
  141. package/modern/components/index.js +4 -1
  142. package/modern/components/reexports.js +1 -0
  143. package/modern/constants/dataGridPremiumDefaultSlotsComponents.js +12 -0
  144. package/modern/hooks/features/aggregation/createAggregationLookup.js +6 -18
  145. package/modern/hooks/features/aggregation/gridAggregationFunctions.js +0 -13
  146. package/modern/hooks/features/aggregation/gridAggregationSelectors.js +11 -0
  147. package/modern/hooks/features/aggregation/gridAggregationUtils.js +9 -31
  148. package/modern/hooks/features/aggregation/useGridAggregation.js +8 -7
  149. package/modern/hooks/features/aggregation/useGridAggregationPreProcessors.js +14 -40
  150. package/modern/hooks/features/aggregation/wrapColumnWithAggregation.js +6 -49
  151. package/modern/hooks/features/cellSelection/gridCellSelectionInterfaces.js +1 -0
  152. package/modern/hooks/features/cellSelection/gridCellSelectionSelector.js +1 -0
  153. package/modern/hooks/features/cellSelection/index.js +1 -0
  154. package/modern/hooks/features/cellSelection/useGridCellSelection.js +318 -0
  155. package/modern/hooks/features/export/serializer/excelSerializer.js +20 -60
  156. package/modern/hooks/features/export/useGridExcelExport.js +2 -5
  157. package/modern/hooks/features/index.js +2 -1
  158. package/modern/hooks/features/rowGrouping/createGroupingColDef.js +38 -73
  159. package/modern/hooks/features/rowGrouping/gridRowGroupingSelector.js +1 -1
  160. package/modern/hooks/features/rowGrouping/gridRowGroupingUtils.js +5 -33
  161. package/modern/hooks/features/rowGrouping/index.js +1 -1
  162. package/modern/hooks/features/rowGrouping/useGridRowGrouping.js +22 -58
  163. package/modern/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +8 -15
  164. package/modern/hooks/utils/useKeepGroupedColumnsHidden.js +1 -4
  165. package/modern/index.js +6 -3
  166. package/modern/models/gridPremiumIconSlotsComponent.js +1 -0
  167. package/modern/models/gridPremiumSlotsComponent.js +1 -0
  168. package/modern/models/index.js +3 -1
  169. package/modern/themeAugmentation/index.js +2 -1
  170. package/modern/typeOverloads/reexports.js +1 -0
  171. package/modern/utils/releaseInfo.js +1 -3
  172. package/node/DataGridPremium/DataGrid.js +1 -5
  173. package/node/DataGridPremium/DataGridPremium.js +52 -250
  174. package/node/DataGridPremium/index.js +0 -5
  175. package/node/DataGridPremium/useDataGridPremiumComponent.js +10 -12
  176. package/node/DataGridPremium/useDataGridPremiumProps.js +4 -15
  177. package/node/components/GridAggregationHeader.js +2 -23
  178. package/node/components/{GridAggregationColumnMenuItem.js → GridColumnMenuAggregationItem.js} +67 -69
  179. package/node/components/{GridRowGroupingColumnMenuItems.js → GridColumnMenuRowGroupItem.js} +23 -36
  180. package/node/components/{GridRowGroupableColumnMenuItems.js → GridColumnMenuRowUngroupItem.js} +33 -43
  181. package/node/components/GridExcelExportMenuItem.js +5 -18
  182. package/node/components/GridFooterCell.js +4 -20
  183. package/node/components/GridGroupingColumnFooterCell.js +0 -11
  184. package/node/components/GridGroupingColumnLeafCell.js +1 -11
  185. package/node/components/GridGroupingCriteriaCell.js +22 -23
  186. package/node/components/GridPremiumColumnMenu.js +64 -0
  187. package/node/components/icons.js +25 -0
  188. package/node/components/index.js +36 -3
  189. package/node/components/reexports.js +24 -0
  190. package/node/constants/dataGridPremiumDefaultSlotsComponents.js +21 -0
  191. package/node/hooks/features/aggregation/createAggregationLookup.js +6 -22
  192. package/node/hooks/features/aggregation/gridAggregationFunctions.js +0 -15
  193. package/node/hooks/features/aggregation/gridAggregationSelectors.js +10 -2
  194. package/node/hooks/features/aggregation/gridAggregationUtils.js +13 -56
  195. package/node/hooks/features/aggregation/index.js +0 -7
  196. package/node/hooks/features/aggregation/useGridAggregation.js +9 -23
  197. package/node/hooks/features/aggregation/useGridAggregationPreProcessors.js +15 -57
  198. package/node/hooks/features/aggregation/wrapColumnWithAggregation.js +10 -70
  199. package/node/hooks/features/cellSelection/gridCellSelectionInterfaces.js +5 -0
  200. package/node/hooks/features/cellSelection/gridCellSelectionSelector.js +8 -0
  201. package/node/hooks/features/cellSelection/index.js +16 -0
  202. package/node/hooks/features/cellSelection/useGridCellSelection.js +329 -0
  203. package/node/hooks/features/export/index.js +0 -2
  204. package/node/hooks/features/export/serializer/excelSerializer.js +21 -73
  205. package/node/hooks/features/export/useGridExcelExport.js +10 -27
  206. package/node/hooks/features/index.js +11 -6
  207. package/node/hooks/features/rowGrouping/createGroupingColDef.js +68 -134
  208. package/node/hooks/features/rowGrouping/gridRowGroupingSelector.js +1 -6
  209. package/node/hooks/features/rowGrouping/gridRowGroupingUtils.js +8 -64
  210. package/node/hooks/features/rowGrouping/index.js +8 -6
  211. package/node/hooks/features/rowGrouping/useGridRowGrouping.js +26 -86
  212. package/node/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.js +8 -25
  213. package/node/hooks/index.js +0 -4
  214. package/node/hooks/utils/index.js +0 -2
  215. package/node/hooks/utils/useGridApiContext.js +0 -2
  216. package/node/hooks/utils/useGridApiRef.js +0 -2
  217. package/node/hooks/utils/useGridPrivateApiContext.js +0 -2
  218. package/node/hooks/utils/useGridRootProps.js +0 -2
  219. package/node/hooks/utils/useKeepGroupedColumnsHidden.js +8 -21
  220. package/node/index.js +28 -39
  221. package/node/models/gridPremiumIconSlotsComponent.js +5 -0
  222. package/node/models/gridPremiumSlotsComponent.js +5 -0
  223. package/node/models/index.js +22 -2
  224. package/node/themeAugmentation/index.js +0 -4
  225. package/node/typeOverloads/index.js +0 -3
  226. package/node/typeOverloads/reexports.js +0 -3
  227. package/node/utils/releaseInfo.js +1 -6
  228. package/package.json +7 -7
  229. package/themeAugmentation/index.js +2 -1
  230. package/themeAugmentation/props.d.ts +3 -5
  231. package/typeOverloads/modules.d.ts +14 -8
  232. package/typeOverloads/reexports.d.ts +3 -3
  233. package/typeOverloads/reexports.js +1 -0
  234. package/utils/releaseInfo.js +1 -3
  235. package/components/GridAggregationColumnMenuItem.d.ts +0 -9
  236. package/components/GridAggregationColumnMenuItem.js +0 -93
  237. package/components/GridRowGroupableColumnMenuItems.d.ts +0 -11
  238. package/components/GridRowGroupableColumnMenuItems.js +0 -63
  239. package/components/GridRowGroupingColumnMenuItems.d.ts +0 -11
  240. package/legacy/components/GridAggregationColumnMenuItem.js +0 -95
  241. package/legacy/components/GridRowGroupableColumnMenuItems.js +0 -61
  242. package/modern/components/GridAggregationColumnMenuItem.js +0 -93
  243. package/modern/components/GridRowGroupableColumnMenuItems.js +0 -61
package/CHANGELOG.md CHANGED
@@ -3,6 +3,942 @@
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
+
866
+ ## 6.0.0-alpha.9
867
+
868
+ _Nov 24, 2022_
869
+
870
+ We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
871
+
872
+ - 🎁 Introduce the v6 pickers, built on top of the field components [DatePicker](https://next.mui.com/x/react-date-pickers/date-picker/), [TimePicker](https://next.mui.com/x/react-date-pickers/time-picker/), [DateTimePicker](https://next.mui.com/x/react-date-pickers/date-time-picker/), [DateRangePicker](https://next.mui.com/x/react-date-pickers/date-range-picker/).
873
+
874
+ The old (legacy) components will be removed at the end of the v6 beta.
875
+
876
+ - 💅 Add support for `theme.vars` in the pickers and the DataGrid (#6784, #6778) @alexfauquette
877
+ - ✨ Improve DataGrid theme augmentation (#5818) @iigrik
878
+ - 📚 Documentation improvements
879
+ - 🐞 Bugfixes
880
+
881
+ ### `@mui/x-data-grid@v6.0.0-alpha.9` / `@mui/x-data-grid-pro@v6.0.0-alpha.9` / `@mui/x-data-grid-premium@v6.0.0-alpha.9`
882
+
883
+ ### Breaking changes
884
+
885
+ - <kbd>Ctrl</kbd> + <kbd>Enter</kbd> will no longer toggle the master detail panel (#6945) @MBilalShafi
886
+ You can restore the old behavior by listening to `cellKeyDown` and calling `apiRef.current.toggleDetailPanel()`.
887
+
888
+ - Remove unnecessary keyboard navigation events (#6863) @m4theushw
889
+ The `cellNavigationKeyDown` event was removed. Use `cellKeyDown` and check the key provided in the event argument.
890
+ The `columnHeaderNavigationKeyDown` event was removed. Use `columnHeaderKeyDown` and check the key provided in the event argument.
891
+
892
+ - Rename `rowsScroll` event to `scrollPositionChange` (#6957) @DanailH
893
+
894
+ #### Changes
895
+
896
+ - [DataGrid] Add spacing in `GridToolbar` for better visibility (#6904) @MBilalShafi
897
+ - [DataGrid] Improve typing for the theme in `styleOverrides` (#5818) @iigrik
898
+ - [DataGrid] Prevents master detail panel toggle with <kbd>Ctrl</kbd> + <kbd>Enter</kbd> (#6945) @MBilalShafi
899
+ - [DataGrid] Remove unnecessary keyboard navigation events (#6863) @m4theushw
900
+ - [DataGrid] Rename `ErrorOverlay` to `GridErrorOverlay` (#6946) @MBilalShafi
901
+ - [DataGrid] Stop exporting root base state selectors (#6912) @DanailH
902
+ - [DataGrid] Support `theme.vars` (#6784) @alexfauquette
903
+ - [DataGrid] Rename `rowsScroll` event to `scrollPositionChange` (#6957) @DanailH
904
+ - [DataGridPro] Fix lazy-loaded rows not working with `updateRows` API method (#6976) @cherniavskii
905
+ - [DataGridPremium] Improve typing for theme in `styleOverrides` (#6920) @m4theushw
906
+ - [l10n] Fix translation of `filterOperatorBefore` in Arabic (ar-SD) locale (#6884) @HassanGhazy
907
+
908
+ ### `@mui/x-date-pickers@v6.0.0-alpha.9` / `@mui/x-date-pickers-pro@v6.0.0-alpha.9`
909
+
910
+ #### Changes
911
+
912
+ - [DatePicker] Display week number (#6144) @alexfauquette
913
+ - [pickers] Clean `PickersCalendarHeader` slots (#6943) @flaviendelangle
914
+ - [pickers] Do not loose the translations when using nested `LocalizationProvider` with each a `localeText` prop (#6895) @flaviendelangle
915
+ - [pickers] Fix calendar header switch view button hover circle (#6938) @rajendraarora16
916
+ - [pickers] Fix focus management (#6914) @alexfauquette
917
+ - [pickers] Fix usage with Shadow DOM (#6952) @flaviendelangle
918
+ - [pickers] New `MobileDateRangePicker`, `DesktopDateRangePicker`, `DateRangePicker` and `StaticDateRangePicker` based on `MultiInputDateRangeField` (#6888) @flaviendelangle
919
+ - [pickers] Support `theme.vars` (#6778) @alexfauquette
920
+
921
+ ### Docs
922
+
923
+ - [docs] Add new "Expired package version" error type (#6937) @oliviertassinari
924
+ - [docs] Add support for API pages of unstable components (#6981) @flaviendelangle
925
+ - [docs] Create docs for the new date pickers (#6902) @flaviendelangle
926
+ - [docs] Create docs for the new time, date time and date range pickers (#6958) @flaviendelangle
927
+ - [docs] Fix demos live edit (#6975) @oliviertassinari
928
+ - [docs] Fix toggle button bug in demos in Custom Components page (#6913) @01zulfi
929
+ - [docs] Remove partial Portuguese and Chinese translations of the pickers pages (#6893) @flaviendelangle
930
+
931
+ ### Core
932
+
933
+ - [core] Cleanup `describeValidation` (#6942) @flaviendelangle
934
+ - [core] Group renovate GitHub Action dependency updates @oliviertassinari
935
+ - [core] Introduce `x-codemod` package (#6876) @LukasTy
936
+ - [core] Update minimum supported version of Node.js to 14.0.0 (#6966) @cherniavskii
937
+ - [core] Upgrade monorepo (#6905) @cherniavskii
938
+ - [core] Upgrade node to v14.21 (#6916) @piwysocki
939
+ - [core] Upgrade ESLint (#6738) @Janpot
940
+ - [test] Test validation on date range view (#6941) @alexfauquette
941
+
6
942
  ## 6.0.0-alpha.8
7
943
 
8
944
  _Nov 17, 2022_
@@ -304,7 +1240,7 @@ We'd like to offer a big thanks to the 9 contributors who made this release poss
304
1240
  The renamed props are the following:
305
1241
 
306
1242
  | Old name | New name |
307
- |----------------------------|-------------------------------|
1243
+ | -------------------------- | ----------------------------- |
308
1244
  | `selectionModel` | `rowSelectionModel` |
309
1245
  | `onSelectionModelChange` | `onRowSelectionModelChange` |
310
1246
  | `disableSelectionOnClick` | `disableRowSelectionOnClick` |
@@ -425,9 +1361,10 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
425
1361
 
426
1362
  - ⌚️ New components to edit date and time with <kbd>keyboard</kbd>—without using any modal or dropdown UI.
427
1363
  Please check out our [documentation](https://next.mui.com/x/react-date-pickers/fields/) to discover those new components.
1364
+
428
1365
  - [`DateField`](https://next.mui.com/x/react-date-pickers/date-field/) to edit date
429
- - [`TimeField`](https://next.mui.com/x/react-date-pickers/time-field/) to edit time
430
- - [`DateTimeField`](https://next.mui.com/x/react-date-pickers/date-time-field/) to edit date and time
1366
+ - [`TimeField`](https://next.mui.com/x/react-date-pickers/time-field/) to edit time
1367
+ - [`DateTimeField`](https://next.mui.com/x/react-date-pickers/date-time-field/) to edit date and time
431
1368
  - [`MultiInputDateRangeField` / `SingleInputDateRangeField`](https://next.mui.com/x/react-date-pickers/date-range-field/) to edit date range
432
1369
  - [`MultiInputTimeRangeField`](https://next.mui.com/x/react-date-pickers/time-range-field/) to edit time range with two inputs
433
1370
  - [`MultiInputDateTimeRangeField`](https://next.mui.com/x/react-date-pickers/date-time-range-field/) to edit date and time range with two inputs
@@ -788,19 +1725,19 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
788
1725
 
789
1726
  ```tsx
790
1727
  // Date-fns
791
- <DatePicker value={new Date()} />
1728
+ <DatePicker value={new Date()} />;
792
1729
 
793
1730
  // Dayjs
794
- import dayjs from 'dayjs'
795
- <DatePicker value={dayjs()} />
1731
+ import dayjs from 'dayjs';
1732
+ <DatePicker value={dayjs()} />;
796
1733
 
797
1734
  // Moment
798
- import moment from 'moment'
799
- <DatePicker value={moment()} />
1735
+ import moment from 'moment';
1736
+ <DatePicker value={moment()} />;
800
1737
 
801
1738
  // Luxon
802
- import { DateTime } from 'luxon'
803
- <DatePicker value={DateTime.now()} />
1739
+ import { DateTime } from 'luxon';
1740
+ <DatePicker value={DateTime.now()} />;
804
1741
  ```
805
1742
 
806
1743
  #### Changes
@@ -813,7 +1750,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
813
1750
  - [pickers] Allow to control the selected sections (#6209, #6307) @flaviendelangle
814
1751
  - [pickers] Do not loose the value of date sections not present in the format in the new field components (#6141) @flaviendelangle
815
1752
  - [pickers] Do not support unparsed date formats anymore (#6170) @flaviendelangle
816
- - [pickers] Support slots on the `DateField` component (#6048) @flaviendelangle
1753
+ - [pickers] Support slots on the `DateField` component (#6048) @flaviendelangle
817
1754
  - [pickers] Support Luxon v3 in `AdapterLuxon` (#6069) @alexfauquette
818
1755
  - [pickers] New components `TimeField` and `DateTimeField` (#6312) @flaviendelangle
819
1756
  - [pickers] Support basic mobile edition on new field components (#5958) @flaviendelangle
@@ -891,7 +1828,7 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
891
1828
  You can now use the `localText` prop available on all picker components:
892
1829
 
893
1830
  | Removed prop | Property in the new `localText` prop |
894
- |------------------------------|-----------------------------------------------------------------------------------|
1831
+ | ---------------------------- | --------------------------------------------------------------------------------- |
895
1832
  | `endText` | `end` |
896
1833
  | `getClockLabelText` | `clockLabelText` |
897
1834
  | `getHoursClockNumberText` | `hoursClockNumberText` |
@@ -950,7 +1887,7 @@ You can find more information about the new api, including how to set those tran
950
1887
  />
951
1888
  ```
952
1889
 
953
- - The `date` prop has been renamed `value` on `MonthPicker` / `YearPicker`, `ClockPicker` and `CalendarPicker`.
1890
+ - The `date` prop has been renamed `value` on `MonthPicker` / `YearPicker`, `ClockPicker` and `CalendarPicker`.
954
1891
 
955
1892
  ```diff
956
1893
  -<MonthPicker date={dayjs()} onChange={handleMonthChange} />
@@ -982,7 +1919,7 @@ You can find more information about the new api, including how to set those tran
982
1919
  - [pickers] Remove `valueStr` from the field state (#6142) @flaviendelangle
983
1920
  - [pickers] Remove remaining deprecated locale props (#6233) @flaviendelangle
984
1921
  - [pickers] Rename the `date` prop `value` on `MonthPicker` / `YearPicker`, `ClockPicker` and `CalendarPicker` (#6128) @flaviendelangle
985
- - [pickers] Rename the `onClose` prop of `PickersPopper` `onDismiss` to simplify typing (#6155) @flaviendelangle
1922
+ - [pickers] Rename the `onClose` prop of `PickersPopper` `onDismiss` to simplify typing (#6155) @flaviendelangle
986
1923
  - [pickers] Support the `sx` prop on all public component with a root HTML elements (#5944) @flaviendelangle
987
1924
  - [pickers] Unify `PickersMonth` and `PickersYear` behaviors (#6034) @flaviendelangle
988
1925
  - [pickers] Use `shouldDisableMonth` and `shouldDisableYear` for date validation (#6066) @flaviendelangle
@@ -1019,6 +1956,217 @@ You can find more information about the new api, including how to set those tran
1019
1956
  - [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
1020
1957
  - [website] Improve security header @oliviertassinari
1021
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
+
2133
+ ## 5.17.13
2134
+
2135
+ _Nov 24, 2022_
2136
+
2137
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
2138
+
2139
+ - 🚀 Fix support of the pickers to Shadow DOM (#6971) @flaviendelangle
2140
+ - 💅 Improve DataGrid theme augmentation (#6980) @iigrik
2141
+ - 🐞 Bugfixes
2142
+
2143
+ ### `@mui/x-data-grid@v5.17.13` / `@mui/x-data-grid-pro@v5.17.13` / `@mui/x-data-grid-premium@v5.17.13`
2144
+
2145
+ #### Changes
2146
+
2147
+ - [DataGrid] Fix `ErrorOverlay` not receiving defined input props (#6885) @banoth-ravinder
2148
+ - [DataGrid] Improve typing for `styleOverrides` (#6980) @iigrik
2149
+ - [DataGridPro] Fix lazy-loaded rows not working with `updateRows` API method (#6875) @cherniavskii
2150
+ - [l10n] Fix translation of `filterOperatorBefore` in Arabic (ar-SD) locale (#6917) @HassanGhazy
2151
+
2152
+ ### `@mui/x-date-pickers@v5.0.9` / `@mui/x-date-pickers-pro@v5.0.9`
2153
+
2154
+ #### Changes
2155
+
2156
+ - [pickers] Fix usage with Shadow DOM (#6971) @flaviendelangle
2157
+
2158
+ ### Docs
2159
+
2160
+ - [docs] Add new "Expired package version" error type (#6937) @oliviertassinari
2161
+ - [docs] Enforce values for installation options in Date / Time pickers Getting Started page (#6896) @01zulfi
2162
+ - [docs] Fix live edit @oliviertassinari
2163
+ - [docs] Upgrade to Next 13 (#6911) @cherniavskii
2164
+
2165
+ ### Core
2166
+
2167
+ - [core] Upgrade monorepo (#6906) @cherniavskii
2168
+ - [core] Upgrade node to v14.21 (#6939) @piwysocki
2169
+
1022
2170
  ## 5.17.12
1023
2171
 
1024
2172
  _Nov 17, 2022_
@@ -1374,7 +2522,7 @@ We'd like to offer a big thanks to the 3 contributors who made this release poss
1374
2522
 
1375
2523
  _Sep 2, 2022_
1376
2524
 
1377
- 🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages!
2525
+ 🎉 We are excited to finally introduce a stable release (v5.0.0) for the `@mui/x-date-pickers` and `@mui/x-date-pickers-pro` packages!
1378
2526
 
1379
2527
  If you are still using picker components from the `lab`, take a look at the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/).
1380
2528