@mui/x-charts-premium 9.0.0-alpha.1 → 9.0.0-alpha.3

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 (315) hide show
  1. package/{esm/BarChartPremium/BarChartPremium.d.ts → BarChartPremium/BarChartPremium.d.mts} +1 -1
  2. package/BarChartPremium/BarChartPremium.js +35 -17
  3. package/{esm/BarChartPremium/BarChartPremium.js → BarChartPremium/BarChartPremium.mjs} +41 -23
  4. package/{esm/BarChartPremium/RangeBar/AnimatedRangeBarElement.js → BarChartPremium/RangeBar/AnimatedRangeBarElement.mjs} +1 -1
  5. package/{esm/BarChartPremium/RangeBar/FocusedRangeBar.js → BarChartPremium/RangeBar/FocusedRangeBar.mjs} +2 -2
  6. package/{esm/BarChartPremium/RangeBar/RangeBarPlot.d.ts → BarChartPremium/RangeBar/RangeBarPlot.d.mts} +1 -1
  7. package/BarChartPremium/RangeBar/RangeBarPlot.js +1 -1
  8. package/{esm/BarChartPremium/RangeBar/RangeBarPlot.js → BarChartPremium/RangeBar/RangeBarPlot.mjs} +5 -5
  9. package/{esm/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts → BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts} +3 -3
  10. package/BarChartPremium/RangeBar/seriesConfig/index.js +3 -1
  11. package/BarChartPremium/RangeBar/seriesConfig/index.mjs +26 -0
  12. package/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.js +5 -2
  13. package/{esm/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.js → BarChartPremium/RangeBar/seriesConfig/seriesProcessor.mjs} +5 -2
  14. package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.js → BarChartPremium/RangeBar/seriesConfig/tooltipPosition.mjs} +1 -1
  15. package/{esm/BarChartPremium/RangeBar/types.d.ts → BarChartPremium/RangeBar/types.d.mts} +1 -1
  16. package/{esm/BarChartPremium/RangeBar/useRangeBarPlotData.d.ts → BarChartPremium/RangeBar/useRangeBarPlotData.d.mts} +1 -1
  17. package/{esm/BarChartPremium/RangeBar/useRangeBarPlotData.js → BarChartPremium/RangeBar/useRangeBarPlotData.mjs} +2 -2
  18. package/BarChartPremium/index.d.mts +5 -0
  19. package/BarChartPremium/index.mjs +5 -0
  20. package/{esm/BarChartPremium/useBarChartPremiumProps.d.ts → BarChartPremium/useBarChartPremiumProps.d.mts} +4 -4
  21. package/BarChartPremium/useBarChartPremiumProps.d.ts +2 -2
  22. package/CHANGELOG.md +240 -0
  23. package/{esm/ChartContainerPremium/ChartContainerPremium.d.ts → ChartContainerPremium/ChartContainerPremium.d.mts} +4 -4
  24. package/ChartContainerPremium/ChartContainerPremium.d.ts +2 -2
  25. package/{esm/ChartContainerPremium/ChartContainerPremium.js → ChartContainerPremium/ChartContainerPremium.mjs} +1 -1
  26. package/ChartContainerPremium/index.d.mts +2 -0
  27. package/ChartContainerPremium/index.mjs +2 -0
  28. package/{esm/ChartContainerPremium/useChartContainerPremiumProps.d.ts → ChartContainerPremium/useChartContainerPremiumProps.d.mts} +2 -2
  29. package/ChartContainerPremium/useChartContainerPremiumProps.d.ts +1 -1
  30. package/{esm/ChartContainerPremium/useChartContainerPremiumProps.js → ChartContainerPremium/useChartContainerPremiumProps.mjs} +1 -1
  31. package/ChartDataProviderPremium/ChartDataProviderPremium.d.mts +20 -0
  32. package/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +17 -46
  33. package/ChartDataProviderPremium/ChartDataProviderPremium.js +20 -143
  34. package/ChartDataProviderPremium/ChartDataProviderPremium.mjs +21 -0
  35. package/{esm/ChartDataProviderPremium/index.d.ts → ChartDataProviderPremium/index.d.mts} +1 -1
  36. package/{esm/ChartDataProviderPremium/index.js → ChartDataProviderPremium/index.mjs} +1 -1
  37. package/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.mts +10 -0
  38. package/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +7 -7
  39. package/ChartDataProviderPremium/useChartDataProviderPremiumProps.js +5 -18
  40. package/ChartDataProviderPremium/useChartDataProviderPremiumProps.mjs +8 -0
  41. package/{esm/ChartsContainerPremium/ChartsContainerPremium.d.ts → ChartsContainerPremium/ChartsContainerPremium.d.mts} +5 -5
  42. package/ChartsContainerPremium/ChartsContainerPremium.d.ts +3 -3
  43. package/ChartsContainerPremium/ChartsContainerPremium.js +1 -1
  44. package/{esm/ChartsContainerPremium/ChartsContainerPremium.js → ChartsContainerPremium/ChartsContainerPremium.mjs} +3 -3
  45. package/ChartsContainerPremium/index.d.mts +2 -0
  46. package/ChartsContainerPremium/index.mjs +2 -0
  47. package/ChartsContainerPremium/useChartsContainerPremiumProps.d.mts +8 -0
  48. package/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts +3 -3
  49. package/{esm/ChartsContainerPremium/useChartsContainerPremiumProps.js → ChartsContainerPremium/useChartsContainerPremiumProps.mjs} +1 -1
  50. package/ChartsDataProvider/index.d.mts +1 -0
  51. package/ChartsDataProvider/index.d.ts +1 -0
  52. package/ChartsDataProvider/index.js +16 -0
  53. package/ChartsDataProvider/index.mjs +2 -0
  54. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +49 -0
  55. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +49 -0
  56. package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +154 -0
  57. package/{esm/ChartDataProviderPremium/ChartDataProviderPremium.js → ChartsDataProviderPremium/ChartsDataProviderPremium.mjs} +22 -21
  58. package/ChartsDataProviderPremium/index.d.mts +2 -0
  59. package/ChartsDataProviderPremium/index.d.ts +2 -0
  60. package/ChartsDataProviderPremium/index.js +19 -0
  61. package/ChartsDataProviderPremium/index.mjs +2 -0
  62. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +10 -0
  63. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +10 -0
  64. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.js +25 -0
  65. package/{esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.js → ChartsDataProviderPremium/useChartsDataProviderPremiumProps.mjs} +3 -3
  66. package/ChartsDataProviderPro/index.d.mts +1 -0
  67. package/ChartsDataProviderPro/index.d.ts +1 -0
  68. package/ChartsDataProviderPro/index.js +16 -0
  69. package/ChartsDataProviderPro/index.mjs +2 -0
  70. package/ChartsLayerContainer/index.d.mts +1 -0
  71. package/ChartsLayerContainer/index.d.ts +1 -0
  72. package/ChartsLayerContainer/index.js +16 -0
  73. package/ChartsLayerContainer/index.mjs +2 -0
  74. package/{esm/ChartsRenderer/ChartsRenderer.js → ChartsRenderer/ChartsRenderer.mjs} +2 -2
  75. package/{esm/ChartsRenderer/components/PaletteOption.js → ChartsRenderer/components/PaletteOption.mjs} +1 -1
  76. package/{esm/ChartsRenderer/configuration.js → ChartsRenderer/configuration.mjs} +3 -3
  77. package/ChartsRenderer/index.d.mts +3 -0
  78. package/ChartsRenderer/index.mjs +3 -0
  79. package/ChartsSvgLayer/index.d.mts +1 -0
  80. package/ChartsSvgLayer/index.d.ts +1 -0
  81. package/ChartsSvgLayer/index.js +16 -0
  82. package/ChartsSvgLayer/index.mjs +2 -0
  83. package/ChartsWebGLLayer/ChartsWebGLLayer.d.mts +3 -0
  84. package/ChartsWebGLLayer/ChartsWebGLLayer.d.ts +3 -0
  85. package/ChartsWebGLLayer/ChartsWebGLLayer.js +113 -0
  86. package/ChartsWebGLLayer/ChartsWebGLLayer.mjs +105 -0
  87. package/ChartsWebGLLayer/index.d.mts +1 -0
  88. package/ChartsWebGLLayer/index.d.ts +1 -0
  89. package/ChartsWebGLLayer/index.js +12 -0
  90. package/ChartsWebGLLayer/index.mjs +1 -0
  91. package/ChartsZoomSlider/index.d.mts +1 -0
  92. package/ChartsZoomSlider/index.d.ts +1 -0
  93. package/ChartsZoomSlider/index.js +16 -0
  94. package/ChartsZoomSlider/index.mjs +2 -0
  95. package/{esm/ChartZoomSlider/internals/previews/RangeBarPreviewPlot.js → ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.mjs} +1 -1
  96. package/{esm/HeatmapPremium/HeatmapPlotPremium.js → HeatmapPremium/HeatmapPlotPremium.mjs} +1 -1
  97. package/{esm/HeatmapPremium/HeatmapPremium.d.ts → HeatmapPremium/HeatmapPremium.d.mts} +1 -1
  98. package/HeatmapPremium/HeatmapPremium.d.ts +1 -1
  99. package/HeatmapPremium/HeatmapPremium.js +37 -18
  100. package/{esm/HeatmapPremium/HeatmapPremium.js → HeatmapPremium/HeatmapPremium.mjs} +40 -21
  101. package/{esm/HeatmapPremium/HeatmapPremium.plugins.d.ts → HeatmapPremium/HeatmapPremium.plugins.d.mts} +1 -1
  102. package/HeatmapPremium/HeatmapPremium.plugins.d.ts +1 -1
  103. package/HeatmapPremium/index.d.mts +1 -0
  104. package/HeatmapPremium/index.mjs +1 -0
  105. package/{esm/HeatmapPremium/useHeatmapPremiumProps.d.ts → HeatmapPremium/useHeatmapPremiumProps.d.mts} +2 -2
  106. package/HeatmapPremium/webgl/HeatmapWebGLPlot.js +3 -3
  107. package/{esm/HeatmapPremium/webgl/HeatmapWebGLPlot.js → HeatmapPremium/webgl/HeatmapWebGLPlot.mjs} +6 -6
  108. package/HeatmapPremium/webgl/HeatmapWebGLRenderer.js +2 -1
  109. package/{esm/HeatmapPremium/webgl/HeatmapWebGLRenderer.js → HeatmapPremium/webgl/HeatmapWebGLRenderer.mjs} +4 -3
  110. package/HeatmapPremium/webgl/useHeatmapPlotData.js +9 -10
  111. package/{esm/HeatmapPremium/webgl/useHeatmapPlotData.js → HeatmapPremium/webgl/useHeatmapPlotData.mjs} +11 -12
  112. package/{esm/context/ChartPremiumApi.d.ts → context/ChartPremiumApi.d.mts} +2 -2
  113. package/context/index.d.mts +2 -0
  114. package/{esm/context/useChartPremiumApiContext.d.ts → context/useChartPremiumApiContext.d.mts} +2 -2
  115. package/context/useChartPremiumApiContext.d.ts +1 -1
  116. package/context/useChartPremiumApiContext.js +1 -1
  117. package/{esm/context/useChartPremiumApiContext.js → context/useChartPremiumApiContext.mjs} +1 -1
  118. package/hooks/animation/index.d.mts +1 -0
  119. package/hooks/animation/index.mjs +1 -0
  120. package/{esm/hooks/animation/useAnimateRangeBar.d.ts → hooks/animation/useAnimateRangeBar.d.mts} +1 -1
  121. package/hooks/index.d.mts +4 -0
  122. package/{esm/hooks/index.js → hooks/index.mjs} +3 -3
  123. package/{esm/hooks/useChartPremiumApiRef.d.ts → hooks/useChartPremiumApiRef.d.mts} +3 -3
  124. package/{esm/index.d.ts → index.d.mts} +18 -13
  125. package/index.d.ts +6 -1
  126. package/index.js +61 -1
  127. package/{esm/index.js → index.mjs} +19 -14
  128. package/internals/plugins/allPlugins.d.mts +8 -0
  129. package/internals/plugins/allPlugins.d.ts +6 -6
  130. package/{esm/models/index.d.ts → models/index.d.mts} +1 -1
  131. package/{esm/models/index.js → models/index.mjs} +1 -1
  132. package/models/seriesType/index.d.mts +1 -0
  133. package/models/seriesType/index.mjs +1 -0
  134. package/{esm/moduleAugmentation/rangeBarOnClick.d.ts → moduleAugmentation/rangeBarOnClick.d.mts} +1 -1
  135. package/package.json +878 -25
  136. package/typeOverloads/index.d.mts +1 -0
  137. package/typeOverloads/index.mjs +1 -0
  138. package/{esm/typeOverloads/modules.d.ts → typeOverloads/modules.d.mts} +9 -4
  139. package/typeOverloads/modules.d.ts +6 -1
  140. package/utils/webgl/useWebGLResizeObserver.js +2 -2
  141. package/{esm/utils/webgl/useWebGLResizeObserver.js → utils/webgl/useWebGLResizeObserver.mjs} +1 -1
  142. package/esm/BarChartPremium/RangeBar/seriesConfig/index.js +0 -24
  143. package/esm/BarChartPremium/index.d.ts +0 -5
  144. package/esm/BarChartPremium/index.js +0 -5
  145. package/esm/ChartContainerPremium/index.d.ts +0 -2
  146. package/esm/ChartContainerPremium/index.js +0 -2
  147. package/esm/ChartDataProviderPremium/ChartDataProviderPremium.d.ts +0 -49
  148. package/esm/ChartDataProviderPremium/useChartDataProviderPremiumProps.d.ts +0 -10
  149. package/esm/ChartsContainerPremium/index.d.ts +0 -2
  150. package/esm/ChartsContainerPremium/index.js +0 -2
  151. package/esm/ChartsContainerPremium/useChartsContainerPremiumProps.d.ts +0 -8
  152. package/esm/ChartsRenderer/index.d.ts +0 -3
  153. package/esm/ChartsRenderer/index.js +0 -3
  154. package/esm/HeatmapPremium/index.d.ts +0 -1
  155. package/esm/HeatmapPremium/index.js +0 -1
  156. package/esm/context/index.d.ts +0 -2
  157. package/esm/hooks/animation/index.d.ts +0 -1
  158. package/esm/hooks/animation/index.js +0 -1
  159. package/esm/hooks/index.d.ts +0 -4
  160. package/esm/internals/plugins/allPlugins.d.ts +0 -8
  161. package/esm/models/seriesType/index.d.ts +0 -1
  162. package/esm/models/seriesType/index.js +0 -1
  163. package/esm/package.json +0 -1
  164. package/esm/typeOverloads/index.d.ts +0 -1
  165. package/esm/typeOverloads/index.js +0 -1
  166. /package/{esm/BarChart/index.d.ts → BarChart/index.d.mts} +0 -0
  167. /package/{esm/BarChart/index.js → BarChart/index.mjs} +0 -0
  168. /package/{esm/BarChartPremium/BarChartPremium.plugins.d.ts → BarChartPremium/BarChartPremium.plugins.d.mts} +0 -0
  169. /package/{esm/BarChartPremium/BarChartPremium.plugins.js → BarChartPremium/BarChartPremium.plugins.mjs} +0 -0
  170. /package/{esm/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts → BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts} +0 -0
  171. /package/{esm/BarChartPremium/RangeBar/FocusedRangeBar.d.ts → BarChartPremium/RangeBar/FocusedRangeBar.d.mts} +0 -0
  172. /package/{esm/BarChartPremium/RangeBar/createGetRangeBarDimensions.d.ts → BarChartPremium/RangeBar/createGetRangeBarDimensions.d.mts} +0 -0
  173. /package/{esm/BarChartPremium/RangeBar/createGetRangeBarDimensions.js → BarChartPremium/RangeBar/createGetRangeBarDimensions.mjs} +0 -0
  174. /package/{esm/BarChartPremium/RangeBar/seriesConfig/extrema.d.ts → BarChartPremium/RangeBar/seriesConfig/extrema.d.mts} +0 -0
  175. /package/{esm/BarChartPremium/RangeBar/seriesConfig/extrema.js → BarChartPremium/RangeBar/seriesConfig/extrema.mjs} +0 -0
  176. /package/{esm/BarChartPremium/RangeBar/seriesConfig/getColor.d.ts → BarChartPremium/RangeBar/seriesConfig/getColor.d.mts} +0 -0
  177. /package/{esm/BarChartPremium/RangeBar/seriesConfig/getColor.js → BarChartPremium/RangeBar/seriesConfig/getColor.mjs} +0 -0
  178. /package/{esm/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.js → BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.mjs} +0 -0
  179. /package/{esm/BarChartPremium/RangeBar/seriesConfig/index.d.ts → BarChartPremium/RangeBar/seriesConfig/index.d.mts} +0 -0
  180. /package/{esm/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.ts → BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.d.mts} +0 -0
  181. /package/{esm/BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.js → BarChartPremium/RangeBar/seriesConfig/keyboardFocusHandler.mjs} +0 -0
  182. /package/{esm/BarChartPremium/RangeBar/seriesConfig/legend.d.ts → BarChartPremium/RangeBar/seriesConfig/legend.d.mts} +0 -0
  183. /package/{esm/BarChartPremium/RangeBar/seriesConfig/legend.js → BarChartPremium/RangeBar/seriesConfig/legend.mjs} +0 -0
  184. /package/{esm/BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.ts → BarChartPremium/RangeBar/seriesConfig/seriesProcessor.d.mts} +0 -0
  185. /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltip.d.ts → BarChartPremium/RangeBar/seriesConfig/tooltip.d.mts} +0 -0
  186. /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltip.js → BarChartPremium/RangeBar/seriesConfig/tooltip.mjs} +0 -0
  187. /package/{esm/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts → BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts} +0 -0
  188. /package/{esm/BarChartPremium/RangeBar/types.js → BarChartPremium/RangeBar/types.mjs} +0 -0
  189. /package/{esm/BarChartPremium/RangeBar/useUtilityClasses.d.ts → BarChartPremium/RangeBar/useUtilityClasses.d.mts} +0 -0
  190. /package/{esm/BarChartPremium/RangeBar/useUtilityClasses.js → BarChartPremium/RangeBar/useUtilityClasses.mjs} +0 -0
  191. /package/{esm/BarChartPremium/useBarChartPremiumProps.js → BarChartPremium/useBarChartPremiumProps.mjs} +0 -0
  192. /package/{esm/BarChartPro/index.d.ts → BarChartPro/index.d.mts} +0 -0
  193. /package/{esm/BarChartPro/index.js → BarChartPro/index.mjs} +0 -0
  194. /package/{esm/ChartContainer/index.d.ts → ChartContainer/index.d.mts} +0 -0
  195. /package/{esm/ChartContainer/index.js → ChartContainer/index.mjs} +0 -0
  196. /package/{esm/ChartContainerPro/index.d.ts → ChartContainerPro/index.d.mts} +0 -0
  197. /package/{esm/ChartContainerPro/index.js → ChartContainerPro/index.mjs} +0 -0
  198. /package/{esm/ChartDataProvider/index.d.ts → ChartDataProvider/index.d.mts} +0 -0
  199. /package/{esm/ChartDataProvider/index.js → ChartDataProvider/index.mjs} +0 -0
  200. /package/{esm/ChartDataProviderPro/index.d.ts → ChartDataProviderPro/index.d.mts} +0 -0
  201. /package/{esm/ChartDataProviderPro/index.js → ChartDataProviderPro/index.mjs} +0 -0
  202. /package/{esm/ChartZoomSlider/index.d.ts → ChartZoomSlider/index.d.mts} +0 -0
  203. /package/{esm/ChartZoomSlider/index.js → ChartZoomSlider/index.mjs} +0 -0
  204. /package/{esm/ChartsAxis/index.d.ts → ChartsAxis/index.d.mts} +0 -0
  205. /package/{esm/ChartsAxis/index.js → ChartsAxis/index.mjs} +0 -0
  206. /package/{esm/ChartsAxisHighlight/index.d.ts → ChartsAxisHighlight/index.d.mts} +0 -0
  207. /package/{esm/ChartsAxisHighlight/index.js → ChartsAxisHighlight/index.mjs} +0 -0
  208. /package/{esm/ChartsBrushOverlay/index.d.ts → ChartsBrushOverlay/index.d.mts} +0 -0
  209. /package/{esm/ChartsBrushOverlay/index.js → ChartsBrushOverlay/index.mjs} +0 -0
  210. /package/{esm/ChartsClipPath/index.d.ts → ChartsClipPath/index.d.mts} +0 -0
  211. /package/{esm/ChartsClipPath/index.js → ChartsClipPath/index.mjs} +0 -0
  212. /package/{esm/ChartsContainer/index.d.ts → ChartsContainer/index.d.mts} +0 -0
  213. /package/{esm/ChartsContainer/index.js → ChartsContainer/index.mjs} +0 -0
  214. /package/{esm/ChartsContainerPro/index.d.ts → ChartsContainerPro/index.d.mts} +0 -0
  215. /package/{esm/ChartsContainerPro/index.js → ChartsContainerPro/index.mjs} +0 -0
  216. /package/{esm/ChartsGrid/index.d.ts → ChartsGrid/index.d.mts} +0 -0
  217. /package/{esm/ChartsGrid/index.js → ChartsGrid/index.mjs} +0 -0
  218. /package/{esm/ChartsLabel/index.d.ts → ChartsLabel/index.d.mts} +0 -0
  219. /package/{esm/ChartsLabel/index.js → ChartsLabel/index.mjs} +0 -0
  220. /package/{esm/ChartsLegend/index.d.ts → ChartsLegend/index.d.mts} +0 -0
  221. /package/{esm/ChartsLegend/index.js → ChartsLegend/index.mjs} +0 -0
  222. /package/{esm/ChartsLocalizationProvider/index.d.ts → ChartsLocalizationProvider/index.d.mts} +0 -0
  223. /package/{esm/ChartsLocalizationProvider/index.js → ChartsLocalizationProvider/index.mjs} +0 -0
  224. /package/{esm/ChartsOverlay/index.d.ts → ChartsOverlay/index.d.mts} +0 -0
  225. /package/{esm/ChartsOverlay/index.js → ChartsOverlay/index.mjs} +0 -0
  226. /package/{esm/ChartsReferenceLine/index.d.ts → ChartsReferenceLine/index.d.mts} +0 -0
  227. /package/{esm/ChartsReferenceLine/index.js → ChartsReferenceLine/index.mjs} +0 -0
  228. /package/{esm/ChartsRenderer/ChartsRenderer.d.ts → ChartsRenderer/ChartsRenderer.d.mts} +0 -0
  229. /package/{esm/ChartsRenderer/colors.d.ts → ChartsRenderer/colors.d.mts} +0 -0
  230. /package/{esm/ChartsRenderer/colors.js → ChartsRenderer/colors.mjs} +0 -0
  231. /package/{esm/ChartsRenderer/components/PaletteOption.d.ts → ChartsRenderer/components/PaletteOption.d.mts} +0 -0
  232. /package/{esm/ChartsRenderer/configuration.d.ts → ChartsRenderer/configuration.d.mts} +0 -0
  233. /package/{esm/ChartsRenderer/icons.d.ts → ChartsRenderer/icons.d.mts} +0 -0
  234. /package/{esm/ChartsRenderer/icons.js → ChartsRenderer/icons.mjs} +0 -0
  235. /package/{esm/ChartsSurface/index.d.ts → ChartsSurface/index.d.mts} +0 -0
  236. /package/{esm/ChartsSurface/index.js → ChartsSurface/index.mjs} +0 -0
  237. /package/{esm/ChartsText/index.d.ts → ChartsText/index.d.mts} +0 -0
  238. /package/{esm/ChartsText/index.js → ChartsText/index.mjs} +0 -0
  239. /package/{esm/ChartsToolbarPro/index.d.ts → ChartsToolbarPro/index.d.mts} +0 -0
  240. /package/{esm/ChartsToolbarPro/index.js → ChartsToolbarPro/index.mjs} +0 -0
  241. /package/{esm/ChartsTooltip/index.d.ts → ChartsTooltip/index.d.mts} +0 -0
  242. /package/{esm/ChartsTooltip/index.js → ChartsTooltip/index.mjs} +0 -0
  243. /package/{esm/ChartsWrapper/index.d.ts → ChartsWrapper/index.d.mts} +0 -0
  244. /package/{esm/ChartsWrapper/index.js → ChartsWrapper/index.mjs} +0 -0
  245. /package/{esm/ChartsXAxis/index.d.ts → ChartsXAxis/index.d.mts} +0 -0
  246. /package/{esm/ChartsXAxis/index.js → ChartsXAxis/index.mjs} +0 -0
  247. /package/{esm/ChartsYAxis/index.d.ts → ChartsYAxis/index.d.mts} +0 -0
  248. /package/{esm/ChartsYAxis/index.js → ChartsYAxis/index.mjs} +0 -0
  249. /package/{ChartZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts → ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts} +0 -0
  250. /package/{esm/ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.d.ts +0 -0
  251. /package/{ChartZoomSlider → ChartsZoomSlider}/internals/previews/RangeBarPreviewPlot.js +0 -0
  252. /package/{esm/FunnelChart/index.d.ts → FunnelChart/index.d.mts} +0 -0
  253. /package/{esm/FunnelChart/index.js → FunnelChart/index.mjs} +0 -0
  254. /package/{esm/Gauge/index.d.ts → Gauge/index.d.mts} +0 -0
  255. /package/{esm/Gauge/index.js → Gauge/index.mjs} +0 -0
  256. /package/{esm/Heatmap/index.d.ts → Heatmap/index.d.mts} +0 -0
  257. /package/{esm/Heatmap/index.js → Heatmap/index.mjs} +0 -0
  258. /package/{esm/HeatmapPremium/HeatmapPlotPremium.d.ts → HeatmapPremium/HeatmapPlotPremium.d.mts} +0 -0
  259. /package/{esm/HeatmapPremium/HeatmapPremium.plugins.js → HeatmapPremium/HeatmapPremium.plugins.mjs} +0 -0
  260. /package/{esm/HeatmapPremium/useHeatmapPremiumProps.js → HeatmapPremium/useHeatmapPremiumProps.mjs} +0 -0
  261. /package/{esm/HeatmapPremium/webgl/HeatmapWebGLPlot.d.ts → HeatmapPremium/webgl/HeatmapWebGLPlot.d.mts} +0 -0
  262. /package/{esm/HeatmapPremium/webgl/HeatmapWebGLRenderer.d.ts → HeatmapPremium/webgl/HeatmapWebGLRenderer.d.mts} +0 -0
  263. /package/{esm/HeatmapPremium/webgl/shaders.d.ts → HeatmapPremium/webgl/shaders.d.mts} +0 -0
  264. /package/{esm/HeatmapPremium/webgl/shaders.js → HeatmapPremium/webgl/shaders.mjs} +0 -0
  265. /package/{esm/HeatmapPremium/webgl/useHeatmapPlotData.d.ts → HeatmapPremium/webgl/useHeatmapPlotData.d.mts} +0 -0
  266. /package/{esm/LineChart/index.d.ts → LineChart/index.d.mts} +0 -0
  267. /package/{esm/LineChart/index.js → LineChart/index.mjs} +0 -0
  268. /package/{esm/LineChartPro/index.d.ts → LineChartPro/index.d.mts} +0 -0
  269. /package/{esm/LineChartPro/index.js → LineChartPro/index.mjs} +0 -0
  270. /package/{esm/PieChart/index.d.ts → PieChart/index.d.mts} +0 -0
  271. /package/{esm/PieChart/index.js → PieChart/index.mjs} +0 -0
  272. /package/{esm/PieChartPro/index.d.ts → PieChartPro/index.d.mts} +0 -0
  273. /package/{esm/PieChartPro/index.js → PieChartPro/index.mjs} +0 -0
  274. /package/{esm/RadarChart/index.d.ts → RadarChart/index.d.mts} +0 -0
  275. /package/{esm/RadarChart/index.js → RadarChart/index.mjs} +0 -0
  276. /package/{esm/RadarChartPro/index.d.ts → RadarChartPro/index.d.mts} +0 -0
  277. /package/{esm/RadarChartPro/index.js → RadarChartPro/index.mjs} +0 -0
  278. /package/{esm/SankeyChart/index.d.ts → SankeyChart/index.d.mts} +0 -0
  279. /package/{esm/SankeyChart/index.js → SankeyChart/index.mjs} +0 -0
  280. /package/{esm/ScatterChart/index.d.ts → ScatterChart/index.d.mts} +0 -0
  281. /package/{esm/ScatterChart/index.js → ScatterChart/index.mjs} +0 -0
  282. /package/{esm/ScatterChartPro/index.d.ts → ScatterChartPro/index.d.mts} +0 -0
  283. /package/{esm/ScatterChartPro/index.js → ScatterChartPro/index.mjs} +0 -0
  284. /package/{esm/SparkLineChart/index.d.ts → SparkLineChart/index.d.mts} +0 -0
  285. /package/{esm/SparkLineChart/index.js → SparkLineChart/index.mjs} +0 -0
  286. /package/{esm/Toolbar/index.d.ts → Toolbar/index.d.mts} +0 -0
  287. /package/{esm/Toolbar/index.js → Toolbar/index.mjs} +0 -0
  288. /package/{esm/colorPalettes/index.d.ts → colorPalettes/index.d.mts} +0 -0
  289. /package/{esm/colorPalettes/index.js → colorPalettes/index.mjs} +0 -0
  290. /package/{esm/constants/index.d.ts → constants/index.d.mts} +0 -0
  291. /package/{esm/constants/index.js → constants/index.mjs} +0 -0
  292. /package/{esm/context/ChartPremiumApi.js → context/ChartPremiumApi.mjs} +0 -0
  293. /package/{esm/context/index.js → context/index.mjs} +0 -0
  294. /package/{esm/hooks/animation/useAnimateRangeBar.js → hooks/animation/useAnimateRangeBar.mjs} +0 -0
  295. /package/{esm/hooks/useChartPremiumApiRef.js → hooks/useChartPremiumApiRef.mjs} +0 -0
  296. /package/{esm/hooks/useRangeBarSeries.d.ts → hooks/useRangeBarSeries.d.mts} +0 -0
  297. /package/{esm/hooks/useRangeBarSeries.js → hooks/useRangeBarSeries.mjs} +0 -0
  298. /package/{esm/internals/plugins/allPlugins.js → internals/plugins/allPlugins.mjs} +0 -0
  299. /package/{esm/locales/index.d.ts → locales/index.d.mts} +0 -0
  300. /package/{esm/locales/index.js → locales/index.mjs} +0 -0
  301. /package/{esm/models/seriesType/rangeBar.d.ts → models/seriesType/rangeBar.d.mts} +0 -0
  302. /package/{esm/models/seriesType/rangeBar.js → models/seriesType/rangeBar.mjs} +0 -0
  303. /package/{esm/moduleAugmentation/rangeBarOnClick.js → moduleAugmentation/rangeBarOnClick.mjs} +0 -0
  304. /package/{esm/plugins/index.d.ts → plugins/index.d.mts} +0 -0
  305. /package/{esm/plugins/index.js → plugins/index.mjs} +0 -0
  306. /package/{esm/typeOverloads/modules.js → typeOverloads/modules.mjs} +0 -0
  307. /package/{esm/utils/index.d.ts → utils/index.d.mts} +0 -0
  308. /package/{esm/utils/index.js → utils/index.mjs} +0 -0
  309. /package/{esm/utils/webgl/parseColor.d.ts → utils/webgl/parseColor.d.mts} +0 -0
  310. /package/{esm/utils/webgl/parseColor.js → utils/webgl/parseColor.mjs} +0 -0
  311. /package/{esm/utils/webgl/useWebGLResizeObserver.d.ts → utils/webgl/useWebGLResizeObserver.d.mts} +0 -0
  312. /package/{HeatmapPremium/webgl/utils.d.ts → utils/webgl/utils.d.mts} +0 -0
  313. /package/{esm/HeatmapPremium → utils}/webgl/utils.d.ts +0 -0
  314. /package/{HeatmapPremium → utils}/webgl/utils.js +0 -0
  315. /package/{esm/HeatmapPremium/webgl/utils.js → utils/webgl/utils.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { type BarChartProProps, type BarChartProSlotProps, type BarChartProSlots } from '@mui/x-charts-pro/BarChartPro';
3
3
  import { type BarSeries } from '@mui/x-charts/BarChart';
4
- import { type BarItemIdentifier, type RangeBarItemIdentifier, type RangeBarSeriesType } from "../models/index.js";
4
+ import { type BarItemIdentifier, type RangeBarItemIdentifier, type RangeBarSeriesType } from "../models/index.mjs";
5
5
  export type RangeBarSeries = RangeBarSeriesType;
6
6
  export interface BarChartPremiumSlots extends BarChartProSlots {}
7
7
  export interface BarChartPremiumSlotProps extends BarChartProSlotProps {}
@@ -22,7 +22,7 @@ var _BarChart = require("@mui/x-charts/BarChart");
22
22
  var _ChartsOverlay = require("@mui/x-charts/ChartsOverlay");
23
23
  var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
24
24
  var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
25
- var _ChartZoomSlider = require("@mui/x-charts-pro/ChartZoomSlider");
25
+ var _ChartsZoomSlider = require("@mui/x-charts-pro/ChartsZoomSlider");
26
26
  var _ChartsBrushOverlay = require("@mui/x-charts/ChartsBrushOverlay");
27
27
  var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
28
28
  var _internals = require("@mui/x-charts-pro/internals");
@@ -31,7 +31,7 @@ var _BarChartPremium2 = require("./BarChartPremium.plugins");
31
31
  var _ChartDataProviderPremium = require("../ChartDataProviderPremium");
32
32
  var _RangeBarPlot = require("./RangeBar/RangeBarPlot");
33
33
  var _FocusedRangeBar = require("./RangeBar/FocusedRangeBar");
34
- var _RangeBarPreviewPlot = require("../ChartZoomSlider/internals/previews/RangeBarPreviewPlot");
34
+ var _RangeBarPreviewPlot = require("../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot");
35
35
  var _jsxRuntime = require("react/jsx-runtime");
36
36
  const _excluded = ["initialZoom", "zoomData", "onZoomChange", "apiRef", "showToolbar"];
37
37
  _internals.seriesPreviewPlotMap.set('rangeBar', _RangeBarPreviewPlot.RangeBarPreviewPlot);
@@ -76,7 +76,7 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
76
76
  const {
77
77
  chartDataProviderProProps,
78
78
  chartsSurfaceProps
79
- } = (0, _internals.useChartContainerProProps)((0, _extends2.default)({}, chartContainerProps, {
79
+ } = (0, _internals.useChartsContainerProProps)((0, _extends2.default)({}, chartContainerProps, {
80
80
  initialZoom,
81
81
  zoomData,
82
82
  onZoomChange,
@@ -91,7 +91,7 @@ const BarChartPremium = exports.BarChartPremium = /*#__PURE__*/React.forwardRef(
91
91
  children: [showToolbar ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Toolbar, (0, _extends2.default)({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsLegend.ChartsLegend, (0, _extends2.default)({}, legendProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_ChartsSurface.ChartsSurface, (0, _extends2.default)({}, chartsSurfaceProps, {
92
92
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGrid.ChartsGrid, (0, _extends2.default)({}, gridProps)), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", (0, _extends2.default)({}, clipPathGroupProps, {
93
93
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_BarChart.BarPlot, (0, _extends2.default)({}, barPlotProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RangeBarPlot.RangeBarPlot, (0, _extends2.default)({}, rangeBarPlotProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsOverlay.ChartsOverlay, (0, _extends2.default)({}, overlayProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlight.ChartsAxisHighlight, (0, _extends2.default)({}, axisHighlightProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_BarChart.FocusedBar, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FocusedRangeBar.FocusedRangeBar, {})]
94
- })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartZoomSlider.ChartZoomSlider, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsBrushOverlay.ChartsBrushOverlay, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, (0, _extends2.default)({}, clipPathProps)), children]
94
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxis.ChartsAxis, (0, _extends2.default)({}, chartsAxisProps)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsZoomSlider.ChartsZoomSlider, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsBrushOverlay.ChartsBrushOverlay, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsClipPath.ChartsClipPath, (0, _extends2.default)({}, clipPathProps)), children]
95
95
  })), !props.loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(Tooltip, (0, _extends2.default)({}, props.slotProps?.tooltip))]
96
96
  }))
97
97
  }));
