@mui/x-charts 6.0.0-alpha.7 → 6.0.0-alpha.9

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 (92) hide show
  1. package/BarChart/BarChart.d.ts +1 -0
  2. package/BarChart/BarChart.js +26 -13
  3. package/BarChart/BarPlot.js +25 -15
  4. package/BarChart/extremums.js +19 -3
  5. package/BarChart/formatter.js +3 -1
  6. package/CHANGELOG.md +212 -31
  7. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +3 -2
  8. package/ChartsAxisHighlight/ChartsAxisHighlight.js +11 -3
  9. package/ChartsTooltip/ChartsAxisTooltipContent.js +13 -9
  10. package/LineChart/AreaElement.d.ts +1 -1
  11. package/LineChart/LineChart.d.ts +7 -2
  12. package/LineChart/LineChart.js +15 -3
  13. package/LineChart/LineElement.d.ts +1 -1
  14. package/LineChart/LineHighlightElement.d.ts +21 -0
  15. package/LineChart/LineHighlightElement.js +79 -0
  16. package/LineChart/LineHighlightPlot.d.ts +25 -0
  17. package/LineChart/LineHighlightPlot.js +99 -0
  18. package/LineChart/MarkElement.d.ts +1 -1
  19. package/LineChart/MarkElement.js +1 -4
  20. package/LineChart/MarkPlot.js +34 -15
  21. package/LineChart/index.d.ts +2 -0
  22. package/LineChart/index.js +20 -0
  23. package/PieChart/PieArc.d.ts +1 -1
  24. package/PieChart/PieArcLabel.d.ts +1 -1
  25. package/PieChart/PieChart.js +1 -1
  26. package/ScatterChart/ScatterChart.js +1 -1
  27. package/SparkLineChart/SparkLineChart.d.ts +3 -2
  28. package/SparkLineChart/SparkLineChart.js +7 -12
  29. package/context/CartesianContextProvider.js +4 -4
  30. package/esm/BarChart/BarChart.js +30 -17
  31. package/esm/BarChart/BarPlot.js +26 -16
  32. package/esm/BarChart/extremums.js +18 -2
  33. package/esm/BarChart/formatter.js +3 -1
  34. package/esm/ChartsAxisHighlight/ChartsAxisHighlight.js +11 -3
  35. package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +13 -9
  36. package/esm/LineChart/LineChart.js +15 -3
  37. package/esm/LineChart/LineHighlightElement.js +68 -0
  38. package/esm/LineChart/LineHighlightPlot.js +92 -0
  39. package/esm/LineChart/MarkElement.js +1 -4
  40. package/esm/LineChart/MarkPlot.js +34 -15
  41. package/esm/LineChart/index.js +3 -1
  42. package/esm/PieChart/PieChart.js +1 -1
  43. package/esm/ScatterChart/ScatterChart.js +1 -1
  44. package/esm/SparkLineChart/SparkLineChart.js +8 -13
  45. package/esm/context/CartesianContextProvider.js +4 -4
  46. package/esm/hooks/useAxisEvents.js +21 -38
  47. package/esm/hooks/useTicks.js +2 -2
  48. package/hooks/useAxisEvents.js +21 -38
  49. package/hooks/useTicks.js +2 -2
  50. package/index.js +1 -1
  51. package/internals/defaultizeColor.d.ts +3 -0
  52. package/legacy/BarChart/BarChart.js +35 -20
  53. package/legacy/BarChart/BarPlot.js +26 -16
  54. package/legacy/BarChart/extremums.js +22 -2
  55. package/legacy/BarChart/formatter.js +3 -1
  56. package/legacy/ChartsAxisHighlight/ChartsAxisHighlight.js +11 -3
  57. package/legacy/ChartsTooltip/ChartsAxisTooltipContent.js +13 -9
  58. package/legacy/LineChart/LineChart.js +15 -3
  59. package/legacy/LineChart/LineHighlightElement.js +67 -0
  60. package/legacy/LineChart/LineHighlightPlot.js +85 -0
  61. package/legacy/LineChart/MarkElement.js +1 -4
  62. package/legacy/LineChart/MarkPlot.js +24 -6
  63. package/legacy/LineChart/index.js +3 -1
  64. package/legacy/PieChart/PieChart.js +1 -1
  65. package/legacy/ScatterChart/ScatterChart.js +1 -1
  66. package/legacy/SparkLineChart/SparkLineChart.js +8 -11
  67. package/legacy/context/CartesianContextProvider.js +4 -4
  68. package/legacy/hooks/useAxisEvents.js +21 -37
  69. package/legacy/hooks/useTicks.js +2 -2
  70. package/legacy/index.js +1 -1
  71. package/models/seriesType/bar.d.ts +6 -1
  72. package/models/seriesType/line.d.ts +33 -0
  73. package/modern/BarChart/BarChart.js +27 -14
  74. package/modern/BarChart/BarPlot.js +25 -15
  75. package/modern/BarChart/extremums.js +18 -2
  76. package/modern/BarChart/formatter.js +3 -1
  77. package/modern/ChartsAxisHighlight/ChartsAxisHighlight.js +11 -3
  78. package/modern/ChartsTooltip/ChartsAxisTooltipContent.js +13 -9
  79. package/modern/LineChart/LineChart.js +15 -3
  80. package/modern/LineChart/LineHighlightElement.js +68 -0
  81. package/modern/LineChart/LineHighlightPlot.js +91 -0
  82. package/modern/LineChart/MarkElement.js +1 -4
  83. package/modern/LineChart/MarkPlot.js +34 -15
  84. package/modern/LineChart/index.js +3 -1
  85. package/modern/PieChart/PieChart.js +1 -1
  86. package/modern/ScatterChart/ScatterChart.js +1 -1
  87. package/modern/SparkLineChart/SparkLineChart.js +8 -13
  88. package/modern/context/CartesianContextProvider.js +4 -4
  89. package/modern/hooks/useAxisEvents.js +21 -38
  90. package/modern/hooks/useTicks.js +2 -2
  91. package/modern/index.js +1 -1
  92. package/package.json +4 -4
