@mui/x-charts-premium 9.8.0 → 9.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/BarChartPremium/BarChartPremium.d.mts +1 -1
  2. package/BarChartPremium/BarChartPremium.d.ts +1 -1
  3. package/BarChartPremium/BarChartPremium.js +14 -3
  4. package/BarChartPremium/BarChartPremium.mjs +14 -3
  5. package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts +2 -1
  6. package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts +2 -1
  7. package/BarChartPremium/RangeBar/FocusedRangeBar.d.mts +1 -1
  8. package/BarChartPremium/RangeBar/FocusedRangeBar.d.ts +1 -1
  9. package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
  10. package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
  11. package/BarChartPremium/RangeBar/seriesConfig/index.js +2 -2
  12. package/BarChartPremium/RangeBar/seriesConfig/index.mjs +2 -2
  13. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts +2 -3
  14. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts +2 -3
  15. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.js +12 -15
  16. package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.mjs +11 -14
  17. package/BarChartPremium/useBarChartPremiumProps.d.mts +3 -3
  18. package/BarChartPremium/useBarChartPremiumProps.d.ts +3 -3
  19. package/CHANGELOG.md +230 -0
  20. package/CandlestickChart/CandlestickPlot.d.mts +2 -1
  21. package/CandlestickChart/CandlestickPlot.d.ts +2 -1
  22. package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.mts +2 -1
  23. package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.ts +2 -1
  24. package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
  25. package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
  26. package/CandlestickChart/seriesConfig/index.js +2 -2
  27. package/CandlestickChart/seriesConfig/index.mjs +2 -2
  28. package/CandlestickChart/seriesConfig/tooltipPosition.d.mts +2 -3
  29. package/CandlestickChart/seriesConfig/tooltipPosition.d.ts +2 -3
  30. package/CandlestickChart/seriesConfig/tooltipPosition.js +10 -14
  31. package/CandlestickChart/seriesConfig/tooltipPosition.mjs +10 -14
  32. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +1 -1
  33. package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +1 -1
  34. package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +2 -2
  35. package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +2 -2
  36. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +1 -1
  37. package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +1 -1
  38. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.mts +1 -1
  39. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.ts +1 -1
  40. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +2 -2
  41. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +2 -2
  42. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.mts +4 -3
  43. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.ts +4 -3
  44. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.js +2 -1
  45. package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.mjs +2 -1
  46. package/ChartsGeoDataProviderPremium/index.d.mts +2 -1
  47. package/ChartsGeoDataProviderPremium/index.d.ts +2 -1
  48. package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.mts +1 -1
  49. package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.ts +1 -1
  50. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.mts +2 -1
  51. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.ts +2 -1
  52. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +2 -2
  53. package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +2 -2
  54. package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.mts +2 -3
  55. package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.ts +2 -3
  56. package/ChartsRenderer/components/PaletteOption.d.mts +1 -1
  57. package/ChartsRenderer/components/PaletteOption.d.ts +1 -1
  58. package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.mts +2 -1
  59. package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.ts +2 -1
  60. package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts +1 -1
  61. package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts +1 -1
  62. package/HeatmapPremium/HeatmapPlotPremium.d.mts +1 -1
  63. package/HeatmapPremium/HeatmapPlotPremium.d.ts +1 -1
  64. package/HeatmapPremium/useHeatmapPremiumProps.d.mts +2 -2
  65. package/HeatmapPremium/useHeatmapPremiumProps.d.ts +2 -2
  66. package/Map/FocusedMapShape.d.mts +2 -1
  67. package/Map/FocusedMapShape.d.ts +2 -1
  68. package/Map/GeoDataPlot.d.mts +1 -1
  69. package/Map/GeoDataPlot.d.ts +1 -1
  70. package/Map/Graticule.d.mts +1 -1
  71. package/Map/Graticule.d.ts +1 -1
  72. package/Map/MapImagePlot.d.mts +1 -1
  73. package/Map/MapImagePlot.d.ts +1 -1
  74. package/Map/MapShape.d.mts +1 -1
  75. package/Map/MapShape.d.ts +1 -1
  76. package/Map/MapShapePlot.d.mts +1 -1
  77. package/Map/MapShapePlot.d.ts +1 -1
  78. package/Map/index.d.mts +1 -3
  79. package/Map/index.d.ts +1 -3
  80. package/Map/seriesConfig/highlight.d.mts +2 -2
  81. package/Map/seriesConfig/highlight.d.ts +2 -2
  82. package/Map/seriesConfig/tooltipPosition.d.mts +1 -1
  83. package/Map/seriesConfig/tooltipPosition.d.ts +1 -1
  84. package/Map/seriesConfig/tooltipPosition.js +2 -8
  85. package/Map/seriesConfig/tooltipPosition.mjs +3 -9
  86. package/RadialBarChart/RadialBarElement.d.mts +1 -1
  87. package/RadialBarChart/RadialBarElement.d.ts +1 -1
  88. package/RadialBarChart/radialBarClasses.d.mts +1 -1
  89. package/RadialBarChart/radialBarClasses.d.ts +1 -1
  90. package/RadialBarChart/seriesConfig/index.js +2 -2
  91. package/RadialBarChart/seriesConfig/index.mjs +2 -2
  92. package/RadialBarChart/seriesConfig/tooltipPosition.d.mts +2 -3
  93. package/RadialBarChart/seriesConfig/tooltipPosition.d.ts +2 -3
  94. package/RadialBarChart/seriesConfig/tooltipPosition.js +4 -6
  95. package/RadialBarChart/seriesConfig/tooltipPosition.mjs +2 -5
  96. package/RadialLineChart/RadialArea.d.mts +2 -1
  97. package/RadialLineChart/RadialArea.d.ts +2 -1
  98. package/RadialLineChart/RadialAreaPlot.d.mts +1 -1
  99. package/RadialLineChart/RadialAreaPlot.d.ts +1 -1
  100. package/RadialLineChart/RadialLine.d.mts +1 -1
  101. package/RadialLineChart/RadialLine.d.ts +1 -1
  102. package/RadialLineChart/RadialLineHighlightElement.d.mts +1 -1
  103. package/RadialLineChart/RadialLineHighlightElement.d.ts +1 -1
  104. package/RadialLineChart/RadialLineHighlightPlot.d.mts +1 -1
  105. package/RadialLineChart/RadialLineHighlightPlot.d.ts +1 -1
  106. package/RadialLineChart/RadialLinePlot.d.mts +1 -1
  107. package/RadialLineChart/RadialLinePlot.d.ts +1 -1
  108. package/RadialLineChart/RadialMarkPlot.d.mts +1 -1
  109. package/RadialLineChart/RadialMarkPlot.d.ts +1 -1
  110. package/RadialLineChart/radialLineClasses.d.mts +1 -1
  111. package/RadialLineChart/radialLineClasses.d.ts +1 -1
  112. package/RadialLineChart/seriesConfig/index.js +2 -2
  113. package/RadialLineChart/seriesConfig/index.mjs +2 -2
  114. package/RadialLineChart/seriesConfig/tooltipPosition.d.mts +2 -3
  115. package/RadialLineChart/seriesConfig/tooltipPosition.d.ts +2 -3
  116. package/RadialLineChart/seriesConfig/tooltipPosition.js +4 -6
  117. package/RadialLineChart/seriesConfig/tooltipPosition.mjs +2 -5
  118. package/ScatterChartPremium/ScatterChartPremium.d.mts +2 -1
  119. package/ScatterChartPremium/ScatterChartPremium.d.ts +2 -1
  120. package/ScatterChartPremium/ScatterPlotPremium.d.mts +2 -1
  121. package/ScatterChartPremium/ScatterPlotPremium.d.ts +2 -1
  122. package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.mts +2 -1
  123. package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.ts +2 -1
  124. package/colorPalettes/complementary/candlestick.d.mts +2 -2
  125. package/colorPalettes/complementary/candlestick.d.ts +2 -2
  126. package/index.js +1 -1
  127. package/index.mjs +1 -1
  128. package/internals/plugins/allPlugins.d.mts +2 -2
  129. package/internals/plugins/allPlugins.d.ts +2 -2
  130. package/internals/plugins/useGeoProjection/factories.d.mts +3 -0
  131. package/internals/plugins/useGeoProjection/factories.d.ts +3 -0
  132. package/internals/plugins/useGeoProjection/factories.js +29 -0
  133. package/internals/plugins/useGeoProjection/factories.mjs +23 -0
  134. package/internals/plugins/useGeoProjection/projection.utils.d.mts +17 -0
  135. package/internals/plugins/useGeoProjection/projection.utils.d.ts +17 -0
  136. package/internals/plugins/useGeoProjection/projection.utils.js +67 -0
  137. package/internals/plugins/useGeoProjection/projection.utils.mjs +59 -0
  138. package/internals/plugins/useGeoProjection/useGeoProjection.js +7 -40
  139. package/internals/plugins/useGeoProjection/useGeoProjection.mjs +7 -40
  140. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.mts +47 -11
  141. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.ts +47 -11
  142. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.js +118 -8
  143. package/internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -8
  144. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.mts +63 -2
  145. package/internals/plugins/useGeoProjection/useGeoProjection.types.d.ts +63 -2
  146. package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.mts +11 -0
  147. package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.ts +11 -0
  148. package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.js +65 -0
  149. package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.mjs +58 -0
  150. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.mts +13 -0
  151. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.ts +13 -0
  152. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.js +62 -0
  153. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.mjs +56 -0
  154. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.mts +13 -0
  155. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.ts +13 -0
  156. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.js +64 -0
  157. package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.mjs +58 -0
  158. package/internals/plugins/useGeoProjectionZoom/index.d.mts +2 -0
  159. package/internals/plugins/useGeoProjectionZoom/index.d.ts +2 -0
  160. package/internals/plugins/useGeoProjectionZoom/index.js +12 -0
  161. package/internals/plugins/useGeoProjectionZoom/index.mjs +1 -0
  162. package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.mts +31 -0
  163. package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.ts +31 -0
  164. package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.js +187 -0
  165. package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.mjs +177 -0
  166. package/internals/plugins/useGeoProjectionZoom/rotationMath.d.mts +23 -0
  167. package/internals/plugins/useGeoProjectionZoom/rotationMath.d.ts +23 -0
  168. package/internals/plugins/useGeoProjectionZoom/rotationMath.js +190 -0
  169. package/internals/plugins/useGeoProjectionZoom/rotationMath.mjs +182 -0
  170. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.mts +3 -0
  171. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.ts +3 -0
  172. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.js +174 -0
  173. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.mjs +166 -0
  174. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.mts +152 -0
  175. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.ts +152 -0
  176. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.js +5 -0
  177. package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.mjs +1 -0
  178. package/package.json +6 -6
  179. package/plugins/selectors/useChartCandlestickPosition.selectors.d.mts +1 -1
  180. package/plugins/selectors/useChartCandlestickPosition.selectors.d.ts +1 -1
