@mui/x-charts-premium 9.4.0 → 9.6.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 (136) hide show
  1. package/BarChartPremium/BarChartPremium.js +5 -3
  2. package/BarChartPremium/BarChartPremium.mjs +5 -3
  3. package/BarChartPremium/BarPlotPremium.js +1 -1
  4. package/BarChartPremium/BarPlotPremium.mjs +1 -1
  5. package/BarChartPremium/RangeBar/RangeBarPlot.js +2 -2
  6. package/BarChartPremium/RangeBar/RangeBarPlot.mjs +2 -2
  7. package/BarChartPremium/RangeBar/seriesConfig/getColor.js +2 -5
  8. package/BarChartPremium/RangeBar/seriesConfig/getColor.mjs +2 -5
  9. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.mts +1 -0
  10. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.ts +1 -0
  11. package/BarChartPremium/webgl/useWebGLBarLikePlotData.js +66 -7
  12. package/BarChartPremium/webgl/useWebGLBarLikePlotData.mjs +66 -7
  13. package/CHANGELOG.md +251 -0
  14. package/CandlestickChart/CandlestickChart.js +1 -1
  15. package/CandlestickChart/CandlestickChart.mjs +1 -1
  16. package/CandlestickChart/index.d.mts +11 -2
  17. package/CandlestickChart/index.d.ts +11 -2
  18. package/CandlestickChart/index.js +15 -3
  19. package/CandlestickChart/index.mjs +16 -2
  20. package/CandlestickChart/seriesConfig/getColor.js +2 -5
  21. package/CandlestickChart/seriesConfig/getColor.mjs +2 -5
  22. package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +7 -3
  23. package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +7 -3
  24. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +11 -3
  25. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +11 -3
  26. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.mts +1 -1
  27. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.ts +1 -1
  28. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +11 -3
  29. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +11 -3
  30. package/ChartsRenderer/ChartsRenderer.js +1 -1
  31. package/ChartsRenderer/ChartsRenderer.mjs +1 -1
  32. package/HeatmapPremium/HeatmapPremium.js +5 -3
  33. package/HeatmapPremium/HeatmapPremium.mjs +5 -3
  34. package/Map/GeoDataPlot.js +1 -1
  35. package/Map/GeoDataPlot.mjs +1 -1
  36. package/Map/MapShape.d.mts +3 -0
  37. package/Map/MapShape.d.ts +3 -0
  38. package/Map/MapShape.js +10 -1
  39. package/Map/MapShape.mjs +9 -0
  40. package/Map/MapShapePlot.d.mts +5 -1
  41. package/Map/MapShapePlot.d.ts +5 -1
  42. package/Map/MapShapePlot.js +27 -3
  43. package/Map/MapShapePlot.mjs +28 -4
  44. package/Map/index.d.mts +3 -1
  45. package/Map/index.d.ts +3 -1
  46. package/Map/seriesConfig/getColor.js +4 -9
  47. package/Map/seriesConfig/getColor.mjs +4 -9
  48. package/Map/seriesConfig/index.js +2 -0
  49. package/Map/seriesConfig/index.mjs +2 -0
  50. package/Map/seriesConfig/tooltip.js +5 -1
  51. package/Map/seriesConfig/tooltip.mjs +5 -1
  52. package/Map/seriesConfig/tooltipPosition.d.mts +3 -0
  53. package/Map/seriesConfig/tooltipPosition.d.ts +3 -0
  54. package/Map/seriesConfig/tooltipPosition.js +64 -0
  55. package/Map/seriesConfig/tooltipPosition.mjs +58 -0
  56. package/RadialBarChart/RadialBarChart.d.mts +1 -1
  57. package/RadialBarChart/RadialBarChart.d.ts +1 -1
  58. package/RadialBarChart/RadialBarChart.js +3 -3
  59. package/RadialBarChart/RadialBarChart.mjs +2 -2
  60. package/RadialBarChart/RadialBarPlot.js +1 -1
  61. package/RadialBarChart/RadialBarPlot.mjs +1 -1
  62. package/RadialBarChart/index.d.mts +4 -0
  63. package/RadialBarChart/index.d.ts +4 -0
  64. package/RadialBarChart/index.js +8 -1
  65. package/RadialBarChart/index.mjs +6 -0
  66. package/RadialLineChart/RadialAreaPlot.d.mts +5 -1
  67. package/RadialLineChart/RadialAreaPlot.d.ts +5 -1
  68. package/RadialLineChart/RadialAreaPlot.js +10 -1
  69. package/RadialLineChart/RadialAreaPlot.mjs +11 -2
  70. package/RadialLineChart/RadialLineChart.d.mts +1 -1
  71. package/RadialLineChart/RadialLineChart.d.ts +1 -1
  72. package/RadialLineChart/RadialLineChart.js +5 -5
  73. package/RadialLineChart/RadialLineChart.mjs +6 -6
  74. package/RadialLineChart/RadialLineHighlightElement.d.mts +3 -0
  75. package/RadialLineChart/RadialLineHighlightElement.d.ts +3 -0
  76. package/RadialLineChart/RadialLineHighlightElement.js +10 -1
  77. package/RadialLineChart/RadialLineHighlightElement.mjs +9 -0
  78. package/RadialLineChart/RadialLineHighlightPlot.d.mts +3 -0
  79. package/RadialLineChart/RadialLineHighlightPlot.d.ts +3 -0
  80. package/RadialLineChart/RadialLineHighlightPlot.js +18 -1
  81. package/RadialLineChart/RadialLineHighlightPlot.mjs +17 -0
  82. package/RadialLineChart/RadialLinePlot.d.mts +5 -1
  83. package/RadialLineChart/RadialLinePlot.d.ts +5 -1
  84. package/RadialLineChart/RadialLinePlot.js +10 -1
  85. package/RadialLineChart/RadialLinePlot.mjs +11 -2
  86. package/RadialLineChart/RadialMarkPlot.d.mts +5 -1
  87. package/RadialLineChart/RadialMarkPlot.d.ts +5 -1
  88. package/RadialLineChart/RadialMarkPlot.js +10 -1
  89. package/RadialLineChart/RadialMarkPlot.mjs +11 -2
  90. package/RadialLineChart/index.d.mts +4 -0
  91. package/RadialLineChart/index.d.ts +4 -0
  92. package/RadialLineChart/index.js +16 -1
  93. package/RadialLineChart/index.mjs +6 -0
  94. package/ScatterChartPremium/ScatterChartPremium.js +9 -5
  95. package/ScatterChartPremium/ScatterChartPremium.mjs +10 -6
  96. package/ScatterChartPremium/ScatterChartPremium.plugins.d.mts +1 -1
  97. package/ScatterChartPremium/ScatterChartPremium.plugins.d.ts +1 -1
  98. package/ScatterChartPremium/ScatterPlotPremium.d.mts +20 -4
  99. package/ScatterChartPremium/ScatterPlotPremium.d.ts +20 -4
  100. package/ScatterChartPremium/ScatterPlotPremium.js +34 -1
  101. package/ScatterChartPremium/ScatterPlotPremium.mjs +36 -2
  102. package/ScatterChartPremium/index.d.mts +1 -1
  103. package/ScatterChartPremium/index.d.ts +1 -1
  104. package/context/ChartPremiumApi.d.mts +4 -1
  105. package/context/ChartPremiumApi.d.ts +4 -1
  106. package/hooks/useGeoData.js +1 -1
  107. package/hooks/useGeoData.mjs +2 -2
  108. package/index.d.mts +1 -1
  109. package/index.d.ts +1 -1
  110. package/index.js +8 -1
  111. package/index.mjs +2 -2
  112. package/internals/plugins/allPlugins.d.mts +5 -5
  113. package/internals/plugins/allPlugins.d.ts +5 -5
  114. package/internals/plugins/allPlugins.js +2 -2
  115. package/internals/plugins/allPlugins.mjs +3 -3
  116. package/internals/plugins/useGeoProjection/useGeoProjection.d.mts +1 -1
  117. package/internals/plugins/useGeoProjection/useGeoProjection.d.ts +1 -1
  118. package/internals/plugins/useGeoProjection/useGeoProjection.js +32 -3
  119. package/internals/plugins/useGeoProjection/useGeoProjection.mjs +32 -3
  120. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.mts +12 -34
  121. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.ts +12 -34
  122. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.js +8 -129
  123. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs +8 -128
  124. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.mts +2 -55
  125. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.ts +2 -55
  126. package/models/seriesType/mapShape.d.mts +1 -1
  127. package/models/seriesType/mapShape.d.ts +1 -1
  128. package/models/seriesType/ohlc.d.mts +1 -1
  129. package/models/seriesType/ohlc.d.ts +1 -1
  130. package/models/seriesType/radialBar.d.mts +1 -1
  131. package/models/seriesType/radialBar.d.ts +1 -1
  132. package/models/seriesType/radialLine.d.mts +1 -1
  133. package/models/seriesType/radialLine.d.ts +1 -1
  134. package/models/seriesType/rangeBar.d.mts +1 -1
  135. package/models/seriesType/rangeBar.d.ts +1 -1
  136. package/package.json +9 -6
