@mui/x-charts 7.0.0-beta.2 → 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 (265) hide show
  1. package/BarChart/BarChart.d.ts +21 -5
  2. package/BarChart/BarChart.js +27 -7
  3. package/CHANGELOG.md +298 -23
  4. package/ChartsGrid/ChartsGrid.d.ts +30 -0
  5. package/ChartsGrid/ChartsGrid.js +128 -0
  6. package/ChartsGrid/chartsGridClasses.d.ts +13 -0
  7. package/ChartsGrid/chartsGridClasses.js +14 -0
  8. package/ChartsGrid/index.d.ts +2 -0
  9. package/ChartsGrid/index.js +27 -0
  10. package/ChartsGrid/package.json +6 -0
  11. package/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +1 -1
  12. package/ChartsSurface.js +6 -4
  13. package/ChartsTooltip/utils.js +1 -1
  14. package/ChartsVoronoiHandler/ChartsVoronoiHandler.d.ts +0 -1
  15. package/ChartsVoronoiHandler/ChartsVoronoiHandler.js +1 -2
  16. package/ChartsXAxis/ChartsXAxis.js +3 -3
  17. package/ChartsYAxis/ChartsYAxis.js +3 -3
  18. package/Gauge/Gauge.d.ts +13 -0
  19. package/Gauge/Gauge.js +154 -0
  20. package/Gauge/GaugeContainer.d.ts +17 -0
  21. package/Gauge/GaugeContainer.js +214 -0
  22. package/Gauge/GaugeProvider.d.ts +117 -0
  23. package/Gauge/GaugeProvider.js +99 -0
  24. package/Gauge/GaugeReferenceArc.d.ts +2 -0
  25. package/Gauge/GaugeReferenceArc.js +44 -0
  26. package/Gauge/GaugeValueArc.d.ts +2 -0
  27. package/Gauge/GaugeValueArc.js +51 -0
  28. package/Gauge/GaugeValueText.d.ts +15 -0
  29. package/Gauge/GaugeValueText.js +77 -0
  30. package/Gauge/gaugeClasses.d.ts +14 -0
  31. package/Gauge/gaugeClasses.js +15 -0
  32. package/Gauge/index.d.ts +7 -0
  33. package/Gauge/index.js +87 -0
  34. package/Gauge/package.json +6 -0
  35. package/Gauge/utils.d.ts +19 -0
  36. package/Gauge/utils.js +75 -0
  37. package/LineChart/LineChart.d.ts +24 -5
  38. package/LineChart/LineChart.js +31 -7
  39. package/PieChart/PieArc.d.ts +4 -4
  40. package/PieChart/PieArc.js +9 -9
  41. package/PieChart/PieArcLabelPlot.js +13 -13
  42. package/PieChart/PieChart.d.ts +22 -0
  43. package/PieChart/PieChart.js +22 -2
  44. package/ResponsiveChartContainer/ResponsiveChartContainer.d.ts +0 -2
  45. package/ResponsiveChartContainer/ResponsiveChartContainer.js +2 -68
  46. package/ResponsiveChartContainer/useChartContainerDimensions.d.ts +2 -0
  47. package/ResponsiveChartContainer/useChartContainerDimensions.js +76 -0
  48. package/ScatterChart/ScatterChart.d.ts +18 -0
  49. package/ScatterChart/ScatterChart.js +25 -3
  50. package/SparkLineChart/SparkLineChart.js +0 -2
  51. package/context/CartesianContextProvider.d.ts +0 -8
  52. package/context/CartesianContextProvider.js +4 -89
  53. package/context/DrawingProvider.d.ts +2 -11
  54. package/context/DrawingProvider.js +10 -35
  55. package/context/HighlightProvider.js +3 -0
  56. package/context/InteractionProvider.js +3 -0
  57. package/context/SeriesContextProvider.js +3 -0
  58. package/context/index.d.ts +0 -2
  59. package/context/index.js +1 -15
  60. package/esm/BarChart/BarChart.js +27 -7
  61. package/esm/ChartsGrid/ChartsGrid.js +121 -0
  62. package/esm/ChartsGrid/chartsGridClasses.js +6 -0
  63. package/esm/ChartsGrid/index.js +2 -0
  64. package/esm/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
  65. package/esm/ChartsSurface.js +6 -4
  66. package/esm/ChartsTooltip/utils.js +2 -2
  67. package/esm/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
  68. package/esm/ChartsXAxis/ChartsXAxis.js +2 -2
  69. package/esm/ChartsYAxis/ChartsYAxis.js +2 -2
  70. package/esm/Gauge/Gauge.js +147 -0
  71. package/esm/Gauge/GaugeContainer.js +209 -0
  72. package/esm/Gauge/GaugeProvider.js +88 -0
  73. package/esm/Gauge/GaugeReferenceArc.js +35 -0
  74. package/esm/Gauge/GaugeValueArc.js +42 -0
  75. package/esm/Gauge/GaugeValueText.js +69 -0
  76. package/esm/Gauge/gaugeClasses.js +7 -0
  77. package/esm/Gauge/index.js +7 -0
  78. package/esm/Gauge/utils.js +68 -0
  79. package/esm/LineChart/LineChart.js +31 -7
  80. package/esm/PieChart/PieArc.js +9 -9
  81. package/esm/PieChart/PieArcLabelPlot.js +13 -13
  82. package/esm/PieChart/PieChart.js +22 -2
  83. package/esm/ResponsiveChartContainer/ResponsiveChartContainer.js +2 -68
  84. package/esm/ResponsiveChartContainer/useChartContainerDimensions.js +66 -0
  85. package/esm/ScatterChart/ScatterChart.js +25 -3
  86. package/esm/SparkLineChart/SparkLineChart.js +0 -2
  87. package/esm/context/CartesianContextProvider.js +3 -88
  88. package/esm/context/DrawingProvider.js +10 -36
  89. package/esm/context/HighlightProvider.js +3 -0
  90. package/esm/context/InteractionProvider.js +3 -0
  91. package/esm/context/SeriesContextProvider.js +3 -0
  92. package/esm/context/index.js +1 -2
  93. package/esm/hooks/useAxisEvents.js +2 -2
  94. package/esm/hooks/useTicks.js +2 -3
  95. package/esm/index.js +2 -0
  96. package/hooks/useAxisEvents.js +1 -1
  97. package/hooks/useTicks.d.ts +2 -3
  98. package/hooks/useTicks.js +2 -3
  99. package/index.d.ts +2 -0
  100. package/index.js +23 -1
  101. package/modern/BarChart/BarChart.js +27 -7
  102. package/modern/ChartsGrid/ChartsGrid.js +121 -0
  103. package/modern/ChartsGrid/chartsGridClasses.js +6 -0
  104. package/modern/ChartsGrid/index.js +2 -0
  105. package/modern/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +2 -2
  106. package/modern/ChartsSurface.js +6 -4
  107. package/modern/ChartsTooltip/utils.js +2 -2
  108. package/modern/ChartsVoronoiHandler/ChartsVoronoiHandler.js +2 -3
  109. package/modern/ChartsXAxis/ChartsXAxis.js +2 -2
  110. package/modern/ChartsYAxis/ChartsYAxis.js +2 -2
  111. package/modern/Gauge/Gauge.js +147 -0
  112. package/modern/Gauge/GaugeContainer.js +206 -0
  113. package/modern/Gauge/GaugeProvider.js +88 -0
  114. package/modern/Gauge/GaugeReferenceArc.js +35 -0
  115. package/modern/Gauge/GaugeValueArc.js +42 -0
  116. package/modern/Gauge/GaugeValueText.js +69 -0
  117. package/modern/Gauge/gaugeClasses.js +7 -0
  118. package/modern/Gauge/index.js +7 -0
  119. package/modern/Gauge/utils.js +68 -0
  120. package/modern/LineChart/LineChart.js +31 -7
  121. package/modern/PieChart/PieArc.js +9 -9
  122. package/modern/PieChart/PieArcLabelPlot.js +13 -13
  123. package/modern/PieChart/PieChart.js +22 -2
  124. package/modern/ResponsiveChartContainer/ResponsiveChartContainer.js +2 -68
  125. package/modern/ResponsiveChartContainer/useChartContainerDimensions.js +66 -0
  126. package/modern/ScatterChart/ScatterChart.js +25 -3
  127. package/modern/SparkLineChart/SparkLineChart.js +0 -2
  128. package/modern/context/CartesianContextProvider.js +3 -88
  129. package/modern/context/DrawingProvider.js +10 -36
  130. package/modern/context/HighlightProvider.js +3 -0
  131. package/modern/context/InteractionProvider.js +3 -0
  132. package/modern/context/SeriesContextProvider.js +3 -0
  133. package/modern/context/index.js +1 -2
  134. package/modern/hooks/useAxisEvents.js +2 -2
  135. package/modern/hooks/useTicks.js +2 -3
  136. package/modern/index.js +3 -1
  137. package/package.json +4 -4
  138. package/legacy/BarChart/BarChart.js +0 -418
  139. package/legacy/BarChart/BarElement.js +0 -119
  140. package/legacy/BarChart/BarPlot.js +0 -232
  141. package/legacy/BarChart/extremums.js +0 -45
  142. package/legacy/BarChart/formatter.js +0 -78
  143. package/legacy/BarChart/index.js +0 -3
  144. package/legacy/BarChart/legend.js +0 -15
  145. package/legacy/ChartContainer/ChartContainer.js +0 -189
  146. package/legacy/ChartContainer/index.js +0 -1
  147. package/legacy/ChartsAxis/ChartsAxis.js +0 -215
  148. package/legacy/ChartsAxis/axisClasses.js +0 -5
  149. package/legacy/ChartsAxis/index.js +0 -2
  150. package/legacy/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -105
  151. package/legacy/ChartsAxisHighlight/index.js +0 -1
  152. package/legacy/ChartsClipPath/ChartsClipPath.js +0 -48
  153. package/legacy/ChartsClipPath/index.js +0 -1
  154. package/legacy/ChartsLegend/ChartsLegend.js +0 -100
  155. package/legacy/ChartsLegend/DefaultChartsLegend.js +0 -302
  156. package/legacy/ChartsLegend/chartsLegendClasses.js +0 -5
  157. package/legacy/ChartsLegend/index.js +0 -4
  158. package/legacy/ChartsLegend/utils.js +0 -15
  159. package/legacy/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.js +0 -75
  160. package/legacy/ChartsOnAxisClickHandler/index.js +0 -1
  161. package/legacy/ChartsReferenceLine/ChartsReferenceLine.js +0 -72
  162. package/legacy/ChartsReferenceLine/ChartsXReferenceLine.js +0 -105
  163. package/legacy/ChartsReferenceLine/ChartsYReferenceLine.js +0 -105
  164. package/legacy/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -6
  165. package/legacy/ChartsReferenceLine/common.js +0 -19
  166. package/legacy/ChartsReferenceLine/index.js +0 -2
  167. package/legacy/ChartsSurface.js +0 -76
  168. package/legacy/ChartsText/ChartsText.js +0 -95
  169. package/legacy/ChartsText/index.js +0 -1
  170. package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +0 -96
  171. package/legacy/ChartsTooltip/ChartsItemTooltipContent.js +0 -53
  172. package/legacy/ChartsTooltip/ChartsTooltip.js +0 -148
  173. package/legacy/ChartsTooltip/ChartsTooltipTable.js +0 -80
  174. package/legacy/ChartsTooltip/DefaultChartsAxisTooltipContent.js +0 -118
  175. package/legacy/ChartsTooltip/DefaultChartsItemTooltipContent.js +0 -78
  176. package/legacy/ChartsTooltip/chartsTooltipClasses.js +0 -5
  177. package/legacy/ChartsTooltip/index.js +0 -6
  178. package/legacy/ChartsTooltip/utils.js +0 -103
  179. package/legacy/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -206
  180. package/legacy/ChartsVoronoiHandler/index.js +0 -1
  181. package/legacy/ChartsXAxis/ChartsXAxis.js +0 -339
  182. package/legacy/ChartsXAxis/index.js +0 -1
  183. package/legacy/ChartsYAxis/ChartsYAxis.js +0 -267
  184. package/legacy/ChartsYAxis/index.js +0 -1
  185. package/legacy/LineChart/AnimatedArea.js +0 -102
  186. package/legacy/LineChart/AnimatedLine.js +0 -104
  187. package/legacy/LineChart/AreaElement.js +0 -112
  188. package/legacy/LineChart/AreaPlot.js +0 -149
  189. package/legacy/LineChart/LineChart.js +0 -426
  190. package/legacy/LineChart/LineElement.js +0 -112
  191. package/legacy/LineChart/LineHighlightElement.js +0 -79
  192. package/legacy/LineChart/LineHighlightPlot.js +0 -97
  193. package/legacy/LineChart/LinePlot.js +0 -144
  194. package/legacy/LineChart/MarkElement.js +0 -153
  195. package/legacy/LineChart/MarkPlot.js +0 -178
  196. package/legacy/LineChart/extremums.js +0 -54
  197. package/legacy/LineChart/formatter.js +0 -82
  198. package/legacy/LineChart/index.js +0 -11
  199. package/legacy/LineChart/legend.js +0 -15
  200. package/legacy/PieChart/PieArc.js +0 -103
  201. package/legacy/PieChart/PieArcLabel.js +0 -112
  202. package/legacy/PieChart/PieArcLabelPlot.js +0 -193
  203. package/legacy/PieChart/PieArcPlot.js +0 -180
  204. package/legacy/PieChart/PieChart.js +0 -382
  205. package/legacy/PieChart/PiePlot.js +0 -137
  206. package/legacy/PieChart/dataTransform/transition.js +0 -149
  207. package/legacy/PieChart/dataTransform/useTransformData.js +0 -63
  208. package/legacy/PieChart/formatter.js +0 -55
  209. package/legacy/PieChart/index.js +0 -6
  210. package/legacy/PieChart/legend.js +0 -16
  211. package/legacy/ResponsiveChartContainer/ResponsiveChartContainer.js +0 -255
  212. package/legacy/ResponsiveChartContainer/index.js +0 -1
  213. package/legacy/ScatterChart/Scatter.js +0 -110
  214. package/legacy/ScatterChart/ScatterChart.js +0 -370
  215. package/legacy/ScatterChart/ScatterPlot.js +0 -80
  216. package/legacy/ScatterChart/extremums.js +0 -39
  217. package/legacy/ScatterChart/formatter.js +0 -12
  218. package/legacy/ScatterChart/index.js +0 -3
  219. package/legacy/ScatterChart/legend.js +0 -15
  220. package/legacy/SparkLineChart/SparkLineChart.js +0 -266
  221. package/legacy/SparkLineChart/index.js +0 -1
  222. package/legacy/colorPalettes/colorPalettes.js +0 -15
  223. package/legacy/colorPalettes/index.js +0 -1
  224. package/legacy/constants.js +0 -8
  225. package/legacy/context/CartesianContextProvider.js +0 -327
  226. package/legacy/context/DrawingProvider.js +0 -74
  227. package/legacy/context/HighlightProvider.js +0 -56
  228. package/legacy/context/InteractionProvider.js +0 -81
  229. package/legacy/context/SeriesContextProvider.js +0 -74
  230. package/legacy/context/index.js +0 -2
  231. package/legacy/hooks/index.js +0 -2
  232. package/legacy/hooks/useAxisEvents.js +0 -120
  233. package/legacy/hooks/useChartDimensions.js +0 -18
  234. package/legacy/hooks/useDrawingArea.js +0 -21
  235. package/legacy/hooks/useInteractionItemProps.js +0 -71
  236. package/legacy/hooks/useMounted.js +0 -21
  237. package/legacy/hooks/useReducedMotion.js +0 -27
  238. package/legacy/hooks/useScale.js +0 -33
  239. package/legacy/hooks/useTicks.js +0 -66
  240. package/legacy/index.js +0 -31
  241. package/legacy/internals/components/AxisSharedComponents.js +0 -25
  242. package/legacy/internals/defaultizeColor.js +0 -17
  243. package/legacy/internals/defaultizeValueFormatter.js +0 -12
  244. package/legacy/internals/domUtils.js +0 -121
  245. package/legacy/internals/geometry.js +0 -37
  246. package/legacy/internals/getCurve.js +0 -39
  247. package/legacy/internals/getScale.js +0 -17
  248. package/legacy/internals/getWordsByLines.js +0 -15
  249. package/legacy/internals/isBandScale.js +0 -3
  250. package/legacy/internals/stackSeries.js +0 -92
  251. package/legacy/internals/useAnimatedPath.js +0 -32
  252. package/legacy/internals/utils.js +0 -52
  253. package/legacy/models/axis.js +0 -6
  254. package/legacy/models/helpers.js +0 -1
  255. package/legacy/models/index.js +0 -4
  256. package/legacy/models/layout.js +0 -1
  257. package/legacy/models/seriesType/bar.js +0 -1
  258. package/legacy/models/seriesType/common.js +0 -1
  259. package/legacy/models/seriesType/config.js +0 -1
  260. package/legacy/models/seriesType/index.js +0 -5
  261. package/legacy/models/seriesType/line.js +0 -1
  262. package/legacy/models/seriesType/pie.js +0 -1
  263. package/legacy/models/seriesType/scatter.js +0 -1
  264. package/legacy/models/stacking.js +0 -1
  265. package/legacy/themeAugmentation/index.js +0 -3
