@mui/x-data-grid 9.4.0 → 9.6.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 (234) hide show
  1. package/CHANGELOG.md +251 -0
  2. package/DataGrid/DataGrid.js +74 -13
  3. package/DataGrid/DataGrid.mjs +74 -13
  4. package/colDef/gridColumnTypesRegistry.d.mts +8 -0
  5. package/colDef/gridColumnTypesRegistry.d.ts +8 -0
  6. package/colDef/gridColumnTypesRegistry.js +44 -0
  7. package/colDef/gridColumnTypesRegistry.mjs +34 -0
  8. package/colDef/gridDefaultColumnTypes.d.mts +1 -1
  9. package/colDef/gridDefaultColumnTypes.d.ts +1 -1
  10. package/colDef/gridDefaultColumnTypes.js +11 -23
  11. package/colDef/gridDefaultColumnTypes.mjs +4 -22
  12. package/components/GridColumnHeaders.js +1 -1
  13. package/components/GridColumnHeaders.mjs +1 -1
  14. package/components/GridColumnUnsortedIcon.js +1 -1
  15. package/components/GridColumnUnsortedIcon.mjs +1 -1
  16. package/components/GridFooter.js +1 -1
  17. package/components/GridFooter.mjs +1 -1
  18. package/components/GridLoadingOverlay.js +1 -1
  19. package/components/GridLoadingOverlay.mjs +1 -1
  20. package/components/GridNoColumnsOverlay.js +1 -1
  21. package/components/GridNoColumnsOverlay.mjs +1 -1
  22. package/components/GridNoRowsOverlay.js +1 -1
  23. package/components/GridNoRowsOverlay.mjs +1 -1
  24. package/components/GridRow.js +1 -1
  25. package/components/GridRow.mjs +1 -1
  26. package/components/GridRowCount.js +1 -1
  27. package/components/GridRowCount.mjs +1 -1
  28. package/components/GridRowDragAndDropOverlay.d.mts +1 -1
  29. package/components/GridRowDragAndDropOverlay.d.ts +1 -1
  30. package/components/GridSelectedRowCount.js +1 -1
  31. package/components/GridSelectedRowCount.mjs +1 -1
  32. package/components/GridShadowScrollArea.js +1 -1
  33. package/components/GridShadowScrollArea.mjs +1 -1
  34. package/components/cell/GridActionsCell.js +84 -4
  35. package/components/cell/GridActionsCell.mjs +84 -4
  36. package/components/cell/GridActionsCellItem.js +75 -1
  37. package/components/cell/GridActionsCellItem.mjs +74 -0
  38. package/components/cell/GridBooleanCell.js +1 -1
  39. package/components/cell/GridBooleanCell.mjs +1 -1
  40. package/components/cell/GridCell.js +1 -1
  41. package/components/cell/GridCell.mjs +1 -1
  42. package/components/cell/GridEditBooleanCell.js +1 -1
  43. package/components/cell/GridEditBooleanCell.mjs +1 -1
  44. package/components/cell/GridEditDateCell.js +1 -1
  45. package/components/cell/GridEditDateCell.mjs +1 -1
  46. package/components/cell/GridEditInputCell.js +68 -0
  47. package/components/cell/GridEditInputCell.mjs +68 -0
  48. package/components/cell/GridEditLongTextCell.d.mts +3 -0
  49. package/components/cell/GridEditLongTextCell.d.ts +3 -0
  50. package/components/cell/GridEditLongTextCell.js +141 -0
  51. package/components/cell/GridEditLongTextCell.mjs +141 -0
  52. package/components/cell/GridEditSingleSelectCell.js +1 -1
  53. package/components/cell/GridEditSingleSelectCell.mjs +1 -1
  54. package/components/cell/GridLongTextCell.d.mts +3 -0
  55. package/components/cell/GridLongTextCell.d.ts +3 -0
  56. package/components/cell/GridLongTextCell.js +68 -0
  57. package/components/cell/GridLongTextCell.mjs +68 -0
  58. package/components/cell/GridSkeletonCell.js +3 -2
  59. package/components/cell/GridSkeletonCell.mjs +3 -2
  60. package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +2 -2
  61. package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +2 -2
  62. package/components/columnHeaders/GridColumnHeaderItem.js +1 -1
  63. package/components/columnHeaders/GridColumnHeaderItem.mjs +1 -1
  64. package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
  65. package/components/columnHeaders/GridColumnHeaderSeparator.mjs +1 -1
  66. package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
  67. package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +1 -1
  68. package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
  69. package/components/columnHeaders/GridColumnHeaderTitle.mjs +1 -1
  70. package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
  71. package/components/columnSelection/GridCellCheckboxRenderer.mjs +1 -1
  72. package/components/columnSelection/GridHeaderCheckbox.js +1 -1
  73. package/components/columnSelection/GridHeaderCheckbox.mjs +1 -1
  74. package/components/columnSelection/GridRowCheckbox.js +1 -1
  75. package/components/columnSelection/GridRowCheckbox.mjs +1 -1
  76. package/components/columnsManagement/GridColumnsManagement.js +1 -1
  77. package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
  78. package/components/columnsPanel/ColumnsPanelTrigger.js +1 -1
  79. package/components/columnsPanel/ColumnsPanelTrigger.mjs +1 -1
  80. package/components/containers/GridFooterContainer.js +1 -1
  81. package/components/containers/GridFooterContainer.mjs +1 -1
  82. package/components/containers/GridOverlay.js +1 -1
  83. package/components/containers/GridOverlay.mjs +1 -1
  84. package/components/containers/GridRoot.js +1 -1
  85. package/components/containers/GridRoot.mjs +1 -1
  86. package/components/containers/GridRootStyles.js +32 -2
  87. package/components/containers/GridRootStyles.mjs +32 -2
  88. package/components/containers/GridToolbarContainer.js +1 -1
  89. package/components/containers/GridToolbarContainer.mjs +1 -1
  90. package/components/export/ExportCsv.js +1 -1
  91. package/components/export/ExportCsv.mjs +1 -1
  92. package/components/export/ExportPrint.js +1 -1
  93. package/components/export/ExportPrint.mjs +1 -1
  94. package/components/filterPanel/FilterPanelTrigger.js +1 -1
  95. package/components/filterPanel/FilterPanelTrigger.mjs +1 -1
  96. package/components/menu/GridMenu.js +1 -1
  97. package/components/menu/GridMenu.mjs +1 -1
  98. package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
  99. package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
  100. package/components/menu/columnMenu/GridColumnMenu.js +2 -2
  101. package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
  102. package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
  103. package/components/menu/columnMenu/GridColumnMenuContainer.mjs +1 -1
  104. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
  105. package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
  106. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
  107. package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +1 -1
  108. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
  109. package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +1 -1
  110. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
  111. package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +1 -1
  112. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
  113. package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +1 -1
  114. package/components/panel/GridPanel.js +1 -1
  115. package/components/panel/GridPanel.mjs +1 -1
  116. package/components/panel/GridPanelContent.js +1 -1
  117. package/components/panel/GridPanelContent.mjs +1 -1
  118. package/components/panel/GridPanelFooter.js +1 -1
  119. package/components/panel/GridPanelFooter.mjs +1 -1
  120. package/components/panel/GridPanelHeader.js +1 -1
  121. package/components/panel/GridPanelHeader.mjs +1 -1
  122. package/components/panel/filterPanel/GridFilterForm.js +1 -1
  123. package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
  124. package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
  125. package/components/panel/filterPanel/GridFilterInputBoolean.mjs +1 -1
  126. package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
  127. package/components/panel/filterPanel/GridFilterInputDate.mjs +1 -1
  128. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
  129. package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +1 -1
  130. package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
  131. package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +1 -1
  132. package/components/panel/filterPanel/GridFilterInputSingleSelect.js +3 -5
  133. package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +3 -5
  134. package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
  135. package/components/panel/filterPanel/GridFilterInputValue.mjs +1 -1
  136. package/components/panel/filterPanel/GridFilterPanel.js +1 -1
  137. package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
  138. package/components/panel/filterPanel/filterPanelUtils.d.mts +3 -2
  139. package/components/panel/filterPanel/filterPanelUtils.d.ts +3 -2
  140. package/components/panel/filterPanel/filterPanelUtils.js +4 -0
  141. package/components/panel/filterPanel/filterPanelUtils.mjs +3 -0
  142. package/components/quickFilter/QuickFilter.js +1 -1
  143. package/components/quickFilter/QuickFilter.mjs +1 -1
  144. package/components/quickFilter/QuickFilterClear.js +1 -1
  145. package/components/quickFilter/QuickFilterClear.mjs +1 -1
  146. package/components/quickFilter/QuickFilterControl.js +1 -1
  147. package/components/quickFilter/QuickFilterControl.mjs +1 -1
  148. package/components/quickFilter/QuickFilterTrigger.js +1 -1
  149. package/components/quickFilter/QuickFilterTrigger.mjs +1 -1
  150. package/components/toolbar/GridToolbar.js +1 -1
  151. package/components/toolbar/GridToolbar.mjs +1 -1
  152. package/components/toolbar/GridToolbarColumnsButton.js +1 -1
  153. package/components/toolbar/GridToolbarColumnsButton.mjs +1 -1
  154. package/components/toolbar/GridToolbarDensitySelector.js +1 -1
  155. package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
  156. package/components/toolbar/GridToolbarExport.js +3 -3
  157. package/components/toolbar/GridToolbarExport.mjs +3 -3
  158. package/components/toolbar/GridToolbarExportContainer.js +1 -1
  159. package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
  160. package/components/toolbar/GridToolbarFilterButton.js +1 -1
  161. package/components/toolbar/GridToolbarFilterButton.mjs +1 -1
  162. package/components/toolbar/GridToolbarQuickFilter.js +1 -1
  163. package/components/toolbar/GridToolbarQuickFilter.mjs +1 -1
  164. package/components/toolbarV8/GridToolbar.js +8 -3
  165. package/components/toolbarV8/GridToolbar.mjs +8 -3
  166. package/components/toolbarV8/Toolbar.js +1 -1
  167. package/components/toolbarV8/Toolbar.mjs +1 -1
  168. package/components/toolbarV8/ToolbarButton.js +1 -1
  169. package/components/toolbarV8/ToolbarButton.mjs +1 -1
  170. package/components/virtualization/GridVirtualScrollbar.js +8 -1
  171. package/components/virtualization/GridVirtualScrollbar.mjs +8 -1
  172. package/components/virtualization/GridVirtualScroller.js +12 -0
  173. package/components/virtualization/GridVirtualScroller.mjs +12 -0
  174. package/constants/cssVariables.d.mts +3 -0
  175. package/constants/cssVariables.d.ts +3 -0
  176. package/constants/cssVariables.js +2 -1
  177. package/constants/cssVariables.mjs +2 -1
  178. package/constants/gridClasses.d.mts +48 -0
  179. package/constants/gridClasses.d.ts +48 -0
  180. package/constants/gridClasses.js +1 -1
  181. package/constants/gridClasses.mjs +1 -1
  182. package/hooks/core/useGridProps.js +5 -3
  183. package/hooks/core/useGridProps.mjs +5 -3
  184. package/hooks/features/columns/gridColumnsUtils.js +18 -10
  185. package/hooks/features/columns/gridColumnsUtils.mjs +19 -11
  186. package/hooks/features/columns/useGridColumns.js +11 -0
  187. package/hooks/features/columns/useGridColumns.mjs +11 -0
  188. package/hooks/features/dataSource/useGridDataSourceBase.js +2 -2
  189. package/hooks/features/dataSource/useGridDataSourceBase.mjs +2 -2
  190. package/hooks/features/editing/useGridCellEditing.js +1 -1
  191. package/hooks/features/editing/useGridCellEditing.mjs +1 -1
  192. package/hooks/features/editing/useGridRowEditing.js +1 -1
  193. package/hooks/features/editing/useGridRowEditing.mjs +1 -1
  194. package/hooks/features/export/serializers/csvSerializer.js +3 -1
  195. package/hooks/features/export/serializers/csvSerializer.mjs +3 -1
  196. package/hooks/features/filter/gridFilterUtils.js +5 -3
  197. package/hooks/features/filter/gridFilterUtils.mjs +5 -3
  198. package/hooks/features/listView/useGridListView.js +1 -1
  199. package/hooks/features/listView/useGridListView.mjs +1 -1
  200. package/hooks/features/sorting/gridSortingUtils.js +3 -1
  201. package/hooks/features/sorting/gridSortingUtils.mjs +3 -1
  202. package/hooks/utils/useGridSelector.js +27 -24
  203. package/hooks/utils/useGridSelector.mjs +26 -24
  204. package/index.js +1 -1
  205. package/index.mjs +1 -1
  206. package/internals/index.d.mts +9 -4
  207. package/internals/index.d.ts +9 -4
  208. package/internals/index.js +62 -2
  209. package/internals/index.mjs +8 -4
  210. package/internals/utils/propValidation.js +3 -0
  211. package/internals/utils/propValidation.mjs +3 -0
  212. package/material/augmentation.d.mts +4 -0
  213. package/material/augmentation.d.ts +4 -0
  214. package/material/index.js +42 -26
  215. package/material/index.mjs +42 -26
  216. package/material/variables.js +2 -1
  217. package/material/variables.mjs +2 -1
  218. package/models/colDef/gridColDef.d.mts +35 -3
  219. package/models/colDef/gridColDef.d.ts +35 -3
  220. package/models/colDef/gridColType.d.mts +1 -0
  221. package/models/colDef/gridColType.d.ts +1 -0
  222. package/models/colDef/gridColumnTypesRecord.d.mts +1 -1
  223. package/models/colDef/gridColumnTypesRecord.d.ts +1 -1
  224. package/models/colDef/index.d.mts +1 -1
  225. package/models/colDef/index.d.ts +1 -1
  226. package/models/gridBaseSlots.d.mts +46 -0
  227. package/models/gridBaseSlots.d.ts +46 -0
  228. package/models/gridSlotsComponent.d.mts +5 -0
  229. package/models/gridSlotsComponent.d.ts +5 -0
  230. package/models/gridSlotsComponentsProps.d.mts +3 -1
  231. package/models/gridSlotsComponentsProps.d.ts +3 -1
  232. package/models/gridStateCommunity.d.mts +1 -1
  233. package/models/gridStateCommunity.d.ts +1 -1
  234. package/package.json +7 -4