@@ -10,6 +10,7 @@ exports.RadialLineHighlightPlot = RadialLineHighlightPlot;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
14
  var _internals = require("@mui/x-charts/internals");
14
15
  var _hooks = require("@mui/x-charts/hooks");
15
16
  var _useRadialLineSeries = require("../hooks/useRadialLineSeries");
@@ -89,4 +90,20 @@ function RadialLineHighlightPlot(props) {
89
90
  }, slotProps?.radialLineHighlight), `${seriesId}`);
90
91
  }))
91
92
  }));
92
- }
93
+ }
94
+ process.env.NODE_ENV !== "production" ? RadialLineHighlightPlot.propTypes /* remove-proptypes */ = {
95
+ // ----------------------------- Warning --------------------------------
96
+ // | These PropTypes are generated from the TypeScript type definitions |
97
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
98
+ // ----------------------------------------------------------------------
99
+ /**
100
+ * The props used for each component slot.
101
+ * @default {}
102
+ */
103
+ slotProps: _propTypes.default.object,
104
+ /**
105
+ * Overridable component slots.
106
+ * @default {}
107
+ */
108
+ slots: _propTypes.default.object
109
+ } : void 0;
@@ -4,6 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["slots", "slotProps"];
6
6
  import * as React from 'react';
7
+ import PropTypes from 'prop-types';
7
8
  import { selectorChartsInteractionRotationAxisIndex, useChartsContext } from '@mui/x-charts/internals';
