@mui/x-data-grid-premium 8.26.1 → 8.27.1
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 +138 -9
- package/DataGridPremium/DataGridPremium.d.ts +1 -1
- package/DataGridPremium/DataGridPremium.js +1 -1
- package/DataGridPremium/useDataGridPremiumComponent.d.ts +3 -3
- package/DataGridPremium/useDataGridPremiumProps.d.ts +1 -1
- package/components/GridAggregationHeader.d.ts +1 -1
- package/components/GridBottomContainer.js +2 -2
- package/components/GridDataSourceGroupingCriteriaCell.d.ts +1 -1
- package/components/GridEmptyPivotOverlay.d.ts +1 -1
- package/components/GridExcelExportMenuItem.d.ts +2 -2
- package/components/GridGroupingColumnFooterCell.d.ts +1 -1
- package/components/GridGroupingColumnLeafCell.d.ts +1 -1
- package/components/GridGroupingCriteriaCell.d.ts +1 -1
- package/components/GridPremiumColumnMenu.d.ts +3 -2
- package/components/GridPremiumColumnMenu.js +3 -1
- package/components/GridPremiumToolbar.d.ts +1 -1
- package/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +2 -2
- package/components/aiAssistantPanel/GridAiAssistantPanel.js +9 -9
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +1 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +3 -3
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +1 -1
- package/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +4 -4
- package/components/chartsPanel/ChartsPanelTrigger.d.ts +2 -2
- package/components/chartsPanel/GridChartsPanel.js +4 -4
- package/components/chartsPanel/chart/GridChartsPanelChart.js +4 -4
- package/components/chartsPanel/customize/GridChartsPanelCustomize.js +5 -5
- package/components/chartsPanel/data/GridChartsPanelDataBody.js +9 -9
- package/components/chartsPanel/data/GridChartsPanelDataField.js +6 -6
- package/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts +1 -1
- package/components/chartsPanel/data/GridChartsPanelDataSearch.js +2 -2
- package/components/collapsible/Collapsible.js +2 -2
- package/components/collapsible/CollapsiblePanel.js +2 -2
- package/components/collapsible/CollapsibleTrigger.js +3 -3
- package/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts +1 -1
- package/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts +1 -1
- package/components/export/ExportExcel.d.ts +2 -2
- package/components/pivotPanel/GridPivotPanelBody.js +9 -9
- package/components/pivotPanel/GridPivotPanelField.d.ts +1 -1
- package/components/pivotPanel/GridPivotPanelField.js +6 -6
- package/components/pivotPanel/GridPivotPanelHeader.js +4 -4
- package/components/pivotPanel/GridPivotPanelSearch.d.ts +1 -1
- package/components/pivotPanel/GridPivotPanelSearch.js +2 -2
- package/components/pivotPanel/PivotPanelTrigger.d.ts +2 -2
- package/components/prompt/GridPrompt.d.ts +1 -1
- package/components/promptField/GridPromptField.d.ts +1 -1
- package/components/promptField/PromptField.d.ts +2 -2
- package/components/promptField/PromptFieldControl.d.ts +2 -2
- package/components/promptField/PromptFieldRecord.d.ts +2 -2
- package/components/promptField/PromptFieldSend.d.ts +2 -2
- package/components/resizablePanel/ResizablePanel.js +2 -2
- package/components/resizablePanel/ResizablePanelHandle.js +2 -2
- package/components/sidebar/Sidebar.js +2 -2
- package/components/sidebar/SidebarHeader.js +2 -2
- package/context/GridChartsRendererProxy.d.ts +1 -1
- package/esm/DataGridPremium/DataGridPremium.d.ts +1 -1
- package/esm/DataGridPremium/DataGridPremium.js +1 -1
- package/esm/DataGridPremium/useDataGridPremiumComponent.d.ts +3 -3
- package/esm/DataGridPremium/useDataGridPremiumProps.d.ts +1 -1
- package/esm/components/GridAggregationHeader.d.ts +1 -1
- package/esm/components/GridBottomContainer.js +1 -1
- package/esm/components/GridDataSourceGroupingCriteriaCell.d.ts +1 -1
- package/esm/components/GridEmptyPivotOverlay.d.ts +1 -1
- package/esm/components/GridExcelExportMenuItem.d.ts +2 -2
- package/esm/components/GridGroupingColumnFooterCell.d.ts +1 -1
- package/esm/components/GridGroupingColumnLeafCell.d.ts +1 -1
- package/esm/components/GridGroupingCriteriaCell.d.ts +1 -1
- package/esm/components/GridPremiumColumnMenu.d.ts +3 -2
- package/esm/components/GridPremiumColumnMenu.js +3 -1
- package/esm/components/GridPremiumToolbar.d.ts +1 -1
- package/esm/components/aiAssistantPanel/AiAssistantPanelTrigger.d.ts +2 -2
- package/esm/components/aiAssistantPanel/GridAiAssistantPanel.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.d.ts +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelConversation.js +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.d.ts +1 -1
- package/esm/components/aiAssistantPanel/GridAiAssistantPanelSuggestions.js +1 -1
- package/esm/components/chartsPanel/ChartsPanelTrigger.d.ts +2 -2
- package/esm/components/chartsPanel/GridChartsPanel.js +1 -1
- package/esm/components/chartsPanel/chart/GridChartsPanelChart.js +1 -1
- package/esm/components/chartsPanel/customize/GridChartsPanelCustomize.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataBody.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataField.js +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataSearch.d.ts +1 -1
- package/esm/components/chartsPanel/data/GridChartsPanelDataSearch.js +1 -1
- package/esm/components/collapsible/Collapsible.js +1 -1
- package/esm/components/collapsible/CollapsiblePanel.js +1 -1
- package/esm/components/collapsible/CollapsibleTrigger.js +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuAggregationItem.d.ts +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuChartsItem.d.ts +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuManagePanelItem.d.ts +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuPivotItem.d.ts +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuRowGroupItem.d.ts +1 -1
- package/esm/components/columnMenu/menuItems/GridColumnMenuRowUngroupItem.d.ts +1 -1
- package/esm/components/export/ExportExcel.d.ts +2 -2
- package/esm/components/pivotPanel/GridPivotPanelBody.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelField.d.ts +1 -1
- package/esm/components/pivotPanel/GridPivotPanelField.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelHeader.js +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.d.ts +1 -1
- package/esm/components/pivotPanel/GridPivotPanelSearch.js +1 -1
- package/esm/components/pivotPanel/PivotPanelTrigger.d.ts +2 -2
- package/esm/components/prompt/GridPrompt.d.ts +1 -1
- package/esm/components/promptField/GridPromptField.d.ts +1 -1
- package/esm/components/promptField/PromptField.d.ts +2 -2
- package/esm/components/promptField/PromptFieldControl.d.ts +2 -2
- package/esm/components/promptField/PromptFieldRecord.d.ts +2 -2
- package/esm/components/promptField/PromptFieldSend.d.ts +2 -2
- package/esm/components/resizablePanel/ResizablePanel.js +1 -1
- package/esm/components/resizablePanel/ResizablePanelHandle.js +1 -1
- package/esm/components/sidebar/Sidebar.js +1 -1
- package/esm/components/sidebar/SidebarHeader.js +1 -1
- package/esm/context/GridChartsRendererProxy.d.ts +1 -1
- package/esm/hooks/features/aggregation/createAggregationLookup.d.ts +4 -4
- package/esm/hooks/features/aggregation/gridAggregationFunctions.d.ts +1 -1
- package/esm/hooks/features/aggregation/gridAggregationSelectors.d.ts +3 -3
- package/esm/hooks/features/aggregation/gridAggregationUtils.d.ts +6 -6
- package/esm/hooks/features/aggregation/useGridAggregation.d.ts +4 -4
- package/esm/hooks/features/aggregation/useGridAggregation.js +1 -1
- package/esm/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +3 -3
- package/esm/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +4 -4
- package/esm/hooks/features/aiAssistant/api.d.ts +1 -1
- package/esm/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +1 -1
- package/esm/hooks/features/aiAssistant/useGridAiAssistant.d.ts +4 -4
- package/esm/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +1 -1
- package/esm/hooks/features/cellSelection/gridCellSelectionSelector.d.ts +1 -1
- package/esm/hooks/features/cellSelection/useGridCellSelection.d.ts +4 -4
- package/esm/hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.d.ts +1 -1
- package/esm/hooks/features/chartsIntegration/gridChartsIntegrationSelectors.d.ts +2 -2
- package/esm/hooks/features/chartsIntegration/useGridChartsIntegration.d.ts +3 -3
- package/esm/hooks/features/chartsIntegration/utils.d.ts +3 -3
- package/esm/hooks/features/clipboard/useGridClipboardImport.d.ts +2 -2
- package/esm/hooks/features/dataSource/useGridDataSourcePremium.d.ts +3 -3
- package/esm/hooks/features/dataSource/utils.d.ts +1 -1
- package/esm/hooks/features/editing/useGridCellEditable.d.ts +4 -4
- package/esm/hooks/features/export/gridExcelExportInterface.d.ts +1 -1
- package/esm/hooks/features/export/serializer/excelSerializer.d.ts +6 -6
- package/esm/hooks/features/export/useGridExcelExport.d.ts +3 -3
- package/esm/hooks/features/history/defaultHistoryHandlers.d.ts +1 -1
- package/esm/hooks/features/history/useGridHistory.d.ts +4 -4
- package/esm/hooks/features/pivoting/useGridPivoting.d.ts +4 -4
- package/esm/hooks/features/pivoting/utils.d.ts +1 -1
- package/esm/hooks/features/rowGrouping/createGroupingColDef.d.ts +4 -4
- package/esm/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts +1 -1
- package/esm/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts +1 -1
- package/esm/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +7 -7
- package/esm/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +3 -3
- package/esm/hooks/features/rowGrouping/useGridRowGrouping.d.ts +4 -4
- package/esm/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +3 -3
- package/esm/hooks/features/rowReorder/operations.d.ts +1 -1
- package/esm/hooks/features/sidebar/gridSidebarSelector.d.ts +1 -1
- package/esm/hooks/features/sidebar/gridSidebarState.d.ts +1 -1
- package/esm/hooks/features/sidebar/useGridSidebar.d.ts +4 -4
- package/esm/hooks/utils/useGridApiContext.d.ts +3 -3
- package/esm/hooks/utils/useGridApiRef.d.ts +2 -2
- package/esm/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/esm/hooks/utils/useGridChartIntegration.d.ts +1 -1
- package/esm/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
- package/esm/hooks/utils/useGridRootProps.d.ts +1 -1
- package/esm/hooks/utils/useKeepGroupedColumnsHidden.d.ts +4 -4
- package/esm/index.js +1 -1
- package/esm/models/dataGridPremiumProps.d.ts +10 -10
- package/esm/models/gridApiPremium.d.ts +8 -8
- package/esm/models/gridGroupingValueGetter.d.ts +3 -3
- package/esm/models/gridGroupingValueSetter.d.ts +3 -3
- package/esm/models/gridPastedValueParser.d.ts +3 -3
- package/esm/models/gridPremiumIconSlotsComponent.d.ts +2 -2
- package/esm/models/gridPremiumSlotProps.d.ts +1 -1
- package/esm/models/gridPremiumSlotsComponent.d.ts +2 -2
- package/esm/models/gridStatePremium.d.ts +1 -1
- package/esm/themeAugmentation/overrides.d.ts +1 -1
- package/esm/themeAugmentation/props.d.ts +2 -2
- package/esm/typeOverloads/modules.d.ts +3 -3
- package/esm/typeOverloads/reexports.d.ts +1 -1
- package/hooks/features/aggregation/createAggregationLookup.d.ts +4 -4
- package/hooks/features/aggregation/gridAggregationFunctions.d.ts +1 -1
- package/hooks/features/aggregation/gridAggregationSelectors.d.ts +3 -3
- package/hooks/features/aggregation/gridAggregationUtils.d.ts +6 -6
- package/hooks/features/aggregation/useGridAggregation.d.ts +4 -4
- package/hooks/features/aggregation/useGridAggregation.js +1 -1
- package/hooks/features/aggregation/useGridAggregationPreProcessors.d.ts +3 -3
- package/hooks/features/aggregation/wrapColumnWithAggregation.d.ts +4 -4
- package/hooks/features/aiAssistant/api.d.ts +1 -1
- package/hooks/features/aiAssistant/gridAiAssistantSelectors.d.ts +1 -1
- package/hooks/features/aiAssistant/useGridAiAssistant.d.ts +4 -4
- package/hooks/features/cellSelection/gridCellSelectionInterfaces.d.ts +1 -1
- package/hooks/features/cellSelection/gridCellSelectionSelector.d.ts +1 -1
- package/hooks/features/cellSelection/useGridCellSelection.d.ts +4 -4
- package/hooks/features/chartsIntegration/gridChartsIntegrationInterfaces.d.ts +1 -1
- package/hooks/features/chartsIntegration/gridChartsIntegrationSelectors.d.ts +2 -2
- package/hooks/features/chartsIntegration/useGridChartsIntegration.d.ts +3 -3
- package/hooks/features/chartsIntegration/utils.d.ts +3 -3
- package/hooks/features/clipboard/useGridClipboardImport.d.ts +2 -2
- package/hooks/features/dataSource/useGridDataSourcePremium.d.ts +3 -3
- package/hooks/features/dataSource/utils.d.ts +1 -1
- package/hooks/features/editing/useGridCellEditable.d.ts +4 -4
- package/hooks/features/export/gridExcelExportInterface.d.ts +1 -1
- package/hooks/features/export/serializer/excelSerializer.d.ts +6 -6
- package/hooks/features/export/useGridExcelExport.d.ts +3 -3
- package/hooks/features/history/defaultHistoryHandlers.d.ts +1 -1
- package/hooks/features/history/useGridHistory.d.ts +4 -4
- package/hooks/features/pivoting/useGridPivoting.d.ts +4 -4
- package/hooks/features/pivoting/utils.d.ts +1 -1
- package/hooks/features/rowGrouping/createGroupingColDef.d.ts +4 -4
- package/hooks/features/rowGrouping/gridRowGroupingInterfaces.d.ts +1 -1
- package/hooks/features/rowGrouping/gridRowGroupingSelector.d.ts +1 -1
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +7 -7
- package/hooks/features/rowGrouping/useGridDataSourceRowGroupingPreProcessors.d.ts +3 -3
- package/hooks/features/rowGrouping/useGridRowGrouping.d.ts +4 -4
- package/hooks/features/rowGrouping/useGridRowGroupingPreProcessors.d.ts +3 -3
- package/hooks/features/rowReorder/operations.d.ts +1 -1
- package/hooks/features/sidebar/gridSidebarSelector.d.ts +1 -1
- package/hooks/features/sidebar/gridSidebarState.d.ts +1 -1
- package/hooks/features/sidebar/useGridSidebar.d.ts +4 -4
- package/hooks/utils/useGridApiContext.d.ts +3 -3
- package/hooks/utils/useGridApiRef.d.ts +2 -2
- package/hooks/utils/useGridAriaAttributes.d.ts +1 -1
- package/hooks/utils/useGridChartIntegration.d.ts +1 -1
- package/hooks/utils/useGridPrivateApiContext.d.ts +1 -1
- package/hooks/utils/useGridRootProps.d.ts +1 -1
- package/hooks/utils/useKeepGroupedColumnsHidden.d.ts +4 -4
- package/index.js +1 -1
- package/models/dataGridPremiumProps.d.ts +10 -10
- package/models/gridApiPremium.d.ts +8 -8
- package/models/gridGroupingValueGetter.d.ts +3 -3
- package/models/gridGroupingValueSetter.d.ts +3 -3
- package/models/gridPastedValueParser.d.ts +3 -3
- package/models/gridPremiumIconSlotsComponent.d.ts +2 -2
- package/models/gridPremiumSlotProps.d.ts +1 -1
- package/models/gridPremiumSlotsComponent.d.ts +2 -2
- package/models/gridStatePremium.d.ts +1 -1
- package/package.json +5 -5
- package/themeAugmentation/overrides.d.ts +1 -1
- package/themeAugmentation/props.d.ts +2 -2
- package/typeOverloads/modules.d.ts +3 -3
- package/typeOverloads/reexports.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,27 +5,156 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
## v8.27.1
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
<!-- generated comparing v8.27.0..v8.x -->
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
_Feb 13, 2026_
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
15
|
+
|
|
16
|
+
- 📝 CSS bundler support is no longer needed for the Data Grid
|
|
17
|
+
- 🐞 Bugfixes
|
|
18
|
+
|
|
19
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
20
|
+
@sai6855
|
|
21
|
+
|
|
22
|
+
The following team members contributed to this release:
|
|
23
|
+
@arminmeh, @cherniavskii, @flaviendelangle, @mj12albert, @MBilalShafi
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@8.27.1`
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Hide column menu icon when there are no items (#21303) @MBilalShafi
|
|
30
|
+
- [DataGrid] Migrate styled imports and remove `index.css` (#21176) @MBilalShafi
|
|
31
|
+
- [DataGrid] Optimize `GridRootStyles` overrides resolver (#21251) @sai6855
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@8.27.1`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPro] Fix column pinning issue with `restoreState` (#21305) @MBilalShafi
|
|
38
|
+
- [DataGridPro] Fix lazy loading params for page with one row (#21238) @MBilalShafi
|
|
39
|
+
- [DataGridPro] Properly extract parent path (#21301) @arminmeh
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-data-grid-premium@8.27.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.1`, plus:
|
|
44
|
+
|
|
45
|
+
- [DataGridPremium] Fix aggregation display when `initialState` has both `sortModel` and `pinnedColumns` (#21152) @mj12albert
|
|
46
|
+
|
|
47
|
+
### Tree View
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-tree-view@8.27.1`
|
|
50
|
+
|
|
51
|
+
- [tree view] Fix `apiRef.current.setItemExpansion()` (#21095) @flaviendelangle
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-tree-view-pro@8.27.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
54
|
+
|
|
55
|
+
Same changes as in `@mui/x-tree-view@8.27.1`.
|
|
56
|
+
|
|
57
|
+
### Core
|
|
58
|
+
|
|
59
|
+
- [internal] Add CLI for translation using LLM (#21299) @cherniavskii
|
|
60
|
+
|
|
61
|
+
## v8.27.0
|
|
62
|
+
|
|
63
|
+
_Feb 2, 2026_
|
|
64
|
+
|
|
65
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
66
|
+
|
|
67
|
+
- 📝 Data Grid supports new `longText` [column type](https://mui.com/x/react-data-grid/column-definition/#column-types)
|
|
68
|
+
|
|
69
|
+
The following team members contributed to this release:
|
|
70
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @siriwatknp
|
|
15
71
|
|
|
16
72
|
### Data Grid
|
|
17
73
|
|
|
18
|
-
#### `@mui/x-data-grid@8.
|
|
74
|
+
#### `@mui/x-data-grid@8.27.0`
|
|
75
|
+
|
|
76
|
+
- [DataGrid] Fix virtualization crash by preventing out-of-bounds `focusedVirtualCell` indices (#21123) @cherniavskii
|
|
77
|
+
- [DataGrid] Fix focus steal issue with `<Dialog />` (#21106) @MBilalShafi
|
|
78
|
+
- [DataGrid] Add new `longText` column type (#21103) @siriwatknp
|
|
79
|
+
|
|
80
|
+
#### `@mui/x-data-grid-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
81
|
+
|
|
82
|
+
Same changes as in `@mui/x-data-grid@8.27.0`.
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-data-grid-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
85
|
+
|
|
86
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.0`, plus:
|
|
87
|
+
|
|
88
|
+
- [DataGridPremium] Fix focus retention when undo/redo operations are done on the same cell (#21110) @arminmeh
|
|
89
|
+
|
|
90
|
+
### Date and Time Pickers
|
|
91
|
+
|
|
92
|
+
#### `@mui/x-date-pickers@8.27.0`
|
|
19
93
|
|
|
20
94
|
Internal changes.
|
|
21
95
|
|
|
22
|
-
#### `@mui/x-
|
|
96
|
+
#### `@mui/x-date-pickers-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
97
|
|
|
24
|
-
Same changes as in `@mui/x-
|
|
98
|
+
Same changes as in `@mui/x-date-pickers@8.27.0`.
|
|
25
99
|
|
|
26
|
-
|
|
100
|
+
### Charts
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-charts@8.27.0`
|
|
103
|
+
|
|
104
|
+
- [charts] Deprecate `AxisId` class in favour of to `data-axis-id` attribute (#21048) @JCQuintas
|
|
105
|
+
|
|
106
|
+
#### `@mui/x-charts-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
107
|
+
|
|
108
|
+
Same changes as in `@mui/x-charts@8.27.0`, plus:
|
|
109
|
+
|
|
110
|
+
- [charts-pro] Add `onItemClick` to the heatmap (#20817) (#21030) @alexfauquette
|
|
111
|
+
|
|
112
|
+
#### `@mui/x-charts-premium@8.27.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
113
|
+
|
|
114
|
+
Same changes as in `@mui/x-charts-pro@8.27.0`, plus:
|
|
115
|
+
|
|
116
|
+
- [charts-premium] Fix wrong `defaultSlots` in premium charts (#21052) @bernardobelchior
|
|
117
|
+
|
|
118
|
+
### Tree View
|
|
119
|
+
|
|
120
|
+
#### `@mui/x-tree-view@8.27.0`
|
|
121
|
+
|
|
122
|
+
Internal changes.
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-tree-view-pro@8.27.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
125
|
+
|
|
126
|
+
Same changes as in `@mui/x-tree-view@8.27.0`, plus:
|
|
127
|
+
|
|
128
|
+
- [RichTreeViewPro] Do not export `useSimpleTreeViewApiRef()` and `useRichTreeViewApiRef()` from pro package (#21145) @flaviendelangle
|
|
129
|
+
|
|
130
|
+
### Codemod
|
|
131
|
+
|
|
132
|
+
#### `@mui/x-codemod@8.27.0`
|
|
133
|
+
|
|
134
|
+
Internal changes.
|
|
135
|
+
|
|
136
|
+
### Docs
|
|
137
|
+
|
|
138
|
+
- [docs] Fix DataGrid's cell edit renderers (@arminmeh) (#21041) @github-actions[bot]
|
|
139
|
+
|
|
140
|
+
### Core
|
|
141
|
+
|
|
142
|
+
- [code-infra] Add `consistent-type-imports` rule to the grid packages (#21119) @arminmeh
|
|
143
|
+
- [code-infra] Allow user to select target branch if it exists for current major (#21005) @JCQuintas
|
|
144
|
+
- [code-infra] Fix the target branch condition in the release script (#21051) @arminmeh
|
|
145
|
+
- [code-infra] Update docs deploy script to fetch from `v8.x` (#21013) @arminmeh
|
|
27
146
|
|
|
28
|
-
|
|
147
|
+
## 8.26.1
|
|
148
|
+
|
|
149
|
+
_Jan 23, 2026_
|
|
150
|
+
|
|
151
|
+
Release highlight ✨:
|
|
152
|
+
|
|
153
|
+
- 🐞 Hotfix for Data Grid Premium type imports
|
|
154
|
+
|
|
155
|
+
### Data Grid
|
|
156
|
+
|
|
157
|
+
#### `@mui/x-data-grid-premium@8.26.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
29
158
|
|
|
30
159
|
- [DataGridPremium] Fix type import (#21033) @arminmeh
|
|
31
160
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
3
|
-
import { DataGridPremiumProps } from "../models/dataGridPremiumProps.js";
|
|
3
|
+
import type { DataGridPremiumProps } from "../models/dataGridPremiumProps.js";
|
|
4
4
|
export type { GridPremiumSlotsComponent as GridSlots } from "../models/index.js";
|
|
5
5
|
interface DataGridPremiumComponent {
|
|
6
6
|
<R extends GridValidRowModel = any>(props: DataGridPremiumProps<R> & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
|
|
@@ -50,7 +50,7 @@ const configuration = {
|
|
|
50
50
|
useGridParamsOverridableMethods: _useGridParamsOverridableMethods.useGridParamsOverridableMethods
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
const releaseInfo = "
|
|
53
|
+
const releaseInfo = "MTc3MDk0MDgwMDAwMA==";
|
|
54
54
|
const watermark = /*#__PURE__*/(0, _jsxRuntime.jsx)(_xLicense.Watermark, {
|
|
55
55
|
packageName: "x-data-grid-premium",
|
|
56
56
|
releaseInfo: releaseInfo
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from '@mui/x-internals/types';
|
|
1
|
+
import type { RefObject } from '@mui/x-internals/types';
|
|
2
2
|
import { type GridConfiguration } from '@mui/x-data-grid-pro/internals';
|
|
3
|
-
import { GridPrivateApiPremium } from "../models/gridApiPremium.js";
|
|
4
|
-
import { DataGridPremiumProcessedProps } from "../models/dataGridPremiumProps.js";
|
|
3
|
+
import type { GridPrivateApiPremium } from "../models/gridApiPremium.js";
|
|
4
|
+
import type { DataGridPremiumProcessedProps } from "../models/dataGridPremiumProps.js";
|
|
5
5
|
export declare const useDataGridPremiumComponent: (apiRef: RefObject<GridPrivateApiPremium>, inProps: DataGridPremiumProcessedProps, configuration: GridConfiguration) => DataGridPremiumProcessedProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataGridPremiumProps, DataGridPremiumProcessedProps, DataGridPremiumPropsWithDefaultValue } from "../models/dataGridPremiumProps.js";
|
|
1
|
+
import type { DataGridPremiumProps, DataGridPremiumProcessedProps, DataGridPremiumPropsWithDefaultValue } from "../models/dataGridPremiumProps.js";
|
|
2
2
|
/**
|
|
3
3
|
* The default values of `DataGridPremiumPropsWithDefaultValue` to inject in the props of DataGridPremium.
|
|
4
4
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridColumnHeaderParams } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridColumnHeaderParams } from '@mui/x-data-grid';
|
|
2
2
|
import { type GridBaseColDef } from '@mui/x-data-grid/internals';
|
|
3
3
|
declare function GridAggregationHeader(props: GridColumnHeaderParams & {
|
|
4
4
|
renderHeader: GridBaseColDef['renderHeader'];
|
|
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
|
-
var
|
|
13
|
+
var _styles = require("@mui/material/styles");
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
16
16
|
var _useGridPrivateApiContext = require("../hooks/utils/useGridPrivateApiContext");
|
|
@@ -25,7 +25,7 @@ const useUtilityClasses = () => {
|
|
|
25
25
|
};
|
|
26
26
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, {});
|
|
27
27
|
};
|
|
28
|
-
const Element = (0,
|
|
28
|
+
const Element = (0, _styles.styled)('div', {
|
|
29
29
|
slot: 'internal',
|
|
30
30
|
shouldForwardProp: undefined
|
|
31
31
|
})({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
1
|
+
import { type GridRenderCellParams, type GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridOverlayProps } from '@mui/x-data-grid';
|
|
1
|
+
import { type GridOverlayProps } from '@mui/x-data-grid';
|
|
2
2
|
declare const GridEmptyPivotOverlay: import("react").ForwardRefExoticComponent<GridOverlayProps> | import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
sx?: import("@mui/system").SxProps<import("@mui/system").Theme>;
|
|
4
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GridExportMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
|
-
import { GridExcelExportOptions } from "../hooks/features/export/index.js";
|
|
1
|
+
import type { GridExportMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import type { GridExcelExportOptions } from "../hooks/features/export/index.js";
|
|
3
3
|
export type GridExcelExportMenuItemProps = GridExportMenuItemProps<GridExcelExportOptions>;
|
|
4
4
|
declare function GridExcelExportMenuItem(props: GridExcelExportMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace GridExcelExportMenuItem {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid-pro';
|
|
1
|
+
import type { GridRenderCellParams } from '@mui/x-data-grid-pro';
|
|
2
2
|
declare function GridGroupingColumnFooterCell(props: GridRenderCellParams): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridGroupingColumnFooterCell };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { GridRenderCellParams } from '@mui/x-data-grid-pro';
|
|
1
|
+
import type { GridRenderCellParams } from '@mui/x-data-grid-pro';
|
|
2
2
|
declare function GridGroupingColumnLeafCell(props: GridRenderCellParams): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { GridGroupingColumnLeafCell };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRenderCellParams, GridGroupNode } from '@mui/x-data-grid-pro';
|
|
1
|
+
import { type GridRenderCellParams, type GridGroupNode } from '@mui/x-data-grid-pro';
|
|
2
2
|
interface GridGroupingCriteriaCellProps extends GridRenderCellParams<any, any, any, GridGroupNode> {
|
|
3
3
|
hideDescendantCount?: boolean;
|
|
4
4
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type GridColumnMenuItemProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import type { GridColumnMenuComponent } from '@mui/x-data-grid-pro/internals';
|
|
2
3
|
import { GridColumnMenuAggregationItem } from "./columnMenu/menuItems/GridColumnMenuAggregationItem.js";
|
|
3
4
|
import { GridColumnMenuManagePanelItem } from "./columnMenu/menuItems/GridColumnMenuManagePanelItem.js";
|
|
4
5
|
export declare function GridColumnMenuGroupingItem(props: GridColumnMenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,4 +35,4 @@ export declare const GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM: {
|
|
|
34
35
|
displayOrder: number;
|
|
35
36
|
};
|
|
36
37
|
};
|
|
37
|
-
export declare const GridPremiumColumnMenu:
|
|
38
|
+
export declare const GridPremiumColumnMenu: GridColumnMenuComponent;
|
|
@@ -49,4 +49,6 @@ const GridPremiumColumnMenu = exports.GridPremiumColumnMenu = (0, _forwardRef.fo
|
|
|
49
49
|
ref: ref
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
52
|
-
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
52
|
+
if (process.env.NODE_ENV !== "production") GridPremiumColumnMenu.displayName = "GridPremiumColumnMenu";
|
|
53
|
+
GridPremiumColumnMenu.defaultSlots = GRID_COLUMN_MENU_SLOTS_PREMIUM;
|
|
54
|
+
GridPremiumColumnMenu.defaultSlotProps = GRID_COLUMN_MENU_SLOT_PROPS_PREMIUM;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GridToolbarProps } from '@mui/x-data-grid-pro/internals';
|
|
1
|
+
import { type GridToolbarProps } from '@mui/x-data-grid-pro/internals';
|
|
2
2
|
export declare function GridPremiumToolbar(props: GridToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
-
import { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import { type RenderProp } from '@mui/x-internals/useComponentRenderer';
|
|
3
|
+
import { type GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface AiAssistantPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the assistant panel is open.
|
|
@@ -11,7 +11,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
13
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
|
-
var
|
|
14
|
+
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
16
16
|
var _gridAiAssistantSelectors = require("../../hooks/features/aiAssistant/gridAiAssistantSelectors");
|
|
17
17
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
|
|
|
36
36
|
};
|
|
37
37
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
38
38
|
};
|
|
39
|
-
const AiAssistantPanelRoot = (0,
|
|
39
|
+
const AiAssistantPanelRoot = (0, _styles.styled)('div', {
|
|
40
40
|
name: 'MuiDataGrid',
|
|
41
41
|
slot: 'AiAssistantPanel'
|
|
42
42
|
})({
|
|
@@ -45,7 +45,7 @@ const AiAssistantPanelRoot = (0, _system.styled)('div', {
|
|
|
45
45
|
maxHeight: 'none',
|
|
46
46
|
overflow: 'hidden'
|
|
47
47
|
});
|
|
48
|
-
const AiAssistantPanelHeader = (0,
|
|
48
|
+
const AiAssistantPanelHeader = (0, _styles.styled)('div', {
|
|
49
49
|
name: 'MuiDataGrid',
|
|
50
50
|
slot: 'AiAssistantPanelHeader'
|
|
51
51
|
})({
|
|
@@ -58,7 +58,7 @@ const AiAssistantPanelHeader = (0, _system.styled)('div', {
|
|
|
58
58
|
height: 52,
|
|
59
59
|
padding: _internals.vars.spacing(0, 0.75, 0, 2)
|
|
60
60
|
});
|
|
61
|
-
const AiAssistantPanelTitleContainer = (0,
|
|
61
|
+
const AiAssistantPanelTitleContainer = (0, _styles.styled)('div', {
|
|
62
62
|
name: 'MuiDataGrid',
|
|
63
63
|
slot: 'AiAssistantPanelTitleContainer'
|
|
64
64
|
})({
|
|
@@ -67,7 +67,7 @@ const AiAssistantPanelTitleContainer = (0, _system.styled)('div', {
|
|
|
67
67
|
flex: 1,
|
|
68
68
|
overflow: 'hidden'
|
|
69
69
|
});
|
|
70
|
-
const AiAssistantPanelTitle = (0,
|
|
70
|
+
const AiAssistantPanelTitle = (0, _styles.styled)('span', {
|
|
71
71
|
name: 'MuiDataGrid',
|
|
72
72
|
slot: 'AiAssistantPanelTitle'
|
|
73
73
|
})({
|
|
@@ -75,7 +75,7 @@ const AiAssistantPanelTitle = (0, _system.styled)('span', {
|
|
|
75
75
|
fontWeight: _internals.vars.typography.fontWeight.medium,
|
|
76
76
|
marginTop: _internals.vars.spacing(0.25)
|
|
77
77
|
});
|
|
78
|
-
const AiAssistantPanelConversationTitle = (0,
|
|
78
|
+
const AiAssistantPanelConversationTitle = (0, _styles.styled)('span', {
|
|
79
79
|
name: 'MuiDataGrid',
|
|
80
80
|
slot: 'AiAssistantPanelConversationTitle'
|
|
81
81
|
})({
|
|
@@ -86,7 +86,7 @@ const AiAssistantPanelConversationTitle = (0, _system.styled)('span', {
|
|
|
86
86
|
textOverflow: 'ellipsis',
|
|
87
87
|
whiteSpace: 'nowrap'
|
|
88
88
|
});
|
|
89
|
-
const AiAssistantPanelBody = (0,
|
|
89
|
+
const AiAssistantPanelBody = (0, _styles.styled)('div', {
|
|
90
90
|
name: 'MuiDataGrid',
|
|
91
91
|
slot: 'AiAssistantPanelBody'
|
|
92
92
|
})({
|
|
@@ -97,14 +97,14 @@ const AiAssistantPanelBody = (0, _system.styled)('div', {
|
|
|
97
97
|
justifyContent: 'center',
|
|
98
98
|
alignItems: 'center'
|
|
99
99
|
});
|
|
100
|
-
const AiAssistantPanelEmptyText = (0,
|
|
100
|
+
const AiAssistantPanelEmptyText = (0, _styles.styled)('span', {
|
|
101
101
|
name: 'MuiDataGrid',
|
|
102
102
|
slot: 'AiAssistantPanelEmptyText'
|
|
103
103
|
})({
|
|
104
104
|
font: _internals.vars.typography.font.body,
|
|
105
105
|
color: _internals.vars.colors.foreground.muted
|
|
106
106
|
});
|
|
107
|
-
const AiAssistantPanelFooter = (0,
|
|
107
|
+
const AiAssistantPanelFooter = (0, _styles.styled)('div', {
|
|
108
108
|
name: 'MuiDataGrid',
|
|
109
109
|
slot: 'AiAssistantPanelFooter'
|
|
110
110
|
})({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Conversation } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
|
|
1
|
+
import type { Conversation } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
|
|
2
2
|
type GridAiAssistantPanelConversationProps = {
|
|
3
3
|
conversation: Conversation;
|
|
4
4
|
};
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
13
13
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
|
-
var
|
|
14
|
+
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
16
16
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
17
17
|
var _prompt = require("../prompt");
|
|
@@ -26,14 +26,14 @@ const useUtilityClasses = ownerState => {
|
|
|
26
26
|
};
|
|
27
27
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
28
28
|
};
|
|
29
|
-
const AiAssistantPanelConversationRoot = (0,
|
|
29
|
+
const AiAssistantPanelConversationRoot = (0, _styles.styled)(_xDataGridPro.GridShadowScrollArea, {
|
|
30
30
|
name: 'MuiDataGrid',
|
|
31
31
|
slot: 'AiAssistantPanelConversation'
|
|
32
32
|
})({
|
|
33
33
|
flexShrink: 0,
|
|
34
34
|
height: '100%'
|
|
35
35
|
});
|
|
36
|
-
const AiAssistantPanelConversationList = (0,
|
|
36
|
+
const AiAssistantPanelConversationList = (0, _styles.styled)('ol', {
|
|
37
37
|
name: 'MuiDataGrid',
|
|
38
38
|
slot: 'AiAssistantPanelConversationList'
|
|
39
39
|
})({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PromptSuggestion } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
|
|
1
|
+
import type { PromptSuggestion } from "../../hooks/features/aiAssistant/gridAiAssistantInterfaces.js";
|
|
2
2
|
type GridAiAssistantPanelSuggestionsProps = {
|
|
3
3
|
suggestions: PromptSuggestion[];
|
|
4
4
|
};
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.GridAiAssistantPanelSuggestions = GridAiAssistantPanelSuggestions;
|
|
8
8
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
9
9
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
10
|
-
var
|
|
10
|
+
var _styles = require("@mui/material/styles");
|
|
11
11
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
12
12
|
var _useGridRootProps = require("../../hooks/utils/useGridRootProps");
|
|
13
13
|
var _useGridApiContext = require("../../hooks/utils/useGridApiContext");
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
};
|
|
25
25
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
26
26
|
};
|
|
27
|
-
const AiAssistantPanelSuggestionsRoot = (0,
|
|
27
|
+
const AiAssistantPanelSuggestionsRoot = (0, _styles.styled)('div', {
|
|
28
28
|
name: 'MuiDataGrid',
|
|
29
29
|
slot: 'AiAssistantPanelSuggestions'
|
|
30
30
|
})({
|
|
@@ -32,7 +32,7 @@ const AiAssistantPanelSuggestionsRoot = (0, _system.styled)('div', {
|
|
|
32
32
|
flexDirection: 'column',
|
|
33
33
|
gap: _internals.vars.spacing(0.75)
|
|
34
34
|
});
|
|
35
|
-
const AiAssistantPanelSuggestionsList = (0,
|
|
35
|
+
const AiAssistantPanelSuggestionsList = (0, _styles.styled)('div', {
|
|
36
36
|
name: 'MuiDataGrid',
|
|
37
37
|
slot: 'AiAssistantPanelSuggestionsList'
|
|
38
38
|
})({
|
|
@@ -43,7 +43,7 @@ const AiAssistantPanelSuggestionsList = (0, _system.styled)('div', {
|
|
|
43
43
|
margin: _internals.vars.spacing(-1),
|
|
44
44
|
scrollbarWidth: 'thin'
|
|
45
45
|
});
|
|
46
|
-
const AiAssistantPanelSuggestionsLabel = (0,
|
|
46
|
+
const AiAssistantPanelSuggestionsLabel = (0, _styles.styled)('div', {
|
|
47
47
|
name: 'MuiDataGrid',
|
|
48
48
|
slot: 'AiAssistantPanelSuggestionsLabel'
|
|
49
49
|
})({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RenderProp } from '@mui/x-data-grid-pro/internals';
|
|
3
|
-
import { GridSlotProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import type { RenderProp } from '@mui/x-data-grid-pro/internals';
|
|
3
|
+
import { type GridSlotProps } from '@mui/x-data-grid-pro';
|
|
4
4
|
export interface ChartsPanelState {
|
|
5
5
|
/**
|
|
6
6
|
* If `true`, the charts integration panel is open.
|
|
@@ -10,7 +10,7 @@ exports.GridChartsPanel = GridChartsPanel;
|
|
|
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 _styles = require("@mui/material/styles");
|
|
14
14
|
var _useId = _interopRequireDefault(require("@mui/utils/useId"));
|
|
15
15
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
16
16
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
@@ -22,7 +22,7 @@ var _gridChartsIntegrationSelectors = require("../../hooks/features/chartsIntegr
|
|
|
22
22
|
var _useGridChartIntegration = require("../../hooks/utils/useGridChartIntegration");
|
|
23
23
|
var _GridChartsPanelData = require("./data/GridChartsPanelData");
|
|
24
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
-
const GridChartsPanelHeader = (0,
|
|
25
|
+
const GridChartsPanelHeader = (0, _styles.styled)('div', {
|
|
26
26
|
name: 'MuiDataGrid',
|
|
27
27
|
slot: 'ChartsPanelHeader'
|
|
28
28
|
})({
|
|
@@ -32,7 +32,7 @@ const GridChartsPanelHeader = (0, _system.styled)('div', {
|
|
|
32
32
|
padding: _internals.vars.spacing(1, 0.5, 0, 0.75),
|
|
33
33
|
boxSizing: 'border-box'
|
|
34
34
|
});
|
|
35
|
-
const GridChartsPanelTitle = (0,
|
|
35
|
+
const GridChartsPanelTitle = (0, _styles.styled)('div', {
|
|
36
36
|
name: 'MuiDataGrid',
|
|
37
37
|
slot: 'ChartsPanelTitle'
|
|
38
38
|
})({
|
|
@@ -41,7 +41,7 @@ const GridChartsPanelTitle = (0, _system.styled)('div', {
|
|
|
41
41
|
marginLeft: _internals.vars.spacing(0.5),
|
|
42
42
|
marginRight: 'auto'
|
|
43
43
|
});
|
|
44
|
-
const GridChartsPanelChartSelection = (0,
|
|
44
|
+
const GridChartsPanelChartSelection = (0, _styles.styled)('button', {
|
|
45
45
|
name: 'MuiDataGrid',
|
|
46
46
|
slot: 'ChartsPanelChartSelection'
|
|
47
47
|
})({
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.GridChartsPanelChart = GridChartsPanelChart;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
var
|
|
10
|
+
var _styles = require("@mui/material/styles");
|
|
11
11
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
13
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
@@ -24,7 +24,7 @@ const useUtilityClasses = ownerState => {
|
|
|
24
24
|
};
|
|
25
25
|
return (0, _composeClasses.default)(slots, _xDataGridPro.getDataGridUtilityClass, classes);
|
|
26
26
|
};
|
|
27
|
-
const GridChartsManagementRoot = (0,
|
|
27
|
+
const GridChartsManagementRoot = (0, _styles.styled)('div', {
|
|
28
28
|
name: 'MuiDataGrid',
|
|
29
29
|
slot: 'ChartsManagement'
|
|
30
30
|
})({
|
|
@@ -33,7 +33,7 @@ const GridChartsManagementRoot = (0, _system.styled)('div', {
|
|
|
33
33
|
justifyContent: 'space-between',
|
|
34
34
|
height: '100%'
|
|
35
35
|
});
|
|
36
|
-
const GridChartTypeRoot = (0,
|
|
36
|
+
const GridChartTypeRoot = (0, _styles.styled)('div', {
|
|
37
37
|
name: 'MuiDataGrid',
|
|
38
38
|
slot: 'ChartTypeRoot'
|
|
39
39
|
})({
|
|
@@ -42,7 +42,7 @@ const GridChartTypeRoot = (0, _system.styled)('div', {
|
|
|
42
42
|
gap: _internals.vars.spacing(1),
|
|
43
43
|
padding: _internals.vars.spacing(1)
|
|
44
44
|
});
|
|
45
|
-
const GridChartTypeButton = (0,
|
|
45
|
+
const GridChartTypeButton = (0, _styles.styled)('button', {
|
|
46
46
|
name: 'MuiDataGrid',
|
|
47
47
|
slot: 'ChartTypeSelectorButton',
|
|
48
48
|
shouldForwardProp: prop => prop !== 'isSelected'
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.GridChartsPanelCustomize = GridChartsPanelCustomize;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _styles = require("@mui/material/styles");
|
|
12
12
|
var _internals = require("@mui/x-data-grid-pro/internals");
|
|
13
13
|
var _xDataGridPro = require("@mui/x-data-grid-pro");
|
|
14
14
|
var _useGridApiContext = require("../../../hooks/utils/useGridApiContext");
|
|
@@ -19,16 +19,16 @@ var _CollapsibleTrigger = require("../../collapsible/CollapsibleTrigger");
|
|
|
19
19
|
var _CollapsiblePanel = require("../../collapsible/CollapsiblePanel");
|
|
20
20
|
var _useGridChartsIntegration = require("../../../hooks/features/chartsIntegration/useGridChartsIntegration");
|
|
21
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
-
const GridChartsPanelCustomizeRoot = (0,
|
|
22
|
+
const GridChartsPanelCustomizeRoot = (0, _styles.styled)(_xDataGridPro.GridShadowScrollArea)({
|
|
23
23
|
height: '100%'
|
|
24
24
|
});
|
|
25
|
-
const GridChartsPanelCustomizeSection = (0,
|
|
25
|
+
const GridChartsPanelCustomizeSection = (0, _styles.styled)(_Collapsible.Collapsible, {
|
|
26
26
|
name: 'MuiDataGrid',
|
|
27
27
|
slot: 'ChartsPanelCustomizeSection'
|
|
28
28
|
})({
|
|
29
29
|
margin: _internals.vars.spacing(0.5, 1)
|
|
30
30
|
});
|
|
31
|
-
const GridChartsPanelCustomizePanel = (0,
|
|
31
|
+
const GridChartsPanelCustomizePanel = (0, _styles.styled)(_CollapsiblePanel.CollapsiblePanel, {
|
|
32
32
|
name: 'MuiDataGrid',
|
|
33
33
|
slot: 'chartsPanelSection'
|
|
34
34
|
})({
|
|
@@ -37,7 +37,7 @@ const GridChartsPanelCustomizePanel = (0, _system.styled)(_CollapsiblePanel.Coll
|
|
|
37
37
|
padding: _internals.vars.spacing(2, 1.5),
|
|
38
38
|
gap: _internals.vars.spacing(3)
|
|
39
39
|
});
|
|
40
|
-
const GridChartsPanelCustomizePanelTitle = (0,
|
|
40
|
+
const GridChartsPanelCustomizePanelTitle = (0, _styles.styled)('div', {
|
|
41
41
|
name: 'MuiDataGrid',
|
|
42
42
|
slot: 'ChartsPanelCustomizePanelTitle'
|
|
43
43
|
})({
|