@@ -164,7 +164,10 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
164
164
  * @default false
165
165
  */
166
166
  disableAxisListener: _propTypes.default.bool,
167
- enableKeyboardNavigation: _propTypes.default.bool,
167
+ /**
168
+ * If `true`, disables keyboard navigation for the chart.
169
+ */
170
+ disableKeyboardNavigation: _propTypes.default.bool,
168
171
  /**
169
172
  * Option to display a cartesian grid in the background.
170
173
  */
@@ -196,11 +199,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
196
199
  * ]
197
200
  * ```
198
201
  */
199
- hiddenItems: _propTypes.default.arrayOf(_propTypes.default.shape({
202
+ hiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
200
203
  dataIndex: _propTypes.default.number,
201
204
  seriesId: _propTypes.default.string.isRequired,
202
205
  type: _propTypes.default.oneOf(['bar'])
203
- })),
206
+ }), _propTypes.default.shape({
207
+ dataIndex: _propTypes.default.number,
208
+ seriesId: _propTypes.default.string.isRequired,
209
+ type: _propTypes.default.oneOf(['bar']).isRequired
210
+ })]).isRequired),
204
211
  /**
205
212
  * If `true`, the legend is not rendered.
206
213
  */
@@ -217,10 +224,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
217
224
  * The highlighted item.
218
225
  * Used when the highlight is controlled.
219
226
  */
220
- highlightedItem: _propTypes.default.shape({
227
+ highlightedItem: _propTypes.default.oneOfType([_propTypes.default.shape({
228
+ dataIndex: _propTypes.default.number,
229
+ seriesId: _propTypes.default.string.isRequired,
230
+ type: _propTypes.default.oneOf(['bar']).isRequired
231
+ }), _propTypes.default.shape({
221
232
  dataIndex: _propTypes.default.number,
222
233
  seriesId: _propTypes.default.string.isRequired
223
- }),
234
+ })]),
224
235
  /**
225
236
  * This prop is used to help implement the accessibility logic.
226
237
  * If you don't provide this prop. It falls back to a randomly generated id.
@@ -247,11 +258,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
247
258
  * ]
248
259
  * ```
