@mui/x-charts-premium 9.5.0 → 9.7.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 (314) hide show
  1. package/BarChartPremium/BarChartPremium.d.mts +4 -4
  2. package/BarChartPremium/BarChartPremium.d.ts +4 -4
  3. package/BarChartPremium/BarChartPremium.js +5 -3
  4. package/BarChartPremium/BarChartPremium.mjs +5 -3
  5. package/BarChartPremium/BarChartPremium.plugins.d.mts +2 -2
  6. package/BarChartPremium/BarChartPremium.plugins.d.ts +2 -2
  7. package/BarChartPremium/BarPlotPremium.d.mts +1 -1
  8. package/BarChartPremium/BarPlotPremium.d.ts +1 -1
  9. package/BarChartPremium/BarPlotPremium.js +1 -1
  10. package/BarChartPremium/BarPlotPremium.mjs +1 -1
  11. package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts +1 -1
  12. package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts +1 -1
  13. package/BarChartPremium/RangeBar/RangeBarPlot.d.mts +2 -2
  14. package/BarChartPremium/RangeBar/RangeBarPlot.d.ts +2 -2
  15. package/BarChartPremium/RangeBar/RangeBarPlot.js +2 -2
  16. package/BarChartPremium/RangeBar/RangeBarPlot.mjs +2 -2
  17. package/BarChartPremium/RangeBar/createGetRangeBarDimensions.d.mts +1 -1
  18. package/BarChartPremium/RangeBar/createGetRangeBarDimensions.d.ts +1 -1
  19. package/BarChartPremium/RangeBar/seriesConfig/descriptionGetter.d.mts +1 -1
  20. package/BarChartPremium/RangeBar/seriesConfig/descriptionGetter.d.ts +1 -1
  21. package/BarChartPremium/RangeBar/seriesConfig/extrema.d.mts +1 -1
  22. package/BarChartPremium/RangeBar/seriesConfig/extrema.d.ts +1 -1
  23. package/BarChartPremium/RangeBar/seriesConfig/getColor.d.mts +1 -1
  24. package/BarChartPremium/RangeBar/seriesConfig/getColor.d.ts +1 -1
  25. package/BarChartPremium/RangeBar/seriesConfig/getColor.js +2 -5
  26. package/BarChartPremium/RangeBar/seriesConfig/getColor.mjs +2 -5
  27. package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
  28. package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  29. package/BarChartPremium/RangeBar/seriesConfig/index.d.mts +1 -1
  30. package/BarChartPremium/RangeBar/seriesConfig/index.d.ts +1 -1
  31. package/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  32. package/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  33. package/BarChartPremium/RangeBar/seriesConfig/legend.d.mts +1 -1
  34. package/BarChartPremium/RangeBar/seriesConfig/legend.d.ts +1 -1
  35. package/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.mts +1 -1
  36. package/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.ts +1 -1
  37. package/BarChartPremium/RangeBar/seriesConfig/tooltip.d.mts +1 -1
  38. package/BarChartPremium/RangeBar/seriesConfig/tooltip.d.ts +1 -1
  39. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts +1 -1
  40. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts +1 -1
  41. package/BarChartPremium/RangeBar/useRangeBarPlotData.d.mts +4 -4
  42. package/BarChartPremium/RangeBar/useRangeBarPlotData.d.ts +4 -4
  43. package/BarChartPremium/useBarChartPremiumProps.d.mts +5 -5
  44. package/BarChartPremium/useBarChartPremiumProps.d.ts +5 -5
  45. package/BarChartPremium/webgl/BarWebGLProgram.d.mts +1 -1
  46. package/BarChartPremium/webgl/BarWebGLProgram.d.ts +1 -1
  47. package/BarChartPremium/webgl/useBarWebGLPlotData.d.mts +3 -3
  48. package/BarChartPremium/webgl/useBarWebGLPlotData.d.ts +3 -3
  49. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.mts +3 -3
  50. package/BarChartPremium/webgl/useWebGLBarLikePlotData.d.ts +3 -3
  51. package/CHANGELOG.md +261 -0
  52. package/CandlestickChart/CandlestickChart.d.mts +12 -12
  53. package/CandlestickChart/CandlestickChart.d.ts +12 -12
  54. package/CandlestickChart/CandlestickChart.js +1 -1
  55. package/CandlestickChart/CandlestickChart.mjs +1 -1
  56. package/CandlestickChart/CandlestickChart.plugins.d.mts +2 -2
  57. package/CandlestickChart/CandlestickChart.plugins.d.ts +2 -2
  58. package/CandlestickChart/CandlestickWebGLProgram.d.mts +1 -1
  59. package/CandlestickChart/CandlestickWebGLProgram.d.ts +1 -1
  60. package/CandlestickChart/checkCandlestickScaleErrors.d.mts +2 -2
  61. package/CandlestickChart/checkCandlestickScaleErrors.d.ts +2 -2
  62. package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.mts +1 -1
  63. package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.ts +1 -1
  64. package/CandlestickChart/seriesConfig/descriptionGetter.d.mts +1 -1
  65. package/CandlestickChart/seriesConfig/descriptionGetter.d.ts +1 -1
  66. package/CandlestickChart/seriesConfig/extrema.d.mts +1 -1
  67. package/CandlestickChart/seriesConfig/extrema.d.ts +1 -1
  68. package/CandlestickChart/seriesConfig/getColor.d.mts +1 -1
  69. package/CandlestickChart/seriesConfig/getColor.d.ts +1 -1
  70. package/CandlestickChart/seriesConfig/getColor.js +2 -5
  71. package/CandlestickChart/seriesConfig/getColor.mjs +2 -5
  72. package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.mts +1 -1
  73. package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  74. package/CandlestickChart/seriesConfig/index.d.mts +1 -1
  75. package/CandlestickChart/seriesConfig/index.d.ts +1 -1
  76. package/CandlestickChart/seriesConfig/legend.d.mts +1 -1
  77. package/CandlestickChart/seriesConfig/legend.d.ts +1 -1
  78. package/CandlestickChart/seriesConfig/seriesProcessor.d.mts +1 -1
  79. package/CandlestickChart/seriesConfig/seriesProcessor.d.ts +1 -1
  80. package/CandlestickChart/seriesConfig/tooltip.d.mts +1 -1
  81. package/CandlestickChart/seriesConfig/tooltip.d.ts +1 -1
  82. package/CandlestickChart/seriesConfig/tooltipPosition.d.mts +1 -1
  83. package/CandlestickChart/seriesConfig/tooltipPosition.d.ts +1 -1
  84. package/CandlestickChart/useCandlestickChartProps.d.mts +9 -9
  85. package/CandlestickChart/useCandlestickChartProps.d.ts +9 -9
  86. package/CandlestickChart/useCandlestickChartProps.mjs +0 -1
  87. package/CandlestickChart/useCandlestickPlotData.d.mts +3 -3
  88. package/CandlestickChart/useCandlestickPlotData.d.ts +3 -3
  89. package/ChartsContainerPremium/ChartsContainerPremium.d.mts +4 -4
  90. package/ChartsContainerPremium/ChartsContainerPremium.d.ts +4 -4
  91. package/ChartsContainerPremium/useChartsContainerPremiumProps.d.mts +2 -2
  92. package/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts +2 -2
  93. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +4 -4
  94. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +4 -4
  95. package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +7 -3
  96. package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +8 -5
  97. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +1 -1
  98. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +1 -1
  99. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.mts +4 -4
  100. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.ts +4 -4
  101. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +11 -3
  102. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +11 -3
  103. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.mts +4 -4
  104. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.ts +4 -4
  105. package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.mts +2 -2
  106. package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.ts +2 -2
  107. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.mts +4 -4
  108. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.ts +4 -4
  109. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +11 -3
  110. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +11 -3
  111. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.plugins.d.mts +3 -3
  112. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.plugins.d.ts +3 -3
  113. package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.mts +1 -1
  114. package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.ts +1 -1
  115. package/ChartsRenderer/ChartsRenderer.js +1 -1
  116. package/ChartsRenderer/ChartsRenderer.mjs +1 -1
  117. package/ChartsRenderer/colors.d.mts +1 -1
  118. package/ChartsRenderer/colors.d.ts +1 -1
  119. package/ChartsRenderer/configuration.d.mts +1 -1
  120. package/ChartsRenderer/configuration.d.ts +1 -1
  121. package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.mts +1 -1
  122. package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.ts +1 -1
  123. package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts +1 -1
  124. package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts +1 -1
  125. package/HeatmapPremium/HeatmapPlotPremium.d.mts +1 -1
  126. package/HeatmapPremium/HeatmapPlotPremium.d.ts +1 -1
  127. package/HeatmapPremium/HeatmapPremium.d.mts +1 -1
  128. package/HeatmapPremium/HeatmapPremium.d.ts +1 -1
  129. package/HeatmapPremium/HeatmapPremium.js +5 -3
  130. package/HeatmapPremium/HeatmapPremium.mjs +5 -3
  131. package/HeatmapPremium/HeatmapPremium.plugins.d.mts +2 -2
  132. package/HeatmapPremium/HeatmapPremium.plugins.d.ts +2 -2
  133. package/HeatmapPremium/useHeatmapPremiumProps.d.mts +2 -2
  134. package/HeatmapPremium/useHeatmapPremiumProps.d.ts +2 -2
  135. package/HeatmapPremium/webgl/useHeatmapPlotData.d.mts +3 -3
  136. package/HeatmapPremium/webgl/useHeatmapPlotData.d.ts +3 -3
  137. package/Map/GeoDataPlot.js +1 -1
  138. package/Map/GeoDataPlot.mjs +1 -1
  139. package/Map/MapShape.d.mts +4 -1
  140. package/Map/MapShape.d.ts +4 -1
  141. package/Map/MapShape.js +10 -1
  142. package/Map/MapShape.mjs +9 -0
  143. package/Map/MapShapePlot.d.mts +5 -1
  144. package/Map/MapShapePlot.d.ts +5 -1
  145. package/Map/MapShapePlot.js +27 -3
  146. package/Map/MapShapePlot.mjs +28 -4
  147. package/Map/index.d.mts +3 -1
  148. package/Map/index.d.ts +3 -1
  149. package/Map/seriesConfig/descriptionGetter.d.mts +1 -1
  150. package/Map/seriesConfig/descriptionGetter.d.ts +1 -1
  151. package/Map/seriesConfig/getColor.js +4 -9
  152. package/Map/seriesConfig/getColor.mjs +4 -9
  153. package/Map/seriesConfig/index.d.mts +1 -1
  154. package/Map/seriesConfig/index.d.ts +1 -1
  155. package/Map/seriesConfig/index.js +2 -0
  156. package/Map/seriesConfig/index.mjs +2 -0
  157. package/Map/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  158. package/Map/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  159. package/Map/seriesConfig/legend.d.mts +1 -1
  160. package/Map/seriesConfig/legend.d.ts +1 -1
  161. package/Map/seriesConfig/seriesProcessor.d.mts +1 -1
  162. package/Map/seriesConfig/seriesProcessor.d.ts +1 -1
  163. package/Map/seriesConfig/tooltip.d.mts +1 -1
  164. package/Map/seriesConfig/tooltip.d.ts +1 -1
  165. package/Map/seriesConfig/tooltip.js +5 -1
  166. package/Map/seriesConfig/tooltip.mjs +5 -1
  167. package/Map/seriesConfig/tooltipPosition.d.mts +3 -0
  168. package/Map/seriesConfig/tooltipPosition.d.ts +3 -0
  169. package/Map/seriesConfig/tooltipPosition.js +64 -0
  170. package/Map/seriesConfig/tooltipPosition.mjs +58 -0
  171. package/RadialBarChart/RadialBarChart.d.mts +10 -10
  172. package/RadialBarChart/RadialBarChart.d.ts +10 -10
  173. package/RadialBarChart/RadialBarChart.js +1 -1
  174. package/RadialBarChart/RadialBarChart.mjs +1 -1
  175. package/RadialBarChart/RadialBarChart.plugins.d.mts +2 -2
  176. package/RadialBarChart/RadialBarChart.plugins.d.ts +2 -2
  177. package/RadialBarChart/RadialBarElement.d.mts +2 -2
  178. package/RadialBarChart/RadialBarElement.d.ts +2 -2
  179. package/RadialBarChart/RadialBarPlot.js +1 -1
  180. package/RadialBarChart/RadialBarPlot.mjs +1 -1
  181. package/RadialBarChart/seriesConfig/descriptionGetter.d.mts +1 -1
  182. package/RadialBarChart/seriesConfig/descriptionGetter.d.ts +1 -1
  183. package/RadialBarChart/seriesConfig/extremums.d.mts +1 -1
  184. package/RadialBarChart/seriesConfig/extremums.d.ts +1 -1
  185. package/RadialBarChart/seriesConfig/getColor.d.mts +1 -1
  186. package/RadialBarChart/seriesConfig/getColor.d.ts +1 -1
  187. package/RadialBarChart/seriesConfig/getItemAtPosition.d.mts +1 -1
  188. package/RadialBarChart/seriesConfig/getItemAtPosition.d.ts +1 -1
  189. package/RadialBarChart/seriesConfig/index.d.mts +1 -1
  190. package/RadialBarChart/seriesConfig/index.d.ts +1 -1
  191. package/RadialBarChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  192. package/RadialBarChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  193. package/RadialBarChart/seriesConfig/tooltip.d.mts +1 -1
  194. package/RadialBarChart/seriesConfig/tooltip.d.ts +1 -1
  195. package/RadialBarChart/useRadialBarChartProps.d.mts +6 -6
  196. package/RadialBarChart/useRadialBarChartProps.d.ts +6 -6
  197. package/RadialBarChart/useRadialBarPlotData.d.mts +1 -1
  198. package/RadialBarChart/useRadialBarPlotData.d.ts +1 -1
  199. package/RadialBarChart/useRadialBarPlotData.js +4 -1
  200. package/RadialBarChart/useRadialBarPlotData.mjs +3 -1
  201. package/RadialLineChart/RadialArea.d.mts +1 -1
  202. package/RadialLineChart/RadialArea.d.ts +1 -1
  203. package/RadialLineChart/RadialAreaPlot.d.mts +6 -2
  204. package/RadialLineChart/RadialAreaPlot.d.ts +6 -2
  205. package/RadialLineChart/RadialAreaPlot.js +10 -1
  206. package/RadialLineChart/RadialAreaPlot.mjs +11 -2
  207. package/RadialLineChart/RadialLine.d.mts +2 -2
  208. package/RadialLineChart/RadialLine.d.ts +2 -2
  209. package/RadialLineChart/RadialLineChart.d.mts +10 -10
  210. package/RadialLineChart/RadialLineChart.d.ts +10 -10
  211. package/RadialLineChart/RadialLineChart.js +1 -1
  212. package/RadialLineChart/RadialLineChart.mjs +1 -1
  213. package/RadialLineChart/RadialLineChart.plugins.d.mts +2 -2
  214. package/RadialLineChart/RadialLineChart.plugins.d.ts +2 -2
  215. package/RadialLineChart/RadialLineHighlightElement.d.mts +4 -1
  216. package/RadialLineChart/RadialLineHighlightElement.d.ts +4 -1
  217. package/RadialLineChart/RadialLineHighlightElement.js +10 -1
  218. package/RadialLineChart/RadialLineHighlightElement.mjs +9 -0
  219. package/RadialLineChart/RadialLineHighlightPlot.d.mts +5 -2
  220. package/RadialLineChart/RadialLineHighlightPlot.d.ts +5 -2
  221. package/RadialLineChart/RadialLineHighlightPlot.js +18 -1
  222. package/RadialLineChart/RadialLineHighlightPlot.mjs +17 -0
  223. package/RadialLineChart/RadialLinePlot.d.mts +6 -2
  224. package/RadialLineChart/RadialLinePlot.d.ts +6 -2
  225. package/RadialLineChart/RadialLinePlot.js +10 -1
  226. package/RadialLineChart/RadialLinePlot.mjs +11 -2
  227. package/RadialLineChart/RadialMarkPlot.d.mts +6 -2
  228. package/RadialLineChart/RadialMarkPlot.d.ts +6 -2
  229. package/RadialLineChart/RadialMarkPlot.js +10 -1
  230. package/RadialLineChart/RadialMarkPlot.mjs +11 -2
  231. package/RadialLineChart/seriesConfig/descriptionGetter.d.mts +1 -1
  232. package/RadialLineChart/seriesConfig/descriptionGetter.d.ts +1 -1
  233. package/RadialLineChart/seriesConfig/extremums.d.mts +1 -1
  234. package/RadialLineChart/seriesConfig/extremums.d.ts +1 -1
  235. package/RadialLineChart/seriesConfig/getColor.d.mts +1 -1
  236. package/RadialLineChart/seriesConfig/getColor.d.ts +1 -1
  237. package/RadialLineChart/seriesConfig/getItemAtPosition.d.mts +1 -1
  238. package/RadialLineChart/seriesConfig/getItemAtPosition.d.ts +1 -1
  239. package/RadialLineChart/seriesConfig/getItemAtPosition.mjs +1 -2
  240. package/RadialLineChart/seriesConfig/index.d.mts +1 -1
  241. package/RadialLineChart/seriesConfig/index.d.ts +1 -1
  242. package/RadialLineChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  243. package/RadialLineChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  244. package/RadialLineChart/seriesConfig/legend.d.mts +1 -1
  245. package/RadialLineChart/seriesConfig/legend.d.ts +1 -1
  246. package/RadialLineChart/seriesConfig/seriesProcessor.d.mts +1 -1
  247. package/RadialLineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  248. package/RadialLineChart/seriesConfig/tooltip.d.mts +1 -1
  249. package/RadialLineChart/seriesConfig/tooltip.d.ts +1 -1
  250. package/RadialLineChart/useRadialLineChartProps.d.mts +7 -7
  251. package/RadialLineChart/useRadialLineChartProps.d.ts +7 -7
  252. package/RadialLineChart/useRadialLinePlotData.d.mts +1 -1
  253. package/RadialLineChart/useRadialLinePlotData.d.ts +1 -1
  254. package/ScatterChartPremium/ScatterChartPremium.d.mts +6 -6
  255. package/ScatterChartPremium/ScatterChartPremium.d.ts +6 -6
  256. package/ScatterChartPremium/ScatterChartPremium.js +5 -3
  257. package/ScatterChartPremium/ScatterChartPremium.mjs +5 -3
  258. package/ScatterChartPremium/ScatterChartPremium.plugins.d.mts +1 -1
  259. package/ScatterChartPremium/ScatterChartPremium.plugins.d.ts +1 -1
  260. package/ScatterChartPremium/ScatterPlotPremium.d.mts +19 -3
  261. package/ScatterChartPremium/ScatterPlotPremium.d.ts +19 -3
  262. package/ScatterChartPremium/ScatterPlotPremium.js +34 -1
  263. package/ScatterChartPremium/ScatterPlotPremium.mjs +36 -2
  264. package/ScatterChartPremium/index.d.mts +1 -1
  265. package/ScatterChartPremium/index.d.ts +1 -1
  266. package/ScatterChartPremium/webgl/ScatterWebGLProgram.d.mts +1 -1
  267. package/ScatterChartPremium/webgl/ScatterWebGLProgram.d.ts +1 -1
  268. package/context/ChartPremiumApi.d.mts +4 -1
  269. package/context/ChartPremiumApi.d.ts +4 -1
  270. package/context/useChartPremiumApiContext.d.mts +1 -1
  271. package/context/useChartPremiumApiContext.d.ts +1 -1
  272. package/hooks/animation/useAnimateRangeBar.d.mts +1 -1
  273. package/hooks/animation/useAnimateRangeBar.d.ts +1 -1
  274. package/hooks/useChartPremiumApiRef.d.mts +4 -4
  275. package/hooks/useChartPremiumApiRef.d.ts +4 -4
  276. package/hooks/useGeoData.d.mts +1 -1
  277. package/hooks/useGeoData.d.ts +1 -1
  278. package/hooks/useGeoData.js +1 -1
  279. package/hooks/useGeoData.mjs +2 -3
  280. package/hooks/useGeoFeatureIndexesByName.mjs +0 -1
  281. package/hooks/useGeoPath.d.mts +1 -1
  282. package/hooks/useGeoPath.d.ts +1 -1
  283. package/hooks/useGeoPath.mjs +0 -1
  284. package/hooks/useMapShapeSeries.d.mts +2 -2
  285. package/hooks/useMapShapeSeries.d.ts +2 -2
  286. package/hooks/useOHLCSeries.d.mts +2 -2
  287. package/hooks/useOHLCSeries.d.ts +2 -2
  288. package/hooks/useRadialLineSeries.d.mts +2 -2
  289. package/hooks/useRadialLineSeries.d.ts +2 -2
  290. package/hooks/useRangeBarSeries.d.mts +2 -2
  291. package/hooks/useRangeBarSeries.d.ts +2 -2
  292. package/index.js +1 -1
  293. package/index.mjs +1 -1
  294. package/internals/plugins/allPlugins.d.mts +2 -2
  295. package/internals/plugins/allPlugins.d.ts +2 -2
  296. package/internals/plugins/useGeoProjection/useGeoProjection.d.mts +2 -2
  297. package/internals/plugins/useGeoProjection/useGeoProjection.d.ts +2 -2
  298. package/internals/plugins/useGeoProjection/useGeoProjection.js +32 -3
  299. package/internals/plugins/useGeoProjection/useGeoProjection.mjs +32 -3
  300. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.mts +12 -34
  301. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.ts +12 -34
  302. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.js +8 -129
  303. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs +8 -128
  304. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.mts +2 -55
  305. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.ts +2 -55
  306. package/models/seriesType/ohlc.d.mts +2 -2
  307. package/models/seriesType/ohlc.d.ts +2 -2
  308. package/models/seriesType/rangeBar.d.mts +2 -2
  309. package/models/seriesType/rangeBar.d.ts +2 -2
  310. package/moduleAugmentation/rangeBarOnClick.d.mts +1 -1
  311. package/moduleAugmentation/rangeBarOnClick.d.ts +1 -1
  312. package/package.json +9 -6
  313. package/plugins/selectors/useChartCandlestickPosition.selectors.d.mts +1 -1
  314. package/plugins/selectors/useChartCandlestickPosition.selectors.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