8
9
  import { getValueToPositionMapper, useRadiusAxes, useRotationAxes } from '@mui/x-charts/hooks';
9
10
  import { useRadialLineSeriesContext } from "../hooks/useRadialLineSeries.mjs";
@@ -83,4 +84,20 @@ function RadialLineHighlightPlot(props) {
83
84
  }))
84
85
  }));
85
86
  }
87
+ process.env.NODE_ENV !== "production" ? RadialLineHighlightPlot.propTypes /* remove-proptypes */ = {
88
+ // ----------------------------- Warning --------------------------------
89
+ // | These PropTypes are generated from the TypeScript type definitions |
90
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
91
+ // ----------------------------------------------------------------------
92
+ /**
93
+ * The props used for each component slot.
94
+ * @default {}
95
+ */
96
+ slotProps: PropTypes.object,
97
+ /**
98
+ * Overridable component slots.
99
+ * @default {}
100
+ */
101
+ slots: PropTypes.object
102
+ } : void 0;
86
103
  export { RadialLineHighlightPlot };
@@ -2,4 +2,8 @@ import { type RadialLineClasses } from "./radialLineClasses.mjs";
2
2
  export interface RadialLinePlotProps {
3
3
  classes?: Partial<Pick<RadialLineClasses, 'line' | 'linePlot'>>;
4
4
  }