249
260
  */
250
- initialHiddenItems: _propTypes.default.arrayOf(_propTypes.default.shape({
261
+ initialHiddenItems: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
251
262
  dataIndex: _propTypes.default.number,
252
263
  seriesId: _propTypes.default.string.isRequired,
253
264
  type: _propTypes.default.oneOf(['bar'])
254
- })),
265
+ }), _propTypes.default.shape({
266
+ dataIndex: _propTypes.default.number,
267
+ seriesId: _propTypes.default.string.isRequired,
268
+ type: _propTypes.default.oneOf(['bar']).isRequired
269
+ })]).isRequired),
255
270
  /**
256
271
  * The list of zoom data related to each axis.
257
272
  * Used to initialize the zoom in a specific configuration without controlling it.
@@ -296,13 +311,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
296
311
  onAxisClick: _propTypes.default.func,
297
312
  /**
298
313
  * Callback fired when any hidden identifiers change.
299
- * @param {VisibilityIdentifier[]} hiddenItems The new list of hidden identifiers.
314
+ * @param {VisibilityIdentifierWithType[]} hiddenItems The new list of hidden identifiers.
300
315
  */
301
316
  onHiddenItemsChange: _propTypes.default.func,
302
317
  /**
303
318
  * The callback fired when the highlighted item changes.
304
319
  *
305
- * @param {HighlightItemData | null} highlightedItem The newly highlighted item.
320
+ * @param {HighlightItemIdentifierWithType<SeriesType> | null} highlightedItem The newly highlighted item.
306
321
  */