- import { type ScatterChartProps, type ScatterChartSlots, type ScatterChartSlotProps } from '@mui/x-charts/ScatterChart';
3
- import { type ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
2
+ import type { ScatterChartProps, ScatterChartSlots, ScatterChartSlotProps } from '@mui/x-charts/ScatterChart';
3
+ import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
4
4
  import type { TooltipPropsOverrides } from '@mui/x-charts/models';
5
- import { type ChartsToolbarProSlotProps, type ChartsToolbarProSlots } from '@mui/x-charts-pro/ChartsToolbarPro';
6
- import { type ChartsSlotPropsPro, type ChartsSlotsPro } from '@mui/x-charts-pro/internals';
7
- import { type ChartsContainerPremiumProps } from "../ChartsContainerPremium/index.js";
8
- import { type ScatterChartPremiumPluginSignatures } from "./ScatterChartPremium.plugins.js";
5
+ import type { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from '@mui/x-charts-pro/ChartsToolbarPro';
6
+ import type { ChartsSlotPropsPro, ChartsSlotsPro } from '@mui/x-charts-pro/internals';
7
+ import type { ChartsContainerPremiumProps } from "../ChartsContainerPremium/index.js";
8
+ import type { ScatterChartPremiumPluginSignatures } from "./ScatterChartPremium.plugins.js";
9
9
  export interface ScatterChartPremiumSlots extends Omit<ScatterChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
10
10
  export interface ScatterChartPremiumSlotProps extends Omit<ScatterChartSlotProps, 'toolbar' | 'tooltip'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
11
11
  tooltip?: Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides;
@@ -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" |
@@ -449,11 +449,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
449
449
  color: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired), _propTypes.default.func]).isRequired,