5
- export declare function RadialLinePlot(props: RadialLinePlotProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function RadialLinePlot(props: RadialLinePlotProps): import("react/jsx-runtime").JSX.Element;
6
+ declare namespace RadialLinePlot {
7
+ var propTypes: any;
8
+ }
9
+ export { RadialLinePlot };
@@ -2,4 +2,8 @@ import { type RadialLineClasses } from "./radialLineClasses.js";
2
2
  export interface RadialLinePlotProps {
3
3
  classes?: Partial<Pick<RadialLineClasses, 'line' | 'linePlot'>>;
4
4
  }
5
- export declare function RadialLinePlot(props: RadialLinePlotProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function RadialLinePlot(props: RadialLinePlotProps): import("react/jsx-runtime").JSX.Element;
6
+ declare namespace RadialLinePlot {
7
+ var propTypes: any;
8
+ }
9
+ export { RadialLinePlot };
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.RadialLinePlot = RadialLinePlot;
7
8
  var _styles = require("@mui/material/styles");
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
10
  var _internals = require("@mui/x-charts/internals");
9
11
  var _useRadialLinePlotData = require("./useRadialLinePlotData");
10
12
  var _radialLineClasses = require("./radialLineClasses");
@@ -49,4 +51,11 @@ function RadialLinePlot(props) {
49
51
  className: classes.line
50
52
  }, seriesId))
51
53
  });
52
- }
54
+ }
55
+ process.env.NODE_ENV !== "production" ? RadialLinePlot.propTypes /* remove-proptypes */ = {
56
+ // ----------------------------- Warning --------------------------------
57
+ // | These PropTypes are generated from the TypeScript type definitions |
58
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
59
+ // ----------------------------------------------------------------------
60
+ classes: _propTypes.default.object
61
+ } : void 0;
@@ -1,4 +1,5 @@
1
1
  import { styled } from '@mui/material/styles';
2
+ import PropTypes from 'prop-types';
2
3
  import { selectorChartPolarCenter, useChartsContext } from '@mui/x-charts/internals';
3
4
  import { useRadialLinePlotData } from "./useRadialLinePlotData.mjs";
4
5
  import { useUtilityClasses } from "./radialLineClasses.mjs";
@@ -8,7 +9,7 @@ const RadialLinePlotRoot = styled('g', {
8
9
  name: 'MuiRadialLinePlot',
9
10
  slot: 'Root'
10
11
  })();
11
- export function RadialLinePlot(props) {
12
+ function RadialLinePlot(props) {
12
13
  const {
13
14
  classes: inClasses
14
15
  } = props;
@@ -43,4 +44,12 @@ export function RadialLinePlot(props) {
43
44
  className: classes.line
44
45
  }, seriesId))
45
46
  });
46
- }
47
+ }
48
+ process.env.NODE_ENV !== "production" ? RadialLinePlot.propTypes /* remove-proptypes */ = {
49
+ // ----------------------------- Warning --------------------------------
50
+ // | These PropTypes are generated from the TypeScript type definitions |
51
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
52
+ // ----------------------------------------------------------------------
53
+ classes: PropTypes.object
54
+ } : void 0;
55
+ export { RadialLinePlot };
@@ -2,4 +2,8 @@ import { type RadialLineClasses } from "./radialLineClasses.mjs";
2
2
  export interface RadialMarkPlotProps {
3
3
  classes?: Partial<Pick<RadialLineClasses, 'mark' | 'markPlot'>>;
4
4
  }
5
- export declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react/jsx-runtime").JSX.Element;
6
+ declare namespace RadialMarkPlot {
7
+ var propTypes: any;
8
+ }
9
+ export { RadialMarkPlot };
@@ -2,4 +2,8 @@ import { type RadialLineClasses } from "./radialLineClasses.js";
2
2
  export interface RadialMarkPlotProps {
3
3
  classes?: Partial<Pick<RadialLineClasses, 'mark' | 'markPlot'>>;
4
4
  }