@@ -0,0 +1,152 @@
1
+ import type { ChartPluginSignature } from '@mui/x-charts/internals';
2
+ import type { UseGeoProjectionSignature } from "../useGeoProjection/useGeoProjection.types.js";
3
+ /**
4
+ * Which rotation axes a pan/zoom gesture may move:
5
+ * - `'both'`: rotate freely along longitude and latitude, keeping the roll fixed.
6
+ * - `'longitude'`: rotate along longitude only (lock the north–south tilt).
7
+ * - `'none'`: lock every axis.
8
+ * - `'both+roll'`: rotate freely along longitude and latitude, and allow rolling the map around the center.
9
+ */
10
+ export type MapRotationAxis = 'both' | 'longitude' | 'none' | 'both+roll';
11
+ export type MapTranslationAxis = 'both' | 'x' | 'y' | 'none';
12
+ /**
13
+ * Public, resolution-independent representation of the map view.
14
+ *
15
+ * Unlike the raw projection `scale`/`translate` (both in SVG pixels, tied to the drawing-area
16
+ * size), a view survives a resize: `zoomLevel` is a ratio and `center` is a geographic coordinate.
17
+ */
18
+ export interface MapZoomView {
19
+ /**
20
+ * The zoom level, as a multiple of the scale that fits the data in the drawing area.
21
+ * `1` means the whole dataset fits the drawing area; `2` means twice as close.
22
+ */
23
+ zoomLevel: number;
24
+ /**
25
+ * The geographic coordinate `[longitude, latitude]` displayed at the center of the drawing area.
26
+ */
27
+ center: [number, number];
28
+ /**
29
+ * The map translation in percentage of the drawing area.
30
+ */
31
+ translation: [number, number];
32
+ /**
33
+ * The roll of the map, in degrees.
34
+ * This spins the map around the point displayed at the center of the drawing area, independently
35
+ * of the `center` (which controls longitude/latitude).
36
+ */
37
+ roll: number;
38
+ }
39
+ /**
40
+ * Fine-grained configuration for the map zoom/pan interaction, passed as the `zoom` parameter
41
+ * instead of a plain `true`.
42
+ */
43
+ export interface MapZoomOptions {
44
+ /**
45
+ * Which axes the map can be rotated along while panning or zooming.
46
+ * For example, `'longitude'` lets the map rotate east–west but locks the north–south tilt.
47
+ */
48
+ rotationAllowed?: MapRotationAxis;
49
+ /**
50
+ * Which axes the map can be translated along while panning or zooming.
51
+ * For example, `'y'` lets the map translate vertically but locks the horizontal movement.
52
+ */
53
+ translationAllowed?: MapTranslationAxis;
54
+ /**
55
+ * The minimum zoom level, as a multiple of the scale that fits the data in the drawing area.
56
+ * @default 1
57
+ */
58
+ minZoomLevel?: number;
59
+ /**
60
+ * The maximum zoom level, as a multiple of the scale that fits the data in the drawing area.
61
+ * @default 8
62
+ */
63
+ maxZoomLevel?: number;
64
+ /**
65
+ * The maximal space left empty while panning, expressed as a ratio of the drawing area size.
66
+ * For example:
67
+ * - `0` keeps the map's bounding box flush with (or covering) the drawing area.
68
+ * - `0.5` lets the user pan until at most half of the drawing area is empty on a given side.
69
+ * @default 0
70
+ */
71
+ maxEmptySpace?: number;
72
+ }
73
+ interface UseGeoProjectionZoomParameters {
74
+ /**
75
+ * If `true`, the map can be panned (drag) and zoomed (wheel / pinch).
76
+ * Pass a {@link MapZoomOptions} object to fine-tune the interaction, e.g. restrict rotation axes.
77
+ * @default false
78
+ */
79
+ zoom?: boolean | MapZoomOptions;
80
+ /**
81
+ * The view to apply on mount, when the zoom is not controlled.
82
+ * Use this to seed the map at a specific zoom level and center without controlling it.
83
+ */
84
+ initialView?: Omit<MapZoomView, 'translation' | 'roll'> & Partial<Pick<MapZoomView, 'translation' | 'roll'>>;
85
+ /**
86
+ * The view to display, in controlled mode.
87
+ * When set, the component does not update the view on its own — drive it from `onViewChange`.
88
+ */
89
+ view?: MapZoomView;
90
+ /**
91
+ * Callback fired when the map zoom or pan changes (including programmatic reset).
92
+ * @param {MapZoomView} view The new zoom level and geographic center.
93
+ */
94
+ onViewChange?: (view: MapZoomView) => void;
95
+ }
96
+ interface UseGeoProjectionZoomDefaultizedParameters extends UseGeoProjectionZoomParameters {
97
+ zoom: boolean | MapZoomOptions;
98
+ }
99
+ /**
100
+ * Imperative methods shared by the plugin `instance` and the public `apiRef`.
101
+ */
102
+ interface UseGeoProjectionZoomPublicApi {
103
+ /**
104
+ * Zoom the map in by a fixed step, centered on the drawing area.
105
+ */
106
+ zoomIn: () => void;
107
+ /**
108
+ * Zoom the map out by a fixed step, centered on the drawing area.
109
+ */
110
+ zoomOut: () => void;
111
+ /**
112
+ * Reset the map to the default scale and translation that fit the data in the drawing area.
113
+ */
114
+ resetZoom: () => void;
115
+ }
116
+ interface UseGeoProjectionZoomInstance extends UseGeoProjectionZoomPublicApi {}
117
+ export interface UseGeoProjectionZoomState {
118
+ geoProjectionZoom: {
119
+ /**
120
+ * The zoom level, as a multiple of the scale that fits the data in the drawing area.
121
+ * `null` (the default) and `1` both mean fit-to-data. The absolute projection scale is
122
+ * derived as `fitScale * zoomLevel`, so this stays valid across resizes.
123
+ */
124
+ zoomLevel: number;
125
+ /**
126
+ * The geographic coordinate `[longitude, latitude]` displayed at the center of the drawing area.
127
+ * `null` keeps the data centered (the fit center).
128
+ */
129
+ center: [number, number];
130
+ /**
131
+ * The map translation in percentage of the drawing area.
132
+ */
133
+ translation: [number, number] | null;
134
+ /**
135
+ * The roll of the map, in degrees. `null` keeps the map upright (no roll).
136
+ */
137
+ roll: number;
138
+ initialTranslation: [number, number];
139
+ initialCenter: [number, number];
140
+ initialZoomLevel: number;
141
+ initialRoll: number;
142
+ };
143
+ }
144
+ export type UseGeoProjectionZoomSignature = ChartPluginSignature<{
145
+ params: UseGeoProjectionZoomParameters;
146
+ defaultizedParams: UseGeoProjectionZoomDefaultizedParameters;
147
+ publicAPI: UseGeoProjectionZoomPublicApi;
148
+ instance: UseGeoProjectionZoomInstance;
149
+ state: UseGeoProjectionZoomState;
150
+ dependencies: [UseGeoProjectionSignature];
151
+ }>;
152
+ export {};
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-premium",
3
- "version": "9.8.0",
3
+ "version": "9.10.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Premium plan edition of the MUI X Charts components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.29.7",
31
- "@mui/utils": "^9.1.1",
31
+ "@mui/utils": "^9.2.0",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
+ "@mui/x-charts": "^9.10.0",
35
+ "@mui/x-charts-pro": "^9.10.0",
34
36
  "@mui/x-charts-vendor": "^9.4.0",
35
- "@mui/x-internals": "^9.8.0",
36
- "@mui/x-license": "^9.8.0",
37
- "@mui/x-charts": "^9.8.0",
38
- "@mui/x-charts-pro": "^9.8.0"
37
+ "@mui/x-license": "^9.10.0",
38
+ "@mui/x-internals": "^9.10.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",
@@ -1,4 +1,4 @@
1
1
  import type { OHLCItemIdentifier } from "../../models/index.mjs";
2
2
  export declare const selectorCandlestickItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
4
- }, svgPoint: Pick<DOMPoint, "y" | "x">) => OHLCItemIdentifier | undefined;
4
+ }, svgPoint: Pick<DOMPoint, "x" | "y">) => OHLCItemIdentifier | undefined;
@@ -1,4 +1,4 @@
1
1
  import type { OHLCItemIdentifier } from "../../models/index.js";
2
2
  export declare const selectorCandlestickItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
4
- }, svgPoint: Pick<DOMPoint, "y" | "x">) => OHLCItemIdentifier | undefined;
4
+ }, svgPoint: Pick<DOMPoint, "x" | "y">) => OHLCItemIdentifier | undefined;