307
322
  onHighlightChange: _propTypes.default.func,
308
323
  /**
@@ -330,7 +345,7 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
330
345
  /**
331
346
  * The callback fired when the tooltip item changes.
332
347
  *
333
- * @param {SeriesItemIdentifier<TSeries> | null} tooltipItem The newly highlighted item.
348
+ * @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
334
349
  */
335
350
  onTooltipItemChange: _propTypes.default.func,
336
351
  /**
@@ -388,11 +403,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
388
403
  * The tooltip item.
389
404
  * Used when the tooltip is controlled.
390
405
  */
391
- tooltipItem: _propTypes.default.shape({
406
+ tooltipItem: _propTypes.default.oneOfType([_propTypes.default.shape({
392
407
  dataIndex: _propTypes.default.number.isRequired,
393
408
  seriesId: _propTypes.default.string.isRequired,
394
- type: _propTypes.default.oneOf(['bar'])
395
- }),
409
+ type: _propTypes.default.oneOf(['bar']).isRequired
410
+ }), _propTypes.default.shape({
411
+ dataIndex: _propTypes.default.number.isRequired,
412
+ seriesId: _propTypes.default.string.isRequired
413
+ })]),
396
414
  /**
397
415
  * The width of the chart in px. If not defined, it takes the width of the parent element.
398
416
  */