@@ -126,7 +126,7 @@ function GridEditSingleSelectCell(props) {
126
126
  })
127
127
  }));
128
128
  }
129
- process.env.NODE_ENV !== "production" ? GridEditSingleSelectCell.propTypes = {
129
+ process.env.NODE_ENV !== "production" ? GridEditSingleSelectCell.propTypes /* remove-proptypes */ = {
130
130
  // ----------------------------- Warning --------------------------------
131
131
  // | These PropTypes are generated from the TypeScript type definitions |
132
132
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -118,7 +118,7 @@ function GridEditSingleSelectCell(props) {
118
118
  })
119
119
  }));
120
120
  }
121
- process.env.NODE_ENV !== "production" ? GridEditSingleSelectCell.propTypes = {
121
+ process.env.NODE_ENV !== "production" ? GridEditSingleSelectCell.propTypes /* remove-proptypes */ = {
122
122
  // ----------------------------- Warning --------------------------------
123
123
  // | These PropTypes are generated from the TypeScript type definitions |
124
124
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -39,5 +39,8 @@ export interface GridLongTextCellProps extends GridRenderCellParams<any, string
39
39
  };
40
40
  }
41
41
  declare function GridLongTextCell(props: GridLongTextCellProps): import("react/jsx-runtime").JSX.Element;