5
- export declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react/jsx-runtime").JSX.Element;
6
+ declare namespace RadialMarkPlot {
7
+ var propTypes: any;
8
+ }
9
+ export { RadialMarkPlot };
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.RadialMarkPlot = RadialMarkPlot;
7
8
  var _d3Shape = require("@mui/x-charts-vendor/d3-shape");
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
10
  var _styles = require("@mui/material/styles");
9
11
  var _internals = require("@mui/x-charts/internals");
10
12
  var _useRadialLinePlotData = require("./useRadialLinePlotData");
@@ -74,4 +76,11 @@ function RadialMarkPlot(props) {
74
76
  }, seriesId);
75
77
  })
76
78
  });
77
- }
79
+ }
80
+ process.env.NODE_ENV !== "production" ? RadialMarkPlot.propTypes /* remove-proptypes */ = {
81
+ // ----------------------------- Warning --------------------------------
82
+ // | These PropTypes are generated from the TypeScript type definitions |
83
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
84
+ // ----------------------------------------------------------------------
85
+ classes: _propTypes.default.object
86
+ } : void 0;
@@ -1,4 +1,5 @@
1
1
  import { symbol as d3Symbol, symbolsFill as d3SymbolsFill } from '@mui/x-charts-vendor/d3-shape';
2
+ import PropTypes from 'prop-types';
2
3
  import { styled } from '@mui/material/styles';
3
4
  import { getSymbol } from '@mui/x-charts/internals';
4
5
  import { useRadialLinePlotData } from "./useRadialLinePlotData.mjs";
@@ -9,7 +10,7 @@ const RadialMarkPlotRoot = styled('g', {
9
10
  name: 'MuiRadialMarkPlot',
10
11
  slot: 'Root'
11
12
  })();
12
- export function RadialMarkPlot(props) {
13
+ function RadialMarkPlot(props) {
13
14
  const {
14
15
  classes: inClasses
15
16
  } = props;
@@ -68,4 +69,12 @@ export function RadialMarkPlot(props) {
68
69
  }, seriesId);
69
70
  })
70
71
  });
71
- }
72
+ }
73
+ process.env.NODE_ENV !== "production" ? RadialMarkPlot.propTypes /* remove-proptypes */ = {
74
+ // ----------------------------- Warning --------------------------------
75
+ // | These PropTypes are generated from the TypeScript type definitions |
76
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
77
+ // ----------------------------------------------------------------------
78
+ classes: PropTypes.object
79
+ } : void 0;
80
+ export { RadialMarkPlot };
@@ -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"
@@ -109,7 +109,7 @@ const ScatterChartPremium = exports.ScatterChartPremium = /*#__PURE__*/React.for
109
109
  }));
110
110
  });
111
111
  if (process.env.NODE_ENV !== "production") ScatterChartPremium.displayName = "ScatterChartPremium";
112
- process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
112
+ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes /* remove-proptypes */ = {
113
113
  // ----------------------------- Warning --------------------------------
114
114
  // | These PropTypes are generated from the TypeScript type definitions |
115
115
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -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
  */
@@ -447,11 +449,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
447
449
  color: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func]).isRequired,
448
450
  max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
449
451
  min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
450
- type: _propTypes.default.oneOf(['continuous']).isRequired
452
+ type: _propTypes.default.oneOf(['continuous']).isRequired,
453
+ unknownColor: _propTypes.default.string
451
454
  }), _propTypes.default.shape({
452
455
  colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
453
456
  thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
454
- type: _propTypes.default.oneOf(['piecewise']).isRequired
457
+ type: _propTypes.default.oneOf(['piecewise']).isRequired,
458
+ unknownColor: _propTypes.default.string
455
459
  }), _propTypes.default.shape({
456
460
  colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
457
461
  type: _propTypes.default.oneOf(['ordinal']).isRequired,
@@ -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"
@@ -102,7 +102,7 @@ const ScatterChartPremium = /*#__PURE__*/React.forwardRef(function ScatterChartP
102
102
  }));