@@ -8,20 +8,32 @@ import { ChartsTooltipProps, ChartsTooltipSlotProps, ChartsTooltipSlots } from '
8
8
  import { ChartsLegendProps, ChartsLegendSlots, ChartsLegendSlotProps } from '../ChartsLegend';
9
9
  import { ChartsAxisHighlightProps } from '../ChartsAxisHighlight';
10
10
  import { ChartsAxisSlots, ChartsAxisSlotProps } from '../models/axis';
11
+ import { ChartsGridProps } from '../ChartsGrid';
11
12
  import { ChartsOnAxisClickHandlerProps } from '../ChartsOnAxisClickHandler';
12
13
  export interface BarChartSlots extends ChartsAxisSlots, BarPlotSlots, ChartsLegendSlots, ChartsTooltipSlots {
13
14
  }
14
15
  export interface BarChartSlotProps extends ChartsAxisSlotProps, BarPlotSlotProps, ChartsLegendSlotProps, ChartsTooltipSlotProps {
15
16
  }
16
17
  export interface BarChartProps extends Omit<ResponsiveChartContainerProps, 'series'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<BarPlotProps, 'slots' | 'slotProps'>, ChartsOnAxisClickHandlerProps {
18
+ /**
19
+ * The series to display in the bar chart.
20
+ */
17
21
  series: MakeOptional<BarSeriesType, 'type'>[];
22
+ /**
23
+ * The configuration of the tooltip.
24
+ * @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details.
25
+ */
18
26
  tooltip?: ChartsTooltipProps;
19
27
  /**
20
- * Object `{ x, y }` that defines how the charts highlight the mouse position along the x- and y-axes.
21
- * The two properties accept the following values:
22
- * - 'none': display nothing.
23
- * - 'line': display a line at the current mouse position.
24
- * - 'band': display a band at the current mouse position. Only available with band scale.
28
+ * Option to display a cartesian grid in the background.
29
+ */
30
+ grid?: Pick<ChartsGridProps, 'vertical' | 'horizontal'>;
31
+ /**
32
+ * The configuration of axes highlight.
33
+ * Default is set to 'band' in the bar direction.
34
+ * Depends on `layout` prop.
35
+ * @see See {@link https://mui.com/x/react-charts/tooltip/#highlights highlight docs} for more details.
36
+ *
25
37
  */
26
38
  axisHighlight?: ChartsAxisHighlightProps;
27
39
  /**
@@ -38,6 +50,10 @@ export interface BarChartProps extends Omit<ResponsiveChartContainerProps, 'seri
38
50
  * @default {}
39
51
  */
40
52
  slotProps?: BarChartSlotProps;
53
+ /**
54
+ * The direction of the bar elements.
55
+ * @default 'vertical'
56
+ */
41
57
  layout?: BarSeriesType['layout'];
42
58
  }