42
+ declare namespace GridLongTextCell {
43
+ var propTypes: any;
44
+ }
42
45
  export { GridLongTextCell };
43
46
  export declare const renderLongTextCell: (params: GridLongTextCellProps) => import("react/jsx-runtime").JSX.Element;
@@ -39,5 +39,8 @@ export interface GridLongTextCellProps extends GridRenderCellParams<any, string
39
39
  };
40
40
  }
41
41
  declare function GridLongTextCell(props: GridLongTextCellProps): import("react/jsx-runtime").JSX.Element;
42
+ declare namespace GridLongTextCell {
43
+ var propTypes: any;
44
+ }
42
45
  export { GridLongTextCell };
43
46
  export declare const renderLongTextCell: (params: GridLongTextCellProps) => import("react/jsx-runtime").JSX.Element;
@@ -10,6 +10,7 @@ exports.GridLongTextCell = GridLongTextCell;
10
10
  exports.renderLongTextCell = void 0;
11
11
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
14
  var _clsx = _interopRequireDefault(require("clsx"));
14
15
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
15
16
  var _styles = require("@mui/material/styles");
@@ -185,6 +186,7 @@ function GridLongTextCell(props) {
185
186
  children: value
186
187
  })), /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLongTextCellCornerButton, (0, _extends2.default)({
187
188
  ref: cornerButtonRef,
189
+ type: "button",
188
190
  "aria-label": `${value}, ${apiRef.current.getLocaleText('longTextCellExpandLabel')}`,
189
191
  "aria-haspopup": "dialog",
190
192
  "aria-controls": popupOpen ? popupId : undefined,
@@ -236,6 +238,7 @@ function GridLongTextCell(props) {
236
238
  '--_width': `${colDef.computedWidth}px`
237
239
  }, slotProps?.popperContent?.style),
238
240
  children: [renderContent ? renderContent(value) : value, /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLongTextCellCornerButton, (0, _extends2.default)({
241
+ type: "button",
239
242
  "aria-label": apiRef.current.getLocaleText('longTextCellCollapseLabel'),
240
243
  "aria-keyshortcuts": "Escape"
241
244
  }, slotProps?.collapseButton, {
@@ -249,6 +252,71 @@ function GridLongTextCell(props) {
249
252
  }))]
250
253
  }));
