@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.
Files changed (218) hide show
  1. package/BarChart/BarChart.js +0 -2
  2. package/CHANGELOG.md +226 -15
  3. package/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +1 -1
  4. package/ChartsTooltip/utils.js +1 -1
  5. package/ChartsVoronoiHandler/ChartsVoronoiHandler.d.ts +0 -1
  6. package/ChartsVoronoiHandler/ChartsVoronoiHandler.js +1 -2
  7. package/ChartsXAxis/ChartsXAxis.js +1 -1
  8. package/ChartsYAxis/ChartsYAxis.js +1 -1
  9. package/Gauge/Gauge.js +0 -2
  10. package/Gauge/GaugeContainer.d.ts +0 -2
  11. package/Gauge/GaugeContainer.js +0 -2
  12. package/Gauge/GaugeProvider.js +3 -0
  13. package/Gauge/GaugeValueText.js +1 -1
  14. package/LineChart/LineChart.js +0 -2
  15. package/PieChart/PieChart.js +0 -2
  16. package/ResponsiveChartContainer/ResponsiveChartContainer.d.ts +0 -2
  17. package/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
  18. package/ScatterChart/ScatterChart.js +0 -3
  19. package/SparkLineChart/SparkLineChart.js +0 -2
  20. package/context/CartesianContextProvider.d.ts +0 -8
  21. package/context/CartesianContextProvider.js +4 -89
  22. package/context/DrawingProvider.d.ts +2 -11
  23. package/context/DrawingProvider.js +10 -35
  24. package/context/HighlightProvider.js +3 -0
  25. package/context/InteractionProvider.js +3 -0
  26. package/context/SeriesContextProvider.js +3 -0
  27. package/context/index.d.ts +0 -2
  28. package/context/index.js +1 -15
  29. package/esm/BarChart/BarChart.js +0 -2
  30. package/esm/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
  31. package/esm/ChartsTooltip/utils.js +2 -2
  32. package/esm/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
  33. package/esm/ChartsXAxis/ChartsXAxis.js +1 -1
  34. package/esm/ChartsYAxis/ChartsYAxis.js +1 -1
  35. package/esm/Gauge/Gauge.js +0 -2
  36. package/esm/Gauge/GaugeContainer.js +0 -2
  37. package/esm/Gauge/GaugeProvider.js +3 -0
  38. package/esm/Gauge/GaugeValueText.js +1 -1
  39. package/esm/LineChart/LineChart.js +0 -2
  40. package/esm/PieChart/PieChart.js +0 -2
  41. package/esm/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
  42. package/esm/ScatterChart/ScatterChart.js +0 -3
  43. package/esm/SparkLineChart/SparkLineChart.js +0 -2
  44. package/esm/context/CartesianContextProvider.js +3 -88
  45. package/esm/context/DrawingProvider.js +10 -36
  46. package/esm/context/HighlightProvider.js +3 -0
  47. package/esm/context/InteractionProvider.js +3 -0
  48. package/esm/context/SeriesContextProvider.js +3 -0
  49. package/esm/context/index.js +1 -2
  50. package/esm/hooks/useAxisEvents.js +2 -2
  51. package/hooks/useAxisEvents.js +1 -1
  52. package/hooks/useTicks.d.ts +1 -1
  53. package/index.js +1 -1
  54. package/modern/BarChart/BarChart.js +0 -2
  55. package/modern/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
  56. package/modern/ChartsTooltip/utils.js +2 -2
  57. package/modern/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
  58. package/modern/ChartsXAxis/ChartsXAxis.js +1 -1
  59. package/modern/ChartsYAxis/ChartsYAxis.js +1 -1
  60. package/modern/Gauge/Gauge.js +0 -2
  61. package/modern/Gauge/GaugeContainer.js +0 -2
  62. package/modern/Gauge/GaugeProvider.js +3 -0
  63. package/modern/Gauge/GaugeValueText.js +1 -1
  64. package/modern/LineChart/LineChart.js +0 -2
  65. package/modern/PieChart/PieChart.js +0 -2
  66. package/modern/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -2
  67. package/modern/ScatterChart/ScatterChart.js +0 -3
  68. package/modern/SparkLineChart/SparkLineChart.js +0 -2
  69. package/modern/context/CartesianContextProvider.js +3 -88
  70. package/modern/context/DrawingProvider.js +10 -36
  71. package/modern/context/HighlightProvider.js +3 -0
  72. package/modern/context/InteractionProvider.js +3 -0
  73. package/modern/context/SeriesContextProvider.js +3 -0
  74. package/modern/context/index.js +1 -2
  75. package/modern/hooks/useAxisEvents.js +2 -2
  76. package/modern/index.js +1 -1
  77. package/package.json +1 -1
  78. package/legacy/BarChart/BarChart.js +0 -440
  79. package/legacy/BarChart/BarElement.js +0 -119
  80. package/legacy/BarChart/BarPlot.js +0 -232
  81. package/legacy/BarChart/extremums.js +0 -45
  82. package/legacy/BarChart/formatter.js +0 -78
  83. package/legacy/BarChart/index.js +0 -3
  84. package/legacy/BarChart/legend.js +0 -15
  85. package/legacy/ChartContainer/ChartContainer.js +0 -189
  86. package/legacy/ChartContainer/index.js +0 -1
  87. package/legacy/ChartsAxis/ChartsAxis.js +0 -215
  88. package/legacy/ChartsAxis/axisClasses.js +0 -5
  89. package/legacy/ChartsAxis/index.js +0 -2
  90. package/legacy/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -105
  91. package/legacy/ChartsAxisHighlight/index.js +0 -1
  92. package/legacy/ChartsClipPath/ChartsClipPath.js +0 -48
  93. package/legacy/ChartsClipPath/index.js +0 -1
  94. package/legacy/ChartsGrid/ChartsGrid.js +0 -119
  95. package/legacy/ChartsGrid/chartsGridClasses.js +0 -6
  96. package/legacy/ChartsGrid/index.js +0 -2
  97. package/legacy/ChartsLegend/ChartsLegend.js +0 -100
  98. package/legacy/ChartsLegend/DefaultChartsLegend.js +0 -302
  99. package/legacy/ChartsLegend/chartsLegendClasses.js +0 -5
  100. package/legacy/ChartsLegend/index.js +0 -4
  101. package/legacy/ChartsLegend/utils.js +0 -15
  102. package/legacy/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +0 -75
  103. package/legacy/ChartsOnAxisClickHandler/index.js +0 -1
  104. package/legacy/ChartsReferenceLine/ChartsReferenceLine.js +0 -72
  105. package/legacy/ChartsReferenceLine/ChartsXReferenceLine.js +0 -105
  106. package/legacy/ChartsReferenceLine/ChartsYReferenceLine.js +0 -105
  107. package/legacy/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -6
  108. package/legacy/ChartsReferenceLine/common.js +0 -19
  109. package/legacy/ChartsReferenceLine/index.js +0 -2
  110. package/legacy/ChartsSurface.js +0 -78
  111. package/legacy/ChartsText/ChartsText.js +0 -95
  112. package/legacy/ChartsText/index.js +0 -1
  113. package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +0 -96
  114. package/legacy/ChartsTooltip/ChartsItemTooltipContent.js +0 -53
  115. package/legacy/ChartsTooltip/ChartsTooltip.js +0 -148
  116. package/legacy/ChartsTooltip/ChartsTooltipTable.js +0 -80
  117. package/legacy/ChartsTooltip/DefaultChartsAxisTooltipContent.js +0 -118
  118. package/legacy/ChartsTooltip/DefaultChartsItemTooltipContent.js +0 -78
  119. package/legacy/ChartsTooltip/chartsTooltipClasses.js +0 -5
  120. package/legacy/ChartsTooltip/index.js +0 -6
  121. package/legacy/ChartsTooltip/utils.js +0 -103
  122. package/legacy/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -206
  123. package/legacy/ChartsVoronoiHandler/index.js +0 -1
  124. package/legacy/ChartsXAxis/ChartsXAxis.js +0 -339
  125. package/legacy/ChartsXAxis/index.js +0 -1
  126. package/legacy/ChartsYAxis/ChartsYAxis.js +0 -267
  127. package/legacy/ChartsYAxis/index.js +0 -1
  128. package/legacy/Gauge/Gauge.js +0 -146
  129. package/legacy/Gauge/GaugeContainer.js +0 -215
  130. package/legacy/Gauge/GaugeProvider.js +0 -87
  131. package/legacy/Gauge/GaugeReferenceArc.js +0 -37
  132. package/legacy/Gauge/GaugeValueArc.js +0 -44
  133. package/legacy/Gauge/GaugeValueText.js +0 -66
  134. package/legacy/Gauge/gaugeClasses.js +0 -7
  135. package/legacy/Gauge/index.js +0 -7
  136. package/legacy/Gauge/utils.js +0 -84
  137. package/legacy/LineChart/AnimatedArea.js +0 -102
  138. package/legacy/LineChart/AnimatedLine.js +0 -104
  139. package/legacy/LineChart/AreaElement.js +0 -112
  140. package/legacy/LineChart/AreaPlot.js +0 -149
  141. package/legacy/LineChart/LineChart.js +0 -452
  142. package/legacy/LineChart/LineElement.js +0 -112
  143. package/legacy/LineChart/LineHighlightElement.js +0 -79
  144. package/legacy/LineChart/LineHighlightPlot.js +0 -97
  145. package/legacy/LineChart/LinePlot.js +0 -144
  146. package/legacy/LineChart/MarkElement.js +0 -153
  147. package/legacy/LineChart/MarkPlot.js +0 -178
  148. package/legacy/LineChart/extremums.js +0 -54
  149. package/legacy/LineChart/formatter.js +0 -82
  150. package/legacy/LineChart/index.js +0 -11
  151. package/legacy/LineChart/legend.js +0 -15
  152. package/legacy/PieChart/PieArc.js +0 -103
  153. package/legacy/PieChart/PieArcLabel.js +0 -112
  154. package/legacy/PieChart/PieArcLabelPlot.js +0 -193
  155. package/legacy/PieChart/PieArcPlot.js +0 -180
  156. package/legacy/PieChart/PieChart.js +0 -404
  157. package/legacy/PieChart/PiePlot.js +0 -137
  158. package/legacy/PieChart/dataTransform/transition.js +0 -149
  159. package/legacy/PieChart/dataTransform/useTransformData.js +0 -63
  160. package/legacy/PieChart/formatter.js +0 -55
  161. package/legacy/PieChart/index.js +0 -6
  162. package/legacy/PieChart/legend.js +0 -16
  163. package/legacy/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -185
  164. package/legacy/ResponsiveChartContainer/index.js +0 -1
  165. package/legacy/ResponsiveChartContainer/useChartContainerDimensions.js +0 -73
  166. package/legacy/ScatterChart/Scatter.js +0 -110
  167. package/legacy/ScatterChart/ScatterChart.js +0 -395
  168. package/legacy/ScatterChart/ScatterPlot.js +0 -80
  169. package/legacy/ScatterChart/extremums.js +0 -39
  170. package/legacy/ScatterChart/formatter.js +0 -12
  171. package/legacy/ScatterChart/index.js +0 -3
  172. package/legacy/ScatterChart/legend.js +0 -15
  173. package/legacy/SparkLineChart/SparkLineChart.js +0 -266
  174. package/legacy/SparkLineChart/index.js +0 -1
  175. package/legacy/colorPalettes/colorPalettes.js +0 -15
  176. package/legacy/colorPalettes/index.js +0 -1
  177. package/legacy/constants.js +0 -8
  178. package/legacy/context/CartesianContextProvider.js +0 -327
  179. package/legacy/context/DrawingProvider.js +0 -74
  180. package/legacy/context/HighlightProvider.js +0 -56
  181. package/legacy/context/InteractionProvider.js +0 -81
  182. package/legacy/context/SeriesContextProvider.js +0 -74
  183. package/legacy/context/index.js +0 -2
  184. package/legacy/hooks/index.js +0 -2
  185. package/legacy/hooks/useAxisEvents.js +0 -120
  186. package/legacy/hooks/useChartDimensions.js +0 -18
  187. package/legacy/hooks/useDrawingArea.js +0 -21
  188. package/legacy/hooks/useInteractionItemProps.js +0 -71
  189. package/legacy/hooks/useMounted.js +0 -21
  190. package/legacy/hooks/useReducedMotion.js +0 -27
  191. package/legacy/hooks/useScale.js +0 -33
  192. package/legacy/hooks/useTicks.js +0 -65
  193. package/legacy/index.js +0 -33
  194. package/legacy/internals/components/AxisSharedComponents.js +0 -25
  195. package/legacy/internals/defaultizeColor.js +0 -17
  196. package/legacy/internals/defaultizeValueFormatter.js +0 -12
  197. package/legacy/internals/domUtils.js +0 -121
  198. package/legacy/internals/geometry.js +0 -37
  199. package/legacy/internals/getCurve.js +0 -39
  200. package/legacy/internals/getScale.js +0 -17
  201. package/legacy/internals/getWordsByLines.js +0 -15
  202. package/legacy/internals/isBandScale.js +0 -3
  203. package/legacy/internals/stackSeries.js +0 -92
  204. package/legacy/internals/useAnimatedPath.js +0 -32
  205. package/legacy/internals/utils.js +0 -52
  206. package/legacy/models/axis.js +0 -6
  207. package/legacy/models/helpers.js +0 -1
  208. package/legacy/models/index.js +0 -4
  209. package/legacy/models/layout.js +0 -1
  210. package/legacy/models/seriesType/bar.js +0 -1
  211. package/legacy/models/seriesType/common.js +0 -1
  212. package/legacy/models/seriesType/config.js +0 -1
  213. package/legacy/models/seriesType/index.js +0 -5
  214. package/legacy/models/seriesType/line.js +0 -1
  215. package/legacy/models/seriesType/pie.js +0 -1
  216. package/legacy/models/seriesType/scatter.js +0 -1
  217. package/legacy/models/stacking.js +0 -1
  218. package/legacy/themeAugmentation/index.js +0 -3
