@mui/x-charts-premium 9.4.0 → 9.5.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.
Files changed (56) hide show
  1. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.mts +1 -0
  2. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.ts +1 -0
  3. package/BarChartPremium/webgl/useWebGLBarLikePlotData.js +66 -7
  4. package/BarChartPremium/webgl/useWebGLBarLikePlotData.mjs +66 -7
  5. package/CHANGELOG.md +100 -0
  6. package/CandlestickChart/index.d.mts +11 -2
  7. package/CandlestickChart/index.d.ts +11 -2
  8. package/CandlestickChart/index.js +15 -3
  9. package/CandlestickChart/index.mjs +16 -2
  10. package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +2 -2
  11. package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +2 -2
  12. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +2 -2
  13. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +2 -2
  14. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +2 -2
  15. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +2 -2
  16. package/RadialBarChart/RadialBarChart.d.mts +1 -1
  17. package/RadialBarChart/RadialBarChart.d.ts +1 -1
  18. package/RadialBarChart/RadialBarChart.js +2 -2
  19. package/RadialBarChart/RadialBarChart.mjs +1 -1
  20. package/RadialBarChart/index.d.mts +4 -0
  21. package/RadialBarChart/index.d.ts +4 -0
  22. package/RadialBarChart/index.js +8 -1
  23. package/RadialBarChart/index.mjs +6 -0
  24. package/RadialLineChart/RadialLineChart.d.mts +1 -1
  25. package/RadialLineChart/RadialLineChart.d.ts +1 -1
  26. package/RadialLineChart/RadialLineChart.js +4 -4
  27. package/RadialLineChart/RadialLineChart.mjs +5 -5
  28. package/RadialLineChart/index.d.mts +4 -0
  29. package/RadialLineChart/index.d.ts +4 -0
  30. package/RadialLineChart/index.js +16 -1
  31. package/RadialLineChart/index.mjs +6 -0
  32. package/ScatterChartPremium/ScatterChartPremium.js +4 -2
  33. package/ScatterChartPremium/ScatterChartPremium.mjs +5 -3
  34. package/ScatterChartPremium/ScatterChartPremium.plugins.d.mts +1 -1
  35. package/ScatterChartPremium/ScatterChartPremium.plugins.d.ts +1 -1
  36. package/ScatterChartPremium/ScatterPlotPremium.d.mts +2 -2
  37. package/ScatterChartPremium/ScatterPlotPremium.d.ts +2 -2
  38. package/index.d.mts +1 -1
  39. package/index.d.ts +1 -1
  40. package/index.js +8 -1
  41. package/index.mjs +2 -2
  42. package/internals/plugins/allPlugins.d.mts +5 -5
  43. package/internals/plugins/allPlugins.d.ts +5 -5
  44. package/internals/plugins/allPlugins.js +2 -2
  45. package/internals/plugins/allPlugins.mjs +3 -3
  46. package/models/seriesType/mapShape.d.mts +1 -1
  47. package/models/seriesType/mapShape.d.ts +1 -1
  48. package/models/seriesType/ohlc.d.mts +1 -1
  49. package/models/seriesType/ohlc.d.ts +1 -1
  50. package/models/seriesType/radialBar.d.mts +1 -1
  51. package/models/seriesType/radialBar.d.ts +1 -1
  52. package/models/seriesType/radialLine.d.mts +1 -1
  53. package/models/seriesType/radialLine.d.ts +1 -1
  54. package/models/seriesType/rangeBar.d.mts +1 -1
  55. package/models/seriesType/rangeBar.d.ts +1 -1
  56. package/package.json +5 -5