251
254
  }
255
+ process.env.NODE_ENV !== "production" ? GridLongTextCell.propTypes /* remove-proptypes */ = {
256
+ // ----------------------------- Warning --------------------------------
257
+ // | These PropTypes are generated from the TypeScript type definitions |
258
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
259
+ // ----------------------------------------------------------------------
260
+ /**
261
+ * GridApi that let you manipulate the grid.
262
+ */
263
+ api: _propTypes.default.object.isRequired,
264
+ /**
265
+ * The mode of the cell.
266
+ */
267
+ cellMode: _propTypes.default.oneOf(['edit', 'view']).isRequired,
268
+ /**
269
+ * The column of the row that the current cell belongs to.
270
+ */
271
+ colDef: _propTypes.default.object.isRequired,
272
+ /**
273
+ * The column field of the cell that triggered the event.
274
+ */
275
+ field: _propTypes.default.string.isRequired,
276
+ /**
277
+ * The cell value formatted with the column valueFormatter.
278
+ */
279
+ formattedValue: _propTypes.default.string,
280
+ /**
281
+ * If true, the cell is the active element.
282
+ */
283
+ hasFocus: _propTypes.default.bool.isRequired,
284
+ /**
285
+ * The grid row id.
286
+ */
287
+ id: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]).isRequired,
288
+ /**
289
+ * If true, the cell is editable.
290
+ */
291
+ isEditable: _propTypes.default.bool,
292
+ /**
293
+ * A function to customize the content rendered in the popup.
294
+ * @param {string | null} value The cell value.
295
+ * @returns {React.ReactNode} The content to render in the popup.
296
+ */
297
+ renderContent: _propTypes.default.func,
298
+ /**
299
+ * The row model of the row that the current cell belongs to.
300
+ */
301
+ row: _propTypes.default.any.isRequired,
302
+ /**
303
+ * The node of the row that the current cell belongs to.
304
+ */
305
+ rowNode: _propTypes.default.object.isRequired,
306
+ /**
307
+ * Props passed to internal components.
308
+ */
309
+ slotProps: _propTypes.default.object,
310
+ /**
311
+ * the tabIndex value.
312
+ */
313
+ tabIndex: _propTypes.default.oneOf([-1, 0]).isRequired,
314
+ /**
315
+ * The cell value.
316
+ * If the column has `valueGetter`, use `params.row` to directly access the fields.
317
+ */
318
+ value: _propTypes.default.string
319
+ } : void 0;
252
320
  const renderLongTextCell = params => /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLongTextCell, (0, _extends2.default)({}, params));
253
321
  exports.renderLongTextCell = renderLongTextCell;
254
322
  if (process.env.NODE_ENV !== "production") renderLongTextCell.displayName = "renderLongTextCell";
@@ -2,6 +2,7 @@
2
2
 
3
3
  import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
+ import PropTypes from 'prop-types';
5
6
  import clsx from 'clsx';
6
7
  import composeClasses from '@mui/utils/composeClasses';
7
8
  import { styled } from '@mui/material/styles';
@@ -177,6 +178,7 @@ function GridLongTextCell(props) {
177
178
  children: value
178
179
  })), /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
179
180
  ref: cornerButtonRef,
181
+ type: "button",
180
182
  "aria-label": `${value}, ${apiRef.current.getLocaleText('longTextCellExpandLabel')}`,
181
183
  "aria-haspopup": "dialog",
182
184
  "aria-controls": popupOpen ? popupId : undefined,
@@ -228,6 +230,7 @@ function GridLongTextCell(props) {
228
230
  '--_width': `${colDef.computedWidth}px`
229
231
  }, slotProps?.popperContent?.style),
230
232
  children: [renderContent ? renderContent(value) : value, /*#__PURE__*/_jsx(GridLongTextCellCornerButton, _extends({
233
+ type: "button",
231
234
  "aria-label": apiRef.current.getLocaleText('longTextCellCollapseLabel'),
232
235
  "aria-keyshortcuts": "Escape"
233
236
  }, slotProps?.collapseButton, {
@@ -241,6 +244,71 @@ function GridLongTextCell(props) {
241
244
  }))]
242
245
  }));
243
246
  }