103
103
  });
104
104
  if (process.env.NODE_ENV !== "production") ScatterChartPremium.displayName = "ScatterChartPremium";
105
- process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
105
+ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes /* remove-proptypes */ = {
106
106
  // ----------------------------- Warning --------------------------------
107
107
  // | These PropTypes are generated from the TypeScript type definitions |
108
108
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -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
  */
@@ -440,11 +442,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
440
442
  color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
441
443
  max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
442
444
  min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
443
- type: PropTypes.oneOf(['continuous']).isRequired
445
+ type: PropTypes.oneOf(['continuous']).isRequired,
446
+ unknownColor: PropTypes.string
444
447
  }), PropTypes.shape({
445
448
  colors: PropTypes.arrayOf(PropTypes.string).isRequired,
446
449
  thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
447
- type: PropTypes.oneOf(['piecewise']).isRequired
450
+ type: PropTypes.oneOf(['piecewise']).isRequired,
451
+ unknownColor: PropTypes.string
448
452
  }), PropTypes.shape({
449
453
  colors: PropTypes.arrayOf(PropTypes.string).isRequired,
450
454
  type: PropTypes.oneOf(['ordinal']).isRequired,
@@ -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,6 @@
1
- import { type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import { type RendererType, type ScatterPlotProps, type ScatterPlotSlots, type ScatterPlotSlotProps } from '@mui/x-charts/ScatterChart';
2
+ export interface ScatterPlotPremiumSlots extends ScatterPlotSlots {}
3
+ export interface ScatterPlotPremiumSlotProps extends ScatterPlotSlotProps {}
2
4
  export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'renderer'> {
3
5
  /**
4
6
  * The type of renderer to use for the scatter plot.
@@ -6,9 +8,23 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
6
8
  * - `svg-batch`: Renders all scatter items in a single batched SVG path.
7
9
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
10
  */
9
- renderer: 'svg-single' | 'svg-batch' | 'webgl';
11
+ renderer: RendererType | 'webgl';
12
+ /**
13
+ * Overridable component slots.
14
+ * @default {}
15
+ */
16
+ slots?: ScatterPlotPremiumSlots;
17
+ /**
18
+ * The props used for each component slot.
19
+ * @default {}
20
+ */
21
+ slotProps?: ScatterPlotPremiumSlotProps;
10
22
  }
11
- export declare function ScatterPlotPremium({
23
+ declare function ScatterPlotPremium({
12
24
  renderer,
13
25
  ...props
14
- }: ScatterPlotPremiumProps): import("react/jsx-runtime").JSX.Element;
26
+ }: ScatterPlotPremiumProps): import("react/jsx-runtime").JSX.Element;
27
+ declare namespace ScatterPlotPremium {
28
+ var propTypes: any;
29
+ }
30
+ export { ScatterPlotPremium };
@@ -1,4 +1,6 @@
1
- import { type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import { type RendererType, type ScatterPlotProps, type ScatterPlotSlots, type ScatterPlotSlotProps } from '@mui/x-charts/ScatterChart';
2
+ export interface ScatterPlotPremiumSlots extends ScatterPlotSlots {}
3
+ export interface ScatterPlotPremiumSlotProps extends ScatterPlotSlotProps {}
2
4
  export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'renderer'> {
3
5
  /**
4
6
  * The type of renderer to use for the scatter plot.
@@ -6,9 +8,23 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
6
8
  * - `svg-batch`: Renders all scatter items in a single batched SVG path.
7
9
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
10
  */
9
- renderer: 'svg-single' | 'svg-batch' | 'webgl';
11
+ renderer: RendererType | 'webgl';
12
+ /**
13
+ * Overridable component slots.
14
+ * @default {}
15
+ */
16
+ slots?: ScatterPlotPremiumSlots;
17
+ /**
18
+ * The props used for each component slot.
19
+ * @default {}
20
+ */
21
+ slotProps?: ScatterPlotPremiumSlotProps;
10
22
  }
11
- export declare function ScatterPlotPremium({
23
+ declare function ScatterPlotPremium({
12
24
  renderer,
13
25
  ...props
14
- }: ScatterPlotPremiumProps): import("react/jsx-runtime").JSX.Element;
26
+ }: ScatterPlotPremiumProps): import("react/jsx-runtime").JSX.Element;
27
+ declare namespace ScatterPlotPremium {
28
+ var propTypes: any;
29
+ }
30
+ export { ScatterPlotPremium };
@@ -10,6 +10,7 @@ exports.ScatterPlotPremium = ScatterPlotPremium;
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
14
  var _ScatterChart = require("@mui/x-charts/ScatterChart");
14
15
  var _ScatterWebGLPlot = require("./webgl/ScatterWebGLPlot");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
@@ -25,4 +26,36 @@ function ScatterPlotPremium(_ref) {
25
26
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ScatterChart.ScatterPlot, (0, _extends2.default)({
26
27
  renderer: renderer
27
28
  }, props));
28
- }
29
+ }
30
+ process.env.NODE_ENV !== "production" ? ScatterPlotPremium.propTypes /* remove-proptypes */ = {
31
+ // ----------------------------- Warning --------------------------------
32
+ // | These PropTypes are generated from the TypeScript type definitions |
33
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
34
+ // ----------------------------------------------------------------------
35
+ classes: _propTypes.default.object,
36
+ className: _propTypes.default.string,
37
+ /**
38
+ * Callback fired when a marker is clicked directly.
39
+ * For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
40
+ * @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
41
+ * @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
42
+ */
43
+ onItemClick: _propTypes.default.func,
44
+ /**
45
+ * The type of renderer to use for the scatter plot.
46
+ * - `svg-single`: Renders every scatter item in its own `<circle />` element.
47
+ * - `svg-batch`: Renders all scatter items in a single batched SVG path.
48
+ * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
49
+ */
50
+ renderer: _propTypes.default.oneOf(['svg-batch', 'svg-single', 'webgl']).isRequired,
51
+ /**
52
+ * The props used for each component slot.
53
+ * @default {}
54
+ */
55
+ slotProps: _propTypes.default.object,
56
+ /**
57
+ * Overridable component slots.
58
+ * @default {}
59
+ */
60
+ slots: _propTypes.default.object
61
+ } : void 0;
@@ -4,10 +4,11 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["renderer"];
6
6
  import * as React from 'react';
7
+ import PropTypes from 'prop-types';
7
8
  import { ScatterPlot } from '@mui/x-charts/ScatterChart';
8
9
  import { ScatterWebGLPlot } from "./webgl/ScatterWebGLPlot.mjs";
9
10
  import { jsx as _jsx } from "react/jsx-runtime";
10
- export function ScatterPlotPremium(_ref) {
11
+ function ScatterPlotPremium(_ref) {
11
12
  let {
12
13
  renderer
13
14
  } = _ref,
@@ -18,4 +19,37 @@ export function ScatterPlotPremium(_ref) {
18
19
  return /*#__PURE__*/_jsx(ScatterPlot, _extends({
19
20
  renderer: renderer
20
21
  }, props));
21
- }
22
+ }
23
+ process.env.NODE_ENV !== "production" ? ScatterPlotPremium.propTypes /* remove-proptypes */ = {
24
+ // ----------------------------- Warning --------------------------------
25
+ // | These PropTypes are generated from the TypeScript type definitions |
26
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
27
+ // ----------------------------------------------------------------------
28
+ classes: PropTypes.object,
29
+ className: PropTypes.string,
30
+ /**
31
+ * Callback fired when a marker is clicked directly.
32
+ * For closest-point clicks (the `ScatterChart` default), pass `onItemClick` to the chart container instead.
33
+ * @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
34
+ * @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
35
+ */
36
+ onItemClick: PropTypes.func,
37
+ /**
38
+ * The type of renderer to use for the scatter plot.
39
+ * - `svg-single`: Renders every scatter item in its own `<circle />` element.
40
+ * - `svg-batch`: Renders all scatter items in a single batched SVG path.
41
+ * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
42
+ */
43
+ renderer: PropTypes.oneOf(['svg-batch', 'svg-single', 'webgl']).isRequired,
44
+ /**
45
+ * The props used for each component slot.
46
+ * @default {}
47
+ */
48
+ slotProps: PropTypes.object,
49
+ /**
50
+ * Overridable component slots.
51
+ * @default {}
52
+ */
53
+ slots: PropTypes.object
54
+ } : void 0;
55
+ export { ScatterPlotPremium };
@@ -1,3 +1,3 @@
1
1
  export { ScatterChartPremium, type ScatterChartPremiumProps, type ScatterChartPremiumSlots, type ScatterChartPremiumSlotProps } from "./ScatterChartPremium.mjs";
2
2
  export { SCATTER_CHART_PREMIUM_PLUGINS, type ScatterChartPremiumPluginSignatures } from "./ScatterChartPremium.plugins.mjs";
3
- export { ScatterPlotPremium, type ScatterPlotPremiumProps } from "./ScatterPlotPremium.mjs";
3
+ export { ScatterPlotPremium, type ScatterPlotPremiumProps, type ScatterPlotPremiumSlots, type ScatterPlotPremiumSlotProps } from "./ScatterPlotPremium.mjs";
@@ -1,3 +1,3 @@
1
1
  export { ScatterChartPremium, type ScatterChartPremiumProps, type ScatterChartPremiumSlots, type ScatterChartPremiumSlotProps } from "./ScatterChartPremium.js";
2
2
  export { SCATTER_CHART_PREMIUM_PLUGINS, type ScatterChartPremiumPluginSignatures } from "./ScatterChartPremium.plugins.js";
3
- export { ScatterPlotPremium, type ScatterPlotPremiumProps } from "./ScatterPlotPremium.js";
3
+ export { ScatterPlotPremium, type ScatterPlotPremiumProps, type ScatterPlotPremiumSlots, type ScatterPlotPremiumSlotProps } from "./ScatterPlotPremium.js";
@@ -2,8 +2,11 @@ import type { ProPluginsPerSeriesType } from '@mui/x-charts-pro/internals';
2
2
  import type { ChartAnyPluginSignature, ChartPublicAPI } from '@mui/x-charts/internals';
3
3
  import type { BarChartPremiumPluginSignatures } from "../BarChartPremium/BarChartPremium.plugins.mjs";
4
4
  import type { AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
5
+ import type { GeoPremiumPluginSignatures } from "../ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.mjs";
5
6
  export type PremiumPluginsPerSeriesType = Omit<ProPluginsPerSeriesType, 'bar'> & {
6
7
  bar: BarChartPremiumPluginSignatures;
8
+ rangeBar: BarChartPremiumPluginSignatures;
9
+ mapShape: GeoPremiumPluginSignatures;
7
10
  };
8
11
  /**
9
12
  * The API of the chart `apiRef` object.
@@ -12,4 +15,4 @@ export type PremiumPluginsPerSeriesType = Omit<ProPluginsPerSeriesType, 'bar'> &
12
15
  * If the chart is being created using composition, the `composition` value can be used.
13
16
  * @example ChartProApi<'composition'>
14
17
  */
15
- export type ChartPremiumApi<ChartType extends keyof ProPluginsPerSeriesType | undefined = undefined, Signatures extends readonly ChartAnyPluginSignature[] = (ChartType extends keyof ProPluginsPerSeriesType ? PremiumPluginsPerSeriesType[ChartType] : AllPluginSignatures)> = ChartPublicAPI<Signatures>;
18
+ export type ChartPremiumApi<ChartType extends keyof PremiumPluginsPerSeriesType | undefined = undefined, Signatures extends readonly ChartAnyPluginSignature[] = (ChartType extends keyof PremiumPluginsPerSeriesType ? PremiumPluginsPerSeriesType[ChartType] : AllPluginSignatures)> = ChartPublicAPI<Signatures>;