@mui/x-charts 7.0.0-beta.3 → 7.0.0-beta.4
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/BarChart/BarChart.js +0 -2
- package/CHANGELOG.md +226 -15
- package/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +1 -1
- package/ChartsTooltip/utils.js +1 -1
- package/ChartsVoronoiHandler/ChartsVoronoiHandler.d.ts +0 -1
- package/ChartsVoronoiHandler/ChartsVoronoiHandler.js +1 -2
- package/ChartsXAxis/ChartsXAxis.js +1 -1
- package/ChartsYAxis/ChartsYAxis.js +1 -1
- package/Gauge/Gauge.js +0 -2
- package/Gauge/GaugeContainer.d.ts +0 -2
- package/Gauge/GaugeContainer.js +0 -2
- package/Gauge/GaugeProvider.js +3 -0
- package/Gauge/GaugeValueText.js +1 -1
- package/LineChart/LineChart.js +0 -2
- package/PieChart/PieChart.js +0 -2
- package/ResponsiveChartContainer/ResponsiveChartContainer.d.ts +0 -2
- package/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
- package/ScatterChart/ScatterChart.js +0 -3
- package/SparkLineChart/SparkLineChart.js +0 -2
- package/context/CartesianContextProvider.d.ts +0 -8
- package/context/CartesianContextProvider.js +4 -89
- package/context/DrawingProvider.d.ts +2 -11
- package/context/DrawingProvider.js +10 -35
- package/context/HighlightProvider.js +3 -0
- package/context/InteractionProvider.js +3 -0
- package/context/SeriesContextProvider.js +3 -0
- package/context/index.d.ts +0 -2
- package/context/index.js +1 -15
- package/esm/BarChart/BarChart.js +0 -2
- package/esm/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
- package/esm/ChartsTooltip/utils.js +2 -2
- package/esm/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
- package/esm/ChartsXAxis/ChartsXAxis.js +1 -1
- package/esm/ChartsYAxis/ChartsYAxis.js +1 -1
- package/esm/Gauge/Gauge.js +0 -2
- package/esm/Gauge/GaugeContainer.js +0 -2
- package/esm/Gauge/GaugeProvider.js +3 -0
- package/esm/Gauge/GaugeValueText.js +1 -1
- package/esm/LineChart/LineChart.js +0 -2
- package/esm/PieChart/PieChart.js +0 -2
- package/esm/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
- package/esm/ScatterChart/ScatterChart.js +0 -3
- package/esm/SparkLineChart/SparkLineChart.js +0 -2
- package/esm/context/CartesianContextProvider.js +3 -88
- package/esm/context/DrawingProvider.js +10 -36
- package/esm/context/HighlightProvider.js +3 -0
- package/esm/context/InteractionProvider.js +3 -0
- package/esm/context/SeriesContextProvider.js +3 -0
- package/esm/context/index.js +1 -2
- package/esm/hooks/useAxisEvents.js +2 -2
- package/hooks/useAxisEvents.js +1 -1
- package/hooks/useTicks.d.ts +1 -1
- package/index.js +1 -1
- package/modern/BarChart/BarChart.js +0 -2
- package/modern/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
- package/modern/ChartsTooltip/utils.js +2 -2
- package/modern/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
- package/modern/ChartsXAxis/ChartsXAxis.js +1 -1
- package/modern/ChartsYAxis/ChartsYAxis.js +1 -1
- package/modern/Gauge/Gauge.js +0 -2
- package/modern/Gauge/GaugeContainer.js +0 -2
- package/modern/Gauge/GaugeProvider.js +3 -0
- package/modern/Gauge/GaugeValueText.js +1 -1
- package/modern/LineChart/LineChart.js +0 -2
- package/modern/PieChart/PieChart.js +0 -2
- package/modern/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
- package/modern/ScatterChart/ScatterChart.js +0 -3
- package/modern/SparkLineChart/SparkLineChart.js +0 -2
- package/modern/context/CartesianContextProvider.js +3 -88
- package/modern/context/DrawingProvider.js +10 -36
- package/modern/context/HighlightProvider.js +3 -0
- package/modern/context/InteractionProvider.js +3 -0
- package/modern/context/SeriesContextProvider.js +3 -0
- package/modern/context/index.js +1 -2
- package/modern/hooks/useAxisEvents.js +2 -2
- package/modern/index.js +1 -1
- package/package.json +1 -1
- package/legacy/BarChart/BarChart.js +0 -440
- package/legacy/BarChart/BarElement.js +0 -119
- package/legacy/BarChart/BarPlot.js +0 -232
- package/legacy/BarChart/extremums.js +0 -45
- package/legacy/BarChart/formatter.js +0 -78
- package/legacy/BarChart/index.js +0 -3
- package/legacy/BarChart/legend.js +0 -15
- package/legacy/ChartContainer/ChartContainer.js +0 -189
- package/legacy/ChartContainer/index.js +0 -1
- package/legacy/ChartsAxis/ChartsAxis.js +0 -215
- package/legacy/ChartsAxis/axisClasses.js +0 -5
- package/legacy/ChartsAxis/index.js +0 -2
- package/legacy/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -105
- package/legacy/ChartsAxisHighlight/index.js +0 -1
- package/legacy/ChartsClipPath/ChartsClipPath.js +0 -48
- package/legacy/ChartsClipPath/index.js +0 -1
- package/legacy/ChartsGrid/ChartsGrid.js +0 -119
- package/legacy/ChartsGrid/chartsGridClasses.js +0 -6
- package/legacy/ChartsGrid/index.js +0 -2
- package/legacy/ChartsLegend/ChartsLegend.js +0 -100
- package/legacy/ChartsLegend/DefaultChartsLegend.js +0 -302
- package/legacy/ChartsLegend/chartsLegendClasses.js +0 -5
- package/legacy/ChartsLegend/index.js +0 -4
- package/legacy/ChartsLegend/utils.js +0 -15
- package/legacy/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +0 -75
- package/legacy/ChartsOnAxisClickHandler/index.js +0 -1
- package/legacy/ChartsReferenceLine/ChartsReferenceLine.js +0 -72
- package/legacy/ChartsReferenceLine/ChartsXReferenceLine.js +0 -105
- package/legacy/ChartsReferenceLine/ChartsYReferenceLine.js +0 -105
- package/legacy/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -6
- package/legacy/ChartsReferenceLine/common.js +0 -19
- package/legacy/ChartsReferenceLine/index.js +0 -2
- package/legacy/ChartsSurface.js +0 -78
- package/legacy/ChartsText/ChartsText.js +0 -95
- package/legacy/ChartsText/index.js +0 -1
- package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +0 -96
- package/legacy/ChartsTooltip/ChartsItemTooltipContent.js +0 -53
- package/legacy/ChartsTooltip/ChartsTooltip.js +0 -148
- package/legacy/ChartsTooltip/ChartsTooltipTable.js +0 -80
- package/legacy/ChartsTooltip/DefaultChartsAxisTooltipContent.js +0 -118
- package/legacy/ChartsTooltip/DefaultChartsItemTooltipContent.js +0 -78
- package/legacy/ChartsTooltip/chartsTooltipClasses.js +0 -5
- package/legacy/ChartsTooltip/index.js +0 -6
- package/legacy/ChartsTooltip/utils.js +0 -103
- package/legacy/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -206
- package/legacy/ChartsVoronoiHandler/index.js +0 -1
- package/legacy/ChartsXAxis/ChartsXAxis.js +0 -339
- package/legacy/ChartsXAxis/index.js +0 -1
- package/legacy/ChartsYAxis/ChartsYAxis.js +0 -267
- package/legacy/ChartsYAxis/index.js +0 -1
- package/legacy/Gauge/Gauge.js +0 -146
- package/legacy/Gauge/GaugeContainer.js +0 -215
- package/legacy/Gauge/GaugeProvider.js +0 -87
- package/legacy/Gauge/GaugeReferenceArc.js +0 -37
- package/legacy/Gauge/GaugeValueArc.js +0 -44
- package/legacy/Gauge/GaugeValueText.js +0 -66
- package/legacy/Gauge/gaugeClasses.js +0 -7
- package/legacy/Gauge/index.js +0 -7
- package/legacy/Gauge/utils.js +0 -84
- package/legacy/LineChart/AnimatedArea.js +0 -102
- package/legacy/LineChart/AnimatedLine.js +0 -104
- package/legacy/LineChart/AreaElement.js +0 -112
- package/legacy/LineChart/AreaPlot.js +0 -149
- package/legacy/LineChart/LineChart.js +0 -452
- package/legacy/LineChart/LineElement.js +0 -112
- package/legacy/LineChart/LineHighlightElement.js +0 -79
- package/legacy/LineChart/LineHighlightPlot.js +0 -97
- package/legacy/LineChart/LinePlot.js +0 -144
- package/legacy/LineChart/MarkElement.js +0 -153
- package/legacy/LineChart/MarkPlot.js +0 -178
- package/legacy/LineChart/extremums.js +0 -54
- package/legacy/LineChart/formatter.js +0 -82
- package/legacy/LineChart/index.js +0 -11
- package/legacy/LineChart/legend.js +0 -15
- package/legacy/PieChart/PieArc.js +0 -103
- package/legacy/PieChart/PieArcLabel.js +0 -112
- package/legacy/PieChart/PieArcLabelPlot.js +0 -193
- package/legacy/PieChart/PieArcPlot.js +0 -180
- package/legacy/PieChart/PieChart.js +0 -404
- package/legacy/PieChart/PiePlot.js +0 -137
- package/legacy/PieChart/dataTransform/transition.js +0 -149
- package/legacy/PieChart/dataTransform/useTransformData.js +0 -63
- package/legacy/PieChart/formatter.js +0 -55
- package/legacy/PieChart/index.js +0 -6
- package/legacy/PieChart/legend.js +0 -16
- package/legacy/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -185
- package/legacy/ResponsiveChartContainer/index.js +0 -1
- package/legacy/ResponsiveChartContainer/useChartContainerDimensions.js +0 -73
- package/legacy/ScatterChart/Scatter.js +0 -110
- package/legacy/ScatterChart/ScatterChart.js +0 -395
- package/legacy/ScatterChart/ScatterPlot.js +0 -80
- package/legacy/ScatterChart/extremums.js +0 -39
- package/legacy/ScatterChart/formatter.js +0 -12
- package/legacy/ScatterChart/index.js +0 -3
- package/legacy/ScatterChart/legend.js +0 -15
- package/legacy/SparkLineChart/SparkLineChart.js +0 -266
- package/legacy/SparkLineChart/index.js +0 -1
- package/legacy/colorPalettes/colorPalettes.js +0 -15
- package/legacy/colorPalettes/index.js +0 -1
- package/legacy/constants.js +0 -8
- package/legacy/context/CartesianContextProvider.js +0 -327
- package/legacy/context/DrawingProvider.js +0 -74
- package/legacy/context/HighlightProvider.js +0 -56
- package/legacy/context/InteractionProvider.js +0 -81
- package/legacy/context/SeriesContextProvider.js +0 -74
- package/legacy/context/index.js +0 -2
- package/legacy/hooks/index.js +0 -2
- package/legacy/hooks/useAxisEvents.js +0 -120
- package/legacy/hooks/useChartDimensions.js +0 -18
- package/legacy/hooks/useDrawingArea.js +0 -21
- package/legacy/hooks/useInteractionItemProps.js +0 -71
- package/legacy/hooks/useMounted.js +0 -21
- package/legacy/hooks/useReducedMotion.js +0 -27
- package/legacy/hooks/useScale.js +0 -33
- package/legacy/hooks/useTicks.js +0 -65
- package/legacy/index.js +0 -33
- package/legacy/internals/components/AxisSharedComponents.js +0 -25
- package/legacy/internals/defaultizeColor.js +0 -17
- package/legacy/internals/defaultizeValueFormatter.js +0 -12
- package/legacy/internals/domUtils.js +0 -121
- package/legacy/internals/geometry.js +0 -37
- package/legacy/internals/getCurve.js +0 -39
- package/legacy/internals/getScale.js +0 -17
- package/legacy/internals/getWordsByLines.js +0 -15
- package/legacy/internals/isBandScale.js +0 -3
- package/legacy/internals/stackSeries.js +0 -92
- package/legacy/internals/useAnimatedPath.js +0 -32
- package/legacy/internals/utils.js +0 -52
- package/legacy/models/axis.js +0 -6
- package/legacy/models/helpers.js +0 -1
- package/legacy/models/index.js +0 -4
- package/legacy/models/layout.js +0 -1
- package/legacy/models/seriesType/bar.js +0 -1
- package/legacy/models/seriesType/common.js +0 -1
- package/legacy/models/seriesType/config.js +0 -1
- package/legacy/models/seriesType/index.js +0 -5
- package/legacy/models/seriesType/line.js +0 -1
- package/legacy/models/seriesType/pie.js +0 -1
- package/legacy/models/seriesType/scatter.js +0 -1
- package/legacy/models/stacking.js +0 -1
- package/legacy/themeAugmentation/index.js +0 -3
package/BarChart/BarChart.js
CHANGED
|
@@ -194,7 +194,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
194
194
|
}),
|
|
195
195
|
/**
|
|
196
196
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
197
|
-
* @default undefined
|
|
198
197
|
*/
|
|
199
198
|
height: _propTypes.default.number,
|
|
200
199
|
/**
|
|
@@ -363,7 +362,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
|
|
|
363
362
|
}),
|
|
364
363
|
/**
|
|
365
364
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
366
|
-
* @default undefined
|
|
367
365
|
*/
|
|
368
366
|
width: _propTypes.default.number,
|
|
369
367
|
/**
|
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,157 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## 7.0.0-beta.4
|
|
7
|
+
|
|
8
|
+
_Feb 23, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Introduce a new DOM structure for the field components that provides a better accessibility
|
|
13
|
+
- 🚀 Simplify Data Grid DOM structure for improved performance (#12013) @romgrk
|
|
14
|
+
- 🕥 The support for IE11 has been removed (#12151) @flaviendelangle
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
|
|
18
|
+
### Breaking changes
|
|
19
|
+
|
|
20
|
+
- The support for IE11 has been removed from all MUI X packages. The `legacy` bundle that used to support old browsers like IE11 is no longer included.
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### Breaking changes
|
|
25
|
+
|
|
26
|
+
- The cell inner wrapper `.MuiDataGrid-cellContent` has been removed, use `.MuiDataGrid-cell` to style the cells.
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid@7.0.0-beta.4`
|
|
29
|
+
|
|
30
|
+
- [DataGrid] Simplify cell DOM structure (#12013) @romgrk
|
|
31
|
+
- [DataGrid] Fix values labels in `is any of` filter operator (#11939) @gitstart
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@7.0.0-beta.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@7.0.0-beta.4`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@7.0.0-beta.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
40
|
+
|
|
41
|
+
### Date Pickers
|
|
42
|
+
|
|
43
|
+
#### Breaking changes
|
|
44
|
+
|
|
45
|
+
- The `selectedSections` prop no longer accepts start and end indexes.
|
|
46
|
+
When selecting several — but not all — sections, the field components were not behaving correctly, you can now only select one or all sections:
|
|
47
|
+
|
|
48
|
+
```diff
|
|
49
|
+
<DateField
|
|
50
|
+
- selectedSections={{ startIndex: 0, endIndex: 0 }}
|
|
51
|
+
+ selectedSections={0}
|
|
52
|
+
|
|
53
|
+
// If the field has 3 sections
|
|
54
|
+
- selectedSections={{ startIndex: 0, endIndex: 2 }}
|
|
55
|
+
+ selectedSections="all"
|
|
56
|
+
/>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
60
|
+
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. Learn more about this new [accessible DOM structure](/x/react-date-pickers/fields/#accessible-dom-structure).
|
|
61
|
+
|
|
62
|
+
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
|
|
63
|
+
|
|
64
|
+
```diff
|
|
65
|
+
function MyCustomTextField(props) {
|
|
66
|
+
const {
|
|
67
|
+
+ // Should be ignored
|
|
68
|
+
+ enableAccessibleFieldDOMStructure,
|
|
69
|
+
// ... rest of the props you are using
|
|
70
|
+
} = props;
|
|
71
|
+
|
|
72
|
+
return ( /* Some UI to edit the date */ )
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function MyCustomField(props) {
|
|
76
|
+
const fieldResponse = useDateField<Dayjs, false, typeof textFieldProps>({
|
|
77
|
+
...props,
|
|
78
|
+
+ // If you only support one DOM structure, we advise you to hardcode it here to avoid unwanted switches in your application
|
|
79
|
+
+ enableAccessibleFieldDOMStructure: false,
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
return <MyCustomTextField ref={ref} {...fieldResponse} />;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function App() {
|
|
86
|
+
return <DatePicker slots={{ field: MyCustomField }} />;
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
- The following internal types were exported by mistake and have been removed from the public API:
|
|
91
|
+
|
|
92
|
+
- `UseDateFieldDefaultizedProps`
|
|
93
|
+
- `UseTimeFieldDefaultizedProps`
|
|
94
|
+
- `UseDateTimeFieldDefaultizedProps`
|
|
95
|
+
- `UseSingleInputDateRangeFieldComponentProps`
|
|
96
|
+
- `UseSingleInputTimeRangeFieldComponentProps`
|
|
97
|
+
- `UseSingleInputDateTimeRangeFieldComponentProps`
|
|
98
|
+
|
|
99
|
+
#### `@mui/x-date-pickers@7.0.0-beta.4`
|
|
100
|
+
|
|
101
|
+
- [fields] Add a11y support to multi-HTML field (#12173) @LukasTy
|
|
102
|
+
- [fields] Use the `PickersTextField` component in the fields (#10649) @flaviendelangle
|
|
103
|
+
- [pickers] Fix styling props propagation to `DateTimePickerTabs` (#12096) @LukasTy
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-date-pickers-pro@7.0.0-beta.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
106
|
+
|
|
107
|
+
Same changes as in `@mui/x-date-pickers@7.0.0-beta.4`.
|
|
108
|
+
|
|
109
|
+
### Charts / `@mui/x-charts@7.0.0-beta.4`
|
|
110
|
+
|
|
111
|
+
#### Breaking changes
|
|
112
|
+
|
|
113
|
+
These components are no longer exported from `@mui/x-charts`:
|
|
114
|
+
|
|
115
|
+
- `CartesianContextProvider`
|
|
116
|
+
- `DrawingProvider`
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-charts@7.0.0-beta.4`
|
|
119
|
+
|
|
120
|
+
- [charts] Don't display text if no value is provided (#12127) @alexfauquette
|
|
121
|
+
- [charts] Remove export of context providers (#12123) @oliviertassinari
|
|
122
|
+
|
|
123
|
+
### Tree View / `@mui/x-tree-view@7.0.0-beta.4`
|
|
124
|
+
|
|
125
|
+
- [TreeView] Stop using custom `findIndex` to support IE11 (#12129) @flaviendelangle
|
|
126
|
+
|
|
127
|
+
### Docs
|
|
128
|
+
|
|
129
|
+
- [docs] Add recipe for hiding separator on non-resizable columns (#12134) @michelengelen
|
|
130
|
+
- [docs] Add small improvements to the Gauge Chart page (#12076) @danilo-leal
|
|
131
|
+
- [docs] Add the 'point' scaleType to the axis documentation (#12179) @alexfauquette
|
|
132
|
+
- [docs] Clarify Pickers 'Component composition' section (#12097) @LukasTy
|
|
133
|
+
- [docs] Fix "Licensing" page link (#12156) @LukasTy
|
|
134
|
+
- [docs] Fix the Treemap illustration (#12185) @danilo-leal
|
|
135
|
+
- [docs] Fix error raised by Grammarly on the page @oliviertassinari
|
|
136
|
+
- [docs] Improve performance on Charts entry point @oliviertassinari
|
|
137
|
+
- [docs] Link to React Transition Group with https @oliviertassinari
|
|
138
|
+
- [docs] Move Heatmap to `pro` plan (#12047) @alexfauquette
|
|
139
|
+
- [docs] Reduce number of Vale errors @oliviertassinari
|
|
140
|
+
- [docs] Remove default value set to `undefined` (#12128) @alexfauquette
|
|
141
|
+
|
|
142
|
+
### Core
|
|
143
|
+
|
|
144
|
+
- [core] Fix docs link check (#12135) @LukasTy
|
|
145
|
+
- [core] Fix missing context display names (#12124) @oliviertassinari
|
|
146
|
+
- [core] Fix shortcuts when Caps Lock enabled (#12121) @oliviertassinari
|
|
147
|
+
- [core] Remove IE 11 compat logic (#12119) @oliviertassinari
|
|
148
|
+
- [core] Simplify key utils (#12120) @oliviertassinari
|
|
149
|
+
- [core] Use the @mui/internal-scripts package (#12142) @michaldudak
|
|
150
|
+
- [all components] Remove legacy IE 11 bundle (#12151) @flaviendelangle
|
|
151
|
+
- [code-infra] Bump monorepo (#11880) @Janpot
|
|
152
|
+
- [code-infra] Use `experimental.cpus` to control amount of export workers in Next.js (#12095) @Janpot
|
|
153
|
+
- [docs-infra] Remove randomized API page layout (#11876) @alexfauquette
|
|
154
|
+
- [test] Create local wrapper over `describeConformance` (#12130) @michaldudak
|
|
155
|
+
|
|
156
|
+
## 7.0.0-beta.3
|
|
7
157
|
|
|
8
158
|
_Feb 16, 2024_
|
|
9
159
|
|
|
@@ -67,7 +217,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.3`.
|
|
|
67
217
|
- [core] Sort prop asc (#12033) @oliviertassinari
|
|
68
218
|
- [core] Bump monorepo (#12055) @alexfauquette
|
|
69
219
|
|
|
70
|
-
##
|
|
220
|
+
## 7.0.0-beta.2
|
|
71
221
|
|
|
72
222
|
_Feb 9, 2024_
|
|
73
223
|
|
|
@@ -336,7 +486,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-beta.1`.
|
|
|
336
486
|
|
|
337
487
|
_Jan 26, 2024_
|
|
338
488
|
|
|
339
|
-
We are glad to announce MUI
|
|
489
|
+
We are glad to announce MUI X v7 beta!
|
|
340
490
|
This version has several improvements, bug fixes, and exciting features 🎉.
|
|
341
491
|
We want to offer a big thanks to the 7 contributors who made this release possible ✨:
|
|
342
492
|
|
|
@@ -1353,7 +1503,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
|
|
|
1353
1503
|
|
|
1354
1504
|
- The clipboard related exports `ignoreValueFormatterDuringExport` and `splitClipboardPastedText` are no longer prefixed with `unstable_`.
|
|
1355
1505
|
|
|
1356
|
-
- The deprecated constants `SUBMIT_FILTER_STROKE_TIME` and `SUBMIT_FILTER_DATE_STROKE_TIME` have been removed from the `DataGrid` exports. Use the [`filterDebounceMs`](https://next.mui.com/x/api/data-grid/data-grid/#
|
|
1506
|
+
- The deprecated constants `SUBMIT_FILTER_STROKE_TIME` and `SUBMIT_FILTER_DATE_STROKE_TIME` have been removed from the `DataGrid` exports. Use the [`filterDebounceMs`](https://next.mui.com/x/api/data-grid/data-grid/#data-grid-prop-filterDebounceMs) prop to customize filter debounce time.
|
|
1357
1507
|
|
|
1358
1508
|
- The `slots.preferencesPanel` slot and the `slotProps.preferencesPanel` prop were removed. Use `slots.panel` and `slotProps.panel` instead.
|
|
1359
1509
|
|
|
@@ -2202,7 +2352,68 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
|
|
|
2202
2352
|
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
|
|
2203
2353
|
- [license] Correctly throw errors (#10924) @oliviertassinari
|
|
2204
2354
|
|
|
2205
|
-
##
|
|
2355
|
+
## 6.19.5
|
|
2356
|
+
|
|
2357
|
+
_Feb 23, 2024_
|
|
2358
|
+
|
|
2359
|
+
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
2360
|
+
|
|
2361
|
+
- 🐞 Bugfixes
|
|
2362
|
+
- 📚 Documentation improvements
|
|
2363
|
+
|
|
2364
|
+
### Data Grid
|
|
2365
|
+
|
|
2366
|
+
#### `@mui/x-data-grid@6.19.5`
|
|
2367
|
+
|
|
2368
|
+
- [DataGrid] Fix styling grid filter input single select (#12079) @FreakDroid
|
|
2369
|
+
|
|
2370
|
+
#### `@mui/x-data-grid-pro@6.19.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
2371
|
+
|
|
2372
|
+
Same changes as in `@mui/x-data-grid@6.19.5`.
|
|
2373
|
+
|
|
2374
|
+
#### `@mui/x-data-grid-premium@6.19.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
2375
|
+
|
|
2376
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.5`.
|
|
2377
|
+
|
|
2378
|
+
### Date Pickers
|
|
2379
|
+
|
|
2380
|
+
#### `@mui/x-date-pickers@6.19.5`
|
|
2381
|
+
|
|
2382
|
+
- [pickers] Fix `referenceDate` day calendar focus (#12136) @LukasTy
|
|
2383
|
+
- [pickers] Fix styling props propagation to `DateTimePickerTabs` (#12131) @LukasTy
|
|
2384
|
+
|
|
2385
|
+
#### `@mui/x-date-pickers-pro@6.19.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
2386
|
+
|
|
2387
|
+
Same changes as in `@mui/x-date-pickers@6.19.5`.
|
|
2388
|
+
|
|
2389
|
+
### Charts / `@mui/x-charts@6.19.5`
|
|
2390
|
+
|
|
2391
|
+
- [charts] Allow to skip animation on sparkline bar (#12160) @alexfauquette
|
|
2392
|
+
|
|
2393
|
+
### Docs
|
|
2394
|
+
|
|
2395
|
+
- [docs] Clarify Pickers 'Component composition' section (#12147) @LukasTy
|
|
2396
|
+
- [docs] Fix 301 redirection to StackBlitz @oliviertassinari
|
|
2397
|
+
- [docs] Fix 301 to Material UI @oliviertassinari
|
|
2398
|
+
- [docs] Fix 301 to Material UI @oliviertassinari
|
|
2399
|
+
- [docs] Fix 404 links to translation source @oliviertassinari
|
|
2400
|
+
- [docs] Fix dead link to translations @oliviertassinari
|
|
2401
|
+
- [docs] Fix the Treemap illustration (#12189) @danilo-leal
|
|
2402
|
+
- [docs] Fix typo for `AdapterDateFnsV3` (#12037) @flaviendelangle
|
|
2403
|
+
- [docs] Improve performance on Charts entry point @oliviertassinari
|
|
2404
|
+
- [docs] Move Heatmap to pro (#12170) @alexfauquette
|
|
2405
|
+
- [docs] Remove Charts installation next tag call-out (#12133) @LukasTy
|
|
2406
|
+
- [docs] Removed `focused` prop from demo (#12126) @michelengelen
|
|
2407
|
+
- [docs] Add missing Heatmap pro icon @oliviertassinari
|
|
2408
|
+
- [docs] Add more illustrations to the Overview page (#12041) @danilo-leal
|
|
2409
|
+
- [docs] Avoid use of shorthand (#12009) @oliviertassinari
|
|
2410
|
+
|
|
2411
|
+
### Core
|
|
2412
|
+
|
|
2413
|
+
- [core] Fix CI @oliviertassinari
|
|
2414
|
+
- [core] Fix docs link check (#12137) @LukasTy
|
|
2415
|
+
|
|
2416
|
+
## 6.19.4
|
|
2206
2417
|
|
|
2207
2418
|
_Feb 9, 2024_
|
|
2208
2419
|
|
|
@@ -2214,7 +2425,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
2214
2425
|
|
|
2215
2426
|
### Data Grid
|
|
2216
2427
|
|
|
2217
|
-
#### `@mui/x-data-grid@
|
|
2428
|
+
#### `@mui/x-data-grid@6.19.4`
|
|
2218
2429
|
|
|
2219
2430
|
- [DataGrid] Add support for dialogs in menu actions (#11937) @cherniavskii
|
|
2220
2431
|
- [DataGrid] Allow passing readonly arrays to `pageSizeOptions` prop (#11992) @pcorpet
|
|
@@ -2222,28 +2433,28 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
2222
2433
|
- [DataGrid] Replace `eval` with `new Function` (#11962) @cherniavskii
|
|
2223
2434
|
- [l10n] Improve Danish (da-DK) locale (#11972) @ShahrazH
|
|
2224
2435
|
|
|
2225
|
-
#### `@mui/x-data-grid-pro@
|
|
2436
|
+
#### `@mui/x-data-grid-pro@6.19.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
2226
2437
|
|
|
2227
|
-
Same changes as in `@mui/x-data-grid@
|
|
2438
|
+
Same changes as in `@mui/x-data-grid@6.19.4`.
|
|
2228
2439
|
|
|
2229
|
-
#### `@mui/x-data-grid-premium@
|
|
2440
|
+
#### `@mui/x-data-grid-premium@6.19.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
2230
2441
|
|
|
2231
|
-
Same changes as in `@mui/x-data-grid-pro@
|
|
2442
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.4`, plus:
|
|
2232
2443
|
|
|
2233
2444
|
- [DataGridPremium] Fix autosize grouping cell (#11990) @romgrk
|
|
2234
2445
|
- [DataGridPremium] Fix error after closing print export (#11889) @cherniavskii
|
|
2235
2446
|
|
|
2236
2447
|
### Date Pickers
|
|
2237
2448
|
|
|
2238
|
-
#### `@mui/x-date-pickers@
|
|
2449
|
+
#### `@mui/x-date-pickers@6.19.4`
|
|
2239
2450
|
|
|
2240
2451
|
- [pickers] Avoid relying on locale in Luxon `isWithinRange` method (#11940) @LukasTy
|
|
2241
2452
|
|
|
2242
|
-
#### `@mui/x-date-pickers-pro@
|
|
2453
|
+
#### `@mui/x-date-pickers-pro@6.19.4` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
2243
2454
|
|
|
2244
|
-
Same changes as in `@mui/x-date-pickers@
|
|
2455
|
+
Same changes as in `@mui/x-date-pickers@6.19.4`.
|
|
2245
2456
|
|
|
2246
|
-
### Charts / `@mui/x-charts@
|
|
2457
|
+
### Charts / `@mui/x-charts@6.19.4`
|
|
2247
2458
|
|
|
2248
2459
|
- [charts] Add `reverse` property to axes (#11959) @alexfauquette
|
|
2249
2460
|
- [charts] Allow series ids to be numbers (#11960) @alexfauquette
|
|
@@ -2304,7 +2515,7 @@ Same changes as in `@mui/x-date-pickers@6.19.3`.
|
|
|
2304
2515
|
- [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
|
|
2305
2516
|
- [docs] Improve Support page (#11556) @oliviertassinari
|
|
2306
2517
|
- [docs] Sync support page with core @oliviertassinari
|
|
2307
|
-
- [docs] These API don't exist in MUI
|
|
2518
|
+
- [docs] These API don't exist in MUI X v6 @oliviertassinari
|
|
2308
2519
|
- [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
|
|
2309
2520
|
|
|
2310
2521
|
## 6.19.2
|
|
@@ -18,7 +18,7 @@ function ChartsOnAxisClickHandler(props) {
|
|
|
18
18
|
const {
|
|
19
19
|
onAxisClick
|
|
20
20
|
} = props;
|
|
21
|
-
const svgRef = React.useContext(_DrawingProvider.
|
|
21
|
+
const svgRef = React.useContext(_DrawingProvider.SvgContext);
|
|
22
22
|
const series = React.useContext(_SeriesContextProvider.SeriesContext);
|
|
23
23
|
const {
|
|
24
24
|
axis
|
package/ChartsTooltip/utils.js
CHANGED
|
@@ -57,7 +57,7 @@ function generateVirtualElement(mousePosition) {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function useMouseTracker() {
|
|
60
|
-
const svgRef = React.useContext(_DrawingProvider.
|
|
60
|
+
const svgRef = React.useContext(_DrawingProvider.SvgContext);
|
|
61
61
|
|
|
62
62
|
// Use a ref to avoid rerendering on every mousemove event.
|
|
63
63
|
const [mousePosition, setMousePosition] = React.useState(null);
|
|
@@ -4,7 +4,6 @@ export type ChartsVoronoiHandlerProps = {
|
|
|
4
4
|
/**
|
|
5
5
|
* Defines the maximal distance between a scatter point and the pointer that triggers the interaction.
|
|
6
6
|
* If `undefined`, the radius is assumed to be infinite.
|
|
7
|
-
* @default undefined
|
|
8
7
|
*/
|
|
9
8
|
voronoiMaxRadius?: number | undefined;
|
|
10
9
|
/**
|
|
@@ -23,7 +23,7 @@ function ChartsVoronoiHandler(props) {
|
|
|
23
23
|
voronoiMaxRadius,
|
|
24
24
|
onItemClick
|
|
25
25
|
} = props;
|
|
26
|
-
const svgRef = React.useContext(_DrawingProvider.
|
|
26
|
+
const svgRef = React.useContext(_DrawingProvider.SvgContext);
|
|
27
27
|
const {
|
|
28
28
|
width,
|
|
29
29
|
height,
|
|
@@ -216,7 +216,6 @@ process.env.NODE_ENV !== "production" ? ChartsVoronoiHandler.propTypes = {
|
|
|
216
216
|
/**
|
|
217
217
|
* Defines the maximal distance between a scatter point and the pointer that triggers the interaction.
|
|
218
218
|
* If `undefined`, the radius is assumed to be infinite.
|
|
219
|
-
* @default undefined
|
|
220
219
|
*/
|
|
221
220
|
voronoiMaxRadius: _propTypes.default.number
|
|
222
221
|
} : void 0;
|
|
@@ -338,7 +338,7 @@ process.env.NODE_ENV !== "production" ? ChartsXAxis.propTypes = {
|
|
|
338
338
|
*/
|
|
339
339
|
tickMaxStep: _propTypes.default.number,
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* Minimal step between two ticks.
|
|
342
342
|
* When using time data, the value is assumed to be in ms.
|
|
343
343
|
* Not supported by categorical axis (band, points).
|
|
344
344
|
*/
|
|
@@ -268,7 +268,7 @@ process.env.NODE_ENV !== "production" ? ChartsYAxis.propTypes = {
|
|
|
268
268
|
*/
|
|
269
269
|
tickMaxStep: _propTypes.default.number,
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* Minimal step between two ticks.
|
|
272
272
|
* When using time data, the value is assumed to be in ms.
|
|
273
273
|
* Not supported by categorical axis (band, points).
|
|
274
274
|
*/
|
package/Gauge/Gauge.js
CHANGED
|
@@ -90,7 +90,6 @@ process.env.NODE_ENV !== "production" ? Gauge.propTypes = {
|
|
|
90
90
|
endAngle: _propTypes.default.number,
|
|
91
91
|
/**
|
|
92
92
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
93
|
-
* @default undefined
|
|
94
93
|
*/
|
|
95
94
|
height: _propTypes.default.number,
|
|
96
95
|
/**
|
|
@@ -150,7 +149,6 @@ process.env.NODE_ENV !== "production" ? Gauge.propTypes = {
|
|
|
150
149
|
}),
|
|
151
150
|
/**
|
|
152
151
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
153
|
-
* @default undefined
|
|
154
152
|
*/
|
|
155
153
|
width: _propTypes.default.number
|
|
156
154
|
} : void 0;
|
|
@@ -5,12 +5,10 @@ import { GaugeProviderProps } from './GaugeProvider';
|
|
|
5
5
|
export interface GaugeContainerProps extends Omit<ChartsSurfaceProps, 'width' | 'height' | 'children'>, Omit<DrawingProviderProps, 'svgRef' | 'width' | 'height' | 'children'>, Omit<GaugeProviderProps, 'children'> {
|
|
6
6
|
/**
|
|
7
7
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
8
|
-
* @default undefined
|
|
9
8
|
*/
|
|
10
9
|
width?: number;
|
|
11
10
|
/**
|
|
12
11
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
13
|
-
* @default undefined
|
|
14
12
|
*/
|
|
15
13
|
height?: number;
|
|
16
14
|
children?: React.ReactNode;
|
package/Gauge/GaugeContainer.js
CHANGED
|
@@ -151,7 +151,6 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
151
151
|
endAngle: _propTypes.default.number,
|
|
152
152
|
/**
|
|
153
153
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
154
|
-
* @default undefined
|
|
155
154
|
*/
|
|
156
155
|
height: _propTypes.default.number,
|
|
157
156
|
/**
|
|
@@ -210,7 +209,6 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
210
209
|
}),
|
|
211
210
|
/**
|
|
212
211
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
213
|
-
* @default undefined
|
|
214
212
|
*/
|
|
215
213
|
width: _propTypes.default.number
|
|
216
214
|
} : void 0;
|
package/Gauge/GaugeProvider.js
CHANGED
|
@@ -29,6 +29,9 @@ const GaugeContext = exports.GaugeContext = /*#__PURE__*/React.createContext({
|
|
|
29
29
|
maxRadius: 0,
|
|
30
30
|
valueAngle: null
|
|
31
31
|
});
|
|
32
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
33
|
+
GaugeContext.displayName = 'GaugeContext';
|
|
34
|
+
}
|
|
32
35
|
function GaugeProvider(props) {
|
|
33
36
|
const {
|
|
34
37
|
value = null,
|
package/Gauge/GaugeValueText.js
CHANGED
|
@@ -18,7 +18,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
18
18
|
function defaultFormatter({
|
|
19
19
|
value
|
|
20
20
|
}) {
|
|
21
|
-
return value === null ?
|
|
21
|
+
return value === null ? null : value.toLocaleString();
|
|
22
22
|
}
|
|
23
23
|
function GaugeValueText(props) {
|
|
24
24
|
const {
|
package/LineChart/LineChart.js
CHANGED
|
@@ -205,7 +205,6 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
205
205
|
}),
|
|
206
206
|
/**
|
|
207
207
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
208
|
-
* @default undefined
|
|
209
208
|
*/
|
|
210
209
|
height: _propTypes.default.number,
|
|
211
210
|
/**
|
|
@@ -376,7 +375,6 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
|
|
|
376
375
|
}),
|
|
377
376
|
/**
|
|
378
377
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
379
|
-
* @default undefined
|
|
380
378
|
*/
|
|
381
379
|
width: _propTypes.default.number,
|
|
382
380
|
/**
|
package/PieChart/PieChart.js
CHANGED
|
@@ -165,7 +165,6 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
165
165
|
disableAxisListener: _propTypes.default.bool,
|
|
166
166
|
/**
|
|
167
167
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
168
|
-
* @default undefined
|
|
169
168
|
*/
|
|
170
169
|
height: _propTypes.default.number,
|
|
171
170
|
/**
|
|
@@ -323,7 +322,6 @@ process.env.NODE_ENV !== "production" ? PieChart.propTypes = {
|
|
|
323
322
|
}),
|
|
324
323
|
/**
|
|
325
324
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
326
|
-
* @default undefined
|
|
327
325
|
*/
|
|
328
326
|
width: _propTypes.default.number,
|
|
329
327
|
/**
|
|
@@ -3,12 +3,10 @@ import { ChartContainerProps } from '../ChartContainer';
|
|
|
3
3
|
export interface ResponsiveChartContainerProps extends Omit<ChartContainerProps, 'width' | 'height'> {
|
|
4
4
|
/**
|
|
5
5
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
6
|
-
* @default undefined
|
|
7
6
|
*/
|
|
8
7
|
width?: number;
|
|
9
8
|
/**
|
|
10
9
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
11
|
-
* @default undefined
|
|
12
10
|
*/
|
|
13
11
|
height?: number;
|
|
14
12
|
}
|
|
@@ -81,7 +81,6 @@ process.env.NODE_ENV !== "production" ? ResponsiveChartContainer.propTypes = {
|
|
|
81
81
|
disableAxisListener: _propTypes.default.bool,
|
|
82
82
|
/**
|
|
83
83
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
84
|
-
* @default undefined
|
|
85
84
|
*/
|
|
86
85
|
height: _propTypes.default.number,
|
|
87
86
|
/**
|
|
@@ -112,7 +111,6 @@ process.env.NODE_ENV !== "production" ? ResponsiveChartContainer.propTypes = {
|
|
|
112
111
|
}),
|
|
113
112
|
/**
|
|
114
113
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
115
|
-
* @default undefined
|
|
116
114
|
*/
|
|
117
115
|
width: _propTypes.default.number,
|
|
118
116
|
/**
|
|
@@ -167,7 +167,6 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
|
167
167
|
}),
|
|
168
168
|
/**
|
|
169
169
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
170
|
-
* @default undefined
|
|
171
170
|
*/
|
|
172
171
|
height: _propTypes.default.number,
|
|
173
172
|
/**
|
|
@@ -321,12 +320,10 @@ process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
|
321
320
|
/**
|
|
322
321
|
* Defines the maximal distance between a scatter point and the pointer that triggers the interaction.
|
|
323
322
|
* If `undefined`, the radius is assumed to be infinite.
|
|
324
|
-
* @default undefined
|
|
325
323
|
*/
|
|
326
324
|
voronoiMaxRadius: _propTypes.default.number,
|
|
327
325
|
/**
|
|
328
326
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
329
|
-
* @default undefined
|
|
330
327
|
*/
|
|
331
328
|
width: _propTypes.default.number,
|
|
332
329
|
/**
|
|
@@ -154,7 +154,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
154
154
|
disableAxisListener: _propTypes.default.bool,
|
|
155
155
|
/**
|
|
156
156
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
157
|
-
* @default undefined
|
|
158
157
|
*/
|
|
159
158
|
height: _propTypes.default.number,
|
|
160
159
|
/**
|
|
@@ -226,7 +225,6 @@ process.env.NODE_ENV !== "production" ? SparkLineChart.propTypes = {
|
|
|
226
225
|
}),
|
|
227
226
|
/**
|
|
228
227
|
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
229
|
-
* @default undefined
|
|
230
228
|
*/
|
|
231
229
|
width: _propTypes.default.number,
|
|
232
230
|
/**
|
|
@@ -45,13 +45,5 @@ export declare const CartesianContext: React.Context<{
|
|
|
45
45
|
*/
|
|
46
46
|
yAxisIds: string[];
|
|
47
47
|
}>;
|
|
48
|
-
/**
|
|
49
|
-
* API:
|
|
50
|
-
*
|
|
51
|
-
* - [CartesianContextProvider API](https://mui.com/x/api/charts/cartesian-context-provider/)
|
|
52
|
-
*/
|
|
53
48
|
declare function CartesianContextProvider(props: CartesianContextProviderProps): React.JSX.Element;
|
|
54
|
-
declare namespace CartesianContextProvider {
|
|
55
|
-
var propTypes: any;
|
|
56
|
-
}
|
|
57
49
|
export { CartesianContextProvider };
|