247
+ process.env.NODE_ENV !== "production" ? GridLongTextCell.propTypes /* remove-proptypes */ = {
248
+ // ----------------------------- Warning --------------------------------
249
+ // | These PropTypes are generated from the TypeScript type definitions |
250
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
251
+ // ----------------------------------------------------------------------
252
+ /**
253
+ * GridApi that let you manipulate the grid.
254
+ */
255
+ api: PropTypes.object.isRequired,
256
+ /**
257
+ * The mode of the cell.
258
+ */
259
+ cellMode: PropTypes.oneOf(['edit', 'view']).isRequired,
260
+ /**
261
+ * The column of the row that the current cell belongs to.
262
+ */
263
+ colDef: PropTypes.object.isRequired,
264
+ /**
265
+ * The column field of the cell that triggered the event.
266
+ */
267
+ field: PropTypes.string.isRequired,
268
+ /**
269
+ * The cell value formatted with the column valueFormatter.
270
+ */
271
+ formattedValue: PropTypes.string,
272
+ /**
273
+ * If true, the cell is the active element.
274
+ */
275
+ hasFocus: PropTypes.bool.isRequired,
276
+ /**
277
+ * The grid row id.
278
+ */
279
+ id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
280
+ /**
281
+ * If true, the cell is editable.
282
+ */
283
+ isEditable: PropTypes.bool,
284
+ /**
285
+ * A function to customize the content rendered in the popup.
286
+ * @param {string | null} value The cell value.
287
+ * @returns {React.ReactNode} The content to render in the popup.
288
+ */
289
+ renderContent: PropTypes.func,
290
+ /**
291
+ * The row model of the row that the current cell belongs to.
292
+ */
293
+ row: PropTypes.any.isRequired,
294
+ /**
295
+ * The node of the row that the current cell belongs to.
296
+ */
297
+ rowNode: PropTypes.object.isRequired,
298
+ /**
299
+ * Props passed to internal components.
300
+ */
301
+ slotProps: PropTypes.object,
302
+ /**
303
+ * the tabIndex value.
304
+ */
305
+ tabIndex: PropTypes.oneOf([-1, 0]).isRequired,
306
+ /**
307
+ * The cell value.
308
+ * If the column has `valueGetter`, use `params.row` to directly access the fields.
309
+ */
310
+ value: PropTypes.string
311
+ } : void 0;
244
312
  export { GridLongTextCell };
245
313
  export const renderLongTextCell = params => /*#__PURE__*/_jsx(GridLongTextCell, _extends({}, params));
246
314
  if (process.env.NODE_ENV !== "production") renderLongTextCell.displayName = "renderLongTextCell";
@@ -98,7 +98,7 @@ function GridSkeletonCell(props) {
98
98
  children: !empty && /*#__PURE__*/(0, _jsxRuntime.jsx)(rootProps.slots.baseSkeleton, (0, _extends2.default)({}, skeletonProps))
99
99
  }));
100
100
  }
101
- process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes = {
101
+ process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes /* remove-proptypes */ = {
102
102
  // ----------------------------- Warning --------------------------------
103
103
  // | These PropTypes are generated from the TypeScript type definitions |
104
104
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -111,7 +111,8 @@ process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes = {
111
111
  empty: _propTypes.default.bool,
112
112
  field: _propTypes.default.string,
113
113
  height: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number]),
114
- type: _propTypes.default.oneOf(['actions', 'boolean', 'custom', 'date', 'dateTime', 'number', 'singleSelect', 'string']),
114
+ skeletonProps: _propTypes.default.object,
115
+ type: _propTypes.default.oneOf(['actions', 'boolean', 'custom', 'date', 'dateTime', 'longText', 'multiSelect', 'number', 'singleSelect', 'string']),
115
116
  width: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])
116
117
  } : void 0;
117
118
  const Memoized = exports.GridSkeletonCell = (0, _fastMemo.fastMemo)(GridSkeletonCell);
@@ -90,7 +90,7 @@ function GridSkeletonCell(props) {
90
90
  children: !empty && /*#__PURE__*/_jsx(rootProps.slots.baseSkeleton, _extends({}, skeletonProps))
91
91
  }));
92
92
  }
93
- process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes = {
93
+ process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes /* remove-proptypes */ = {
94
94
  // ----------------------------- Warning --------------------------------
95
95
  // | These PropTypes are generated from the TypeScript type definitions |
96
96
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -103,7 +103,8 @@ process.env.NODE_ENV !== "production" ? GridSkeletonCell.propTypes = {
103
103
  empty: PropTypes.bool,
104
104
  field: PropTypes.string,
105
105
  height: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number]),
106
- type: PropTypes.oneOf(['actions', 'boolean', 'custom', 'date', 'dateTime', 'number', 'singleSelect', 'string']),
106
+ skeletonProps: PropTypes.object,
107
+ type: PropTypes.oneOf(['actions', 'boolean', 'custom', 'date', 'dateTime', 'longText', 'multiSelect', 'number', 'singleSelect', 'string']),
107
108
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
108
109
  } : void 0;
109
110
  const Memoized = fastMemo(GridSkeletonCell);
@@ -34,7 +34,7 @@ function GridColumnHeaderFilterIconButtonWrapped(props) {
34
34
  }
35
35
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(GridColumnHeaderFilterIconButton, (0, _extends2.default)({}, props));
36
36
  }
37
- process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButtonWrapped.propTypes = {
37
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButtonWrapped.propTypes /* remove-proptypes */ = {
38
38
  // ----------------------------- Warning --------------------------------
39
39
  // | These PropTypes are generated from the TypeScript type definitions |
40
40
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -105,7 +105,7 @@ function GridColumnHeaderFilterIconButton(props) {
105
105
  })
106
106
  }));
107
107
  }