@@ -27,6 +27,7 @@ export interface BarChartProps extends Omit<ResponsiveChartContainerProps, 'seri
27
27
  * @default {}
28
28
  */
29
29
  slotProps?: BarChartSlotComponentProps;
30
+ layout?: BarSeriesType['layout'];
30
31
  }
31
32
  declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<unknown>>;
32
33
  export { BarChart };
@@ -31,6 +31,7 @@ const BarChart = /*#__PURE__*/React.forwardRef(function BarChart(props, ref) {
31
31
  colors,
32
32
  dataset,
33
33
  sx,
34
+ layout,
34
35
  tooltip,
35
36
  axisHighlight,
36
37
  legend,
@@ -44,22 +45,34 @@ const BarChart = /*#__PURE__*/React.forwardRef(function BarChart(props, ref) {
44
45
  } = props;
45
46
  const id = (0, _useId.default)();
46
47
  const clipPathId = `${id}-clip-path`;
48
+ const hasHorizontalSeries = layout === 'horizontal' || layout === undefined && series.some(item => item.layout === 'horizontal');
49
+ const defaultAxisConfig = {
50
+ scaleType: 'band',
51
+ data: Array.from({
52
+ length: Math.max(...series.map(s => (s.data ?? dataset ?? []).length))
53
+ }, (_, index) => index)
54
+ };
55
+ const defaultizedAxisHighlight = (0, _extends2.default)({}, hasHorizontalSeries ? {
56
+ y: 'band'
57
+ } : {
58
+ x: 'band'
59
+ }, axisHighlight);
47
60
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ResponsiveChartContainer.ResponsiveChartContainer, {
48
61
  ref: ref,
49
62
  series: series.map(s => (0, _extends2.default)({
50
63
  type: 'bar'
51
- }, s)),
64
+ }, s, {
65
+ layout: hasHorizontalSeries ? 'horizontal' : 'vertical'
66
+ })),
52
67
  width: width,
53
68
  height: height,
54
69
  margin: margin,
55
- xAxis: xAxis ?? [{
56
- id: _constants.DEFAULT_X_AXIS_KEY,
57
- scaleType: 'band',
58
- data: Array.from({
59
- length: Math.max(...series.map(s => (s.data ?? dataset ?? []).length))
60
- }, (_, index) => index)
61
- }],
62
- yAxis: yAxis,
70
+ xAxis: xAxis ?? (hasHorizontalSeries ? undefined : [(0, _extends2.default)({
71
+ id: _constants.DEFAULT_X_AXIS_KEY
72
+ }, defaultAxisConfig)]),
73
+ yAxis: yAxis ?? (hasHorizontalSeries ? [(0, _extends2.default)({
74
+ id: _constants.DEFAULT_Y_AXIS_KEY
75
+ }, defaultAxisConfig)] : undefined),
63
76
  colors: colors,
64
77
  dataset: dataset,
65
78
  sx: sx,
@@ -80,9 +93,7 @@ const BarChart = /*#__PURE__*/React.forwardRef(function BarChart(props, ref) {
80
93
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, (0, _extends2.default)({}, legend, {
81
94
  slots: slots,
82
95
  slotProps: slotProps
83
- })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({
84
- x: "band"
85
- }, axisHighlight)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsTooltip.ChartsTooltip, (0, _extends2.default)({}, tooltip, {
96
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, defaultizedAxisHighlight)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsTooltip.ChartsTooltip, (0, _extends2.default)({}, tooltip, {
86
97
  slots: slots,
87
98
  slotProps: slotProps
88
99
  })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, {
@@ -98,7 +109,7 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
98
109
  // ----------------------------------------------------------------------
99
110
  axisHighlight: _propTypes.default.shape({
100
111
  x: _propTypes.default.oneOf(['band', 'line', 'none']),
101
- y: _propTypes.default.oneOf(['line', 'none'])
112
+ y: _propTypes.default.oneOf(['band', 'line', 'none'])
102
113
  }),
103
114
  /**
104
115
  * Indicate which axis to display the bottom of the charts.
@@ -133,6 +144,7 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
133
144
  desc: _propTypes.default.string,
134
145
  disableAxisListener: _propTypes.default.bool,
135
146
  height: _propTypes.default.number,
147
+ layout: _propTypes.default.oneOf(['horizontal', 'vertical']),
136
148
  /**
137
149
  * Indicate which axis to display the left of the charts.
138
150
  * Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
@@ -213,6 +225,7 @@ process.env.NODE_ENV !== "production" ? BarChart.propTypes = {
213
225
  }),
214
226
  id: _propTypes.default.string,
215
227
  label: _propTypes.default.string,
228
+ layout: _propTypes.default.oneOf(['horizontal', 'vertical']),
216
229
  stack: _propTypes.default.string,
217
230
  stackOffset: _propTypes.default.oneOf(['diverging', 'expand', 'none', 'silhouette', 'wiggle']),
218
231
  stackOrder: _propTypes.default.oneOf(['appearance', 'ascending', 'descending', 'insideOut', 'none', 'reverse']),
@@ -68,27 +68,37 @@ function BarPlot(props) {
68
68
  const yAxisKey = series[seriesId].yAxisKey ?? defaultYAxisId;
69
69
  const xAxisConfig = xAxis[xAxisKey];
70
70
  const yAxisConfig = yAxis[yAxisKey];
71
- if (!(0, _axis.isBandScaleConfig)(xAxisConfig)) {
72
- throw new Error(`Axis with id "${xAxisKey}" shoud be of type "band" to display the bar series of id "${seriesId}"`);
73
- }
74
- if (xAxis[xAxisKey].data === undefined) {
75
- throw new Error(`Axis with id "${xAxisKey}" shoud have data property`);
71
+ const verticalLayout = series[seriesId].layout === 'vertical';
72
+ let baseScaleConfig;
73
+ if (verticalLayout) {
74
+ if (!(0, _axis.isBandScaleConfig)(xAxisConfig)) {
75
+ throw new Error(`Axis with id "${xAxisKey}" shoud be of type "band" to display the bar series of id "${seriesId}"`);
76
+ }
77
+ if (xAxis[xAxisKey].data === undefined) {
78
+ throw new Error(`Axis with id "${xAxisKey}" shoud have data property`);
79
+ }
80
+ baseScaleConfig = xAxisConfig;
81
+ } else {
82
+ if (!(0, _axis.isBandScaleConfig)(yAxisConfig)) {
83
+ throw new Error(`Axis with id "${yAxisKey}" shoud be of type "band" to display the bar series of id "${seriesId}"`);
84
+ }
85
+ if (yAxis[yAxisKey].data === undefined) {
86
+ throw new Error(`Axis with id "${xAxisKey}" shoud have data property`);
87
+ }
88
+ baseScaleConfig = yAxisConfig;
76
89
  }
77
90
  const xScale = xAxisConfig.scale;
78
91
  const yScale = yAxisConfig.scale;
79
-
80
- // Currently assuming all bars are vertical
81
- const bandWidth = xScale.bandwidth();
92
+ const bandWidth = baseScaleConfig.scale.bandwidth();
82
93
  const {
83
94
  barWidth,
84
95
  offset
85
96
  } = getBandSize({
86
97
  bandWidth,
87
98
  numberOfGroups: stackingGroups.length,
88
- gapRatio: xAxisConfig.barGapRatio
99
+ gapRatio: baseScaleConfig.barGapRatio
89
100
  });
90
-
91
- // @ts-ignore TODO: fix when adding a correct API for customisation
101
+ const barOffset = groupIndex * (barWidth + offset);
92
102
  const {
93
103
  stackedData,
94
104
  color
@@ -99,10 +109,10 @@ function BarPlot(props) {
99
109
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BarElement.BarElement, (0, _extends2.default)({
100
110
  id: seriesId,
101
111
  dataIndex: dataIndex,
102
- x: xScale(xAxis[xAxisKey].data?.[dataIndex]) + groupIndex * (barWidth + offset),
103
- y: yScale(value),
104
- height: yScale(baseline) - yScale(value),
105
- width: barWidth,
112
+ x: verticalLayout ? xScale(xAxis[xAxisKey].data?.[dataIndex]) + barOffset : xScale(baseline),
113
+ y: verticalLayout ? yScale(value) : yScale(yAxis[yAxisKey].data?.[dataIndex]) + barOffset,
114
+ height: verticalLayout ? Math.abs(yScale(baseline) - yScale(value)) : barWidth,
115
+ width: verticalLayout ? barWidth : Math.abs(xScale(baseline) - xScale(value)),
106
116
  color: color,
107
117
  highlightScope: series[seriesId].highlightScope
108
118
  }, props), `${seriesId}-${dataIndex}`);
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getExtremumY = exports.getExtremumX = void 0;
7
- const getExtremumX = params => {
7
+ const getBaseExtremum = params => {
8
8
  const {
9
9
  axis
10
10
  } = params;
@@ -12,8 +12,7 @@ const getExtremumX = params => {
12
12
  const maxX = Math.max(...(axis.data ?? []));
13
13
  return [minX, maxX];
14
14
  };
15
- exports.getExtremumX = getExtremumX;
16
- const getExtremumY = params => {
15
+ const getValueExtremum = params => {
17
16
  const {
18
17
  series,
19
18
  axis,
@@ -24,4 +23,21 @@ const getExtremumY = params => {
24
23
  return [acc[0] === null ? seriesMin : Math.min(seriesMin, acc[0]), acc[1] === null ? seriesMax : Math.max(seriesMax, acc[1])];
25
24
  }, [null, null]);
26
25
  };
26
+ const getExtremumX = params => {
27
+ // Notice that bar should be all horizontal or all vertical.
28
+ // Don't think it's a problem for now
29
+ const isHorizontal = Object.keys(params.series).some(seriesId => params.series[seriesId].layout === 'horizontal');
30
+ if (isHorizontal) {
31
+ return getValueExtremum(params);
32
+ }
33
+ return getBaseExtremum(params);
34
+ };
35
+ exports.getExtremumX = getExtremumX;
36
+ const getExtremumY = params => {
37
+ const isHorizontal = Object.keys(params.series).some(seriesId => params.series[seriesId].layout === 'horizontal');
38
+ if (isHorizontal) {
39
+ return getBaseExtremum(params);
40
+ }
41
+ return getValueExtremum(params);
42
+ };
27
43
  exports.getExtremumY = getExtremumY;
@@ -49,7 +49,9 @@ const formatter = (params, dataset) => {
49
49
  })).order(stackingOrder).offset(stackingOffset)(d3Dataset);
50
50
  ids.forEach((id, index) => {
51
51
  const dataKey = series[id].dataKey;
52
- completedSeries[id] = (0, _extends2.default)({}, series[id], {
52
+ completedSeries[id] = (0, _extends2.default)({
53
+ layout: 'vertical'
54
+ }, series[id], {
53
55
  data: dataKey ? dataset.map(d => d[dataKey]) : series[id].data,
54
56
  stackedData: stackedSeries[index].map(([a, b]) => [a, b])
55
57
  });
package/CHANGELOG.md CHANGED
@@ -3,6 +3,187 @@
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.12.1
7
+
8
+ _Aug 31, 2023_
9
+
10
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🏎️ Perf improvement for line charts
13
+ - 🎁 Add `referenceDate` prop on pickers (#9991) @flaviendelangle
14
+ Find out more about this feature in the [documentation section](https://mui.com/x/react-date-pickers/base-concepts/#reference-date-when-no-value-is-defined).
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@v6.12.1`
21
+
22
+ - [DataGrid] Add a recipe showing how to render components outside of the grid (#10121) @DanailH
23
+ - [DataGrid] Fix `valueFormatter` being persisted on column type change (#10041) @cherniavskii
24
+ - [DataGrid] Fix error when keyboard navigating an empty grid (#10081) @romgrk
25
+ - [DataGrid] Replace timeout with `useTimeout` (#10179) @romgrk
26
+
27
+ #### `@mui/x-data-grid-pro@v6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
28
+
29
+ Same changes as in `@mui/x-data-grid@v6.12.1`.
30
+
31
+ #### `@mui/x-data-grid-premium@v6.12.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
32
+
33
+ Same changes as in `@mui/x-data-grid-pro@v6.12.1`.
34
+
35
+ ### Date Pickers
36
+
37
+ #### `@mui/x-date-pickers@v6.12.1`
38
+
39
+ - [pickers] Add `referenceDate` on picker components (and `DateRangeCalendar`) (#9991) @flaviendelangle
40
+
41
+ #### `@mui/x-date-pickers-pro@v6.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
42
+
43
+ Same changes as in `@mui/x-date-pickers@v6.12.1`.
44
+
45
+ ### Charts / `@mui/x-charts@6.0.0-alpha.9`
46
+
47
+ - [charts] Move the line item highligh into a dedicated component (#10117) @alexfauquette
48
+
49
+ ### Docs
50
+
51
+ - [docs] Add `DemoContainer` and `DemoItem` JSDoc (#10186) @LukasTy
52
+ - [docs] Add link to `custom layout` page (#10184) @LukasTy
53
+ - [docs] Add tree view nav item (#10181) @LukasTy
54
+ - [docs] Fix wrong chart tooltip reference (#10169) @oliviertassinari
55
+ - [docs] Improve chart SEO (#10170) @oliviertassinari
56
+ - [docs] Precise expired license key condition (#10165) @oliviertassinari
57
+ - [docs] Reorganize the page menu (#10139) @alexfauquette
58
+
59
+ ### Core
60
+
61
+ - [core] Update babel configs (#9713) @romgrk
62
+ - [test] Disable false positive e2e test on webkit (#10187) @LukasTy
63
+
64
+ ## 6.12.0
65
+
66
+ _Aug 25, 2023_
67
+
68
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
69
+
70
+ - 📊 Support horizontal bar chart
71
+ - 💫 Improved animations on Android devices
72
+ - 🌍 Improve Ukrainian (uk-UA) locale on the data grid
73
+ - 🐞 Bugfixes
74
+ - 📚 Documentation improvements
75
+
76
+ ### Data Grid
77
+
78
+ #### `@mui/x-data-grid@v6.12.0`
79
+
80
+ - [DataGrid] Allow print export for more than 100 rows (#10045) @MBilalShafi
81
+ - [l10n] Improve Ukrainian (uk-UA) locale (#10076) @mkundos
82
+
83
+ #### `@mui/x-data-grid-pro@v6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
84
+
85
+ Same changes as in `@mui/x-data-grid@v6.12.0`.
86
+
87
+ #### `@mui/x-data-grid-premium@v6.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
88
+
89
+ Same changes as in `@mui/x-data-grid-pro@v6.12.0`.
90
+
91
+ ### Date Pickers
92
+
93
+ #### `@mui/x-date-pickers@v6.12.0`
94
+
95
+ - [fields] Do not clamp day of month (#9973) @flaviendelangle
96
+ - [pickers] Fix `ownerState` on `desktopPaper` slot props (#10103) @LukasTy
97
+ - [pickers] Fix to `transform-origin` when popper opens to `top` (#10069) @LukasTy
98
+ - [pickers] Fix `YearCalendar` scrolling (#10135) @LukasTy
99
+ - [pickers] Improve the typing of the adapter `dateWithTimezone` method (#10029) @flaviendelangle
100
+ - [pickers] Make `openPickerButton` toggle picker (#10109) @noraleonte
101
+ - [pickers] Update `reduceAnimations` default rule (#9864) @LukasTy
102
+
103
+ #### `@mui/x-date-pickers-pro@v6.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
104
+
105
+ Same changes as in `@mui/x-date-pickers@v6.12.0`.
106
+
107
+ ### Charts / `@mui/x-charts@6.0.0-alpha.8`
108
+
109
+ - [charts] Fix import issue (#10111) @alexfauquette
110
+ - [charts] Fix `slotProps` propagation (#10105) @alexfauquette
111
+ - [charts] Support horizontal bar chart (#9992) @alexfauquette
112
+
113
+ ### Docs
114
+
115
+ - [docs] Address charts docs feedback (#10119) @alexfauquette
116
+ - [docs] Capitalization convention pickers @oliviertassinari
117
+ - [docs] Fix a11y issue on plan links (#10026) @oliviertassinari
118
+ - [docs] Fix some charts horizontal overflow on mobile devices (#10082) @cupok
119
+ - [docs] Fix typo in quick filter @oliviertassinari
120
+ - [docs] Fix typo in the timezone page (#10073) @flaviendelangle
121
+
122
+ ### Core
123
+
124
+ - [core] Bump monorepo (#10129) @LukasTy
125
+ - [core] Document a bit `useLazyRef` @oliviertassinari
126
+ - [core] Enable strict type checking options in the top-level tsconfig (#9925) @cherniavskii
127
+ - [core] Increase global e2e timeout (#10134) @LukasTy
128
+ - [core] Remove outdated link (#10125) @oliviertassinari
129
+ - [core] Update `no-response` workflow (#10102) @DanailH
130
+
131
+ ## 6.11.2
132
+
133
+ _Aug 17, 2023_
134
+
135
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
136
+
137
+ - 🏎️ Lower the filtering delay in the grid
138
+ - 🌍 Improve Spanish (es-ES) locale on the data grid
139
+ - 🐞 Bugfixes
140
+ - 📚 Documentation improvements
141
+
142
+ ### Data Grid
143
+
144
+ #### `@mui/x-data-grid@v6.11.2`
145
+
146
+ - [DataGrid] Fix `eval` blocked by CSP (#9863) @romgrk
147
+ - [DataGrid] Fix row id bug (#10051) @romgrk
148
+ - [DataGrid] Honor `disableExport` flag in Print Export (#10044) @MBilalShafi
149
+ - [DataGrid] Lower filter debounce delay (#9712) @romgrk
150
+ - [DataGrid] Unhide potential ref binding issue (#9965) @oliviertassinari
151
+ - [l10n] Improve Chinese (zh-CN) and Chinese(traditional) (zh-TW) locales (#9999) @MyNameIsTakenOMG
152
+ - [l10n] Improve Spanish (es-ES) locale (#10037) @Macampu420
153
+
154
+ #### `@mui/x-data-grid-pro@v6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
155
+
156
+ Same changes as in `@mui/x-data-grid@v6.11.2`.
157
+
158
+ #### `@mui/x-data-grid-premium@v6.11.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
159
+
160
+ Same changes as in `@mui/x-data-grid-pro@v6.11.2`.
161
+
162
+ ### Date Pickers
163
+
164
+ #### `@mui/x-date-pickers@v6.11.2`
165
+
166
+ - [pickers] Fix month switcher RTL (#10003) @alexfauquette
167
+ - [pickers] Follow-up on using device motion reduction preference (#9858) @LukasTy
168
+ - [pickers] Pass the shortcut information in the `onChange` context (#9985) @flaviendelangle
169
+ - [pickers] Replace `Grid` toolbar component with a styled `div` (#10052) @LukasTy
170
+
171
+ #### `@mui/x-date-pickers-pro@v6.11.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
172
+
173
+ Same changes as in `@mui/x-date-pickers@v6.11.2`.
174
+
175
+ ### Docs
176
+
177
+ - [docs] Add migration guide for the Tree View (#9987) @flaviendelangle
178
+ - [docs] Fix en-US changelog @oliviertassinari
179
+ - [docs] Update column types (#10040) @romgrk
180
+
181
+ ### Core
182
+
183
+ - [core] Remove unnecessary Box (#9831) @oliviertassinari
184
+ - [core] Set GitHub Action top level permission @oliviertassinari
185
+ - [core] Split the pickers test utils (#9976) @flaviendelangle
186
+
6
187
  ## 6.11.1
7
188
 
8
189
  _Aug 11, 2023_
@@ -21,11 +202,11 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
21
202
 
22
203
  - [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
23
204
 
24
- #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
205
+ #### `@mui/x-data-grid-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
25
206
 
26
207
  Same changes as in `@mui/x-data-grid@6.11.1`.
27
208
 
28
- #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
209
+ #### `@mui/x-data-grid-premium@6.11.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
29
210
 
30
211
  Same changes as in `@mui/x-data-grid-pro@6.11.1`.
31
212
 
@@ -40,7 +221,7 @@ Same changes as in `@mui/x-data-grid-pro@6.11.1`.
40
221
  - [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
41
222
  - [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
42
223
 
43
- #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
224
+ #### `@mui/x-date-pickers-pro@6.11.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
44
225
 
45
226
  Same changes as in `@mui/x-date-pickers@6.11.1`.
46
227
 
@@ -90,11 +271,11 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
90
271
  - [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
91
272
  - [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
92
273
 
93
- #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
274
+ #### `@mui/x-data-grid-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
94
275
 
95
276
  Same changes as in `@mui/x-data-grid@v6.11.0`.
96
277
 
97
- #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
278
+ #### `@mui/x-data-grid-premium@v6.11.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
98
279
 
99
280
  Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
100
281
 
@@ -113,7 +294,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.11.0`.
113
294
  - [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
114
295
  - [pickers] Use device motion reduction preference (#9823) @LukasTy
115
296
 
116
- #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
297
+ #### `@mui/x-date-pickers-pro@v6.11.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
117
298
 
118
299
  Same changes as in `@mui/x-date-pickers@v6.11.0`.
119
300
 
@@ -176,11 +357,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
176
357
  - [DataGrid] Keep focused cell in the DOM (#7357) @yaredtsy
177
358
  - [l10n] Improve Finnish (fi-FI) locale (#9746) @sambbaahh
178
359
 
179
- #### `@mui/x-data-grid-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
360
+ #### `@mui/x-data-grid-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
180
361
 
181
362
  Same changes as in `@mui/x-data-grid@v6.10.2`.
182
363
 
183
- #### `@mui/x-data-grid-premium@v6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
364
+ #### `@mui/x-data-grid-premium@v6.10.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
184
365
 
185
366
  Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
186
367
 
@@ -192,7 +373,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.2`, plus:
192
373
 
193
374
  - [pickers] Remove the `endOfDate` from `DigitalClock` timeOptions (#9800) @noraleonte
194
375
 
195
- #### `@mui/x-date-pickers-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
376
+ #### `@mui/x-date-pickers-pro@v6.10.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
196
377
 
197
378
  Same changes as in `@mui/x-date-pickers@v6.10.2`.
198
379
 
@@ -244,14 +425,14 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
244
425
  - [DataGrid] Update focused cell on page change via keyboard (#9203) @m4theushw
245
426
  - [DataGrid] Wait for remote stylesheets to load before print (#9665) @cherniavskii
246
427
 
247
- #### `@mui/x-data-grid-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
428
+ #### `@mui/x-data-grid-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
248
429
 
249
430
  Same changes as in `@mui/x-data-grid@v6.10.1`, plus:
250
431
 
251
432
  - [DataGridPro] Improve tree data performance (#9682) @cherniavskii
252
433
  - [DataGridPro] Prevent affecting cells from child DataGrid when resizing a column (#9670) @m4theushw
253
434
 
254
- #### `@mui/x-data-grid-premium@v6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
435
+ #### `@mui/x-data-grid-premium@v6.10.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
255
436
 
256
437
  Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
257
438
 
@@ -262,7 +443,7 @@ Same changes as in `@mui/x-data-grid-pro@v6.10.1`.
262
443
  - [fields] Fix `format` and `value` update order (#9715) @LukasTy
263
444
  - [pickers] Remove `require` usage in comment (#9675) @LukasTy
264
445
 
265
- #### `@mui/x-date-pickers-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
446
+ #### `@mui/x-date-pickers-pro@v6.10.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
266
447
 
267
448
  Same changes as in `@mui/x-date-pickers@v6.10.1`.
268
449
 
@@ -313,11 +494,11 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
313
494
  - [DataGrid] Make `rowExpansionChange` event public (#9611) @MBilalShafi
314
495
  - [l10n] Improve Polish (pl-PL) locale (#9625) @ch1llysense
315
496
 
316
- #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
497
+ #### `@mui/x-data-grid-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
317
498
 
318
499
  Same changes as in `@mui/x-data-grid@6.10.0`.
319
500
 
320
- #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
501
+ #### `@mui/x-data-grid-premium@6.10.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
321
502
 
322
503
  Same changes as in `@mui/x-data-grid-pro@6.10.0`.
323
504
 
@@ -328,7 +509,7 @@ Same changes as in `@mui/x-data-grid-pro@6.10.0`.
328
509
  - [pickers] Fix date calendar issues (#9652) @LukasTy
329
510
  - [l10n] Improve Norwegian (nb-NO) locale (#9608) @JosteinBrevik
330
511
 
331
- #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
512
+ #### `@mui/x-date-pickers-pro@6.10.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
332
513
 
333
514
  Same changes as in `@mui/x-date-pickers@6.10.0`.
334
515
 
@@ -381,11 +562,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
381
562
  - [DataGrid] Correctly reflect `TablePagination`'s `rowsPerPageOptions` shape to `pageSizeOptions` (#9438) @burakkgunduzz
382
563
  - [l10n] Improve Spanish (es-ES) locale (#9500) @fufex
383
564
 
384
- #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
565
+ #### `@mui/x-data-grid-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
385
566
 
386
567
  Same changes as in `@mui/x-data-grid@6.9.2`.
387
568
 
388
- #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
569
+ #### `@mui/x-data-grid-premium@6.9.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
389
570
 
390
571
  Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
391
572
 
@@ -398,7 +579,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.2`, plus:
398
579
  - [pickers] Forward digital clock classes (#9555) @YoonjiJang
399
580
  - [pickers] Rename `internal` folder to `internals` on `@mui/x-date-picker-pro` (#9571) @flaviendelangle
400
581
 
401
- #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
582
+ #### `@mui/x-date-pickers-pro@6.9.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
402
583
 
403
584
  Same changes as in `@mui/x-date-pickers@6.9.2`.
404
585
 
@@ -446,14 +627,14 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
446
627
  - [DataGrid] Fix `Maximum call stack size exceeded` error when using fractional width (#9516) @cherniavskii
447
628
  - [l10n] Improve Romanian (ro-RO) and Hungarian (hu-HU) translations (#9436) @noraleonte
448
629
 
449
- #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
630
+ #### `@mui/x-data-grid-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
450
631
 
451
632
  Same changes as in `@mui/x-data-grid@6.9.1`, plus:
452
633
 
453
634
  - [DataGridPro] Don't throw error in column pinning (#9507) @romgrk
454
635
  - [DataGridPro] Fix bug with `checkboxSelection` and treeData/grouping (#9418) @romgrk
455
636
 
456
- #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
637
+ #### `@mui/x-data-grid-premium@6.9.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
457
638
 
458
639
  Same changes as in `@mui/x-data-grid-pro@6.9.1`.
459
640
 
@@ -467,7 +648,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.1`.
467
648
  - [l10n] Add Chinese (Hong Kong) (zh-HK) locale (#9468) @samchiu90
468
649
  - [l10n] Improve Romanian (ro-RO) translations (#9436) @noraleonte
469
650
 
470
- #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
651
+ #### `@mui/x-date-pickers-pro@6.9.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
471
652
 
472
653
  Same changes as in `@mui/x-date-pickers@6.9.1`.
473
654
 
@@ -531,11 +712,11 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
531
712
  - [DataGrid] Use container dimensions from `getComputedStyle` (#9236) @m4theushw
532
713
  - [l10n] Improve Brazilian Portuguese (pt-BR) locale (#9404) @julioAz
533
714
 
534
- #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
715
+ #### `@mui/x-data-grid-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
535
716
 
536
717
  Same changes as in `@mui/x-data-grid@6.9.0`.
537
718
 
538
- #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
719
+ #### `@mui/x-data-grid-premium@6.9.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
539
720
 
540
721
  Same changes as in `@mui/x-data-grid-pro@6.9.0`.
541
722
 
@@ -551,7 +732,7 @@ Same changes as in `@mui/x-data-grid-pro@6.9.0`.
551
732
  - [pickers] Reduce date range calendar vertical border width (#9368) @oliviertassinari
552
733
  - [pickers] Reset fields internal state when pasting value (#9385) @alexfauquette
553
734
 
554
- #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
735
+ #### `@mui/x-date-pickers-pro@6.9.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
555
736
 
556
737
  Same changes as in `@mui/x-date-pickers@6.9.0`.
557
738
 
@@ -607,11 +788,11 @@ We'd like to offer a big thanks to the 13 contributors who made this release pos
607
788
  - [DataGrid] Scroll performance improvements (#9037) @romgrk
608
789
  - [l10n] Improve Greek (el-GR) locale (#9292) @clytras
609
790
 
610
- #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
791
+ #### `@mui/x-data-grid-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
611
792
 
612
793
  Same changes as in `@mui/x-data-grid@6.8.0`.
613
794
 
614
- #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
795
+ #### `@mui/x-data-grid-premium@6.8.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
615
796
 
616
797
  Same changes as in `@mui/x-data-grid-pro@6.8.0`.
617
798
 
@@ -624,7 +805,7 @@ Same changes as in `@mui/x-data-grid-pro@6.8.0`.
624
805
  - [pickers] Close the calendar when a shortcut is selected (#9080) @flaviendelangle
625
806
  - [pickers] Fix disabling for digital clock (#9300) @alexfauquette
626
807
 
627
- #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
808
+ #### `@mui/x-date-pickers-pro@6.8.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
628
809
 
629
810
  Same changes as in `@mui/x-date-pickers@6.8.0`.
630
811
 
@@ -700,13 +881,13 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
700
881
  - [l10n] Improve German (de-DE) locale (#9259) @ximex
701
882
  - [l10n] Improve Turkish (tr-TR) locale (#9237) @MCErtan
702
883
 
703
- #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
884
+ #### `@mui/x-data-grid-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
704
885
 
705
886
  Same changes as in `@mui/x-data-grid@6.7.0`, plus:
706
887
 
707
888
  - [DataGridPro] Improve header filter menu visuals (#9181) @MBilalShafi
708
889
 
709
- #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link)
890
+ #### `@mui/x-data-grid-premium@6.7.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
710
891
 
711
892
  Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
712
893
 
@@ -720,7 +901,7 @@ Same changes as in `@mui/x-data-grid-pro@6.7.0`, plus:
720
901
  - [l10n] Improve German (de-DE) locale (#9258) @ximex
721
902
  - [pickers] Apply dynamic default format depending on views for all desktop and mobile pickers (#9126) @flaviendelangle
722
903
 
723
- #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link)
904
+ #### `@mui/x-date-pickers-pro@6.7.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
724
905
 
725
906
  Same changes as in `@mui/x-date-pickers@6.7.0`, plus:
726
907
 
@@ -2872,7 +3053,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
2872
3053
 
2873
3054
  #### Changes
2874
3055
 
2875
- - [DateRangePicker] Fix input focused style and mobile behaviour (#6645) @LukasTy
3056
+ - [DateRangePicker] Fix input focused style and mobile behavior (#6645) @LukasTy
2876
3057
  - [fields] Update sections when the locale changes (#6649) @flaviendelangle
2877
3058
  - [pickers] Add Ukrainian (uk-UA) locale (#6661) @Dufran
2878
3059
  - [pickers] Allow non-controlled usage of the calendar components (#6643) @flaviendelangle
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
+ type AxisHighlight = 'none' | 'line' | 'band';
2
3
  export type ChartsAxisHighlightProps = {
3
- x?: 'none' | 'line' | 'band';
4
- y?: 'none' | 'line';
4
+ x?: AxisHighlight;
5
+ y?: AxisHighlight;
5
6
  };
6
7
  declare function ChartsAxisHighlight(props: ChartsAxisHighlightProps): React.JSX.Element;
7
8
  declare namespace ChartsAxisHighlight {