@mui/x-data-grid 8.0.0-alpha.3 → 8.0.0-alpha.5

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 (176) hide show
  1. package/CHANGELOG.md +377 -0
  2. package/DataGrid/DataGrid.js +7 -11
  3. package/DataGrid/useDataGridProps.js +3 -3
  4. package/README.md +1 -1
  5. package/components/GridRow.js +13 -2
  6. package/components/cell/GridActionsCell.js +8 -1
  7. package/components/cell/GridActionsCellItem.js +4 -6
  8. package/components/cell/GridCell.js +1 -1
  9. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +6 -11
  10. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +6 -11
  11. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +6 -11
  12. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +13 -22
  13. package/components/panel/GridColumnsPanel.js +1 -2
  14. package/components/panel/GridPanelContent.js +7 -3
  15. package/components/panel/GridPanelFooter.d.ts +1 -1
  16. package/components/panel/GridPanelFooter.js +4 -3
  17. package/components/panel/filterPanel/GridFilterForm.js +15 -15
  18. package/components/toolbar/GridToolbarDensitySelector.js +3 -5
  19. package/components/toolbar/GridToolbarFilterButton.d.ts +1 -1
  20. package/components/toolbar/GridToolbarFilterButton.js +3 -0
  21. package/components/toolbar/GridToolbarQuickFilter.js +27 -23
  22. package/components/virtualization/GridMainContainer.js +1 -1
  23. package/constants/dataGridPropsDefaultValues.js +1 -1
  24. package/hooks/core/useGridStateInitialization.js +3 -3
  25. package/hooks/features/columnGrouping/gridColumnGroupsSelector.d.ts +4 -4
  26. package/hooks/features/columnHeaders/useGridColumnHeaders.js +10 -3
  27. package/hooks/features/columnResize/columnResizeSelector.d.ts +1 -1
  28. package/hooks/features/columnResize/gridColumnResizeApi.d.ts +6 -0
  29. package/hooks/features/columnResize/gridColumnResizeApi.js +2 -1
  30. package/hooks/features/columnResize/useGridColumnResize.d.ts +1 -1
  31. package/hooks/features/columnResize/useGridColumnResize.js +9 -4
  32. package/hooks/features/columns/gridColumnsSelector.d.ts +12 -12
  33. package/hooks/features/columns/gridColumnsUtils.d.ts +1 -1
  34. package/hooks/features/columns/gridColumnsUtils.js +2 -1
  35. package/hooks/features/density/densitySelector.d.ts +1 -1
  36. package/hooks/features/filter/gridFilterSelector.d.ts +17 -17
  37. package/hooks/features/filter/useGridFilter.js +1 -1
  38. package/hooks/features/focus/gridFocusStateSelector.d.ts +8 -8
  39. package/hooks/features/headerFiltering/gridHeaderFilteringSelectors.d.ts +3 -3
  40. package/hooks/features/overlays/useGridOverlays.js +3 -1
  41. package/hooks/features/pagination/gridPaginationSelector.d.ts +15 -9
  42. package/hooks/features/rowSelection/gridRowSelectionSelector.d.ts +3 -3
  43. package/hooks/features/rowSelection/useGridRowSelection.js +5 -4
  44. package/hooks/features/rowSelection/utils.d.ts +1 -1
  45. package/hooks/features/rows/gridRowSpanningSelectors.d.ts +3 -3
  46. package/hooks/features/rows/gridRowsSelector.d.ts +23 -12
  47. package/hooks/features/rows/useGridRowSpanning.d.ts +1 -1
  48. package/hooks/features/rows/useGridRowSpanning.js +16 -8
  49. package/hooks/features/rows/useGridRows.js +5 -5
  50. package/hooks/features/sorting/gridSortingSelector.d.ts +10 -5
  51. package/hooks/features/sorting/gridSortingSelector.js +11 -0
  52. package/hooks/features/sorting/index.d.ts +2 -1
  53. package/hooks/features/sorting/index.js +1 -1
  54. package/hooks/features/sorting/useGridSorting.js +1 -1
  55. package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +5 -5
  56. package/hooks/features/virtualization/useGridVirtualScroller.js +11 -8
  57. package/hooks/utils/useGridSelector.d.ts +4 -6
  58. package/hooks/utils/useGridSelector.js +6 -44
  59. package/index.js +1 -1
  60. package/internals/index.d.ts +2 -2
  61. package/internals/index.js +2 -2
  62. package/internals/utils/index.d.ts +0 -1
  63. package/internals/utils/index.js +0 -1
  64. package/locales/koKR.js +45 -49
  65. package/locales/roRO.js +18 -20
  66. package/material/index.js +30 -4
  67. package/models/api/gridStateApi.d.ts +1 -1
  68. package/models/controlStateItem.d.ts +2 -2
  69. package/models/gridBaseSlots.d.ts +21 -0
  70. package/models/gridBaseSlots.js +1 -0
  71. package/models/gridSlotsComponentsProps.d.ts +25 -5
  72. package/models/props/DataGridProps.d.ts +1 -6
  73. package/modern/DataGrid/DataGrid.js +7 -11
  74. package/modern/DataGrid/useDataGridProps.js +3 -3
  75. package/modern/components/GridRow.js +13 -2
  76. package/modern/components/cell/GridActionsCell.js +8 -1
  77. package/modern/components/cell/GridActionsCellItem.js +4 -6
  78. package/modern/components/cell/GridCell.js +1 -1
  79. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +6 -11
  80. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +6 -11
  81. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +6 -11
  82. package/modern/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +13 -22
  83. package/modern/components/panel/GridColumnsPanel.js +1 -2
  84. package/modern/components/panel/GridPanelContent.js +7 -3
  85. package/modern/components/panel/GridPanelFooter.js +4 -3
  86. package/modern/components/panel/filterPanel/GridFilterForm.js +15 -15
  87. package/modern/components/toolbar/GridToolbarDensitySelector.js +3 -5
  88. package/modern/components/toolbar/GridToolbarFilterButton.js +3 -0
  89. package/modern/components/toolbar/GridToolbarQuickFilter.js +27 -23
  90. package/modern/components/virtualization/GridMainContainer.js +1 -1
  91. package/modern/constants/dataGridPropsDefaultValues.js +1 -1
  92. package/modern/hooks/core/useGridStateInitialization.js +3 -3
  93. package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +10 -3
  94. package/modern/hooks/features/columnResize/gridColumnResizeApi.js +2 -1
  95. package/modern/hooks/features/columnResize/useGridColumnResize.js +9 -4
  96. package/modern/hooks/features/columns/gridColumnsUtils.js +2 -1
  97. package/modern/hooks/features/filter/useGridFilter.js +1 -1
  98. package/modern/hooks/features/overlays/useGridOverlays.js +3 -1
  99. package/modern/hooks/features/rowSelection/useGridRowSelection.js +5 -4
  100. package/modern/hooks/features/rows/useGridRowSpanning.js +16 -8
  101. package/modern/hooks/features/rows/useGridRows.js +5 -5
  102. package/modern/hooks/features/sorting/gridSortingSelector.js +11 -0
  103. package/modern/hooks/features/sorting/index.js +1 -1
  104. package/modern/hooks/features/sorting/useGridSorting.js +1 -1
  105. package/modern/hooks/features/virtualization/useGridVirtualScroller.js +11 -8
  106. package/modern/hooks/utils/useGridSelector.js +6 -44
  107. package/modern/index.js +1 -1
  108. package/modern/internals/index.js +2 -2
  109. package/modern/internals/utils/index.js +0 -1
  110. package/modern/locales/koKR.js +45 -49
  111. package/modern/locales/roRO.js +18 -20
  112. package/modern/material/index.js +30 -4
  113. package/modern/models/gridBaseSlots.js +1 -0
  114. package/modern/utils/createSelector.js +1 -120
  115. package/node/DataGrid/DataGrid.js +7 -11
  116. package/node/DataGrid/useDataGridProps.js +2 -2
  117. package/node/components/GridRow.js +13 -2
  118. package/node/components/cell/GridActionsCell.js +8 -1
  119. package/node/components/cell/GridActionsCellItem.js +3 -5
  120. package/node/components/cell/GridCell.js +1 -1
  121. package/node/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +5 -10
  122. package/node/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +5 -10
  123. package/node/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +5 -10
  124. package/node/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +13 -22
  125. package/node/components/panel/GridColumnsPanel.js +1 -2
  126. package/node/components/panel/GridPanelContent.js +7 -3
  127. package/node/components/panel/GridPanelFooter.js +5 -4
  128. package/node/components/panel/filterPanel/GridFilterForm.js +15 -15
  129. package/node/components/toolbar/GridToolbarDensitySelector.js +3 -5
  130. package/node/components/toolbar/GridToolbarFilterButton.js +3 -0
  131. package/node/components/toolbar/GridToolbarQuickFilter.js +27 -23
  132. package/node/components/virtualization/GridMainContainer.js +1 -1
  133. package/node/constants/dataGridPropsDefaultValues.js +1 -1
  134. package/node/hooks/core/useGridStateInitialization.js +3 -3
  135. package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +10 -3
  136. package/node/hooks/features/columnResize/gridColumnResizeApi.js +2 -1
  137. package/node/hooks/features/columnResize/useGridColumnResize.js +9 -4
  138. package/node/hooks/features/columns/gridColumnsUtils.js +2 -1
  139. package/node/hooks/features/filter/useGridFilter.js +1 -1
  140. package/node/hooks/features/overlays/useGridOverlays.js +3 -1
  141. package/node/hooks/features/rowSelection/useGridRowSelection.js +5 -4
  142. package/node/hooks/features/rows/useGridRowSpanning.js +16 -8
  143. package/node/hooks/features/rows/useGridRows.js +5 -5
  144. package/node/hooks/features/sorting/gridSortingSelector.js +12 -1
  145. package/node/hooks/features/sorting/index.js +24 -16
  146. package/node/hooks/features/sorting/useGridSorting.js +1 -1
  147. package/node/hooks/features/virtualization/useGridVirtualScroller.js +11 -8
  148. package/node/hooks/utils/useGridSelector.js +8 -47
  149. package/node/index.js +1 -1
  150. package/node/internals/index.js +8 -22
  151. package/node/internals/utils/index.js +0 -11
  152. package/node/locales/koKR.js +45 -49
  153. package/node/locales/roRO.js +18 -20
  154. package/node/material/index.js +31 -4
  155. package/node/models/gridBaseSlots.js +5 -0
  156. package/node/utils/createSelector.js +4 -125
  157. package/package.json +2 -2
  158. package/utils/createSelector.d.ts +4 -16
  159. package/utils/createSelector.js +1 -120
  160. package/internals/utils/useProps.d.ts +0 -1
  161. package/internals/utils/useProps.js +0 -24
  162. package/joy/icons.d.ts +0 -32
  163. package/joy/icons.js +0 -431
  164. package/joy/index.d.ts +0 -2
  165. package/joy/index.js +0 -2
  166. package/joy/joySlots.d.ts +0 -3
  167. package/joy/joySlots.js +0 -389
  168. package/joy/package.json +0 -6
  169. package/modern/internals/utils/useProps.js +0 -24
  170. package/modern/joy/icons.js +0 -431
  171. package/modern/joy/index.js +0 -2
  172. package/modern/joy/joySlots.js +0 -389
  173. package/node/internals/utils/useProps.js +0 -30
  174. package/node/joy/icons.js +0 -439
  175. package/node/joy/index.js +0 -13
  176. package/node/joy/joySlots.js +0 -397