43
59
  /**
@@ -17,6 +17,7 @@ var _ChartsTooltip = require("../ChartsTooltip");
17
17
  var _ChartsLegend = require("../ChartsLegend");
18
18
  var _ChartsAxisHighlight = require("../ChartsAxisHighlight");
19
19
  var _ChartsClipPath = require("../ChartsClipPath");
20
+ var _ChartsGrid = require("../ChartsGrid");
20
21
  var _ChartsOnAxisClickHandler = require("../ChartsOnAxisClickHandler");
21
22
  var _jsxRuntime = require("react/jsx-runtime");
22
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -47,6 +48,7 @@ const BarChart = exports.BarChart = /*#__PURE__*/React.forwardRef(function BarCh
47
48
  tooltip,
48
49
  axisHighlight,
49
50
  legend,
51
+ grid,
50
52
  topAxis,
51
53
  leftAxis,
52
54
  rightAxis,
@@ -94,6 +96,9 @@ const BarChart = exports.BarChart = /*#__PURE__*/React.forwardRef(function BarCh
94
96
  disableAxisListener: tooltip?.trigger !== 'axis' && axisHighlight?.x === 'none' && axisHighlight?.y === 'none' && !onAxisClick,
95
97
  children: [onAxisClick && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOnAxisClickHandler.ChartsOnAxisClickHandler, {
96
98
  onAxisClick: onAxisClick
99
+ }), grid && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGrid.ChartsGrid, {
100
+ vertical: grid.vertical,
101
+ horizontal: grid.horizontal
97
102
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
98
103
  clipPath: `url(#${clipPathId})`,
99
104
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_BarPlot.BarPlot, {
@@ -126,11 +131,10 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
126
131
  // | To update them edit the TypeScript types and run "yarn proptypes" |
127
132
  // ----------------------------------------------------------------------
128
133
  /**
129
- * Object `{ x, y }` that defines how the charts highlight the mouse position along the x- and y-axes.
130
- * The two properties accept the following values:
131
- * - 'none': display nothing.
132
- * - 'line': display a line at the current mouse position.
133
- * - 'band': display a band at the current mouse position. Only available with band scale.
134
+ * The configuration of axes highlight.
135
+ * Default is set to 'band' in the bar direction.
136
+ * Depends on `layout` prop.
137
+ * @see See {@link https://mui.com/x/react-charts/tooltip/#highlights highlight docs} for more details.
134
138
  */
135
139
  axisHighlight: _propTypes.default.shape({
136
140
  x: _propTypes.default.oneOf(['band', 'line', 'none']),
@@ -181,11 +185,21 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
181
185
  * @default false
182
186
  */
183
187
  disableAxisListener: _propTypes.default.bool,
188
+ /**
189
+ * Option to display a cartesian grid in the background.
190
+ */
191
+ grid: _propTypes.default.shape({
192
+ horizontal: _propTypes.default.bool,
193
+ vertical: _propTypes.default.bool
194
+ }),
184
195
  /**
185
196
  * The height of the chart in px. If not defined, it takes the height of the parent element.
186
- * @default undefined
187
197
  */
188
198
  height: _propTypes.default.number,
199
+ /**
200
+ * The direction of the bar elements.
201
+ * @default 'vertical'
202
+ */
189
203
  layout: _propTypes.default.oneOf(['horizontal', 'vertical']),
190
204
  /**
191
205
  * Indicate which axis to display the left of the charts.
@@ -280,6 +294,9 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
280
294
  tickNumber: _propTypes.default.number,
281
295
  tickSize: _propTypes.default.number
282
296
  }), _propTypes.default.string]),
297
+ /**
298
+ * The series to display in the bar chart.
299
+ */
283
300
  series: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
284
301
  /**
285
302
  * If `true`, animations are skipped.
@@ -298,6 +315,10 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
298
315
  slots: _propTypes.default.object,
299
316
  sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
300
317
  title: _propTypes.default.string,
318
+ /**
319
+ * The configuration of the tooltip.
320
+ * @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details.
321
+ */
301
322
  tooltip: _propTypes.default.shape({
302
323
  axisContent: _propTypes.default.elementType,
303
324
  classes: _propTypes.default.object,
@@ -341,7 +362,6 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
341
362
  }),
342
363
  /**
343
364
  * The width of the chart in px. If not defined, it takes the width of the parent element.
344
- * @default undefined
345
365
  */
346
366
  width: _propTypes.default.number,
347
367
  /**
package/CHANGELOG.md CHANGED
@@ -3,7 +3,221 @@
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.2
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
157
+
158
+ _Feb 16, 2024_
159
+
160
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
161
+
162
+ - 🎁 Charts get a [built in grid](https://next.mui.com/x/react-charts/axis/#grid)
163
+
164
+ <img src="https://github.com/mui/mui-x/assets/45398769/74299f54-f020-4135-b38c-dc88a230db30" width="510" alt="Charts Grid" />
165
+
166
+ - 🎛️ Charts get a [Gauge component](https://next.mui.com/x/react-charts/gauge/).
167
+
168
+ <img src="https://github.com/mui/mui-x/assets/45398769/fb7a94b5-bef6-4fc2-a0cd-d6ff5b60fa8b" width="510" alt="Guage Chart" />
169
+
170
+ - 🐞 Bugfixes
171
+
172
+ - 📚 Documentation improvements
173
+
174
+ ### Data Grid
175
+
176
+ #### Breaking changes
177
+
178
+ - The `rowEditCommit` event and the related prop `onRowEditCommit` was removed. The [`processRowUpdate`](https://next.mui.com/x/react-data-grid/editing/#the-processrowupdate-callback) prop can be used in place.
179
+
180
+ #### `@mui/x-data-grid@7.0.0-beta.3`
181
+
182
+ - [DataGrid] Performance: avoid style invalidation (#12019) @romgrk
183
+ - [DataGrid] Remove legacy editing API event: `rowEditCommit` (#12073) @MBilalShafi
184
+ - [DataGrid] Fix styling grid filter input single select (#11520) @FreakDroid
185
+
186
+ #### `@mui/x-data-grid-pro@7.0.0-beta.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
187
+
188
+ Same changes as in `@mui/x-data-grid@7.0.0-beta.3`.
189
+
190
+ #### `@mui/x-data-grid-premium@7.0.0-beta.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
191
+
192
+ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.3`.
193
+
194
+ ### Charts / `@mui/x-charts@7.0.0-beta.3`
195
+
196
+ - [charts] Add Gauge component (#11996) @alexfauquette
197
+ - [charts] Add a `ChartsGrid` component (#11034) @alexfauquette
198
+
199
+ ### Tree View / `@mui/x-tree-view@7.0.0-beta.3`
200
+
201
+ - [TreeView] Remove instance existence checks (#12066) @flaviendelangle
202
+
203
+ ### Docs
204
+
205
+ - [docs] Complete charts API pages (#12038) @alexfauquette
206
+ - [docs] Add more illustrations to the charts overview page (#12041) @danilo-leal
207
+ - [docs] Fix 301 redirection to StackBlitz @oliviertassinari
208
+ - [docs] Fix Tree space to match the reset of the docs @oliviertassinari
209
+ - [docs] Fix `dayOfWeekFormatter` typo in the pickers v6 to v7 migration document (#12043) @StylesTrip
210
+ - [docs] Fix redirection @oliviertassinari
211
+ - [docs] Fix typo for `AdapterDateFnsV3` (#12036) @flaviendelangle
212
+ - [docs] Removed `focused` prop from demo (#12092) @michelengelen
213
+
214
+ ### Core
215
+
216
+ - [core] Fix CodeSandbox CI template @oliviertassinari
217
+ - [core] Sort prop asc (#12033) @oliviertassinari
218
+ - [core] Bump monorepo (#12055) @alexfauquette
219
+
220
+ ## 7.0.0-beta.2
7
221
 
8
222
  _Feb 9, 2024_
9
223
 
@@ -17,7 +231,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
17
231
 
18
232
  ### Data Grid
19
233
 
20
- #### `@mui/x-data-grid@v7.0.0-beta.2`
234
+ #### `@mui/x-data-grid@7.0.0-beta.2`
21
235
 
22
236
  - [DataGrid] Add `removeAllFilterItems` as a reason of `onFilterModelChange` callback (#11911) @shaharyar-shamshi
23
237
  - [DataGrid] Add slot typings (#11795) @romgrk
@@ -27,35 +241,35 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
27
241
  - [DataGrid] Improve vertical scrolling performance (#11924) @romgrk
28
242
  - [l10n] Improve Danish (da-DK) locale (#11877) @ShahrazH
29
243
 
30
- #### `@mui/x-data-grid-pro@v7.0.0-beta.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
244
+ #### `@mui/x-data-grid-pro@7.0.0-beta.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
245
 
32
246
  Same changes as in `@mui/x-data-grid@v7.0.0-beta.2`.
33
247
 
34
248
  #### `@mui/x-data-grid-premium@v7.0.0-beta.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
35
249
 
36
- Same changes as in `@mui/x-data-grid-pro@v7.0.0-beta.2`, plus:
250
+ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.2`, plus:
37
251
 
38
252
  - [DataGridPremium] Fix autosize grouping cell (#11870) @romgrk
39
253
  - [DataGridPremium] Fix clipboard paste not working with Caps Lock enabled (#11965) @shaharyar-shamshi
40
254
 
41
255
  ### Date Pickers
42
256
 
43
- #### `@mui/x-date-pickers@v7.0.0-beta.2`
257
+ #### `@mui/x-date-pickers@7.0.0-beta.2`
44
258
 
45
259
  - [pickers] Avoid relying on locale in Luxon `isWithinRange` method (#11936) @LukasTy
46
260
  - [pickers] Limit the valid values of `TDate` (#11791) @flaviendelangle
47
261
 
48
- #### `@mui/x-date-pickers-pro@v7.0.0-beta.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
262
+ #### `@mui/x-date-pickers-pro@7.0.0-beta.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
263
 
50
- Same changes as in `@mui/x-date-pickers@v7.0.0-beta.2`.
264
+ Same changes as in `@mui/x-date-pickers@7.0.0-beta.2`.
51
265
 
52
- ### Charts / `@mui/x-charts@v7.0.0-beta.2`
266
+ ### Charts / `@mui/x-charts@7.0.0-beta.2`
53
267
 
54
268
  - [charts] Add `reverse` property to axes (#11899) @alexfauquette
55
269
  - [charts] Allow series ids to be numbers (#11941) @alexfauquette
56
270
  - [charts] Support UTC date formatting in tooltip (#11943) @shaharyar-shamshi
57
271
 
58
- ### Tree View / `@mui/x-tree-view@v7.0.0-beta.2`
272
+ ### Tree View / `@mui/x-tree-view@7.0.0-beta.2`
59
273
 
60
274
  - [TreeView] Correctly detect if an item is expandable (#11963) @swalker326
61
275
  - [TreeView] Polish the default design & revise the simple version pages (#11529) @danilo-leal
@@ -71,7 +285,7 @@ Same changes as in `@mui/x-date-pickers@v7.0.0-beta.2`.
71
285
  +import { LicenseInfo } from '@mui/x-license';
72
286
  ```
73
287
 
74
- `@mui/x-license@v7.0.0-beta.2`
288
+ `@mui/x-license@7.0.0-beta.2`
75
289
 
76
290
  - [license] Rename `@mui/x-license-pro` to `@mui/x-license` (#11938) @cherniavskii
77
291
 
@@ -272,7 +486,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-beta.1`.
272
486
 
273
487
  _Jan 26, 2024_
274
488
 
275
- We are glad to announce MUI X v7 beta!
489
+ We are glad to announce MUI X v7 beta!
276
490
  This version has several improvements, bug fixes, and exciting features 🎉.
277
491
  We want to offer a big thanks to the 7 contributors who made this release possible ✨:
278
492
 
@@ -1289,7 +1503,7 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
1289
1503
 
1290
1504
  - The clipboard related exports `ignoreValueFormatterDuringExport` and `splitClipboardPastedText` are no longer prefixed with `unstable_`.
1291
1505
 
1292
- - 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.
1293
1507
 
1294
1508
  - The `slots.preferencesPanel` slot and the `slotProps.preferencesPanel` prop were removed. Use `slots.panel` and `slotProps.panel` instead.
1295
1509
 
@@ -2138,7 +2352,68 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
2138
2352
  - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
2139
2353
  - [license] Correctly throw errors (#10924) @oliviertassinari
2140
2354
 
2141
- ## 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
2142
2417
 
2143
2418
  _Feb 9, 2024_
2144
2419
 
@@ -2150,7 +2425,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
2150
2425
 
2151
2426
  ### Data Grid
2152
2427
 
2153
- #### `@mui/x-data-grid@v6.19.4`
2428
+ #### `@mui/x-data-grid@6.19.4`
2154
2429
 
2155
2430
  - [DataGrid] Add support for dialogs in menu actions (#11937) @cherniavskii
2156
2431
  - [DataGrid] Allow passing readonly arrays to `pageSizeOptions` prop (#11992) @pcorpet
@@ -2158,28 +2433,28 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
2158
2433
  - [DataGrid] Replace `eval` with `new Function` (#11962) @cherniavskii
2159
2434
  - [l10n] Improve Danish (da-DK) locale (#11972) @ShahrazH
2160
2435
 
2161
- #### `@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')
2162
2437
 
2163
- Same changes as in `@mui/x-data-grid@v6.19.4`.
2438
+ Same changes as in `@mui/x-data-grid@6.19.4`.
2164
2439
 
2165
- #### `@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')
2166
2441
 
2167
- 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:
2168
2443
 
2169
2444
  - [DataGridPremium] Fix autosize grouping cell (#11990) @romgrk
2170
2445
  - [DataGridPremium] Fix error after closing print export (#11889) @cherniavskii
2171
2446
 
2172
2447
  ### Date Pickers
2173
2448
 
2174
- #### `@mui/x-date-pickers@v6.19.4`
2449
+ #### `@mui/x-date-pickers@6.19.4`
2175
2450
 
2176
2451
  - [pickers] Avoid relying on locale in Luxon `isWithinRange` method (#11940) @LukasTy
2177
2452
 
2178
- #### `@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')
2179
2454
 
2180
- Same changes as in `@mui/x-date-pickers@v6.19.4`.
2455
+ Same changes as in `@mui/x-date-pickers@6.19.4`.
2181
2456
 
2182
- ### Charts / `@mui/x-charts@v6.19.4`
2457
+ ### Charts / `@mui/x-charts@6.19.4`
2183
2458
 
2184
2459
  - [charts] Add `reverse` property to axes (#11959) @alexfauquette
2185
2460
  - [charts] Allow series ids to be numbers (#11960) @alexfauquette
@@ -2240,7 +2515,7 @@ Same changes as in `@mui/x-date-pickers@6.19.3`.
2240
2515
  - [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
2241
2516
  - [docs] Improve Support page (#11556) @oliviertassinari
2242
2517
  - [docs] Sync support page with core @oliviertassinari
2243
- - [docs] These API don't exist in MUI X v6 @oliviertassinari
2518
+ - [docs] These API don't exist in MUI X v6 @oliviertassinari
2244
2519
  - [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
2245
2520
 
2246
2521
  ## 6.19.2
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import { ChartsGridClasses } from './chartsGridClasses';
3
+ export interface ChartsGridProps {
4
+ /**
5
+ * Displays vertical grid.
6
+ */
7
+ vertical?: boolean;
8
+ /**
9
+ * Displays horizontal grid.
10
+ */
11
+ horizontal?: boolean;
12
+ /**
13
+ * Override or extend the styles applied to the component.
14
+ */
15
+ classes?: Partial<ChartsGridClasses>;
16
+ }
17
+ /**
18
+ * Demos:
19
+ *
20
+ * - [Axis](https://mui.com/x/react-charts/axis/)
21
+ *
22
+ * API:
23
+ *
24
+ * - [ChartsGrid API](https://mui.com/x/api/charts/charts-axis/)
25
+ */
26
+ declare function ChartsGrid(props: ChartsGridProps): React.JSX.Element;
27
+ declare namespace ChartsGrid {
28
+ var propTypes: any;
29
+ }
30
+ export { ChartsGrid };