@mui/x-data-grid 9.13.0 → 9.15.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.
- package/CHANGELOG.md +325 -0
- package/DataGrid/DataGrid.js +8 -0
- package/DataGrid/DataGrid.mjs +9 -1
- package/DataGrid/useDataGridComponent.js +2 -2
- package/DataGrid/useDataGridComponent.mjs +2 -2
- package/DataGrid/useDataGridProps.mjs +1 -1
- package/colDef/gridActionsColDef.mjs +1 -1
- package/colDef/gridBooleanColDef.mjs +1 -1
- package/colDef/gridCheckboxSelectionColDef.mjs +1 -1
- package/colDef/gridDateColDef.mjs +1 -1
- package/colDef/gridDefaultColumnTypes.mjs +1 -1
- package/colDef/gridLongTextColDef.mjs +1 -1
- package/colDef/gridNumericColDef.mjs +1 -1
- package/colDef/gridSingleSelectColDef.mjs +1 -1
- package/components/GridColumnHeaders.mjs +2 -2
- package/components/GridColumnSortButton.mjs +2 -2
- package/components/GridColumnUnsortedIcon.mjs +2 -2
- package/components/GridFooter.mjs +1 -1
- package/components/GridHeader.mjs +1 -1
- package/components/GridHeaders.mjs +1 -1
- package/components/GridLoadingOverlay.mjs +2 -2
- package/components/GridNoColumnsOverlay.mjs +1 -1
- package/components/GridNoResultsOverlay.mjs +1 -1
- package/components/GridNoRowsOverlay.mjs +1 -1
- package/components/GridPagination.js +9 -1
- package/components/GridPagination.mjs +10 -2
- package/components/GridRow.mjs +2 -2
- package/components/GridRowCount.mjs +2 -2
- package/components/GridRowDragAndDropOverlay.mjs +1 -1
- package/components/GridScrollArea.js +20 -7
- package/components/GridScrollArea.mjs +22 -9
- package/components/GridSelectedRowCount.mjs +2 -2
- package/components/GridShadowScrollArea.mjs +2 -2
- package/components/GridSkeletonLoadingOverlay.mjs +2 -2
- package/components/base/GridFooterPlaceholder.mjs +1 -1
- package/components/base/GridOverlays.js +6 -5
- package/components/base/GridOverlays.mjs +7 -6
- package/components/cell/GridActionsCell.js +55 -52
- package/components/cell/GridActionsCell.mjs +58 -55
- package/components/cell/GridActionsCellItem.d.mts +20 -6
- package/components/cell/GridActionsCellItem.d.ts +20 -6
- package/components/cell/GridActionsCellItem.js +30 -8
- package/components/cell/GridActionsCellItem.mjs +32 -10
- package/components/cell/GridBooleanCell.mjs +2 -2
- package/components/cell/GridCell.js +9 -1
- package/components/cell/GridCell.mjs +11 -3
- package/components/cell/GridEditBooleanCell.mjs +2 -2
- package/components/cell/GridEditDateCell.mjs +2 -2
- package/components/cell/GridEditInputCell.mjs +2 -2
- package/components/cell/GridEditLongTextCell.mjs +1 -1
- package/components/cell/GridEditSingleSelectCell.mjs +2 -2
- package/components/cell/GridFooterCell.mjs +2 -2
- package/components/cell/GridLongTextCell.mjs +1 -1
- package/components/cell/GridSkeletonCell.mjs +2 -2
- package/components/columnHeaders/ColumnHeaderMenuIcon.mjs +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.mjs +2 -2
- package/components/columnHeaders/GridColumnGroupHeader.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderItem.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.d.mts +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +2 -2
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +17 -0
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +18 -1
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +2 -2
- package/components/columnHeaders/GridGenericColumnHeaderItem.mjs +2 -2
- package/components/columnHeaders/GridIconButtonContainer.mjs +2 -2
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +2 -2
- package/components/columnSelection/GridHeaderCheckbox.mjs +2 -2
- package/components/columnSelection/GridRowCheckbox.js +1 -3
- package/components/columnSelection/GridRowCheckbox.mjs +3 -5
- package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +2 -2
- package/components/containers/GridFooterContainer.mjs +2 -2
- package/components/containers/GridOverlay.mjs +2 -2
- package/components/containers/GridRoot.mjs +2 -2
- package/components/containers/GridRootStyles.js +22 -10
- package/components/containers/GridRootStyles.mjs +22 -10
- package/components/containers/GridToolbarContainer.mjs +2 -2
- package/components/export/ExportCsv.mjs +2 -2
- package/components/export/ExportPrint.js +4 -1
- package/components/export/ExportPrint.mjs +6 -3
- package/components/filterPanel/FilterPanelTrigger.mjs +2 -2
- package/components/menu/GridMenu.mjs +2 -2
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +2 -2
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
- package/components/panel/GridColumnsPanel.mjs +1 -1
- package/components/panel/GridPanel.mjs +2 -2
- package/components/panel/GridPanelContent.mjs +2 -2
- package/components/panel/GridPanelContext.mjs +1 -1
- package/components/panel/GridPanelFooter.mjs +2 -2
- package/components/panel/GridPanelHeader.mjs +2 -2
- package/components/panel/GridPanelWrapper.mjs +2 -2
- package/components/panel/GridPreferencesPanel.mjs +1 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
- package/components/panel/filterPanel/GridFilterFormBase.mjs +2 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -12
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +3 -14
- package/components/panel/filterPanel/GridFilterInputDate.mjs +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +2 -2
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +2 -2
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -12
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +3 -14
- package/components/panel/filterPanel/GridFilterInputValue.mjs +2 -2
- package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
- package/components/panel/filterPanel/GridFilterPanelBase.mjs +2 -2
- package/components/panel/filterPanel/filterPanelUtils.mjs +1 -1
- package/components/quickFilter/QuickFilter.js +7 -2
- package/components/quickFilter/QuickFilter.mjs +9 -4
- package/components/quickFilter/QuickFilterClear.js +17 -0
- package/components/quickFilter/QuickFilterClear.mjs +19 -2
- package/components/quickFilter/QuickFilterControl.mjs +2 -2
- package/components/quickFilter/QuickFilterTrigger.mjs +2 -2
- package/components/toolbar/GridToolbar.mjs +2 -2
- package/components/toolbar/GridToolbarColumnsButton.mjs +1 -1
- package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
- package/components/toolbar/GridToolbarExport.js +4 -1
- package/components/toolbar/GridToolbarExport.mjs +6 -3
- package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
- package/components/toolbar/GridToolbarFilterButton.mjs +1 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +2 -2
- package/components/toolbarV8/GridToolbar.mjs +2 -2
- package/components/toolbarV8/Toolbar.mjs +2 -2
- package/components/toolbarV8/ToolbarButton.js +17 -0
- package/components/toolbarV8/ToolbarButton.mjs +19 -2
- package/components/virtualization/GridBottomContainer.mjs +1 -1
- package/components/virtualization/GridMainContainer.mjs +1 -1
- package/components/virtualization/GridTopContainer.mjs +1 -1
- package/components/virtualization/GridVirtualScrollbar.js +2 -2
- package/components/virtualization/GridVirtualScrollbar.mjs +2 -2
- package/components/virtualization/GridVirtualScroller.js +5 -2
- package/components/virtualization/GridVirtualScroller.mjs +6 -3
- package/components/virtualization/GridVirtualScrollerContent.mjs +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.mjs +1 -1
- package/constants/cssVariables.mjs +1 -1
- package/constants/defaultGridSlotsComponents.mjs +1 -1
- package/constants/signature.d.mts +1 -1
- package/constants/signature.d.ts +1 -1
- package/hooks/core/pipeProcessing/useGridPipeProcessing.mjs +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.mjs +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +2 -2
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.mjs +2 -2
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.mts +1 -1
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +1 -1
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +2 -2
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +2 -2
- package/hooks/core/strategyProcessing/useGridStrategyProcessing.mjs +2 -2
- package/hooks/core/useGridApiInitialization.js +1 -1
- package/hooks/core/useGridApiInitialization.mjs +1 -1
- package/hooks/core/useGridIsRtl.mjs +1 -1
- package/hooks/core/useGridProps.mjs +1 -1
- package/hooks/core/useGridStateInitialization.mjs +1 -1
- package/hooks/core/useGridVirtualizer.d.mts +2 -2
- package/hooks/core/useGridVirtualizer.d.ts +2 -2
- package/hooks/core/useGridVirtualizer.js +6 -6
- package/hooks/core/useGridVirtualizer.mjs +4 -4
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.mjs +2 -2
- package/hooks/features/columnGrouping/useGridColumnGrouping.mjs +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.mjs +1 -1
- package/hooks/features/columnMenu/getColumnMenuItemKeys.mjs +1 -1
- package/hooks/features/columnMenu/useGridColumnMenu.mjs +1 -1
- package/hooks/features/columnMenu/useGridColumnMenuSlots.mjs +2 -2
- package/hooks/features/columnResize/useGridColumnResize.js +4 -1
- package/hooks/features/columnResize/useGridColumnResize.mjs +5 -2
- package/hooks/features/columns/gridColumnsInterfaces.d.mts +1 -1
- package/hooks/features/columns/gridColumnsInterfaces.d.ts +1 -1
- package/hooks/features/columns/gridColumnsUtils.d.mts +1 -1
- package/hooks/features/columns/gridColumnsUtils.d.ts +1 -1
- package/hooks/features/columns/gridColumnsUtils.mjs +1 -1
- package/hooks/features/columns/useGridColumns.js +1 -1
- package/hooks/features/columns/useGridColumns.mjs +2 -2
- package/hooks/features/dataSource/cache.js +1 -1
- package/hooks/features/dataSource/cache.mjs +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.js +14 -29
- package/hooks/features/dataSource/useGridDataSourceBase.mjs +17 -32
- package/hooks/features/dataSource/useGridDataSourcePolling.d.mts +29 -0
- package/hooks/features/dataSource/useGridDataSourcePolling.d.ts +29 -0
- package/hooks/features/dataSource/useGridDataSourcePolling.js +62 -0
- package/hooks/features/dataSource/useGridDataSourcePolling.mjs +54 -0
- package/hooks/features/dataSource/utils.d.mts +1 -1
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/dataSource/utils.mjs +1 -1
- package/hooks/features/density/useGridDensity.mjs +1 -1
- package/hooks/features/dimensions/useGridDimensions.d.mts +1 -1
- package/hooks/features/dimensions/useGridDimensions.d.ts +1 -1
- package/hooks/features/dimensions/useGridDimensions.js +3 -3
- package/hooks/features/dimensions/useGridDimensions.mjs +3 -3
- package/hooks/features/editing/useGridCellEditing.js +1 -1
- package/hooks/features/editing/useGridCellEditing.mjs +5 -5
- package/hooks/features/editing/useGridEditing.mjs +1 -1
- package/hooks/features/editing/useGridRowEditing.js +1 -1
- package/hooks/features/editing/useGridRowEditing.mjs +5 -5
- package/hooks/features/export/serializers/csvSerializer.js +5 -5
- package/hooks/features/export/serializers/csvSerializer.mjs +5 -5
- package/hooks/features/export/useGridPrintExport.js +44 -20
- package/hooks/features/export/useGridPrintExport.mjs +45 -21
- package/hooks/features/filter/gridFilterUtils.js +3 -3
- package/hooks/features/filter/gridFilterUtils.mjs +5 -5
- package/hooks/features/filter/useGridFilter.js +2 -2
- package/hooks/features/filter/useGridFilter.mjs +3 -3
- package/hooks/features/focus/useGridFocus.mjs +1 -1
- package/hooks/features/headerFiltering/useGridHeaderFiltering.mjs +1 -1
- package/hooks/features/listView/useGridListView.d.mts +2 -2
- package/hooks/features/listView/useGridListView.d.ts +2 -2
- package/hooks/features/listView/useGridListView.js +1 -1
- package/hooks/features/listView/useGridListView.mjs +2 -2
- package/hooks/features/pagination/useGridPagination.mjs +1 -1
- package/hooks/features/pagination/useGridPaginationMeta.mjs +1 -1
- package/hooks/features/pagination/useGridPaginationModel.mjs +1 -1
- package/hooks/features/pagination/useGridRowCount.js +2 -2
- package/hooks/features/pagination/useGridRowCount.mjs +2 -2
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.mts +1 -1
- package/hooks/features/preferencesPanel/gridPreferencePanelsValue.d.ts +1 -1
- package/hooks/features/preferencesPanel/useGridPreferencesPanel.mjs +1 -1
- package/hooks/features/rowSelection/useGridRowSelection.d.mts +1 -1
- package/hooks/features/rowSelection/useGridRowSelection.d.ts +1 -1
- package/hooks/features/rowSelection/useGridRowSelection.js +50 -9
- package/hooks/features/rowSelection/useGridRowSelection.mjs +52 -11
- package/hooks/features/rowSelection/useGridRowSelectionPreProcessors.mjs +1 -1
- package/hooks/features/rowSelection/utils.js +5 -0
- package/hooks/features/rowSelection/utils.mjs +5 -0
- package/hooks/features/rows/gridRowsUtils.js +2 -2
- package/hooks/features/rows/gridRowsUtils.mjs +3 -3
- package/hooks/features/rows/useGridRowSpanning.mjs +1 -1
- package/hooks/features/rows/useGridRows.mjs +1 -1
- package/hooks/features/rows/useGridRowsMeta.mjs +1 -1
- package/hooks/features/rows/useGridRowsOverridableMethods.mjs +1 -1
- package/hooks/features/rows/useGridRowsPreProcessors.mjs +1 -1
- package/hooks/features/sorting/gridSortingUtils.js +1 -1
- package/hooks/features/sorting/gridSortingUtils.mjs +3 -3
- package/hooks/features/sorting/useGridSorting.js +2 -2
- package/hooks/features/sorting/useGridSorting.mjs +3 -3
- package/hooks/features/virtualization/gridFocusedVirtualCellSelector.mjs +1 -1
- package/hooks/features/virtualization/useGridVirtualization.mjs +1 -1
- package/hooks/utils/index.d.mts +1 -1
- package/hooks/utils/index.d.ts +1 -1
- package/hooks/utils/index.js +8 -12
- package/hooks/utils/index.mjs +2 -1
- package/hooks/utils/useGridSelector.js +2 -2
- package/hooks/utils/useGridSelector.mjs +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/constants.d.mts +1 -1
- package/internals/constants.d.ts +1 -1
- package/internals/index.d.mts +1 -0
- package/internals/index.d.ts +1 -0
- package/internals/index.js +8 -0
- package/internals/index.mjs +1 -0
- package/internals/utils/cache.d.mts +0 -1
- package/internals/utils/cache.d.ts +0 -1
- package/internals/utils/cache.js +1 -3
- package/internals/utils/cache.mjs +1 -3
- package/internals/utils/computeSlots.mjs +1 -1
- package/internals/utils/propValidation.js +2 -2
- package/internals/utils/propValidation.mjs +3 -3
- package/material/index.mjs +2 -2
- package/models/api/gridCoreApi.d.mts +1 -1
- package/models/api/gridCoreApi.d.ts +1 -1
- package/models/api/gridEditingApi.d.mts +6 -6
- package/models/api/gridEditingApi.d.ts +6 -6
- package/models/api/gridPrintExportApi.d.mts +2 -1
- package/models/api/gridPrintExportApi.d.ts +2 -1
- package/models/events/gridEventLookup.d.mts +5 -5
- package/models/events/gridEventLookup.d.ts +5 -5
- package/models/gridBaseSlots.d.mts +18 -1
- package/models/gridBaseSlots.d.ts +18 -1
- package/models/gridEditRowModel.d.mts +3 -3
- package/models/gridEditRowModel.d.ts +3 -3
- package/models/gridExport.d.mts +13 -0
- package/models/gridExport.d.ts +13 -0
- package/models/gridFilterItem.d.mts +2 -2
- package/models/gridFilterItem.d.ts +2 -2
- package/models/index.d.mts +2 -1
- package/models/index.d.ts +2 -1
- package/models/params/gridEditCellParams.d.mts +2 -2
- package/models/params/gridEditCellParams.d.ts +2 -2
- package/models/params/gridRowParams.d.mts +2 -2
- package/models/params/gridRowParams.d.ts +2 -2
- package/models/props/DataGridProps.d.mts +8 -0
- package/models/props/DataGridProps.d.ts +8 -0
- package/package.json +6 -6
- package/utils/createSelector.d.mts +1 -1
- package/utils/createSelector.d.ts +1 -1
- package/utils/createSelector.js +1 -1
- package/utils/createSelector.mjs +1 -1
- package/hooks/utils/useFirstRender.d.mts +0 -1
- package/hooks/utils/useFirstRender.d.ts +0 -1
- package/hooks/utils/useFirstRender.js +0 -16
- package/hooks/utils/useFirstRender.mjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,330 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.15.0
|
|
4
|
+
|
|
5
|
+
_Oct 6, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🌍 Add Russian (ru-RU) locale to the Scheduler
|
|
10
|
+
- 📐 New `height` prop to size the Data Grid without a wrapper
|
|
11
|
+
- 📅 New `onCancel` callback prop on the Date and Time Pickers
|
|
12
|
+
- ⌨️ Home/End, Ctrl+Home/End, and PageUp/PageDown keyboard navigation in the Charts
|
|
13
|
+
- 🔒 Data Grid and Charts exports work under a Content Security Policy
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
|
|
17
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
18
|
+
@Anexus5919, @davidjb, @kwy404, @mixelburg, @Sazuru
|
|
19
|
+
|
|
20
|
+
The following team members contributed to this release:
|
|
21
|
+
@arminmeh, @brijeshb42, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @mapache-salvaje, @michelengelen, @noraleonte, @rita-codes, @romgrk, @siriwatknp
|
|
22
|
+
|
|
23
|
+
### Data Grid
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid@9.15.0`
|
|
26
|
+
|
|
27
|
+
- [DataGrid] Add `height` prop for sizing without a wrapper (#23628) @michelengelen
|
|
28
|
+
- [DataGrid] Cap the pagination toolbar so the footer height is stable on mount (#23547) @JCQuintas
|
|
29
|
+
- [DataGrid] Document `rowsSet`, `filteredRowsSet` & `sortedRowsSet` events (#23631) @michelengelen
|
|
30
|
+
- [DataGrid] Extract the data source polling into a shared hook (#23714) @LukasTy
|
|
31
|
+
- [DataGrid] Fix `autosizeColumns` with wrapped header text (#23241) @siriwatknp
|
|
32
|
+
- [DataGrid] Fix flex column jump when a detail panel expands (#23576) @michelengelen
|
|
33
|
+
- [DataGrid] Fix stale columns and stalled loading in the demo data generator (#23727) @LukasTy
|
|
34
|
+
- [DataGrid] Fix stale rows and lost edits in `useMockServer` (#23751) @LukasTy
|
|
35
|
+
- [DataGrid] Fix the `height` prop overflowing a narrow flex row parent (#23745) @LukasTy
|
|
36
|
+
- [DataGrid] Fix the `inputRef` prop type warning in select-based filter inputs (#23728) @LukasTy
|
|
37
|
+
- [DataGrid] Keep empty first and last cells when copying rows (#23753) @Anexus5919
|
|
38
|
+
- [DataGrid] Keep pinned cells opaque without `color-mix()` support (#23563) @michelengelen
|
|
39
|
+
- [DataGrid] Let the theme disable the row checkbox ripple (#23703) @siriwatknp
|
|
40
|
+
- [DataGrid] Stop the data source polling after the grid unmounts (#23709) @LukasTy
|
|
41
|
+
- [DataGrid] Stop the lazy loading polling when `lazyLoading` turns off (#23717) @LukasTy
|
|
42
|
+
- [DataGrid] Support `href` on `GridActionsCellItem` (#23630) @michelengelen
|
|
43
|
+
|
|
44
|
+
#### `@mui/x-data-grid-pro@9.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
45
|
+
|
|
46
|
+
Same changes as in `@mui/x-data-grid@9.15.0`.
|
|
47
|
+
|
|
48
|
+
#### `@mui/x-data-grid-premium@9.15.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
49
|
+
|
|
50
|
+
Same changes as in `@mui/x-data-grid-pro@9.15.0`, plus:
|
|
51
|
+
|
|
52
|
+
- [DataGridPremium] Clear the aggregation from the column menu (#23641) @Anexus5919
|
|
53
|
+
- [DataGridPremium] Fix exports failing or hanging under a Content Security Policy (#23521) @JCQuintas
|
|
54
|
+
|
|
55
|
+
### Date and Time Pickers
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-date-pickers@9.15.0`
|
|
58
|
+
|
|
59
|
+
- [fields] Focus the section synchronously on `mousedown` (#23642) @michelengelen
|
|
60
|
+
- [pickers] Add `onCancel` callback prop (#23669) @michelengelen
|
|
61
|
+
- [pickers] Fix `TimeClock` `PageUp` and `PageDown` at noon (#23741) @kwy404
|
|
62
|
+
- [pickers] Fix `getDaysInMonth` on dates bound to a timezone before 1970 (#23302) @JCQuintas
|
|
63
|
+
- [pickers] Fix month label jump when switching months fast (#23645) @michelengelen
|
|
64
|
+
- [pickers] Fix singular/plural clock number ARIA labels (#23683) @michelengelen
|
|
65
|
+
- [pickers] Fix the uncontrolled `defaultValue` change warning (#23702) @LukasTy
|
|
66
|
+
- [pickers] Migrate picker hooks to the `manager` pattern (#23684) @michelengelen
|
|
67
|
+
- [pickers] Preserve plain Day.js values across system DST changes (#22278) @LukasTy
|
|
68
|
+
|
|
69
|
+
#### `@mui/x-date-pickers-pro@9.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
70
|
+
|
|
71
|
+
Same changes as in `@mui/x-date-pickers@9.15.0`.
|
|
72
|
+
|
|
73
|
+
### Charts
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-charts@9.15.0`
|
|
76
|
+
|
|
77
|
+
- [charts] Add Home/End, Ctrl+Home/End, and PageUp/PageDown keyboard navigation (#23146) @JCQuintas
|
|
78
|
+
- [charts] Disable the `SparkLineChart` axis listener when nothing uses it (#23681) @Anexus5919
|
|
79
|
+
- [charts] Fix `Unsupported style property @media` warning with responsive theme typography (#23705) @noraleonte
|
|
80
|
+
- [charts] Pass `SparkLineChart` container props to the data provider (#23690) @mixelburg
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-charts-pro@9.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-charts@9.15.0`, plus:
|
|
85
|
+
|
|
86
|
+
- [charts-pro] Fix image export under a CSP when styles come only from `<link>` stylesheets (#23721) @Anexus5919
|
|
87
|
+
- [charts-pro] Fix exports failing or hanging under a Content Security Policy (#23521) @JCQuintas
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-charts-premium@9.15.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
90
|
+
|
|
91
|
+
Same changes as in `@mui/x-charts-pro@9.15.0`, plus:
|
|
92
|
+
|
|
93
|
+
- [charts-premium] Move the Excel export defaults out of the types file (#23643) @JCQuintas
|
|
94
|
+
|
|
95
|
+
### Tree View
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-tree-view@9.15.0`
|
|
98
|
+
|
|
99
|
+
- [tree view] Use `aria-selected` instead of `aria-checked` when `checkboxSelection` is disabled (#23679) @michelengelen
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-tree-view-pro@9.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
102
|
+
|
|
103
|
+
Same changes as in `@mui/x-tree-view@9.15.0`.
|
|
104
|
+
|
|
105
|
+
### Scheduler
|
|
106
|
+
|
|
107
|
+
#### `@mui/x-scheduler@9.0.0-beta.13`
|
|
108
|
+
|
|
109
|
+
- [l10n] Add Russian (ru-RU) locale (#23567) @Sazuru
|
|
110
|
+
- [scheduler] Clamp the placeholder span to the week row (#23734) @rita-codes
|
|
111
|
+
- [scheduler] Fix the agenda view crashing when hiding empty days and no event is in the horizon (#23570) @rita-codes
|
|
112
|
+
- [scheduler] Fix the event dialog moving untouched dates across timezones (#23462) @rita-codes
|
|
113
|
+
- [scheduler] Give events a proper accessible name (#23675) @rita-codes
|
|
114
|
+
- [scheduler] Index events by visible range (#23362) @flaviendelangle
|
|
115
|
+
- [scheduler] Index timeline occurrences by position (#23367) @flaviendelangle
|
|
116
|
+
- [scheduler] Pass the weekday token to the monthly recurrence labels (#23637) @Anexus5919
|
|
117
|
+
- [scheduler] Remove redundant readonly recurrence subscription (#23626) @flaviendelangle
|
|
118
|
+
- [scheduler] Render the event-item recurring icon once (#23621) @flaviendelangle
|
|
119
|
+
- [scheduler] Share custom recurrence draft updates (#23618) @flaviendelangle
|
|
120
|
+
- [scheduler] Share edit and show-details menu item markup (#23627) @flaviendelangle
|
|
121
|
+
- [scheduler] Simplify time-grid event duration checks (#23611) @flaviendelangle
|
|
122
|
+
|
|
123
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.13` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
124
|
+
|
|
125
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.13`, plus:
|
|
126
|
+
|
|
127
|
+
- [scheduler-premium] Dependencies - SS/FF/SF and lag in the auto-scheduling engine (#23623) @rita-codes
|
|
128
|
+
- [scheduler-premium] Read the RRULE `UNTIL` as a UTC instant (#23739) @rita-codes
|
|
129
|
+
- [scheduler-premium] Read the `body2` font size unit in the timeline row height (#23736) @rita-codes
|
|
130
|
+
|
|
131
|
+
### Chat
|
|
132
|
+
|
|
133
|
+
#### `@mui/x-chat@9.0.0-alpha.19`
|
|
134
|
+
|
|
135
|
+
- [chat] Cap markdown input length to avoid a render-thread freeze (#23008) @Anexus5919
|
|
136
|
+
- [chat] Distinguish "history not loaded yet" from "empty conversation" (#23607) @JCQuintas
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.19`
|
|
139
|
+
|
|
140
|
+
- [chat] Distinguish "history not loaded yet" from "empty conversation" (#23607) @JCQuintas
|
|
141
|
+
|
|
142
|
+
### Codemod
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-codemod@9.15.0`
|
|
145
|
+
|
|
146
|
+
Internal changes.
|
|
147
|
+
|
|
148
|
+
### Docs
|
|
149
|
+
|
|
150
|
+
- [DataGrid] Make product comparisons more explicit on Overview page (#22696) @mapache-salvaje
|
|
151
|
+
- [tree view] Fix typo on Customization page (#23691) @davidjb
|
|
152
|
+
|
|
153
|
+
### Core
|
|
154
|
+
|
|
155
|
+
- [code-infra] Cap typecheck concurrency and remove `typescript:ci` (#23731) @Janpot
|
|
156
|
+
- [code-infra] Clear the demo data caches between regression routes (#23747) @Janpot
|
|
157
|
+
- [code-infra] Enable pnpm `autoDedupe` (#23706) @LukasTy
|
|
158
|
+
- [code-infra] Fix the stale `@types/node` entry in the lockfile (#23742) @LukasTy
|
|
159
|
+
- [code-infra] Mark the Argos reference branch for release branch cuts (#23776) @Janpot
|
|
160
|
+
- [code-infra] Only fake timers while a regression test case mounts (#23748) @Janpot
|
|
161
|
+
- [code-infra] Widen `@babel/runtime` range and stop emitting empty class fields (#23707) @brijeshb42
|
|
162
|
+
- [docs-infra] Migrate deploy-succeeded to event-triggered function (#23634) @brijeshb42
|
|
163
|
+
- [docs-infra] Retire the docs service worker (#23674) @Janpot
|
|
164
|
+
|
|
165
|
+
### Miscellaneous
|
|
166
|
+
|
|
167
|
+
- [ci] Flake-fix caller: follow mui-public's central model default (#23680) @Janpot
|
|
168
|
+
- [internals] Fix `hash` word indexing and buffer sizing (#23494) @romgrk
|
|
169
|
+
- [test] Fix regression flake when an aborted image errors mid-wait (#23708) @JCQuintas
|
|
170
|
+
- [test] Fix the flaky data grid export tests (#23720) @LukasTy
|
|
171
|
+
- [test] Fix the flaky detail panel flex width test on React 18 (#23710) @LukasTy
|
|
172
|
+
- [test] Load the regression fonts from npm instead of Google Fonts (#23775) @Janpot
|
|
173
|
+
- [test] Make regression screenshot rasterization deterministic (#23722) @LukasTy
|
|
174
|
+
- [test] Wait for the Mars texture before the `MarsMap` regression screenshot (#23730) @LukasTy
|
|
175
|
+
- [virtualizer] Do not affect `columnPositions` selector with unrelated state change (#23629) @arminmeh
|
|
176
|
+
- [x-internals] Import Base UI utils directly instead of re-exporting them (#23373) @romgrk
|
|
177
|
+
- [x-internals] Import the store from `@base-ui/utils` directly (#23335) @romgrk
|
|
178
|
+
|
|
179
|
+
## 9.14.0
|
|
180
|
+
|
|
181
|
+
_Sep 17, 2026_
|
|
182
|
+
|
|
183
|
+
We'd like to extend a big thank you to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
184
|
+
|
|
185
|
+
- 🌍 Add Hebrew (he-IL) locale to the Scheduler
|
|
186
|
+
- 📅 Scheduler time grid now opens at 7 AM by default, configurable with the new `initialScrollTime` prop
|
|
187
|
+
- 🗓️ Auto-scheduling engine for finish-to-start dependencies in the Premium Event Timeline
|
|
188
|
+
- 🧩 New content slots for the Event Timeline event block and resource title cell
|
|
189
|
+
- ♿️ Charts announce the visible zoom range to screen readers
|
|
190
|
+
- 🐞 Bugfixes
|
|
191
|
+
- 📚 Documentation improvements
|
|
192
|
+
|
|
193
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
194
|
+
@eterry1388, @jamesDin, @kareem-ib, @mateuseap, @mustafajw07
|
|
195
|
+
|
|
196
|
+
The following team members contributed to this release:
|
|
197
|
+
@arminmeh, @bernardobelchior, @brijeshb42, @flaviendelangle, @hasdfa, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes
|
|
198
|
+
|
|
199
|
+
### Data Grid
|
|
200
|
+
|
|
201
|
+
#### `@mui/x-data-grid@9.14.0`
|
|
202
|
+
|
|
203
|
+
- [DataGrid] Do not crash on unmount when the document has no body (#23431) @eterry1388
|
|
204
|
+
- [DataGrid] Fix `MissingRowIdError` on cell `mousedown`/`mouseup` after row removal (#23261) @kareem-ib
|
|
205
|
+
- [DataGrid] Fix quick filter dropping a pending search on parser identity change (#23575) @michelengelen
|
|
206
|
+
- [DataGrid] Keep overlays sticky in RTL mode (#23492) @arminmeh
|
|
207
|
+
- [DataGrid] Prevent scroll area state update before mount (#23478) @michelengelen
|
|
208
|
+
- [DataGrid] Remove `'menu'` role from the actions cell (#23437) @michelengelen
|
|
209
|
+
|
|
210
|
+
#### `@mui/x-data-grid-pro@9.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
211
|
+
|
|
212
|
+
Same changes as in `@mui/x-data-grid@9.14.0`, plus:
|
|
213
|
+
|
|
214
|
+
- [DataGridPro] Fix data integrity issue in nested server data (#23518) @MBilalShafi
|
|
215
|
+
- [DataGridPro] Keep parent selection when lazily loaded children arrive (#23421) @michelengelen
|
|
216
|
+
|
|
217
|
+
#### `@mui/x-data-grid-premium@9.14.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
218
|
+
|
|
219
|
+
Same changes as in `@mui/x-data-grid-pro@9.14.0`.
|
|
220
|
+
|
|
221
|
+
### Date and Time Pickers
|
|
222
|
+
|
|
223
|
+
#### `@mui/x-date-pickers@9.14.0`
|
|
224
|
+
|
|
225
|
+
Internal changes.
|
|
226
|
+
|
|
227
|
+
#### `@mui/x-date-pickers-pro@9.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
228
|
+
|
|
229
|
+
Same changes as in `@mui/x-date-pickers@9.14.0`.
|
|
230
|
+
|
|
231
|
+
### Charts
|
|
232
|
+
|
|
233
|
+
#### `@mui/x-charts@9.14.0`
|
|
234
|
+
|
|
235
|
+
- [charts] Announce the visible zoom range to screen readers (#23371) @JCQuintas
|
|
236
|
+
- [charts] Fix Premium chart zoom props and `apiRef` forwarding (#23590) @bernardobelchior
|
|
237
|
+
|
|
238
|
+
#### `@mui/x-charts-pro@9.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
239
|
+
|
|
240
|
+
Same changes as in `@mui/x-charts@9.14.0`.
|
|
241
|
+
|
|
242
|
+
#### `@mui/x-charts-premium@9.14.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
243
|
+
|
|
244
|
+
Same changes as in `@mui/x-charts-pro@9.14.0`, plus:
|
|
245
|
+
|
|
246
|
+
- [charts-premium] Add the Excel data extraction layer (#23569) @JCQuintas
|
|
247
|
+
- [charts-premium] Forward `apiRef` on `RadialBarChart` and `RadialLineChart` (#23625) @JCQuintas
|
|
248
|
+
|
|
249
|
+
### Tree View
|
|
250
|
+
|
|
251
|
+
#### `@mui/x-tree-view@9.14.0`
|
|
252
|
+
|
|
253
|
+
- [tree view] Optimize lazy loading store writes for nested children (#23489) @noraleonte
|
|
254
|
+
- [tree view] Prune stale children when replacing an item's children (#23598) @JCQuintas
|
|
255
|
+
|
|
256
|
+
#### `@mui/x-tree-view-pro@9.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
257
|
+
|
|
258
|
+
Same changes as in `@mui/x-tree-view@9.14.0`.
|
|
259
|
+
|
|
260
|
+
### Scheduler
|
|
261
|
+
|
|
262
|
+
#### Breaking changes
|
|
263
|
+
|
|
264
|
+
- The `dataSource` prop has been removed from the Community Event Calendar components:
|
|
265
|
+
`EventCalendar`, `StandaloneDayView`, `StandaloneWeekView`, `StandaloneMonthView`,
|
|
266
|
+
`StandaloneAgendaView`, `StandaloneCompactDayView`, `StandaloneCompactThreeDayView` and
|
|
267
|
+
`StandaloneCompactWeekView`.
|
|
268
|
+
|
|
269
|
+
Lazy loading has always been Premium-only, and the prop never had any effect on these
|
|
270
|
+
components: it left the calendar in a permanent loading state. To load events through a data
|
|
271
|
+
source, use `EventCalendarPremium` (or the Premium standalone views) and `EventTimelinePremium`,
|
|
272
|
+
where `dataSource` is unchanged.
|
|
273
|
+
|
|
274
|
+
```diff
|
|
275
|
+
-import { EventCalendar } from '@mui/x-scheduler/event-calendar';
|
|
276
|
+
+import { EventCalendarPremium } from '@mui/x-scheduler-premium/event-calendar-premium';
|
|
277
|
+
|
|
278
|
+
-<EventCalendar dataSource={dataSource} />
|
|
279
|
+
+<EventCalendarPremium dataSource={dataSource} />
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
#### `@mui/x-scheduler@9.0.0-beta.12`
|
|
283
|
+
|
|
284
|
+
- [l10n] Add Hebrew (he-IL) locale (#23577) @jamesDin
|
|
285
|
+
- [scheduler] Add content slots for the Event Timeline event block and resource title cell (#23557) @rita-codes
|
|
286
|
+
- [scheduler] Fix `onPreferencesChange` never being called on `EventCalendar` (#23568) @rita-codes
|
|
287
|
+
- [scheduler] Fix flaky timeline observer absorb (#23523) @JCQuintas
|
|
288
|
+
- [scheduler] Open the time grid at 7 AM by default and add `initialScrollTime` (#23594) @rita-codes
|
|
289
|
+
- [scheduler] Pin sibling scheduler packages to exact versions (#23574) @rita-codes
|
|
290
|
+
- [scheduler] Read form initialization settings without subscriptions (#23614) @flaviendelangle
|
|
291
|
+
- [scheduler] Remove `dataSource` from the Community components (#23483) @mustafajw07
|
|
292
|
+
- [scheduler] Remove redundant recurrence subscriptions (#23610) @flaviendelangle
|
|
293
|
+
- [scheduler] Remove unused more-events popover count (#23619) @flaviendelangle
|
|
294
|
+
- [scheduler] Remove unused refs (#23616) @flaviendelangle
|
|
295
|
+
- [scheduler] Reuse precomputed timeline duration (#23620) @flaviendelangle
|
|
296
|
+
- [scheduler] Reuse recurrence option labels (#23609) @flaviendelangle
|
|
297
|
+
- [scheduler] Reuse recurrence presets for form drafts (#23615) @flaviendelangle
|
|
298
|
+
- [scheduler] Simplify month-view overflow counting (#23617) @flaviendelangle
|
|
299
|
+
- [scheduler] Use form store state to guard submissions (#23613) @flaviendelangle
|
|
300
|
+
|
|
301
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.12` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
302
|
+
|
|
303
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.12`, plus:
|
|
304
|
+
|
|
305
|
+
- [scheduler-premium] Dependencies - Arrows and terminals for SS, FF and SF (#23524) @rita-codes
|
|
306
|
+
- [scheduler-premium] Dependencies - Auto-scheduling engine (FS) (#23439) @rita-codes
|
|
307
|
+
|
|
308
|
+
### Docs
|
|
309
|
+
|
|
310
|
+
- [DataGrid][docs] Fix "Apply filters on demand" demo (#23602) @mateuseap
|
|
311
|
+
- [docs] Add recipe for getting the tree view's root DOM element via `ref` (#22941) @michelengelen
|
|
312
|
+
- [docs][pickers] Mention `Moment.js` maintenance mode (#23601) @mateuseap
|
|
313
|
+
|
|
314
|
+
### Core
|
|
315
|
+
|
|
316
|
+
- [code-infra] Gate the `DataGridScrollRestoration` screenshot on the horizontal restore (#23527) @JCQuintas
|
|
317
|
+
- [code-infra] Let the `NoColumnsOverlay` demo settle before screenshotting (#23529) @JCQuintas
|
|
318
|
+
- [code-infra] Pin the only-allow version in the preinstall hook (#23551) @Janpot
|
|
319
|
+
- [code-infra] Remove disabled Discord release announcement workflow (#23554) @Janpot
|
|
320
|
+
- [code-infra] Trial: Claude CI flake-fix caller (#23556) @Janpot
|
|
321
|
+
|
|
322
|
+
### Miscellaneous
|
|
323
|
+
|
|
324
|
+
- [chat] Add feedback form to the docs (#23403) @hasdfa
|
|
325
|
+
- [ci] Grant actions: read to the flake-fix caller (#23560) @Janpot
|
|
326
|
+
- [ci] Update flake-fix caller to mui-public#1849 (#23571) @Janpot
|
|
327
|
+
|
|
3
328
|
## 9.13.0
|
|
4
329
|
|
|
5
330
|
<!-- generated comparing v9.12.0..master -->
|
package/DataGrid/DataGrid.js
CHANGED
|
@@ -407,6 +407,14 @@ process.env.NODE_ENV !== "production" ? DataGridRaw.propTypes /* remove-proptype
|
|
|
407
407
|
* @returns {GridRowSpacing} The row spacing values.
|
|
408
408
|
*/
|
|
409
409
|
getRowSpacing: _propTypes.default.func,
|
|
410
|
+
/**
|
|
411
|
+
* The fixed height of the Data Grid.
|
|
412
|
+
* Accepts a number (pixels), a CSS length (for example `'50vh'`), a percentage, or a CSS calculation.
|
|
413
|
+
* Percentage values require a parent with an explicit height.
|
|
414
|
+
* Content-based values such as `'auto'`, `'min-content'`, `'max-content'`, and `'fit-content'` are not supported.
|
|
415
|
+
* For content-based sizing, use a flex parent container instead.
|
|
416
|
+
*/
|
|
417
|
+
height: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
410
418
|
/**
|
|
411
419
|
* If `true`, the footer component is hidden.
|
|
412
420
|
* @default false
|
package/DataGrid/DataGrid.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
@@ -400,6 +400,14 @@ process.env.NODE_ENV !== "production" ? DataGridRaw.propTypes /* remove-proptype
|
|
|
400
400
|
* @returns {GridRowSpacing} The row spacing values.
|
|
401
401
|
*/
|
|
402
402
|
getRowSpacing: PropTypes.func,
|
|
403
|
+
/**
|
|
404
|
+
* The fixed height of the Data Grid.
|
|
405
|
+
* Accepts a number (pixels), a CSS length (for example `'50vh'`), a percentage, or a CSS calculation.
|
|
406
|
+
* Percentage values require a parent with an explicit height.
|
|
407
|
+
* Content-based values such as `'auto'`, `'min-content'`, `'max-content'`, and `'fit-content'` are not supported.
|
|
408
|
+
* For content-based sizing, use a flex parent container instead.
|
|
409
|
+
*/
|
|
410
|
+
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
403
411
|
/**
|
|
404
412
|
* If `true`, the footer component is hidden.
|
|
405
413
|
* @default false
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.useDataGridComponent = void 0;
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var _useOnFirstRender = require("@base-ui/utils/useOnFirstRender");
|
|
11
11
|
var _useGridInitialization = require("../hooks/core/useGridInitialization");
|
|
12
12
|
var _useGridInitializeState = require("../hooks/utils/useGridInitializeState");
|
|
13
13
|
var _useGridClipboard = require("../hooks/features/clipboard/useGridClipboard");
|
|
@@ -101,7 +101,7 @@ const useDataGridComponent = (apiRef, props, configuration) => {
|
|
|
101
101
|
(0, _useGridDataSource.useGridDataSource)(apiRef, props);
|
|
102
102
|
|
|
103
103
|
// Should be the last thing to run, because all pre-processors should have been registered by now.
|
|
104
|
-
(0,
|
|
104
|
+
(0, _useOnFirstRender.useOnFirstRender)(() => {
|
|
105
105
|
apiRef.current.runAppliersForPendingProcessors();
|
|
106
106
|
});
|
|
107
107
|
React.useEffect(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { useOnFirstRender } from '@base-ui/utils/useOnFirstRender';
|
|
5
5
|
import { useGridInitialization } from "../hooks/core/useGridInitialization.mjs";
|
|
6
6
|
import { useGridInitializeState } from "../hooks/utils/useGridInitializeState.mjs";
|
|
7
7
|
import { useGridClipboard } from "../hooks/features/clipboard/useGridClipboard.mjs";
|
|
@@ -95,7 +95,7 @@ export const useDataGridComponent = (apiRef, props, configuration) => {
|
|
|
95
95
|
useGridDataSource(apiRef, props);
|
|
96
96
|
|
|
97
97
|
// Should be the last thing to run, because all pre-processors should have been registered by now.
|
|
98
|
-
|
|
98
|
+
useOnFirstRender(() => {
|
|
99
99
|
apiRef.current.runAppliersForPendingProcessors();
|
|
100
100
|
});
|
|
101
101
|
React.useEffect(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
|
|
3
3
|
import { renderActionsCell } from "../components/cell/GridActionsCell.mjs";
|
|
4
4
|
export const GRID_ACTIONS_COLUMN_TYPE = 'actions';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
|
|
3
3
|
import { renderBooleanCell } from "../components/cell/GridBooleanCell.mjs";
|
|
4
4
|
import { renderEditBooleanCell } from "../components/cell/GridEditBooleanCell.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { GridCellCheckboxRenderer } from "../components/columnSelection/GridCellCheckboxRenderer.mjs";
|
|
3
3
|
import { GridHeaderCheckbox } from "../components/columnSelection/GridHeaderCheckbox.mjs";
|
|
4
4
|
import { GRID_BOOLEAN_COL_DEF } from "./gridBooleanColDef.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
3
3
|
import { gridDateComparator } from "../hooks/features/sorting/gridSortingUtils.mjs";
|
|
4
4
|
import { getGridDateOperators } from "./gridDateOperators.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { getGridColumnTypesRegistry } from "./gridColumnTypesRegistry.mjs";
|
|
3
3
|
export { DEFAULT_GRID_COL_TYPE_KEY } from "./gridColumnTypesRegistry.mjs";
|
|
4
4
|
export const getGridDefaultColumnTypes = () => _extends({}, getGridColumnTypesRegistry());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
|
|
3
3
|
import { renderLongTextCell } from "../components/cell/GridLongTextCell.mjs";
|
|
4
4
|
import { renderEditLongTextCell } from "../components/cell/GridEditLongTextCell.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { gridNumberComparator } from "../hooks/features/sorting/gridSortingUtils.mjs";
|
|
3
3
|
import { isNumber } from "../utils/utils.mjs";
|
|
4
4
|
import { getGridNumericOperators, getGridNumericQuickFilterFn } from "./gridNumericOperators.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import { GRID_STRING_COL_DEF } from "./gridStringColDef.mjs";
|
|
3
3
|
import { renderEditSingleSelectCell } from "../components/cell/GridEditSingleSelectCell.mjs";
|
|
4
4
|
import { getGridSingleSelectOperators } from "./gridSingleSelectOperators.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
4
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["className", "visibleColumns", "sortColumnLookup", "filterColumnLookup", "columnHeaderTabIndexState", "columnGroupHeaderTabIndexState", "columnHeaderFocus", "columnGroupHeaderFocus", "headerGroupingMaxDepth", "columnMenuState", "columnVisibility", "columnGroupsHeaderStructure", "hasOtherElementInTabSequence"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
2
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
const _excluded = ["direction", "index", "sortingOrder", "disabled", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["sortingOrder"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
6
6
|
import { useGridSelector } from "../hooks/utils/useGridSelector.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useGridRootProps } from "../hooks/utils/useGridRootProps.mjs";
|
|
4
4
|
import { GridPreferencesPanel } from "./panel/GridPreferencesPanel.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import { fastMemo } from '@mui/x-internals/fastMemo';
|
|
5
5
|
import { useGridPrivateApiContext } from "../hooks/utils/useGridPrivateApiContext.mjs";
|
|
6
6
|
import { useGridSelector } from "../hooks/utils/useGridSelector.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
4
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["variant", "noRowsVariant", "style"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
6
6
|
import { useGridRootProps } from "../hooks/utils/useGridRootProps.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
5
5
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.mjs";
|
|
6
6
|
import { GridOverlay } from "./containers/GridOverlay.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
6
6
|
import { useGridApiContext } from "../hooks/utils/useGridApiContext.mjs";
|
|
@@ -22,7 +22,15 @@ const GridPaginationRoot = (0, _styles.styled)(_assert.NotRendered, {
|
|
|
22
22
|
})({
|
|
23
23
|
maxHeight: 'calc(100% + 1px)',
|
|
24
24
|
// border width
|
|
25
|
-
flexGrow: 1
|
|
25
|
+
flexGrow: 1,
|
|
26
|
+
// Leave room for the footer's 1px border inside its 52px minimum. Without this the
|
|
27
|
+
// toolbar's own 52px minimum plus that border makes the footer 53px on the first
|
|
28
|
+
// layout pass, and flex-shrink only reclaims the pixel once the height is definite
|
|
29
|
+
// enough for `maxHeight` above to resolve. Everything sized from the viewport
|
|
30
|
+
// height moves with that late correction.
|
|
31
|
+
'& .MuiToolbar-root': {
|
|
32
|
+
minHeight: 51
|
|
33
|
+
}
|
|
26
34
|
});
|
|
27
35
|
function GridPagination() {
|
|
28
36
|
const apiRef = (0, _useGridApiContext.useGridApiContext)();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { styled } from '@mui/material/styles';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
@@ -15,7 +15,15 @@ const GridPaginationRoot = styled(NotRendered, {
|
|
|
15
15
|
})({
|
|
16
16
|
maxHeight: 'calc(100% + 1px)',
|
|
17
17
|
// border width
|
|
18
|
-
flexGrow: 1
|
|
18
|
+
flexGrow: 1,
|
|
19
|
+
// Leave room for the footer's 1px border inside its 52px minimum. Without this the
|
|
20
|
+
// toolbar's own 52px minimum plus that border makes the footer 53px on the first
|
|
21
|
+
// layout pass, and flex-shrink only reclaims the pixel once the height is definite
|
|
22
|
+
// enough for `maxHeight` above to resolve. Everything sized from the viewport
|
|
23
|
+
// height moves with that late correction.
|
|
24
|
+
'& .MuiToolbar-root': {
|
|
25
|
+
minHeight: 51
|
|
26
|
+
}
|
|
19
27
|
});
|
|
20
28
|
function GridPagination() {
|
|
21
29
|
const apiRef = useGridApiContext();
|
package/components/GridRow.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
4
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["selected", "rowId", "row", "index", "style", "rowHeight", "className", "visibleColumns", "pinnedColumns", "offsetLeft", "columnsTotalWidth", "firstColumnIndex", "lastColumnIndex", "retainedColumnIndexes", "focusedColumnIndex", "isFirstVisible", "isLastVisible", "isNotVisible", "showBottomBorder", "scrollbarWidth", "gridHasFiller", "onClick", "onDoubleClick", "onMouseEnter", "onMouseLeave", "onMouseOut", "onMouseOver"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
4
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["className", "rowCount", "visibleRowCount"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { styled } from '@mui/material/styles';
|
|
6
6
|
import { shouldForwardProp } from '@mui/system/createStyled';
|