@@ -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
- ## v7.0.0-beta.3
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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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
- ## v7.0.0-beta.2
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 X v7 beta!
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/#DataGrid-prop-filterDebounceMs) prop to customize filter debounce time.
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
- ## v6.19.4
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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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@v6.19.4`
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@v6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
2436
+ #### `@mui/x-data-grid-pro@6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
2226
2437
 
2227
- Same changes as in `@mui/x-data-grid@v6.19.4`.
2438
+ Same changes as in `@mui/x-data-grid@6.19.4`.
2228
2439
 
2229
- #### `@mui/x-data-grid-premium@v6.19.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
2440
+ #### `@mui/x-data-grid-premium@6.19.4` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
2230
2441
 
2231
- Same changes as in `@mui/x-data-grid-pro@v6.19.4`, plus:
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@v6.19.4`
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@v6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
2453
+ #### `@mui/x-date-pickers-pro@6.19.4` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
2243
2454
 
2244
- Same changes as in `@mui/x-date-pickers@v6.19.4`.
2455
+ Same changes as in `@mui/x-date-pickers@6.19.4`.
2245
2456
 
2246
- ### Charts / `@mui/x-charts@v6.19.4`
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 X v6 @oliviertassinari
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.SVGContext);
21
+ const svgRef = React.useContext(_DrawingProvider.SvgContext);
22
22
  const series = React.useContext(_SeriesContextProvider.SeriesContext);
23
23
  const {
24
24
  axis
@@ -57,7 +57,7 @@ function generateVirtualElement(mousePosition) {
57
57
  };
58
58
  }
59
59
  function useMouseTracker() {
60
- const svgRef = React.useContext(_DrawingProvider.SVGContext);
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.SVGContext);
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
- * Maximal step between two ticks.
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
- * Maximal step between two ticks.
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;
@@ -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;
@@ -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,
@@ -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 ? 'NaN' : value.toLocaleString();
21
+ return value === null ? null : value.toLocaleString();
22
22
  }
23
23
  function GaugeValueText(props) {
24
24
  const {
@@ -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
  /**
@@ -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 };