@@ -16,16 +16,16 @@ import { BarPlot, FocusedBar } from '@mui/x-charts/BarChart';
16
16
  import { ChartsOverlay } from '@mui/x-charts/ChartsOverlay';
17
17
  import { ChartsAxisHighlight } from '@mui/x-charts/ChartsAxisHighlight';
18
18
  import { ChartsAxis } from '@mui/x-charts/ChartsAxis';
19
- import { ChartZoomSlider } from '@mui/x-charts-pro/ChartZoomSlider';
19
+ import { ChartsZoomSlider } from '@mui/x-charts-pro/ChartsZoomSlider';
20
20
  import { ChartsBrushOverlay } from '@mui/x-charts/ChartsBrushOverlay';
21
21
  import { ChartsClipPath } from '@mui/x-charts/ChartsClipPath';
22
- import { seriesPreviewPlotMap, useChartContainerProProps } from '@mui/x-charts-pro/internals';
23
- import { useBarChartPremiumProps } from "./useBarChartPremiumProps.js";
24
- import { BAR_CHART_PREMIUM_PLUGINS } from "./BarChartPremium.plugins.js";
25
- import { ChartDataProviderPremium } from "../ChartDataProviderPremium/index.js";
26
- import { RangeBarPlot } from "./RangeBar/RangeBarPlot.js";
27
- import { FocusedRangeBar } from "./RangeBar/FocusedRangeBar.js";
28
- import { RangeBarPreviewPlot } from "../ChartZoomSlider/internals/previews/RangeBarPreviewPlot.js";
22
+ import { seriesPreviewPlotMap, useChartsContainerProProps } from '@mui/x-charts-pro/internals';
23
+ import { useBarChartPremiumProps } from "./useBarChartPremiumProps.mjs";
24
+ import { BAR_CHART_PREMIUM_PLUGINS } from "./BarChartPremium.plugins.mjs";
25
+ import { ChartDataProviderPremium } from "../ChartDataProviderPremium/index.mjs";
26
+ import { RangeBarPlot } from "./RangeBar/RangeBarPlot.mjs";
27
+ import { FocusedRangeBar } from "./RangeBar/FocusedRangeBar.mjs";
28
+ import { RangeBarPreviewPlot } from "../ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.mjs";
29
29
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
30
30
  seriesPreviewPlotMap.set('rangeBar', RangeBarPreviewPlot);