108
- process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButton.propTypes = {
108
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButton.propTypes /* remove-proptypes */ = {
109
109
  // ----------------------------- Warning --------------------------------
110
110
  // | These PropTypes are generated from the TypeScript type definitions |
111
111
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -26,7 +26,7 @@ function GridColumnHeaderFilterIconButtonWrapped(props) {
26
26
  }
27
27
  return /*#__PURE__*/_jsx(GridColumnHeaderFilterIconButton, _extends({}, props));
28
28
  }
29
- process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButtonWrapped.propTypes = {
29
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButtonWrapped.propTypes /* remove-proptypes */ = {
30
30
  // ----------------------------- Warning --------------------------------
31
31
  // | These PropTypes are generated from the TypeScript type definitions |
32
32
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -97,7 +97,7 @@ function GridColumnHeaderFilterIconButton(props) {
97
97
  })
98
98
  }));
99
99
  }
100
- process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButton.propTypes = {
100
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderFilterIconButton.propTypes /* remove-proptypes */ = {
101
101
  // ----------------------------- Warning --------------------------------
102
102
  // | These PropTypes are generated from the TypeScript type definitions |
103
103
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -255,7 +255,7 @@ function GridColumnHeaderItem(props) {
255
255
  style: style
256
256
  }, mouseEventsHandlers));
257
257
  }
258
- process.env.NODE_ENV !== "production" ? GridColumnHeaderItem.propTypes = {
258
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderItem.propTypes /* remove-proptypes */ = {
259
259
  // ----------------------------- Warning --------------------------------
260
260
  // | These PropTypes are generated from the TypeScript type definitions |
261
261
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -248,7 +248,7 @@ function GridColumnHeaderItem(props) {
248
248
  style: style
249
249
  }, mouseEventsHandlers));
250
250
  }
251
- process.env.NODE_ENV !== "production" ? GridColumnHeaderItem.propTypes = {
251
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderItem.propTypes /* remove-proptypes */ = {
252
252
  // ----------------------------- Warning --------------------------------
253
253
  // | These PropTypes are generated from the TypeScript type definitions |
254
254
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -68,7 +68,7 @@ function GridColumnHeaderSeparatorRaw(props) {
68
68
  }
69
69
  const GridColumnHeaderSeparator = exports.GridColumnHeaderSeparator = /*#__PURE__*/React.memo(GridColumnHeaderSeparatorRaw);
70
70
  if (process.env.NODE_ENV !== "production") GridColumnHeaderSeparator.displayName = "GridColumnHeaderSeparator";
71
- process.env.NODE_ENV !== "production" ? GridColumnHeaderSeparatorRaw.propTypes = {
71
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderSeparatorRaw.propTypes /* remove-proptypes */ = {
72
72
  // ----------------------------- Warning --------------------------------
73
73
  // | These PropTypes are generated from the TypeScript type definitions |
74
74
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -60,7 +60,7 @@ function GridColumnHeaderSeparatorRaw(props) {
60
60
  }
61
61
  const GridColumnHeaderSeparator = /*#__PURE__*/React.memo(GridColumnHeaderSeparatorRaw);
62
62
  if (process.env.NODE_ENV !== "production") GridColumnHeaderSeparator.displayName = "GridColumnHeaderSeparator";
63
- process.env.NODE_ENV !== "production" ? GridColumnHeaderSeparatorRaw.propTypes = {
63
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderSeparatorRaw.propTypes /* remove-proptypes */ = {
64
64
  // ----------------------------- Warning --------------------------------
65
65
  // | These PropTypes are generated from the TypeScript type definitions |
66
66
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -21,7 +21,7 @@ function GridColumnHeaderSortIconRaw(props) {
21
21
  }
22
22
  const GridColumnHeaderSortIcon = exports.GridColumnHeaderSortIcon = /*#__PURE__*/React.memo(GridColumnHeaderSortIconRaw);
23
23
  if (process.env.NODE_ENV !== "production") GridColumnHeaderSortIcon.displayName = "GridColumnHeaderSortIcon";
24
- process.env.NODE_ENV !== "production" ? GridColumnHeaderSortIconRaw.propTypes = {
24
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderSortIconRaw.propTypes /* remove-proptypes */ = {
25
25
  // ----------------------------- Warning --------------------------------
26
26
  // | These PropTypes are generated from the TypeScript type definitions |
27
27
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -13,7 +13,7 @@ function GridColumnHeaderSortIconRaw(props) {
13
13
  }
14
14
  const GridColumnHeaderSortIcon = /*#__PURE__*/React.memo(GridColumnHeaderSortIconRaw);
15
15
  if (process.env.NODE_ENV !== "production") GridColumnHeaderSortIcon.displayName = "GridColumnHeaderSortIcon";
16
- process.env.NODE_ENV !== "production" ? GridColumnHeaderSortIconRaw.propTypes = {
16
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderSortIconRaw.propTypes /* remove-proptypes */ = {
17
17
  // ----------------------------- Warning --------------------------------
18
18
  // | These PropTypes are generated from the TypeScript type definitions |
19
19
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -85,7 +85,7 @@ function GridColumnHeaderTitle(props) {
85
85
  })
86
86
  }));
87
87
  }
88
- process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes = {
88
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes /* remove-proptypes */ = {
89
89
  // ----------------------------- Warning --------------------------------
90
90
  // | These PropTypes are generated from the TypeScript type definitions |
91
91
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -78,7 +78,7 @@ function GridColumnHeaderTitle(props) {
78
78
  })
79
79
  }));
80
80
  }
81
- process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes = {
81
+ process.env.NODE_ENV !== "production" ? GridColumnHeaderTitle.propTypes /* remove-proptypes */ = {
82
82
  // ----------------------------- Warning --------------------------------
83
83
  // | These PropTypes are generated from the TypeScript type definitions |
84
84
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -120,7 +120,7 @@ const GridCellCheckboxForwardRef = exports.GridCellCheckboxForwardRef = (0, _for
120
120
  }));
121
121
  });
