@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.
- package/BarChartPremium/BarChartPremium.d.mts +1 -1
- package/BarChartPremium/BarChartPremium.d.ts +1 -1
- package/BarChartPremium/BarChartPremium.js +14 -3
- package/BarChartPremium/BarChartPremium.mjs +14 -3
- package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.mts +2 -1
- package/BarChartPremium/RangeBar/AnimatedRangeBarElement.d.ts +2 -1
- package/BarChartPremium/RangeBar/FocusedRangeBar.d.mts +1 -1
- package/BarChartPremium/RangeBar/FocusedRangeBar.d.ts +1 -1
- package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
- package/BarChartPremium/RangeBar/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
- package/BarChartPremium/RangeBar/seriesConfig/index.js +2 -2
- package/BarChartPremium/RangeBar/seriesConfig/index.mjs +2 -2
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.mts +2 -3
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.d.ts +2 -3
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.js +12 -15
- package/BarChartPremium/RangeBar/seriesConfig/tooltipPosition.mjs +11 -14
- package/BarChartPremium/useBarChartPremiumProps.d.mts +3 -3
- package/BarChartPremium/useBarChartPremiumProps.d.ts +3 -3
- package/CHANGELOG.md +230 -0
- package/CandlestickChart/CandlestickPlot.d.mts +2 -1
- package/CandlestickChart/CandlestickPlot.d.ts +2 -1
- package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.mts +2 -1
- package/CandlestickChart/seriesConfig/OHLCTooltipContent.d.ts +2 -1
- package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.mts +11 -11
- package/CandlestickChart/seriesConfig/getSeriesWithDefaultValues.d.ts +11 -11
- package/CandlestickChart/seriesConfig/index.js +2 -2
- package/CandlestickChart/seriesConfig/index.mjs +2 -2
- package/CandlestickChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/CandlestickChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/CandlestickChart/seriesConfig/tooltipPosition.js +10 -14
- package/CandlestickChart/seriesConfig/tooltipPosition.mjs +10 -14
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.mts +1 -1
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.d.ts +1 -1
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.js +2 -2
- package/ChartsDataProviderPremium/ChartsDataProviderPremium.mjs +2 -2
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.mts +1 -1
- package/ChartsDataProviderPremium/useChartsDataProviderPremiumProps.d.ts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.mts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.d.ts +1 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.js +2 -2
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.mjs +2 -2
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.mts +4 -3
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.d.ts +4 -3
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.js +2 -1
- package/ChartsGeoDataProviderPremium/ChartsGeoDataProviderPremium.plugins.mjs +2 -1
- package/ChartsGeoDataProviderPremium/index.d.mts +2 -1
- package/ChartsGeoDataProviderPremium/index.d.ts +2 -1
- package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.mts +1 -1
- package/ChartsGeoDataProviderPremium/useChartsGeoDataProviderPremiumProps.d.ts +1 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.mts +2 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.d.ts +2 -1
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.js +2 -2
- package/ChartsRadialDataProviderPremium/ChartsRadialDataProviderPremium.mjs +2 -2
- package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.mts +2 -3
- package/ChartsRadialDataProviderPremium/useChartsRadialDataProviderPremiumProps.d.ts +2 -3
- package/ChartsRenderer/components/PaletteOption.d.mts +1 -1
- package/ChartsRenderer/components/PaletteOption.d.ts +1 -1
- package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.mts +2 -1
- package/ChartsZoomSlider/internals/previews/CandlestickPreviewPlot.d.ts +2 -1
- package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.mts +1 -1
- package/ChartsZoomSlider/internals/previews/RangeBarPreviewPlot.d.ts +1 -1
- package/HeatmapPremium/HeatmapPlotPremium.d.mts +1 -1
- package/HeatmapPremium/HeatmapPlotPremium.d.ts +1 -1
- package/HeatmapPremium/useHeatmapPremiumProps.d.mts +2 -2
- package/HeatmapPremium/useHeatmapPremiumProps.d.ts +2 -2
- package/Map/FocusedMapShape.d.mts +2 -1
- package/Map/FocusedMapShape.d.ts +2 -1
- package/Map/GeoDataPlot.d.mts +1 -1
- package/Map/GeoDataPlot.d.ts +1 -1
- package/Map/Graticule.d.mts +1 -1
- package/Map/Graticule.d.ts +1 -1
- package/Map/MapImagePlot.d.mts +1 -1
- package/Map/MapImagePlot.d.ts +1 -1
- package/Map/MapShape.d.mts +1 -1
- package/Map/MapShape.d.ts +1 -1
- package/Map/MapShapePlot.d.mts +1 -1
- package/Map/MapShapePlot.d.ts +1 -1
- package/Map/index.d.mts +1 -3
- package/Map/index.d.ts +1 -3
- package/Map/seriesConfig/highlight.d.mts +2 -2
- package/Map/seriesConfig/highlight.d.ts +2 -2
- package/Map/seriesConfig/tooltipPosition.d.mts +1 -1
- package/Map/seriesConfig/tooltipPosition.d.ts +1 -1
- package/Map/seriesConfig/tooltipPosition.js +2 -8
- package/Map/seriesConfig/tooltipPosition.mjs +3 -9
- package/RadialBarChart/RadialBarElement.d.mts +1 -1
- package/RadialBarChart/RadialBarElement.d.ts +1 -1
- package/RadialBarChart/radialBarClasses.d.mts +1 -1
- package/RadialBarChart/radialBarClasses.d.ts +1 -1
- package/RadialBarChart/seriesConfig/index.js +2 -2
- package/RadialBarChart/seriesConfig/index.mjs +2 -2
- package/RadialBarChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/RadialBarChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/RadialBarChart/seriesConfig/tooltipPosition.js +4 -6
- package/RadialBarChart/seriesConfig/tooltipPosition.mjs +2 -5
- package/RadialLineChart/RadialArea.d.mts +2 -1
- package/RadialLineChart/RadialArea.d.ts +2 -1
- package/RadialLineChart/RadialAreaPlot.d.mts +1 -1
- package/RadialLineChart/RadialAreaPlot.d.ts +1 -1
- package/RadialLineChart/RadialLine.d.mts +1 -1
- package/RadialLineChart/RadialLine.d.ts +1 -1
- package/RadialLineChart/RadialLineHighlightElement.d.mts +1 -1
- package/RadialLineChart/RadialLineHighlightElement.d.ts +1 -1
- package/RadialLineChart/RadialLineHighlightPlot.d.mts +1 -1
- package/RadialLineChart/RadialLineHighlightPlot.d.ts +1 -1
- package/RadialLineChart/RadialLinePlot.d.mts +1 -1
- package/RadialLineChart/RadialLinePlot.d.ts +1 -1
- package/RadialLineChart/RadialMarkPlot.d.mts +1 -1
- package/RadialLineChart/RadialMarkPlot.d.ts +1 -1
- package/RadialLineChart/radialLineClasses.d.mts +1 -1
- package/RadialLineChart/radialLineClasses.d.ts +1 -1
- package/RadialLineChart/seriesConfig/index.js +2 -2
- package/RadialLineChart/seriesConfig/index.mjs +2 -2
- package/RadialLineChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/RadialLineChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/RadialLineChart/seriesConfig/tooltipPosition.js +4 -6
- package/RadialLineChart/seriesConfig/tooltipPosition.mjs +2 -5
- package/ScatterChartPremium/ScatterChartPremium.d.mts +2 -1
- package/ScatterChartPremium/ScatterChartPremium.d.ts +2 -1
- package/ScatterChartPremium/ScatterPlotPremium.d.mts +2 -1
- package/ScatterChartPremium/ScatterPlotPremium.d.ts +2 -1
- package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.mts +2 -1
- package/ScatterChartPremium/webgl/ScatterWebGLPlot.d.ts +2 -1
- package/colorPalettes/complementary/candlestick.d.mts +2 -2
- package/colorPalettes/complementary/candlestick.d.ts +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/plugins/allPlugins.d.mts +2 -2
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/internals/plugins/useGeoProjection/factories.d.mts +3 -0
- package/internals/plugins/useGeoProjection/factories.d.ts +3 -0
- package/internals/plugins/useGeoProjection/factories.js +29 -0
- package/internals/plugins/useGeoProjection/factories.mjs +23 -0
- package/internals/plugins/useGeoProjection/projection.utils.d.mts +17 -0
- package/internals/plugins/useGeoProjection/projection.utils.d.ts +17 -0
- package/internals/plugins/useGeoProjection/projection.utils.js +67 -0
- package/internals/plugins/useGeoProjection/projection.utils.mjs +59 -0
- package/internals/plugins/useGeoProjection/useGeoProjection.js +7 -40
- package/internals/plugins/useGeoProjection/useGeoProjection.mjs +7 -40
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.mts +47 -11
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.d.ts +47 -11
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.js +118 -8
- package/internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -8
- package/internals/plugins/useGeoProjection/useGeoProjection.types.d.mts +63 -2
- package/internals/plugins/useGeoProjection/useGeoProjection.types.d.ts +63 -2
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.mts +11 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.d.ts +11 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.js +65 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/usePanOnDrag.mjs +58 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.mts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.d.ts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.js +62 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnPinch.mjs +56 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.mts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.d.ts +13 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.js +64 -0
- package/internals/plugins/useGeoProjectionZoom/gestureHooks/useZoomOnWheel.mjs +58 -0
- package/internals/plugins/useGeoProjectionZoom/index.d.mts +2 -0
- package/internals/plugins/useGeoProjectionZoom/index.d.ts +2 -0
- package/internals/plugins/useGeoProjectionZoom/index.js +12 -0
- package/internals/plugins/useGeoProjectionZoom/index.mjs +1 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.mts +31 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.d.ts +31 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.js +187 -0
- package/internals/plugins/useGeoProjectionZoom/mapZoom.utils.mjs +177 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.d.mts +23 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.d.ts +23 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.js +190 -0
- package/internals/plugins/useGeoProjectionZoom/rotationMath.mjs +182 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.mts +3 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.d.ts +3 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.js +174 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.mjs +166 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.mts +152 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.d.ts +152 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.js +5 -0
- package/internals/plugins/useGeoProjectionZoom/useGeoProjectionZoom.types.mjs +1 -0
- package/package.json +6 -6
- package/plugins/selectors/useChartCandlestickPosition.selectors.d.mts +1 -1
- package/plugins/selectors/useChartCandlestickPosition.selectors.d.ts +1 -1
|
@@ -2,8 +2,6 @@ import type { HeatmapPremiumProps } from "./HeatmapPremium.js";
|
|
|
2
2
|
import type { HeatmapPlotPremiumProps } from "./HeatmapPlotPremium.js";
|
|
3
3
|
export type UseHeatmapPremiumProps = HeatmapPremiumProps;
|
|
4
4
|
export declare function useHeatmapPremiumProps(props: UseHeatmapPremiumProps): {
|
|
5
|
-
heatmapPlotPremiumProps: HeatmapPlotPremiumProps;
|
|
6
|
-
chartsDataProviderPremiumProps: import("@mui/x-charts-pro/ChartsDataProviderPro").ChartsDataProviderProProps<"heatmap", import("@mui/x-charts-pro/Heatmap").HeatmapPluginSignatures>;
|
|
7
5
|
chartsWrapperProps: Omit<import("@mui/x-charts").ChartsWrapperProps, "children">;
|
|
8
6
|
clipPathProps: import("@mui/x-charts").ChartsClipPathProps;
|
|
9
7
|
clipPathGroupProps: {
|
|
@@ -13,4 +11,6 @@ export declare function useHeatmapPremiumProps(props: UseHeatmapPremiumProps): {
|
|
|
13
11
|
chartsAxisProps: import("@mui/x-charts").ChartsAxisProps;
|
|
14
12
|
legendProps: import("@mui/x-charts").ChartsLegendProps | import("@mui/x-charts").ChartsLegendSlotExtension;
|
|
15
13
|
children: React.ReactNode;
|
|
14
|
+
heatmapPlotPremiumProps: HeatmapPlotPremiumProps;
|
|
15
|
+
chartsDataProviderPremiumProps: import("@mui/x-charts-pro/ChartsDataProviderPro").ChartsDataProviderProProps<"heatmap", import("@mui/x-charts-pro/Heatmap").HeatmapPluginSignatures>;
|
|
16
16
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* Renders an outline around the map shape currently focused through keyboard navigation.
|
|
3
4
|
*/
|
|
4
|
-
export declare function FocusedMapShape():
|
|
5
|
+
export declare function FocusedMapShape(): React.JSX.Element | null;
|
package/Map/FocusedMapShape.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* Renders an outline around the map shape currently focused through keyboard navigation.
|
|
3
4
|
*/
|
|
4
|
-
export declare function FocusedMapShape():
|
|
5
|
+
export declare function FocusedMapShape(): React.JSX.Element | null;
|
package/Map/GeoDataPlot.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ export interface GeoDataPlotProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* Renders the registered `geoData` as SVG paths, using the registered `projection`
|
|
21
21
|
*/
|
|
22
|
-
declare function GeoDataPlot(props: GeoDataPlotProps): import("react
|
|
22
|
+
declare function GeoDataPlot(props: GeoDataPlotProps): import("react").JSX.Element | null;
|
|
23
23
|
declare namespace GeoDataPlot {
|
|
24
24
|
var propTypes: any;
|
|
25
25
|
}
|
package/Map/GeoDataPlot.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface GeoDataPlotProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* Renders the registered `geoData` as SVG paths, using the registered `projection`
|
|
21
21
|
*/
|
|
22
|
-
declare function GeoDataPlot(props: GeoDataPlotProps): import("react
|
|
22
|
+
declare function GeoDataPlot(props: GeoDataPlotProps): import("react").JSX.Element | null;
|
|
23
23
|
declare namespace GeoDataPlot {
|
|
24
24
|
var propTypes: any;
|
|
25
25
|
}
|
package/Map/Graticule.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function Graticule(props: Omit<React.SVGProps<SVGPathElement>, 'd'>): import("react
|
|
1
|
+
export declare function Graticule(props: Omit<React.SVGProps<SVGPathElement>, 'd'>): import("react").JSX.Element | null;
|
package/Map/Graticule.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function Graticule(props: Omit<React.SVGProps<SVGPathElement>, 'd'>): import("react
|
|
1
|
+
export declare function Graticule(props: Omit<React.SVGProps<SVGPathElement>, 'd'>): import("react").JSX.Element | null;
|
package/Map/MapImagePlot.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ export interface MapImagePlotProps extends React.SVGProps<SVGImageElement> {
|
|
|
32
32
|
* does not cover the whole globe. Any other SVG image attribute is forwarded to
|
|
33
33
|
* the underlying element.
|
|
34
34
|
*/
|
|
35
|
-
declare function MapImagePlot(props: MapImagePlotProps):
|
|
35
|
+
declare function MapImagePlot(props: MapImagePlotProps): React.JSX.Element | null;
|
|
36
36
|
declare namespace MapImagePlot {
|
|
37
37
|
var propTypes: any;
|
|
38
38
|
}
|
package/Map/MapImagePlot.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface MapImagePlotProps extends React.SVGProps<SVGImageElement> {
|
|
|
32
32
|
* does not cover the whole globe. Any other SVG image attribute is forwarded to
|
|
33
33
|
* the underlying element.
|
|
34
34
|
*/
|
|
35
|
-
declare function MapImagePlot(props: MapImagePlotProps):
|
|
35
|
+
declare function MapImagePlot(props: MapImagePlotProps): React.JSX.Element | null;
|
|
36
36
|
declare namespace MapImagePlot {
|
|
37
37
|
var propTypes: any;
|
|
38
38
|
}
|
package/Map/MapShape.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ export type MapShapeProps = Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
|
6
6
|
d: string;
|
|
7
7
|
color: string;
|
|
8
8
|
};
|
|
9
|
-
declare function MapShape(props: MapShapeProps):
|
|
9
|
+
declare function MapShape(props: MapShapeProps): React.JSX.Element;
|
|
10
10
|
declare namespace MapShape {
|
|
11
11
|
var propTypes: any;
|
|
12
12
|
}
|
package/Map/MapShape.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type MapShapeProps = Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
|
6
6
|
d: string;
|
|
7
7
|
color: string;
|
|
8
8
|
};
|
|
9
|
-
declare function MapShape(props: MapShapeProps):
|
|
9
|
+
declare function MapShape(props: MapShapeProps): React.JSX.Element;
|
|
10
10
|
declare namespace MapShape {
|
|
11
11
|
var propTypes: any;
|
|
12
12
|
}
|
package/Map/MapShapePlot.d.mts
CHANGED
|
@@ -26,7 +26,7 @@ export interface MapShapePlotProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* Renders series mapShape items.
|
|
28
28
|
*/
|
|
29
|
-
declare function MapShapePlot(props: MapShapePlotProps):
|
|
29
|
+
declare function MapShapePlot(props: MapShapePlotProps): React.JSX.Element | null;
|
|
30
30
|
declare namespace MapShapePlot {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
package/Map/MapShapePlot.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface MapShapePlotProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* Renders series mapShape items.
|
|
28
28
|
*/
|
|
29
|
-
declare function MapShapePlot(props: MapShapePlotProps):
|
|
29
|
+
declare function MapShapePlot(props: MapShapePlotProps): React.JSX.Element | null;
|
|
30
30
|
declare namespace MapShapePlot {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
package/Map/index.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
export type { GeoProjectionInput, D3NamedProjection } from "../internals/plugins/useGeoProjection/useGeoProjection.types.mjs";
|
|
2
2
|
export * from "./GeoDataPlot.mjs";
|
|
3
3
|
export * from "./MapImagePlot.mjs";
|
|
4
4
|
export * from "./MapShapePlot.mjs";
|
|
5
5
|
export * from "./MapShape.mjs";
|
|
6
6
|
export * from "./FocusedMapShape.mjs";
|
|
7
7
|
export * from "./Graticule.mjs";
|
|
8
|
-
export type D3NamedProjection = useGeoProjectionTypes.D3NamedProjection;
|
|
9
|
-
export type GeoProjectionInput = useGeoProjectionTypes.GeoProjectionInput;
|
|
10
8
|
export type { GeoProjection, ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
|
package/Map/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
export type { GeoProjectionInput, D3NamedProjection } from "../internals/plugins/useGeoProjection/useGeoProjection.types.js";
|
|
2
2
|
export * from "./GeoDataPlot.js";
|
|
3
3
|
export * from "./MapImagePlot.js";
|
|
4
4
|
export * from "./MapShapePlot.js";
|
|
5
5
|
export * from "./MapShape.js";
|
|
6
6
|
export * from "./FocusedMapShape.js";
|
|
7
7
|
export * from "./Graticule.js";
|
|
8
|
-
export type D3NamedProjection = useGeoProjectionTypes.D3NamedProjection;
|
|
9
|
-
export type GeoProjectionInput = useGeoProjectionTypes.GeoProjectionInput;
|
|
10
8
|
export type { GeoProjection, ExtendedFeatureCollection } from '@mui/x-charts-vendor/d3-geo';
|
|
@@ -3,8 +3,8 @@ import type { HighlightItemIdentifier } from '@mui/x-charts/models';
|
|
|
3
3
|
/**
|
|
4
4
|
* The isHighlighted logic for main charts (those that are identified by an id and a name)
|
|
5
5
|
*/
|
|
6
|
-
export declare function createIsHighlighted(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<
|
|
6
|
+
export declare function createIsHighlighted(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<'mapShape'> | null) => boolean;
|
|
7
7
|
/**
|
|
8
8
|
* The isFade logic for main charts (those that are identified by an id and a name)
|
|
9
9
|
*/
|
|
10
|
-
export declare function createIsFaded(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<
|
|
10
|
+
export declare function createIsFaded(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<'mapShape'> | null) => boolean;
|
|
@@ -3,8 +3,8 @@ import type { HighlightItemIdentifier } from '@mui/x-charts/models';
|
|
|
3
3
|
/**
|
|
4
4
|
* The isHighlighted logic for main charts (those that are identified by an id and a name)
|
|
5
5
|
*/
|
|
6
|
-
export declare function createIsHighlighted(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<
|
|
6
|
+
export declare function createIsHighlighted(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<'mapShape'> | null) => boolean;
|
|
7
7
|
/**
|
|
8
8
|
* The isFade logic for main charts (those that are identified by an id and a name)
|
|
9
9
|
*/
|
|
10
|
-
export declare function createIsFaded(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<
|
|
10
|
+
export declare function createIsFaded(highlightScope: HighlightScope<'mapShape'> | null | undefined, highlightedItem: HighlightItemIdentifier<'mapShape'> | null): (item: HighlightItemIdentifier<'mapShape'> | null) => boolean;
|
|
@@ -4,5 +4,5 @@ import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
|
4
4
|
* series config (rather than the core tooltip plugin) so the geo projection is a
|
|
5
5
|
* tracked dependency and d3-geo is only bundled with map charts.
|
|
6
6
|
*/
|
|
7
|
-
declare const selectorTooltipItemPosition: TooltipItemPositionSelector
|
|
7
|
+
declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'mapShape'>;
|
|
8
8
|
export default selectorTooltipItemPosition;
|
|
@@ -4,5 +4,5 @@ import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
|
4
4
|
* series config (rather than the core tooltip plugin) so the geo projection is a
|
|
5
5
|
* tracked dependency and d3-geo is only bundled with map charts.
|
|
6
6
|
*/
|
|
7
|
-
declare const selectorTooltipItemPosition: TooltipItemPositionSelector
|
|
7
|
+
declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'mapShape'>;
|
|
8
8
|
export default selectorTooltipItemPosition;
|
|
@@ -7,19 +7,13 @@ exports.default = void 0;
|
|
|
7
7
|
var _d3Geo = require("@mui/x-charts-vendor/d3-geo");
|
|
8
8
|
var _store = require("@mui/x-internals/store");
|
|
9
9
|
var _internals = require("@mui/x-charts/internals");
|
|
10
|
+
var _useGeoProjection = require("../../internals/plugins/useGeoProjection/useGeoProjection.selectors");
|
|
10
11
|
/**
|
|
11
12
|
* Positions a map shape tooltip from the geo projection. It lives in the map
|
|
12
13
|
* series config (rather than the core tooltip plugin) so the geo projection is a
|
|
13
14
|
* tracked dependency and d3-geo is only bundled with map charts.
|
|
14
15
|
*/
|
|
15
|
-
const selectorTooltipItemPosition = (0, _store.createSelectorMemoized)(_internals.selectorChartsTooltipItem,
|
|
16
|
-
// `selectorChartsTooltipItem` is typed with the community series types, which
|
|
17
|
-
// don't include `mapShape`, so the identifier is matched structurally here.
|
|
18
|
-
(identifier, {
|
|
19
|
-
projection,
|
|
20
|
-
geoData,
|
|
21
|
-
featureIndexesByName
|
|
22
|
-
}, position) => {
|
|
16
|
+
const selectorTooltipItemPosition = (0, _store.createSelectorMemoized)(_internals.selectorChartsTooltipItem, _useGeoProjection.selectorChartGeoData, _useGeoProjection.selectorChartGeoFeatureIndexesByName, _useGeoProjection.selectorChartProjection, (identifier, geoData, featureIndexesByName, projection, position) => {
|
|
23
17
|
if (identifier?.type !== 'mapShape' || identifier.name === undefined) {
|
|
24
18
|
return null;
|
|
25
19
|
}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { geoPath } from '@mui/x-charts-vendor/d3-geo';
|
|
2
2
|
import { createSelectorMemoized } from '@mui/x-internals/store';
|
|
3
|
-
import { selectorChartsTooltipItem
|
|
3
|
+
import { selectorChartsTooltipItem } from '@mui/x-charts/internals';
|
|
4
|
+
import { selectorChartGeoData, selectorChartGeoFeatureIndexesByName, selectorChartProjection } from "../../internals/plugins/useGeoProjection/useGeoProjection.selectors.mjs";
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Positions a map shape tooltip from the geo projection. It lives in the map
|
|
7
8
|
* series config (rather than the core tooltip plugin) so the geo projection is a
|
|
8
9
|
* tracked dependency and d3-geo is only bundled with map charts.
|
|
9
10
|
*/
|
|
10
|
-
const selectorTooltipItemPosition = createSelectorMemoized(selectorChartsTooltipItem,
|
|
11
|
-
// `selectorChartsTooltipItem` is typed with the community series types, which
|
|
12
|
-
// don't include `mapShape`, so the identifier is matched structurally here.
|
|
13
|
-
(identifier, {
|
|
14
|
-
projection,
|
|
15
|
-
geoData,
|
|
16
|
-
featureIndexesByName
|
|
17
|
-
}, position) => {
|
|
11
|
+
const selectorTooltipItemPosition = createSelectorMemoized(selectorChartsTooltipItem, selectorChartGeoData, selectorChartGeoFeatureIndexesByName, selectorChartProjection, (identifier, geoData, featureIndexesByName, projection, position) => {
|
|
18
12
|
if (identifier?.type !== 'mapShape' || identifier.name === undefined) {
|
|
19
13
|
return null;
|
|
20
14
|
}
|
|
@@ -12,5 +12,5 @@ type RadialBarElementProps = Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
|
12
12
|
classes?: Partial<RadialBarClasses>;
|
|
13
13
|
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
|
|
14
14
|
};
|
|
15
|
-
declare function RadialBarElement(props: RadialBarElementProps):
|
|
15
|
+
declare function RadialBarElement(props: RadialBarElementProps): React.JSX.Element;
|
|
16
16
|
export { RadialBarElement };
|
|
@@ -12,5 +12,5 @@ type RadialBarElementProps = Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
|
12
12
|
classes?: Partial<RadialBarClasses>;
|
|
13
13
|
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
|
|
14
14
|
};
|
|
15
|
-
declare function RadialBarElement(props: RadialBarElementProps):
|
|
15
|
+
declare function RadialBarElement(props: RadialBarElementProps): React.JSX.Element;
|
|
16
16
|
export { RadialBarElement };
|
|
@@ -11,5 +11,5 @@ export declare const radialBarClasses: RadialBarClasses;
|
|
|
11
11
|
interface UseUtilityClassesOptions {
|
|
12
12
|
classes?: Partial<RadialBarClasses>;
|
|
13
13
|
}
|
|
14
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
14
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"element" | "root" | "series", string>;
|
|
15
15
|
export {};
|
|
@@ -11,5 +11,5 @@ export declare const radialBarClasses: RadialBarClasses;
|
|
|
11
11
|
interface UseUtilityClassesOptions {
|
|
12
12
|
classes?: Partial<RadialBarClasses>;
|
|
13
13
|
}
|
|
14
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
14
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"element" | "root" | "series", string>;
|
|
15
15
|
export {};
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.radialBarSeriesConfig = void 0;
|
|
8
8
|
var _internals = require("@mui/x-charts/internals");
|
|
9
9
|
var _legend = _interopRequireDefault(require("./legend"));
|
|
10
|
-
var _tooltipPosition =
|
|
10
|
+
var _tooltipPosition = require("./tooltipPosition");
|
|
11
11
|
var _keyboardFocusHandler = _interopRequireDefault(require("./keyboardFocusHandler"));
|
|
12
12
|
var _axisTooltipGetter = require("./axisTooltipGetter");
|
|
13
13
|
var _getColor = _interopRequireDefault(require("./getColor"));
|
|
@@ -23,7 +23,7 @@ const radialBarSeriesConfig = exports.radialBarSeriesConfig = {
|
|
|
23
23
|
seriesProcessor: _seriesProcessor.default,
|
|
24
24
|
legendGetter: _legend.default,
|
|
25
25
|
tooltipGetter: _tooltip.default,
|
|
26
|
-
|
|
26
|
+
selectorTooltipItemPosition: _tooltipPosition.selectorTooltipItemPosition,
|
|
27
27
|
axisTooltipGetter: _axisTooltipGetter.axisTooltipGetter,
|
|
28
28
|
rotationExtremumGetter: _extremums.rotationExtremumGetter,
|
|
29
29
|
radiusExtremumGetter: _extremums.radiusExtremumGetter,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { identifierSerializerSeriesIdDataIndex, identifierCleanerSeriesIdDataIndex, createIsHighlighted, createIsFaded, polarSeriesTypes } from '@mui/x-charts/internals';
|
|
2
2
|
import legendGetter from "./legend.mjs";
|
|
3
|
-
import
|
|
3
|
+
import { selectorTooltipItemPosition } from "./tooltipPosition.mjs";
|
|
4
4
|
import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
|
|
5
5
|
import { axisTooltipGetter } from "./axisTooltipGetter.mjs";
|
|
6
6
|
import colorProcessor from "./getColor.mjs";
|
|
@@ -16,7 +16,7 @@ export const radialBarSeriesConfig = {
|
|
|
16
16
|
seriesProcessor,
|
|
17
17
|
legendGetter,
|
|
18
18
|
tooltipGetter,
|
|
19
|
-
|
|
19
|
+
selectorTooltipItemPosition,
|
|
20
20
|
axisTooltipGetter,
|
|
21
21
|
rotationExtremumGetter,
|
|
22
22
|
radiusExtremumGetter,
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'radialBar'>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'radialBar'>;
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
var _default = exports.default = tooltipItemPositionGetter;
|
|
6
|
+
exports.selectorTooltipItemPosition = void 0;
|
|
7
|
+
// Todo: to implement
|
|
8
|
+
const selectorTooltipItemPosition = () => null;
|
|
9
|
+
exports.selectorTooltipItemPosition = selectorTooltipItemPosition;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadialLineOrAreaProps } from "./RadialLine.mjs";
|
|
2
|
-
declare function RadialArea(props: RadialLineOrAreaProps):
|
|
3
|
+
declare function RadialArea(props: RadialLineOrAreaProps): React.JSX.Element;
|
|
3
4
|
export { RadialArea };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadialLineOrAreaProps } from "./RadialLine.js";
|
|
2
|
-
declare function RadialArea(props: RadialLineOrAreaProps):
|
|
3
|
+
declare function RadialArea(props: RadialLineOrAreaProps): React.JSX.Element;
|
|
3
4
|
export { RadialArea };
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.mjs";
|
|
|
2
2
|
export interface RadialAreaPlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'area' | 'areaPlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialAreaPlot(props: RadialAreaPlotProps): import("react
|
|
5
|
+
declare function RadialAreaPlot(props: RadialAreaPlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialAreaPlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.js";
|
|
|
2
2
|
export interface RadialAreaPlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'area' | 'areaPlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialAreaPlot(props: RadialAreaPlotProps): import("react
|
|
5
|
+
declare function RadialAreaPlot(props: RadialAreaPlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialAreaPlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -9,5 +9,5 @@ export interface RadialLineOrAreaProps extends Omit<React.SVGProps<SVGPathElemen
|
|
|
9
9
|
points: RadialLinePoint[];
|
|
10
10
|
closePath?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare function RadialLine(props: RadialLineOrAreaProps):
|
|
12
|
+
declare function RadialLine(props: RadialLineOrAreaProps): React.JSX.Element;
|
|
13
13
|
export { RadialLine };
|
|
@@ -9,5 +9,5 @@ export interface RadialLineOrAreaProps extends Omit<React.SVGProps<SVGPathElemen
|
|
|
9
9
|
points: RadialLinePoint[];
|
|
10
10
|
closePath?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare function RadialLine(props: RadialLineOrAreaProps):
|
|
12
|
+
declare function RadialLine(props: RadialLineOrAreaProps): React.JSX.Element;
|
|
13
13
|
export { RadialLine };
|
|
@@ -11,7 +11,7 @@ export type RadialLineHighlightElementProps = (RadialLineHighlightElementCommonP
|
|
|
11
11
|
} & Omit<React.SVGProps<SVGCircleElement>, 'ref'>) | (RadialLineHighlightElementCommonProps & {
|
|
12
12
|
shape: 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye';
|
|
13
13
|
} & Omit<React.SVGProps<SVGPathElement>, 'ref'>);
|
|
14
|
-
declare function RadialLineHighlightElement(props: RadialLineHighlightElementProps):
|
|
14
|
+
declare function RadialLineHighlightElement(props: RadialLineHighlightElementProps): React.JSX.Element;
|
|
15
15
|
declare namespace RadialLineHighlightElement {
|
|
16
16
|
var propTypes: any;
|
|
17
17
|
}
|
|
@@ -11,7 +11,7 @@ export type RadialLineHighlightElementProps = (RadialLineHighlightElementCommonP
|
|
|
11
11
|
} & Omit<React.SVGProps<SVGCircleElement>, 'ref'>) | (RadialLineHighlightElementCommonProps & {
|
|
12
12
|
shape: 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye';
|
|
13
13
|
} & Omit<React.SVGProps<SVGPathElement>, 'ref'>);
|
|
14
|
-
declare function RadialLineHighlightElement(props: RadialLineHighlightElementProps):
|
|
14
|
+
declare function RadialLineHighlightElement(props: RadialLineHighlightElementProps): React.JSX.Element;
|
|
15
15
|
declare namespace RadialLineHighlightElement {
|
|
16
16
|
var propTypes: any;
|
|
17
17
|
}
|
|
@@ -20,7 +20,7 @@ export interface RadialLineHighlightPlotProps extends React.SVGAttributes<SVGGEl
|
|
|
20
20
|
*/
|
|
21
21
|
slotProps?: RadialLineHighlightPlotSlotProps;
|
|
22
22
|
}
|
|
23
|
-
declare function RadialLineHighlightPlot(props: RadialLineHighlightPlotProps):
|
|
23
|
+
declare function RadialLineHighlightPlot(props: RadialLineHighlightPlotProps): React.JSX.Element | null;
|
|
24
24
|
declare namespace RadialLineHighlightPlot {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -20,7 +20,7 @@ export interface RadialLineHighlightPlotProps extends React.SVGAttributes<SVGGEl
|
|
|
20
20
|
*/
|
|
21
21
|
slotProps?: RadialLineHighlightPlotSlotProps;
|
|
22
22
|
}
|
|
23
|
-
declare function RadialLineHighlightPlot(props: RadialLineHighlightPlotProps):
|
|
23
|
+
declare function RadialLineHighlightPlot(props: RadialLineHighlightPlotProps): React.JSX.Element | null;
|
|
24
24
|
declare namespace RadialLineHighlightPlot {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.mjs";
|
|
|
2
2
|
export interface RadialLinePlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'line' | 'linePlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialLinePlot(props: RadialLinePlotProps): import("react
|
|
5
|
+
declare function RadialLinePlot(props: RadialLinePlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialLinePlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.js";
|
|
|
2
2
|
export interface RadialLinePlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'line' | 'linePlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialLinePlot(props: RadialLinePlotProps): import("react
|
|
5
|
+
declare function RadialLinePlot(props: RadialLinePlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialLinePlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.mjs";
|
|
|
2
2
|
export interface RadialMarkPlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'mark' | 'markPlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react
|
|
5
|
+
declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialMarkPlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { RadialLineClasses } from "./radialLineClasses.js";
|
|
|
2
2
|
export interface RadialMarkPlotProps {
|
|
3
3
|
classes?: Partial<Pick<RadialLineClasses, 'mark' | 'markPlot'>>;
|
|
4
4
|
}
|
|
5
|
-
declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react
|
|
5
|
+
declare function RadialMarkPlot(props: RadialMarkPlotProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace RadialMarkPlot {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -24,4 +24,4 @@ export declare const radialLineClasses: RadialLineClasses;
|
|
|
24
24
|
export interface UseUtilityClassesOptions {
|
|
25
25
|
classes?: Partial<RadialLineClasses>;
|
|
26
26
|
}
|
|
27
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
27
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"area" | "areaPlot" | "highlight" | "line" | "linePlot" | "mark" | "markPlot", string>;
|
|
@@ -24,4 +24,4 @@ export declare const radialLineClasses: RadialLineClasses;
|
|
|
24
24
|
export interface UseUtilityClassesOptions {
|
|
25
25
|
classes?: Partial<RadialLineClasses>;
|
|
26
26
|
}
|
|
27
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
27
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"area" | "areaPlot" | "highlight" | "line" | "linePlot" | "mark" | "markPlot", string>;
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.radialLineSeriesConfig = void 0;
|
|
8
8
|
var _internals = require("@mui/x-charts/internals");
|
|
9
9
|
var _legend = _interopRequireDefault(require("./legend"));
|
|
10
|
-
var _tooltipPosition =
|
|
10
|
+
var _tooltipPosition = require("./tooltipPosition");
|
|
11
11
|
var _keyboardFocusHandler = _interopRequireDefault(require("./keyboardFocusHandler"));
|
|
12
12
|
var _axisTooltipGetter = require("./axisTooltipGetter");
|
|
13
13
|
var _getColor = _interopRequireDefault(require("./getColor"));
|
|
@@ -23,7 +23,7 @@ const radialLineSeriesConfig = exports.radialLineSeriesConfig = {
|
|
|
23
23
|
seriesProcessor: _seriesProcessor.default,
|
|
24
24
|
legendGetter: _legend.default,
|
|
25
25
|
tooltipGetter: _tooltip.default,
|
|
26
|
-
|
|
26
|
+
selectorTooltipItemPosition: _tooltipPosition.selectorTooltipItemPosition,
|
|
27
27
|
axisTooltipGetter: _axisTooltipGetter.axisTooltipGetter,
|
|
28
28
|
rotationExtremumGetter: _extremums.rotationExtremumGetter,
|
|
29
29
|
radiusExtremumGetter: _extremums.radiusExtremumGetter,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { identifierSerializerSeriesIdDataIndex, identifierCleanerSeriesIdDataIndex, createIsHighlighted, createIsFaded, polarSeriesTypes } from '@mui/x-charts/internals';
|
|
2
2
|
import legendGetter from "./legend.mjs";
|
|
3
|
-
import
|
|
3
|
+
import { selectorTooltipItemPosition } from "./tooltipPosition.mjs";
|
|
4
4
|
import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
|
|
5
5
|
import { axisTooltipGetter } from "./axisTooltipGetter.mjs";
|
|
6
6
|
import colorProcessor from "./getColor.mjs";
|
|
@@ -16,7 +16,7 @@ export const radialLineSeriesConfig = {
|
|
|
16
16
|
seriesProcessor,
|
|
17
17
|
legendGetter,
|
|
18
18
|
tooltipGetter,
|
|
19
|
-
|
|
19
|
+
selectorTooltipItemPosition,
|
|
20
20
|
axisTooltipGetter,
|
|
21
21
|
rotationExtremumGetter,
|
|
22
22
|
radiusExtremumGetter,
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'radialLine'>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from '@mui/x-charts/internals';
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'radialLine'>;
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
var _default = exports.default = tooltipItemPositionGetter;
|
|
6
|
+
exports.selectorTooltipItemPosition = void 0;
|
|
7
|
+
// Todo: to implement
|
|
8
|
+
const selectorTooltipItemPosition = () => null;
|
|
9
|
+
exports.selectorTooltipItemPosition = selectorTooltipItemPosition;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ScatterChartProps, ScatterChartSlots, ScatterChartSlotProps } from '@mui/x-charts/ScatterChart';
|
|
3
3
|
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
4
5
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
5
6
|
import type { ChartsToolbarProSlotProps, ChartsToolbarProSlots } from '@mui/x-charts-pro/ChartsToolbarPro';
|
|
6
7
|
import type { ChartsSlotPropsPro, ChartsSlotsPro } from '@mui/x-charts-pro/internals';
|
|
@@ -8,7 +9,7 @@ import type { ChartsContainerPremiumProps } from "../ChartsContainerPremium/inde
|
|
|
8
9
|
import type { ScatterChartPremiumPluginSignatures } from "./ScatterChartPremium.plugins.mjs";
|
|
9
10
|
export interface ScatterChartPremiumSlots extends Omit<ScatterChartSlots, 'toolbar'>, ChartsToolbarProSlots, Partial<ChartsSlotsPro> {}
|
|
10
11
|
export interface ScatterChartPremiumSlotProps extends Omit<ScatterChartSlotProps, 'toolbar' | 'tooltip'>, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
11
|
-
tooltip?: Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides
|
|
12
|
+
tooltip?: WithDataAttributes<Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides>;
|
|
12
13
|
}
|
|
13
14
|
export interface ScatterChartPremiumProps extends Omit<ScatterChartProps, 'apiRef' | 'slots' | 'slotProps' | 'plugins' | 'seriesConfig' | 'renderer'>, Omit<ChartsContainerPremiumProps<'scatter', ScatterChartPremiumPluginSignatures>, 'series' | 'onItemClick' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange'> {
|
|
14
15
|
/**
|