31
31
  /**
@@ -69,7 +69,7 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
69
69
  const {
70
70
  chartDataProviderProProps,
71
71
  chartsSurfaceProps
72
- } = useChartContainerProProps(_extends({}, chartContainerProps, {
72
+ } = useChartsContainerProProps(_extends({}, chartContainerProps, {
73
73
  initialZoom,
74
74
  zoomData,
75
75
  onZoomChange,
@@ -84,7 +84,7 @@ const BarChartPremium = /*#__PURE__*/React.forwardRef(function BarChartPremium(i
84
84
  children: [showToolbar ? /*#__PURE__*/_jsx(Toolbar, _extends({}, props.slotProps?.toolbar)) : null, !props.hideLegend && /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), /*#__PURE__*/_jsxs(ChartsSurface, _extends({}, chartsSurfaceProps, {
85
85
  children: [/*#__PURE__*/_jsx(ChartsGrid, _extends({}, gridProps)), /*#__PURE__*/_jsxs("g", _extends({}, clipPathGroupProps, {
86
86
  children: [/*#__PURE__*/_jsx(BarPlot, _extends({}, barPlotProps)), /*#__PURE__*/_jsx(RangeBarPlot, _extends({}, rangeBarPlotProps)), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), /*#__PURE__*/_jsx(FocusedBar, {}), /*#__PURE__*/_jsx(FocusedRangeBar, {})]
87
- })), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(ChartZoomSlider, {}), /*#__PURE__*/_jsx(ChartsBrushOverlay, {}), /*#__PURE__*/_jsx(ChartsClipPath, _extends({}, clipPathProps)), children]
87
+ })), /*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(ChartsZoomSlider, {}), /*#__PURE__*/_jsx(ChartsBrushOverlay, {}), /*#__PURE__*/_jsx(ChartsClipPath, _extends({}, clipPathProps)), children]
88
88
  })), !props.loading && /*#__PURE__*/_jsx(Tooltip, _extends({}, props.slotProps?.tooltip))]
89
89
  }))
90
90
  }));
@@ -157,7 +157,10 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
157
157
  * @default false
158
158
  */
159
159
  disableAxisListener: PropTypes.bool,
160
- enableKeyboardNavigation: PropTypes.bool,
160
+ /**
161
+ * If `true`, disables keyboard navigation for the chart.
162
+ */
163
+ disableKeyboardNavigation: PropTypes.bool,
161
164
  /**
162
165
  * Option to display a cartesian grid in the background.
163
166
  */
@@ -189,11 +192,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
189
192
  * ]
190
193
  * ```
191
194
  */
192
- hiddenItems: PropTypes.arrayOf(PropTypes.shape({
195
+ hiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
193
196
  dataIndex: PropTypes.number,
194
197
  seriesId: PropTypes.string.isRequired,
195
198
  type: PropTypes.oneOf(['bar'])
196
- })),
199
+ }), PropTypes.shape({
200
+ dataIndex: PropTypes.number,
201
+ seriesId: PropTypes.string.isRequired,
202
+ type: PropTypes.oneOf(['bar']).isRequired
203
+ })]).isRequired),
197
204
  /**
198
205
  * If `true`, the legend is not rendered.
199
206
  */
@@ -210,10 +217,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
210
217
  * The highlighted item.
211
218
  * Used when the highlight is controlled.
212
219
  */
213
- highlightedItem: PropTypes.shape({
220
+ highlightedItem: PropTypes.oneOfType([PropTypes.shape({
221
+ dataIndex: PropTypes.number,
222
+ seriesId: PropTypes.string.isRequired,
223
+ type: PropTypes.oneOf(['bar']).isRequired
224
+ }), PropTypes.shape({
214
225
  dataIndex: PropTypes.number,
215
226
  seriesId: PropTypes.string.isRequired
216
- }),
227
+ })]),
217
228
  /**
218
229
  * This prop is used to help implement the accessibility logic.
219
230
  * If you don't provide this prop. It falls back to a randomly generated id.
@@ -240,11 +251,15 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
240
251
  * ]
241
252
  * ```
242
253
  */
243
- initialHiddenItems: PropTypes.arrayOf(PropTypes.shape({
254
+ initialHiddenItems: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
244
255
  dataIndex: PropTypes.number,
245
256
  seriesId: PropTypes.string.isRequired,
246
257
  type: PropTypes.oneOf(['bar'])
247
- })),
258
+ }), PropTypes.shape({
259
+ dataIndex: PropTypes.number,
260
+ seriesId: PropTypes.string.isRequired,
261
+ type: PropTypes.oneOf(['bar']).isRequired
262
+ })]).isRequired),
248
263
  /**
249
264
  * The list of zoom data related to each axis.
250
265
  * Used to initialize the zoom in a specific configuration without controlling it.
@@ -289,13 +304,13 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
289
304
  onAxisClick: PropTypes.func,
290
305
  /**
291
306
  * Callback fired when any hidden identifiers change.
292
- * @param {VisibilityIdentifier[]} hiddenItems The new list of hidden identifiers.
307
+ * @param {VisibilityIdentifierWithType[]} hiddenItems The new list of hidden identifiers.
293
308
  */
294
309
  onHiddenItemsChange: PropTypes.func,
295
310
  /**
296
311
  * The callback fired when the highlighted item changes.
297
312
  *
298
- * @param {HighlightItemData | null} highlightedItem The newly highlighted item.
313
+ * @param {HighlightItemIdentifierWithType<SeriesType> | null} highlightedItem The newly highlighted item.
299
314
  */