122
122
  if (process.env.NODE_ENV !== "production") GridCellCheckboxForwardRef.displayName = "GridCellCheckboxForwardRef";
123
- process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes = {
123
+ process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes /* remove-proptypes */ = {
124
124
  // ----------------------------- Warning --------------------------------
125
125
  // | These PropTypes are generated from the TypeScript type definitions |
126
126
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -113,7 +113,7 @@ const GridCellCheckboxForwardRef = forwardRef(function GridCellCheckboxRenderer(
113
113
  }));
114
114
  });
115
115
  if (process.env.NODE_ENV !== "production") GridCellCheckboxForwardRef.displayName = "GridCellCheckboxForwardRef";
116
- process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes = {
116
+ process.env.NODE_ENV !== "production" ? GridCellCheckboxForwardRef.propTypes /* remove-proptypes */ = {
117
117
  // ----------------------------- Warning --------------------------------
118
118
  // | These PropTypes are generated from the TypeScript type definitions |
119
119
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -168,7 +168,7 @@ const GridHeaderCheckbox = exports.GridHeaderCheckbox = (0, _forwardRef.forwardR
168
168
  }));
169
169
  });
170
170
  if (process.env.NODE_ENV !== "production") GridHeaderCheckbox.displayName = "GridHeaderCheckbox";
171
- process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes = {
171
+ process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes /* remove-proptypes */ = {
172
172
  // ----------------------------- Warning --------------------------------
173
173
  // | These PropTypes are generated from the TypeScript type definitions |
174
174
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -161,7 +161,7 @@ const GridHeaderCheckbox = forwardRef(function GridHeaderCheckbox(props, ref) {
161
161
  }));
162
162
  });
163
163
  if (process.env.NODE_ENV !== "production") GridHeaderCheckbox.displayName = "GridHeaderCheckbox";
164
- process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes = {
164
+ process.env.NODE_ENV !== "production" ? GridHeaderCheckbox.propTypes /* remove-proptypes */ = {
165
165
  // ----------------------------- Warning --------------------------------
166
166
  // | These PropTypes are generated from the TypeScript type definitions |
167
167
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -29,7 +29,7 @@ const GridRowCheckbox = exports.GridRowCheckbox = (0, _forwardRef.forwardRef)(fu
29
29
  }));
30
30
  });
31
31
  if (process.env.NODE_ENV !== "production") GridRowCheckbox.displayName = "GridRowCheckbox";
32
- process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes = {
32
+ process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes /* remove-proptypes */ = {
33
33
  // ----------------------------- Warning --------------------------------
34
34
  // | These PropTypes are generated from the TypeScript type definitions |
35
35
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -22,7 +22,7 @@ const GridRowCheckbox = forwardRef(function GridRowCheckbox(props, ref) {
22
22
  }));
23
23
  });
24
24
  if (process.env.NODE_ENV !== "production") GridRowCheckbox.displayName = "GridRowCheckbox";
25
- process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes = {
25
+ process.env.NODE_ENV !== "production" ? GridRowCheckbox.propTypes /* remove-proptypes */ = {
26
26
  // ----------------------------- Warning --------------------------------
27
27
  // | These PropTypes are generated from the TypeScript type definitions |
28
28
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -221,7 +221,7 @@ function GridColumnsManagement(props) {
221
221
  }) : null]
222
222
  });
223
223
  }
224
- process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
224
+ process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes /* remove-proptypes */ = {
225
225
  // ----------------------------- Warning --------------------------------
226
226
  // | These PropTypes are generated from the TypeScript type definitions |
227
227
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -214,7 +214,7 @@ function GridColumnsManagement(props) {
214
214
  }) : null]
215
215
  });
216
216
  }
217
- process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes = {
217
+ process.env.NODE_ENV !== "production" ? GridColumnsManagement.propTypes /* remove-proptypes */ = {
218
218
  // ----------------------------- Warning --------------------------------
219
219
  // | These PropTypes are generated from the TypeScript type definitions |
220
220
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -84,7 +84,7 @@ const ColumnsPanelTrigger = exports.ColumnsPanelTrigger = (0, _forwardRef.forwar
84
84
  });
85
85
  });
86
86
  if (process.env.NODE_ENV !== "production") ColumnsPanelTrigger.displayName = "ColumnsPanelTrigger";
87
- process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes = {
87
+ process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes /* remove-proptypes */ = {
88
88
  // ----------------------------- Warning --------------------------------
89
89
  // | These PropTypes are generated from the TypeScript type definitions |
90
90
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -76,7 +76,7 @@ const ColumnsPanelTrigger = forwardRef(function ColumnsPanelTrigger(props, ref)
76
76
  });
77
77
  });
78
78
  if (process.env.NODE_ENV !== "production") ColumnsPanelTrigger.displayName = "ColumnsPanelTrigger";
79
- process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes = {
79
+ process.env.NODE_ENV !== "production" ? ColumnsPanelTrigger.propTypes /* remove-proptypes */ = {
80
80
  // ----------------------------- Warning --------------------------------
81
81
  // | These PropTypes are generated from the TypeScript type definitions |
82
82
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -53,7 +53,7 @@ const GridFooterContainer = exports.GridFooterContainer = (0, _forwardRef.forwar
53
53
  }));
54
54
  });
55
55
  if (process.env.NODE_ENV !== "production") GridFooterContainer.displayName = "GridFooterContainer";
56
- process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes = {
56
+ process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes /* remove-proptypes */ = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
59
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -46,7 +46,7 @@ const GridFooterContainer = forwardRef(function GridFooterContainer(props, ref)
46
46
  }));
