@mui/x-charts-premium 9.8.0 β 9.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChartPremium/BarChartPremium.d.mts +1 -1
- package/BarChartPremium/BarChartPremium.d.ts +1 -1
- package/BarChartPremium/BarChartPremium.js +14 -3
- package/BarChartPremium/BarChartPremium.mjs +14 -3
- package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts +2 -1
- package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts +2 -1
- package/BarChartPremium/RangeBar/FocusedRangeBar.d.mts +1 -1
- package/BarChartPremium/RangeBar/FocusedRangeBar.d.ts +1 -1
- package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
- package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
- package/BarChartPremium/RangeBar/seriesConfig/index.js +2 -2
- package/BarChartPremium/RangeBar/seriesConfig/index.mjs +2 -2
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts +2 -3
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts +2 -3
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.js +12 -15
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.mjs +11 -14
- package/BarChartPremium/useBarChartPremiumProps.d.mts +3 -3
- package/BarChartPremium/useBarChartPremiumProps.d.ts +3 -3
- package/CHANGELOG.md +230 -0
- package/CandlestickChart/CandlestickPlot.d.mts +2 -1
- package/CandlestickChart/CandlestickPlot.d.ts +2 -1
- package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.mts +2 -1
- package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.ts +2 -1
- package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
- package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
- package/CandlestickChart/seriesConfig/index.js +2 -2
- package/CandlestickChart/seriesConfig/index.mjs +2 -2
- package/CandlestickChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/CandlestickChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/CandlestickChart/seriesConfig/tooltipPosition.js +10 -14
- package/CandlestickChart/seriesConfig/tooltipPosition.mjs +10 -14
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +1 -1
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +1 -1
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +2 -2
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +2 -2
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +1 -1
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.mts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.ts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +2 -2
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +2 -2
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.mts +4 -3
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.ts +4 -3
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.js +2 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.mjs +2 -1
- package/ChartsGeoDataProviderPremium/index.d.mts +2 -1
- package/ChartsGeoDataProviderPremium/index.d.ts +2 -1
- package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.mts +1 -1
- package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.ts +1 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.mts +2 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.ts +2 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +2 -2
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +2 -2
- package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.mts +2 -3
- package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.ts +2 -3
- package/ChartsRenderer/components/PaletteOption.d.mts +1 -1
- package/ChartsRenderer/components/PaletteOption.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.mts +2 -1
- package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.ts +2 -1
- package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts +1 -1
- package/HeatmapPremium/HeatmapPlotPremium.d.mts +1 -1
- package/HeatmapPremium/HeatmapPlotPremium.d.ts +1 -1
- package/HeatmapPremium/useHeatmapPremiumProps.d.mts +2 -2
- package/HeatmapPremium/useHeatmapPremiumProps.d.ts +2 -2
- package/Map/FocusedMapShape.d.mts +2 -1
- package/Map/FocusedMapShape.d.ts +2 -1
- package/Map/GeoDataPlot.d.mts +1 -1
- package/Map/GeoDataPlot.d.ts +1 -1
- package/Map/Graticule.d.mts +1 -1
- package/Map/Graticule.d.ts +1 -1
- package/Map/MapImagePlot.d.mts +1 -1
- package/Map/MapImagePlot.d.ts +1 -1
- package/Map/MapShape.d.mts +1 -1
- package/Map/MapShape.d.ts +1 -1
- package/Map/MapShapePlot.d.mts +1 -1
- package/Map/MapShapePlot.d.ts +1 -1
- package/Map/index.d.mts +1 -3
- package/Map/index.d.ts +1 -3
- package/Map/seriesConfig/highlight.d.mts +2 -2
- package/Map/seriesConfig/highlight.d.ts +2 -2
- package/Map/seriesConfig/tooltipPosition.d.mts +1 -1
- package/Map/seriesConfig/tooltipPosition.d.ts +1 -1
- package/Map/seriesConfig/tooltipPosition.js +2 -8
- package/Map/seriesConfig/tooltipPosition.mjs +3 -9
- package/RadialBarChart/RadialBarElement.d.mts +1 -1
- package/RadialBarChart/RadialBarElement.d.ts +1 -1
- package/RadialBarChart/radialBarClasses.d.mts +1 -1
- package/RadialBarChart/radialBarClasses.d.ts +1 -1
- package/RadialBarChart/seriesConfig/index.js +2 -2
- package/RadialBarChart/seriesConfig/index.mjs +2 -2
- package/RadialBarChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/RadialBarChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/RadialBarChart/seriesConfig/tooltipPosition.js +4 -6
- package/RadialBarChart/seriesConfig/tooltipPosition.mjs +2 -5
- package/RadialLineChart/RadialArea.d.mts +2 -1
- package/RadialLineChart/RadialArea.d.ts +2 -1
- package/RadialLineChart/RadialAreaPlot.d.mts +1 -1
- package/RadialLineChart/RadialAreaPlot.d.ts +1 -1
- package/RadialLineChart/RadialLine.d.mts +1 -1
- package/RadialLineChart/RadialLine.d.ts +1 -1
- package/RadialLineChart/RadialLineHighlightElement.d.mts +1 -1
- package/RadialLineChart/RadialLineHighlightElement.d.ts +1 -1
- package/RadialLineChart/RadialLineHighlightPlot.d.mts +1 -1
- package/RadialLineChart/RadialLineHighlightPlot.d.ts +1 -1
- package/RadialLineChart/RadialLinePlot.d.mts +1 -1
- package/RadialLineChart/RadialLinePlot.d.ts +1 -1
- package/RadialLineChart/RadialMarkPlot.d.mts +1 -1
- package/RadialLineChart/RadialMarkPlot.d.ts +1 -1
- package/RadialLineChart/radialLineClasses.d.mts +1 -1
- package/RadialLineChart/radialLineClasses.d.ts +1 -1
- package/RadialLineChart/seriesConfig/index.js +2 -2
- package/RadialLineChart/seriesConfig/index.mjs +2 -2
- package/RadialLineChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/RadialLineChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/RadialLineChart/seriesConfig/tooltipPosition.js +4 -6
- package/RadialLineChart/seriesConfig/tooltipPosition.mjs +2 -5
- package/ScatterChartPremium/ScatterChartPremium.d.mts +2 -1
- package/ScatterChartPremium/ScatterChartPremium.d.ts +2 -1
- package/ScatterChartPremium/ScatterPlotPremium.d.mts +2 -1
- package/ScatterChartPremium/ScatterPlotPremium.d.ts +2 -1
- package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.mts +2 -1
- package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.ts +2 -1
- package/colorPalettes/complementary/candlestick.d.mts +2 -2
- package/colorPalettes/complementary/candlestick.d.ts +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/plugins/allPlugins.d.mts +2 -2
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/internals/plugins/useGeoProjection/factories.d.mts +3 -0
- package/internals/plugins/useGeoProjection/factories.d.ts +3 -0
- package/internals/plugins/useGeoProjection/factories.js +29 -0
- package/internals/plugins/useGeoProjection/factories.mjs +23 -0
- package/internals/plugins/useGeoProjection/projection.utils.d.mts +17 -0
- package/internals/plugins/useGeoProjection/projection.utils.d.ts +17 -0
- package/internals/plugins/useGeoProjection/projection.utils.js +67 -0
- package/internals/plugins/useGeoProjection/projection.utils.mjs +59 -0
- package/internals/plugins/useGeoProjection/useGeoProjection.js +7 -40
- package/internals/plugins/useGeoProjection/useGeoProjection.mjs +7 -40
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.mts +47 -11
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.ts +47 -11
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.js +118 -8
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -8
- package/internals/plugins/useGeoProjection/useGeoProjection.types.d.mts +63 -2
- package/internals/plugins/useGeoProjection/useGeoProjection.types.d.ts +63 -2
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.mts +11 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.ts +11 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.js +65 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.mjs +58 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.mts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.ts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.js +62 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.mjs +56 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.mts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.ts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.js +64 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.mjs +58 -0
- package/internals/plugins/useGeoProjectionZoom/index.d.mts +2 -0
- package/internals/plugins/useGeoProjectionZoom/index.d.ts +2 -0
- package/internals/plugins/useGeoProjectionZoom/index.js +12 -0
- package/internals/plugins/useGeoProjectionZoom/index.mjs +1 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.mts +31 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.ts +31 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.js +187 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.mjs +177 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.d.mts +23 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.d.ts +23 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.js +190 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.mjs +182 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.mts +3 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.ts +3 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.js +174 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.mjs +166 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.mts +152 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.ts +152 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.js +5 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.mjs +1 -0
- package/package.json +6 -6
- package/plugins/selectors/useChartCandlestickPosition.selectors.d.mts +1 -1
- package/plugins/selectors/useChartCandlestickPosition.selectors.d.ts +1 -1
|
@@ -8,7 +8,7 @@ import type { ChartsContainerPremiumProps } from "../ChartsContainerPremium/inde
|
|
|
8
8
|
export type RangeBarSeries = RangeBarSeriesType;
|
|
9
9
|
export interface BarChartPremiumSlots extends BarChartProSlots {}
|
|
10
10
|
export interface BarChartPremiumSlotProps extends BarChartProSlotProps {}
|
|
11
|
-
export interface BarChartPremiumProps extends Omit<BarChartProProps, 'apiRef' | 'slots' | 'slotProps' | 'seriesConfig' | 'plugins' | 'series' | 'renderer'>, Omit<ChartsContainerPremiumProps<'bar', BarChartPremiumPluginSignatures>, 'series' | 'slots' | 'slotProps'>, Pick<BarPlotPremiumProps, 'renderer'> {
|
|
11
|
+
export interface BarChartPremiumProps extends Omit<BarChartProProps, 'apiRef' | 'slots' | 'slotProps' | 'seriesConfig' | 'plugins' | 'series' | 'renderer'>, Omit<ChartsContainerPremiumProps<'bar', BarChartPremiumPluginSignatures>, 'series' | 'slots' | 'slotProps' | 'sampling'>, Pick<BarPlotPremiumProps, 'renderer'> {
|
|
12
12
|
/**
|
|
13
13
|
* Overridable component slots.
|
|
14
14
|
* @default {}
|
|
@@ -8,7 +8,7 @@ import type { ChartsContainerPremiumProps } from "../ChartsContainerPremium/inde
|
|
|
8
8
|
export type RangeBarSeries = RangeBarSeriesType;
|
|
9
9
|
export interface BarChartPremiumSlots extends BarChartProSlots {}
|
|
10
10
|
export interface BarChartPremiumSlotProps extends BarChartProSlotProps {}
|
|
11
|
-
export interface BarChartPremiumProps extends Omit<BarChartProProps, 'apiRef' | 'slots' | 'slotProps' | 'seriesConfig' | 'plugins' | 'series' | 'renderer'>, Omit<ChartsContainerPremiumProps<'bar', BarChartPremiumPluginSignatures>, 'series' | 'slots' | 'slotProps'>, Pick<BarPlotPremiumProps, 'renderer'> {
|
|
11
|
+
export interface BarChartPremiumProps extends Omit<BarChartProProps, 'apiRef' | 'slots' | 'slotProps' | 'seriesConfig' | 'plugins' | 'series' | 'renderer'>, Omit<ChartsContainerPremiumProps<'bar', BarChartPremiumPluginSignatures>, 'series' | 'slots' | 'slotProps' | 'sampling'>, Pick<BarPlotPremiumProps, 'renderer'> {
|
|
12
12
|
/**
|
|
13
13
|
* Overridable component slots.
|
|
14
14
|
* @default {}
|
|
@@ -35,7 +35,7 @@ var _ChartsDataProviderPremium = require("../ChartsDataProviderPremium");
|
|
|
35
35
|
var _RangeBarPlot = require("./RangeBar/RangeBarPlot");
|
|
36
36
|
var _FocusedRangeBar = require("./RangeBar/FocusedRangeBar");
|
|
37
37
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
38
|
-
const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar"];
|
|
38
|
+
const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar", "sampling"];
|
|
39
39
|
/**
|
|
40
40
|
* Demos:
|
|
41
41
|
*
|
|
@@ -57,7 +57,8 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
|
|
|
57
57
|
zoomData,
|
|
58
58
|
onZoomChange,
|
|
59
59
|
apiRef,
|
|
60
|
-
showToolbar
|
|
60
|
+
showToolbar,
|
|
61
|
+
sampling
|
|
61
62
|
} = props,
|
|
62
63
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
63
64
|
const {
|
|
@@ -83,7 +84,10 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
|
|
|
83
84
|
onZoomChange,
|
|
84
85
|
apiRef,
|
|
85
86
|
plugins: _BarChartPremium2.BAR_CHART_PREMIUM_PLUGINS
|
|
86
|
-
})
|
|
87
|
+
}), {
|
|
88
|
+
seriesType: 'bar',
|
|
89
|
+
method: sampling
|
|
90
|
+
});
|
|
87
91
|
const Tooltip = props.slots?.tooltip ?? _ChartsTooltip.ChartsTooltip;
|
|
88
92
|
const Toolbar = props.slots?.toolbar ?? _ChartsToolbarPro.ChartsToolbarPro;
|
|
89
93
|
const renderer = barPlotPremiumProps.renderer;
|
|
@@ -382,6 +386,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes /* remove-prop
|
|
|
382
386
|
* @default 'svg-single'
|
|
383
387
|
*/
|
|
384
388
|
renderer: _propTypes.default.oneOf(['svg-batch', 'svg-single', 'webgl']),
|
|
389
|
+
/**
|
|
390
|
+
* Sampling method used to render large datasets when zoomed out.
|
|
391
|
+
* - `'none'`: render every bar (no sampling).
|
|
392
|
+
* - `'minmax'`: keep the min and max per bucket and draw one merged bar.
|
|
393
|
+
* @default 'none'
|
|
394
|
+
*/
|
|
395
|
+
sampling: _propTypes.default.oneOf(['minmax', 'none']),
|
|
385
396
|
/**
|
|
386
397
|
* The series to display in the bar chart.
|
|
387
398
|
* An array of [[BarSeries]] or [[RangeBarSeries]] objects.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
|
-
const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar"];
|
|
5
|
+
const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar", "sampling"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { useThemeProps } from '@mui/material/styles';
|
|
@@ -50,7 +50,8 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
|
|
|
50
50
|
zoomData,
|
|
51
51
|
onZoomChange,
|
|
52
52
|
apiRef,
|
|
53
|
-
showToolbar
|
|
53
|
+
showToolbar,
|
|
54
|
+
sampling
|
|
54
55
|
} = props,
|
|
55
56
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
56
57
|
const {
|
|
@@ -76,7 +77,10 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
|
|
|
76
77
|
onZoomChange,
|
|
77
78
|
apiRef,
|
|
78
79
|
plugins: BAR_CHART_PREMIUM_PLUGINS
|
|
79
|
-
})
|
|
80
|
+
}), {
|
|
81
|
+
seriesType: 'bar',
|
|
82
|
+
method: sampling
|
|
83
|
+
});
|
|
80
84
|
const Tooltip = props.slots?.tooltip ?? ChartsTooltip;
|
|
81
85
|
const Toolbar = props.slots?.toolbar ?? ChartsToolbarPro;
|
|
82
86
|
const renderer = barPlotPremiumProps.renderer;
|
|
@@ -375,6 +379,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes /* remove-prop
|
|
|
375
379
|
* @default 'svg-single'
|
|
376
380
|
*/
|
|
377
381
|
renderer: PropTypes.oneOf(['svg-batch', 'svg-single', 'webgl']),
|
|
382
|
+
/**
|
|
383
|
+
* Sampling method used to render large datasets when zoomed out.
|
|
384
|
+
* - `'none'`: render every bar (no sampling).
|
|
385
|
+
* - `'minmax'`: keep the min and max per bucket and draw one merged bar.
|
|
386
|
+
* @default 'none'
|
|
387
|
+
*/
|
|
388
|
+
sampling: PropTypes.oneOf(['minmax', 'none']),
|
|
378
389
|
/**
|
|
379
390
|
* The series to display in the bar chart.
|
|
380
391
|
* An array of [[BarSeries]] or [[RangeBarSeries]] objects.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { BarProps } from '@mui/x-charts/BarChart';
|
|
2
3
|
export interface AnimatedRangeBarElementProps extends BarProps {
|
|
3
4
|
/**
|
|
@@ -5,4 +6,4 @@ export interface AnimatedRangeBarElementProps extends BarProps {
|
|
|
5
6
|
*/
|
|
6
7
|
hidden?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function AnimatedRangeBarElement(props: AnimatedRangeBarElementProps):
|
|
9
|
+
export declare function AnimatedRangeBarElement(props: AnimatedRangeBarElementProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { BarProps } from '@mui/x-charts/BarChart';
|
|
2
3
|
export interface AnimatedRangeBarElementProps extends BarProps {
|
|
3
4
|
/**
|
|
@@ -5,4 +6,4 @@ export interface AnimatedRangeBarElementProps extends BarProps {
|
|
|
5
6
|
*/
|
|
6
7
|
hidden?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function AnimatedRangeBarElement(props: AnimatedRangeBarElementProps):
|
|
9
|
+
export declare function AnimatedRangeBarElement(props: AnimatedRangeBarElementProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare function FocusedRangeBar(props: React.SVGAttributes<SVGRectElement>):
|
|
2
|
+
export declare function FocusedRangeBar(props: React.SVGAttributes<SVGRectElement>): React.JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare function FocusedRangeBar(props: React.SVGAttributes<SVGRectElement>):
|
|
2
|
+
export declare function FocusedRangeBar(props: React.SVGAttributes<SVGRectElement>): React.JSX.Element | null;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { AllSeriesType } from '@mui/x-charts/models';
|
|
2
2
|
export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'rangeBar'>, seriesIndex: number, colors: readonly string[]): {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.mjs").RangeBarValueType | null>) => string) | undefined;
|
|
4
|
+
valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.mjs").RangeBarValueType | null> | undefined;
|
|
5
|
+
highlightScope?: import("@mui/x-charts/internals").CommonHighlightScope | undefined;
|
|
6
|
+
labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
|
|
7
|
+
xAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
8
|
+
yAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
9
|
+
type: 'rangeBar';
|
|
6
10
|
data?: ReadonlyArray<import("../../../index.mjs").RangeBarValueType | null>;
|
|
7
11
|
valueGetter?: (item: import("@mui/x-charts/internals").DatasetElementType<unknown>) => import("../../../index.mjs").RangeBarValueType | null;
|
|
8
12
|
datasetKeys?: {
|
|
9
13
|
start: string;
|
|
10
14
|
end: string;
|
|
11
15
|
};
|
|
12
|
-
label?: string | ((location:
|
|
13
|
-
layout?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
|
|
17
|
-
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.mjs").RangeBarValueType | null>) => string) | undefined;
|
|
18
|
-
xAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
19
|
-
yAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
16
|
+
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
17
|
+
layout?: 'horizontal' | 'vertical';
|
|
18
|
+
id: string;
|
|
19
|
+
color: string;
|
|
20
20
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { AllSeriesType } from '@mui/x-charts/models';
|
|
2
2
|
export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'rangeBar'>, seriesIndex: number, colors: readonly string[]): {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.js").RangeBarValueType | null>) => string) | undefined;
|
|
4
|
+
valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.js").RangeBarValueType | null> | undefined;
|
|
5
|
+
highlightScope?: import("@mui/x-charts/internals").CommonHighlightScope | undefined;
|
|
6
|
+
labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
|
|
7
|
+
xAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
8
|
+
yAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
9
|
+
type: 'rangeBar';
|
|
6
10
|
data?: ReadonlyArray<import("../../../index.js").RangeBarValueType | null>;
|
|
7
11
|
valueGetter?: (item: import("@mui/x-charts/internals").DatasetElementType<unknown>) => import("../../../index.js").RangeBarValueType | null;
|
|
8
12
|
datasetKeys?: {
|
|
9
13
|
start: string;
|
|
10
14
|
end: string;
|
|
11
15
|
};
|
|
12
|
-
label?: string | ((location:
|
|
13
|
-
layout?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
|
|
17
|
-
colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.js").RangeBarValueType | null>) => string) | undefined;
|
|
18
|
-
xAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
19
|
-
yAxisId?: import("@mui/x-charts/internals").AxisId;
|
|
16
|
+
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
17
|
+
layout?: 'horizontal' | 'vertical';
|
|
18
|
+
id: string;
|
|
19
|
+
color: string;
|
|
20
20
|
};
|
|
@@ -14,7 +14,7 @@ var _seriesProcessor = _interopRequireDefault(require("./seriesProcessor"));
|
|
|
14
14
|
var _getColor = _interopRequireDefault(require("./getColor"));
|
|
15
15
|
var _legend = _interopRequireDefault(require("./legend"));
|
|
16
16
|
var _keyboardFocusHandler = _interopRequireDefault(require("./keyboardFocusHandler"));
|
|
17
|
-
var _tooltipPosition =
|
|
17
|
+
var _tooltipPosition = require("./tooltipPosition");
|
|
18
18
|
var _getSeriesWithDefaultValues = require("./getSeriesWithDefaultValues");
|
|
19
19
|
var _descriptionGetter = _interopRequireDefault(require("./descriptionGetter"));
|
|
20
20
|
var _RangeBarPreviewPlot = require("../../../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot");
|
|
@@ -23,7 +23,7 @@ const rangeBarSeriesConfig = exports.rangeBarSeriesConfig = {
|
|
|
23
23
|
colorProcessor: _getColor.default,
|
|
24
24
|
legendGetter: _legend.default,
|
|
25
25
|
tooltipGetter: _tooltip.default,
|
|
26
|
-
|
|
26
|
+
selectorTooltipItemPosition: _tooltipPosition.selectorTooltipItemPosition,
|
|
27
27
|
axisTooltipGetter: _tooltip.axisTooltipGetter,
|
|
28
28
|
xExtremumGetter: _extrema.getExtremumX,
|
|
29
29
|
yExtremumGetter: _extrema.getExtremumY,
|
|
@@ -6,7 +6,7 @@ import seriesProcessor from "./seriesProcessor.mjs";
|
|
|
6
6
|
import getColor from "./getColor.mjs";
|
|
7
7
|
import legendGetter from "./legend.mjs";
|
|
8
8
|
import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
|
|
9
|
-
import
|
|
9
|
+
import { selectorTooltipItemPosition } from "./tooltipPosition.mjs";
|
|
10
10
|
import { getSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.mjs";
|
|
11
11
|
import descriptionGetter from "./descriptionGetter.mjs";
|
|
12
12
|
import { RangeBarPreviewPlot } from "../../../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.mjs";
|
|
@@ -15,7 +15,7 @@ export const rangeBarSeriesConfig = {
|
|
|
15
15
|
colorProcessor: getColor,
|
|
16
16
|
legendGetter,
|
|
17
17
|
tooltipGetter,
|
|
18
|
-
|
|
18
|
+
selectorTooltipItemPosition,
|
|
19
19
|
axisTooltipGetter,
|
|
20
20
|
xExtremumGetter: getExtremumX,
|
|
21
21
|
yExtremumGetter: getExtremumY,
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'rangeBar'>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'rangeBar'>;
|
|
@@ -3,29 +3,27 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.selectorTooltipItemPosition = void 0;
|
|
7
|
+
var _store = require("@mui/x-internals/store");
|
|
8
|
+
var _internals = require("@mui/x-charts/internals");
|
|
7
9
|
var _createGetRangeBarDimensions = require("../createGetRangeBarDimensions");
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
series,
|
|
11
|
-
identifier,
|
|
12
|
-
axesConfig,
|
|
13
|
-
placement
|
|
14
|
-
} = params;
|
|
15
|
-
if (!identifier || identifier.dataIndex === undefined) {
|
|
10
|
+
const selectorTooltipItemPosition = exports.selectorTooltipItemPosition = (0, _store.createSelectorMemoized)(_internals.selectorChartsTooltipItem, _internals.selectorChartSeriesProcessed, _internals.selectorChartXAxis, _internals.selectorChartYAxis, function selectorTooltipItemPosition(identifier, series, xAxes, yAxes, placement) {
|
|
11
|
+
if (!identifier || identifier.type !== 'rangeBar' || identifier.dataIndex === undefined) {
|
|
16
12
|
return null;
|
|
17
13
|
}
|
|
18
14
|
const itemSeries = series.rangeBar?.series[identifier.seriesId];
|
|
19
|
-
if (series.rangeBar
|
|
15
|
+
if (!series.rangeBar || !itemSeries) {
|
|
20
16
|
return null;
|
|
21
17
|
}
|
|
22
|
-
|
|
18
|
+
const xAxis = xAxes.axis[itemSeries.xAxisId ?? xAxes.axisIds[0]];
|
|
19
|
+
const yAxis = yAxes.axis[itemSeries.yAxisId ?? yAxes.axisIds[0]];
|
|
20
|
+
if (xAxis === undefined || yAxis === undefined) {
|
|
23
21
|
return null;
|
|
24
22
|
}
|
|
25
23
|
const dimensions = (0, _createGetRangeBarDimensions.createGetRangeBarDimensions)({
|
|
26
24
|
verticalLayout: itemSeries.layout === 'vertical',
|
|
27
|
-
xAxisConfig:
|
|
28
|
-
yAxisConfig:
|
|
25
|
+
xAxisConfig: xAxis,
|
|
26
|
+
yAxisConfig: yAxis,
|
|
29
27
|
series: itemSeries,
|
|
30
28
|
numberOfGroups: series.rangeBar.seriesOrder.length
|
|
31
29
|
})(identifier.dataIndex, series.rangeBar.seriesOrder.findIndex(id => id === itemSeries.id));
|
|
@@ -61,5 +59,4 @@ const tooltipItemPositionGetter = params => {
|
|
|
61
59
|
y
|
|
62
60
|
};
|
|
63
61
|
}
|
|
64
|
-
};
|
|
65
|
-
var _default = exports.default = tooltipItemPositionGetter;
|
|
62
|
+
});
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
+
import { createSelectorMemoized } from '@mui/x-internals/store';
|
|
2
|
+
import { selectorChartsTooltipItem, selectorChartSeriesProcessed, selectorChartXAxis, selectorChartYAxis } from '@mui/x-charts/internals';
|
|
1
3
|
import { createGetRangeBarDimensions } from "../createGetRangeBarDimensions.mjs";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
series,
|
|
5
|
-
identifier,
|
|
6
|
-
axesConfig,
|
|
7
|
-
placement
|
|
8
|
-
} = params;
|
|
9
|
-
if (!identifier || identifier.dataIndex === undefined) {
|
|
4
|
+
export const selectorTooltipItemPosition = createSelectorMemoized(selectorChartsTooltipItem, selectorChartSeriesProcessed, selectorChartXAxis, selectorChartYAxis, function selectorTooltipItemPosition(identifier, series, xAxes, yAxes, placement) {
|
|
5
|
+
if (!identifier || identifier.type !== 'rangeBar' || identifier.dataIndex === undefined) {
|
|
10
6
|
return null;
|
|
11
7
|
}
|
|
12
8
|
const itemSeries = series.rangeBar?.series[identifier.seriesId];
|
|
13
|
-
if (series.rangeBar
|
|
9
|
+
if (!series.rangeBar || !itemSeries) {
|
|
14
10
|
return null;
|
|
15
11
|
}
|
|
16
|
-
|
|
12
|
+
const xAxis = xAxes.axis[itemSeries.xAxisId ?? xAxes.axisIds[0]];
|
|
13
|
+
const yAxis = yAxes.axis[itemSeries.yAxisId ?? yAxes.axisIds[0]];
|
|
14
|
+
if (xAxis === undefined || yAxis === undefined) {
|
|
17
15
|
return null;
|
|
18
16
|
}
|
|
19
17
|
const dimensions = createGetRangeBarDimensions({
|
|
20
18
|
verticalLayout: itemSeries.layout === 'vertical',
|
|
21
|
-
xAxisConfig:
|
|
22
|
-
yAxisConfig:
|
|
19
|
+
xAxisConfig: xAxis,
|
|
20
|
+
yAxisConfig: yAxis,
|
|
23
21
|
series: itemSeries,
|
|
24
22
|
numberOfGroups: series.rangeBar.seriesOrder.length
|
|
25
23
|
})(identifier.dataIndex, series.rangeBar.seriesOrder.findIndex(id => id === itemSeries.id));
|
|
@@ -55,5 +53,4 @@ const tooltipItemPositionGetter = params => {
|
|
|
55
53
|
y
|
|
56
54
|
};
|
|
57
55
|
}
|
|
58
|
-
};
|
|
59
|
-
export default tooltipItemPositionGetter;
|
|
56
|
+
});
|
|
@@ -11,9 +11,6 @@ import type { RangeBarPlotProps } from "./RangeBar/RangeBarPlot.mjs";
|
|
|
11
11
|
* @returns An object with props for the children components of BarChartPremium
|
|
12
12
|
*/
|
|
13
13
|
export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
14
|
-
chartsContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
|
|
15
|
-
barPlotPremiumProps: BarPlotPremiumProps;
|
|
16
|
-
rangeBarPlotProps: RangeBarPlotProps;
|
|
17
14
|
chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
|
|
18
15
|
gridProps: import("@mui/x-charts").ChartsGridProps;
|
|
19
16
|
clipPathProps: import("@mui/x-charts").ChartsClipPathProps;
|
|
@@ -25,4 +22,7 @@ export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
|
25
22
|
axisHighlightProps: import("@mui/x-charts").ChartsAxisHighlightProps;
|
|
26
23
|
legendProps: import("@mui/x-charts").ChartsLegendSlotExtension;
|
|
27
24
|
children: React.ReactNode;
|
|
25
|
+
chartsContainerProps: ChartsContainerProps<'bar' | 'rangeBar', BarChartPluginSignatures>;
|
|
26
|
+
barPlotPremiumProps: BarPlotPremiumProps;
|
|
27
|
+
rangeBarPlotProps: RangeBarPlotProps;
|
|
28
28
|
};
|
|
@@ -11,9 +11,6 @@ import type { RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
|
|
|
11
11
|
* @returns An object with props for the children components of BarChartPremium
|
|
12
12
|
*/
|
|
13
13
|
export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
14
|
-
chartsContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
|
|
15
|
-
barPlotPremiumProps: BarPlotPremiumProps;
|
|
16
|
-
rangeBarPlotProps: RangeBarPlotProps;
|
|
17
14
|
chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
|
|
18
15
|
gridProps: import("@mui/x-charts").ChartsGridProps;
|
|
19
16
|
clipPathProps: import("@mui/x-charts").ChartsClipPathProps;
|
|
@@ -25,4 +22,7 @@ export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
|
|
|
25
22
|
axisHighlightProps: import("@mui/x-charts").ChartsAxisHighlightProps;
|
|
26
23
|
legendProps: import("@mui/x-charts").ChartsLegendSlotExtension;
|
|
27
24
|
children: React.ReactNode;
|
|
25
|
+
chartsContainerProps: ChartsContainerProps<'bar' | 'rangeBar', BarChartPluginSignatures>;
|
|
26
|
+
barPlotPremiumProps: BarPlotPremiumProps;
|
|
27
|
+
rangeBarPlotProps: RangeBarPlotProps;
|
|
28
28
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,235 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.0
|
|
4
|
+
|
|
5
|
+
_Jul 17, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights β¨:
|
|
8
|
+
|
|
9
|
+
- π Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
10
|
+
- βοΈ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
11
|
+
- π Bugfixes
|
|
12
|
+
- π Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @mustafajw07
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
23
|
+
|
|
24
|
+
Internal changes.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
37
|
+
|
|
38
|
+
Internal changes.
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.10.0`
|
|
47
|
+
|
|
48
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
57
|
+
|
|
58
|
+
### Tree View
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
61
|
+
|
|
62
|
+
Internal changes.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
67
|
+
|
|
68
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
69
|
+
|
|
70
|
+
### Scheduler
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
73
|
+
|
|
74
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
75
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
80
|
+
|
|
81
|
+
### Chat
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
84
|
+
|
|
85
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Codemod
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-codemod@9.10.0`
|
|
94
|
+
|
|
95
|
+
Internal changes.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
100
|
+
|
|
101
|
+
### Core
|
|
102
|
+
|
|
103
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
104
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
105
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
106
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
107
|
+
|
|
108
|
+
### Miscellaneous
|
|
109
|
+
|
|
110
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
111
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
112
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
113
|
+
|
|
114
|
+
## 9.9.0
|
|
115
|
+
|
|
116
|
+
_Jul 9, 2026_
|
|
117
|
+
|
|
118
|
+
We'd like to extend a big thank you to the 11 contributors who made this release possible. Here are some highlights β¨:
|
|
119
|
+
|
|
120
|
+
- π [Data sampling](https://mui.com/x/react-charts/performance/#sampling) for better performance with large bar and line charts
|
|
121
|
+
- πΊοΈ [Maps zoom support](https://mui.com/x/react-charts/map/#zoom)
|
|
122
|
+
- βοΈ Support [applying filters on demand](https://mui.com/x/react-data-grid/filtering/customization/#apply-filters-on-demand) in the Data Grid
|
|
123
|
+
- π Bugfixes
|
|
124
|
+
- π Documentation improvements
|
|
125
|
+
|
|
126
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
127
|
+
@mustafajw07, @sebastianfrey
|
|
128
|
+
|
|
129
|
+
The following team members contributed to this release:
|
|
130
|
+
@aemartos, @alexfauquette, @brijeshb42, @hasdfa, @Janpot, @JCQuintas, @LukasTy, @rita-codes, @sai6855
|
|
131
|
+
|
|
132
|
+
### Data Grid
|
|
133
|
+
|
|
134
|
+
#### `@mui/x-data-grid@9.9.0`
|
|
135
|
+
|
|
136
|
+
- [DataGrid] Add `dataSourceKeepPreviousData` prop (#22554) @LukasTy
|
|
137
|
+
- [DataGrid] Add controlled filter panel for applying filters on demand (#23023) @sebastianfrey
|
|
138
|
+
|
|
139
|
+
#### `@mui/x-data-grid-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
140
|
+
|
|
141
|
+
Same changes as in `@mui/x-data-grid@9.9.0`.
|
|
142
|
+
|
|
143
|
+
#### `@mui/x-data-grid-premium@9.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
144
|
+
|
|
145
|
+
Same changes as in `@mui/x-data-grid-pro@9.9.0`.
|
|
146
|
+
|
|
147
|
+
### Date and Time Pickers
|
|
148
|
+
|
|
149
|
+
#### `@mui/x-date-pickers@9.9.0`
|
|
150
|
+
|
|
151
|
+
Internal changes.
|
|
152
|
+
|
|
153
|
+
#### `@mui/x-date-pickers-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
154
|
+
|
|
155
|
+
Same changes as in `@mui/x-date-pickers@9.9.0`, plus:
|
|
156
|
+
|
|
157
|
+
- [DateRangeCalendar] Avoid unnecessary month switch when the value is already visible (#22996) @LukasTy
|
|
158
|
+
|
|
159
|
+
### Charts
|
|
160
|
+
|
|
161
|
+
#### `@mui/x-charts@9.9.0`
|
|
162
|
+
|
|
163
|
+
- [charts] Optimize and de-duplicate sampled axis-highlight band lookup (#23052) @JCQuintas
|
|
164
|
+
- [charts] Unify tooltip item position getter and selector into a single selector API (#23041) @alexfauquette
|
|
165
|
+
- [charts] Fix impossible condition in axis text angle warning (#23102) @sai6855
|
|
166
|
+
|
|
167
|
+
#### `@mui/x-charts-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
168
|
+
|
|
169
|
+
Same changes as in `@mui/x-charts@9.9.0`, plus:
|
|
170
|
+
|
|
171
|
+
- [charts-pro] Add data sampling for large bar and line charts (#22830) @JCQuintas
|
|
172
|
+
- [charts-pro] Allow sampling on non-zoomable charts (#23051) @JCQuintas
|
|
173
|
+
|
|
174
|
+
#### `@mui/x-charts-premium@9.9.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
175
|
+
|
|
176
|
+
#### Breaking changes
|
|
177
|
+
|
|
178
|
+
The API of the `Unstable_ChartsGeoDataProviderPremium` got modified.
|
|
179
|
+
Props `scale`, `rotation`, and `translation` are replaced by props `view` and `initialView`.
|
|
180
|
+
Same behavior can be obtained with `view.zoomLevel`, `view.center`, and `view.translation`.
|
|
181
|
+
See the [zoom view section](https://mui.com/x/react-charts/map/#control) for detailed information
|
|
182
|
+
|
|
183
|
+
Same changes as in `@mui/x-charts-pro@9.9.0`, plus:
|
|
184
|
+
|
|
185
|
+
- [charts-premium] Maps zoom support (#22709) @alexfauquette
|
|
186
|
+
|
|
187
|
+
### Tree View
|
|
188
|
+
|
|
189
|
+
#### `@mui/x-tree-view@9.9.0`
|
|
190
|
+
|
|
191
|
+
Internal changes.
|
|
192
|
+
|
|
193
|
+
#### `@mui/x-tree-view-pro@9.9.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
194
|
+
|
|
195
|
+
Same changes as in `@mui/x-tree-view@9.9.0`.
|
|
196
|
+
|
|
197
|
+
### Scheduler
|
|
198
|
+
|
|
199
|
+
#### `@mui/x-scheduler@9.0.0-beta.5`
|
|
200
|
+
|
|
201
|
+
- [scheduler] Introduce event resource helper utilities (#23022) @mustafajw07
|
|
202
|
+
- [scheduler] Preserve multi-day event continuity across overflow (#22797) @mustafajw07
|
|
203
|
+
|
|
204
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
205
|
+
|
|
206
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.5`.
|
|
207
|
+
|
|
208
|
+
### Codemod
|
|
209
|
+
|
|
210
|
+
#### `@mui/x-codemod@9.9.0`
|
|
211
|
+
|
|
212
|
+
Internal changes.
|
|
213
|
+
|
|
214
|
+
### Docs
|
|
215
|
+
|
|
216
|
+
- [docs] Fix broken social preview image on shared docs links (#23055) @sai6855
|
|
217
|
+
- [docs] Review and clean up react-chat docs demos & gallery; fix actions-bar layout (#22993) @hasdfa
|
|
218
|
+
- [docs] Update the Pickers recommended date library bundle sizes (#23087) @LukasTy
|
|
219
|
+
|
|
220
|
+
### Core
|
|
221
|
+
|
|
222
|
+
- [mcp] Add `@mui/mcp` server and `@mui/x-agent-tools`. See the [README](https://github.com/mui/mui-x/blob/master/packages/mcp/README.md) for setup (#22947) @aemartos
|
|
223
|
+
- [code-infra] Avoid OOM in the Netlify docs build and CircleCI lint step (#23086) @LukasTy
|
|
224
|
+
- [code-infra] Group `@atlaskit/pragmatic-drag-and-drop` renovate updates (#23105) @LukasTy
|
|
225
|
+
- [code-infra] Validate npm publishing through dry run (#23038) @brijeshb42
|
|
226
|
+
- [docs-infra] Enable `webpackBuildWorker` to bound docs build memory (#23100) @Janpot
|
|
227
|
+
|
|
228
|
+
### Miscellaneous
|
|
229
|
+
|
|
230
|
+
- [test] Fix flaky "should render only the pageSize" Data Grid virtualization test (#23090) @LukasTy
|
|
231
|
+
- [test] Track `@mui/x-chat` bundle size via native expand (#23049) @Janpot
|
|
232
|
+
|
|
3
233
|
## 9.8.0
|
|
4
234
|
|
|
5
235
|
_Jul 2, 2026_
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { AxisTooltipContentProps, ItemTooltipContentProps } from '@mui/x-charts/internals';
|
|
2
|
-
export declare function OHLCTooltipContent(props: AxisTooltipContentProps<'ohlc'> | ItemTooltipContentProps<'ohlc'>):
|
|
3
|
+
export declare function OHLCTooltipContent(props: AxisTooltipContentProps<'ohlc'> | ItemTooltipContentProps<'ohlc'>): React.JSX.Element | null;
|