450
450
  max: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
451
451
  min: _propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]),
452
- type: _propTypes.default.oneOf(['continuous']).isRequired
452
+ type: _propTypes.default.oneOf(['continuous']).isRequired,
453
+ unknownColor: _propTypes.default.string
453
454
  }), _propTypes.default.shape({
454
455
  colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
455
456
  thresholds: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.instanceOf(Date), _propTypes.default.number]).isRequired).isRequired,
456
- type: _propTypes.default.oneOf(['piecewise']).isRequired
457
+ type: _propTypes.default.oneOf(['piecewise']).isRequired,
458
+ unknownColor: _propTypes.default.string
457
459
  }), _propTypes.default.shape({
458
460
  colors: _propTypes.default.arrayOf(_propTypes.default.string).isRequired,
459
461
  type: _propTypes.default.oneOf(['ordinal']).isRequired,
@@ -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" |
@@ -442,11 +442,13 @@ process.env.NODE_ENV !== "production" ? ScatterChartPremium.propTypes = {
442
442
  color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
443
443
  max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
444
444
  min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
445
- type: PropTypes.oneOf(['continuous']).isRequired
445
+ type: PropTypes.oneOf(['continuous']).isRequired,
446
+ unknownColor: PropTypes.string
446
447
  }), PropTypes.shape({
447
448
  colors: PropTypes.arrayOf(PropTypes.string).isRequired,
448
449
  thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
449
- type: PropTypes.oneOf(['piecewise']).isRequired
450
+ type: PropTypes.oneOf(['piecewise']).isRequired,
451
+ unknownColor: PropTypes.string
450
452
  }), PropTypes.shape({
451
453
  colors: PropTypes.arrayOf(PropTypes.string).isRequired,
452
454
  type: PropTypes.oneOf(['ordinal']).isRequired,
@@ -1,3 +1,3 @@
1
- import { type ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
1
+ import type { ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
2
2
  export type ScatterChartPremiumPluginSignatures = ScatterChartProPluginSignatures;
3
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
- import { type ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
1
+ import type { ScatterChartProPluginSignatures } from '@mui/x-charts-pro/ScatterChartPro';
2
2
  export type ScatterChartPremiumPluginSignatures = ScatterChartProPluginSignatures;
3
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 RendererType, type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import type { RendererType, ScatterPlotProps, ScatterPlotSlots, 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.
@@ -7,8 +9,22 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
7
9
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
10
  */
9
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 RendererType, type ScatterPlotProps } from '@mui/x-charts/ScatterChart';
1
+ import type { RendererType, ScatterPlotProps, ScatterPlotSlots, 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.
@@ -7,8 +9,22 @@ export interface ScatterPlotPremiumProps extends Omit<ScatterPlotProps, 'rendere
7
9
  * - `webgl`: Renders scatter items using WebGL for better performance, at the cost of some limitations.
8
10
  */
9
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";
@@ -1,4 +1,4 @@
1
- import { type ScatterWebGLPlotData } from "./useScatterWebGLPlotData.mjs";
1
+ import type { ScatterWebGLPlotData } from "./useScatterWebGLPlotData.mjs";
2
2
  export declare class ScatterWebGLProgram {
3
3
  private gl;
4
4
  private readonly shaders;
@@ -1,4 +1,4 @@
1
- import { type ScatterWebGLPlotData } from "./useScatterWebGLPlotData.js";
1
+ import type { ScatterWebGLPlotData } from "./useScatterWebGLPlotData.js";
2
2
  export declare class ScatterWebGLProgram {
3
3
  private gl;
4
4
  private readonly shaders;
@@ -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>;
@@ -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.js";
4
4
  import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
5
+ import type { GeoPremiumPluginSignatures } from "../ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.js";
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>;
@@ -1,4 +1,4 @@
1
- import { type ChartPremiumApi } from "./ChartPremiumApi.mjs";
1
+ import type { ChartPremiumApi } from "./ChartPremiumApi.mjs";
2
2
  /**
3
3
  * The `useChartPremiumApiContext` hook provides access to the chart API.
4
4
  * This is only available when the chart is rendered within a chart or a `ChartsDataProviderPremium` component.
@@ -1,4 +1,4 @@
1
- import { type ChartPremiumApi } from "./ChartPremiumApi.js";
1
+ import type { ChartPremiumApi } from "./ChartPremiumApi.js";
2
2
  /**
3
3
  * The `useChartPremiumApiContext` hook provides access to the chart API.
4
4
  * This is only available when the chart is rendered within a chart or a `ChartsDataProviderPremium` component.
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import { type AnimatedRangeBarElementProps } from "../../BarChartPremium/RangeBar/AnimatedRangeBarElement.mjs";
2
+ import type { AnimatedRangeBarElementProps } from "../../BarChartPremium/RangeBar/AnimatedRangeBarElement.mjs";
3
3
  type UseAnimateRangeBarParams = Pick<AnimatedRangeBarElementProps, 'x' | 'y' | 'xOrigin' | 'yOrigin' | 'width' | 'height' | 'skipAnimation' | 'layout'> & {
4
4
  ref?: React.Ref<SVGRectElement>;
5
5
  hidden?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import { type AnimatedRangeBarElementProps } from "../../BarChartPremium/RangeBar/AnimatedRangeBarElement.js";
2
+ import type { AnimatedRangeBarElementProps } from "../../BarChartPremium/RangeBar/AnimatedRangeBarElement.js";
3
3
  type UseAnimateRangeBarParams = Pick<AnimatedRangeBarElementProps, 'x' | 'y' | 'xOrigin' | 'yOrigin' | 'width' | 'height' | 'skipAnimation' | 'layout'> & {
4
4
  ref?: React.Ref<SVGRectElement>;
5
5
  hidden?: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { type ChartAnyPluginSignature } from '@mui/x-charts/internals';
3
- import { type ChartPremiumApi } from "../context/index.mjs";
4
- import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
5
- import { type PremiumPluginsPerSeriesType } from "../context/ChartPremiumApi.mjs";
2
+ import type { ChartAnyPluginSignature } from '@mui/x-charts/internals';
3
+ import type { ChartPremiumApi } from "../context/index.mjs";
4
+ import type { AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
5
+ import type { PremiumPluginsPerSeriesType } from "../context/ChartPremiumApi.mjs";
6
6
  /**
7
7
  * Hook that instantiates a [[ChartPremiumApiRef]].
8
8
  * The chart type needs to be given as the generic parameter to narrow down the API to the specific chart type.
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { type ChartAnyPluginSignature } from '@mui/x-charts/internals';
3
- import { type ChartPremiumApi } from "../context/index.js";
4
- import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
5
- import { type PremiumPluginsPerSeriesType } from "../context/ChartPremiumApi.js";
2
+ import type { ChartAnyPluginSignature } from '@mui/x-charts/internals';
3
+ import type { ChartPremiumApi } from "../context/index.js";
4
+ import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
5
+ import type { PremiumPluginsPerSeriesType } from "../context/ChartPremiumApi.js";
6
6
  /**
7
7
  * Hook that instantiates a [[ChartPremiumApiRef]].
8
8
  * The chart type needs to be given as the generic parameter to narrow down the API to the specific chart type.
@@ -1,4 +1,4 @@
1
- import { type ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
1
+ import type { ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
2
2
  /**
3
3
  * Get the GeoJSON `FeatureCollection` currently registered with the geo chart,
4
4
  * or `null` when no `geoData` has been configured.
@@ -1,4 +1,4 @@
1
- import { type ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
1
+ import type { ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
2
2
  /**
3
3
  * Get the GeoJSON `FeatureCollection` currently registered with the geo chart,
4
4
  * or `null` when no `geoData` has been configured.
@@ -13,5 +13,5 @@ var _useGeoProjection = require("../internals/plugins/useGeoProjection");
13
13
  */
14
14
  function useGeoData() {
15
15
  const store = (0, _internals.useStore)();
16
- return store.use(_useGeoProjection.selectorChartRawGeoData);
16
+ return store.use(_useGeoProjection.selectorChartGeoData);
17
17
  }
@@ -1,13 +1,12 @@
1
1
  'use client';
2
2
 
3
3
  import { useStore } from '@mui/x-charts/internals';
4
- import { selectorChartRawGeoData } from "../internals/plugins/useGeoProjection/index.mjs";
5
-
4
+ import { selectorChartGeoData } from "../internals/plugins/useGeoProjection/index.mjs";
6
5
  /**
7
6
  * Get the GeoJSON `FeatureCollection` currently registered with the geo chart,
8
7
  * or `null` when no `geoData` has been configured.
9
8
  */
10
9
  export function useGeoData() {
11
10
  const store = useStore();
12
- return store.use(selectorChartRawGeoData);
11
+ return store.use(selectorChartGeoData);
13
12
  }
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { useStore } from '@mui/x-charts/internals';
4
4
  import { selectorChartGeoFeatureIndexesByName } from "../internals/plugins/useGeoProjection/index.mjs";
5
-
6
5
  /**
7
6
  * Get a map from `feature.properties.name` to the indices of that feature in `geoData.features`.
8
7
  *
@@ -1,4 +1,4 @@
1
- import { type GeoPath } from '@mui/x-charts-vendor/d3-geo';
1
+ import type { GeoPath } from '@mui/x-charts-vendor/d3-geo';
2
2
  /**
3
3
  * Get the geo path registered with the geo chart, resolved against d3-geo and
4
4
  * fitted to the chart's drawing area.
@@ -1,4 +1,4 @@
1
- import { type GeoPath } from '@mui/x-charts-vendor/d3-geo';
1
+ import type { GeoPath } from '@mui/x-charts-vendor/d3-geo';
2
2
  /**
3
3
  * Get the geo path registered with the geo chart, resolved against d3-geo and
4
4
  * fitted to the chart's drawing area.
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { useStore } from '@mui/x-charts/internals';
4
4
  import { selectorChartGeoPath } from "../internals/plugins/useGeoProjection/index.mjs";
5
-
6
5
  /**
7
6
  * Get the geo path registered with the geo chart, resolved against d3-geo and
8
7
  * fitted to the chart's drawing area.
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseMapShapeSeriesReturnValue = ChartSeriesDefaultized<'mapShape'>;
4
4
  export type UseMapShapeSeriesContextReturnValue = ProcessedSeries['mapShape'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseMapShapeSeriesReturnValue = ChartSeriesDefaultized<'mapShape'>;
4
4
  export type UseMapShapeSeriesContextReturnValue = ProcessedSeries['mapShape'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseOHLCSeriesReturnValue = ChartSeriesDefaultized<'ohlc'>;
4
4
  export type UseOHLCSeriesContextReturnValue = ProcessedSeries['ohlc'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseOHLCSeriesReturnValue = ChartSeriesDefaultized<'ohlc'>;
4
4
  export type UseOHLCSeriesContextReturnValue = ProcessedSeries['ohlc'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseRadialLineSeriesReturnValue = ChartSeriesDefaultized<'radialLine'>;
4
4
  export type UseRadialLineSeriesContextReturnValue = ProcessedSeries['radialLine'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseRadialLineSeriesReturnValue = ChartSeriesDefaultized<'radialLine'>;
4
4
  export type UseRadialLineSeriesContextReturnValue = ProcessedSeries['radialLine'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseRangeBarSeriesReturnValue = ChartSeriesDefaultized<'rangeBar'>;
4
4
  export type UseRangeBarSeriesContextReturnValue = ProcessedSeries['rangeBar'];
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { type ChartSeriesDefaultized, type ProcessedSeries } from '@mui/x-charts/internals';
2
- import { type SeriesId } from '@mui/x-charts/models';
1
+ import type { ChartSeriesDefaultized, ProcessedSeries } from '@mui/x-charts/internals';
2
+ import type { SeriesId } from '@mui/x-charts/models';
3
3
  export type UseRangeBarSeriesReturnValue = ChartSeriesDefaultized<'rangeBar'>;
4
4
  export type UseRangeBarSeriesContextReturnValue = ProcessedSeries['rangeBar'];
5
5
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-premium v9.5.0
2
+ * @mui/x-charts-premium v9.7.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
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-premium v9.5.0
2
+ * @mui/x-charts-premium v9.7.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
@@ -1,5 +1,5 @@
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
- import { type UseChartProExportSignature, type UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
1
+ import type { ChartSeriesType, ConvertSignaturesIntoPlugins, UseChartCartesianAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartZAxisSignature, UseChartHighlightSignature, UseChartPolarAxisSignature, UseChartBrushSignature, UseChartVisibilityManagerSignature, UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
2
+ import type { UseChartProExportSignature, UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
3
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
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>>)[];
@@ -1,5 +1,5 @@
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
- import { type UseChartProExportSignature, type UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
1
+ import type { ChartSeriesType, ConvertSignaturesIntoPlugins, UseChartCartesianAxisSignature, UseChartTooltipSignature, UseChartInteractionSignature, UseChartZAxisSignature, UseChartHighlightSignature, UseChartPolarAxisSignature, UseChartBrushSignature, UseChartVisibilityManagerSignature, UseProgressiveRenderingSignature } from '@mui/x-charts/internals';
2
+ import type { UseChartProExportSignature, UseChartProZoomSignature } from '@mui/x-charts-pro/plugins';
3
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
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>>)[];
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from '@mui/x-charts/internals';
2
- import { type UseGeoProjectionSignature } from "./useGeoProjection.types.mjs";
1
+ import type { ChartPlugin } from '@mui/x-charts/internals';
2
+ import type { UseGeoProjectionSignature } from "./useGeoProjection.types.mjs";
3
3
  export declare const useGeoProjection: ChartPlugin<UseGeoProjectionSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from '@mui/x-charts/internals';
2
- import { type UseGeoProjectionSignature } from "./useGeoProjection.types.js";
1
+ import type { ChartPlugin } from '@mui/x-charts/internals';
2
+ import type { UseGeoProjectionSignature } from "./useGeoProjection.types.js";
3
3
  export declare const useGeoProjection: ChartPlugin<UseGeoProjectionSignature>;