47
47
  });
48
48
  if (process.env.NODE_ENV !== "production") GridFooterContainer.displayName = "GridFooterContainer";
49
- process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes = {
49
+ process.env.NODE_ENV !== "production" ? GridFooterContainer.propTypes /* remove-proptypes */ = {
50
50
  // ----------------------------- Warning --------------------------------
51
51
  // | These PropTypes are generated from the TypeScript type definitions |
52
52
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -60,7 +60,7 @@ const GridOverlay = exports.GridOverlay = (0, _forwardRef.forwardRef)(function G
60
60
  }));
61
61
  });
62
62
  if (process.env.NODE_ENV !== "production") GridOverlay.displayName = "GridOverlay";
63
- process.env.NODE_ENV !== "production" ? GridOverlay.propTypes = {
63
+ process.env.NODE_ENV !== "production" ? GridOverlay.propTypes /* remove-proptypes */ = {
64
64
  // ----------------------------- Warning --------------------------------
65
65
  // | These PropTypes are generated from the TypeScript type definitions |
66
66
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -53,7 +53,7 @@ const GridOverlay = forwardRef(function GridOverlay(props, ref) {
53
53
  }));
54
54
  });
55
55
  if (process.env.NODE_ENV !== "production") GridOverlay.displayName = "GridOverlay";
56
- process.env.NODE_ENV !== "production" ? GridOverlay.propTypes = {
56
+ process.env.NODE_ENV !== "production" ? GridOverlay.propTypes /* remove-proptypes */ = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
59
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -80,7 +80,7 @@ const GridRoot = (0, _forwardRef.forwardRef)(function GridRoot(props, ref) {
80
80
  }));
81
81
  });
82
82
  if (process.env.NODE_ENV !== "production") GridRoot.displayName = "GridRoot";
83
- process.env.NODE_ENV !== "production" ? GridRoot.propTypes = {
83
+ process.env.NODE_ENV !== "production" ? GridRoot.propTypes /* remove-proptypes */ = {
84
84
  // ----------------------------- Warning --------------------------------
85
85
  // | These PropTypes are generated from the TypeScript type definitions |
86
86
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -73,7 +73,7 @@ const GridRoot = forwardRef(function GridRoot(props, ref) {
73
73
  }));
74
74
  });
75
75
  if (process.env.NODE_ENV !== "production") GridRoot.displayName = "GridRoot";
76
- process.env.NODE_ENV !== "production" ? GridRoot.propTypes = {
76
+ process.env.NODE_ENV !== "production" ? GridRoot.propTypes /* remove-proptypes */ = {
77
77
  // ----------------------------- Warning --------------------------------
78
78
  // | These PropTypes are generated from the TypeScript type definitions |
79
79
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -131,11 +131,12 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
131
131
  minHeight: 0,
132
132
  flexDirection: 'column',
133
133
  overflow: 'hidden',
134
- overflowAnchor: 'none',
135
- // Keep the same scrolling position
136
134
  transform: 'translate(0, 0)',
137
135
  // Create a stacking context to keep scrollbars from showing on top
138
136
 
137
+ [`& .${_gridClasses.gridClasses.virtualScroller}`]: {
138
+ overflowAnchor: 'none' // Keep the same scrolling position
139
+ },
139
140
  // Use `css` tagged template so the ignore-comment remains a sibling of the
140
141
  // `:first-child` rule in the stylis AST. Previously, the comment was embedded
141
142
  // in the object-key selector, which got separated from the rule during
@@ -175,6 +176,16 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
175
176
  [`& .${_gridClasses.gridClasses['columnHeader--filter']}`]: {
176
177
  flex: 'none !important',
177
178
  width: 'unset !important'
179
+ },
180
+ [`& .${_gridClasses.gridClasses.multiSelectCell}`]: {
181
+ width: 'max-content',
182
+ overflow: 'visible'
183
+ },
184
+ [`& .${_gridClasses.gridClasses['multiSelectCellChip--hidden']}`]: {
185
+ display: 'inline-flex'
186
+ },
187
+ [`& .${_gridClasses.gridClasses.multiSelectCellOverflow}`]: {
188
+ display: 'none'
178
189
  }
179
190
  },
180
191
  [`&.${_gridClasses.gridClasses.withSidePanel}`]: {
@@ -523,6 +534,25 @@ const GridRootStyles = exports.GridRootStyles = (0, _styles.styled)('div', {
523
534
  whiteSpace: 'initial',
524
535
  lineHeight: 'inherit'
525
536
  },
537
+ [`& .${_gridClasses.gridClasses['row--dynamicHeight']}`]: {
538
+ [`& .${_gridClasses.gridClasses.multiSelectCell}, .${_gridClasses.gridClasses.editMultiSelectCell}`]: {
539
+ flexWrap: 'wrap'
540
+ }
541
+ },
542
+ [`& .${_gridClasses.gridClasses.cell}[aria-rowspan]:not([aria-rowspan="1"])`]: {
543
+ [`& .${_gridClasses.gridClasses.multiSelectCell}`]: {
544
+ alignItems: 'flex-start',
545
+ alignContent: 'flex-start',
546
+ flexWrap: 'wrap',
547
+ paddingTop: 8
548
+ },
549
+ [`& .${_gridClasses.gridClasses['multiSelectCellChip--hidden']}`]: {
550
+ display: 'inline-flex'
551
+ },
552
+ [`& .${_gridClasses.gridClasses.multiSelectCellOverflow}`]: {
553
+ display: 'none'
554
+ }
555
+ },
526
556
  [`& .${_gridClasses.gridClasses.cellEmpty}`]: {
527
557
  flex: 1,
528
558
  padding: 0,