@mui/x-data-grid-pro 9.0.0-alpha.1 → 9.0.0-alpha.3
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 +240 -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 +72 -11
- package/{esm/DataGridPro/DataGridPro.js → DataGridPro/DataGridPro.mjs} +72 -11
- 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/{esm/DataGridPro/useDataGridProProps.js → DataGridPro/useDataGridProProps.mjs} +1 -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} +3 -3
- package/hooks/features/dataSource/useGridDataSourceBasePro.js +13 -15
- package/{esm/hooks/features/dataSource/useGridDataSourceBasePro.js → hooks/features/dataSource/useGridDataSourceBasePro.mjs} +16 -18
- 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} +1 -1
- package/{esm/hooks/features/detailPanel/gridDetailPanelSelector.d.ts → hooks/features/detailPanel/gridDetailPanelSelector.d.mts} +2 -2
- package/hooks/features/detailPanel/gridDetailPanelToggleColDef.js +2 -1
- package/{esm/hooks/features/detailPanel/gridDetailPanelToggleColDef.js → hooks/features/detailPanel/gridDetailPanelToggleColDef.mjs} +4 -3
- 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} +2 -2
- package/{esm/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.js → hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.mjs} +2 -2
- 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 +141 -16
- 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/dataSource/utils.js → hooks/features/dataSource/utils.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,245 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-alpha.3
|
|
4
|
+
|
|
5
|
+
_Mar 12, 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 and internal improvements
|
|
10
|
+
|
|
11
|
+
The following team members contributed to this release:
|
|
12
|
+
@aemartos, @alexfauquette, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @MBilalShafi, @michelengelen, @rita-codes, @sai6855, @siriwatknp
|
|
13
|
+
|
|
14
|
+
### Data Grid
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-data-grid@9.0.0-alpha.3`
|
|
17
|
+
|
|
18
|
+
- [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21265) @michelengelen
|
|
19
|
+
- [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21538) @sai6855
|
|
20
|
+
- [DataGrid] Refactor `headerAlign` style calls (#21541) @sai6855
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.3`, plus:
|
|
25
|
+
|
|
26
|
+
- [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21634) @michelengelen
|
|
27
|
+
- [DataGridPro] Fix sorting not reflected in nested server-side data (#21619) @MBilalShafi
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-alpha.3`.
|
|
32
|
+
|
|
33
|
+
### Date and Time Pickers
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.3`
|
|
36
|
+
|
|
37
|
+
- [pickers] Refactor `DateRangePickerDay` overrides to use a centralized `elementOverrides` object (#21426) @sai6855
|
|
38
|
+
- [pickers] Migrate from deprecated props for `PickersModalDialog` (#21702) @siriwatknp
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.3`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.0.0-alpha.3`
|
|
47
|
+
|
|
48
|
+
- [charts] Differentiate Line Plot roots classes (#21679) @JCQuintas
|
|
49
|
+
- [charts] Enable keyboard navigation by default (#21675) @alexfauquette
|
|
50
|
+
- [charts] Fix keyboard tooltip radar (#21667) @alexfauquette
|
|
51
|
+
- [charts] Fix selector default parameter (#21638) @JCQuintas
|
|
52
|
+
- [charts] Fix tooltip blink between node and pointer anchor (#21611) @alexfauquette
|
|
53
|
+
- [charts] Let tooltip and legend reflect the line shape (#21475) @alexfauquette
|
|
54
|
+
- [charts] Refactor `BarChart` classes structure (#21601) @JCQuintas
|
|
55
|
+
- [charts] Refactor `LineChart` classes structure (#21648) @JCQuintas
|
|
56
|
+
- [charts] Refactor `ScatterChart` classes structure (#21651) @JCQuintas
|
|
57
|
+
- [charts] Refactor `PieChart` classes structure (#21649) @JCQuintas
|
|
58
|
+
- [charts] Remove batch rendering checks in highlight selectors (#21646) @bernardobelchior
|
|
59
|
+
- [charts] Standardize generic arg names to `SeriesType` (#21694) @alexfauquette
|
|
60
|
+
- [charts] Simplify highlight hooks return types (#21695) @alexfauquette
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
63
|
+
|
|
64
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.3`, plus:
|
|
65
|
+
|
|
66
|
+
- [charts-pro] Fix heatmap style override from `arc` to `cell` (#21693) @Copilot
|
|
67
|
+
- [charts-pro] Fix image export truncated when page is zoomed out (#21685) @bernardobelchior
|
|
68
|
+
- [charts-pro] Speed-up heatmap cell search with an index lookup (#21130) @alexfauquette
|
|
69
|
+
- [charts-pro] Fix heatmap highlight not working (#21710) @Copilot
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
|
|
74
|
+
|
|
75
|
+
- [charts-premium] Re-enable WebGL tests (#21708) @bernardobelchior
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### Breaking changes
|
|
80
|
+
|
|
81
|
+
- Remove `TreeViewBaseItem` type (use `TreeViewDefaultItemModelProperties` or a custom interface)
|
|
82
|
+
- Remove `useTreeViewApiRef` hook (use `useRichTreeViewApiRef`, `useSimpleTreeViewApiRef`, or `useRichTreeViewProApiRef`)
|
|
83
|
+
- Remove `status` from content slot props returned by `getContentProps()` (use `data-*` attributes; `status` on `useTreeItem` return value is unchanged)
|
|
84
|
+
- Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
|
|
85
|
+
- The `<RichTreeViewPro />` component has now virtualization enabled by default.
|
|
86
|
+
- The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
|
|
87
|
+
- The events of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view@9.0.0-alpha.3`
|
|
90
|
+
|
|
91
|
+
- [tree view] Remove deprecated APIs (#21591) @flaviendelangle
|
|
92
|
+
- [tree view] Fix collapsed children not selected with `selectionPropagation.descendants` in `SimpleTreeView` (#21253) @flaviendelangle
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
95
|
+
|
|
96
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.3`, plus:
|
|
97
|
+
|
|
98
|
+
- [RichTreeViewPro] Make the virtualization opt-out and port the layout doc from the data grid (#21461) @flaviendelangle
|
|
99
|
+
|
|
100
|
+
### Codemod
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-codemod@9.0.0-alpha.3`
|
|
103
|
+
|
|
104
|
+
Internal changes.
|
|
105
|
+
|
|
106
|
+
### Docs
|
|
107
|
+
|
|
108
|
+
- [docs] Fix `AssistantWithDataSource` demo crashing (#21555) @sai6855
|
|
109
|
+
- [docs] Remove `Preview` pill from Sankey (#21623) @bernardobelchior
|
|
110
|
+
- [docs] Migrate internal Material UI deprecated APIs (#21680) @siriwatknp
|
|
111
|
+
- [docs] Remove `New` flag on Tree View and Date and Time Pickers features released before v9 alpha (#21585) @flaviendelangle
|
|
112
|
+
|
|
113
|
+
### Core
|
|
114
|
+
|
|
115
|
+
- [code-infra] Remove checkout step (#21688) @Janpot
|
|
116
|
+
- [code-infra] Fix contributor generation in changelog (#21718) @brijeshb42
|
|
117
|
+
- [docs-infra] Do not point to non-existent v8 subdomain (#21640) @cherniavskii
|
|
118
|
+
|
|
119
|
+
### Miscellaneous
|
|
120
|
+
|
|
121
|
+
- [test] Add missing tests for forwarding props to filter operators in DataGrid (#21441) @siriwatknp
|
|
122
|
+
- [x-license] Export additional license types and constants (#21625) @aemartos
|
|
123
|
+
- [x-license] Refactor license verification to accept package info object and add v9 version gating (#21690) @aemartos
|
|
124
|
+
|
|
125
|
+
## 9.0.0-alpha.2
|
|
126
|
+
|
|
127
|
+
_Mar 5, 2026_
|
|
128
|
+
|
|
129
|
+
We'd like to extend a big thank you to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
130
|
+
|
|
131
|
+
- ✅ Stabilize Sankey chart
|
|
132
|
+
- 🐞 Bugfixes and internal improvements
|
|
133
|
+
|
|
134
|
+
The following team members contributed to this release:
|
|
135
|
+
@aemartos, @alelthomas, @alexfauquette, @arminmeh, @bernardobelchior, @brijeshb42, @Janpot, @JCQuintas, @mapache-salvaje, @michelengelen, @mj12albert, @sai6855, @siriwatknp
|
|
136
|
+
|
|
137
|
+
### Data Grid
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-data-grid@9.0.0-alpha.2`
|
|
140
|
+
|
|
141
|
+
- [dataGrid] Fix keyboard nav with single-row checkbox selection (#21149) @mj12albert
|
|
142
|
+
- [DataGrid] Add `checkboxColDef` prop to customize the selection column (#21331) @michelengelen
|
|
143
|
+
- [DataGrid] Format pagination numbers by default (#21117) @siriwatknp
|
|
144
|
+
- [DataGrid] Prevent unnecessary row selection checkbox rerendering (#21570) @arminmeh
|
|
145
|
+
- [DataGrid] Make GridScrollArea overrides resolver dynamic (#21532) @sai6855
|
|
146
|
+
|
|
147
|
+
#### `@mui/x-data-grid-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
148
|
+
|
|
149
|
+
Same changes as in `@mui/x-data-grid@9.0.0-alpha.2`, plus:
|
|
150
|
+
|
|
151
|
+
- [DataGridPro] Use `getRowId` prop to calculate the tree data row update (#21540) @arminmeh
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-data-grid-premium@9.0.0-alpha.2` [](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.2`.
|
|
156
|
+
|
|
157
|
+
### Date and Time Pickers
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-date-pickers@9.0.0-alpha.2`
|
|
160
|
+
|
|
161
|
+
- [pickers] Add `keepOpenDuringFieldFocus` prop (#20782) @michelengelen
|
|
162
|
+
|
|
163
|
+
#### `@mui/x-date-pickers-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
164
|
+
|
|
165
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-alpha.2`.
|
|
166
|
+
|
|
167
|
+
### Charts
|
|
168
|
+
|
|
169
|
+
#### `@mui/x-charts@9.0.0-alpha.2`
|
|
170
|
+
|
|
171
|
+
- [charts] Add `ChartsLayerContainer` component (#21264) @bernardobelchior
|
|
172
|
+
- [charts] Add codemod for `ChartsContainer` rename (#21504) @JCQuintas
|
|
173
|
+
- [charts] Add codemod for `ChartsDataProvider` rename (#21552) @JCQuintas
|
|
174
|
+
- [charts] Add codemod for `ChartsZoomSlider` rename (#21597) @JCQuintas
|
|
175
|
+
- [charts] Base the highlight items on the item identifiers (#21161) @alexfauquette
|
|
176
|
+
- [charts] Deprecate `ChartDataProvider` in favour of `ChartsDataProvider` (#21191) @JCQuintas
|
|
177
|
+
- [charts] Deprecate `highlighted` and `faded` classes (#21476) @alexfauquette
|
|
178
|
+
- [charts] Migrate to latest v8 warning (#21518) @JCQuintas
|
|
179
|
+
- [charts] Rename `ChartZoomSlider` to `ChartsZoomSlider` (#21553) @JCQuintas
|
|
180
|
+
- [charts] Rename `WebGl` to `WebGL` (#21524) @JCQuintas
|
|
181
|
+
- [charts] Rename `useSvgRef()` by `useChartsLayerContainerRef()` (#21494) @alexfauquette
|
|
182
|
+
- [charts] Restore focus on last focused item (#21522) @alexfauquette
|
|
183
|
+
- [charts] Warn users when controlled tooltip state does not match the trigger (#21520) @Copilot
|
|
184
|
+
- [charts] Fix controlled tooltip position (#21603) @bernardobelchior
|
|
185
|
+
|
|
186
|
+
#### `@mui/x-charts-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
187
|
+
|
|
188
|
+
Same changes as in `@mui/x-charts@9.0.0-alpha.2`, plus:
|
|
189
|
+
|
|
190
|
+
- [charts-pro] Center the watermark (#21550) @alexfauquette
|
|
191
|
+
- [charts-pro] Stabilize `SankeyChart` API (#21133) @Copilot
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-charts-premium@9.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
194
|
+
|
|
195
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-alpha.2`.
|
|
196
|
+
|
|
197
|
+
### Tree View
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-tree-view@9.0.0-alpha.2`
|
|
200
|
+
|
|
201
|
+
Internal changes.
|
|
202
|
+
|
|
203
|
+
#### `@mui/x-tree-view-pro@9.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
204
|
+
|
|
205
|
+
Same changes as in `@mui/x-tree-view@9.0.0-alpha.2`.
|
|
206
|
+
|
|
207
|
+
### Codemod
|
|
208
|
+
|
|
209
|
+
#### `@mui/x-codemod@9.0.0-alpha.2`
|
|
210
|
+
|
|
211
|
+
Internal changes.
|
|
212
|
+
|
|
213
|
+
### Docs
|
|
214
|
+
|
|
215
|
+
- [docs] Add backticks and parentheses to all functions and hooks (DX-173) (#21496) @mapache-salvaje
|
|
216
|
+
- [docs] Remove mentions of `mySvgRef` (#21559) @bernardobelchior
|
|
217
|
+
- [docs] Update Roadmap section in the docs (#20892) @alelthomas
|
|
218
|
+
- [docs] Add tutorial and example app for aggregation with row grouping (DX-162) (#21102) @mapache-salvaje
|
|
219
|
+
- [docs] Fix missing codemod docs (#21604) @JCQuintas
|
|
220
|
+
|
|
221
|
+
### Core
|
|
222
|
+
|
|
223
|
+
- [code-infra] Add eslint rule to prevent `Math.random` in docs (#21505) @JCQuintas
|
|
224
|
+
- [code-infra] Avoid static props for pageContent (#21038) @Janpot
|
|
225
|
+
- [code-infra] Isolate `date-pickers-pro` in the browser tests (#21383) @Janpot
|
|
226
|
+
- [code-infra] Remove `--coverage` (#21410) @Janpot
|
|
227
|
+
- [code-infra] Remove unneeded `skipIf`s (#21569) @JCQuintas
|
|
228
|
+
- [code-infra] Remove vale as a workspace dependency (#21489) @brijeshb42
|
|
229
|
+
- [code-infra] Remove x-charts-vendor from nextjs processing (#21534) @brijeshb42
|
|
230
|
+
- [code-infra] Set BASE_BRANCH env var in CircleCI config (#21548) @brijeshb42
|
|
231
|
+
- [code-infra] Setup error code extraction (#21469) @brijeshb42
|
|
232
|
+
- [code-infra] Setup flat build for packages (#21029) @brijeshb42
|
|
233
|
+
- [code-infra] Upgrade test_unit to large resource class (#21558) @Janpot
|
|
234
|
+
- [code-infra] Removed getTeamMembers function and usage from release script (#21605) @michelengelen
|
|
235
|
+
|
|
236
|
+
### Miscellaneous
|
|
237
|
+
|
|
238
|
+
- [x-license] Add Q1-2026 plan version with quantity and appType support (#21574) @aemartos
|
|
239
|
+
- [x-license] Add v3 key format support, centralize test keys, and trim public API (#21485) @aemartos
|
|
240
|
+
- [x-telemetry] telemetry opt-out by default, remove conf dependency (#21470) @aemartos
|
|
241
|
+
- [x-telemetry] test: mock context module directly in sender tests (#21546) @aemartos
|
|
242
|
+
|
|
3
243
|
## 9.0.0-alpha.1
|
|
4
244
|
|
|
5
245
|
_Feb 26, 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,9 +10,9 @@ 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 _internals = require("@mui/x-license/internals");
|
|
14
14
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
15
|
-
var
|
|
15
|
+
var _internals2 = require("@mui/x-data-grid/internals");
|
|
16
16
|
var _material = require("@mui/x-data-grid/material");
|
|
17
17
|
var _forwardRef = require("@mui/x-internals/forwardRef");
|
|
18
18
|
var _useGridRowsOverridableMethods = require("../hooks/features/rows/useGridRowsOverridableMethods");
|
|
@@ -28,24 +28,27 @@ const configuration = {
|
|
|
28
28
|
useGridAriaAttributes: _useGridAriaAttributes.useGridAriaAttributesPro,
|
|
29
29
|
useGridRowAriaAttributes: _useGridRowAriaAttributes.useGridRowAriaAttributesPro,
|
|
30
30
|
useGridRowsOverridableMethods: _useGridRowsOverridableMethods.useGridRowsOverridableMethods,
|
|
31
|
-
useGridParamsOverridableMethods:
|
|
32
|
-
useIsCellEditable:
|
|
31
|
+
useGridParamsOverridableMethods: _internals2.useGridParamsOverridableMethods,
|
|
32
|
+
useIsCellEditable: _internals2.useIsCellEditable,
|
|
33
33
|
useCellAggregationResult: () => null,
|
|
34
34
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
const packageInfo = {
|
|
38
|
+
releaseDate: "MTc3MzI3MzYwMDAwMA==",
|
|
39
|
+
version: process.env.MUI_VERSION,
|
|
40
|
+
name: 'x-data-grid-pro'
|
|
41
|
+
};
|
|
42
|
+
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_internals.Watermark, {
|
|
43
|
+
packageInfo: packageInfo
|
|
41
44
|
});
|
|
42
45
|
const DataGridProRaw = (0, _forwardRef.forwardRef)(function DataGridPro(inProps, ref) {
|
|
43
46
|
const props = (0, _useDataGridProProps.useDataGridProProps)(inProps);
|
|
44
|
-
const privateApiRef = (0,
|
|
47
|
+
const privateApiRef = (0, _internals2.useGridApiInitialization)(props.apiRef, props);
|
|
45
48
|
(0, _useDataGridProComponent.useDataGridProComponent)(privateApiRef, props, configuration);
|
|
46
|
-
(0,
|
|
49
|
+
(0, _internals.useLicenseVerifier)(packageInfo);
|
|
47
50
|
if (process.env.NODE_ENV !== 'production') {
|
|
48
|
-
(0,
|
|
51
|
+
(0, _internals2.validateProps)(props, _propValidation.propValidatorsDataGridPro);
|
|
49
52
|
}
|
|
50
53
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_xDataGrid.GridContextProvider, {
|
|
51
54
|
privateApiRef: privateApiRef,
|
|
@@ -124,6 +127,64 @@ DataGridProRaw.propTypes = {
|
|
|
124
127
|
* Controls the modes of the cells.
|
|
125
128
|
*/
|
|
126
129
|
cellModesModel: _propTypes.default.object,
|
|
130
|
+
/**
|
|
131
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
132
|
+
*
|
|
133
|
+
* @warning
|
|
134
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
135
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
136
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
137
|
+
*/
|
|
138
|
+
checkboxColDef: _propTypes.default.shape({
|
|
139
|
+
align: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
140
|
+
cellClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
141
|
+
colSpan: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.number]),
|
|
142
|
+
description: _propTypes.default.string,
|
|
143
|
+
disableColumnMenu: _propTypes.default.bool,
|
|
144
|
+
disableExport: _propTypes.default.bool,
|
|
145
|
+
disableReorder: _propTypes.default.bool,
|
|
146
|
+
display: _propTypes.default.oneOf(['flex', 'text']),
|
|
147
|
+
editable: _propTypes.default.bool,
|
|
148
|
+
examples: _propTypes.default.array,
|
|
149
|
+
filterable: _propTypes.default.bool,
|
|
150
|
+
filterOperators: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
151
|
+
getApplyFilterFn: _propTypes.default.func.isRequired,
|
|
152
|
+
getValueAsString: _propTypes.default.func,
|
|
153
|
+
headerLabel: _propTypes.default.string,
|
|
154
|
+
InputComponent: _propTypes.default.elementType,
|
|
155
|
+
InputComponentProps: _propTypes.default.object,
|
|
156
|
+
label: _propTypes.default.string,
|
|
157
|
+
requiresFilterValue: _propTypes.default.bool,
|
|
158
|
+
value: _propTypes.default.string.isRequired
|
|
159
|
+
})),
|
|
160
|
+
flex: _propTypes.default.number,
|
|
161
|
+
getApplyQuickFilterFn: _propTypes.default.func,
|
|
162
|
+
getSortComparator: _propTypes.default.func,
|
|
163
|
+
groupable: _propTypes.default.bool,
|
|
164
|
+
headerAlign: _propTypes.default.oneOf(['center', 'left', 'right']),
|
|
165
|
+
headerClassName: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string]),
|
|
166
|
+
headerName: _propTypes.default.string,
|
|
167
|
+
hideable: _propTypes.default.bool,
|
|
168
|
+
hideSortIcons: _propTypes.default.bool,
|
|
169
|
+
maxWidth: _propTypes.default.number,
|
|
170
|
+
minWidth: _propTypes.default.number,
|
|
171
|
+
pinnable: _propTypes.default.bool,
|
|
172
|
+
preProcessEditCellProps: _propTypes.default.func,
|
|
173
|
+
renderCell: _propTypes.default.func,
|
|
174
|
+
renderEditCell: _propTypes.default.func,
|
|
175
|
+
renderHeader: _propTypes.default.func,
|
|
176
|
+
renderHeaderFilter: _propTypes.default.func,
|
|
177
|
+
resizable: _propTypes.default.bool,
|
|
178
|
+
rowSpanValueGetter: _propTypes.default.func,
|
|
179
|
+
sortable: _propTypes.default.bool,
|
|
180
|
+
sortComparator: _propTypes.default.func,
|
|
181
|
+
sortingOrder: _propTypes.default.arrayOf(_propTypes.default.oneOf(['asc', 'desc'])),
|
|
182
|
+
valueFormatter: _propTypes.default.func,
|
|
183
|
+
valueGetter: _propTypes.default.func,
|
|
184
|
+
valueParser: _propTypes.default.func,
|
|
185
|
+
valueSetter: _propTypes.default.func,
|
|
186
|
+
width: _propTypes.default.number
|
|
187
|
+
}),
|
|
127
188
|
/**
|
|
128
189
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
129
190
|
* @default false
|
|
@@ -3,17 +3,17 @@
|
|
|
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, Watermark } from '@mui/x-license';
|
|
6
|
+
import { useLicenseVerifier, Watermark } from '@mui/x-license/internals';
|
|
7
7
|
import { GridRoot, GridContextProvider } from '@mui/x-data-grid';
|
|
8
8
|
import { validateProps, useGridApiInitialization, useGridParamsOverridableMethods, useIsCellEditable } from '@mui/x-data-grid/internals';
|
|
9
9
|
import { useMaterialCSSVariables } from '@mui/x-data-grid/material';
|
|
10
10
|
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.
|
|
11
|
+
import { useGridRowsOverridableMethods } from "../hooks/features/rows/useGridRowsOverridableMethods.mjs";
|
|
12
|
+
import { useDataGridProComponent } from "./useDataGridProComponent.mjs";
|
|
13
|
+
import { useDataGridProProps } from "./useDataGridProProps.mjs";
|
|
14
|
+
import { propValidatorsDataGridPro } from "../internals/propValidation.mjs";
|
|
15
|
+
import { useGridAriaAttributesPro } from "../hooks/utils/useGridAriaAttributes.mjs";
|
|
16
|
+
import { useGridRowAriaAttributesPro } from "../hooks/features/rows/useGridRowAriaAttributes.mjs";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
const configuration = {
|
|
19
19
|
hooks: {
|
|
@@ -27,16 +27,19 @@ const configuration = {
|
|
|
27
27
|
useFilterValueGetter: apiRef => apiRef.current.getRowValue
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
const
|
|
30
|
+
const packageInfo = {
|
|
31
|
+
releaseDate: "MTc3MzI3MzYwMDAwMA==",
|
|
32
|
+
version: process.env.MUI_VERSION,
|
|
33
|
+
name: 'x-data-grid-pro'
|
|
34
|
+
};
|
|
31
35
|
const watermark = /*#__PURE__*/_jsx(Watermark, {
|
|
32
|
-
|
|
33
|
-
releaseInfo: releaseInfo
|
|
36
|
+
packageInfo: packageInfo
|
|
34
37
|
});
|
|
35
38
|
const DataGridProRaw = forwardRef(function DataGridPro(inProps, ref) {
|
|
36
39
|
const props = useDataGridProProps(inProps);
|
|
37
40
|
const privateApiRef = useGridApiInitialization(props.apiRef, props);
|
|
38
41
|
useDataGridProComponent(privateApiRef, props, configuration);
|
|
39
|
-
useLicenseVerifier(
|
|
42
|
+
useLicenseVerifier(packageInfo);
|
|
40
43
|
if (process.env.NODE_ENV !== 'production') {
|
|
41
44
|
validateProps(props, propValidatorsDataGridPro);
|
|
42
45
|
}
|
|
@@ -117,6 +120,64 @@ DataGridProRaw.propTypes = {
|
|
|
117
120
|
* Controls the modes of the cells.
|
|
118
121
|
*/
|
|
119
122
|
cellModesModel: PropTypes.object,
|
|
123
|
+
/**
|
|
124
|
+
* Definition of the column rendered when the `checkboxSelection` prop is enabled.
|
|
125
|
+
*
|
|
126
|
+
* @warning
|
|
127
|
+
* Be careful when overriding `renderHeader` or `renderCell` in the `checkboxColDef` prop.
|
|
128
|
+
* The default implementation of these properties includes the logic for selecting all rows and selecting a single row, respectively.
|
|
129
|
+
* Overriding them without providing the same functionality will break the row selection.
|
|
130
|
+
*/
|
|
131
|
+
checkboxColDef: PropTypes.shape({
|
|
132
|
+
align: PropTypes.oneOf(['center', 'left', 'right']),
|
|
133
|
+
cellClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
134
|
+
colSpan: PropTypes.oneOfType([PropTypes.func, PropTypes.number]),
|
|
135
|
+
description: PropTypes.string,
|
|
136
|
+
disableColumnMenu: PropTypes.bool,
|
|
137
|
+
disableExport: PropTypes.bool,
|
|
138
|
+
disableReorder: PropTypes.bool,
|
|
139
|
+
display: PropTypes.oneOf(['flex', 'text']),
|
|
140
|
+
editable: PropTypes.bool,
|
|
141
|
+
examples: PropTypes.array,
|
|
142
|
+
filterable: PropTypes.bool,
|
|
143
|
+
filterOperators: PropTypes.arrayOf(PropTypes.shape({
|
|
144
|
+
getApplyFilterFn: PropTypes.func.isRequired,
|
|
145
|
+
getValueAsString: PropTypes.func,
|
|
146
|
+
headerLabel: PropTypes.string,
|
|
147
|
+
InputComponent: PropTypes.elementType,
|
|
148
|
+
InputComponentProps: PropTypes.object,
|
|
149
|
+
label: PropTypes.string,
|
|
150
|
+
requiresFilterValue: PropTypes.bool,
|
|
151
|
+
value: PropTypes.string.isRequired
|
|
152
|
+
})),
|
|
153
|
+
flex: PropTypes.number,
|
|
154
|
+
getApplyQuickFilterFn: PropTypes.func,
|
|
155
|
+
getSortComparator: PropTypes.func,
|
|
156
|
+
groupable: PropTypes.bool,
|
|
157
|
+
headerAlign: PropTypes.oneOf(['center', 'left', 'right']),
|
|
158
|
+
headerClassName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
|
|
159
|
+
headerName: PropTypes.string,
|
|
160
|
+
hideable: PropTypes.bool,
|
|
161
|
+
hideSortIcons: PropTypes.bool,
|
|
162
|
+
maxWidth: PropTypes.number,
|
|
163
|
+
minWidth: PropTypes.number,
|
|
164
|
+
pinnable: PropTypes.bool,
|
|
165
|
+
preProcessEditCellProps: PropTypes.func,
|
|
166
|
+
renderCell: PropTypes.func,
|
|
167
|
+
renderEditCell: PropTypes.func,
|
|
168
|
+
renderHeader: PropTypes.func,
|
|
169
|
+
renderHeaderFilter: PropTypes.func,
|
|
170
|
+
resizable: PropTypes.bool,
|
|
171
|
+
rowSpanValueGetter: PropTypes.func,
|
|
172
|
+
sortable: PropTypes.bool,
|
|
173
|
+
sortComparator: PropTypes.func,
|
|
174
|
+
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
175
|
+
valueFormatter: PropTypes.func,
|
|
176
|
+
valueGetter: PropTypes.func,
|
|
177
|
+
valueParser: PropTypes.func,
|
|
178
|
+
valueSetter: PropTypes.func,
|
|
179
|
+
width: PropTypes.number
|
|
180
|
+
}),
|
|
120
181
|
/**
|
|
121
182
|
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
122
183
|
* @default false
|
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
|
*/
|
|
@@ -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 ? {
|
|
@@ -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',
|
package/{esm/components/GridColumnMenuPinningItem.js → components/GridColumnMenuPinningItem.mjs}
RENAMED
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { GridPinnedColumnPosition } from '@mui/x-data-grid';
|
|
5
|
-
import { useGridApiContext } from "../hooks/utils/useGridApiContext.
|
|
6
|
-
import { useGridRootProps } from "../hooks/utils/useGridRootProps.
|
|
5
|
+
import { useGridApiContext } from "../hooks/utils/useGridApiContext.mjs";
|
|
6
|
+
import { useGridRootProps } from "../hooks/utils/useGridRootProps.mjs";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
function GridColumnMenuPinningItem(props) {
|
|
9
9
|
const {
|