300
315
  onHighlightChange: PropTypes.func,
301
316
  /**
@@ -323,7 +338,7 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
323
338
  /**
324
339
  * The callback fired when the tooltip item changes.
325
340
  *
326
- * @param {SeriesItemIdentifier<TSeries> | null} tooltipItem The newly highlighted item.
341
+ * @param {SeriesItemIdentifier<SeriesType> | null} tooltipItem The newly highlighted item.
327
342
  */
328
343
  onTooltipItemChange: PropTypes.func,
329
344
  /**
@@ -381,11 +396,14 @@ process.env.NODE_ENV !== "production" ? BarChartPremium.propTypes = {
381
396
  * The tooltip item.
382
397
  * Used when the tooltip is controlled.
383
398
  */
384
- tooltipItem: PropTypes.shape({
399
+ tooltipItem: PropTypes.oneOfType([PropTypes.shape({
385
400
  dataIndex: PropTypes.number.isRequired,
386
401
  seriesId: PropTypes.string.isRequired,
387
- type: PropTypes.oneOf(['bar'])
388
- }),
402
+ type: PropTypes.oneOf(['bar']).isRequired
403
+ }), PropTypes.shape({
404
+ dataIndex: PropTypes.number.isRequired,
405
+ seriesId: PropTypes.string.isRequired
406
+ })]),
389
407
  /**
390
408
  * The width of the chart in px. If not defined, it takes the width of the parent element.
391
409
  */
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
5
5
  const _excluded = ["ownerState", "skipAnimation", "seriesId", "dataIndex", "xOrigin", "yOrigin", "hidden"];
6
6
  import * as React from 'react';
