@mui/x-charts-pro 8.16.0 → 8.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPro/BarChartPro.js +1 -0
- package/CHANGELOG.md +208 -1
- package/ChartDataProviderPro/ChartDataProviderPro.d.ts +1 -2
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -3
- package/ChartZoomSlider/ChartZoomSlider.d.ts +1 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSlider.js +2 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +6 -3
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.js +2 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -2
- package/ChartZoomSlider/internals/ChartAxisZoomSliderThumb.js +8 -5
- package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
- package/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +6 -3
- package/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -2
- package/ChartZoomSlider/internals/previews/BarPreviewPlot.js +2 -4
- package/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
- package/ChartZoomSlider/internals/previews/LinePreviewPlot.js +2 -2
- package/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -2
- package/ChartZoomSlider/internals/previews/ScatterPreviewPlot.js +2 -2
- package/ChartsToolbarPro/ChartsToolbarImageExportTrigger.js +1 -0
- package/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.js +1 -0
- package/ChartsToolbarPro/ChartsToolbarPro.d.ts +1 -2
- package/ChartsToolbarPro/ChartsToolbarPro.js +1 -0
- package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/FunnelChart/FunnelChart.js +1 -1
- package/FunnelChart/FunnelPlot.d.ts +1 -1
- package/FunnelChart/funnel.types.d.ts +1 -1
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +7 -7
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +6 -44
- package/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.js +3 -2
- package/FunnelChart/seriesConfig/index.d.ts +1 -1
- package/FunnelChart/seriesConfig/index.js +2 -2
- package/Heatmap/Heatmap.js +1 -1
- package/Heatmap/HeatmapItem.d.ts +1 -1
- package/Heatmap/HeatmapPlot.d.ts +1 -2
- package/Heatmap/HeatmapPlot.js +0 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.js +0 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -2
- package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +0 -2
- package/Heatmap/seriesConfig/index.d.ts +1 -1
- package/Heatmap/seriesConfig/index.js +2 -2
- package/SankeyChart/SankeyChart.js +1 -1
- package/SankeyChart/SankeyLinkElement.js +2 -2
- package/SankeyChart/SankeyNodeElement.js +2 -2
- package/SankeyChart/SankeyPlot.d.ts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltip.js +0 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +0 -2
- package/SankeyChart/calculateSankeyLayout.js +16 -7
- package/SankeyChart/plugins/useSankeyHighlight.js +8 -12
- package/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +19 -23
- package/SankeyChart/plugins/useSankeyHighlight.selectors.js +3 -3
- package/SankeyChart/sankey.types.d.ts +17 -4
- package/SankeyChart/seriesConfig/index.d.ts +1 -1
- package/SankeyChart/seriesConfig/index.js +2 -2
- package/esm/BarChartPro/BarChartPro.js +1 -0
- package/esm/ChartDataProviderPro/ChartDataProviderPro.d.ts +1 -2
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -2
- package/esm/ChartZoomSlider/ChartZoomSlider.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSlider.js +2 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderActiveTrack.js +6 -3
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreview.js +2 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderPreviewContent.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderThumb.js +8 -5
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/ChartAxisZoomSliderTrack.js +6 -3
- package/esm/ChartZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/AreaPreviewPlot.js +2 -2
- package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/previews/BarPreviewPlot.js +2 -3
- package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
- package/esm/ChartZoomSlider/internals/previews/LinePreviewPlot.js +2 -2
- package/esm/ChartZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +1 -2
- package/esm/ChartZoomSlider/internals/previews/ScatterPreviewPlot.js +2 -2
- package/esm/ChartsToolbarPro/ChartsToolbarImageExportTrigger.js +1 -0
- package/esm/ChartsToolbarPro/ChartsToolbarPrintExportTrigger.js +1 -0
- package/esm/ChartsToolbarPro/ChartsToolbarPro.d.ts +1 -2
- package/esm/ChartsToolbarPro/ChartsToolbarPro.js +1 -0
- package/esm/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
- package/esm/FunnelChart/FunnelChart.js +1 -1
- package/esm/FunnelChart/FunnelPlot.d.ts +1 -1
- package/esm/FunnelChart/funnel.types.d.ts +1 -1
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxis.js +7 -7
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.d.ts +6 -44
- package/esm/FunnelChart/funnelAxisPlugin/useChartFunnelAxisRendering.selectors.js +3 -2
- package/esm/FunnelChart/seriesConfig/index.d.ts +1 -1
- package/esm/FunnelChart/seriesConfig/index.js +1 -1
- package/esm/Heatmap/Heatmap.js +1 -1
- package/esm/Heatmap/HeatmapItem.d.ts +1 -1
- package/esm/Heatmap/HeatmapPlot.d.ts +1 -2
- package/esm/Heatmap/HeatmapPlot.js +0 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -2
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltip.js +0 -1
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -2
- package/esm/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +0 -1
- package/esm/Heatmap/seriesConfig/index.d.ts +1 -1
- package/esm/Heatmap/seriesConfig/index.js +1 -1
- package/esm/SankeyChart/SankeyChart.js +1 -1
- package/esm/SankeyChart/SankeyLinkElement.js +2 -2
- package/esm/SankeyChart/SankeyNodeElement.js +2 -2
- package/esm/SankeyChart/SankeyPlot.d.ts +1 -1
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -2
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltip.js +0 -1
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -2
- package/esm/SankeyChart/SankeyTooltip/SankeyTooltipContent.js +0 -1
- package/esm/SankeyChart/calculateSankeyLayout.js +16 -7
- package/esm/SankeyChart/plugins/useSankeyHighlight.js +8 -12
- package/esm/SankeyChart/plugins/useSankeyHighlight.selectors.d.ts +19 -23
- package/esm/SankeyChart/plugins/useSankeyHighlight.selectors.js +3 -3
- package/esm/SankeyChart/sankey.types.d.ts +17 -4
- package/esm/SankeyChart/seriesConfig/index.d.ts +1 -1
- package/esm/SankeyChart/seriesConfig/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/material/components/BaseMenuItem.d.ts +1 -2
- package/esm/internals/material/components/BaseMenuItem.js +0 -1
- package/esm/internals/material/components/BasePopper.d.ts +1 -2
- package/esm/internals/plugins/useChartProExport/exportImage.js +5 -3
- package/esm/internals/plugins/useChartProExport/print.d.ts +2 -1
- package/esm/internals/plugins/useChartProExport/print.js +3 -2
- package/esm/internals/plugins/useChartProExport/useChartProExport.types.d.ts +5 -0
- package/esm/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +12 -6
- package/esm/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.js +2 -2
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +22 -14
- package/esm/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +26 -14
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +1 -1
- package/esm/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +1 -1
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.js +30 -54
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +10 -26
- package/esm/internals/plugins/useChartProZoom/useChartProZoom.selectors.js +1 -1
- package/esm/models/seriesType/heatmap.d.ts +1 -1
- package/index.js +1 -1
- package/internals/material/components/BaseMenuItem.d.ts +1 -2
- package/internals/material/components/BaseMenuItem.js +0 -2
- package/internals/material/components/BasePopper.d.ts +1 -2
- package/internals/plugins/useChartProExport/exportImage.js +5 -3
- package/internals/plugins/useChartProExport/print.d.ts +2 -1
- package/internals/plugins/useChartProExport/print.js +3 -2
- package/internals/plugins/useChartProExport/useChartProExport.types.d.ts +5 -0
- package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +12 -6
- package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.js +2 -2
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.js +22 -14
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.js +26 -14
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +1 -1
- package/internals/plugins/useChartProZoom/useChartProZoom.js +30 -54
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.d.ts +10 -26
- package/internals/plugins/useChartProZoom/useChartProZoom.selectors.js +1 -1
- package/models/seriesType/heatmap.d.ts +1 -1
- package/package.json +8 -8
|
@@ -115,6 +115,7 @@ process.env.NODE_ENV !== "production" ? BarChartPro.propTypes = {
|
|
|
115
115
|
y: _propTypes.default.oneOf(['band', 'line', 'none'])
|
|
116
116
|
}),
|
|
117
117
|
/**
|
|
118
|
+
* @deprecated Use `barLabel` in the chart series instead.
|
|
118
119
|
* If provided, the function will be used to format the label of the bar.
|
|
119
120
|
* It can be set to 'value' to display the current value.
|
|
120
121
|
* @param {BarItem} item The item to format.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,213 @@
|
|
|
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.18.0
|
|
9
|
+
|
|
10
|
+
<!-- generated comparing v8.17.0..master -->
|
|
11
|
+
|
|
12
|
+
_Nov 13, 2025_
|
|
13
|
+
|
|
14
|
+
We'd like to extend a big thank you to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
15
|
+
|
|
16
|
+
- Add `barLabelPlacement` property to customize the bar label position in bar charts, enabling labels to be placed above bars.
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
- Add `source` property to the date/time picker lifecycle and event handler context, enabling clearer differentiation between changes initiated by the picker UI and those from direct field input.
|
|
21
|
+
- 🐞 Bugfixes
|
|
22
|
+
- 📚 Documentation improvements
|
|
23
|
+
|
|
24
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
25
|
+
@htollefsen, @sai6855, @Sigdriv
|
|
26
|
+
|
|
27
|
+
The following team members contributed to this release:
|
|
28
|
+
@arminmeh, @bernardobelchior, @brijeshb42, @cherniavskii, @flaviendelangle, @JCQuintas, @michelengelen, @noraleonte, @prakhargupta1, @rita-codes, @siriwatknp
|
|
29
|
+
|
|
30
|
+
### Data Grid
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-data-grid@8.18.0`
|
|
33
|
+
|
|
34
|
+
- [DataGrid] Allow default event in the column action cell item click event handler (#20272) @arminmeh
|
|
35
|
+
- [DataGrid] Remove unnecessary generic from `useGridApiRef` (#20277) @cherniavskii
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-pro@8.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid@8.18.0`.
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-data-grid-premium@8.18.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
42
|
+
|
|
43
|
+
Same changes as in `@mui/x-data-grid-pro@8.18.0`, plus:
|
|
44
|
+
|
|
45
|
+
- [DataGridPremium] Return the correct `cellParams` value from the aggregation cells (#20224) @arminmeh
|
|
46
|
+
|
|
47
|
+
### Date and Time Pickers
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers@8.18.0`
|
|
50
|
+
|
|
51
|
+
- [pickers] Keep invalid date state consistent (#20040) @michelengelen
|
|
52
|
+
- [pickers] Adds new `source` property to `onChange` and `onAccept` context object (#20234) @michelengelen
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-date-pickers-pro@8.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-date-pickers@8.18.0`.
|
|
57
|
+
|
|
58
|
+
### Charts
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-charts@8.18.0`
|
|
61
|
+
|
|
62
|
+
- [charts] Add prop for positioning a bar label (#20194) @Sigdriv
|
|
63
|
+
- [charts] Fix applying dark mode styles in `ChartAxisZoomSliderThumb` (#20232) @sai6855
|
|
64
|
+
|
|
65
|
+
#### `@mui/x-charts-pro@8.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
66
|
+
|
|
67
|
+
Same changes as in `@mui/x-charts@8.18.0`, plus:
|
|
68
|
+
|
|
69
|
+
- [charts-pro] Allow specifying Content Security Policy nonce on export (#20053) @bernardobelchior
|
|
70
|
+
- [charts-pro] Fix applying dark mode styles to slider (#20220) @sai6855
|
|
71
|
+
- [charts-pro] Sankey should respect node order (#20065) @JCQuintas
|
|
72
|
+
|
|
73
|
+
#### `@mui/x-charts-premium@8.18.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
74
|
+
|
|
75
|
+
Same changes as in `@mui/x-charts-pro@8.18.0`.
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-tree-view@8.18.0`
|
|
80
|
+
|
|
81
|
+
- [tree view] Prepare tests for the new store structure (#20225) @flaviendelangle
|
|
82
|
+
- [tree view] Prepare the item plugin files for the store migration (#20240) @flaviendelangle
|
|
83
|
+
- [tree view] Use `TreeItemId` type instead of raw string (#20233) @flaviendelangle
|
|
84
|
+
|
|
85
|
+
#### `@mui/x-tree-view-pro@8.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
86
|
+
|
|
87
|
+
Same changes as in `@mui/x-tree-view@8.18.0`.
|
|
88
|
+
|
|
89
|
+
### Codemod
|
|
90
|
+
|
|
91
|
+
#### `@mui/x-codemod@8.18.0`
|
|
92
|
+
|
|
93
|
+
Internal changes.
|
|
94
|
+
|
|
95
|
+
### Docs
|
|
96
|
+
|
|
97
|
+
- [charts] Add a demo for a custom tick label (#20073) @prakhargupta1
|
|
98
|
+
- [charts] Create `useAxes()` hook documentation page (#20229) @JCQuintas
|
|
99
|
+
- [charts] Fix logo alignment (#20228) @JCQuintas
|
|
100
|
+
- [charts] Fixes typo in import example (#20236) @htollefsen
|
|
101
|
+
- [Data Grid] Add recipe for cursor pagination with data source (#19700) @siriwatknp
|
|
102
|
+
- [Data Grid] Add a demo for pinned rows aggregation (#20198) @cherniavskii
|
|
103
|
+
|
|
104
|
+
### Core
|
|
105
|
+
|
|
106
|
+
- [docs-infra] Use deployment config from docs-infra package (#20243) @brijeshb42
|
|
107
|
+
|
|
108
|
+
## 8.17.0
|
|
109
|
+
|
|
110
|
+
_Nov 5, 2025_
|
|
111
|
+
|
|
112
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
113
|
+
|
|
114
|
+
- Add `colorGetter` prop to cartesian charts series
|
|
115
|
+
|
|
116
|
+
<img width="400" alt="Image" src="https://github.com/user-attachments/assets/d8b1263f-794e-4939-b17e-87350fdd1746" />
|
|
117
|
+
|
|
118
|
+
- 🌎 Add Catalan (ca-ES) locale on the Data Grid
|
|
119
|
+
- 🌎 Add Norwegian Bokmål (nb-NO) locale on the Charts
|
|
120
|
+
- 🐞 Bugfixes
|
|
121
|
+
- 📚 Documentation improvements
|
|
122
|
+
|
|
123
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
124
|
+
@frncesc, @Methuselah96, @samuelwalk, @htollefsen
|
|
125
|
+
|
|
126
|
+
The following team members contributed to this release:
|
|
127
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @mnajdova, @rita-codes, @arminmeh, @brijeshb42
|
|
128
|
+
|
|
129
|
+
### Data Grid
|
|
130
|
+
|
|
131
|
+
#### `@mui/x-data-grid@8.17.0`
|
|
132
|
+
|
|
133
|
+
- [DataGrid] Stop event propagation on data grid action buttons (GridActionsCellItem) (#19513) @Copilot
|
|
134
|
+
- [DataGrid] Update cell editable state if `editable` prop is updated in the column definition (#20147) @arminmeh
|
|
135
|
+
- [DataGrid] Wait for external model updates before resetting pagination after sort/filter (#20162) @arminmeh
|
|
136
|
+
- [l10n] Add Catalan (ca-ES) locale (#20154) @frncesc
|
|
137
|
+
- [l10n] Improve Arabic (ar-SD) locale (#20185) @samuelwalk
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-data-grid-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
140
|
+
|
|
141
|
+
Same changes as in `@mui/x-data-grid@8.17.0`.
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-premium@8.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid-pro@8.17.0`.
|
|
146
|
+
|
|
147
|
+
### Date and Time Pickers
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-date-pickers@8.17.0`
|
|
150
|
+
|
|
151
|
+
Internal changes.
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-date-pickers-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
154
|
+
|
|
155
|
+
Same changes as in `@mui/x-date-pickers@8.17.0`.
|
|
156
|
+
|
|
157
|
+
### Charts
|
|
158
|
+
|
|
159
|
+
#### `@mui/x-charts@8.17.0`
|
|
160
|
+
|
|
161
|
+
- [charts] Add `barLabel` to bar series. Deprecate `barLabel` in `BarPlot`. (#20184) @bernardobelchior
|
|
162
|
+
- [charts] Add series color callback (#20084) @bernardobelchior
|
|
163
|
+
- [charts] Expose `ChartsSurface` classes (#20180) @bernardobelchior
|
|
164
|
+
- [charts] Fix chart cut off when inside `overflow: scroll` container (#20182) @bernardobelchior
|
|
165
|
+
- [charts] Fix tick label overflow on multiple axes and series demo (#20152) @bernardobelchior
|
|
166
|
+
- [charts] Organize series config (#20155) @bernardobelchior
|
|
167
|
+
- [charts] Use selectors from `@mui/x-internals` (#20052) @alexfauquette
|
|
168
|
+
- [charts] Use store from `@mui/x-internals` (#20121) @alexfauquette
|
|
169
|
+
- [charts] Add `useDataset` hook (#20205) @JCQuintas
|
|
170
|
+
- [l10n] Add Norwegian Bokmål (nb-NO) locale (#20197) @htollefsen
|
|
171
|
+
|
|
172
|
+
#### `@mui/x-charts-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
173
|
+
|
|
174
|
+
Same changes as in `@mui/x-charts@8.17.0`, plus:
|
|
175
|
+
|
|
176
|
+
- [charts-pro] Fix zoom pan issue when controlled (#20163) @JCQuintas
|
|
177
|
+
|
|
178
|
+
#### `@mui/x-charts-premium@8.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
179
|
+
|
|
180
|
+
Same changes as in `@mui/x-charts-pro@8.17.0`.
|
|
181
|
+
|
|
182
|
+
### Tree View
|
|
183
|
+
|
|
184
|
+
#### `@mui/x-tree-view@8.17.0`
|
|
185
|
+
|
|
186
|
+
- [tree view] Accept read only arrays in `expandedItems` prop (#20181) @Methuselah96
|
|
187
|
+
- [tree view] Use `aria-checked` instead of `aria-selected` on items (#19851) @flaviendelangle
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-tree-view-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
190
|
+
|
|
191
|
+
Same changes as in `@mui/x-tree-view@8.17.0`.
|
|
192
|
+
|
|
193
|
+
### Codemod
|
|
194
|
+
|
|
195
|
+
#### `@mui/x-codemod@8.17.0`
|
|
196
|
+
|
|
197
|
+
Internal changes.
|
|
198
|
+
|
|
199
|
+
### Docs
|
|
200
|
+
|
|
201
|
+
- [docs] Fix focus issues in the action column demo (#20178) @arminmeh
|
|
202
|
+
- [docs] Remove hidden Tree View headless page (#20119) @flaviendelangle
|
|
203
|
+
- [docs] Fix some external redirects (#20211) @Janpot
|
|
204
|
+
|
|
205
|
+
### Core
|
|
206
|
+
|
|
207
|
+
- [code-infra] Fix cci job timeout due to buffered test output (#20193) @Janpot
|
|
208
|
+
- [code-infra] Fix publish workflow (#20140) @bernardobelchior
|
|
209
|
+
- [code-infra] Increase JSDOM test parallelism (#20179) @Janpot
|
|
210
|
+
- [code-infra] Remove React import requirement for jsx (#20144) @brijeshb42
|
|
211
|
+
- [code-infra] Replace `getInitialProps` with `getStaticProps` (#20192) @Janpot
|
|
212
|
+
- [code-infra] git-ignore next-env.d.ts (#20177) @Janpot
|
|
213
|
+
- [code-infra] Stabilize screenshot testing (#19868) @Janpot
|
|
214
|
+
|
|
8
215
|
## 8.16.0
|
|
9
216
|
|
|
10
217
|
_Oct 29, 2025_
|
|
@@ -39,7 +246,7 @@ Same changes as in `@mui/x-data-grid@8.16.0`, plus:
|
|
|
39
246
|
Same changes as in `@mui/x-data-grid-pro@8.16.0`, plus:
|
|
40
247
|
|
|
41
248
|
- [DataGridPremium] Export and restore chart integration state (#20079) @arminmeh
|
|
42
|
-
- [DataGridPremium] Fix grouping column `valueFormatter()` crash
|
|
249
|
+
- [DataGridPremium] Fix grouping column `valueFormatter()` crash (#20070) @sai6855
|
|
43
250
|
- [DataGridPremium] Refetch aggregation data after row update with server-side aggregation (#20039) @arminmeh
|
|
44
251
|
|
|
45
252
|
### Date and Time Pickers
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartSeriesType, ChartAnyPluginSignature, ChartProviderProps } from '@mui/x-charts/internals';
|
|
3
2
|
import { ChartDataProviderProps } from '@mui/x-charts/ChartDataProvider';
|
|
4
3
|
import { ChartsSlotPropsPro, ChartsSlotsPro } from "../internals/material/index.js";
|
|
@@ -40,7 +39,7 @@ export type ChartDataProviderProProps<TSeries extends ChartSeriesType = ChartSer
|
|
|
40
39
|
* </ChartDataProviderPro>
|
|
41
40
|
* ```
|
|
42
41
|
*/
|
|
43
|
-
declare function ChartDataProviderPro<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartDataProviderProProps<TSeries, TSignatures>):
|
|
42
|
+
declare function ChartDataProviderPro<TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartDataProviderProProps<TSeries, TSignatures>): import("react/jsx-runtime").JSX.Element;
|
|
44
43
|
declare namespace ChartDataProviderPro {
|
|
45
44
|
var propTypes: any;
|
|
46
45
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.ChartDataProviderPro = ChartDataProviderPro;
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
11
|
var _Watermark = require("@mui/x-license/Watermark");
|
|
14
12
|
var _internals = require("@mui/x-charts/internals");
|
|
@@ -18,7 +16,7 @@ var _material = require("../internals/material");
|
|
|
18
16
|
var _allPlugins = require("../internals/plugins/allPlugins");
|
|
19
17
|
var _useChartDataProviderProProps = require("./useChartDataProviderProProps");
|
|
20
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
const releaseInfo = "
|
|
19
|
+
const releaseInfo = "MTc2Mjk5MjAwMDAwMA==";
|
|
22
20
|
const packageIdentifier = 'x-charts-pro';
|
|
23
21
|
/**
|
|
24
22
|
* Orchestrates the data providers for the chart components and hooks.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { AxisId } from '@mui/x-charts/internals';
|
|
3
2
|
interface ChartZoomSliderProps {
|
|
4
3
|
/**
|
|
@@ -17,5 +16,5 @@ interface ChartZoomSliderProps {
|
|
|
17
16
|
export declare function ChartAxisZoomSlider({
|
|
18
17
|
axisDirection,
|
|
19
18
|
axisId
|
|
20
|
-
}: ChartZoomSliderProps):
|
|
19
|
+
}: ChartZoomSliderProps): import("react/jsx-runtime").JSX.Element | null;
|
|
21
20
|
export {};
|
|
@@ -25,8 +25,8 @@ function ChartAxisZoomSlider({
|
|
|
25
25
|
}) {
|
|
26
26
|
const store = (0, _internals.useStore)();
|
|
27
27
|
const drawingArea = (0, _internals.useDrawingArea)();
|
|
28
|
-
const zoomData = (0, _internals.useSelector)(store, _useChartProZoom.selectorChartAxisZoomData,
|
|
29
|
-
const zoomOptions = (0, _internals.useSelector)(store, _internals.selectorChartAxisZoomOptionsLookup,
|
|
28
|
+
const zoomData = (0, _internals.useSelector)(store, _useChartProZoom.selectorChartAxisZoomData, axisId);
|
|
29
|
+
const zoomOptions = (0, _internals.useSelector)(store, _internals.selectorChartAxisZoomOptionsLookup, axisId);
|
|
30
30
|
const [showTooltip, setShowTooltip] = React.useState(false);
|
|
31
31
|
const {
|
|
32
32
|
xAxis
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AxisId, ZoomData } from '@mui/x-charts/internals';
|
|
2
|
-
import * as React from 'react';
|
|
3
2
|
export interface ChartAxisZoomSliderActiveTrackProps {
|
|
4
3
|
axisId: AxisId;
|
|
5
4
|
axisDirection: 'x' | 'y';
|
|
@@ -23,4 +22,4 @@ export declare function ChartAxisZoomSliderActiveTrack({
|
|
|
23
22
|
showTooltip,
|
|
24
23
|
onPointerEnter,
|
|
25
24
|
onPointerLeave
|
|
26
|
-
}: ChartAxisZoomSliderActiveTrackProps):
|
|
25
|
+
}: ChartAxisZoomSliderActiveTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -24,8 +24,11 @@ const ZoomSliderActiveTrackRect = (0, _styles.styled)('rect', {
|
|
|
24
24
|
shouldForwardProp: prop => (0, _system.shouldForwardProp)(prop) && prop !== 'preview'
|
|
25
25
|
})(({
|
|
26
26
|
theme
|
|
27
|
-
}) => ({
|
|
28
|
-
fill:
|
|
27
|
+
}) => (0, _extends2.default)({
|
|
28
|
+
fill: (theme.vars || theme).palette.grey[600]
|
|
29
|
+
}, theme.applyStyles('dark', {
|
|
30
|
+
fill: (theme.vars || theme).palette.grey[500]
|
|
31
|
+
}), {
|
|
29
32
|
cursor: 'grab',
|
|
30
33
|
variants: [{
|
|
31
34
|
props: {
|
|
@@ -56,7 +59,7 @@ function ChartAxisZoomSliderActiveTrack({
|
|
|
56
59
|
svgRef
|
|
57
60
|
} = (0, _internals.useChartContext)();
|
|
58
61
|
const store = (0, _internals.useStore)();
|
|
59
|
-
const axis = (0, _internals.useSelector)(store, _internals.selectorChartAxis,
|
|
62
|
+
const axis = (0, _internals.useSelector)(store, _internals.selectorChartAxis, axisId);
|
|
60
63
|
const drawingArea = (0, _internals.useDrawingArea)();
|
|
61
64
|
const activePreviewRectRef = React.useRef(null);
|
|
62
65
|
const [startThumbEl, setStartThumbEl] = React.useState(null);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { AxisId } from '@mui/x-charts/internals';
|
|
3
2
|
interface ChartAxisZoomSliderPreviewProps {
|
|
4
3
|
axisId: AxisId;
|
|
@@ -14,5 +13,5 @@ export declare function ChartAxisZoomSliderPreview({
|
|
|
14
13
|
axisDirection,
|
|
15
14
|
reverse,
|
|
16
15
|
...props
|
|
17
|
-
}: ChartAxisZoomSliderPreviewProps):
|
|
16
|
+
}: ChartAxisZoomSliderPreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
@@ -50,8 +50,8 @@ function PreviewRectangles(props) {
|
|
|
50
50
|
axisDirection
|
|
51
51
|
} = props;
|
|
52
52
|
const store = (0, _internals.useStore)();
|
|
53
|
-
const zoomData = (0, _internals.useSelector)(store, _useChartProZoom.selectorChartAxisZoomData,
|
|
54
|
-
const zoomOptions = (0, _internals.useSelector)(store, _internals.selectorChartAxisZoomOptionsLookup,
|
|
53
|
+
const zoomData = (0, _internals.useSelector)(store, _useChartProZoom.selectorChartAxisZoomData, axisId);
|
|
54
|
+
const zoomOptions = (0, _internals.useSelector)(store, _internals.selectorChartAxisZoomOptionsLookup, axisId);
|
|
55
55
|
const id = (0, _useId.default)();
|
|
56
56
|
if (!zoomData) {
|
|
57
57
|
return null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { AxisId } from '@mui/x-charts/internals';
|
|
3
2
|
interface ChartAxisZoomSliderPreviewContentProps {
|
|
4
3
|
axisId: AxisId;
|
|
@@ -7,5 +6,5 @@ interface ChartAxisZoomSliderPreviewContentProps {
|
|
|
7
6
|
height: number;
|
|
8
7
|
width: number;
|
|
9
8
|
}
|
|
10
|
-
export declare function ChartAxisZoomSliderPreviewContent(props: ChartAxisZoomSliderPreviewContentProps):
|
|
9
|
+
export declare function ChartAxisZoomSliderPreviewContent(props: ChartAxisZoomSliderPreviewContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.ChartAxisZoomSliderThumb = void 0;
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _styles = require("@mui/material/styles");
|
|
14
14
|
var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
|
|
@@ -21,10 +21,13 @@ const _excluded = ["className", "onMove", "orientation", "placement", "rx", "ry"
|
|
|
21
21
|
const Rect = (0, _styles.styled)('rect')(({
|
|
22
22
|
theme
|
|
23
23
|
}) => ({
|
|
24
|
-
[`&.${_chartAxisZoomSliderThumbClasses.chartAxisZoomSliderThumbClasses.root}`]: {
|
|
25
|
-
fill:
|
|
26
|
-
stroke:
|
|
27
|
-
},
|
|
24
|
+
[`&.${_chartAxisZoomSliderThumbClasses.chartAxisZoomSliderThumbClasses.root}`]: (0, _extends2.default)({
|
|
25
|
+
fill: (theme.vars || theme).palette.common.white,
|
|
26
|
+
stroke: (theme.vars || theme).palette.grey[500]
|
|
27
|
+
}, theme.applyStyles('dark', {
|
|
28
|
+
fill: (theme.vars || theme).palette.grey[300],
|
|
29
|
+
stroke: (theme.vars || theme).palette.grey[600]
|
|
30
|
+
})),
|
|
28
31
|
[`&.${_chartAxisZoomSliderThumbClasses.chartAxisZoomSliderThumbClasses.horizontal}`]: {
|
|
29
32
|
cursor: 'ew-resize'
|
|
30
33
|
},
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.ChartAxisZoomSliderTrack = ChartAxisZoomSliderTrack;
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _internals = require("@mui/x-charts/internals");
|
|
14
14
|
var _styles = require("@mui/material/styles");
|
|
@@ -23,8 +23,11 @@ const ZoomSliderTrack = (0, _styles.styled)('rect', {
|
|
|
23
23
|
shouldForwardProp: prop => (0, _system.shouldForwardProp)(prop) && prop !== 'axisDirection' && prop !== 'isSelecting'
|
|
24
24
|
})(({
|
|
25
25
|
theme
|
|
26
|
-
}) => ({
|
|
27
|
-
fill:
|
|
26
|
+
}) => (0, _extends2.default)({
|
|
27
|
+
fill: (theme.vars || theme).palette.grey[300]
|
|
28
|
+
}, theme.applyStyles('dark', {
|
|
29
|
+
fill: (theme.vars || theme).palette.grey[800]
|
|
30
|
+
}), {
|
|
28
31
|
cursor: 'pointer',
|
|
29
32
|
variants: [{
|
|
30
33
|
props: {
|
|
@@ -4,7 +4,7 @@ import { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
|
4
4
|
interface AreaPreviewPlotProps extends PreviewPlotProps {}
|
|
5
5
|
export declare function AreaPreviewPlot({
|
|
6
6
|
axisId
|
|
7
|
-
}: AreaPreviewPlotProps):
|
|
7
|
+
}: AreaPreviewPlotProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export interface PreviewAreaElementProps extends Omit<React.SVGProps<SVGPathElement>, 'ref' | 'color' | 'id'> {
|
|
9
9
|
id: SeriesId;
|
|
10
10
|
gradientId?: string;
|
|
@@ -55,7 +55,7 @@ function PreviewAreaElement(_ref) {
|
|
|
55
55
|
}
|
|
56
56
|
function useAreaPreviewData(axisId) {
|
|
57
57
|
const store = (0, _internals.useStore)();
|
|
58
|
-
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis,
|
|
59
|
-
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis,
|
|
58
|
+
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis, axisId);
|
|
59
|
+
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis, axisId);
|
|
60
60
|
return (0, _internals.useAreaPlotData)(xAxes, yAxes);
|
|
61
61
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
3
2
|
interface BarPreviewPlotProps extends PreviewPlotProps {
|
|
4
3
|
x: number;
|
|
@@ -6,5 +5,5 @@ interface BarPreviewPlotProps extends PreviewPlotProps {
|
|
|
6
5
|
height: number;
|
|
7
6
|
width: number;
|
|
8
7
|
}
|
|
9
|
-
export declare function BarPreviewPlot(props: BarPreviewPlotProps):
|
|
8
|
+
export declare function BarPreviewPlot(props: BarPreviewPlotProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.BarPreviewPlot = BarPreviewPlot;
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
7
|
var _internals = require("@mui/x-charts/internals");
|
|
10
8
|
var _BarChart = require("@mui/x-charts/BarChart");
|
|
11
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -56,7 +54,7 @@ function BarPreviewPlot(props) {
|
|
|
56
54
|
}
|
|
57
55
|
function useBarPreviewData(axisId, drawingArea) {
|
|
58
56
|
const store = (0, _internals.useStore)();
|
|
59
|
-
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis,
|
|
60
|
-
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis,
|
|
57
|
+
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis, axisId);
|
|
58
|
+
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis, axisId);
|
|
61
59
|
return (0, _internals.useBarPlotData)(drawingArea, xAxes, yAxes);
|
|
62
60
|
}
|
|
@@ -4,7 +4,7 @@ import { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
|
4
4
|
interface LinePreviewPlotProps extends PreviewPlotProps {}
|
|
5
5
|
export declare function LinePreviewPlot({
|
|
6
6
|
axisId
|
|
7
|
-
}: LinePreviewPlotProps):
|
|
7
|
+
}: LinePreviewPlotProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export interface PreviewLineElementProps extends Omit<React.SVGProps<SVGPathElement>, 'ref' | 'color' | 'id'> {
|
|
9
9
|
id: SeriesId;
|
|
10
10
|
gradientId?: string;
|
|
@@ -53,7 +53,7 @@ function PreviewLineElement(_ref) {
|
|
|
53
53
|
}
|
|
54
54
|
function useLinePreviewData(axisId) {
|
|
55
55
|
const store = (0, _internals.useStore)();
|
|
56
|
-
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis,
|
|
57
|
-
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis,
|
|
56
|
+
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis, axisId);
|
|
57
|
+
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis, axisId);
|
|
58
58
|
return (0, _internals.useLinePlotData)(xAxes, yAxes);
|
|
59
59
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { PreviewPlotProps } from "./PreviewPlot.types.js";
|
|
3
2
|
interface ScatterPreviewPlotProps extends PreviewPlotProps {
|
|
4
3
|
x: number;
|
|
@@ -12,5 +11,5 @@ export declare function ScatterPreviewPlot({
|
|
|
12
11
|
y,
|
|
13
12
|
height,
|
|
14
13
|
width
|
|
15
|
-
}: ScatterPreviewPlotProps):
|
|
14
|
+
}: ScatterPreviewPlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
16
15
|
export {};
|
|
@@ -19,8 +19,8 @@ function ScatterPreviewPlot({
|
|
|
19
19
|
}) {
|
|
20
20
|
const store = (0, _internals.useStore)();
|
|
21
21
|
const seriesData = (0, _hooks.useScatterSeriesContext)();
|
|
22
|
-
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis,
|
|
23
|
-
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis,
|
|
22
|
+
const xAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedXAxis, axisId);
|
|
23
|
+
const yAxes = (0, _internals.useSelector)(store, _internals.selectorChartPreviewComputedYAxis, axisId);
|
|
24
24
|
const defaultXAxisId = (0, _hooks.useXAxes)().xAxisIds[0];
|
|
25
25
|
const defaultYAxisId = (0, _hooks.useYAxes)().yAxisIds[0];
|
|
26
26
|
const {
|
|
@@ -66,6 +66,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarImageExportTrigger.propType
|
|
|
66
66
|
options: _propTypes.default.shape({
|
|
67
67
|
copyStyles: _propTypes.default.bool,
|
|
68
68
|
fileName: _propTypes.default.string,
|
|
69
|
+
nonce: _propTypes.default.string,
|
|
69
70
|
onBeforeExport: _propTypes.default.func,
|
|
70
71
|
quality: _propTypes.default.number,
|
|
71
72
|
type: _propTypes.default.string.isRequired
|
|
@@ -66,6 +66,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPrintExportTrigger.propType
|
|
|
66
66
|
options: _propTypes.default.shape({
|
|
67
67
|
copyStyles: _propTypes.default.bool,
|
|
68
68
|
fileName: _propTypes.default.string,
|
|
69
|
+
nonce: _propTypes.default.string,
|
|
69
70
|
onBeforeExport: _propTypes.default.func
|
|
70
71
|
}),
|
|
71
72
|
/**
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsToolbarProps } from '@mui/x-charts/Toolbar';
|
|
3
2
|
import { ChartsToolbarPrintExportOptions } from "./ChartsToolbarPrintExportTrigger.js";
|
|
4
3
|
import { ChartsToolbarImageExportOptions } from "./ChartsToolbarImageExportTrigger.js";
|
|
@@ -13,7 +12,7 @@ declare function ChartsToolbarPro({
|
|
|
13
12
|
printOptions,
|
|
14
13
|
imageExportOptions: rawImageExportOptions,
|
|
15
14
|
...other
|
|
16
|
-
}: ChartsToolbarProProps):
|
|
15
|
+
}: ChartsToolbarProProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
16
|
declare namespace ChartsToolbarPro {
|
|
18
17
|
var propTypes: any;
|
|
19
18
|
}
|
|
@@ -160,6 +160,7 @@ process.env.NODE_ENV !== "production" ? ChartsToolbarPro.propTypes = {
|
|
|
160
160
|
imageExportOptions: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
161
161
|
copyStyles: _propTypes.default.bool,
|
|
162
162
|
fileName: _propTypes.default.string,
|
|
163
|
+
nonce: _propTypes.default.string,
|
|
163
164
|
onBeforeExport: _propTypes.default.func,
|
|
164
165
|
quality: _propTypes.default.number,
|
|
165
166
|
type: _propTypes.default.string.isRequired
|
|
@@ -7,7 +7,7 @@ export interface ChartsMenuProps extends Pick<ChartBasePopperProps, 'className'
|
|
|
7
7
|
position?: Placement;
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
declare function ChartsMenu(props: ChartsMenuProps):
|
|
10
|
+
declare function ChartsMenu(props: ChartsMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare namespace ChartsMenu {
|
|
12
12
|
var propTypes: any;
|
|
13
13
|
}
|
|
@@ -26,7 +26,7 @@ var _ChartDataProviderPro = require("../ChartDataProviderPro");
|
|
|
26
26
|
var _FunnelChart2 = require("./FunnelChart.plugins");
|
|
27
27
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
28
|
const seriesConfig = {
|
|
29
|
-
funnel: _seriesConfig.
|
|
29
|
+
funnel: _seriesConfig.funnelSeriesConfig
|
|
30
30
|
};
|
|
31
31
|
const FunnelChart = exports.FunnelChart = /*#__PURE__*/React.forwardRef(function FunnelChart(props, ref) {
|
|
32
32
|
const themedProps = (0, _styles.useThemeProps)({
|
|
@@ -9,7 +9,7 @@ export interface FunnelPlotProps extends FunnelPlotSlotExtension {
|
|
|
9
9
|
*/
|
|
10
10
|
onItemClick?: (event: React.MouseEvent<SVGElement, MouseEvent>, funnelItemIdentifier: FunnelItemIdentifier) => void;
|
|
11
11
|
}
|
|
12
|
-
declare function FunnelPlot(props: FunnelPlotProps):
|
|
12
|
+
declare function FunnelPlot(props: FunnelPlotProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare namespace FunnelPlot {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
@@ -27,7 +27,7 @@ export type FunnelValueType = {
|
|
|
27
27
|
*/
|
|
28
28
|
labelMarkType?: ChartsLabelMarkProps['type'];
|
|
29
29
|
};
|
|
30
|
-
export interface FunnelSeriesType extends Omit<CommonSeriesType<FunnelValueType>, 'color'>, CartesianSeriesType {
|
|
30
|
+
export interface FunnelSeriesType extends Omit<CommonSeriesType<FunnelValueType>, 'color' | 'colorGetter'>, CartesianSeriesType {
|
|
31
31
|
type: 'funnel';
|
|
32
32
|
/**
|
|
33
33
|
* Data associated to the funnel section.
|