@mui/x-data-grid-pro 9.0.0-alpha.0 → 9.0.0-alpha.2
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 +236 -0
- package/DataGridPro/DataGrid.js +4 -2
- package/DataGridPro/DataGrid.mjs +20 -0
- package/{esm/DataGridPro/DataGridPro.d.ts → DataGridPro/DataGridPro.d.mts} +2 -2
- package/DataGridPro/DataGridPro.js +70 -4
- package/{esm/DataGridPro/DataGridPro.js → DataGridPro/DataGridPro.mjs} +74 -8
- package/DataGridPro/index.d.mts +3 -0
- package/DataGridPro/index.mjs +3 -0
- package/{esm/DataGridPro/useDataGridProComponent.d.ts → DataGridPro/useDataGridProComponent.d.mts} +2 -2
- package/{esm/DataGridPro/useDataGridProComponent.js → DataGridPro/useDataGridProComponent.mjs} +18 -18
- package/{esm/DataGridPro/useDataGridProProps.d.ts → DataGridPro/useDataGridProProps.d.mts} +1 -1
- package/DataGridPro/useDataGridProProps.js +1 -0
- package/{esm/DataGridPro/useDataGridProProps.js → DataGridPro/useDataGridProProps.mjs} +2 -1
- package/{esm/components/GridColumnHeaders.js → components/GridColumnHeaders.mjs} +1 -1
- package/{esm/components/GridColumnMenuPinningItem.js → components/GridColumnMenuPinningItem.mjs} +2 -2
- package/{esm/components/GridDataSourceTreeDataGroupingCell.js → components/GridDataSourceTreeDataGroupingCell.mjs} +3 -3
- package/{esm/components/GridDetailPanel.js → components/GridDetailPanel.mjs} +2 -2
- package/{esm/components/GridDetailPanelToggleCell.js → components/GridDetailPanelToggleCell.mjs} +3 -3
- package/{esm/components/GridDetailPanels.js → components/GridDetailPanels.mjs} +5 -5
- package/{esm/components/GridProColumnMenu.d.ts → components/GridProColumnMenu.d.mts} +1 -1
- package/{esm/components/GridProColumnMenu.js → components/GridProColumnMenu.mjs} +1 -1
- package/{esm/components/GridRowReorderCell.js → components/GridRowReorderCell.mjs} +1 -1
- package/{esm/components/GridTreeDataGroupingCell.js → components/GridTreeDataGroupingCell.mjs} +2 -2
- package/components/headerFiltering/GridHeaderFilterCell.js +3 -2
- package/{esm/components/headerFiltering/GridHeaderFilterCell.js → components/headerFiltering/GridHeaderFilterCell.mjs} +6 -5
- package/{esm/components/headerFiltering/GridHeaderFilterClearButton.js → components/headerFiltering/GridHeaderFilterClearButton.mjs} +1 -1
- package/components/headerFiltering/GridHeaderFilterMenu.js +2 -1
- package/{esm/components/headerFiltering/GridHeaderFilterMenu.js → components/headerFiltering/GridHeaderFilterMenu.mjs} +2 -1
- package/components/headerFiltering/GridHeaderFilterMenuContainer.js +2 -1
- package/{esm/components/headerFiltering/GridHeaderFilterMenuContainer.js → components/headerFiltering/GridHeaderFilterMenuContainer.mjs} +3 -2
- package/components/headerFiltering/index.d.mts +3 -0
- package/components/headerFiltering/index.mjs +3 -0
- package/components/index.d.mts +6 -0
- package/components/index.mjs +7 -0
- package/{esm/components/reexports.d.ts → components/reexports.d.mts} +1 -1
- package/{esm/components/reexports.js → components/reexports.mjs} +1 -1
- package/constants/dataGridProDefaultSlotsComponents.d.mts +2 -0
- package/{esm/constants/dataGridProDefaultSlotsComponents.js → constants/dataGridProDefaultSlotsComponents.mjs} +7 -7
- package/{esm/hooks/features/columnHeaders/useGridColumnHeaders.js → hooks/features/columnHeaders/useGridColumnHeaders.mjs} +1 -1
- package/hooks/features/columnPinning/index.d.mts +1 -0
- package/hooks/features/columnPinning/index.mjs +1 -0
- package/{esm/hooks/features/columnPinning/useGridColumnPinning.d.ts → hooks/features/columnPinning/useGridColumnPinning.d.mts} +2 -2
- package/{esm/hooks/features/columnPinning/useGridColumnPinningPreProcessors.d.ts → hooks/features/columnPinning/useGridColumnPinningPreProcessors.d.mts} +2 -2
- package/{esm/hooks/features/columnReorder/columnReorderSelector.d.ts → hooks/features/columnReorder/columnReorderSelector.d.mts} +2 -2
- package/{esm/hooks/features/columnReorder/index.d.ts → hooks/features/columnReorder/index.d.mts} +2 -2
- package/hooks/features/columnReorder/index.mjs +2 -0
- package/{esm/hooks/features/columnReorder/useGridColumnReorder.d.ts → hooks/features/columnReorder/useGridColumnReorder.d.mts} +2 -2
- package/{esm/hooks/features/columnReorder/useGridColumnReorder.js → hooks/features/columnReorder/useGridColumnReorder.mjs} +1 -1
- package/{esm/hooks/features/dataSource/gridDataSourceSelector.d.ts → hooks/features/dataSource/gridDataSourceSelector.d.mts} +2 -2
- package/hooks/features/dataSource/index.d.mts +1 -0
- package/{esm/hooks/features/dataSource/useGridDataSourceBasePro.d.ts → hooks/features/dataSource/useGridDataSourceBasePro.d.mts} +4 -4
- package/hooks/features/dataSource/useGridDataSourceBasePro.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBasePro.js +43 -29
- package/{esm/hooks/features/dataSource/useGridDataSourceBasePro.js → hooks/features/dataSource/useGridDataSourceBasePro.mjs} +46 -32
- package/{esm/hooks/features/dataSource/useGridDataSourcePro.d.ts → hooks/features/dataSource/useGridDataSourcePro.d.mts} +2 -2
- package/{esm/hooks/features/dataSource/useGridDataSourcePro.js → hooks/features/dataSource/useGridDataSourcePro.mjs} +1 -1
- package/{esm/hooks/features/dataSource/utils.d.ts → hooks/features/dataSource/utils.d.mts} +4 -2
- package/hooks/features/dataSource/utils.d.ts +3 -1
- package/hooks/features/dataSource/utils.js +14 -7
- package/{esm/hooks/features/dataSource/utils.js → hooks/features/dataSource/utils.mjs} +14 -7
- package/{esm/hooks/features/detailPanel/gridDetailPanelSelector.d.ts → hooks/features/detailPanel/gridDetailPanelSelector.d.mts} +2 -2
- package/{esm/hooks/features/detailPanel/gridDetailPanelToggleColDef.js → hooks/features/detailPanel/gridDetailPanelToggleColDef.mjs} +2 -2
- package/{esm/hooks/features/detailPanel/index.d.ts → hooks/features/detailPanel/index.d.mts} +3 -3
- package/{esm/hooks/features/detailPanel/index.js → hooks/features/detailPanel/index.mjs} +3 -3
- package/{esm/hooks/features/detailPanel/useGridDetailPanel.d.ts → hooks/features/detailPanel/useGridDetailPanel.d.mts} +2 -2
- package/{esm/hooks/features/detailPanel/useGridDetailPanel.js → hooks/features/detailPanel/useGridDetailPanel.mjs} +2 -2
- package/{esm/hooks/features/detailPanel/useGridDetailPanelPreProcessors.d.ts → hooks/features/detailPanel/useGridDetailPanelPreProcessors.d.mts} +2 -2
- package/{esm/hooks/features/detailPanel/useGridDetailPanelPreProcessors.js → hooks/features/detailPanel/useGridDetailPanelPreProcessors.mjs} +2 -2
- package/hooks/features/index.d.mts +7 -0
- package/hooks/features/index.mjs +8 -0
- package/{esm/hooks/features/infiniteLoader/useGridInfiniteLoader.d.ts → hooks/features/infiniteLoader/useGridInfiniteLoader.d.mts} +2 -2
- package/{esm/hooks/features/lazyLoader/useGridLazyLoader.d.ts → hooks/features/lazyLoader/useGridLazyLoader.d.mts} +2 -2
- package/{esm/hooks/features/lazyLoader/useGridLazyLoader.js → hooks/features/lazyLoader/useGridLazyLoader.mjs} +1 -1
- package/{esm/hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.d.ts → hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.d.mts} +2 -2
- package/{esm/hooks/features/lazyLoader/utils.d.ts → hooks/features/lazyLoader/utils.d.mts} +1 -1
- package/hooks/features/rowPinning/index.d.mts +1 -0
- package/hooks/features/rowPinning/index.mjs +1 -0
- package/{esm/hooks/features/rowPinning/useGridRowPinning.d.ts → hooks/features/rowPinning/useGridRowPinning.d.mts} +2 -2
- package/{esm/hooks/features/rowPinning/useGridRowPinningPreProcessors.d.ts → hooks/features/rowPinning/useGridRowPinningPreProcessors.d.mts} +2 -2
- package/{esm/hooks/features/rowPinning/useGridRowPinningPreProcessors.js → hooks/features/rowPinning/useGridRowPinningPreProcessors.mjs} +1 -1
- package/{esm/hooks/features/rowReorder/commonReorderConditions.d.ts → hooks/features/rowReorder/commonReorderConditions.d.mts} +1 -1
- package/{esm/hooks/features/rowReorder/gridRowReorderColDef.js → hooks/features/rowReorder/gridRowReorderColDef.mjs} +1 -1
- package/hooks/features/rowReorder/index.d.mts +2 -0
- package/hooks/features/rowReorder/index.mjs +2 -0
- package/{esm/hooks/features/rowReorder/models.d.ts → hooks/features/rowReorder/models.d.mts} +1 -1
- package/{esm/hooks/features/rowReorder/reorderExecutor.d.ts → hooks/features/rowReorder/reorderExecutor.d.mts} +1 -1
- package/{esm/hooks/features/rowReorder/reorderValidator.d.ts → hooks/features/rowReorder/reorderValidator.d.mts} +1 -1
- package/{esm/hooks/features/rowReorder/types.d.ts → hooks/features/rowReorder/types.d.mts} +2 -2
- package/{esm/hooks/features/rowReorder/useGridRowReorder.d.ts → hooks/features/rowReorder/useGridRowReorder.d.mts} +2 -2
- package/hooks/features/rowReorder/useGridRowReorder.js +3 -2
- package/{esm/hooks/features/rowReorder/useGridRowReorder.js → hooks/features/rowReorder/useGridRowReorder.mjs} +5 -4
- package/{esm/hooks/features/rowReorder/useGridRowReorderPreProcessors.d.ts → hooks/features/rowReorder/useGridRowReorderPreProcessors.d.mts} +2 -2
- package/{esm/hooks/features/rowReorder/useGridRowReorderPreProcessors.js → hooks/features/rowReorder/useGridRowReorderPreProcessors.mjs} +1 -1
- package/{esm/hooks/features/rowReorder/utils.d.ts → hooks/features/rowReorder/utils.d.mts} +4 -4
- package/{esm/hooks/features/rowReorder/utils.js → hooks/features/rowReorder/utils.mjs} +1 -1
- package/hooks/features/rows/index.d.mts +1 -0
- package/hooks/features/rows/index.mjs +1 -0
- package/{esm/hooks/features/rows/useGridRowAriaAttributes.js → hooks/features/rows/useGridRowAriaAttributes.mjs} +2 -2
- package/{esm/hooks/features/rows/useGridRowsOverridableMethods.d.ts → hooks/features/rows/useGridRowsOverridableMethods.d.mts} +2 -2
- package/hooks/features/rows/useGridRowsOverridableMethods.js +7 -5
- package/{esm/hooks/features/rows/useGridRowsOverridableMethods.js → hooks/features/rows/useGridRowsOverridableMethods.mjs} +7 -6
- package/{esm/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.d.ts → hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.d.mts} +3 -3
- package/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.d.ts +1 -1
- package/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.js +176 -65
- package/{esm/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.js → hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.mjs} +178 -67
- package/{esm/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.d.ts → hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.d.mts} +2 -2
- package/{esm/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.d.ts → hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.d.mts} +2 -2
- package/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.js +4 -3
- package/{esm/hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.js → hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.mjs} +11 -10
- package/{esm/hooks/features/treeData/gridTreeDataUtils.d.ts → hooks/features/treeData/gridTreeDataUtils.d.mts} +1 -1
- package/{esm/hooks/features/treeData/index.d.ts → hooks/features/treeData/index.d.mts} +1 -1
- package/{esm/hooks/features/treeData/index.js → hooks/features/treeData/index.mjs} +1 -1
- package/{esm/hooks/features/treeData/treeDataReorderExecutor.d.ts → hooks/features/treeData/treeDataReorderExecutor.d.mts} +2 -2
- package/{esm/hooks/features/treeData/treeDataReorderExecutor.js → hooks/features/treeData/treeDataReorderExecutor.mjs} +3 -3
- package/{esm/hooks/features/treeData/treeDataReorderValidator.d.ts → hooks/features/treeData/treeDataReorderValidator.d.mts} +1 -1
- package/{esm/hooks/features/treeData/treeDataReorderValidator.js → hooks/features/treeData/treeDataReorderValidator.mjs} +2 -2
- package/{esm/hooks/features/treeData/useGridTreeData.d.ts → hooks/features/treeData/useGridTreeData.d.mts} +2 -2
- package/{esm/hooks/features/treeData/useGridTreeData.js → hooks/features/treeData/useGridTreeData.mjs} +2 -2
- package/{esm/hooks/features/treeData/useGridTreeDataPreProcessors.d.ts → hooks/features/treeData/useGridTreeDataPreProcessors.d.mts} +2 -2
- package/hooks/features/treeData/useGridTreeDataPreProcessors.js +3 -2
- package/{esm/hooks/features/treeData/useGridTreeDataPreProcessors.js → hooks/features/treeData/useGridTreeDataPreProcessors.mjs} +10 -9
- package/{esm/hooks/features/treeData/utils.d.ts → hooks/features/treeData/utils.d.mts} +1 -1
- package/{esm/hooks/features/treeData/utils.js → hooks/features/treeData/utils.mjs} +1 -1
- package/hooks/index.d.mts +1 -0
- package/hooks/index.mjs +1 -0
- package/{esm/hooks/utils/useGridApiContext.d.ts → hooks/utils/useGridApiContext.d.mts} +1 -1
- package/{esm/hooks/utils/useGridApiRef.d.ts → hooks/utils/useGridApiRef.d.mts} +1 -1
- package/{esm/hooks/utils/useGridAriaAttributes.js → hooks/utils/useGridAriaAttributes.mjs} +1 -1
- package/{esm/hooks/utils/useGridPrivateApiContext.d.ts → hooks/utils/useGridPrivateApiContext.d.mts} +1 -1
- package/{esm/hooks/utils/useGridRootProps.d.ts → hooks/utils/useGridRootProps.d.mts} +1 -1
- package/{esm/index.d.ts → index.d.mts} +14 -14
- package/index.js +1 -1
- package/{esm/index.js → index.mjs} +10 -10
- package/{esm/internals/index.d.ts → internals/index.d.mts} +44 -44
- package/{esm/internals/index.js → internals/index.mjs} +38 -38
- package/{esm/internals/propValidation.d.ts → internals/propValidation.d.mts} +1 -1
- package/{esm/material/index.js → material/index.mjs} +1 -1
- package/{esm/models/dataGridProProps.d.ts → models/dataGridProProps.d.mts} +9 -9
- package/{esm/models/gridApiPro.d.ts → models/gridApiPro.d.mts} +5 -5
- package/{esm/models/gridProSlotProps.d.ts → models/gridProSlotProps.d.mts} +1 -1
- package/{esm/models/gridProSlotsComponent.d.ts → models/gridProSlotsComponent.d.mts} +1 -1
- package/{esm/models/gridStatePro.d.ts → models/gridStatePro.d.mts} +2 -2
- package/models/index.d.mts +7 -0
- package/models/index.mjs +7 -0
- package/package.json +148 -15
- package/themeAugmentation/index.d.mts +2 -0
- package/themeAugmentation/index.mjs +4 -0
- package/{esm/themeAugmentation/props.d.ts → themeAugmentation/props.d.mts} +1 -1
- package/typeOverloads/index.d.mts +1 -0
- package/typeOverloads/index.mjs +1 -0
- package/{esm/typeOverloads/modules.d.ts → typeOverloads/modules.d.mts} +5 -5
- package/{esm/typeOverloads/reexports.d.ts → typeOverloads/reexports.d.mts} +5 -5
- package/{esm/typeOverloads/reexports.js → typeOverloads/reexports.mjs} +3 -3
- package/utils/index.d.mts +1 -0
- package/utils/index.mjs +1 -0
- package/{esm/utils/tree/createRowTree.d.ts → utils/tree/createRowTree.d.mts} +2 -2
- package/{esm/utils/tree/createRowTree.js → utils/tree/createRowTree.mjs} +1 -1
- package/utils/tree/index.d.mts +1 -0
- package/utils/tree/index.mjs +1 -0
- package/{esm/utils/tree/insertDataRowInTree.d.ts → utils/tree/insertDataRowInTree.d.mts} +2 -2
- package/{esm/utils/tree/insertDataRowInTree.js → utils/tree/insertDataRowInTree.mjs} +1 -1
- package/{esm/utils/tree/removeDataRowFromTree.js → utils/tree/removeDataRowFromTree.mjs} +3 -3
- package/{esm/utils/tree/updateRowTree.d.ts → utils/tree/updateRowTree.d.mts} +1 -1
- package/{esm/utils/tree/updateRowTree.js → utils/tree/updateRowTree.mjs} +3 -3
- package/{esm/utils/tree/utils.d.ts → utils/tree/utils.d.mts} +3 -3
- package/esm/DataGridPro/DataGrid.js +0 -19
- package/esm/DataGridPro/index.d.ts +0 -3
- package/esm/DataGridPro/index.js +0 -3
- package/esm/components/headerFiltering/index.d.ts +0 -3
- package/esm/components/headerFiltering/index.js +0 -3
- package/esm/components/index.d.ts +0 -6
- package/esm/components/index.js +0 -7
- package/esm/constants/dataGridProDefaultSlotsComponents.d.ts +0 -2
- package/esm/hooks/features/columnPinning/index.d.ts +0 -1
- package/esm/hooks/features/columnPinning/index.js +0 -1
- package/esm/hooks/features/columnReorder/index.js +0 -2
- package/esm/hooks/features/dataSource/index.d.ts +0 -1
- package/esm/hooks/features/index.d.ts +0 -7
- package/esm/hooks/features/index.js +0 -8
- package/esm/hooks/features/rowPinning/index.d.ts +0 -1
- package/esm/hooks/features/rowPinning/index.js +0 -1
- package/esm/hooks/features/rowReorder/index.d.ts +0 -2
- package/esm/hooks/features/rowReorder/index.js +0 -2
- package/esm/hooks/features/rows/index.d.ts +0 -1
- package/esm/hooks/features/rows/index.js +0 -1
- package/esm/hooks/index.d.ts +0 -1
- package/esm/hooks/index.js +0 -1
- package/esm/models/index.d.ts +0 -7
- package/esm/models/index.js +0 -7
- package/esm/package.json +0 -1
- package/esm/themeAugmentation/index.d.ts +0 -2
- package/esm/themeAugmentation/index.js +0 -4
- package/esm/typeOverloads/index.d.ts +0 -1
- package/esm/typeOverloads/index.js +0 -1
- package/esm/utils/index.d.ts +0 -1
- package/esm/utils/index.js +0 -1
- package/esm/utils/tree/index.d.ts +0 -1
- package/esm/utils/tree/index.js +0 -1
- /package/{esm/DataGridPro/DataGrid.d.ts → DataGridPro/DataGrid.d.mts} +0 -0
- /package/{esm/components/GridColumnHeaders.d.ts → components/GridColumnHeaders.d.mts} +0 -0
- /package/{esm/components/GridColumnMenuPinningItem.d.ts → components/GridColumnMenuPinningItem.d.mts} +0 -0
- /package/{esm/components/GridDataSourceTreeDataGroupingCell.d.ts → components/GridDataSourceTreeDataGroupingCell.d.mts} +0 -0
- /package/{esm/components/GridDetailPanel.d.ts → components/GridDetailPanel.d.mts} +0 -0
- /package/{esm/components/GridDetailPanelToggleCell.d.ts → components/GridDetailPanelToggleCell.d.mts} +0 -0
- /package/{esm/components/GridDetailPanels.d.ts → components/GridDetailPanels.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.d.ts → components/GridPinnedRows.d.mts} +0 -0
- /package/{esm/components/GridPinnedRows.js → components/GridPinnedRows.mjs} +0 -0
- /package/{esm/components/GridRowReorderCell.d.ts → components/GridRowReorderCell.d.mts} +0 -0
- /package/{esm/components/GridTreeDataGroupingCell.d.ts → components/GridTreeDataGroupingCell.d.mts} +0 -0
- /package/{esm/components/headerFiltering/GridHeaderFilterCell.d.ts → components/headerFiltering/GridHeaderFilterCell.d.mts} +0 -0
- /package/{esm/components/headerFiltering/GridHeaderFilterClearButton.d.ts → components/headerFiltering/GridHeaderFilterClearButton.d.mts} +0 -0
- /package/{esm/components/headerFiltering/GridHeaderFilterMenu.d.ts → components/headerFiltering/GridHeaderFilterMenu.d.mts} +0 -0
- /package/{esm/components/headerFiltering/GridHeaderFilterMenuContainer.d.ts → components/headerFiltering/GridHeaderFilterMenuContainer.d.mts} +0 -0
- /package/{esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts → hooks/features/columnHeaders/useGridColumnHeaders.d.mts} +0 -0
- /package/{esm/hooks/features/columnPinning/gridColumnPinningInterface.d.ts → hooks/features/columnPinning/gridColumnPinningInterface.d.mts} +0 -0
- /package/{esm/hooks/features/columnPinning/gridColumnPinningInterface.js → hooks/features/columnPinning/gridColumnPinningInterface.mjs} +0 -0
- /package/{esm/hooks/features/columnPinning/useGridColumnPinning.js → hooks/features/columnPinning/useGridColumnPinning.mjs} +0 -0
- /package/{esm/hooks/features/columnPinning/useGridColumnPinningPreProcessors.js → hooks/features/columnPinning/useGridColumnPinningPreProcessors.mjs} +0 -0
- /package/{esm/hooks/features/columnReorder/columnReorderInterfaces.d.ts → hooks/features/columnReorder/columnReorderInterfaces.d.mts} +0 -0
- /package/{esm/hooks/features/columnReorder/columnReorderInterfaces.js → hooks/features/columnReorder/columnReorderInterfaces.mjs} +0 -0
- /package/{esm/hooks/features/columnReorder/columnReorderSelector.js → hooks/features/columnReorder/columnReorderSelector.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/gridDataSourceSelector.js → hooks/features/dataSource/gridDataSourceSelector.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/index.js → hooks/features/dataSource/index.mjs} +0 -0
- /package/{esm/hooks/features/dataSource/models.d.ts → hooks/features/dataSource/models.d.mts} +0 -0
- /package/{esm/hooks/features/dataSource/models.js → hooks/features/dataSource/models.mjs} +0 -0
- /package/{esm/hooks/features/detailPanel/gridDetailPanelInterface.d.ts → hooks/features/detailPanel/gridDetailPanelInterface.d.mts} +0 -0
- /package/{esm/hooks/features/detailPanel/gridDetailPanelInterface.js → hooks/features/detailPanel/gridDetailPanelInterface.mjs} +0 -0
- /package/{esm/hooks/features/detailPanel/gridDetailPanelSelector.js → hooks/features/detailPanel/gridDetailPanelSelector.mjs} +0 -0
- /package/{esm/hooks/features/detailPanel/gridDetailPanelToggleColDef.d.ts → hooks/features/detailPanel/gridDetailPanelToggleColDef.d.mts} +0 -0
- /package/{esm/hooks/features/infiniteLoader/useGridInfiniteLoader.js → hooks/features/infiniteLoader/useGridInfiniteLoader.mjs} +0 -0
- /package/{esm/hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.js → hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.mjs} +0 -0
- /package/{esm/hooks/features/lazyLoader/utils.js → hooks/features/lazyLoader/utils.mjs} +0 -0
- /package/{esm/hooks/features/rowPinning/gridRowPinningInterface.d.ts → hooks/features/rowPinning/gridRowPinningInterface.d.mts} +0 -0
- /package/{esm/hooks/features/rowPinning/gridRowPinningInterface.js → hooks/features/rowPinning/gridRowPinningInterface.mjs} +0 -0
- /package/{esm/hooks/features/rowPinning/gridRowPinningSelector.d.ts → hooks/features/rowPinning/gridRowPinningSelector.d.mts} +0 -0
- /package/{esm/hooks/features/rowPinning/gridRowPinningSelector.js → hooks/features/rowPinning/gridRowPinningSelector.mjs} +0 -0
- /package/{esm/hooks/features/rowPinning/useGridRowPinning.js → hooks/features/rowPinning/useGridRowPinning.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/commonReorderConditions.js → hooks/features/rowReorder/commonReorderConditions.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/gridRowReorderColDef.d.ts → hooks/features/rowReorder/gridRowReorderColDef.d.mts} +0 -0
- /package/{esm/hooks/features/rowReorder/models.js → hooks/features/rowReorder/models.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/reorderExecutor.js → hooks/features/rowReorder/reorderExecutor.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/reorderValidator.js → hooks/features/rowReorder/reorderValidator.mjs} +0 -0
- /package/{esm/hooks/features/rowReorder/types.js → hooks/features/rowReorder/types.mjs} +0 -0
- /package/{esm/hooks/features/rows/useGridRowAriaAttributes.d.ts → hooks/features/rows/useGridRowAriaAttributes.d.mts} +0 -0
- /package/{esm/hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.js → hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.mjs} +0 -0
- /package/{esm/hooks/features/serverSideTreeData/utils.d.ts → hooks/features/serverSideTreeData/utils.d.mts} +0 -0
- /package/{esm/hooks/features/serverSideTreeData/utils.js → hooks/features/serverSideTreeData/utils.mjs} +0 -0
- /package/{esm/hooks/features/treeData/gridTreeDataGroupColDef.d.ts → hooks/features/treeData/gridTreeDataGroupColDef.d.mts} +0 -0
- /package/{esm/hooks/features/treeData/gridTreeDataGroupColDef.js → hooks/features/treeData/gridTreeDataGroupColDef.mjs} +0 -0
- /package/{esm/hooks/features/treeData/gridTreeDataUtils.js → hooks/features/treeData/gridTreeDataUtils.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiContext.js → hooks/utils/useGridApiContext.mjs} +0 -0
- /package/{esm/hooks/utils/useGridApiRef.js → hooks/utils/useGridApiRef.mjs} +0 -0
- /package/{esm/hooks/utils/useGridAriaAttributes.d.ts → hooks/utils/useGridAriaAttributes.d.mts} +0 -0
- /package/{esm/hooks/utils/useGridPrivateApiContext.js → hooks/utils/useGridPrivateApiContext.mjs} +0 -0
- /package/{esm/hooks/utils/useGridRootProps.js → hooks/utils/useGridRootProps.mjs} +0 -0
- /package/{esm/internals/propValidation.js → internals/propValidation.mjs} +0 -0
- /package/{esm/locales/index.d.ts → locales/index.d.mts} +0 -0
- /package/{esm/locales/index.js → locales/index.mjs} +0 -0
- /package/{esm/material/icons.d.ts → material/icons.d.mts} +0 -0
- /package/{esm/material/icons.js → material/icons.mjs} +0 -0
- /package/{esm/material/index.d.ts → material/index.d.mts} +0 -0
- /package/{esm/models/dataGridProProps.js → models/dataGridProProps.mjs} +0 -0
- /package/{esm/models/gridApiPro.js → models/gridApiPro.mjs} +0 -0
- /package/{esm/models/gridFetchRowsParams.d.ts → models/gridFetchRowsParams.d.mts} +0 -0
- /package/{esm/models/gridFetchRowsParams.js → models/gridFetchRowsParams.mjs} +0 -0
- /package/{esm/models/gridGroupingColDefOverride.d.ts → models/gridGroupingColDefOverride.d.mts} +0 -0
- /package/{esm/models/gridGroupingColDefOverride.js → models/gridGroupingColDefOverride.mjs} +0 -0
- /package/{esm/models/gridProIconSlotsComponent.d.ts → models/gridProIconSlotsComponent.d.mts} +0 -0
- /package/{esm/models/gridProIconSlotsComponent.js → models/gridProIconSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridProSlotProps.js → models/gridProSlotProps.mjs} +0 -0
- /package/{esm/models/gridProSlotsComponent.js → models/gridProSlotsComponent.mjs} +0 -0
- /package/{esm/models/gridRowOrderChangeParams.d.ts → models/gridRowOrderChangeParams.d.mts} +0 -0
- /package/{esm/models/gridRowOrderChangeParams.js → models/gridRowOrderChangeParams.mjs} +0 -0
- /package/{esm/models/gridRowReorderApi.d.ts → models/gridRowReorderApi.d.mts} +0 -0
- /package/{esm/models/gridRowReorderApi.js → models/gridRowReorderApi.mjs} +0 -0
- /package/{esm/models/gridRowScrollEndParams.d.ts → models/gridRowScrollEndParams.d.mts} +0 -0
- /package/{esm/models/gridRowScrollEndParams.js → models/gridRowScrollEndParams.mjs} +0 -0
- /package/{esm/models/gridStatePro.js → models/gridStatePro.mjs} +0 -0
- /package/{esm/themeAugmentation/overrides.d.ts → themeAugmentation/overrides.d.mts} +0 -0
- /package/{esm/themeAugmentation/overrides.js → themeAugmentation/overrides.mjs} +0 -0
- /package/{esm/themeAugmentation/props.js → themeAugmentation/props.mjs} +0 -0
- /package/{esm/typeOverloads/modules.js → typeOverloads/modules.mjs} +0 -0
- /package/{esm/utils/tree/models.d.ts → utils/tree/models.d.mts} +0 -0
- /package/{esm/utils/tree/models.js → utils/tree/models.mjs} +0 -0
- /package/{esm/utils/tree/removeDataRowFromTree.d.ts → utils/tree/removeDataRowFromTree.d.mts} +0 -0
- /package/{esm/utils/tree/sortRowTree.d.ts → utils/tree/sortRowTree.d.mts} +0 -0
- /package/{esm/utils/tree/sortRowTree.js → utils/tree/sortRowTree.mjs} +0 -0
- /package/{esm/utils/tree/utils.js → utils/tree/utils.mjs} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,241 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
_Mar 5, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- ✅ Stabilize Sankey chart
|
|
10
|
+
- 🐞 Bugfixes and internal improvements
|
|
11
|
+
|
|
12
|
+
The following team members contributed to this release:
|
|
13
|
+
@aemartos, @alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @mj12albert, @sai6855, @siriwatknp
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid@9.0.0-alpha.2`
|
|
18
|
+
|
|
19
|
+
- [dataGrid] Fix keyboard nav with single-row checkbox selection (#21149) @mj12albert
|
|
20
|
+
- [DataGrid] Add `checkboxColDef` prop to customize the selection column (#21331) @michelengelen
|
|
21
|
+
- [DataGrid] Format pagination numbers by default (#21117) @siriwatknp
|
|
22
|
+
- [DataGrid] Prevent unnecessary row selection checkbox rerendering (#21570) @arminmeh
|
|
23
|
+
- [DataGrid] Make GridScrollArea overrides resolver dynamic (#21532) @sai6855
|
|
24
|
+
|
|
25
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
26
|
+
|
|
27
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.2`, plus:
|
|
28
|
+
|
|
29
|
+
- [DataGridPro] Use `getRowId` prop to calculate the tree data row update (#21540) @arminmeh
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.2`.
|
|
34
|
+
|
|
35
|
+
### Date and Time Pickers
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.2`
|
|
38
|
+
|
|
39
|
+
- [pickers] Add `keepOpenDuringFieldFocus` prop (#20782) @michelengelen
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.2`.
|
|
44
|
+
|
|
45
|
+
### Charts
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-charts@9.0.0-alpha.2`
|
|
48
|
+
|
|
49
|
+
- [charts] Add `ChartsLayerContainer` component (#21264) @bernardobelchior
|
|
50
|
+
- [charts] Add codemod for `ChartsContainer` rename (#21504) @JCQuintas
|
|
51
|
+
- [charts] Add codemod for `ChartsDataProvider` rename (#21552) @JCQuintas
|
|
52
|
+
- [charts] Add codemod for `ChartsZoomSlider` rename (#21597) @JCQuintas
|
|
53
|
+
- [charts] Base the highlight items on the item identifiers (#21161) @alexfauquette
|
|
54
|
+
- [charts] Deprecate `ChartDataProvider` in favour of `ChartsDataProvider` (#21191) @JCQuintas
|
|
55
|
+
- [charts] Deprecate `highlighted` and `faded` classes (#21476) @alexfauquette
|
|
56
|
+
- [charts] Migrate to latest v8 warning (#21518) @JCQuintas
|
|
57
|
+
- [charts] Rename `ChartZoomSlider` to `ChartsZoomSlider` (#21553) @JCQuintas
|
|
58
|
+
- [charts] Rename `WebGl` to `WebGL` (#21524) @JCQuintas
|
|
59
|
+
- [charts] Rename `useSvgRef()` by `useChartsLayerContainerRef()` (#21494) @alexfauquette
|
|
60
|
+
- [charts] Restore focus on last focused item (#21522) @alexfauquette
|
|
61
|
+
- [charts] Warn users when controlled tooltip state does not match the trigger (#21520) @Copilot
|
|
62
|
+
- [charts] Fix controlled tooltip position (#21603) @bernardobelchior
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.2`, plus:
|
|
67
|
+
|
|
68
|
+
- [charts-pro] Center the watermark (#21550) @alexfauquette
|
|
69
|
+
- [charts-pro] Stabilize `SankeyChart` API (#21133) @Copilot
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.2`.
|
|
74
|
+
|
|
75
|
+
### Tree View
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-tree-view@9.0.0-alpha.2`
|
|
78
|
+
|
|
79
|
+
Internal changes.
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
82
|
+
|
|
83
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.2`.
|
|
84
|
+
|
|
85
|
+
### Codemod
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-codemod@9.0.0-alpha.2`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Docs
|
|
92
|
+
|
|
93
|
+
- [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
|
|
94
|
+
- [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
|
|
95
|
+
- [docs] Update Roadmap section in the docs (#20892) @alelthomas
|
|
96
|
+
- [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
|
|
97
|
+
- [docs] Fix missing codemod docs (#21604) @JCQuintas
|
|
98
|
+
|
|
99
|
+
### Core
|
|
100
|
+
|
|
101
|
+
- [code-infra] Add eslint rule to prevent `Math.random` in docs (#21505) @JCQuintas
|
|
102
|
+
- [code-infra] Avoid static props for pageContent (#21038) @Janpot
|
|
103
|
+
- [code-infra] Isolate `date-pickers-pro` in the browser tests (#21383) @Janpot
|
|
104
|
+
- [code-infra] Remove `--coverage` (#21410) @Janpot
|
|
105
|
+
- [code-infra] Remove unneeded `skipIf`s (#21569) @JCQuintas
|
|
106
|
+
- [code-infra] Remove vale as a workspace dependency (#21489) @brijeshb42
|
|
107
|
+
- [code-infra] Remove x-charts-vendor from nextjs processing (#21534) @brijeshb42
|
|
108
|
+
- [code-infra] Set BASE_BRANCH env var in CircleCI config (#21548) @brijeshb42
|
|
109
|
+
- [code-infra] Setup error code extraction (#21469) @brijeshb42
|
|
110
|
+
- [code-infra] Setup flat build for packages (#21029) @brijeshb42
|
|
111
|
+
- [code-infra] Upgrade test_unit to large resource class (#21558) @Janpot
|
|
112
|
+
- [code-infra] Removed getTeamMembers function and usage from release script (#21605) @michelengelen
|
|
113
|
+
|
|
114
|
+
### Miscellaneous
|
|
115
|
+
|
|
116
|
+
- [x-license] Add Q1-2026 plan version with quantity and appType support (#21574) @aemartos
|
|
117
|
+
- [x-license] Add v3 key format support, centralize test keys, and trim public API (#21485) @aemartos
|
|
118
|
+
- [x-telemetry] telemetry opt-out by default, remove conf dependency (#21470) @aemartos
|
|
119
|
+
- [x-telemetry] test: mock context module directly in sender tests (#21546) @aemartos
|
|
120
|
+
|
|
121
|
+
## 9.0.0-alpha.1
|
|
122
|
+
|
|
123
|
+
_Feb 26, 2026_
|
|
124
|
+
|
|
125
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
126
|
+
|
|
127
|
+
- ⚡️ Improved dynamic data support and cache invalidation in lazy loading for Data Grid Pro
|
|
128
|
+
- ⌨️ Keyboard support for selecting day, month, and year in Date Pickers
|
|
129
|
+
- 📊 Axis tooltip sorting and control improvements in Charts
|
|
130
|
+
- 🐞 Bugfixes and internal improvements
|
|
131
|
+
|
|
132
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
133
|
+
@EllGree, @lion1963
|
|
134
|
+
|
|
135
|
+
The following team members contributed to this release:
|
|
136
|
+
@alexfauquette, @arminmeh, @brijeshb42, @cherniavskii, @dav-is, @flaviendelangle, @Janpot, @JCQuintas, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
137
|
+
|
|
138
|
+
### Data Grid
|
|
139
|
+
|
|
140
|
+
#### `@mui/x-data-grid@9.0.0-alpha.1`
|
|
141
|
+
|
|
142
|
+
- [DataGrid] Forward rest props in `GridFilterInputMultipleValue` (#21407) @siriwatknp
|
|
143
|
+
- [DataGrid] Preserve key input during row edit when using `rowModesModel` (#20759) @michelengelen
|
|
144
|
+
- [DataGrid] Remove double rtl inversion logic for columns pinning (#21371) @siriwatknp
|
|
145
|
+
|
|
146
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
147
|
+
|
|
148
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.1`, plus:
|
|
149
|
+
|
|
150
|
+
- [DataGridPro] Fix number input visibility in header filters (#21328) @michelengelen
|
|
151
|
+
- [DataGridPro] Improve dynamic data support and cache invalidation in lazy loading (#21282) @MBilalShafi
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
154
|
+
|
|
155
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.1`.
|
|
156
|
+
|
|
157
|
+
### Date and Time Pickers
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.1`
|
|
160
|
+
|
|
161
|
+
- [DatePicker] Add keyboard support for selecting day, month, and year (#20859) @michelengelen
|
|
162
|
+
|
|
163
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
164
|
+
|
|
165
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.1`, plus:
|
|
166
|
+
|
|
167
|
+
- [DateRangePicker] Fix timezone update issue leading to `invalidRange` error (#20863) @michelengelen
|
|
168
|
+
|
|
169
|
+
### Charts
|
|
170
|
+
|
|
171
|
+
#### `@mui/x-charts@9.0.0-alpha.1`
|
|
172
|
+
|
|
173
|
+
- [charts] Add `sort` props to the axis tooltip (#21293) @alexfauquette
|
|
174
|
+
- [charts] Controll axis tooltip (#21351) @alexfauquette
|
|
175
|
+
- [charts] De duplicate keyboard focus handler function (#21267) @sai6855
|
|
176
|
+
- [charts] Make `type` optional in identifiers (#21311) @alexfauquette
|
|
177
|
+
- [charts] Move ref to the root component (#21396) @alexfauquette
|
|
178
|
+
- [charts] Refactor loading and no data overlays to use a shared OverlayText component (#21414) @sai6855
|
|
179
|
+
- [charts] Require series ids to be unique (#21330) @alexfauquette
|
|
180
|
+
- [charts] Set `showMark` as `false` by default (#21373) @alexfauquette
|
|
181
|
+
- [charts] Use `createGetNextIndexFocusedItem()` util in Funnel and RangeBar charts (#21390) @sai6855
|
|
182
|
+
- [charts] Remove unnecessary string concatenation (#21418) @sai6855
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
185
|
+
|
|
186
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.1`.
|
|
187
|
+
|
|
188
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
189
|
+
|
|
190
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.1`.
|
|
191
|
+
|
|
192
|
+
### Tree View
|
|
193
|
+
|
|
194
|
+
#### `@mui/x-tree-view@9.0.0-alpha.1`
|
|
195
|
+
|
|
196
|
+
- [tree view] Focus item sibling on unmount instead of the 1st item (#21254) @flaviendelangle
|
|
197
|
+
|
|
198
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
199
|
+
|
|
200
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.1`.
|
|
201
|
+
|
|
202
|
+
### Codemod
|
|
203
|
+
|
|
204
|
+
#### `@mui/x-codemod@9.0.0-alpha.1`
|
|
205
|
+
|
|
206
|
+
Internal changes.
|
|
207
|
+
|
|
208
|
+
### Docs
|
|
209
|
+
|
|
210
|
+
- [docs] Fix external 301s (#21377) @Janpot
|
|
211
|
+
- [docs] Show premium in the overview (#21343) @alexfauquette
|
|
212
|
+
- [docs][charts] Revise the useLegend hook doc (#21352) @mapache-salvaje
|
|
213
|
+
- [docs][charts] Revise the axis hooks doc (#21317) @mapache-salvaje
|
|
214
|
+
- [docs][charts] Revise the scale hooks doc (#21316) @mapache-salvaje
|
|
215
|
+
- [docs][charts] Revise the series hooks doc (#21353) @mapache-salvaje
|
|
216
|
+
- [docs][charts] Revise the useDataset doc (#21336) @mapache-salvaje
|
|
217
|
+
- [docs][charts] Revise the useDrawingArea doc (#21333) @mapache-salvaje
|
|
218
|
+
|
|
219
|
+
### Core
|
|
220
|
+
|
|
221
|
+
- [core] Update docs deploy script to the `docs-next` branch (#21341) @siriwatknp
|
|
222
|
+
- [code-infra] Cleanup unused babel plugins (#21453) @brijeshb42
|
|
223
|
+
- [code-infra] Do not append `x` to the last version for the compare API (#21408) @arminmeh
|
|
224
|
+
- [code-infra] Upgrade react-docgen to v8 X (#21155) @JCQuintas
|
|
225
|
+
- [code-infra] Modernize codemod (#21096) @JCQuintas
|
|
226
|
+
- [docs-infra] Fix current version detection logic (#21417) @cherniavskii
|
|
227
|
+
- [docs-infra] Reapply Cookie Banner (#21281) @dav-is
|
|
228
|
+
- [internal] Headless filtering plugin (#21302) @arminmeh
|
|
229
|
+
- [internal] Headless pagination plugin (#21183) @arminmeh
|
|
230
|
+
- [internal] Headless virtualization followups (#21327) @cherniavskii
|
|
231
|
+
- [internal] Keep cached data for disabled pipe processors (#21348) @arminmeh
|
|
232
|
+
- [internal] Remove autoprefixer package (#21440) @ZeeshanTamboli
|
|
233
|
+
|
|
234
|
+
### Miscellaneous
|
|
235
|
+
|
|
236
|
+
- [l10n] Fix Czech (csCZ) locale: sort/filter labels are swapped (#21400) @EllGree
|
|
237
|
+
- [l10n] Improve Ukrainian (uk-UA) locale (#21366) @lion1963
|
|
238
|
+
|
|
3
239
|
## 9.0.0-alpha.0
|
|
4
240
|
|
|
5
241
|
_Feb 16, 2026_
|
package/DataGridPro/DataGrid.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.DataGrid = DataGrid;
|
|
7
8
|
exports.DataGridPremium = DataGridPremium;
|
|
9
|
+
var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
|
|
8
10
|
/**
|
|
9
11
|
* @deprecated Import DataGridPro instead.
|
|
10
12
|
*/
|
|
@@ -12,7 +14,7 @@ function DataGrid() {
|
|
|
12
14
|
if (process.env.NODE_ENV === 'production') {
|
|
13
15
|
return null;
|
|
14
16
|
}
|
|
15
|
-
throw new Error(
|
|
17
|
+
throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X Data Grid: DataGrid is not exported from @mui/x-data-grid-pro. ' + 'The Pro package exports DataGridPro instead. ' + "Use `import { DataGridPro } from '@mui/x-data-grid-pro'` or import DataGrid from @mui/x-data-grid." : (0, _formatErrorMessage2.default)(124));
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
/**
|
|
@@ -22,5 +24,5 @@ function DataGridPremium() {
|
|
|
22
24
|
if (process.env.NODE_ENV === 'production') {
|
|
23
25
|
return null;
|
|
24
26
|
}
|
|
25
|
-
throw new Error(
|
|
27
|
+
throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X Data Grid: DataGridPremium is not exported from @mui/x-data-grid-pro. ' + 'For Premium features, use @mui/x-data-grid-premium with a Premium plan license. ' + "Otherwise, use `import { DataGridPro } from '@mui/x-data-grid-pro'` for Pro features." : (0, _formatErrorMessage2.default)(125));
|
|
26
28
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Import DataGridPro instead.
|
|
4
|
+
*/
|
|
5
|
+
export function DataGrid() {
|
|
6
|
+
if (process.env.NODE_ENV === 'production') {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X Data Grid: DataGrid is not exported from @mui/x-data-grid-pro. ' + 'The Pro package exports DataGridPro instead. ' + "Use `import { DataGridPro } from '@mui/x-data-grid-pro'` or import DataGrid from @mui/x-data-grid." : _formatErrorMessage(124));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Import DataGridPro instead.
|
|
14
|
+
*/
|
|
15
|
+
export function DataGridPremium() {
|
|
16
|
+
if (process.env.NODE_ENV === 'production') {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
throw new Error(process.env.NODE_ENV !== "production" ? 'MUI X Data Grid: DataGridPremium is not exported from @mui/x-data-grid-pro. ' + 'For Premium features, use @mui/x-data-grid-premium with a Premium plan license. ' + "Otherwise, use `import { DataGridPro } from '@mui/x-data-grid-pro'` for Pro features." : _formatErrorMessage(125));
|
|
20
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
3
|
-
import type { DataGridProProps } from "../models/dataGridProProps.
|
|
4
|
-
export type { GridProSlotsComponent as GridSlots } from "../models/index.
|
|
3
|
+
import type { DataGridProProps } from "../models/dataGridProProps.mjs";
|
|
4
|
+
export type { GridProSlotsComponent as GridSlots } from "../models/index.mjs";
|
|
5
5
|
interface DataGridProComponent {
|
|
6
6
|
<R extends GridValidRowModel = any>(props: DataGridProProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
|
|
7
7
|
propTypes?: any;
|
|
@@ -10,7 +10,8 @@ exports.DataGridPro = void 0;
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var
|
|
13
|
+
var _useLicenseVerifier = require("@mui/x-license/useLicenseVerifier");
|
|
14
|
+
var _Watermark = require("@mui/x-license/Watermark");
|
|
14
15
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
15
16
|
var _internals = require("@mui/x-data-grid/internals");
|
|
16
17
|
var _material = require("@mui/x-data-grid/material");
|
|
@@ -34,8 +35,8 @@ const configuration = {
|
|
|
34
35
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
|
-
const releaseInfo = "
|
|
38
|
-
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
38
|
+
const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
|
|
39
|
+
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Watermark.Watermark, {
|
|
39
40
|
packageName: "x-data-grid-pro",
|
|
40
41
|
releaseInfo: releaseInfo
|
|
41
42
|
});
|
|
@@ -43,7 +44,7 @@ const DataGridProRaw = (0, _forwardRef.forwardRef)(function DataGridPro(inProps,
|
|
|
43
44
|
const props = (0, _useDataGridProProps.useDataGridProProps)(inProps);
|
|
44
45
|
const privateApiRef = (0, _internals.useGridApiInitialization)(props.apiRef, props);
|
|
45
46
|
(0, _useDataGridProComponent.useDataGridProComponent)(privateApiRef, props, configuration);
|
|
46
|
-
(0,
|
|
47
|
+
(0, _useLicenseVerifier.useLicenseVerifier)('x-data-grid-pro', releaseInfo);
|
|
47
48
|
if (process.env.NODE_ENV !== 'production') {
|
|
48
49
|
(0, _internals.validateProps)(props, _propValidation.propValidatorsDataGridPro);
|
|
49
50
|
}
|
|
@@ -124,6 +125,64 @@ DataGridProRaw.propTypes = {
|
|
|
124
125
|
* Controls the modes of the cells.
|
|
125
126
|
*/
|
|
126
127
|
cellModesModel: _propTypes.default.object,
|
|
128
|
+
/**
|
|
129
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
130
|
+
*
|
|
131
|
+
* @warning
|
|
132
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
133
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
134
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
135
|
+
*/
|
|
136
|
+
checkboxColDef: _propTypes.default.shape({
|
|
137
|
+
align: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
138
|
+
cellClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
139
|
+
colSpan: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.number]),
|
|
140
|
+
description: _propTypes.default.string,
|
|
141
|
+
disableColumnMenu: _propTypes.default.bool,
|
|
142
|
+
disableExport: _propTypes.default.bool,
|
|
143
|
+
disableReorder: _propTypes.default.bool,
|
|
144
|
+
display: _propTypes.default.oneOf(['flex', 'text']),
|
|
145
|
+
editable: _propTypes.default.bool,
|
|
146
|
+
examples: _propTypes.default.array,
|
|
147
|
+
filterable: _propTypes.default.bool,
|
|
148
|
+
filterOperators: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
149
|
+
getApplyFilterFn: _propTypes.default.func.isRequired,
|
|
150
|
+
getValueAsString: _propTypes.default.func,
|
|
151
|
+
headerLabel: _propTypes.default.string,
|
|
152
|
+
InputComponent: _propTypes.default.elementType,
|
|
153
|
+
InputComponentProps: _propTypes.default.object,
|
|
154
|
+
label: _propTypes.default.string,
|
|
155
|
+
requiresFilterValue: _propTypes.default.bool,
|
|
156
|
+
value: _propTypes.default.string.isRequired
|
|
157
|
+
})),
|
|
158
|
+
flex: _propTypes.default.number,
|
|
159
|
+
getApplyQuickFilterFn: _propTypes.default.func,
|
|
160
|
+
getSortComparator: _propTypes.default.func,
|
|
161
|
+
groupable: _propTypes.default.bool,
|
|
162
|
+
headerAlign: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
163
|
+
headerClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
164
|
+
headerName: _propTypes.default.string,
|
|
165
|
+
hideable: _propTypes.default.bool,
|
|
166
|
+
hideSortIcons: _propTypes.default.bool,
|
|
167
|
+
maxWidth: _propTypes.default.number,
|
|
168
|
+
minWidth: _propTypes.default.number,
|
|
169
|
+
pinnable: _propTypes.default.bool,
|
|
170
|
+
preProcessEditCellProps: _propTypes.default.func,
|
|
171
|
+
renderCell: _propTypes.default.func,
|
|
172
|
+
renderEditCell: _propTypes.default.func,
|
|
173
|
+
renderHeader: _propTypes.default.func,
|
|
174
|
+
renderHeaderFilter: _propTypes.default.func,
|
|
175
|
+
resizable: _propTypes.default.bool,
|
|
176
|
+
rowSpanValueGetter: _propTypes.default.func,
|
|
177
|
+
sortable: _propTypes.default.bool,
|
|
178
|
+
sortComparator: _propTypes.default.func,
|
|
179
|
+
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
180
|
+
valueFormatter: _propTypes.default.func,
|
|
181
|
+
valueGetter: _propTypes.default.func,
|
|
182
|
+
valueParser: _propTypes.default.func,
|
|
183
|
+
valueSetter: _propTypes.default.func,
|
|
184
|
+
width: _propTypes.default.number
|
|
185
|
+
}),
|
|
127
186
|
/**
|
|
128
187
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
129
188
|
* @default false
|
|
@@ -192,6 +251,13 @@ DataGridProRaw.propTypes = {
|
|
|
192
251
|
get: _propTypes.default.func.isRequired,
|
|
193
252
|
set: _propTypes.default.func.isRequired
|
|
194
253
|
}),
|
|
254
|
+
/**
|
|
255
|
+
* If positive, the Data Grid will periodically revalidate data source rows by re-fetching them from the server when the cache entry has expired.
|
|
256
|
+
* If the refetched rows are different from the current rows, the grid will update the rows.
|
|
257
|
+
* Set to `0` to disable polling.
|
|
258
|
+
* @default 0
|
|
259
|
+
*/
|
|
260
|
+
dataSourceRevalidateMs: _propTypes.default.number,
|
|
195
261
|
/**
|
|
196
262
|
* If above 0, the row children will be expanded up to this depth.
|
|
197
263
|
* If equal to -1, all the row children will be expanded.
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import { useLicenseVerifier
|
|
6
|
+
import { useLicenseVerifier } from '@mui/x-license/useLicenseVerifier';
|
|
7
|
+
import { Watermark } from '@mui/x-license/Watermark';
|
|
7
8
|
import { GridRoot, GridContextProvider } from '@mui/x-data-grid';
|
|
8
9
|
import { validateProps, useGridApiInitialization, useGridParamsOverridableMethods, useIsCellEditable } from '@mui/x-data-grid/internals';
|
|
9
10
|
import { useMaterialCSSVariables } from '@mui/x-data-grid/material';
|
|
10
11
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
11
|
-
import { useGridRowsOverridableMethods } from "../hooks/features/rows/useGridRowsOverridableMethods.
|
|
12
|
-
import { useDataGridProComponent } from "./useDataGridProComponent.
|
|
13
|
-
import { useDataGridProProps } from "./useDataGridProProps.
|
|
14
|
-
import { propValidatorsDataGridPro } from "../internals/propValidation.
|
|
15
|
-
import { useGridAriaAttributesPro } from "../hooks/utils/useGridAriaAttributes.
|
|
16
|
-
import { useGridRowAriaAttributesPro } from "../hooks/features/rows/useGridRowAriaAttributes.
|
|
12
|
+
import { useGridRowsOverridableMethods } from "../hooks/features/rows/useGridRowsOverridableMethods.mjs";
|
|
13
|
+
import { useDataGridProComponent } from "./useDataGridProComponent.mjs";
|
|
14
|
+
import { useDataGridProProps } from "./useDataGridProProps.mjs";
|
|
15
|
+
import { propValidatorsDataGridPro } from "../internals/propValidation.mjs";
|
|
16
|
+
import { useGridAriaAttributesPro } from "../hooks/utils/useGridAriaAttributes.mjs";
|
|
17
|
+
import { useGridRowAriaAttributesPro } from "../hooks/features/rows/useGridRowAriaAttributes.mjs";
|
|
17
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
19
|
const configuration = {
|
|
19
20
|
hooks: {
|
|
@@ -27,7 +28,7 @@ const configuration = {
|
|
|
27
28
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
|
-
const releaseInfo = "
|
|
31
|
+
const releaseInfo = "MTc3MjY2ODgwMDAwMA==";
|
|
31
32
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
32
33
|
packageName: "x-data-grid-pro",
|
|
33
34
|
releaseInfo: releaseInfo
|
|
@@ -117,6 +118,64 @@ DataGridProRaw.propTypes = {
|
|
|
117
118
|
* Controls the modes of the cells.
|
|
118
119
|
*/
|
|
119
120
|
cellModesModel: PropTypes.object,
|
|
121
|
+
/**
|
|
122
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
123
|
+
*
|
|
124
|
+
* @warning
|
|
125
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
126
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
127
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
128
|
+
*/
|
|
129
|
+
checkboxColDef: PropTypes.shape({
|
|
130
|
+
align: PropTypes.oneOf(['center', 'left', 'right']),
|
|
131
|
+
cellClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
132
|
+
colSpan: PropTypes.oneOfType([PropTypes.func, PropTypes.number]),
|
|
133
|
+
description: PropTypes.string,
|
|
134
|
+
disableColumnMenu: PropTypes.bool,
|
|
135
|
+
disableExport: PropTypes.bool,
|
|
136
|
+
disableReorder: PropTypes.bool,
|
|
137
|
+
display: PropTypes.oneOf(['flex', 'text']),
|
|
138
|
+
editable: PropTypes.bool,
|
|
139
|
+
examples: PropTypes.array,
|
|
140
|
+
filterable: PropTypes.bool,
|
|
141
|
+
filterOperators: PropTypes.arrayOf(PropTypes.shape({
|
|
142
|
+
getApplyFilterFn: PropTypes.func.isRequired,
|
|
143
|
+
getValueAsString: PropTypes.func,
|
|
144
|
+
headerLabel: PropTypes.string,
|
|
145
|
+
InputComponent: PropTypes.elementType,
|
|
146
|
+
InputComponentProps: PropTypes.object,
|
|
147
|
+
label: PropTypes.string,
|
|
148
|
+
requiresFilterValue: PropTypes.bool,
|
|
149
|
+
value: PropTypes.string.isRequired
|
|
150
|
+
})),
|
|
151
|
+
flex: PropTypes.number,
|
|
152
|
+
getApplyQuickFilterFn: PropTypes.func,
|
|
153
|
+
getSortComparator: PropTypes.func,
|
|
154
|
+
groupable: PropTypes.bool,
|
|
155
|
+
headerAlign: PropTypes.oneOf(['center', 'left', 'right']),
|
|
156
|
+
headerClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
157
|
+
headerName: PropTypes.string,
|
|
158
|
+
hideable: PropTypes.bool,
|
|
159
|
+
hideSortIcons: PropTypes.bool,
|
|
160
|
+
maxWidth: PropTypes.number,
|
|
161
|
+
minWidth: PropTypes.number,
|
|
162
|
+
pinnable: PropTypes.bool,
|
|
163
|
+
preProcessEditCellProps: PropTypes.func,
|
|
164
|
+
renderCell: PropTypes.func,
|
|
165
|
+
renderEditCell: PropTypes.func,
|
|
166
|
+
renderHeader: PropTypes.func,
|
|
167
|
+
renderHeaderFilter: PropTypes.func,
|
|
168
|
+
resizable: PropTypes.bool,
|
|
169
|
+
rowSpanValueGetter: PropTypes.func,
|
|
170
|
+
sortable: PropTypes.bool,
|
|
171
|
+
sortComparator: PropTypes.func,
|
|
172
|
+
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
173
|
+
valueFormatter: PropTypes.func,
|
|
174
|
+
valueGetter: PropTypes.func,
|
|
175
|
+
valueParser: PropTypes.func,
|
|
176
|
+
valueSetter: PropTypes.func,
|
|
177
|
+
width: PropTypes.number
|
|
178
|
+
}),
|
|
120
179
|
/**
|
|
121
180
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
122
181
|
* @default false
|
|
@@ -185,6 +244,13 @@ DataGridProRaw.propTypes = {
|
|
|
185
244
|
get: PropTypes.func.isRequired,
|
|
186
245
|
set: PropTypes.func.isRequired
|
|
187
246
|
}),
|
|
247
|
+
/**
|
|
248
|
+
* If positive, the Data Grid will periodically revalidate data source rows by re-fetching them from the server when the cache entry has expired.
|
|
249
|
+
* If the refetched rows are different from the current rows, the grid will update the rows.
|
|
250
|
+
* Set to `0` to disable polling.
|
|
251
|
+
* @default 0
|
|
252
|
+
*/
|
|
253
|
+
dataSourceRevalidateMs: PropTypes.number,
|
|
188
254
|
/**
|
|
189
255
|
* If above 0, the row children will be expanded up to this depth.
|
|
190
256
|
* If equal to -1, all the row children will be expanded.
|
package/{esm/DataGridPro/useDataGridProComponent.d.ts → DataGridPro/useDataGridProComponent.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RefObject } from '@mui/x-internals/types';
|
|
2
2
|
import { type GridConfiguration } from '@mui/x-data-grid/internals';
|
|
3
|
-
import type { GridPrivateApiPro } from "../models/gridApiPro.
|
|
4
|
-
import type { DataGridProProcessedProps } from "../models/dataGridProProps.
|
|
3
|
+
import type { GridPrivateApiPro } from "../models/gridApiPro.mjs";
|
|
4
|
+
import type { DataGridProProcessedProps } from "../models/dataGridProProps.mjs";
|
|
5
5
|
export declare const useDataGridProComponent: (apiRef: RefObject<GridPrivateApiPro>, props: DataGridProProcessedProps, configuration: GridConfiguration) => void;
|
package/{esm/DataGridPro/useDataGridProComponent.js → DataGridPro/useDataGridProComponent.mjs}
RENAMED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useGridInitialization, useGridInitializeState, useGridClipboard, useGridColumnMenu, useGridColumns, columnsStateInitializer, useGridDensity, useGridCsvExport, useGridPrintExport, useGridFilter, filterStateInitializer, useGridFocus, useGridKeyboardNavigation, useGridPagination, paginationStateInitializer, useGridPreferencesPanel, useGridEditing, editingStateInitializer, useGridRows, useGridRowsPreProcessors, rowsStateInitializer, useGridParamsApi, useGridRowSelection, useGridSorting, sortingStateInitializer, useGridScroll, useGridEvents, dimensionsStateInitializer, useGridDimensions, useGridStatePersistence, useGridRowSelectionPreProcessors, useGridColumnSpanning, columnMenuStateInitializer, densityStateInitializer, focusStateInitializer, preferencePanelStateInitializer, rowsMetaStateInitializer, rowSelectionStateInitializer, useGridColumnGrouping, columnGroupsStateInitializer, headerFilteringStateInitializer, useGridHeaderFiltering, virtualizationStateInitializer, useGridVirtualization, useGridColumnResize, columnResizeStateInitializer, useGridRowSpanning, rowSpanningStateInitializer, useGridListView, listViewStateInitializer, propsStateInitializer, useFirstRender } from '@mui/x-data-grid/internals';
|
|
5
5
|
// Pro-only features
|
|
6
|
-
import { useGridInfiniteLoader } from "../hooks/features/infiniteLoader/useGridInfiniteLoader.
|
|
7
|
-
import { useGridColumnReorder, columnReorderStateInitializer } from "../hooks/features/columnReorder/useGridColumnReorder.
|
|
8
|
-
import { useGridTreeData } from "../hooks/features/treeData/useGridTreeData.
|
|
9
|
-
import { useGridTreeDataPreProcessors } from "../hooks/features/treeData/useGridTreeDataPreProcessors.
|
|
10
|
-
import { useGridDataSourceTreeDataPreProcessors } from "../hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.
|
|
11
|
-
import { useGridColumnPinning, columnPinningStateInitializer } from "../hooks/features/columnPinning/useGridColumnPinning.
|
|
12
|
-
import { useGridColumnPinningPreProcessors } from "../hooks/features/columnPinning/useGridColumnPinningPreProcessors.
|
|
13
|
-
import { useGridDetailPanel, detailPanelStateInitializer } from "../hooks/features/detailPanel/useGridDetailPanel.
|
|
14
|
-
import { useGridDetailPanelPreProcessors } from "../hooks/features/detailPanel/useGridDetailPanelPreProcessors.
|
|
15
|
-
import { useGridRowReorder, rowReorderStateInitializer } from "../hooks/features/rowReorder/useGridRowReorder.
|
|
16
|
-
import { useGridRowReorderPreProcessors } from "../hooks/features/rowReorder/useGridRowReorderPreProcessors.
|
|
17
|
-
import { useGridLazyLoader } from "../hooks/features/lazyLoader/useGridLazyLoader.
|
|
18
|
-
import { useGridLazyLoaderPreProcessors } from "../hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.
|
|
19
|
-
import { useGridRowPinning, rowPinningStateInitializer } from "../hooks/features/rowPinning/useGridRowPinning.
|
|
20
|
-
import { useGridRowPinningPreProcessors } from "../hooks/features/rowPinning/useGridRowPinningPreProcessors.
|
|
21
|
-
import { useGridDataSourcePro as useGridDataSource, dataSourceStateInitializer } from "../hooks/features/dataSource/useGridDataSourcePro.
|
|
22
|
-
import { useGridDataSourceLazyLoader } from "../hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.
|
|
23
|
-
import { useGridInfiniteLoadingIntersection } from "../hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.
|
|
6
|
+
import { useGridInfiniteLoader } from "../hooks/features/infiniteLoader/useGridInfiniteLoader.mjs";
|
|
7
|
+
import { useGridColumnReorder, columnReorderStateInitializer } from "../hooks/features/columnReorder/useGridColumnReorder.mjs";
|
|
8
|
+
import { useGridTreeData } from "../hooks/features/treeData/useGridTreeData.mjs";
|
|
9
|
+
import { useGridTreeDataPreProcessors } from "../hooks/features/treeData/useGridTreeDataPreProcessors.mjs";
|
|
10
|
+
import { useGridDataSourceTreeDataPreProcessors } from "../hooks/features/serverSideTreeData/useGridDataSourceTreeDataPreProcessors.mjs";
|
|
11
|
+
import { useGridColumnPinning, columnPinningStateInitializer } from "../hooks/features/columnPinning/useGridColumnPinning.mjs";
|
|
12
|
+
import { useGridColumnPinningPreProcessors } from "../hooks/features/columnPinning/useGridColumnPinningPreProcessors.mjs";
|
|
13
|
+
import { useGridDetailPanel, detailPanelStateInitializer } from "../hooks/features/detailPanel/useGridDetailPanel.mjs";
|
|
14
|
+
import { useGridDetailPanelPreProcessors } from "../hooks/features/detailPanel/useGridDetailPanelPreProcessors.mjs";
|
|
15
|
+
import { useGridRowReorder, rowReorderStateInitializer } from "../hooks/features/rowReorder/useGridRowReorder.mjs";
|
|
16
|
+
import { useGridRowReorderPreProcessors } from "../hooks/features/rowReorder/useGridRowReorderPreProcessors.mjs";
|
|
17
|
+
import { useGridLazyLoader } from "../hooks/features/lazyLoader/useGridLazyLoader.mjs";
|
|
18
|
+
import { useGridLazyLoaderPreProcessors } from "../hooks/features/lazyLoader/useGridLazyLoaderPreProcessors.mjs";
|
|
19
|
+
import { useGridRowPinning, rowPinningStateInitializer } from "../hooks/features/rowPinning/useGridRowPinning.mjs";
|
|
20
|
+
import { useGridRowPinningPreProcessors } from "../hooks/features/rowPinning/useGridRowPinningPreProcessors.mjs";
|
|
21
|
+
import { useGridDataSourcePro as useGridDataSource, dataSourceStateInitializer } from "../hooks/features/dataSource/useGridDataSourcePro.mjs";
|
|
22
|
+
import { useGridDataSourceLazyLoader } from "../hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.mjs";
|
|
23
|
+
import { useGridInfiniteLoadingIntersection } from "../hooks/features/serverSideLazyLoader/useGridInfiniteLoadingIntersection.mjs";
|
|
24
24
|
export const useDataGridProComponent = (apiRef, props, configuration) => {
|
|
25
25
|
useGridInitialization(apiRef, props);
|
|
26
26
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GridValidRowModel } from '@mui/x-data-grid';
|
|
2
|
-
import type { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.
|
|
2
|
+
import type { DataGridProProps, DataGridProProcessedProps, DataGridProPropsWithDefaultValue } from "../models/dataGridProProps.mjs";
|
|
3
3
|
/**
|
|
4
4
|
* The default values of `DataGridProPropsWithDefaultValue` to inject in the props of DataGridPro.
|
|
5
5
|
*/
|
|
@@ -41,6 +41,7 @@ const DATA_GRID_PRO_PROPS_DEFAULT_VALUES = exports.DATA_GRID_PRO_PROPS_DEFAULT_V
|
|
|
41
41
|
treeData: false,
|
|
42
42
|
lazyLoading: false,
|
|
43
43
|
lazyLoadingRequestThrottleMs: 500,
|
|
44
|
+
dataSourceRevalidateMs: 0,
|
|
44
45
|
listView: false,
|
|
45
46
|
multipleColumnsSortingMode: 'withModifierKey',
|
|
46
47
|
pinnedColumnsSectionSeparator: 'border-and-shadow',
|
|
@@ -4,7 +4,7 @@ import { useTheme } from '@mui/material/styles';
|
|
|
4
4
|
import { getThemeProps } from '@mui/system';
|
|
5
5
|
import { GRID_DEFAULT_LOCALE_TEXT, DATA_GRID_PROPS_DEFAULT_VALUES } from '@mui/x-data-grid';
|
|
6
6
|
import { computeSlots, ROW_SELECTION_PROPAGATION_DEFAULT } from '@mui/x-data-grid/internals';
|
|
7
|
-
import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from "../constants/dataGridProDefaultSlotsComponents.
|
|
7
|
+
import { DATA_GRID_PRO_DEFAULT_SLOTS_COMPONENTS } from "../constants/dataGridProDefaultSlotsComponents.mjs";
|
|
8
8
|
const getDataGridProForcedProps = themedProps => _extends({
|
|
9
9
|
signature: 'DataGridPro'
|
|
10
10
|
}, themedProps.dataSource ? {
|
|
@@ -33,6 +33,7 @@ export const DATA_GRID_PRO_PROPS_DEFAULT_VALUES = _extends({}, DATA_GRID_PROPS_D
|
|
|
33
33
|
treeData: false,
|
|
34
34
|
lazyLoading: false,
|
|
35
35
|
lazyLoadingRequestThrottleMs: 500,
|
|
36
|
+
dataSourceRevalidateMs: 0,
|
|
36
37
|
listView: false,
|
|
37
38
|
multipleColumnsSortingMode: 'withModifierKey',
|
|
38
39
|
pinnedColumnsSectionSeparator: 'border-and-shadow',
|
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { forwardRef } from '@mui/x-internals/forwardRef';
|
|
10
10
|
import { vars, GridBaseColumnHeaders } from '@mui/x-data-grid/internals';
|
|
11
|
-
import { useGridColumnHeadersPro } from "../hooks/features/columnHeaders/useGridColumnHeaders.
|
|
11
|
+
import { useGridColumnHeadersPro } from "../hooks/features/columnHeaders/useGridColumnHeaders.mjs";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const Filler = styled('div', {
|
|
14
14
|
slot: 'internal',
|