7
- import { useAnimateRangeBar } from "../../hooks/animation/useAnimateRangeBar.js";
7
+ import { useAnimateRangeBar } from "../../hooks/animation/useAnimateRangeBar.mjs";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  export function AnimatedRangeBarElement(props) {
10
10
  const {
@@ -4,8 +4,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";
4
4
  import * as React from 'react';
5
5
  import { useTheme } from '@mui/material/styles';
6
6
  import { useFocusedItem, useXAxes, useYAxes } from '@mui/x-charts/hooks';
7
- import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.js";
8
- import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.js";
7
+ import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.mjs";
8
+ import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.mjs";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  export function FocusedRangeBar(props) {
11
11
  const theme = useTheme();
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { type BarElementSlotProps, type BarElementSlots, type BarLabelSlots, type BarLabelSlotProps } from '@mui/x-charts/BarChart';
3
- import { type RangeBarItemIdentifier } from "../../models/index.js";
3
+ import { type RangeBarItemIdentifier } from "../../models/index.mjs";
4
4
  export interface RangeBarPlotSlots extends BarElementSlots, BarLabelSlots {}
5
5
  export interface RangeBarPlotSlotProps extends BarElementSlotProps, BarLabelSlotProps {}
6
6
  export interface RangeBarPlotProps {
@@ -25,7 +25,7 @@ const RangeBarPlotRoot = (0, _styles.styled)('g', {
25
25
  name: 'MuiRangeBarPlot',
26
26
  slot: 'Root'
27
27
  })({
28
- [`& .${_BarChart.barElementClasses.root}`]: {
28
+ [`& .${_BarChart.barClasses.element}`]: {
29
29
  transition: 'opacity 0.2s ease-in, fill 0.2s ease-in'
30
30
  }
31
31
  });
@@ -7,18 +7,18 @@ import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { styled } from '@mui/material/styles';
9
9
  import { useSkipAnimation } from '@mui/x-charts/internals';
10
- import { BarElement, barElementClasses } from '@mui/x-charts/BarChart';
10
+ import { BarElement, barClasses } from '@mui/x-charts/BarChart';
11
11
  import { useDrawingArea, useXAxes, useYAxes } from '@mui/x-charts/hooks';
12
12
  import { useIsZoomInteracting } from '@mui/x-charts-pro/hooks';
13
- import { useUtilityClasses } from "./useUtilityClasses.js";
14
- import { useRangeBarPlotData } from "./useRangeBarPlotData.js";
15
- import { AnimatedRangeBarElement } from "./AnimatedRangeBarElement.js";
13
+ import { useUtilityClasses } from "./useUtilityClasses.mjs";
14
+ import { useRangeBarPlotData } from "./useRangeBarPlotData.mjs";
15
+ import { AnimatedRangeBarElement } from "./AnimatedRangeBarElement.mjs";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  const RangeBarPlotRoot = styled('g', {
18
18
  name: 'MuiRangeBarPlot',
19
19
  slot: 'Root'
20
20
  })({
21
- [`& .${barElementClasses.root}`]: {
21
+ [`& .${barClasses.element}`]: {
22
22
  transition: 'opacity 0.2s ease-in, fill 0.2s ease-in'
23
23
  }
24
24
  });
@@ -3,17 +3,17 @@ export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'ra
3
3
  id: string;
4
4
  color: string;
5
5
  type: "rangeBar";
6
- data?: ReadonlyArray<import("../../../index.js").RangeBarValueType | null>;
6
+ data?: ReadonlyArray<import("../../../index.mjs").RangeBarValueType | null>;
7
7
  datasetKeys?: {
8
8
  start: string;
9
9
  end: string;
10
10
  };
11
11
  label?: string | ((location: "tooltip" | "legend") => string);
12
12
  layout?: "horizontal" | "vertical";
13
- valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.js").RangeBarValueType | null> | undefined;
13
+ valueFormatter?: import("@mui/x-charts/internals").SeriesValueFormatter<import("../../../index.mjs").RangeBarValueType | null> | undefined;
14
14
  highlightScope?: import("@mui/x-charts/internals").CommonHighlightScope | undefined;
15
15
  labelMarkType?: import("@mui/x-charts/internals").ChartsLabelMarkType;
16
- colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.js").RangeBarValueType | null>) => string) | undefined;
16
+ colorGetter?: ((data: import("@mui/x-charts/internals").ColorCallbackValue<import("../../../index.mjs").RangeBarValueType | null>) => string) | undefined;
17
17
  xAxisId?: import("@mui/x-charts/internals").AxisId;
18
18
  yAxisId?: import("@mui/x-charts/internals").AxisId;
19
19
  };
@@ -27,6 +27,8 @@ const rangeBarSeriesConfig = exports.rangeBarSeriesConfig = {
27
27
  getSeriesWithDefaultValues: _getSeriesWithDefaultValues.getSeriesWithDefaultValues,
28
28
  keyboardFocusHandler: _keyboardFocusHandler.default,
29
29
  identifierSerializer: _internals.identifierSerializerSeriesIdDataIndex,
30
- identifierCleaner: _internals.identifierCleanerSeriesIdDataIndex
30
+ identifierCleaner: _internals.identifierCleanerSeriesIdDataIndex,
31
+ isHighlightedCreator: _internals.createIsHighlighted,
32
+ isFadedCreator: _internals.createIsFaded
31
33
  };
32
34
  _internals.cartesianSeriesTypes.addType('rangeBar');
@@ -0,0 +1,26 @@
1
+ import { cartesianSeriesTypes, identifierSerializerSeriesIdDataIndex, identifierCleanerSeriesIdDataIndex, createIsHighlighted, createIsFaded } from '@mui/x-charts/internals';
2
+ import { getExtremumX, getExtremumY } from "./extrema.mjs";
3
+ import tooltipGetter, { axisTooltipGetter } from "./tooltip.mjs";
4
+ import seriesProcessor from "./seriesProcessor.mjs";
5
+ import getColor from "./getColor.mjs";
6
+ import legendGetter from "./legend.mjs";
7
+ import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
8
+ import tooltipItemPositionGetter from "./tooltipPosition.mjs";
9
+ import { getSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.mjs";
10
+ export const rangeBarSeriesConfig = {
11
+ seriesProcessor,
12
+ colorProcessor: getColor,
13
+ legendGetter,
14
+ tooltipGetter,
15
+ tooltipItemPositionGetter,
16
+ axisTooltipGetter,
17
+ xExtremumGetter: getExtremumX,
18
+ yExtremumGetter: getExtremumY,
19
+ getSeriesWithDefaultValues,
20
+ keyboardFocusHandler,
21
+ identifierSerializer: identifierSerializerSeriesIdDataIndex,
22
+ identifierCleaner: identifierCleanerSeriesIdDataIndex,
23
+ isHighlightedCreator: createIsHighlighted,
24
+ isFadedCreator: createIsFaded
25
+ };
26
+ cartesianSeriesTypes.addType('rangeBar');
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _formatErrorMessage2 = _interopRequireDefault(require("@mui/x-internals/formatErrorMessage"));
9
10
  var _warning = require("@mui/x-internals/warning");
10
11
  const rangeBarValueFormatter = v => v == null ? '' : `[${v[0]}, ${v[1]}]`;
11
12
  const seriesProcessor = (params, dataset, isItemVisible) => {
@@ -18,11 +19,13 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
18
19
  const seriesData = series[id];
19
20
  const datasetKeys = seriesData?.datasetKeys;
20
21
  if (seriesData.data === undefined && dataset === undefined && process.env.NODE_ENV !== 'production') {
21
- throw new Error([`MUI X Charts: range bar series with id='${id}' has no data.`, 'Either provide a data property to the series or use the dataset prop.'].join('\n'));
22
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has no data.
23
+ Either provide a data property to the series or use the dataset prop.` : (0, _formatErrorMessage2.default)(44, id));
22
24
  }
23
25
  const missingKeys = ['start', 'end'].filter(key => typeof datasetKeys?.[key] !== 'string');
24
26
  if (datasetKeys && missingKeys.length > 0) {
25
- throw new Error([`MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.`, `Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.`].join('\n'));
27
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.
28
+ Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.` : (0, _formatErrorMessage2.default)(45, id, missingKeys.map(key => `"${key}"`).join(', ')));
26
29
  }
27
30
  completedSeries[id] = (0, _extends2.default)({
28
31
  layout: 'vertical'
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
2
3
  import { warnOnce } from '@mui/x-internals/warning';
3
4
  const rangeBarValueFormatter = v => v == null ? '' : `[${v[0]}, ${v[1]}]`;
4
5
  const seriesProcessor = (params, dataset, isItemVisible) => {
@@ -11,11 +12,13 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
11
12
  const seriesData = series[id];
12
13
  const datasetKeys = seriesData?.datasetKeys;
13
14
  if (seriesData.data === undefined && dataset === undefined && process.env.NODE_ENV !== 'production') {
14
- throw new Error([`MUI X Charts: range bar series with id='${id}' has no data.`, 'Either provide a data property to the series or use the dataset prop.'].join('\n'));
15
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has no data.
16
+ Either provide a data property to the series or use the dataset prop.` : _formatErrorMessage(44, id));
15
17
  }
16
18
  const missingKeys = ['start', 'end'].filter(key => typeof datasetKeys?.[key] !== 'string');
17
19
  if (datasetKeys && missingKeys.length > 0) {
18
- throw new Error([`MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.`, `Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.`].join('\n'));
20
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: range bar series with id='${id}' has incomplete datasetKeys.
21
+ Properties ${missingKeys.map(key => `"${key}"`).join(', ')} are missing.` : _formatErrorMessage(45, id, missingKeys.map(key => `"${key}"`).join(', ')));
19
22
  }
20
23
  completedSeries[id] = _extends({
21
24
  layout: 'vertical'
@@ -1,4 +1,4 @@
1
- import { createGetRangeBarDimensions } from "../createGetRangeBarDimensions.js";
1
+ import { createGetRangeBarDimensions } from "../createGetRangeBarDimensions.mjs";
2
2
  const tooltipItemPositionGetter = params => {
3
3
  const {
4
4
  series,
@@ -1,6 +1,6 @@
1
1
  import type { SeriesId } from '@mui/x-charts/models';
2
2
  import type { BarSeriesType } from '@mui/x-charts-pro/models';
3
- import type { RangeBarValueType } from "../../models/index.js";
3
+ import type { RangeBarValueType } from "../../models/index.mjs";
4
4
  export interface LayoutData {
5
5
  x: number;
6
6
  y: number;
@@ -1,5 +1,5 @@
1
1
  import { type ChartDrawingArea } from '@mui/x-charts/hooks';
2
2
  import { type ComputedAxisConfig } from '@mui/x-charts/internals';
3
3
  import { type ChartsXAxisProps, type ChartsYAxisProps } from '@mui/x-charts/models';
4
- import { type ProcessedRangeBarSeriesData } from "./types.js";
4
+ import { type ProcessedRangeBarSeriesData } from "./types.mjs";
5
5
  export declare function useRangeBarPlotData(drawingArea: ChartDrawingArea, xAxes: ComputedAxisConfig<ChartsXAxisProps>, yAxes: ComputedAxisConfig<ChartsYAxisProps>): ProcessedRangeBarSeriesData[];
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import { useXAxes, useYAxes } from '@mui/x-charts/hooks';
3
3
  import { checkBarChartScaleErrors, useStore } from '@mui/x-charts/internals';
4
- import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.js";
5
- import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.js";
4
+ import { useRangeBarSeriesContext } from "../../hooks/useRangeBarSeries.mjs";
5
+ import { createGetRangeBarDimensions } from "./createGetRangeBarDimensions.mjs";
6
6
  export function useRangeBarPlotData(drawingArea, xAxes, yAxes) {
7
7
  const store = useStore();
8
8
  const seriesData = useRangeBarSeriesContext() ?? {
@@ -0,0 +1,5 @@
1
+ export * from "./BarChartPremium.mjs";
2
+ export * from "./BarChartPremium.plugins.mjs";
3
+ export * from "./RangeBar/RangeBarPlot.mjs";
4
+ export * from "./RangeBar/FocusedRangeBar.mjs";
5
+ export { rangeBarClasses, type RangeBarClasses, type RangeBarClassKey } from "./RangeBar/useUtilityClasses.mjs";
@@ -0,0 +1,5 @@
1
+ export * from "./BarChartPremium.mjs";
2
+ export * from "./BarChartPremium.plugins.mjs";
3
+ export * from "./RangeBar/RangeBarPlot.mjs";
4
+ export * from "./RangeBar/FocusedRangeBar.mjs";
5
+ export { rangeBarClasses } from "./RangeBar/useUtilityClasses.mjs";
@@ -1,7 +1,7 @@
1
1
  import { type BarChartPluginSignatures } from '@mui/x-charts/BarChart';
2
- import { type ChartContainerProps } from '@mui/x-charts/ChartContainer';
3
- import { type BarChartPremiumProps } from "./BarChartPremium.js";
4
- import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
2
+ import { type ChartsContainerProps } from '@mui/x-charts/ChartsContainer';
3
+ import { type BarChartPremiumProps } from "./BarChartPremium.mjs";
4
+ import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.mjs";
5
5
  /**
6
6
  * A helper function that extracts BarChartPremiumProps from the input props
7
7
  * and returns an object with props for the children components of BarChartPremium.
@@ -10,7 +10,7 @@ import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
10
10
  * @returns An object with props for the children components of BarChartPremium
11
11
  */
12
12
  export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
13
- chartContainerProps: ChartContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
13
+ chartContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
14
14
  rangeBarPlotProps: RangeBarPlotProps;
15
15
  chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
16
16
  barPlotProps: import("@mui/x-charts").BarPlotProps;
@@ -1,5 +1,5 @@
1
1
  import { type BarChartPluginSignatures } from '@mui/x-charts/BarChart';
2
- import { type ChartContainerProps } from '@mui/x-charts/ChartContainer';
2
+ import { type ChartsContainerProps } from '@mui/x-charts/ChartsContainer';
3
3
  import { type BarChartPremiumProps } from "./BarChartPremium.js";
4
4
  import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
5
5
  /**
@@ -10,7 +10,7 @@ import { type RangeBarPlotProps } from "./RangeBar/RangeBarPlot.js";
10
10
  * @returns An object with props for the children components of BarChartPremium
11
11
  */
12
12
  export declare function useBarChartPremiumProps(props: BarChartPremiumProps): {
13
- chartContainerProps: ChartContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
13
+ chartContainerProps: ChartsContainerProps<"bar" | "rangeBar", BarChartPluginSignatures>;
14
14
  rangeBarPlotProps: RangeBarPlotProps;
15
15
  chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
16
16
  barPlotProps: import("@mui/x-charts").BarPlotProps;