@mui/x-data-grid 9.5.0 → 9.7.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 +261 -0
- package/DataGrid/DataGrid.js +75 -14
- package/DataGrid/DataGrid.mjs +75 -14
- package/colDef/gridDateOperators.d.mts +1 -1
- package/colDef/gridDateOperators.d.ts +1 -1
- package/components/GridColumnHeaders.d.mts +1 -1
- package/components/GridColumnHeaders.d.ts +1 -1
- package/components/GridColumnHeaders.js +1 -1
- package/components/GridColumnHeaders.mjs +1 -1
- package/components/GridColumnUnsortedIcon.js +1 -1
- package/components/GridColumnUnsortedIcon.mjs +1 -1
- package/components/GridFooter.d.mts +1 -1
- package/components/GridFooter.d.ts +1 -1
- package/components/GridFooter.js +1 -1
- package/components/GridFooter.mjs +1 -1
- package/components/GridLoadingOverlay.d.mts +1 -1
- package/components/GridLoadingOverlay.d.ts +1 -1
- package/components/GridLoadingOverlay.js +1 -1
- package/components/GridLoadingOverlay.mjs +1 -1
- package/components/GridNoColumnsOverlay.d.mts +1 -1
- package/components/GridNoColumnsOverlay.d.ts +1 -1
- package/components/GridNoColumnsOverlay.js +1 -1
- package/components/GridNoColumnsOverlay.mjs +1 -1
- package/components/GridNoResultsOverlay.d.mts +1 -1
- package/components/GridNoResultsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.d.mts +1 -1
- package/components/GridNoRowsOverlay.d.ts +1 -1
- package/components/GridNoRowsOverlay.js +1 -1
- package/components/GridNoRowsOverlay.mjs +1 -1
- package/components/GridRow.js +1 -1
- package/components/GridRow.mjs +1 -1
- package/components/GridRowCount.d.mts +1 -1
- package/components/GridRowCount.d.ts +1 -1
- package/components/GridRowCount.js +1 -1
- package/components/GridRowCount.mjs +1 -1
- package/components/GridRowDragAndDropOverlay.d.mts +1 -1
- package/components/GridRowDragAndDropOverlay.d.ts +1 -1
- package/components/GridSelectedRowCount.d.mts +1 -1
- package/components/GridSelectedRowCount.d.ts +1 -1
- package/components/GridSelectedRowCount.js +1 -1
- package/components/GridSelectedRowCount.mjs +1 -1
- package/components/GridShadowScrollArea.js +1 -1
- package/components/GridShadowScrollArea.mjs +1 -1
- package/components/cell/GridActionsCell.d.mts +1 -1
- package/components/cell/GridActionsCell.d.ts +1 -1
- package/components/cell/GridActionsCell.js +83 -3
- package/components/cell/GridActionsCell.mjs +83 -3
- package/components/cell/GridActionsCellItem.js +75 -1
- package/components/cell/GridActionsCellItem.mjs +74 -0
- package/components/cell/GridBooleanCell.js +1 -1
- package/components/cell/GridBooleanCell.mjs +1 -1
- package/components/cell/GridCell.d.mts +1 -1
- package/components/cell/GridCell.d.ts +1 -1
- package/components/cell/GridCell.js +3 -11
- package/components/cell/GridCell.mjs +3 -11
- package/components/cell/GridEditBooleanCell.js +1 -1
- package/components/cell/GridEditBooleanCell.mjs +1 -1
- package/components/cell/GridEditDateCell.js +1 -1
- package/components/cell/GridEditDateCell.mjs +1 -1
- package/components/cell/GridEditInputCell.js +68 -0
- package/components/cell/GridEditInputCell.mjs +68 -0
- package/components/cell/GridEditLongTextCell.d.mts +3 -0
- package/components/cell/GridEditLongTextCell.d.ts +3 -0
- package/components/cell/GridEditLongTextCell.js +141 -0
- package/components/cell/GridEditLongTextCell.mjs +141 -0
- package/components/cell/GridEditSingleSelectCell.js +1 -1
- package/components/cell/GridEditSingleSelectCell.mjs +1 -1
- package/components/cell/GridFooterCell.d.mts +1 -1
- package/components/cell/GridFooterCell.d.ts +1 -1
- package/components/cell/GridLongTextCell.d.mts +3 -0
- package/components/cell/GridLongTextCell.d.ts +3 -0
- package/components/cell/GridLongTextCell.js +66 -0
- package/components/cell/GridLongTextCell.mjs +66 -0
- package/components/cell/GridSkeletonCell.js +3 -2
- package/components/cell/GridSkeletonCell.mjs +3 -2
- package/components/columnHeaders/GridBaseColumnHeaders.d.mts +1 -1
- package/components/columnHeaders/GridBaseColumnHeaders.d.ts +1 -1
- package/components/columnHeaders/GridColumnGroupHeader.js +2 -10
- package/components/columnHeaders/GridColumnGroupHeader.mjs +2 -10
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.js +2 -2
- package/components/columnHeaders/GridColumnHeaderFilterIconButton.mjs +2 -2
- package/components/columnHeaders/GridColumnHeaderItem.js +3 -11
- package/components/columnHeaders/GridColumnHeaderItem.mjs +3 -11
- package/components/columnHeaders/GridColumnHeaderSeparator.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSeparator.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.mts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.d.ts +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.js +1 -1
- package/components/columnHeaders/GridColumnHeaderSortIcon.mjs +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -1
- package/components/columnHeaders/GridColumnHeaderTitle.mjs +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.mts +1 -1
- package/components/columnHeaders/GridGenericColumnHeaderItem.d.ts +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -1
- package/components/columnSelection/GridCellCheckboxRenderer.mjs +1 -1
- package/components/columnSelection/GridHeaderCheckbox.js +1 -1
- package/components/columnSelection/GridHeaderCheckbox.mjs +1 -1
- package/components/columnSelection/GridRowCheckbox.js +1 -1
- package/components/columnSelection/GridRowCheckbox.mjs +1 -1
- package/components/columnsManagement/GridColumnsManagement.js +1 -1
- package/components/columnsManagement/GridColumnsManagement.mjs +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.mts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.d.ts +1 -1
- package/components/columnsPanel/ColumnsPanelTrigger.js +3 -3
- package/components/columnsPanel/ColumnsPanelTrigger.mjs +3 -3
- package/components/containers/GridFooterContainer.d.mts +1 -1
- package/components/containers/GridFooterContainer.d.ts +1 -1
- package/components/containers/GridFooterContainer.js +1 -1
- package/components/containers/GridFooterContainer.mjs +1 -1
- package/components/containers/GridOverlay.d.mts +1 -1
- package/components/containers/GridOverlay.d.ts +1 -1
- package/components/containers/GridOverlay.js +1 -1
- package/components/containers/GridOverlay.mjs +1 -1
- package/components/containers/GridRoot.js +1 -1
- package/components/containers/GridRoot.mjs +1 -1
- package/components/containers/GridRootStyles.js +3 -2
- package/components/containers/GridRootStyles.mjs +3 -2
- package/components/containers/GridToolbarContainer.d.mts +1 -1
- package/components/containers/GridToolbarContainer.d.ts +1 -1
- package/components/containers/GridToolbarContainer.js +1 -1
- package/components/containers/GridToolbarContainer.mjs +1 -1
- package/components/export/ExportCsv.d.mts +1 -1
- package/components/export/ExportCsv.d.ts +1 -1
- package/components/export/ExportCsv.js +1 -1
- package/components/export/ExportCsv.mjs +1 -1
- package/components/export/ExportPrint.d.mts +1 -1
- package/components/export/ExportPrint.d.ts +1 -1
- package/components/export/ExportPrint.js +1 -1
- package/components/export/ExportPrint.mjs +1 -1
- package/components/filterPanel/FilterPanelTrigger.d.mts +1 -1
- package/components/filterPanel/FilterPanelTrigger.d.ts +1 -1
- package/components/filterPanel/FilterPanelTrigger.js +3 -3
- package/components/filterPanel/FilterPanelTrigger.mjs +3 -3
- package/components/menu/GridMenu.js +1 -1
- package/components/menu/GridMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.mts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.d.ts +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.js +1 -1
- package/components/menu/columnMenu/GridColumnHeaderMenu.mjs +1 -1
- package/components/menu/columnMenu/GridColumnMenu.js +2 -2
- package/components/menu/columnMenu/GridColumnMenu.mjs +2 -2
- package/components/menu/columnMenu/GridColumnMenuContainer.js +1 -1
- package/components/menu/columnMenu/GridColumnMenuContainer.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuColumnsItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuFilterItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuHideItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuManageItem.mjs +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.js +1 -1
- package/components/menu/columnMenu/menuItems/GridColumnMenuSortItem.mjs +1 -1
- package/components/panel/GridColumnsPanel.d.mts +1 -1
- package/components/panel/GridColumnsPanel.d.ts +1 -1
- package/components/panel/GridPanel.js +1 -1
- package/components/panel/GridPanel.mjs +1 -1
- package/components/panel/GridPanelContent.d.mts +1 -1
- package/components/panel/GridPanelContent.d.ts +1 -1
- package/components/panel/GridPanelContent.js +1 -1
- package/components/panel/GridPanelContent.mjs +1 -1
- package/components/panel/GridPanelContext.d.mts +9 -3
- package/components/panel/GridPanelContext.d.ts +9 -3
- package/components/panel/GridPanelContext.js +40 -7
- package/components/panel/GridPanelContext.mjs +40 -7
- package/components/panel/GridPanelFooter.d.mts +1 -1
- package/components/panel/GridPanelFooter.d.ts +1 -1
- package/components/panel/GridPanelFooter.js +1 -1
- package/components/panel/GridPanelFooter.mjs +1 -1
- package/components/panel/GridPanelHeader.d.mts +1 -1
- package/components/panel/GridPanelHeader.d.ts +1 -1
- package/components/panel/GridPanelHeader.js +1 -1
- package/components/panel/GridPanelHeader.mjs +1 -1
- package/components/panel/GridPanelWrapper.d.mts +1 -1
- package/components/panel/GridPanelWrapper.d.ts +1 -1
- package/components/panel/GridPreferencesPanel.js +4 -6
- package/components/panel/GridPreferencesPanel.mjs +4 -6
- package/components/panel/filterPanel/GridFilterForm.d.mts +2 -1
- package/components/panel/filterPanel/GridFilterForm.d.ts +2 -1
- package/components/panel/filterPanel/GridFilterForm.js +1 -1
- package/components/panel/filterPanel/GridFilterForm.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -1
- package/components/panel/filterPanel/GridFilterInputDate.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputMultipleValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +1 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.mjs +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -1
- package/components/panel/filterPanel/GridFilterInputValue.mjs +1 -1
- package/components/panel/filterPanel/GridFilterPanel.d.mts +2 -2
- package/components/panel/filterPanel/GridFilterPanel.d.ts +2 -2
- package/components/panel/filterPanel/GridFilterPanel.js +1 -1
- package/components/panel/filterPanel/GridFilterPanel.mjs +1 -1
- package/components/quickFilter/QuickFilter.d.mts +2 -2
- package/components/quickFilter/QuickFilter.d.ts +2 -2
- package/components/quickFilter/QuickFilter.js +1 -1
- package/components/quickFilter/QuickFilter.mjs +1 -1
- package/components/quickFilter/QuickFilterClear.d.mts +2 -2
- package/components/quickFilter/QuickFilterClear.d.ts +2 -2
- package/components/quickFilter/QuickFilterClear.js +1 -1
- package/components/quickFilter/QuickFilterClear.mjs +1 -1
- package/components/quickFilter/QuickFilterControl.d.mts +2 -2
- package/components/quickFilter/QuickFilterControl.d.ts +2 -2
- package/components/quickFilter/QuickFilterControl.js +1 -1
- package/components/quickFilter/QuickFilterControl.mjs +1 -1
- package/components/quickFilter/QuickFilterTrigger.d.mts +2 -2
- package/components/quickFilter/QuickFilterTrigger.d.ts +2 -2
- package/components/quickFilter/QuickFilterTrigger.js +1 -1
- package/components/quickFilter/QuickFilterTrigger.mjs +1 -1
- package/components/toolbar/GridToolbar.d.mts +3 -3
- package/components/toolbar/GridToolbar.d.ts +3 -3
- package/components/toolbar/GridToolbar.js +1 -1
- package/components/toolbar/GridToolbar.mjs +1 -1
- package/components/toolbar/GridToolbarColumnsButton.js +3 -3
- package/components/toolbar/GridToolbarColumnsButton.mjs +3 -3
- package/components/toolbar/GridToolbarDensitySelector.js +1 -1
- package/components/toolbar/GridToolbarDensitySelector.mjs +1 -1
- package/components/toolbar/GridToolbarExport.js +3 -3
- package/components/toolbar/GridToolbarExport.mjs +3 -3
- package/components/toolbar/GridToolbarExportContainer.js +1 -1
- package/components/toolbar/GridToolbarExportContainer.mjs +1 -1
- package/components/toolbar/GridToolbarFilterButton.js +3 -3
- package/components/toolbar/GridToolbarFilterButton.mjs +3 -3
- package/components/toolbar/GridToolbarQuickFilter.js +1 -1
- package/components/toolbar/GridToolbarQuickFilter.mjs +1 -1
- package/components/toolbarV8/GridToolbar.js +8 -3
- package/components/toolbarV8/GridToolbar.mjs +8 -3
- package/components/toolbarV8/Toolbar.d.mts +1 -1
- package/components/toolbarV8/Toolbar.d.ts +1 -1
- package/components/toolbarV8/Toolbar.js +1 -1
- package/components/toolbarV8/Toolbar.mjs +1 -1
- package/components/toolbarV8/ToolbarButton.d.mts +1 -1
- package/components/toolbarV8/ToolbarButton.d.ts +1 -1
- package/components/toolbarV8/ToolbarButton.js +1 -1
- package/components/toolbarV8/ToolbarButton.mjs +1 -1
- package/components/virtualization/GridVirtualScrollbar.js +8 -1
- package/components/virtualization/GridVirtualScrollbar.mjs +8 -1
- package/components/virtualization/GridVirtualScroller.js +12 -0
- package/components/virtualization/GridVirtualScroller.mjs +12 -0
- package/components/virtualization/GridVirtualScrollerContent.d.mts +1 -1
- package/components/virtualization/GridVirtualScrollerContent.d.ts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.mts +1 -1
- package/components/virtualization/GridVirtualScrollerRenderZone.d.ts +1 -1
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +7 -1
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.mjs +7 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.mts +1 -1
- package/hooks/features/columnGrouping/gridColumnGroupsUtils.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.mts +2 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +2 -1
- package/hooks/features/columnResize/useGridColumnResize.js +56 -2
- package/hooks/features/columnResize/useGridColumnResize.mjs +57 -3
- package/hooks/features/columns/gridColumnsSelector.d.mts +1 -1
- package/hooks/features/columns/gridColumnsSelector.d.ts +1 -1
- package/hooks/features/dimensions/useGridDimensions.js +3 -3
- package/hooks/features/dimensions/useGridDimensions.mjs +3 -3
- package/hooks/features/editing/gridEditingSelectors.d.mts +1 -1
- package/hooks/features/editing/gridEditingSelectors.d.ts +1 -1
- package/hooks/features/editing/gridEditingSelectors.mjs +0 -1
- package/hooks/features/editing/utils.d.mts +1 -1
- package/hooks/features/editing/utils.d.ts +1 -1
- package/hooks/features/editing/utils.js +1 -1
- package/hooks/features/editing/utils.mjs +1 -1
- package/hooks/features/filter/gridFilterState.d.mts +1 -1
- package/hooks/features/filter/gridFilterState.d.ts +1 -1
- package/hooks/features/filter/gridFilterUtils.d.mts +2 -2
- package/hooks/features/filter/gridFilterUtils.d.ts +2 -2
- package/hooks/features/focus/useGridFocus.js +2 -10
- package/hooks/features/focus/useGridFocus.mjs +2 -10
- package/hooks/features/rowSelection/useGridRowSelection.js +0 -3
- package/hooks/features/rowSelection/useGridRowSelection.mjs +0 -3
- package/hooks/features/rows/gridRowSpanningUtils.d.mts +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.js +1 -1
- package/hooks/features/rows/gridRowSpanningUtils.mjs +1 -1
- package/hooks/features/rows/gridRowsUtils.d.mts +1 -1
- package/hooks/features/rows/gridRowsUtils.d.ts +1 -1
- package/hooks/features/rows/gridRowsUtils.js +5 -3
- package/hooks/features/rows/gridRowsUtils.mjs +5 -3
- package/hooks/features/virtualization/useGridVirtualization.d.mts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.d.ts +1 -1
- package/hooks/features/virtualization/useGridVirtualization.js +2 -2
- package/hooks/features/virtualization/useGridVirtualization.mjs +2 -2
- package/hooks/utils/useGridSelector.js +1 -1
- package/hooks/utils/useGridSelector.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/locales/arSD.d.mts +1 -1
- package/locales/arSD.d.ts +1 -1
- package/locales/beBY.d.mts +1 -1
- package/locales/beBY.d.ts +1 -1
- package/locales/bgBG.d.mts +1 -1
- package/locales/bgBG.d.ts +1 -1
- package/locales/bnBD.d.mts +1 -1
- package/locales/bnBD.d.ts +1 -1
- package/locales/caES.d.mts +1 -1
- package/locales/caES.d.ts +1 -1
- package/locales/csCZ.d.mts +1 -1
- package/locales/csCZ.d.ts +1 -1
- package/locales/daDK.d.mts +1 -1
- package/locales/daDK.d.ts +1 -1
- package/locales/deDE.d.mts +1 -1
- package/locales/deDE.d.ts +1 -1
- package/locales/elGR.d.mts +1 -1
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.mts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/esES.d.mts +1 -1
- package/locales/esES.d.ts +1 -1
- package/locales/faIR.d.mts +1 -1
- package/locales/faIR.d.ts +1 -1
- package/locales/fiFI.d.mts +1 -1
- package/locales/fiFI.d.ts +1 -1
- package/locales/frFR.d.mts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/heIL.d.mts +1 -1
- package/locales/heIL.d.ts +1 -1
- package/locales/huHU.d.mts +1 -1
- package/locales/huHU.d.ts +1 -1
- package/locales/hyAM.d.mts +1 -1
- package/locales/hyAM.d.ts +1 -1
- package/locales/idID.d.mts +1 -1
- package/locales/idID.d.ts +1 -1
- package/locales/isIS.d.mts +1 -1
- package/locales/isIS.d.ts +1 -1
- package/locales/itIT.d.mts +1 -1
- package/locales/itIT.d.ts +1 -1
- package/locales/jaJP.d.mts +1 -1
- package/locales/jaJP.d.ts +1 -1
- package/locales/koKR.d.mts +1 -1
- package/locales/koKR.d.ts +1 -1
- package/locales/nbNO.d.mts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/nlNL.d.mts +1 -1
- package/locales/nlNL.d.ts +1 -1
- package/locales/nnNO.d.mts +1 -1
- package/locales/nnNO.d.ts +1 -1
- package/locales/plPL.d.mts +1 -1
- package/locales/plPL.d.ts +1 -1
- package/locales/ptBR.d.mts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.mts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/roRO.d.mts +1 -1
- package/locales/roRO.d.ts +1 -1
- package/locales/ruRU.d.mts +1 -1
- package/locales/ruRU.d.ts +1 -1
- package/locales/skSK.d.mts +1 -1
- package/locales/skSK.d.ts +1 -1
- package/locales/svSE.d.mts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/thTH.d.mts +1 -1
- package/locales/thTH.d.ts +1 -1
- package/locales/trTR.d.mts +1 -1
- package/locales/trTR.d.ts +1 -1
- package/locales/ukUA.d.mts +1 -1
- package/locales/ukUA.d.ts +1 -1
- package/locales/urPK.d.mts +1 -1
- package/locales/urPK.d.ts +1 -1
- package/locales/viVN.d.mts +1 -1
- package/locales/viVN.d.ts +1 -1
- package/locales/zhCN.d.mts +1 -1
- package/locales/zhCN.d.ts +1 -1
- package/locales/zhTW.d.mts +1 -1
- package/locales/zhTW.d.ts +1 -1
- package/material/index.js +5 -3
- package/material/index.mjs +5 -3
- package/material/variables.d.mts +1 -1
- package/material/variables.d.ts +1 -1
- package/package.json +8 -4
- package/utils/createSelector.d.mts +1 -1
- package/utils/createSelector.d.ts +1 -1
- package/utils/focusElement.d.mts +9 -0
- package/utils/focusElement.d.ts +9 -0
- package/utils/focusElement.js +24 -0
- package/utils/focusElement.mjs +19 -0
- package/utils/isJSDOM.d.mts +0 -1
- package/utils/isJSDOM.d.ts +0 -1
- package/utils/isJSDOM.js +0 -7
- package/utils/isJSDOM.mjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,266 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.7.0
|
|
4
|
+
|
|
5
|
+
_Jun 25, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🐞 Bugfixes
|
|
10
|
+
- 📚 Documentation improvements
|
|
11
|
+
|
|
12
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
13
|
+
@Anexus5919, @mustafajw07
|
|
14
|
+
|
|
15
|
+
The following team members contributed to this release:
|
|
16
|
+
@alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid@9.7.0`
|
|
21
|
+
|
|
22
|
+
- [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
|
|
23
|
+
- [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
|
|
24
|
+
- [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
|
|
25
|
+
- [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
|
|
26
|
+
- [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
|
|
27
|
+
- [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
|
|
28
|
+
- [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@9.7.0`.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.7.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.7.0`
|
|
41
|
+
|
|
42
|
+
- [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
|
|
43
|
+
- [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
|
|
44
|
+
- [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
|
|
45
|
+
- [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@9.7.0`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@9.7.0`
|
|
54
|
+
|
|
55
|
+
- [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
|
|
56
|
+
- [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
|
|
57
|
+
- [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
|
|
58
|
+
- [charts] Simplify classes type (#22626) @alexfauquette
|
|
59
|
+
- [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
|
|
60
|
+
- [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
|
|
61
|
+
- [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
|
|
62
|
+
- [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-charts@9.7.0`.
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-charts-pro@9.7.0`.
|
|
71
|
+
|
|
72
|
+
### Tree View
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-tree-view@9.7.0`
|
|
75
|
+
|
|
76
|
+
Internal changes.
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-tree-view@9.7.0`.
|
|
81
|
+
|
|
82
|
+
### Scheduler
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-scheduler@9.0.0-beta.3`
|
|
85
|
+
|
|
86
|
+
- [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
|
|
87
|
+
|
|
88
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
89
|
+
|
|
90
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
|
|
91
|
+
|
|
92
|
+
### Codemod
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-codemod@9.7.0`
|
|
95
|
+
|
|
96
|
+
Internal changes.
|
|
97
|
+
|
|
98
|
+
### Core
|
|
99
|
+
|
|
100
|
+
- [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
|
|
101
|
+
- [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
|
|
102
|
+
- [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
|
|
103
|
+
- [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
|
|
104
|
+
- [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
|
|
105
|
+
- [internal] Enforce top-level type imports (#22679) @Janpot
|
|
106
|
+
|
|
107
|
+
### Miscellaneous
|
|
108
|
+
|
|
109
|
+
- [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
|
|
110
|
+
- [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
|
|
111
|
+
- [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
|
|
112
|
+
|
|
113
|
+
## 9.6.0
|
|
114
|
+
|
|
115
|
+
_Jun 18, 2026_
|
|
116
|
+
|
|
117
|
+
We'd like to extend a big thank you to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
118
|
+
|
|
119
|
+
- 📊 New features for the radial bar charts, like percentage min radius and disabling tick labels.
|
|
120
|
+
|
|
121
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
122
|
+
@adamowski10, @Anexus5919, @Morteza-hp, @mustafajw07, @TargiX
|
|
123
|
+
|
|
124
|
+
The following team members contributed to this release:
|
|
125
|
+
@alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @hasdfa, @Janpot, @JCQuintas, @michelengelen, @noraleonte, @oliviertassinari, @rita-codes, @sai6855
|
|
126
|
+
|
|
127
|
+
### Data Grid
|
|
128
|
+
|
|
129
|
+
#### `@mui/x-data-grid@9.6.0`
|
|
130
|
+
|
|
131
|
+
- [DataGrid] Define `overflowAnchor` style at the right element (#22849) @arminmeh
|
|
132
|
+
- [DataGrid] Fix scrollbars not showing up on scroll on iOS (#22832) @cherniavskii
|
|
133
|
+
|
|
134
|
+
#### `@mui/x-data-grid-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
135
|
+
|
|
136
|
+
Same changes as in `@mui/x-data-grid@9.6.0`, plus:
|
|
137
|
+
|
|
138
|
+
- [DataGridPro] Prevent incorrect row range capping on the first page with known `rowCount` (#22808) @michelengelen
|
|
139
|
+
|
|
140
|
+
#### `@mui/x-data-grid-premium@9.6.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
141
|
+
|
|
142
|
+
Same changes as in `@mui/x-data-grid-pro@9.6.0`.
|
|
143
|
+
|
|
144
|
+
### Date and Time Pickers
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-date-pickers@9.6.0`
|
|
147
|
+
|
|
148
|
+
- [pickers] Fix `AdapterMomentHijri.getDaysInMonth` returning the Gregorian month length (#22774) @Anexus5919
|
|
149
|
+
- [l10n] Improve Persian (fa-IR) locale (#22454) @Morteza-hp
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-date-pickers-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
152
|
+
|
|
153
|
+
Same changes as in `@mui/x-date-pickers@9.6.0`.
|
|
154
|
+
|
|
155
|
+
### Charts
|
|
156
|
+
|
|
157
|
+
#### `@mui/x-charts@9.6.0`
|
|
158
|
+
|
|
159
|
+
- [charts] Add `disableTickLabel` prop to radial axes (#22801) @JCQuintas
|
|
160
|
+
- [charts] Fix bug when `min` is in axis domain (#22827) @alexfauquette
|
|
161
|
+
- [charts] Fix wheel zoom not centering on cursor position (#22811) @JCQuintas
|
|
162
|
+
- [charts] Remove zoom gesture registration from community package (#22753) @sai6855
|
|
163
|
+
- [charts] Support percentage values for radial axis `minRadius`/`maxRadius` (#22803) @JCQuintas
|
|
164
|
+
- [charts] Support `unknownColor` in color scale (#22813) @alexfauquette
|
|
165
|
+
- [charts] Document click listener for scatter composition (#22809) @sai6855
|
|
166
|
+
|
|
167
|
+
#### `@mui/x-charts-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
168
|
+
|
|
169
|
+
Same changes as in `@mui/x-charts@9.6.0`.
|
|
170
|
+
|
|
171
|
+
#### `@mui/x-charts-premium@9.6.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
172
|
+
|
|
173
|
+
Same changes as in `@mui/x-charts-pro@9.6.0`, plus:
|
|
174
|
+
|
|
175
|
+
- [charts-premium] Add `geoFeatureKey` to transform features identifier (#22848) @alexfauquette
|
|
176
|
+
- [charts-premium] Allow to remove Antartica (#22815) @alexfauquette
|
|
177
|
+
- [charts-premium] Regenerate `ScatterPlotPremium` `propTypes` (#22829) @rita-codes
|
|
178
|
+
- [charts-premium] Support maps tooltip positioned on items (#22648) @alexfauquette
|
|
179
|
+
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Tree View
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-tree-view@9.6.0`
|
|
185
|
+
|
|
186
|
+
Internal changes.
|
|
187
|
+
|
|
188
|
+
#### `@mui/x-tree-view-pro@9.6.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
189
|
+
|
|
190
|
+
Same changes as in `@mui/x-tree-view@9.6.0`.
|
|
191
|
+
|
|
192
|
+
### Scheduler
|
|
193
|
+
|
|
194
|
+
#### `@mui/x-scheduler@9.0.0-beta.2`
|
|
195
|
+
|
|
196
|
+
- [scheduler] Add dispose lifecycle to `SchedulerLazyLoadingPlugin` (#22532) @rita-codes
|
|
197
|
+
- [scheduler] Add responsive mobile week view and responsive typography (#22593) @noraleonte
|
|
198
|
+
- [scheduler] Add stable weekday token to `recurrenceWeeklyPresetLabel` (#22733) @mustafajw07
|
|
199
|
+
- [scheduler] Create accessibility documentation section (#22557) @mustafajw07
|
|
200
|
+
- [scheduler] Decouple `MonthViewProps` from day time grid props (#22802) @mustafajw07
|
|
201
|
+
- [scheduler] Export missing public scheduler types (#22785) @mustafajw07
|
|
202
|
+
- [scheduler] Fix JSDoc defaults and improve public type readability (#22784) @mustafajw07
|
|
203
|
+
- [scheduler] Fix `aria-labelledby` on events referencing non-existent header IDs (#22778) @rita-codes
|
|
204
|
+
- [scheduler] Move `EventCalendarStyledContext` to internals (#22787) @mustafajw07
|
|
205
|
+
- [scheduler] Normalize all-day recurring occurrences to whole days (#22792) @Anexus5919
|
|
206
|
+
- [scheduler] Recalculate `DayTimeGrid` `hasScroll` on container resize (#22780) @Anexus5919
|
|
207
|
+
- [scheduler] Recompute `nowUpdatedEveryMinute` only on timezone change (#22793) @Anexus5919
|
|
208
|
+
- [scheduler] Register auto-scroll once instead of on every render (#22794) @Anexus5919
|
|
209
|
+
- [scheduler] Remove duplicate dividers in the day/time grid (#22795) @Anexus5919
|
|
210
|
+
- [scheduler] Remove unused `--has-scroll` CSS variable from `DayTimeGrid` (#22799) @Anexus5919
|
|
211
|
+
- [scheduler] Remove vestigial async from internal drop handler (#22781) @mustafajw07
|
|
212
|
+
- [scheduler] Return a primitive key from the Calendar lazy-loading selector (#22791) @Anexus5919
|
|
213
|
+
- [scheduler] Throw on invalid event dates instead of emitting `NaN` timestamps (#22740) @rita-codes
|
|
214
|
+
- [scheduler] Tighten `StandaloneEventProps` data typing (#22796) @mustafajw07
|
|
215
|
+
- [scheduler] Update feedback banner to say beta instead of alpha (#22804) @rita-codes
|
|
216
|
+
- [scheduler] Use `@base-ui` `generateId` for event ids in `createEventModel` (#22788) @rita-codes
|
|
217
|
+
- [scheduler] Clear clipboard after pasting a cut event (#22773) @Anexus5919
|
|
218
|
+
- [scheduler] Show drag placeholder when re-entering the same position (#22775) @Anexus5919
|
|
219
|
+
- [scheduler] Validate missing and duplicate event ids (#22790) @Anexus5919
|
|
220
|
+
- [l10n] Improve Polish (pl-PL) locale (#22612) @adamowski10
|
|
221
|
+
|
|
222
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
223
|
+
|
|
224
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
|
|
225
|
+
|
|
226
|
+
- [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
|
|
227
|
+
- [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
|
|
228
|
+
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
229
|
+
|
|
230
|
+
### Codemod
|
|
231
|
+
|
|
232
|
+
#### `@mui/x-codemod@9.6.0`
|
|
233
|
+
|
|
234
|
+
Internal changes.
|
|
235
|
+
|
|
236
|
+
### Docs
|
|
237
|
+
|
|
238
|
+
- [docs] Fix link-check build timeout by disabling serve directory listing (#22836) @Janpot
|
|
239
|
+
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
240
|
+
- [docs] Add radial bar overview demo with custom overlays (#22776) @JCQuintas
|
|
241
|
+
- [docs] Add weather composition demo (#22723) @TargiX
|
|
242
|
+
- [docs] Add docs overview gallery and playground (#22488) @hasdfa
|
|
243
|
+
- [docs] Clarify 'Scrolling without render gaps' (#22629) @oliviertassinari
|
|
244
|
+
- [docs] Fix typo in release instructions (#22864) @brijeshb42
|
|
245
|
+
|
|
246
|
+
### Core
|
|
247
|
+
|
|
248
|
+
- [code-infra] Fix lint issues (#22757) @brijeshb42
|
|
249
|
+
- [code-infra] Fix remaining Dependabot security alerts (#22761) @Janpot
|
|
250
|
+
- [code-infra] Remove release:build from docs:build script (#22852) @brijeshb42
|
|
251
|
+
- [code-infra] Unpin `@mui/utils` version to allow dedupe (#22828) @mustafajw07
|
|
252
|
+
- [docs-infra] Cap Netlify Next.js build parallelism to avoid OOM (#22847) @Janpot
|
|
253
|
+
- [docs-infra] Remove i18n codebase (#22591) @brijeshb42
|
|
254
|
+
- [internal] Fix failing React 18 unit tests (#22846) @brijeshb42
|
|
255
|
+
|
|
256
|
+
### Miscellaneous
|
|
257
|
+
|
|
258
|
+
- [core] Add remove-proptypes markers to generated `propTypes` (#22850) @JCQuintas
|
|
259
|
+
- [core] Bump vitest packages to 4.1.8 to fix browser-test version skew (#22845) @Janpot
|
|
260
|
+
- [core] Reduce e2e build concurrency to avoid OOM (#22843) @Janpot
|
|
261
|
+
- [core] Strip proptypes from Production bundles (#22750) @sai6855
|
|
262
|
+
- [test] Wait for `GridToolbarCustom` rows before screenshot (#22844) @Janpot
|
|
263
|
+
|
|
3
264
|
## 9.5.0
|
|
4
265
|
|
|
5
266
|
_Jun 11, 2026_
|
package/DataGrid/DataGrid.js
CHANGED
|
@@ -66,7 +66,7 @@ if (process.env.NODE_ENV !== "production") DataGridRaw.displayName = "DataGridRa
|
|
|
66
66
|
*/
|
|
67
67
|
const DataGrid = exports.DataGrid = /*#__PURE__*/React.memo((0, _forwardRef.forwardRef)(DataGridRaw));
|
|
68
68
|
if (process.env.NODE_ENV !== "production") DataGrid.displayName = "DataGrid";
|
|
69
|
-
DataGridRaw.propTypes = {
|
|
69
|
+
process.env.NODE_ENV !== "production" ? DataGridRaw.propTypes /* remove-proptypes */ = {
|
|
70
70
|
// ----------------------------- Warning --------------------------------
|
|
71
71
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
72
72
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -86,13 +86,11 @@ DataGridRaw.propTypes = {
|
|
|
86
86
|
*/
|
|
87
87
|
'aria-labelledby': _propTypes.default.string,
|
|
88
88
|
/**
|
|
89
|
-
* If `true`, the Data Grid height is dynamic and
|
|
89
|
+
* If `true`, the Data Grid height is dynamic and takes as much space as it needs to display all rows.
|
|
90
|
+
* Use it instead of a flex parent container approach, if:
|
|
91
|
+
* - you don't need to set a minimum or maximum height for the Data Grid
|
|
92
|
+
* - you want to avoid the scrollbar flickering when the content changes
|
|
90
93
|
* @default false
|
|
91
|
-
* @deprecated Use flex parent container instead: https://mui.com/x/react-data-grid/layout/#flex-parent-container
|
|
92
|
-
* @example
|
|
93
|
-
* <div style={{ display: 'flex', flexDirection: 'column' }}>
|
|
94
|
-
* <DataGrid />
|
|
95
|
-
* </div>
|
|
96
94
|
*/
|
|
97
95
|
autoHeight: _propTypes.default.bool,
|
|
98
96
|
/**
|
|
@@ -112,6 +110,7 @@ DataGridRaw.propTypes = {
|
|
|
112
110
|
columns: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
113
111
|
disableColumnVirtualization: _propTypes.default.bool,
|
|
114
112
|
expand: _propTypes.default.bool,
|
|
113
|
+
includeHeaderFilters: _propTypes.default.bool,
|
|
115
114
|
includeHeaders: _propTypes.default.bool,
|
|
116
115
|
includeOutliers: _propTypes.default.bool,
|
|
117
116
|
outliersFactor: _propTypes.default.number
|
|
@@ -120,15 +119,68 @@ DataGridRaw.propTypes = {
|
|
|
120
119
|
* Controls the modes of the cells.
|
|
121
120
|
*/
|
|
122
121
|
cellModesModel: _propTypes.default.object,
|
|
122
|
+
/**
|
|
123
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
124
|
+
*
|
|
125
|
+
* @warning
|
|
126
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
127
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
128
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
129
|
+
*/
|
|
130
|
+
checkboxColDef: _propTypes.default.shape({
|
|
131
|
+
align: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
132
|
+
cellClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
133
|
+
colSpan: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.number]),
|
|
134
|
+
description: _propTypes.default.string,
|
|
135
|
+
disableColumnMenu: _propTypes.default.bool,
|
|
136
|
+
disableExport: _propTypes.default.bool,
|
|
137
|
+
disableReorder: _propTypes.default.bool,
|
|
138
|
+
display: _propTypes.default.oneOf(['flex', 'text']),
|
|
139
|
+
editable: _propTypes.default.bool,
|
|
140
|
+
examples: _propTypes.default.array,
|
|
141
|
+
filterable: _propTypes.default.bool,
|
|
142
|
+
filterOperators: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
143
|
+
getApplyFilterFn: _propTypes.default.func.isRequired,
|
|
144
|
+
getValueAsString: _propTypes.default.func,
|
|
145
|
+
headerLabel: _propTypes.default.string,
|
|
146
|
+
InputComponent: _propTypes.default.elementType,
|
|
147
|
+
InputComponentProps: _propTypes.default.object,
|
|
148
|
+
label: _propTypes.default.string,
|
|
149
|
+
requiresFilterValue: _propTypes.default.bool,
|
|
150
|
+
value: _propTypes.default.string.isRequired
|
|
151
|
+
})),
|
|
152
|
+
flex: _propTypes.default.number,
|
|
153
|
+
getApplyQuickFilterFn: _propTypes.default.func,
|
|
154
|
+
getSortComparator: _propTypes.default.func,
|
|
155
|
+
groupable: _propTypes.default.bool,
|
|
156
|
+
headerAlign: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
157
|
+
headerClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
158
|
+
headerName: _propTypes.default.string,
|
|
159
|
+
hideable: _propTypes.default.bool,
|
|
160
|
+
hideSortIcons: _propTypes.default.bool,
|
|
161
|
+
maxWidth: _propTypes.default.number,
|
|
162
|
+
minWidth: _propTypes.default.number,
|
|
163
|
+
pinnable: _propTypes.default.bool,
|
|
164
|
+
preProcessEditCellProps: _propTypes.default.func,
|
|
165
|
+
renderCell: _propTypes.default.func,
|
|
166
|
+
renderEditCell: _propTypes.default.func,
|
|
167
|
+
renderHeader: _propTypes.default.func,
|
|
168
|
+
resizable: _propTypes.default.bool,
|
|
169
|
+
rowSpanValueGetter: _propTypes.default.func,
|
|
170
|
+
sortable: _propTypes.default.bool,
|
|
171
|
+
sortComparator: _propTypes.default.func,
|
|
172
|
+
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
173
|
+
valueFormatter: _propTypes.default.func,
|
|
174
|
+
valueGetter: _propTypes.default.func,
|
|
175
|
+
valueParser: _propTypes.default.func,
|
|
176
|
+
valueSetter: _propTypes.default.func,
|
|
177
|
+
width: _propTypes.default.number
|
|
178
|
+
}),
|
|
123
179
|
/**
|
|
124
180
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
125
181
|
* @default false
|
|
126
182
|
*/
|
|
127
183
|
checkboxSelection: _propTypes.default.bool,
|
|
128
|
-
/**
|
|
129
|
-
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
130
|
-
*/
|
|
131
|
-
checkboxColDef: _propTypes.default.object,
|
|
132
184
|
/**
|
|
133
185
|
* Override or extend the styles applied to the component.
|
|
134
186
|
*/
|
|
@@ -185,8 +237,8 @@ DataGridRaw.propTypes = {
|
|
|
185
237
|
set: _propTypes.default.func.isRequired
|
|
186
238
|
}),
|
|
187
239
|
/**
|
|
188
|
-
* If positive, the Data Grid will periodically revalidate data source rows by
|
|
189
|
-
*
|
|
240
|
+
* If positive, the Data Grid will periodically revalidate data source rows by re-fetching them from the server when the cache entry has expired.
|
|
241
|
+
* If the refetched rows are different from the current rows, the grid will update the rows.
|
|
190
242
|
* Set to `0` to disable polling.
|
|
191
243
|
* @default 0
|
|
192
244
|
*/
|
|
@@ -822,6 +874,15 @@ DataGridRaw.propTypes = {
|
|
|
822
874
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
823
875
|
*/
|
|
824
876
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
877
|
+
/**
|
|
878
|
+
* Sets the tab navigation behavior for the Data Grid.
|
|
879
|
+
* - "none": No Data Grid specific tab navigation. Pressing the tab key will move the focus to the next element in the tab sequence.
|
|
880
|
+
* - "content": Pressing the tab key will move the focus to the next cell in the same row or the first cell in the next row. Shift+Tab will move the focus to the previous cell in the same row or the last cell in the previous row. Tab navigation is not enabled for the header.
|
|
881
|
+
* - "header": Pressing the tab key will move the focus to the next column group, column header or header filter. Shift+Tab will move the focus to the previous column group, column header or header filter. Tab navigation is not enabled for the content.
|
|
882
|
+
* - "all": Combines the "content" and "header" behavior.
|
|
883
|
+
* @default "none"
|
|
884
|
+
*/
|
|
885
|
+
tabNavigation: _propTypes.default.oneOf(['all', 'content', 'header', 'none']),
|
|
825
886
|
/**
|
|
826
887
|
* If `true`, the Data Grid enables column virtualization when `getRowHeight` is set to `() => 'auto'`.
|
|
827
888
|
* By default, column virtualization is disabled when dynamic row height is enabled to measure the row height correctly.
|
|
@@ -830,4 +891,4 @@ DataGridRaw.propTypes = {
|
|
|
830
891
|
* @default false
|
|
831
892
|
*/
|
|
832
893
|
virtualizeColumnsWithAutoRowHeight: _propTypes.default.bool
|
|
833
|
-
};
|
|
894
|
+
} : void 0;
|
package/DataGrid/DataGrid.mjs
CHANGED
|
@@ -59,7 +59,7 @@ if (process.env.NODE_ENV !== "production") DataGridRaw.displayName = "DataGridRa
|
|
|
59
59
|
*/
|
|
60
60
|
export const DataGrid = /*#__PURE__*/React.memo(forwardRef(DataGridRaw));
|
|
61
61
|
if (process.env.NODE_ENV !== "production") DataGrid.displayName = "DataGrid";
|
|
62
|
-
DataGridRaw.propTypes = {
|
|
62
|
+
process.env.NODE_ENV !== "production" ? DataGridRaw.propTypes /* remove-proptypes */ = {
|
|
63
63
|
// ----------------------------- Warning --------------------------------
|
|
64
64
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
65
65
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -79,13 +79,11 @@ DataGridRaw.propTypes = {
|
|
|
79
79
|
*/
|
|
80
80
|
'aria-labelledby': PropTypes.string,
|
|
81
81
|
/**
|
|
82
|
-
* If `true`, the Data Grid height is dynamic and
|
|
82
|
+
* If `true`, the Data Grid height is dynamic and takes as much space as it needs to display all rows.
|
|
83
|
+
* Use it instead of a flex parent container approach, if:
|
|
84
|
+
* - you don't need to set a minimum or maximum height for the Data Grid
|
|
85
|
+
* - you want to avoid the scrollbar flickering when the content changes
|
|
83
86
|
* @default false
|
|
84
|
-
* @deprecated Use flex parent container instead: https://mui.com/x/react-data-grid/layout/#flex-parent-container
|
|
85
|
-
* @example
|
|
86
|
-
* <div style={{ display: 'flex', flexDirection: 'column' }}>
|
|
87
|
-
* <DataGrid />
|
|
88
|
-
* </div>
|
|
89
87
|
*/
|
|
90
88
|
autoHeight: PropTypes.bool,
|
|
91
89
|
/**
|
|
@@ -105,6 +103,7 @@ DataGridRaw.propTypes = {
|
|
|
105
103
|
columns: PropTypes.arrayOf(PropTypes.string),
|
|
106
104
|
disableColumnVirtualization: PropTypes.bool,
|
|
107
105
|
expand: PropTypes.bool,
|
|
106
|
+
includeHeaderFilters: PropTypes.bool,
|
|
108
107
|
includeHeaders: PropTypes.bool,
|
|
109
108
|
includeOutliers: PropTypes.bool,
|
|
110
109
|
outliersFactor: PropTypes.number
|
|
@@ -113,15 +112,68 @@ DataGridRaw.propTypes = {
|
|
|
113
112
|
* Controls the modes of the cells.
|
|
114
113
|
*/
|
|
115
114
|
cellModesModel: PropTypes.object,
|
|
115
|
+
/**
|
|
116
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
117
|
+
*
|
|
118
|
+
* @warning
|
|
119
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
120
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
121
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
122
|
+
*/
|
|
123
|
+
checkboxColDef: PropTypes.shape({
|
|
124
|
+
align: PropTypes.oneOf(['center', 'left', 'right']),
|
|
125
|
+
cellClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
126
|
+
colSpan: PropTypes.oneOfType([PropTypes.func, PropTypes.number]),
|
|
127
|
+
description: PropTypes.string,
|
|
128
|
+
disableColumnMenu: PropTypes.bool,
|
|
129
|
+
disableExport: PropTypes.bool,
|
|
130
|
+
disableReorder: PropTypes.bool,
|
|
131
|
+
display: PropTypes.oneOf(['flex', 'text']),
|
|
132
|
+
editable: PropTypes.bool,
|
|
133
|
+
examples: PropTypes.array,
|
|
134
|
+
filterable: PropTypes.bool,
|
|
135
|
+
filterOperators: PropTypes.arrayOf(PropTypes.shape({
|
|
136
|
+
getApplyFilterFn: PropTypes.func.isRequired,
|
|
137
|
+
getValueAsString: PropTypes.func,
|
|
138
|
+
headerLabel: PropTypes.string,
|
|
139
|
+
InputComponent: PropTypes.elementType,
|
|
140
|
+
InputComponentProps: PropTypes.object,
|
|
141
|
+
label: PropTypes.string,
|
|
142
|
+
requiresFilterValue: PropTypes.bool,
|
|
143
|
+
value: PropTypes.string.isRequired
|
|
144
|
+
})),
|
|
145
|
+
flex: PropTypes.number,
|
|
146
|
+
getApplyQuickFilterFn: PropTypes.func,
|
|
147
|
+
getSortComparator: PropTypes.func,
|
|
148
|
+
groupable: PropTypes.bool,
|
|
149
|
+
headerAlign: PropTypes.oneOf(['center', 'left', 'right']),
|
|
150
|
+
headerClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
151
|
+
headerName: PropTypes.string,
|
|
152
|
+
hideable: PropTypes.bool,
|
|
153
|
+
hideSortIcons: PropTypes.bool,
|
|
154
|
+
maxWidth: PropTypes.number,
|
|
155
|
+
minWidth: PropTypes.number,
|
|
156
|
+
pinnable: PropTypes.bool,
|
|
157
|
+
preProcessEditCellProps: PropTypes.func,
|
|
158
|
+
renderCell: PropTypes.func,
|
|
159
|
+
renderEditCell: PropTypes.func,
|
|
160
|
+
renderHeader: PropTypes.func,
|
|
161
|
+
resizable: PropTypes.bool,
|
|
162
|
+
rowSpanValueGetter: PropTypes.func,
|
|
163
|
+
sortable: PropTypes.bool,
|
|
164
|
+
sortComparator: PropTypes.func,
|
|
165
|
+
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
166
|
+
valueFormatter: PropTypes.func,
|
|
167
|
+
valueGetter: PropTypes.func,
|
|
168
|
+
valueParser: PropTypes.func,
|
|
169
|
+
valueSetter: PropTypes.func,
|
|
170
|
+
width: PropTypes.number
|
|
171
|
+
}),
|
|
116
172
|
/**
|
|
117
173
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
118
174
|
* @default false
|
|
119
175
|
*/
|
|
120
176
|
checkboxSelection: PropTypes.bool,
|
|
121
|
-
/**
|
|
122
|
-
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
123
|
-
*/
|
|
124
|
-
checkboxColDef: PropTypes.object,
|
|
125
177
|
/**
|
|
126
178
|
* Override or extend the styles applied to the component.
|
|
127
179
|
*/
|
|
@@ -178,8 +230,8 @@ DataGridRaw.propTypes = {
|
|
|
178
230
|
set: PropTypes.func.isRequired
|
|
179
231
|
}),
|
|
180
232
|
/**
|
|
181
|
-
* If positive, the Data Grid will periodically revalidate data source rows by
|
|
182
|
-
*
|
|
233
|
+
* If positive, the Data Grid will periodically revalidate data source rows by re-fetching them from the server when the cache entry has expired.
|
|
234
|
+
* If the refetched rows are different from the current rows, the grid will update the rows.
|
|
183
235
|
* Set to `0` to disable polling.
|
|
184
236
|
* @default 0
|
|
185
237
|
*/
|
|
@@ -815,6 +867,15 @@ DataGridRaw.propTypes = {
|
|
|
815
867
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
816
868
|
*/
|
|
817
869
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
870
|
+
/**
|
|
871
|
+
* Sets the tab navigation behavior for the Data Grid.
|
|
872
|
+
* - "none": No Data Grid specific tab navigation. Pressing the tab key will move the focus to the next element in the tab sequence.
|
|
873
|
+
* - "content": Pressing the tab key will move the focus to the next cell in the same row or the first cell in the next row. Shift+Tab will move the focus to the previous cell in the same row or the last cell in the previous row. Tab navigation is not enabled for the header.
|
|
874
|
+
* - "header": Pressing the tab key will move the focus to the next column group, column header or header filter. Shift+Tab will move the focus to the previous column group, column header or header filter. Tab navigation is not enabled for the content.
|
|
875
|
+
* - "all": Combines the "content" and "header" behavior.
|
|
876
|
+
* @default "none"
|
|
877
|
+
*/
|
|
878
|
+
tabNavigation: PropTypes.oneOf(['all', 'content', 'header', 'none']),
|
|
818
879
|
/**
|
|
819
880
|
* If `true`, the Data Grid enables column virtualization when `getRowHeight` is set to `() => 'auto'`.
|
|
820
881
|
* By default, column virtualization is disabled when dynamic row height is enabled to measure the row height correctly.
|
|
@@ -823,4 +884,4 @@ DataGridRaw.propTypes = {
|
|
|
823
884
|
* @default false
|
|
824
885
|
*/
|
|
825
886
|
virtualizeColumnsWithAutoRowHeight: PropTypes.bool
|
|
826
|
-
};
|
|
887
|
+
} : void 0;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridFilterInputDateProps } from "../components/panel/filterPanel/GridFilterInputDate.mjs";
|
|
2
2
|
import type { GridFilterOperator } from "../models/gridFilterOperator.mjs";
|
|
3
3
|
export declare const getGridDateOperators: (showTime?: boolean) => GridFilterOperator<any, Date, any, GridFilterInputDateProps>[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridFilterInputDateProps } from "../components/panel/filterPanel/GridFilterInputDate.js";
|
|
2
2
|
import type { GridFilterOperator } from "../models/gridFilterOperator.js";
|
|
3
3
|
export declare const getGridDateOperators: (showTime?: boolean) => GridFilterOperator<any, Date, any, GridFilterInputDateProps>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { UseGridColumnHeadersProps } from "../hooks/features/columnHeaders/useGridColumnHeaders.mjs";
|
|
3
3
|
export interface GridColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement>, UseGridColumnHeadersProps {
|
|
4
4
|
ref?: React.Ref<HTMLDivElement>;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { UseGridColumnHeadersProps } from "../hooks/features/columnHeaders/useGridColumnHeaders.js";
|
|
3
3
|
export interface GridColumnHeadersProps extends React.HTMLAttributes<HTMLDivElement>, UseGridColumnHeadersProps {
|
|
4
4
|
ref?: React.Ref<HTMLDivElement>;
|
|
5
5
|
}
|
|
@@ -57,7 +57,7 @@ const GridColumnHeaders = (0, _forwardRef.forwardRef)(function GridColumnHeaders
|
|
|
57
57
|
}));
|
|
58
58
|
});
|
|
59
59
|
if (process.env.NODE_ENV !== "production") GridColumnHeaders.displayName = "GridColumnHeaders";
|
|
60
|
-
process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes = {
|
|
60
|
+
process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes /* remove-proptypes */ = {
|
|
61
61
|
// ----------------------------- Warning --------------------------------
|
|
62
62
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
63
63
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -50,7 +50,7 @@ const GridColumnHeaders = forwardRef(function GridColumnHeaders(props, ref) {
|
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
52
52
|
if (process.env.NODE_ENV !== "production") GridColumnHeaders.displayName = "GridColumnHeaders";
|
|
53
|
-
process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes = {
|
|
53
|
+
process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes /* remove-proptypes */ = {
|
|
54
54
|
// ----------------------------- Warning --------------------------------
|
|
55
55
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
56
56
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -25,7 +25,7 @@ function GridColumnUnsortedIcon(props) {
|
|
|
25
25
|
const Icon = nextSortDirection === 'asc' ? slots.columnSortedAscendingIcon : slots.columnSortedDescendingIcon;
|
|
26
26
|
return Icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, (0, _extends2.default)({}, other)) : null;
|
|
27
27
|
}
|
|
28
|
-
process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes = {
|
|
28
|
+
process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes /* remove-proptypes */ = {
|
|
29
29
|
// ----------------------------- Warning --------------------------------
|
|
30
30
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
31
31
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -17,7 +17,7 @@ function GridColumnUnsortedIcon(props) {
|
|
|
17
17
|
const Icon = nextSortDirection === 'asc' ? slots.columnSortedAscendingIcon : slots.columnSortedDescendingIcon;
|
|
18
18
|
return Icon ? /*#__PURE__*/_jsx(Icon, _extends({}, other)) : null;
|
|
19
19
|
}
|
|
20
|
-
process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes = {
|
|
20
|
+
process.env.NODE_ENV !== "production" ? GridColumnUnsortedIcon.propTypes /* remove-proptypes */ = {
|
|
21
21
|
// ----------------------------- Warning --------------------------------
|
|
22
22
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
23
23
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridFooterContainerProps } from "./containers/GridFooterContainer.mjs";
|
|
2
2
|
declare const GridFooter: import("react").ForwardRefExoticComponent<GridFooterContainerProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { GridFooterContainerProps } from "./containers/GridFooterContainer.js";
|
|
2
2
|
declare const GridFooter: import("react").ForwardRefExoticComponent<GridFooterContainerProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
package/components/GridFooter.js
CHANGED
|
@@ -38,7 +38,7 @@ const GridFooter = exports.GridFooter = (0, _forwardRef.forwardRef)(function Gri
|
|
|
38
38
|
}));
|
|
39
39
|
});
|
|
40
40
|
if (process.env.NODE_ENV !== "production") GridFooter.displayName = "GridFooter";
|
|
41
|
-
process.env.NODE_ENV !== "production" ? GridFooter.propTypes = {
|
|
41
|
+
process.env.NODE_ENV !== "production" ? GridFooter.propTypes /* remove-proptypes */ = {
|
|
42
42
|
// ----------------------------- Warning --------------------------------
|
|
43
43
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
44
44
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -32,7 +32,7 @@ const GridFooter = forwardRef(function GridFooter(props, ref) {
|
|
|
32
32
|
}));
|
|
33
33
|
});
|
|
34
34
|
if (process.env.NODE_ENV !== "production") GridFooter.displayName = "GridFooter";
|
|
35
|
-
process.env.NODE_ENV !== "production" ? GridFooter.propTypes = {
|
|
35
|
+
process.env.NODE_ENV !== "production" ? GridFooter.propTypes /* remove-proptypes */ = {
|
|
36
36
|
// ----------------------------- Warning --------------------------------
|
|
37
37
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
38
38
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { GridOverlayProps } from "./containers/GridOverlay.mjs";
|
|
3
3
|
import type { GridLoadingOverlayVariant } from "../hooks/features/overlays/gridOverlaysInterfaces.mjs";
|
|
4
4
|
export interface GridLoadingOverlayProps extends GridOverlayProps {
|
|
5
5
|
/**
|