package/CHANGELOG.md CHANGED
@@ -5,6 +5,236 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.0.0-alpha.5
9
+
10
+ _Dec 19, 2024_
11
+
12
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid
15
+ - 🐞 Bugfixes
16
+
17
+ Special thanks go out to the community contributors who have helped make this release possible:
18
+ @good-jinu, @k-rajat19.
19
+ Following are all team members who have contributed to this release:
20
+ @alexfauquette, @cherniavskii, @flaviendelangle, @KenanYusuf, @LukasTy, @MBilalShafi, @romgrk.
21
+
22
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
23
+
24
+ ### Data Grid
25
+
26
+ #### Breaking changes
27
+
28
+ - Passing additional props (like `data-*`, `aria-*`) directly on the Data Grid component is no longer supported. To pass the props, use `slotProps`.
29
+
30
+ - For `.root` element, use `slotProps.root`.
31
+ - For `.main` element (the one with `role="grid"`), use `slotProps.main`.
32
+
33
+ - `detailPanelExpandedRowIds` and `onDetailPanelExpandedRowIdsChange` props use a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array:
34
+
35
+ ```diff
36
+ -detailPanelExpandedRowIds?: GridRowId[];
37
+ +detailPanelExpandedRowIds?: Set<GridRowId>;
38
+
39
+ -onDetailPanelExpandedRowIdsChange?: (ids: GridRowId[], details: GridCallbackDetails) => void;
40
+ +onDetailPanelExpandedRowIdsChange?: (ids: Set<GridRowId>, details: GridCallbackDetails) => void;
41
+ ```
42
+
43
+ - `apiRef.current.getExpandedDetailPanels` and `apiRef.current.setExpandedDetailPanels` methods receive and return a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
44
+ - `gridDetailPanelExpandedRowIdsSelector` returns a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
45
+ - `gridDetailPanelExpandedRowsHeightCacheSelector` was removed.
46
+
47
+ #### `@mui/x-data-grid@8.0.0-alpha.5`
48
+
49
+ - [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15915) @k-rajat19
50
+ - [DataGrid] Fix autosizing with virtualized columns (#15116) @k-rajat19
51
+ - [DataGrid] Move `<Badge />` to leaf import (#15879) @romgrk
52
+ - [DataGrid] Move `<ListItemText />` and `<ListItemIcon />` to leaf import (#15869) @romgrk
53
+ - [DataGrid] Remove the Joy UI demo (#15913) @romgrk
54
+ - [DataGrid] Update quick filter input variant (#15909) @KenanYusuf
55
+ - [DataGrid] Use `slotProps` to forward props to `.main` and `.root` elements (#15870) @MBilalShafi
56
+ - [l10n] Improve Korean(ko-KR) locale (#15878) @good-jinu
57
+
58
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
59
+
60
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.5`, plus:
61
+
62
+ - [DataGridPro] Use `Set` for `detailPanelExpandedRowIds` (#15835) @cherniavskii
63
+
64
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
65
+
66
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.5`.
67
+
68
+ ### Date and Time Pickers
69
+
70
+ #### Breaking changes
71
+
72
+ - The `<PickersMonth />` component has been moved inside the Month Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#month-calendar).
73
+
74
+ - The `<PickersYear />` component has been moved inside the Year Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#year-calendar).
75
+
76
+ #### `@mui/x-date-pickers@8.0.0-alpha.5`
77
+
78
+ - [pickers] Add verification to disable skipped hours in spring forward DST (#15849) @flaviendelangle
79
+ - [pickers] Remove `PickersMonth` and `PickersYear` from the theme and remove the `div` wrapping each button (#15806) @flaviendelangle
80
+ - [pickers] Use the new `ownerState` object on the `<PickersTextField />` component (#15863) @flaviendelangle
81
+
82
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
83
+
84
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.5`.
85
+
86
+ ### Charts
87
+
88
+ #### `@mui/x-charts@8.0.0-alpha.5`
89
+
90
+ - [charts] Fix `<ScatterChart />` value type if `null` (#15917) @alexfauquette
91
+
92
+ #### `@mui/x-charts-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
93
+
94
+ Same changes as in `@mui/x-charts@8.0.0-alpha.5`.
95
+
96
+ ### Tree View
97
+
98
+ #### `@mui/x-tree-view@8.0.0-alpha.5`
99
+
100
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.4`.
101
+
102
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
103
+
104
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.5`.
105
+
106
+ ### Core
107
+
108
+ - [code-infra] Remove `@mui/material-nextjs` dependency (#15925) @LukasTy
109
+
110
+ ## 8.0.0-alpha.4
111
+
112
+ _Dec 13, 2024_
113
+
114
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
115
+
116
+ - 🌍 Improve Romanian locale on the Data Grid and Pickers
117
+ - 📚 Documentation improvements
118
+ - 🐞 Bugfixes
119
+
120
+ Special thanks go out to the community contributors who have helped make this release possible:
121
+ @k-rajat19, @nusr, @rares985, @zivl.
122
+ Following are all team members who have contributed to this release:
123
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi.
124
+
125
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
126
+
127
+ ### Data Grid
128
+
129
+ #### Breaking changes
130
+
131
+ - The selectors signature has been updated due to the support of arguments in the selectors. Pass `undefined` as `arguments` if the selector doesn't use any arguments.
132
+
133
+ ```diff
134
+ -mySelector(state, instanceId)
135
+ +mySelector(state, arguments, instanceId)
136
+ ```
137
+
138
+ - The `useGridSelector` signature has been updated due to the introduction of arguments parameter in the selectors. Pass `undefined` as `arguments` if the selector doesn't use any arguments.
139
+
140
+ ```diff
141
+ -const output = useGridSelector(apiRef, selector, equals)
142
+ +const output = useGridSelector(apiRef, selector, arguments, equals)
143
+ ```
144
+
145
+ - The default variant for text fields and selects in the filter panel has been changed to `outlined`.
146
+ - The "row spanning" feature is now stable.
147
+ ```diff
148
+ <DataGrid
149
+ - unstable_rowSpanning
150
+ + rowSpanning
151
+ />
152
+ ```
153
+ - Selected row is now deselected when clicked again.
154
+
155
+ #### `@mui/x-data-grid@8.0.0-alpha.4`
156
+
157
+ - [DataGrid] Deselect selected row on click (#15509) @k-rajat19
158
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15335) @nusr
159
+ - [DataGrid] Make row spanning feature stable (#15742) @MBilalShafi
160
+ - [DataGrid] Round dimensions to avoid subpixel rendering error (#15850) @KenanYusuf
161
+ - [DataGrid] Toggle menu on click in `<GridActionsCell />` (#15867) @k-rajat19
162
+ - [DataGrid] Trigger row spanning computation on rows update (#15858) @MBilalShafi
163
+ - [DataGrid] Update filter panel input variant (#15807) @KenanYusuf
164
+ - [DataGrid] Use `columnsManagement` slot (#15817) @k-rajat19
165
+ - [DataGrid] Use new selector signature (#15200) @MBilalShafi
166
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
167
+
168
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
169
+
170
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.4`, plus:
171
+
172
+ - [DataGridPro] Make row reordering work with pagination (#15355) @k-rajat19
173
+
174
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
175
+
176
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.4`, plus:
177
+
178
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15739) @arminmeh
179
+
180
+ ### Date and Time Pickers
181
+
182
+ #### `@mui/x-date-pickers@8.0.0-alpha.4`
183
+
184
+ - [l10n] Improve Romanian (ro-RO) locale (#15745) @rares985
185
+ - [pickers] Clean `usePicker` logic (#15763) @flaviendelangle
186
+ - [pickers] Rename layout `ownerState` property from `isRtl` to `layoutDirection` (#15803) @flaviendelangle
187
+ - [pickers] Use the new `ownerState` in `useClearableField` (#15776) @flaviendelangle
188
+ - [pickers] Use the new `ownerState` in the toolbar components (#15777) @flaviendelangle
189
+ - [pickers] Use the new `ownerState` object for the clock components and the desktop / mobile wrappers (#15669) @flaviendelangle
190
+
191
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
192
+
193
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.4`.
194
+
195
+ ### Charts
196
+
197
+ #### Breaking changes
198
+
199
+ - The default styling of the charts tooltip has been updated.
200
+
201
+ #### `@mui/x-charts@8.0.0-alpha.4`
202
+
203
+ - [charts] Fix hydration missmatch (#15647) @alexfauquette
204
+ - [charts] Fix internal spelling typo (#15805) @zivl
205
+ - [charts] Fix scatter dataset with missing data (#15802) @alexfauquette
206
+ - [charts] HTML Labels (#15813) @JCQuintas
207
+ - [charts] Only access store values by using hooks (#15764) @alexfauquette
208
+ - [charts] Update Tooltip style (#15630) @alexfauquette
209
+
210
+ #### `@mui/x-charts-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
211
+
212
+ Same changes as in `@mui/x-charts@8.0.0-alpha.4`.
213
+
214
+ ### Tree View
215
+
216
+ #### `@mui/x-tree-view@8.0.0-alpha.4`
217
+
218
+ No changes, releasing to keep the versions in sync.
219
+
220
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
221
+
222
+ Releasing to benefit from license package fix (#15814).
223
+
224
+ ### Docs
225
+
226
+ - [docs] Clean Joy and Browser custom field demos (#15707) @flaviendelangle
227
+ - [docs] Fix outdated link to handbook (#15855) @oliviertassinari
228
+ - [docs] Improve Pickers accessible DOM migration section description (#15596) @LukasTy
229
+ - [docs] Use `updateRows` method for list view demos (#15732) @KenanYusuf
230
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15762) @LukasTy
231
+
232
+ ### Core
233
+
234
+ - [code-infra] Add Charts sandbox generation (#15830) @JCQuintas
235
+ - [code-infra] Remove redundant `@type/react-test-renderer` dep (#15766) @LukasTy
236
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15814) @arminmeh
237
+
8
238
  ## 8.0.0-alpha.3
9
239
 
10
240
  _Dec 5, 2024_
@@ -567,6 +797,153 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
567
797
  - [release] v8 preparation (#15054) @michelengelen
568
798
  - [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
569
799
 
800
+ ## 7.23.2
801
+
802
+ _Dec 12, 2024_
803
+
804
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
805
+
806
+ - 🌍 Improve Romanian and Turkish locales on the Data Grid
807
+ - 🌍 Improve Romanian locale on the Pickers
808
+ - 📚 Documentation improvements
809
+ - 🐞 Bugfixes
810
+
811
+ Special thanks go out to the community contributors who have helped make this release possible:
812
+ @ihsanberkozcan, @k-rajat19, @lhilgert9, @nusr, @rares985.
813
+
814
+ Following are all team members who have contributed to this release:
815
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy.
816
+
817
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
818
+
819
+ ### Data Grid
820
+
821
+ #### `@mui/x-data-grid@7.23.2`
822
+
823
+ - [DataGrid] Fix "No rows" displaying when all rows are pinned (#15851) @nusr
824
+ - [DataGrid] Use `columnsManagement` slot (#15821) @k-rajat19
825
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
826
+ - [l10n] Improve Turkish (tr-TR) locale (#15748) @ihsanberkozcan
827
+
828
+ #### `@mui/x-data-grid-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
829
+
830
+ Same changes as in `@mui/x-data-grid@7.23.2`, plus:
831
+
832
+ - [DataGridPro] Make Row reordering work with pagination (#15782) @k-rajat19
833
+
834
+ #### `@mui/x-data-grid-premium@7.23.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
835
+
836
+ Same changes as in `@mui/x-data-grid-pro@7.23.2`, plus:
837
+
838
+ - [DataGridPremium] Fix group column ignoring `valueOptions` for `singleSelect` column type (#15754) @arminmeh
839
+
840
+ ### Date and Time Pickers
841
+
842
+ #### `@mui/x-date-pickers@7.23.2`
843
+
844
+ - [l10n] Improve Romanian (ro-RO) locale (#15751) @rares985
845
+
846
+ #### `@mui/x-date-pickers-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
847
+
848
+ Same changes as in `@mui/x-date-pickers@7.23.2`.
849
+
850
+ ### Charts
851
+
852
+ #### `@mui/x-charts@7.23.2`
853
+
854
+ - [charts] Fix key generation for the ChartsGrid (#15864) @alexfauquette
855
+ - [charts] Fix scatter dataset with missing data (#15804) @alexfauquette
856
+
857
+ #### `@mui/x-charts-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
858
+
859
+ Same changes as in `@mui/x-charts@7.23.2`.
860
+
861
+ #### `@mui/x-tree-view@v7.23.2`
862
+
863
+ No changes, releasing to keep the versions in sync.
864
+
865
+ #### `@mui/x-tree-view-pro@7.23.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
866
+
867
+ Releasing to benefit from license package fix (#15818).
868
+
869
+ ### Docs
870
+
871
+ - [docs] Fix typo in charts axis documentation (#15746) @JCQuintas
872
+ - [docs] Improve Pickers accessible DOM structure description (#15752) @LukasTy
873
+ - [docs] Use `updateRows` method for list view demos (#15824) @KenanYusuf
874
+ - [docs] Use date library version from package dev dependencies for sandboxes (#15767) @LukasTy
875
+
876
+ ### Core
877
+
878
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
879
+ - [license] Use `console.log` for the error message on Codesandbox to avoid rendering error (#15818) @arminmeh
880
+
881
+ ## 7.23.1
882
+
883
+ _Dec 5, 2024_
884
+
885
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
886
+
887
+ - 🌍 Improve German locale on the Data Grid component
888
+ - 🐞 Bugfixes
889
+
890
+ Special thanks go out to the community contributors who have helped make this release possible:
891
+ @lhilgert9.
892
+
893
+ Following are all team members who have contributed to this release:
894
+ @arthurbalduini, @cherniavskii, @flaviendelangle, @JCQuintas, @LukasTy and @MBilalShafi.
895
+
896
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
897
+
898
+ ### Data Grid
899
+
900
+ #### `@mui/x-data-grid@7.23.1`
901
+
902
+ - [DataGrid] Make column autosizing work with flex columns (#15712) @cherniavskii
903
+ - [l10n] Improve German (de-DE) locale (#15641) @lhilgert9
904
+
905
+ #### `@mui/x-data-grid-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
906
+
907
+ Same changes as in `@mui/x-data-grid@7.23.1`, plus:
908
+
909
+ - [DataGridPro] Cleanup pinned rows on removal (#15702) @cherniavskii
910
+
911
+ #### `@mui/x-data-grid-premium@7.23.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
912
+
913
+ Same changes as in `@mui/x-data-grid-pro@7.23.1`.
914
+
915
+ ### Date and Time Pickers
916
+
917
+ #### `@mui/x-date-pickers@7.23.1`
918
+
919
+ - [TimePicker] Prevent mouse events after `touchend` event (#15430) @arthurbalduini
920
+
921
+ #### `@mui/x-date-pickers-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
922
+
923
+ Same changes as in `@mui/x-date-pickers@7.23.1`.
924
+
925
+ ### Charts
926
+
927
+ #### `@mui/x-charts@7.23.1`
928
+
929
+ - [charts] Improve SVG `pattern` and `gradient` support (#15724) @JCQuintas
930
+
931
+ #### `@mui/x-charts-pro@7.23.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
932
+
933
+ Same changes as in `@mui/x-charts@7.23.1`.
934
+
935
+ ### Docs
936
+
937
+ - [docs] Fix Pickers theme augmentation example (#15675) @LukasTy
938
+ - [docs] Remove duplicated warning (#15715) @cherniavskii
939
+ - [test] Force hover in headless Chrome (#15711) @cherniavskii
940
+ - [docs-infra] Bump `@mui/internal-markdown` to support nested demo imports (#15738) @alexfauquette
941
+ - [docs] Improve SEO titles for the Data Grid (#15695) @MBilalShafi
942
+
943
+ ### Core
944
+
945
+ - [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
946
+
570
947
  ## 7.23.0
571
948
 
572
949
  _Nov 29, 2024_
@@ -38,7 +38,7 @@ const DataGridRaw = /*#__PURE__*/React.forwardRef(function DataGrid(inProps, ref
38
38
  style: props.style,
39
39
  sx: props.sx,
40
40
  ref: ref
41
- }, props.forwardedProps, {
41
+ }, props.slotProps?.root, {
42
42
  children: [/*#__PURE__*/_jsx(GridHeader, {}), /*#__PURE__*/_jsx(GridBody, {}), /*#__PURE__*/_jsx(GridFooterPlaceholder, {})]
43
43
  }))
44
44
  });
@@ -95,6 +95,7 @@ DataGridRaw.propTypes = {
95
95
  */
96
96
  autosizeOptions: PropTypes.shape({
97
97
  columns: PropTypes.arrayOf(PropTypes.string),
98
+ disableColumnVirtualization: PropTypes.bool,
98
99
  expand: PropTypes.bool,
99
100
  includeHeaders: PropTypes.bool,
100
101
  includeOutliers: PropTypes.bool,
@@ -248,11 +249,6 @@ DataGridRaw.propTypes = {
248
249
  quickFilterLogicOperator: PropTypes.oneOf(['and', 'or']),
249
250
  quickFilterValues: PropTypes.array
250
251
  }),
251
- /**
252
- * Forwarded props for the Data Grid root element.
253
- * @ignore - do not document.
254
- */
255
- forwardedProps: PropTypes.object,
256
252
  /**
257
253
  * Function that applies CSS classes dynamically on cells.
258
254
  * @param {GridCellParams} params With all properties from [[GridCellParams]].
@@ -701,6 +697,11 @@ DataGridRaw.propTypes = {
701
697
  * @default "margin"
702
698
  */
703
699
  rowSpacingType: PropTypes.oneOf(['border', 'margin']),
700
+ /**
701
+ * If `true`, the Data Grid will auto span the cells over the rows having the same value.
702
+ * @default false
703
+ */
704
+ rowSpanning: PropTypes.bool,
704
705
  /**
705
706
  * Override the height/width of the Data Grid inner scrollbar.
706
707
  */
@@ -746,11 +747,6 @@ DataGridRaw.propTypes = {
746
747
  * The system prop that allows defining system overrides as well as additional CSS styles.
747
748
  */
748
749
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
749
- /**
750
- * If `true`, the Data Grid will auto span the cells over the rows having the same value.
751
- * @default false
752
- */
753
- unstable_rowSpanning: PropTypes.bool,
754
750
  /**
755
751
  * If `true`, the Data Grid enables column virtualization when `getRowHeight` is set to `() => 'auto'`.
756
752
  * By default, column virtualization is disabled when dynamic row height is enabled to measure the row height correctly.
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { useThemeProps } from '@mui/material/styles';
4
4
  import { GRID_DEFAULT_LOCALE_TEXT } from "../constants/index.js";
5
5
  import { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
6
- import { computeSlots, useProps } from "../internals/utils/index.js";
6
+ import { computeSlots } from "../internals/utils/index.js";
7
7
  import { DATA_GRID_PROPS_DEFAULT_VALUES } from "../constants/dataGridPropsDefaultValues.js";
8
8
  const DATA_GRID_FORCED_PROPS = {
9
9
  disableMultipleColumnsFiltering: true,
@@ -19,12 +19,12 @@ const DATA_GRID_FORCED_PROPS = {
19
19
  };
20
20
  const defaultSlots = DATA_GRID_DEFAULT_SLOTS_COMPONENTS;
21
21
  export const useDataGridProps = inProps => {
22
- const themedProps = useProps(
22
+ const themedProps =
23
23
  // eslint-disable-next-line material-ui/mui-name-matches-component-name
24
24
  useThemeProps({
25
25
  props: inProps,
26
26
  name: 'MuiDataGrid'
27
- }));
27
+ });
28
28
  const localeText = React.useMemo(() => _extends({}, GRID_DEFAULT_LOCALE_TEXT, themedProps.localeText), [themedProps.localeText]);
29
29
  const slots = React.useMemo(() => computeSlots({
30
30
  defaultSlots,
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # MUI X Data Grid
2
2
 
3
3
  This package is the Community plan edition of the Data Grid components.
4
- It's part of [MUI X](https://mui.com/x/), an open-core extension of MUI Core, with advanced components.
4
+ It's part of [MUI X](https://mui.com/x/), an open-core extension of our Core libraries, with advanced components.
5
5
 
6
6
  ## Installation
7
7
 
@@ -25,6 +25,7 @@ import { GridScrollbarFillerCell as ScrollbarFiller } from "./GridScrollbarFille
25
25
  import { getPinnedCellOffset } from "../internals/utils/getPinnedCellOffset.js";
26
26
  import { useGridConfiguration } from "../hooks/utils/useGridConfiguration.js";
27
27
  import { useGridPrivateApiContext } from "../hooks/utils/useGridPrivateApiContext.js";
28
+ import { gridVirtualizationColumnEnabledSelector } from "../hooks/index.js";
28
29
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
30
  const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
30
31
  const {
@@ -68,6 +69,7 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
68
69
  const gridHasFiller = dimensions.columnsTotalWidth < dimensions.viewportOuterSize.width;
69
70
  const editing = apiRef.current.getRowMode(rowId) === GridRowModes.Edit;
70
71
  const editable = rootProps.editMode === GridEditModes.Row;
72
+ const hasColumnVirtualization = useGridSelector(apiRef, gridVirtualizationColumnEnabledSelector);
71
73
  const hasFocusCell = focusedColumnIndex !== undefined;
72
74
  const hasVirtualFocusCellLeft = hasFocusCell && focusedColumnIndex >= pinnedColumns.left.length && focusedColumnIndex < renderContext.firstColumnIndex;
73
75
  const hasVirtualFocusCellRight = hasFocusCell && focusedColumnIndex < visibleColumns.length - pinnedColumns.right.length && focusedColumnIndex >= renderContext.lastColumnIndex;
@@ -144,7 +146,7 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
144
146
  disableColumnReorder
145
147
  } = rootProps;
146
148
  const rowReordering = rootProps.rowReordering;
147
- const heightEntry = useGridSelector(apiRef, () => _extends({}, apiRef.current.getRowHeightEntry(rowId)), objectShallowCompare);
149
+ const heightEntry = useGridSelector(apiRef, () => _extends({}, apiRef.current.getRowHeightEntry(rowId)), undefined, objectShallowCompare);
148
150
  const style = React.useMemo(() => {
149
151
  if (isNotVisible) {
150
152
  return {
@@ -249,7 +251,16 @@ const GridRow = /*#__PURE__*/React.forwardRef(function GridRow(props, refProp) {
249
251
  if (hasVirtualFocusCellLeft) {
250
252
  cells.push(getCell(visibleColumns[focusedColumnIndex], focusedColumnIndex - pinnedColumns.left.length, focusedColumnIndex, middleColumnsLength, PinnedPosition.VIRTUAL));
251
253
  }
252
- for (let i = renderContext.firstColumnIndex; i < renderContext.lastColumnIndex; i += 1) {
254
+ let firstColumnIndex;
255
+ let lastColumnIndex;
256
+ if (!rootProps.disableVirtualization && !hasColumnVirtualization) {
257
+ firstColumnIndex = 0;
258
+ lastColumnIndex = visibleColumns.length;
259
+ } else {
260
+ firstColumnIndex = renderContext.firstColumnIndex;
261
+ lastColumnIndex = renderContext.lastColumnIndex;
262
+ }
263
+ for (let i = firstColumnIndex; i < lastColumnIndex; i += 1) {
253
264
  const column = visibleColumns[i];
254
265
  const indexInSection = i - pinnedColumns.left.length;
255
266
  if (!column) {
@@ -89,6 +89,13 @@ function GridActionsCell(props) {
89
89
  const hideMenu = () => {
90
90
  setOpen(false);
91
91
  };
92
+ const toggleMenu = () => {
93
+ if (open) {
94
+ hideMenu();
95
+ } else {
96
+ showMenu();
97
+ }
98
+ };
92
99
  const handleTouchRippleRef = index => instance => {
93
100
  touchRippleRefs.current[index] = instance;
94
101
  };
@@ -159,7 +166,7 @@ function GridActionsCell(props) {
159
166
  "aria-controls": open ? menuId : undefined,
160
167
  role: "menuitem",
161
168
  size: "small",
162
- onClick: showMenu,
169
+ onClick: toggleMenu,
163
170
  touchRippleRef: handleTouchRippleRef(buttonId),
164
171
  tabIndex: focusedButtonIndex === iconButtons.length ? tabIndex : -1
165
172
  }, rootProps.slotProps?.baseIconButton, {
@@ -4,9 +4,8 @@ const _excluded = ["label", "icon", "showInMenu", "onClick"],
4
4
  _excluded2 = ["label", "icon", "showInMenu", "onClick", "closeMenuOnClick", "closeMenu"];
5
5
  import * as React from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import ListItemIcon from '@mui/material/ListItemIcon';
8
7
  import { useGridRootProps } from "../../hooks/utils/useGridRootProps.js";
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
10
9
  const GridActionsCellItem = /*#__PURE__*/React.forwardRef((props, ref) => {
11
10
  const rootProps = useGridRootProps();
12
11
  if (!props.showInMenu) {
@@ -46,13 +45,12 @@ const GridActionsCellItem = /*#__PURE__*/React.forwardRef((props, ref) => {
46
45
  closeMenu?.();
47
46
  }
48
47
  };
49
- return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, _extends({
48
+ return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, _extends({
50
49
  ref: ref
51
50
  }, other, {
52
51
  onClick: handleClick,
53
- children: [icon && /*#__PURE__*/_jsx(ListItemIcon, {
54
- children: icon
55
- }), label]
52
+ iconStart: icon,
53
+ children: label
56
54
  }));
57
55
  });
58
56
  process.env.NODE_ENV !== "production" ? GridActionsCellItem.propTypes = {
@@ -120,7 +120,7 @@ const GridCell = /*#__PURE__*/React.forwardRef(function GridCell(props, ref) {
120
120
  const result = apiRef.current.getCellParams(rowId, field);
121
121
  result.api = apiRef.current;
122
122
  return result;
123
- }, objectShallowCompare);
123
+ }, undefined, objectShallowCompare);
124
124
  const isSelected = useGridSelector(apiRef, () => apiRef.current.unstable_applyPipeProcessors('isCellSelected', false, {
125
125
  id: rowId,
126
126
  field
@@ -1,10 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import ListItemIcon from '@mui/material/ListItemIcon';
4
- import ListItemText from '@mui/material/ListItemText';
5
3
  import { useGridApiContext } from "../../../../hooks/utils/useGridApiContext.js";
6
4
  import { useGridRootProps } from "../../../../hooks/utils/useGridRootProps.js";
7
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { jsx as _jsx } from "react/jsx-runtime";
8
6
  function GridColumnMenuFilterItem(props) {
9
7
  const {
10
8
  colDef,
@@ -19,15 +17,12 @@ function GridColumnMenuFilterItem(props) {
19
17
  if (rootProps.disableColumnFilter || !colDef.filterable) {
20
18
  return null;
21
19
  }
22
- return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
20
+ return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
23
21
  onClick: showFilter,
24
- children: [/*#__PURE__*/_jsx(ListItemIcon, {
25
- children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuFilterIcon, {
26
- fontSize: "small"
27
- })
28
- }), /*#__PURE__*/_jsx(ListItemText, {
29
- children: apiRef.current.getLocaleText('columnMenuFilter')
30
- })]
22
+ iconStart: /*#__PURE__*/_jsx(rootProps.slots.columnMenuFilterIcon, {
23
+ fontSize: "small"
24
+ }),
25
+ children: apiRef.current.getLocaleText('columnMenuFilter')
31
26
  });
32
27
  }
33
28
  process.env.NODE_ENV !== "production" ? GridColumnMenuFilterItem.propTypes = {
@@ -1,11 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import ListItemIcon from '@mui/material/ListItemIcon';
4
- import ListItemText from '@mui/material/ListItemText';
5
3
  import { useGridApiContext } from "../../../../hooks/utils/useGridApiContext.js";
6
4
  import { useGridRootProps } from "../../../../hooks/utils/useGridRootProps.js";
7
5
  import { gridVisibleColumnDefinitionsSelector } from "../../../../hooks/features/columns/index.js";
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
9
7
  function GridColumnMenuHideItem(props) {
10
8
  const {
11
9
  colDef,
@@ -35,16 +33,13 @@ function GridColumnMenuHideItem(props) {
35
33
  if (colDef.hideable === false) {
36
34
  return null;
37
35
  }
38
- return /*#__PURE__*/_jsxs(rootProps.slots.baseMenuItem, {
36
+ return /*#__PURE__*/_jsx(rootProps.slots.baseMenuItem, {
39
37
  onClick: toggleColumn,
40
38
  disabled: disabled,
41
- children: [/*#__PURE__*/_jsx(ListItemIcon, {
42
- children: /*#__PURE__*/_jsx(rootProps.slots.columnMenuHideIcon, {
43
- fontSize: "small"
44
- })
45
- }), /*#__PURE__*/_jsx(ListItemText, {
46
- children: apiRef.current.getLocaleText('columnMenuHideColumn')
47
- })]
39
+ iconStart: /*#__PURE__*/_jsx(rootProps.slots.columnMenuHideIcon, {
40
+ fontSize: "small"
41
+ }),
42
+ children: apiRef.current.getLocaleText('columnMenuHideColumn')
48
43
  });
49
44
  }
50
45
  process.env.NODE_ENV !== "production" ? GridColumnMenuHideItem.propTypes = {