@@ -15,6 +15,7 @@ export interface WebGLBarLikeItem {
15
15
  export interface WebGLBarLikeSeries<T extends WebGLBarLikeItem> {
16
16
  seriesId: SeriesId;
17
17
  data: readonly T[];
18
+ layout?: 'vertical' | 'horizontal';
18
19
  }
19
20
  export interface WebGLBarLikePlotData {
20
21
  centers: Float32Array;
@@ -15,6 +15,7 @@ export interface WebGLBarLikeItem {
15
15
  export interface WebGLBarLikeSeries<T extends WebGLBarLikeItem> {
16
16
  seriesId: SeriesId;
17
17
  data: readonly T[];
18
+ layout?: 'vertical' | 'horizontal';
18
19
  }
19
20
  export interface WebGLBarLikePlotData {
20
21
  centers: Float32Array;
@@ -35,6 +35,12 @@ function ensureCapacity(pool, maxCount) {
35
35
  // don't need a separate per-instance attribute on the GPU side.
36
36
  const HIGHLIGHTED_BRIGHTNESS = 1.2;
37
37
  const FADED_OPACITY = 0.3;
38
+ // Gaps below this (CSS px) get filled by expanding band half-size to half the
39
+ // step, avoiding sub-pixel hairlines from the rasterizer.
40
+ const GAP_FILL_THRESHOLD_PX = 1;
41
+ // Floor to keep thin quads from falling between pixel centers and getting
42
+ // culled at extreme zoom-out.
43
+ const MIN_BAND_HALF_SIZE_PX = 0.5;
38
44
  function setCornerRadii(radius, side, fullRounded, target, offset) {
39
45
  // CSS order: top-left, top-right, bottom-right, bottom-left.
40
46
  let tl = 0;
@@ -95,16 +101,66 @@ function useWebGLBarLikePlotData(drawingArea, completedData, borderRadius, optio
95
101
  const drawingAreaLeft = drawingArea.left;
96
102
  const drawingAreaTop = drawingArea.top;
97
103
  let cursor = 0;
98
- for (let s = 0; s < completedData.length; s += 1) {
99
- const processed = completedData[s];
104
+ for (let seriesIndex = 0; seriesIndex < completedData.length; seriesIndex += 1) {
105
+ const processed = completedData[seriesIndex];
100
106
  const seriesId = processed.seriesId;
101
107
  const data = processed.data;
102
108
  const dataLength = data.length;
109
+ const bandIsY = processed.layout === 'horizontal';
110
+
111
+ // `hidden` is series-level (mirrored onto every bar by useBarPlotData);
112
+ // peek at the first bar to skip the whole series.
113
+ if (dataLength === 0 || data[0].hidden) {
114
+ continue;
115
+ }
116
+
117
+ // Probe 1 = bar size; probe 2 = center-to-center step. Track dataIndex
118
+ // so null bars between probes don't inflate the step.
119
+ let probe = null;
120
+ let probeIndex = 0;
121
+ let probe2 = null;
122
+ let probe2Index = 0;
103
123
  for (let i = 0; i < dataLength; i += 1) {
104
- const bar = data[i];
105
- if (bar.hidden) {
106
- continue;
124
+ const candidate = data[i];
125
+ if (candidate.value != null && candidate.width > 0 && candidate.height > 0) {
126
+ if (probe === null) {
127
+ probe = candidate;
128
+ probeIndex = i;
129
+ } else {
130
+ probe2 = candidate;
131
+ probe2Index = i;
132
+ break;
133
+ }
107
134
  }
135
+ }
136
+ if (probe === null) {
137
+ continue;
138
+ }
139
+
140
+ // Round to whole pixels so the rendered half-size stays stable across
141
+ // zoom steps; sub-pixel jitter causes an "accordion" effect.
142
+ const rawBarSize = bandIsY ? probe.height : probe.width;
143
+ const barSize = Math.round(rawBarSize);
144
+ let step;
145
+ if (probe2 === null) {
146
+ step = barSize;
147
+ } else {
148
+ const indexGap = probe2Index - probeIndex;
149
+ const span = bandIsY ? probe2.y - probe.y : probe2.x - probe.x;
150
+ step = span / indexGap;
151
+ }
152
+ // Use the linear lower bound of the gap (`step - rawBarSize - 0.5`)
153
+ // rather than `step - barSize`: rounding makes the discrete gap jump by
154
+ // 1px at zoom boundaries, flipping `fillGap` and causing visible
155
+ // oscillation. The lower bound is continuous in zoom.
156
+ const gapLowerBound = step - rawBarSize - 0.5;
157
+ const fillGap = gapLowerBound > 0 && gapLowerBound < GAP_FILL_THRESHOLD_PX;
158
+ let bandHalfRender = fillGap ? step * 0.5 : barSize * 0.5;
159
+ if (bandHalfRender < MIN_BAND_HALF_SIZE_PX) {
160
+ bandHalfRender = MIN_BAND_HALF_SIZE_PX;
161
+ }
162
+ for (let i = 0; i < dataLength; i += 1) {
163
+ const bar = data[i];
108
164
  const value = bar.value;
109
165
  if (value == null) {
110
166
  continue;
@@ -116,11 +172,14 @@ function useWebGLBarLikePlotData(drawingArea, completedData, borderRadius, optio
116
172
  }
117
173
  const halfW = w * 0.5;
118
174
  const halfH = h * 0.5;
175
+ // Value axis stays exact; band axis uses the per-series override.
176
+ const renderHalfW = bandIsY ? halfW : bandHalfRender;
177
+ const renderHalfH = bandIsY ? bandHalfRender : halfH;
119
178
  const c2 = cursor * 2;
120
179
  centers[c2] = bar.x + halfW - drawingAreaLeft;
121
180
  centers[c2 + 1] = bar.y + halfH - drawingAreaTop;
122
- halfSizes[c2] = halfW;
123
- halfSizes[c2 + 1] = halfH;
181
+ halfSizes[c2] = renderHalfW;
182
+ halfSizes[c2 + 1] = renderHalfH;
124
183
  const rgba = (0, _parseColor.parseColor)(bar.color);
125
184
  const c4 = cursor * 4;
126
185
  let r = rgba[0];
@@ -29,6 +29,12 @@ function ensureCapacity(pool, maxCount) {
29
29
  // don't need a separate per-instance attribute on the GPU side.
30
30
  const HIGHLIGHTED_BRIGHTNESS = 1.2;
31
31
  const FADED_OPACITY = 0.3;
32
+ // Gaps below this (CSS px) get filled by expanding band half-size to half the
33
+ // step, avoiding sub-pixel hairlines from the rasterizer.
34
+ const GAP_FILL_THRESHOLD_PX = 1;
35
+ // Floor to keep thin quads from falling between pixel centers and getting
36
+ // culled at extreme zoom-out.
37
+ const MIN_BAND_HALF_SIZE_PX = 0.5;
32
38
  function setCornerRadii(radius, side, fullRounded, target, offset) {
33
39
  // CSS order: top-left, top-right, bottom-right, bottom-left.
34
40
  let tl = 0;
@@ -89,16 +95,66 @@ export function useWebGLBarLikePlotData(drawingArea, completedData, borderRadius
89
95
  const drawingAreaLeft = drawingArea.left;
90
96
  const drawingAreaTop = drawingArea.top;
91
97
  let cursor = 0;
92
- for (let s = 0; s < completedData.length; s += 1) {
93
- const processed = completedData[s];
98
+ for (let seriesIndex = 0; seriesIndex < completedData.length; seriesIndex += 1) {
99
+ const processed = completedData[seriesIndex];
94
100
  const seriesId = processed.seriesId;
95
101
  const data = processed.data;
96
102
  const dataLength = data.length;
103
+ const bandIsY = processed.layout === 'horizontal';
104
+
105
+ // `hidden` is series-level (mirrored onto every bar by useBarPlotData);
106
+ // peek at the first bar to skip the whole series.
107
+ if (dataLength === 0 || data[0].hidden) {
108
+ continue;
109
+ }
110
+
111
+ // Probe 1 = bar size; probe 2 = center-to-center step. Track dataIndex
112
+ // so null bars between probes don't inflate the step.
113
+ let probe = null;
114
+ let probeIndex = 0;
115
+ let probe2 = null;
116
+ let probe2Index = 0;
97
117
  for (let i = 0; i < dataLength; i += 1) {
98
- const bar = data[i];
99
- if (bar.hidden) {
100
- continue;
118
+ const candidate = data[i];
119
+ if (candidate.value != null && candidate.width > 0 && candidate.height > 0) {
120
+ if (probe === null) {
121
+ probe = candidate;
122
+ probeIndex = i;
123
+ } else {
124
+ probe2 = candidate;
125
+ probe2Index = i;
126
+ break;
127
+ }
101
128
  }
129
+ }
130
+ if (probe === null) {
131
+ continue;
132
+ }
133
+
134
+ // Round to whole pixels so the rendered half-size stays stable across
135
+ // zoom steps; sub-pixel jitter causes an "accordion" effect.
136
+ const rawBarSize = bandIsY ? probe.height : probe.width;
137
+ const barSize = Math.round(rawBarSize);
138
+ let step;
139
+ if (probe2 === null) {
140
+ step = barSize;
141
+ } else {
142
+ const indexGap = probe2Index - probeIndex;
143
+ const span = bandIsY ? probe2.y - probe.y : probe2.x - probe.x;
144
+ step = span / indexGap;
145
+ }
146
+ // Use the linear lower bound of the gap (`step - rawBarSize - 0.5`)
147
+ // rather than `step - barSize`: rounding makes the discrete gap jump by
148
+ // 1px at zoom boundaries, flipping `fillGap` and causing visible
149
+ // oscillation. The lower bound is continuous in zoom.
150
+ const gapLowerBound = step - rawBarSize - 0.5;
151
+ const fillGap = gapLowerBound > 0 && gapLowerBound < GAP_FILL_THRESHOLD_PX;
152
+ let bandHalfRender = fillGap ? step * 0.5 : barSize * 0.5;
153
+ if (bandHalfRender < MIN_BAND_HALF_SIZE_PX) {
154
+ bandHalfRender = MIN_BAND_HALF_SIZE_PX;
155
+ }
156
+ for (let i = 0; i < dataLength; i += 1) {
157
+ const bar = data[i];
102
158
  const value = bar.value;
103
159
  if (value == null) {
104
160
  continue;
@@ -110,11 +166,14 @@ export function useWebGLBarLikePlotData(drawingArea, completedData, borderRadius
110
166
  }
111
167
  const halfW = w * 0.5;
112
168
  const halfH = h * 0.5;
169
+ // Value axis stays exact; band axis uses the per-series override.
170
+ const renderHalfW = bandIsY ? halfW : bandHalfRender;
171
+ const renderHalfH = bandIsY ? bandHalfRender : halfH;
113
172
  const c2 = cursor * 2;
114
173
  centers[c2] = bar.x + halfW - drawingAreaLeft;
115
174
  centers[c2 + 1] = bar.y + halfH - drawingAreaTop;
116
- halfSizes[c2] = halfW;
117
- halfSizes[c2 + 1] = halfH;
175
+ halfSizes[c2] = renderHalfW;
176
+ halfSizes[c2 + 1] = renderHalfH;
118
177
  const rgba = parseColor(bar.color);
119
178
  const c4 = cursor * 4;
120
179
  let r = rgba[0];
package/CHANGELOG.md CHANGED
@@ -1,5 +1,105 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.5.0
4
+
5
+ _Jun 11, 2026_
6
+
7
+ We'd like to extend a big thank you to the 9 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🎁 New [`multiSelect` column type for Data Grid Pro](https://mui.com/x/react-data-grid/column-definition/#MultiSelectColumn)
10
+ - 🚀 New [renderer="svg-progressive"](https://mui.com/x/react-charts/scatter/#progressive-renderer) paints scatter points in batched frames so large datasets render smoothly without blocking the main thread.
11
+ - 🐞 Bugfixes
12
+ - 📚 Documentation improvements
13
+
14
+ Special thanks go out to community members @mustafajw07 and @Anexus5919 for their valuable contribution.
15
+
16
+ The following team members contributed to this release:
17
+ @alexfauquette, @JCQuintas, @rita-codes, @rluzists1, @sai6855, @siriwatknp, @arminmeh, @brijeshb42
18
+
19
+ ### Data Grid
20
+
21
+ #### `@mui/x-data-grid@9.5.0`
22
+
23
+ - [DataGrid] Restrict warning messages to non-production environments in various components (#22461) @sai6855
24
+ - [DataGrid] Prevent React state update before mount (#22374) @arminmeh
25
+
26
+ #### `@mui/x-data-grid-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
27
+
28
+ Same changes as in `@mui/x-data-grid@9.5.0`, plus:
29
+
30
+ - [DataGridPro] Add new `multiSelect` column type (#21157) @siriwatknp
31
+
32
+ #### `@mui/x-data-grid-premium@9.5.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
33
+
34
+ Same changes as in `@mui/x-data-grid-pro@9.5.0`.
35
+
36
+ ### Date and Time Pickers
37
+
38
+ #### `@mui/x-date-pickers@9.5.0`
39
+
40
+ - [pickers] Fix missing export of `th-TH` (#22703) @alexfauquette
41
+
42
+ #### `@mui/x-date-pickers-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
43
+
44
+ Same changes as in `@mui/x-date-pickers@9.5.0`.
45
+
46
+ ### Charts
47
+
48
+ #### `@mui/x-charts@9.5.0`
49
+
50
+ - [charts] Add `FocusedBar` component to `BarScatterComposition` demo (#22704) @sai6855
51
+ - [charts] Add dedicated Bubble Chart documentation page (#22688) @mustafajw07
52
+ - [charts] Add progressive scatter renderer (#22518) @JCQuintas
53
+ - [charts] Avoid full axis pipeline rebuild on resize (#22695) @JCQuintas
54
+ - [charts] Document focus indicator in composition page (#22712) @JCQuintas
55
+ - [charts] Fix `ChartsTooltip` `container` and `disablePortal` props being ignored (#22690) @JCQuintas
56
+ - [charts] Make ordinal scales O(1) to copy and re-range (#22691) @JCQuintas
57
+ - [charts] Stabilize WebGL bar rendering at sub-pixel widths (#22678) @JCQuintas
58
+ - [charts] Use the series config to define value types (#22693) @sai6855
59
+ - [charts] Decouple interaction hook from the cartesian zoom (#22708) @alexfauquette
60
+
61
+ #### `@mui/x-charts-pro@9.5.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-charts@9.5.0`, plus:
64
+
65
+ - [charts-pro] Add missing focus highlight (#22689) @alexfauquette
66
+
67
+ #### `@mui/x-charts-premium@9.5.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
68
+
69
+ Same changes as in `@mui/x-charts-pro@9.5.0`, plus:
70
+
71
+ - [charts-premium] Set `Heatmap` WebGL render as stable (#22665) @alexfauquette
72
+ - [charts-premium] Stabilize candlestick charts (#22666) @alexfauquette
73
+ - [charts-premium] Stabilize the radial charts (#22655) @alexfauquette
74
+
75
+ ### Scheduler
76
+
77
+ #### `@mui/x-scheduler@9.0.0-beta.1`
78
+
79
+ Internal changes.
80
+
81
+ #### `@mui/x-scheduler-premium@9.0.0-beta.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
82
+
83
+ Same changes as in `@mui/x-scheduler@9.0.0-beta.1`, plus:
84
+
85
+ - [scheduler] Remove dead CSS variable writes in `EventTimelinePremiumContent` (#22720) @rita-codes
86
+ - [scheduler] Show scope dialog when deleting a recurring event (#22552) @Anexus5919
87
+
88
+ ### Core
89
+
90
+ - [docs-infra] Fix immutable cache headers for `/\_next/static` assets (#22747) @brijeshb42
91
+ - [docs-infra] Prefix `/\_next/static` cache header rule with `/x` basePath (#22748) @brijeshb42
92
+ - [code-infra] Update dependencies to resolve Dependabot security alerts (#22714) @Janpot
93
+
94
+ ### Docs
95
+
96
+ - [docs] Fix broken links checker crashing on 404 known-targets fetch (#22707) @sai6855
97
+ - [docs] Fix country data (#22716) @alexfauquette
98
+
99
+ ### Miscellaneous
100
+
101
+ - [legal] Update EULA links in docs (#22717) @rluzists1
102
+
3
103
  ## 9.4.0
4
104
 
5
105
  <!-- generated comparing v9.3.0..master -->
@@ -1,2 +1,11 @@
1
- export { CandlestickChart as Unstable_CandlestickChart, type CandlestickChartProps, type CandlestickChartSlots, type CandlestickChartSlotProps, type OHLCSeries } from "./CandlestickChart.mjs";
2
- export { CandlestickPlot as Unstable_CandlestickPlot, type CandlestickPlotProps } from "./CandlestickPlot.mjs";
1
+ import { CandlestickPlot } from "./CandlestickPlot.mjs";
2
+ /**
3
+ * @deprecated candlestick chart is now stable, import `ChartsCandlestickChart` instead
4
+ */
5
+ export declare const Unstable_CandlestickChart: import("react").ForwardRefExoticComponent<import("./CandlestickChart.mjs").CandlestickChartProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ /**
7
+ * @deprecated candlestick plot is now stable, import `ChartsCandlestickPlot` instead
8
+ */
9
+ export declare const Unstable_CandlestickPlot: typeof CandlestickPlot;
10
+ export { CandlestickChart, type CandlestickChartProps, type CandlestickChartSlots, type CandlestickChartSlotProps, type OHLCSeries } from "./CandlestickChart.mjs";
11
+ export { CandlestickPlot, type CandlestickPlotProps } from "./CandlestickPlot.mjs";
@@ -1,2 +1,11 @@
1
- export { CandlestickChart as Unstable_CandlestickChart, type CandlestickChartProps, type CandlestickChartSlots, type CandlestickChartSlotProps, type OHLCSeries } from "./CandlestickChart.js";
2
- export { CandlestickPlot as Unstable_CandlestickPlot, type CandlestickPlotProps } from "./CandlestickPlot.js";
1
+ import { CandlestickPlot } from "./CandlestickPlot.js";
2
+ /**
3
+ * @deprecated candlestick chart is now stable, import `ChartsCandlestickChart` instead
4
+ */
5
+ export declare const Unstable_CandlestickChart: import("react").ForwardRefExoticComponent<import("./CandlestickChart.js").CandlestickChartProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ /**
7
+ * @deprecated candlestick plot is now stable, import `ChartsCandlestickPlot` instead
8
+ */
9
+ export declare const Unstable_CandlestickPlot: typeof CandlestickPlot;
10
+ export { CandlestickChart, type CandlestickChartProps, type CandlestickChartSlots, type CandlestickChartSlotProps, type OHLCSeries } from "./CandlestickChart.js";
11
+ export { CandlestickPlot, type CandlestickPlotProps } from "./CandlestickPlot.js";
@@ -3,17 +3,29 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "Unstable_CandlestickChart", {
6
+ Object.defineProperty(exports, "CandlestickChart", {
7
7
  enumerable: true,
8
8
  get: function () {
9
9
  return _CandlestickChart.CandlestickChart;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "Unstable_CandlestickPlot", {
12
+ Object.defineProperty(exports, "CandlestickPlot", {
13
13
  enumerable: true,
14
14
  get: function () {
15
15
  return _CandlestickPlot.CandlestickPlot;
16
16
  }
17
17
  });
18
+ exports.Unstable_CandlestickPlot = exports.Unstable_CandlestickChart = void 0;
18
19
  var _CandlestickChart = require("./CandlestickChart");
19
- var _CandlestickPlot = require("./CandlestickPlot");
20
+ var _CandlestickPlot = require("./CandlestickPlot");
21
+ /**
22
+ * @deprecated candlestick chart is now stable, import `ChartsCandlestickChart` instead
23
+ */
24
+ // eslint-disable-next-line @typescript-eslint/naming-convention
25
+ const Unstable_CandlestickChart = exports.Unstable_CandlestickChart = _CandlestickChart.CandlestickChart;
26
+
27
+ /**
28
+ * @deprecated candlestick plot is now stable, import `ChartsCandlestickPlot` instead
29
+ */
30
+ // eslint-disable-next-line @typescript-eslint/naming-convention
31
+ const Unstable_CandlestickPlot = exports.Unstable_CandlestickPlot = _CandlestickPlot.CandlestickPlot;
@@ -1,2 +1,16 @@
1
- export { CandlestickChart as Unstable_CandlestickChart } from "./CandlestickChart.mjs";
2
- export { CandlestickPlot as Unstable_CandlestickPlot } from "./CandlestickPlot.mjs";
1
+ import { CandlestickChart } from "./CandlestickChart.mjs";
2
+ import { CandlestickPlot } from "./CandlestickPlot.mjs";
3
+
4
+ /**
5
+ * @deprecated candlestick chart is now stable, import `ChartsCandlestickChart` instead
6
+ */
7
+ // eslint-disable-next-line @typescript-eslint/naming-convention
8
+ export const Unstable_CandlestickChart = CandlestickChart;
9
+
10
+ /**
11
+ * @deprecated candlestick plot is now stable, import `ChartsCandlestickPlot` instead
12
+ */
13
+ // eslint-disable-next-line @typescript-eslint/naming-convention
14
+ export const Unstable_CandlestickPlot = CandlestickPlot;
15
+ export { CandlestickChart } from "./CandlestickChart.mjs";
16
+ export { CandlestickPlot } from "./CandlestickPlot.mjs";
@@ -19,8 +19,8 @@ var _useChartsDataProviderPremiumProps = require("./useChartsDataProviderPremium
19
19
  var _seriesConfig2 = require("../CandlestickChart/seriesConfig");
20
20
  var _jsxRuntime = require("react/jsx-runtime");
21
21
  const packageInfo = {
22
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
23
- version: "9.4.0",
22
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
23
+ version: "9.5.0",
24
24
  name: 'x-charts-premium'
25
25
  };
26
26
  const defaultSeriesConfigPremium = exports.defaultSeriesConfigPremium = (0, _extends2.default)({}, _internals2.defaultSeriesConfigPro, {
@@ -13,8 +13,8 @@ import { useChartsDataProviderPremiumProps } from "./useChartsDataProviderPremiu
13
13
  import { ohlcSeriesConfig } from "../CandlestickChart/seriesConfig/index.mjs";
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  const packageInfo = {
16
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
17
- version: "9.4.0",
16
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
17
+ version: "9.5.0",
18
18
  name: 'x-charts-premium'
19
19
  };
20
20
  export const defaultSeriesConfigPremium = _extends({}, defaultSeriesConfigPro, {
@@ -18,8 +18,8 @@ var _useChartsGeoDataProviderPremiumProps = require("./useChartsGeoDataProviderP
18
18
  var _ChartsGeoDataProviderPremium = require("./ChartsGeoDataProviderPremium.plugins");
19
19
  var _jsxRuntime = require("react/jsx-runtime");
20
20
  const packageInfo = {
21
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
22
- version: "9.4.0",
21
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
22
+ version: "9.5.0",
23
23
  name: 'x-charts-premium'
24
24
  };
25
25
  /**
@@ -11,8 +11,8 @@ import { useChartsGeoDataProviderPremiumProps } from "./useChartsGeoDataProvider
11
11
  import { GEO_PREMIUM_PLUGINS } from "./ChartsGeoDataProviderPremium.plugins.mjs";
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  const packageInfo = {
14
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
15
- version: "9.4.0",
14
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
15
+ version: "9.5.0",
16
16
  name: 'x-charts-premium'
17
17
  };
18
18
  /**
@@ -19,8 +19,8 @@ var _ChartsRadialDataProviderPremium = require("./ChartsRadialDataProviderPremiu
19
19
  var _seriesConfig = require("../RadialLineChart/seriesConfig");
20
20
  var _jsxRuntime = require("react/jsx-runtime");
21
21
  const packageInfo = {
22
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
23
- version: "9.4.0",
22
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
23
+ version: "9.5.0",
24
24
  name: 'x-charts-premium'
25
25
  };
26
26
  const defaultRadialPremiumSeriesConfig = {
@@ -12,8 +12,8 @@ import { RADIAL_PREMIUM_PLUGINS } from "./ChartsRadialDataProviderPremium.plugin
12
12
  import { radialLineSeriesConfig } from "../RadialLineChart/seriesConfig/index.mjs";
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  const packageInfo = {
15
- releaseDate: "MTc4MDUzMTIwMDAwMA==",
16
- version: "9.4.0",
15
+ releaseDate: "MTc4MTEzNjAwMDAwMA==",
16
+ version: "9.5.0",
17
17
  name: 'x-charts-premium'
18
18
  };
19
19
  const defaultRadialPremiumSeriesConfig = {
@@ -64,4 +64,4 @@ export interface RadialBarChartProps extends Omit<ChartsRadialDataProviderPremiu
64
64
  * - [RadialBarChart API](https://mui.com/x/api/charts/radial-bar-chart/)
65
65
  */
66
66
  declare const RadialBarChart: React.ForwardRefExoticComponent<RadialBarChartProps & React.RefAttributes<HTMLDivElement>>;
67
- export { RadialBarChart as Unstable_RadialBarChart };
67
+ export { RadialBarChart };
@@ -64,4 +64,4 @@ export interface RadialBarChartProps extends Omit<ChartsRadialDataProviderPremiu
64
64
  * - [RadialBarChart API](https://mui.com/x/api/charts/radial-bar-chart/)
65
65
  */
66
66
  declare const RadialBarChart: React.ForwardRefExoticComponent<RadialBarChartProps & React.RefAttributes<HTMLDivElement>>;
67
- export { RadialBarChart as Unstable_RadialBarChart };
67
+ export { RadialBarChart };
@@ -6,7 +6,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
6
6
  Object.defineProperty(exports, "__esModule", {
7
7
  value: true
8
8
  });
9
- exports.Unstable_RadialBarChart = void 0;
9
+ exports.RadialBarChart = void 0;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
@@ -40,7 +40,7 @@ const seriesConfig = {
40
40
  *
41
41
  * - [RadialBarChart API](https://mui.com/x/api/charts/radial-bar-chart/)
42
42
  */
43
- const RadialBarChart = exports.Unstable_RadialBarChart = /*#__PURE__*/React.forwardRef(function RadialBarChart(inProps, ref) {
43
+ const RadialBarChart = exports.RadialBarChart = /*#__PURE__*/React.forwardRef(function RadialBarChart(inProps, ref) {
44
44
  const props = (0, _styles.useThemeProps)({
45
45
  props: inProps,
46
46
  name: 'MuiRadialBarChart'
@@ -302,4 +302,4 @@ process.env.NODE_ENV !== "production" ? RadialBarChart.propTypes = {
302
302
  */
303
303
  width: PropTypes.number
304
304
  } : void 0;
305
- export { RadialBarChart as Unstable_RadialBarChart };
305
+ export { RadialBarChart };
@@ -1,3 +1,7 @@
1
1
  export * from "./RadialBarChart.mjs";
2
+ /**
3
+ * @deprecated radial bar chart is now stable, import `RadialBarChart` instead
4
+ */
5
+ export declare const Unstable_RadialBarChart: import("react").ForwardRefExoticComponent<import("./RadialBarChart.mjs").RadialBarChartProps & import("react").RefAttributes<HTMLDivElement>>;
2
6
  export * from "./RadialBarPlot.mjs";
3
7
  export { type RadialBarClasses, type RadialBarClassKey, radialBarClasses } from "./radialBarClasses.mjs";
@@ -1,3 +1,7 @@
1
1
  export * from "./RadialBarChart.js";
2
+ /**
3
+ * @deprecated radial bar chart is now stable, import `RadialBarChart` instead
4
+ */
5
+ export declare const Unstable_RadialBarChart: import("react").ForwardRefExoticComponent<import("./RadialBarChart.js").RadialBarChartProps & import("react").RefAttributes<HTMLDivElement>>;
2
6
  export * from "./RadialBarPlot.js";
3
7
  export { type RadialBarClasses, type RadialBarClassKey, radialBarClasses } from "./radialBarClasses.js";
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  var _exportNames = {
7
+ Unstable_RadialBarChart: true,
7
8
  radialBarClasses: true
8
9
  };
10
+ exports.Unstable_RadialBarChart = void 0;
9
11
  Object.defineProperty(exports, "radialBarClasses", {
10
12
  enumerable: true,
11
13
  get: function () {
@@ -36,4 +38,9 @@ Object.keys(_RadialBarPlot).forEach(function (key) {
36
38
  }
37
39
  });
38
40
  });
39
- var _radialBarClasses = require("./radialBarClasses");
41
+ var _radialBarClasses = require("./radialBarClasses");
42
+ /**
43
+ * @deprecated radial bar chart is now stable, import `RadialBarChart` instead
44
+ */
45
+ // eslint-disable-next-line @typescript-eslint/naming-convention
46
+ const Unstable_RadialBarChart = exports.Unstable_RadialBarChart = _RadialBarChart.RadialBarChart;
@@ -1,3 +1,9 @@
1
+ import { RadialBarChart } from "./RadialBarChart.mjs";
1
2
  export * from "./RadialBarChart.mjs";
3
+ /**
4
+ * @deprecated radial bar chart is now stable, import `RadialBarChart` instead
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const Unstable_RadialBarChart = RadialBarChart;
2
8
  export * from "./RadialBarPlot.mjs";
3
9
  export { radialBarClasses } from "./radialBarClasses.mjs";
@@ -69,4 +69,4 @@ export interface RadialLineChartProps extends Omit<ChartsRadialDataProviderPremi
69
69
  * - [RadialLineChart API](https://mui.com/x/api/charts/radial-line-chart/)
70
70
  */
71
71
  declare const RadialLineChart: React.ForwardRefExoticComponent<RadialLineChartProps & React.RefAttributes<HTMLDivElement>>;
72
- export { RadialLineChart as Unstable_RadialLineChart };
72
+ export { RadialLineChart };
@@ -69,4 +69,4 @@ export interface RadialLineChartProps extends Omit<ChartsRadialDataProviderPremi
69
69
  * - [RadialLineChart API](https://mui.com/x/api/charts/radial-line-chart/)
70
70
  */
71
71
  declare const RadialLineChart: React.ForwardRefExoticComponent<RadialLineChartProps & React.RefAttributes<HTMLDivElement>>;
72
- export { RadialLineChart as Unstable_RadialLineChart };
72
+ export { RadialLineChart };
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.Unstable_RadialLineChart = void 0;
8
+ exports.RadialLineChart = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _propTypes = _interopRequireDefault(require("prop-types"));
@@ -42,7 +42,7 @@ const seriesConfig = {
42
42
  *
43
43
  * - [RadialLineChart API](https://mui.com/x/api/charts/radial-line-chart/)
44
44
  */
45
- const RadialLineChart = exports.Unstable_RadialLineChart = /*#__PURE__*/React.forwardRef(function RadialLineChart(inProps, ref) {
45
+ const RadialLineChart = exports.RadialLineChart = /*#__PURE__*/React.forwardRef(function RadialLineChart(inProps, ref) {
46
46
  const props = (0, _styles.useThemeProps)({
47
47
  props: inProps,
48
48
  name: 'MuiRadialLineChart'
@@ -69,9 +69,9 @@ const RadialLineChart = exports.Unstable_RadialLineChart = /*#__PURE__*/React.fo
69
69
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsWrapper.ChartsWrapper, (0, _extends2.default)({}, chartsWrapperProps, {
70
70
  ref: ref,
71
71
  children: [props.showToolbar && Toolbar ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Toolbar, (0, _extends2.default)({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, (0, _extends2.default)({}, legendProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
72
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadialGrid.Unstable_ChartsRadialGrid, (0, _extends2.default)({}, gridProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", (0, _extends2.default)({}, clipPathGroupProps, {
72
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadialGrid.ChartsRadialGrid, (0, _extends2.default)({}, gridProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", (0, _extends2.default)({}, clipPathGroupProps, {
73
73
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialAreaPlot.RadialAreaPlot, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialLinePlot.RadialLinePlot, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps))]
74
- })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadialAxisHighlight.Unstable_ChartsRadialAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRotationAxis.Unstable_ChartsRotationAxis, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadiusAxis.Unstable_ChartsRadiusAxis, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialMarkPlot.RadialMarkPlot, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialLineHighlightPlot.RadialLineHighlightPlot, {
74
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadialAxisHighlight.ChartsRadialAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRotationAxis.ChartsRotationAxis, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsRadiusAxis.ChartsRadiusAxis, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialMarkPlot.RadialMarkPlot, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RadialLineHighlightPlot.RadialLineHighlightPlot, {
75
75
  slots: props.slots,
76
76
  slotProps: props.slotProps
77
77
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, (0, _extends2.default)({}, clipPathProps)), children]
@@ -3,10 +3,10 @@ import * as React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { useThemeProps } from '@mui/material/styles';
5
5
  import { useChartsContainerProps } from '@mui/x-charts/internals';
6
- import { Unstable_ChartsRadialGrid as ChartsRadialGrid } from '@mui/x-charts/ChartsRadialGrid';
7
- import { Unstable_ChartsRadialAxisHighlight as ChartsRadialAxisHighlight } from '@mui/x-charts/ChartsRadialAxisHighlight';
8
- import { Unstable_ChartsRadiusAxis as ChartsRadiusAxis } from '@mui/x-charts/ChartsRadiusAxis';
9
- import { Unstable_ChartsRotationAxis as ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
6
+ import { ChartsRadialGrid } from '@mui/x-charts/ChartsRadialGrid';
7
+ import { ChartsRadialAxisHighlight } from '@mui/x-charts/ChartsRadialAxisHighlight';
8
+ import { ChartsRadiusAxis } from '@mui/x-charts/ChartsRadiusAxis';
9
+ import { ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
10
10
  import { ChartsLegend } from "../ChartsLegend/index.mjs";
11
11
  import { ChartsSurface } from "../ChartsSurface/index.mjs";
12
12
  import { ChartsTooltip } from "../ChartsTooltip/index.mjs";
@@ -310,4 +310,4 @@ process.env.NODE_ENV !== "production" ? RadialLineChart.propTypes = {
310
310
  */
311
311
  width: PropTypes.number
312
312
  } : void 0;
313
- export { RadialLineChart as Unstable_RadialLineChart };
313
+ export { RadialLineChart };
@@ -1,4 +1,8 @@
1
1
  export * from "./RadialLineChart.mjs";
2
+ /**
3
+ * @deprecated radial line chart is now stable, import `RadialLineChart` instead
4
+ */
5
+ export declare const Unstable_RadialLineChart: import("react").ForwardRefExoticComponent<import("./RadialLineChart.mjs").RadialLineChartProps & import("react").RefAttributes<HTMLDivElement>>;
2
6
  export * from "./RadialAreaPlot.mjs";
3
7
  export * from "./RadialLinePlot.mjs";
4
8
  export * from "./RadialMarkPlot.mjs";
@@ -1,4 +1,8 @@
1
1
  export * from "./RadialLineChart.js";
2
+ /**
3
+ * @deprecated radial line chart is now stable, import `RadialLineChart` instead
4
+ */
5
+ export declare const Unstable_RadialLineChart: import("react").ForwardRefExoticComponent<import("./RadialLineChart.js").RadialLineChartProps & import("react").RefAttributes<HTMLDivElement>>;
2
6
  export * from "./RadialAreaPlot.js";
3
7
  export * from "./RadialLinePlot.js";
4
8
  export * from "./RadialMarkPlot.js";
@@ -3,9 +3,14 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ Unstable_RadialLineChart: true
8
+ };
9
+ exports.Unstable_RadialLineChart = void 0;
6
10
  var _RadialLineChart = require("./RadialLineChart");
7
11
  Object.keys(_RadialLineChart).forEach(function (key) {
8
12
  if (key === "default" || key === "__esModule") return;
13
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
9
14
  if (key in exports && exports[key] === _RadialLineChart[key]) return;
10
15
  Object.defineProperty(exports, key, {
11
16
  enumerable: true,
@@ -17,6 +22,7 @@ Object.keys(_RadialLineChart).forEach(function (key) {
17
22
  var _RadialAreaPlot = require("./RadialAreaPlot");
18
23
  Object.keys(_RadialAreaPlot).forEach(function (key) {
19
24
  if (key === "default" || key === "__esModule") return;
25
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
20
26
  if (key in exports && exports[key] === _RadialAreaPlot[key]) return;
21
27
  Object.defineProperty(exports, key, {
22
28
  enumerable: true,
@@ -28,6 +34,7 @@ Object.keys(_RadialAreaPlot).forEach(function (key) {
28
34
  var _RadialLinePlot = require("./RadialLinePlot");
29
35
  Object.keys(_RadialLinePlot).forEach(function (key) {
30
36
  if (key === "default" || key === "__esModule") return;
37
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
31
38
  if (key in exports && exports[key] === _RadialLinePlot[key]) return;
32
39
  Object.defineProperty(exports, key, {
33
40
  enumerable: true,
@@ -39,6 +46,7 @@ Object.keys(_RadialLinePlot).forEach(function (key) {
39
46
  var _RadialMarkPlot = require("./RadialMarkPlot");
40
47
  Object.keys(_RadialMarkPlot).forEach(function (key) {
41
48
  if (key === "default" || key === "__esModule") return;
49
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42
50
  if (key in exports && exports[key] === _RadialMarkPlot[key]) return;
43
51
  Object.defineProperty(exports, key, {
44
52
  enumerable: true,
@@ -50,6 +58,7 @@ Object.keys(_RadialMarkPlot).forEach(function (key) {
50
58
  var _RadialLineHighlightElement = require("./RadialLineHighlightElement");
51
59
  Object.keys(_RadialLineHighlightElement).forEach(function (key) {
52
60
  if (key === "default" || key === "__esModule") return;
61
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
53
62
  if (key in exports && exports[key] === _RadialLineHighlightElement[key]) return;
54
63
  Object.defineProperty(exports, key, {
55
64
  enumerable: true,
@@ -61,6 +70,7 @@ Object.keys(_RadialLineHighlightElement).forEach(function (key) {
61
70
  var _RadialLineHighlightPlot = require("./RadialLineHighlightPlot");
62
71
  Object.keys(_RadialLineHighlightPlot).forEach(function (key) {
63
72
  if (key === "default" || key === "__esModule") return;
73
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
64
74
  if (key in exports && exports[key] === _RadialLineHighlightPlot[key]) return;
65
75
  Object.defineProperty(exports, key, {
66
76
  enumerable: true,
@@ -68,4 +78,9 @@ Object.keys(_RadialLineHighlightPlot).forEach(function (key) {
68
78
  return _RadialLineHighlightPlot[key];
69
79
  }
70
80
  });
71
- });
81
+ });
82
+ /**
83
+ * @deprecated radial line chart is now stable, import `RadialLineChart` instead
84
+ */
85
+ // eslint-disable-next-line @typescript-eslint/naming-convention
86
+ const Unstable_RadialLineChart = exports.Unstable_RadialLineChart = _RadialLineChart.RadialLineChart;
@@ -1,4 +1,10 @@
1
+ import { RadialLineChart } from "./RadialLineChart.mjs";
1
2
  export * from "./RadialLineChart.mjs";
3
+ /**
4
+ * @deprecated radial line chart is now stable, import `RadialLineChart` instead
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const Unstable_RadialLineChart = RadialLineChart;
2
8
  export * from "./RadialAreaPlot.mjs";
3
9
  export * from "./RadialLinePlot.mjs";
4
10
  export * from "./RadialMarkPlot.mjs";
@@ -100,7 +100,7 @@ const ScatterChartPremium = exports.ScatterChartPremium = /*#__PURE__*/React.for
100
100
  }), renderer === 'webgl' && /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
101
101
  "data-drawing-container": true,
102
102
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScatterChart.HighlightedScatterMark, {})
103
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsBrushOverlay.ChartsBrushOverlay, {}), children]
103
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScatterChart.FocusedScatterMark, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsBrushOverlay.ChartsBrushOverlay, {}), children]
104
104
  }))]
105
105
  }), !props.loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, (0, _extends2.default)({
106
106
  trigger: "item"
@@ -190,7 +190,9 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
190
190
  /**
191
191
  * Options to enable features planned for the next major.
192
192
  */
193
- experimentalFeatures: _propTypes.default.object,
193
+ experimentalFeatures: _propTypes.default.shape({
194
+ progressiveRendering: _propTypes.default.bool
195
+ }),
194
196
  /**
195
197
  * Option to display a cartesian grid in the background.
196
198
  */
@@ -7,7 +7,7 @@ const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToo
7
7
  import * as React from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import { useThemeProps } from '@mui/material/styles';
10
- import { HighlightedScatterMark } from '@mui/x-charts/ScatterChart';
10
+ import { HighlightedScatterMark, FocusedScatterMark } from '@mui/x-charts/ScatterChart';
11
11
  import { ChartsGrid } from '@mui/x-charts/ChartsGrid';
12
12
  import { ChartsOverlay } from '@mui/x-charts/ChartsOverlay';
13
13
  import { ChartsAxis } from '@mui/x-charts/ChartsAxis';
@@ -93,7 +93,7 @@ const ScatterChartPremium = /*#__PURE__*/React.forwardRef(function ScatterChartP
93
93
  }), renderer === 'webgl' && /*#__PURE__*/_jsx("g", {
94
94
  "data-drawing-container": true,
95
95
  children: /*#__PURE__*/_jsx(HighlightedScatterMark, {})
96
- }), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), /*#__PURE__*/_jsx(ChartsBrushOverlay, {}), children]
96
+ }), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), /*#__PURE__*/_jsx(FocusedScatterMark, {}), /*#__PURE__*/_jsx(ChartsBrushOverlay, {}), children]
97
97
  }))]
98
98
  }), !props.loading && /*#__PURE__*/_jsx(Tooltip, _extends({
99
99
  trigger: "item"
@@ -183,7 +183,9 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
183
183
  /**
184
184
  * Options to enable features planned for the next major.
185
185
  */
186
- experimentalFeatures: PropTypes.object,
186
+ experimentalFeatures: PropTypes.shape({
187
+ progressiveRendering: PropTypes.bool
188
+ }),
187
189
  /**
188
190
  * Option to display a cartesian grid in the background.
189
191
  */
@@ -1,3 +1,3 @@
1
1
  import { type ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
2
2
  export type ScatterChartPremiumPluginSignatures = ScatterChartProPluginSignatures;
3
- export declare const SCATTER_CHART_PREMIUM_PLUGINS: readonly [import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartZAxisSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartBrushSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartTooltipSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartInteractionSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartCartesianAxisSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartHighlightSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartVisibilityManagerSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartClosestPointSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartKeyboardNavigationSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProZoomSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProExportSignature>];
3
+ export declare const SCATTER_CHART_PREMIUM_PLUGINS: readonly [import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartZAxisSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartBrushSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartTooltipSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartInteractionSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartCartesianAxisSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartHighlightSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartVisibilityManagerSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartClosestPointSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartKeyboardNavigationSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProZoomSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProExportSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseProgressiveRenderingSignature>];
@@ -1,3 +1,3 @@
1
1
  import { type ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
2
2
  export type ScatterChartPremiumPluginSignatures = ScatterChartProPluginSignatures;
3
- export declare const SCATTER_CHART_PREMIUM_PLUGINS: readonly [import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartZAxisSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartBrushSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartTooltipSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartInteractionSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartCartesianAxisSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartHighlightSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartVisibilityManagerSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartClosestPointSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartKeyboardNavigationSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProZoomSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProExportSignature>];
3
+ export declare const SCATTER_CHART_PREMIUM_PLUGINS: readonly [import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartZAxisSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartBrushSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartTooltipSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartInteractionSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartCartesianAxisSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartHighlightSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartVisibilityManagerSignature<"scatter">>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts").UseChartClosestPointSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseChartKeyboardNavigationSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProZoomSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts-pro/plugins").UseChartProExportSignature>, import("@mui/x-charts/internals").ChartPlugin<import("@mui/x-charts/internals").UseProgressiveRenderingSignature>];
@@ -1,4 +1,4 @@
1
- import { type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import { type RendererType, type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
2
2
  export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'renderer'> {
3
3
  /**
4
4
  * The type of renderer to use for the scatter plot.
@@ -6,7 +6,7 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
6
6
  * - `svg-batch`: Renders all scatter items in a single batched SVG path.
7
7
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
8
  */
9
- renderer: 'svg-single' | 'svg-batch' | 'webgl';
9
+ renderer: RendererType | 'webgl';
10
10
  }
11
11
  export declare function ScatterPlotPremium({
12
12
  renderer,
@@ -1,4 +1,4 @@
1
- import { type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import { type RendererType, type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
2
2
  export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'renderer'> {
3
3
  /**
4
4
  * The type of renderer to use for the scatter plot.
@@ -6,7 +6,7 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
6
6
  * - `svg-batch`: Renders all scatter items in a single batched SVG path.
7
7
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
8
  */
9
- renderer: 'svg-single' | 'svg-batch' | 'webgl';
9
+ renderer: RendererType | 'webgl';
10
10
  }
11
11
  export declare function ScatterPlotPremium({
12
12
  renderer,
package/index.d.mts CHANGED
@@ -24,7 +24,7 @@ export * from '@mui/x-charts/ChartsLabel';
24
24
  export * from '@mui/x-charts/ChartsRadialDataProvider';
25
25
  export * from '@mui/x-charts/ChartsRadialGrid';
26
26
  export * from '@mui/x-charts/ChartsRadiusAxis';
27
- export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
27
+ export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis, ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
28
28
  export * from '@mui/x-charts-pro/Heatmap';
29
29
  export { ChartsContainerPro } from '@mui/x-charts-pro/ChartsContainerPro';
30
30
  export type { ChartsContainerProProps } from '@mui/x-charts-pro/ChartsContainerPro';
package/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export * from '@mui/x-charts/ChartsLabel';
24
24
  export * from '@mui/x-charts/ChartsRadialDataProvider';
25
25
  export * from '@mui/x-charts/ChartsRadialGrid';
26
26
  export * from '@mui/x-charts/ChartsRadiusAxis';
27
- export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
27
+ export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis, ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
28
28
  export * from '@mui/x-charts-pro/Heatmap';
29
29
  export { ChartsContainerPro } from '@mui/x-charts-pro/ChartsContainerPro';
30
30
  export type { ChartsContainerProProps } from '@mui/x-charts-pro/ChartsContainerPro';
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-premium v9.4.0
2
+ * @mui/x-charts-premium v9.5.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", {
12
12
  });
13
13
  var _exportNames = {
14
14
  Unstable_ChartsRotationAxis: true,
15
+ ChartsRotationAxis: true,
15
16
  ChartsContainerPro: true
16
17
  };
17
18
  Object.defineProperty(exports, "ChartsContainerPro", {
@@ -20,6 +21,12 @@ Object.defineProperty(exports, "ChartsContainerPro", {
20
21
  return _ChartsContainerPro.ChartsContainerPro;
21
22
  }
22
23
  });
24
+ Object.defineProperty(exports, "ChartsRotationAxis", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _ChartsRotationAxis.ChartsRotationAxis;
28
+ }
29
+ });
23
30
  Object.defineProperty(exports, "Unstable_ChartsRotationAxis", {
24
31
  enumerable: true,
25
32
  get: function () {
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-premium v9.4.0
2
+ * @mui/x-charts-premium v9.5.0
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -33,7 +33,7 @@ export * from '@mui/x-charts/ChartsLabel';
33
33
  export * from '@mui/x-charts/ChartsRadialDataProvider';
34
34
  export * from '@mui/x-charts/ChartsRadialGrid';
35
35
  export * from '@mui/x-charts/ChartsRadiusAxis';
36
- export { Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
36
+ export { Unstable_ChartsRotationAxis, ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
37
37
 
38
38
  // Pro components
39
39
  export * from '@mui/x-charts-pro/Heatmap';
@@ -1,8 +1,8 @@
1
- import { type ChartSeriesType, type ConvertSignaturesIntoPlugins, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartZAxisSignature, type UseChartHighlightSignature, type UseChartPolarAxisSignature, type UseChartBrushSignature, type UseChartVisibilityManagerSignature } from '@mui/x-charts/internals';
1
+ import { type ChartSeriesType, type ConvertSignaturesIntoPlugins, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartZAxisSignature, type UseChartHighlightSignature, type UseChartPolarAxisSignature, type UseChartBrushSignature, type UseChartVisibilityManagerSignature, type UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
2
2
  import { type UseChartProExportSignature, type UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
3
- export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature];
3
+ export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
4
4
  export type AllPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<SeriesType>>;
5
- export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
6
- export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature];
5
+ export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
6
+ export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
7
7
  export type DefaultPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<SeriesType>>;
8
- export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
8
+ export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
@@ -1,8 +1,8 @@
1
- import { type ChartSeriesType, type ConvertSignaturesIntoPlugins, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartZAxisSignature, type UseChartHighlightSignature, type UseChartPolarAxisSignature, type UseChartBrushSignature, type UseChartVisibilityManagerSignature } from '@mui/x-charts/internals';
1
+ import { type ChartSeriesType, type ConvertSignaturesIntoPlugins, type UseChartCartesianAxisSignature, type UseChartTooltipSignature, type UseChartInteractionSignature, type UseChartZAxisSignature, type UseChartHighlightSignature, type UseChartPolarAxisSignature, type UseChartBrushSignature, type UseChartVisibilityManagerSignature, type UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
2
2
  import { type UseChartProExportSignature, type UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
3
- export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature];
3
+ export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
4
4
  export type AllPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<SeriesType>>;
5
- export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
6
- export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature];
5
+ export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
6
+ export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseProgressiveRenderingSignature];
7
7
  export type DefaultPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<SeriesType>>;
8
- export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
8
+ export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>>)[];
@@ -8,5 +8,5 @@ var _internals = require("@mui/x-charts/internals");
8
8
  var _plugins = require("@mui/x-charts-pro/plugins");
9
9
  // This file should be removed after creating all plugins in favor of a file per chart type.
10
10
 
11
- const ALL_PLUGINS = exports.ALL_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartPolarAxis, _internals.useChartHighlight, _internals.useChartVisibilityManager, _plugins.useChartProZoom, _plugins.useChartProExport];
12
- const DEFAULT_PLUGINS = exports.DEFAULT_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _internals.useChartVisibilityManager, _plugins.useChartProZoom, _plugins.useChartProExport];
11
+ const ALL_PLUGINS = exports.ALL_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartPolarAxis, _internals.useChartHighlight, _internals.useChartVisibilityManager, _plugins.useChartProZoom, _plugins.useChartProExport, _internals.useProgressiveRendering];
12
+ const DEFAULT_PLUGINS = exports.DEFAULT_PLUGINS = [_internals.useChartZAxis, _internals.useChartBrush, _internals.useChartTooltip, _internals.useChartInteraction, _internals.useChartCartesianAxis, _internals.useChartHighlight, _internals.useChartVisibilityManager, _plugins.useChartProZoom, _plugins.useChartProExport, _internals.useProgressiveRendering];
@@ -1,6 +1,6 @@
1
1
  // This file should be removed after creating all plugins in favor of a file per chart type.
2
2
 
3
- import { useChartCartesianAxis, useChartTooltip, useChartInteraction, useChartZAxis, useChartHighlight, useChartPolarAxis, useChartBrush, useChartVisibilityManager } from '@mui/x-charts/internals';
3
+ import { useChartCartesianAxis, useChartTooltip, useChartInteraction, useChartZAxis, useChartHighlight, useChartPolarAxis, useChartBrush, useChartVisibilityManager, useProgressiveRendering } from '@mui/x-charts/internals';
4
4
  import { useChartProExport, useChartProZoom } from '@mui/x-charts-pro/plugins';
5
- export const ALL_PLUGINS = [useChartZAxis, useChartBrush, useChartTooltip, useChartInteraction, useChartCartesianAxis, useChartPolarAxis, useChartHighlight, useChartVisibilityManager, useChartProZoom, useChartProExport];
6
- export const DEFAULT_PLUGINS = [useChartZAxis, useChartBrush, useChartTooltip, useChartInteraction, useChartCartesianAxis, useChartHighlight, useChartVisibilityManager, useChartProZoom, useChartProExport];
5
+ export const ALL_PLUGINS = [useChartZAxis, useChartBrush, useChartTooltip, useChartInteraction, useChartCartesianAxis, useChartPolarAxis, useChartHighlight, useChartVisibilityManager, useChartProZoom, useChartProExport, useProgressiveRendering];
6
+ export const DEFAULT_PLUGINS = [useChartZAxis, useChartBrush, useChartTooltip, useChartInteraction, useChartCartesianAxis, useChartHighlight, useChartVisibilityManager, useChartProZoom, useChartProExport, useProgressiveRendering];
@@ -29,7 +29,7 @@ export interface MapShapeValueType {
29
29
  */
30
30
  color?: string;
31
31
  }
32
- export interface MapShapeSeriesType extends Omit<CommonSeriesType<MapShapeValueType, 'mapShape'>, 'valueFormatter'> {
32
+ export interface MapShapeSeriesType extends Omit<CommonSeriesType<'mapShape'>, 'valueFormatter'> {
33
33
  type: 'mapShape';
34
34
  /**
35
35
  * The data points to render. Each entry is joined to a feature in `geoData`
@@ -29,7 +29,7 @@ export interface MapShapeValueType {
29
29
  */
30
30
  color?: string;
31
31
  }
32
- export interface MapShapeSeriesType extends Omit<CommonSeriesType<MapShapeValueType, 'mapShape'>, 'valueFormatter'> {
32
+ export interface MapShapeSeriesType extends Omit<CommonSeriesType<'mapShape'>, 'valueFormatter'> {
33
33
  type: 'mapShape';
34
34
  /**
35
35
  * The data points to render. Each entry is joined to a feature in `geoData`
@@ -11,7 +11,7 @@ export type OHLCValueType = [number, number, number, number];
11
11
  * The OHLC fields that can be formatted individually.
12
12
  */
13
13
  export type OHLCField = 'open' | 'high' | 'low' | 'close';
14
- export interface OHLCSeriesType extends Omit<CommonSeriesType<OHLCValueType | null, 'ohlc'>, 'valueFormatter'>, CartesianSeriesType {
14
+ export interface OHLCSeriesType extends Omit<CommonSeriesType<'ohlc'>, 'valueFormatter'>, CartesianSeriesType {
15
15
  type: 'ohlc';
16
16
  /**
17
17
  * The OHLC data points.
@@ -11,7 +11,7 @@ export type OHLCValueType = [number, number, number, number];
11
11
  * The OHLC fields that can be formatted individually.
12
12
  */
13
13
  export type OHLCField = 'open' | 'high' | 'low' | 'close';
14
- export interface OHLCSeriesType extends Omit<CommonSeriesType<OHLCValueType | null, 'ohlc'>, 'valueFormatter'>, CartesianSeriesType {
14
+ export interface OHLCSeriesType extends Omit<CommonSeriesType<'ohlc'>, 'valueFormatter'>, CartesianSeriesType {
15
15
  type: 'ohlc';
16
16
  /**
17
17
  * The OHLC data points.
@@ -1,7 +1,7 @@
1
1
  import type { CommonSeriesType, CommonBarSeriesType, RadialSeriesType, StackableSeriesType, SeriesId, CommonDefaultizedProps } from '@mui/x-charts/internals';
2
2
  import type { StackOffsetType } from '@mui/x-charts/models';
3
3
  import type { DefaultizedProps } from '@mui/x-internals/types';
4
- export interface RadialBarSeriesType extends CommonSeriesType<number | null, 'radialBar'>, RadialSeriesType, StackableSeriesType, CommonBarSeriesType {
4
+ export interface RadialBarSeriesType extends CommonSeriesType<'radialBar'>, RadialSeriesType, StackableSeriesType, CommonBarSeriesType {
5
5
  type: 'radialBar';
6
6
  /**
7
7
  * Defines how stacked series handle negative values.
@@ -1,7 +1,7 @@
1
1
  import type { CommonSeriesType, CommonBarSeriesType, RadialSeriesType, StackableSeriesType, SeriesId, CommonDefaultizedProps } from '@mui/x-charts/internals';
2
2
  import type { StackOffsetType } from '@mui/x-charts/models';
3
3
  import type { DefaultizedProps } from '@mui/x-internals/types';
4
- export interface RadialBarSeriesType extends CommonSeriesType<number | null, 'radialBar'>, RadialSeriesType, StackableSeriesType, CommonBarSeriesType {
4
+ export interface RadialBarSeriesType extends CommonSeriesType<'radialBar'>, RadialSeriesType, StackableSeriesType, CommonBarSeriesType {
5
5
  type: 'radialBar';
6
6
  /**
7
7
  * Defines how stacked series handle negative values.
@@ -1,7 +1,7 @@
1
1
  import type { CommonSeriesType, CommonLineSeriesType, RadialSeriesType, StackableSeriesType, SeriesId, CommonDefaultizedProps } from '@mui/x-charts/internals';
2
2
  import type { CurveType, StackOffsetType } from '@mui/x-charts/models';
3
3
  import type { DefaultizedProps } from '@mui/x-internals/types';
4
- export interface RadialLineSeriesType extends CommonSeriesType<number | null, 'line'>, RadialSeriesType, StackableSeriesType, CommonLineSeriesType {
4
+ export interface RadialLineSeriesType extends CommonSeriesType<'line'>, RadialSeriesType, StackableSeriesType, CommonLineSeriesType {
5
5
  type: 'radialLine';
6
6
  /**
7
7
  * Defines how stacked series handle negative values.
@@ -1,7 +1,7 @@
1
1
  import type { CommonSeriesType, CommonLineSeriesType, RadialSeriesType, StackableSeriesType, SeriesId, CommonDefaultizedProps } from '@mui/x-charts/internals';
2
2
  import type { CurveType, StackOffsetType } from '@mui/x-charts/models';
3
3
  import type { DefaultizedProps } from '@mui/x-internals/types';
4
- export interface RadialLineSeriesType extends CommonSeriesType<number | null, 'line'>, RadialSeriesType, StackableSeriesType, CommonLineSeriesType {
4
+ export interface RadialLineSeriesType extends CommonSeriesType<'line'>, RadialSeriesType, StackableSeriesType, CommonLineSeriesType {
5
5
  type: 'radialLine';
6
6
  /**
7
7
  * Defines how stacked series handle negative values.
@@ -2,7 +2,7 @@ import { type CartesianSeriesType, type CommonDefaultizedProps, type CommonSerie
2
2
  import { type DefaultizedProps } from '@mui/x-internals/types';
3
3
  /** [start, end] */
4
4
  export type RangeBarValueType = [number, number];
5
- export interface RangeBarSeriesType extends CommonSeriesType<RangeBarValueType | null, 'rangeBar'>, CartesianSeriesType {
5
+ export interface RangeBarSeriesType extends CommonSeriesType<'rangeBar'>, CartesianSeriesType {
6
6
  type: 'rangeBar';
7
7
  /**
8
8
  * Data associated to each range bar.
@@ -2,7 +2,7 @@ import { type CartesianSeriesType, type CommonDefaultizedProps, type CommonSerie
2
2
  import { type DefaultizedProps } from '@mui/x-internals/types';
3
3
  /** [start, end] */
4
4
  export type RangeBarValueType = [number, number];
5
- export interface RangeBarSeriesType extends CommonSeriesType<RangeBarValueType | null, 'rangeBar'>, CartesianSeriesType {
5
+ export interface RangeBarSeriesType extends CommonSeriesType<'rangeBar'>, CartesianSeriesType {
6
6
  type: 'rangeBar';
7
7
  /**
8
8
  * Data associated to each range bar.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-premium",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Premium plan edition of the MUI X Charts components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -31,11 +31,11 @@
31
31
  "@mui/utils": "9.0.1",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/x-charts": "^9.4.0",
35
- "@mui/x-charts-pro": "^9.4.0",
36
- "@mui/x-license": "^9.4.0",
37
34
  "@mui/x-charts-vendor": "^9.4.0",
38
- "@mui/x-internals": "^9.1.0"
35
+ "@mui/x-charts-pro": "^9.5.0",
36
+ "@mui/x-license": "^9.4.0",
37
+ "@mui/x-internals": "^9.1.0",
38
+ "@mui/x-charts": "^9.5.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",