@mui/x-charts-pro 9.9.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/CHANGELOG.md +111 -0
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +2 -2
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
- package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
- package/ChartsToolbarPro/Toolbar.types.d.mts +2 -1
- package/ChartsToolbarPro/Toolbar.types.d.ts +2 -1
- package/ChartsZoomSlider/internals/chartsAxisZoomSliderTrackClasses.d.mts +1 -1
- package/ChartsZoomSlider/internals/chartsAxisZoomSliderTrackClasses.d.ts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.mts +1 -1
- package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
- package/FunnelChart/funnelClasses.d.mts +1 -1
- package/FunnelChart/funnelClasses.d.ts +1 -1
- package/FunnelChart/funnelPlotSlots.types.d.mts +3 -2
- package/FunnelChart/funnelPlotSlots.types.d.ts +3 -2
- package/FunnelChart/labelUtils.d.mts +2 -2
- package/FunnelChart/labelUtils.d.ts +2 -2
- package/Heatmap/Heatmap.d.mts +2 -1
- package/Heatmap/Heatmap.d.ts +2 -1
- package/Heatmap/HeatmapItem.d.mts +2 -1
- package/Heatmap/HeatmapItem.d.ts +2 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.mts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.mts +2 -1
- package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +2 -1
- package/Heatmap/seriesConfig/highlight.d.mts +2 -2
- package/Heatmap/seriesConfig/highlight.d.ts +2 -2
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.mts +1 -1
- package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.ts +1 -1
- package/SankeyChart/sankeyClasses.d.mts +1 -1
- package/SankeyChart/sankeyClasses.d.ts +1 -1
- package/SankeyChart/seriesConfig/createIsFaded.d.mts +1 -1
- package/SankeyChart/seriesConfig/createIsFaded.d.ts +1 -1
- package/SankeyChart/utils.d.mts +2 -2
- package/SankeyChart/utils.d.ts +2 -2
- package/ScatterChartPro/ScatterChartPro.d.mts +2 -1
- package/ScatterChartPro/ScatterChartPro.d.ts +2 -1
- 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/useChartProZoom/ZoomInteractionConfig.selectors.d.mts +26 -26
- package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +26 -26
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.mts +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,116 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.10.0
|
|
4
|
+
|
|
5
|
+
_Jul 17, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 📊 Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` for Charts
|
|
10
|
+
- ⚙️ Allow opt-in `data-*` attributes on `slotProps`. [Read more](https://mui.com/x/common-concepts/custom-components/#passing-data-attributes-to-slots)
|
|
11
|
+
- 🐞 Bugfixes
|
|
12
|
+
- 📚 Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @mustafajw07
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@brijeshb42, @Janpot, @JCQuintas, @LukasTy, @noraleonte
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.10.0`
|
|
23
|
+
|
|
24
|
+
Internal changes.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@9.10.0`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@9.10.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@9.10.0`
|
|
37
|
+
|
|
38
|
+
Internal changes.
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@9.10.0`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@9.10.0`
|
|
47
|
+
|
|
48
|
+
- [charts] Provide `dataIndex` in `LinePlot` and `AreaPlot` `onItemClick` (#23144) @JCQuintas
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@9.10.0`.
|
|
53
|
+
|
|
54
|
+
#### `@mui/x-charts-premium@9.10.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
55
|
+
|
|
56
|
+
Same changes as in `@mui/x-charts-pro@9.10.0`.
|
|
57
|
+
|
|
58
|
+
### Tree View
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-tree-view@9.10.0`
|
|
61
|
+
|
|
62
|
+
Internal changes.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-tree-view-pro@9.10.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-tree-view@9.10.0`, plus:
|
|
67
|
+
|
|
68
|
+
- [tree-view] Fix pre-loaded items not caching (#23155) @noraleonte
|
|
69
|
+
|
|
70
|
+
### Scheduler
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-scheduler@9.0.0-beta.6`
|
|
73
|
+
|
|
74
|
+
- [scheduler] Carry custom event data through the edit dialog submit (#22874) @Anexus5919
|
|
75
|
+
- [scheduler] Support array values for `CalendarEvent.resource` (#23109) @mustafajw07
|
|
76
|
+
|
|
77
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
78
|
+
|
|
79
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.6`.
|
|
80
|
+
|
|
81
|
+
### Chat
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-chat@9.0.0-alpha.14`
|
|
84
|
+
|
|
85
|
+
- [chat] Reuse `resolveComponentProps` from `@mui/utils` (#23095) @LukasTy
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-chat-headless@9.0.0-alpha.14`
|
|
88
|
+
|
|
89
|
+
Internal changes.
|
|
90
|
+
|
|
91
|
+
### Codemod
|
|
92
|
+
|
|
93
|
+
#### `@mui/x-codemod@9.10.0`
|
|
94
|
+
|
|
95
|
+
Internal changes.
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- [docs] Fix bugs on Scheduler overview page (#23147) @noraleonte
|
|
100
|
+
|
|
101
|
+
### Core
|
|
102
|
+
|
|
103
|
+
- [code-infra] Fix changelog dependency exclusion and l10n routing (#23112) @LukasTy
|
|
104
|
+
- [code-infra] Port codebase to use `tsgo` (#22826) @brijeshb42
|
|
105
|
+
- [code-infra] Reduce `release:build` concurrency to mitigate `tsgo` OOM kills (#23139) @LukasTy
|
|
106
|
+
- [core] Allow opt-in `data-*` attributes on `slotProps` (#22128) @LukasTy
|
|
107
|
+
|
|
108
|
+
### Miscellaneous
|
|
109
|
+
|
|
110
|
+
- [core] Ignore `code-infra-renovate[bot]` commits in changelog (#23153) @Janpot
|
|
111
|
+
- [website] Fix broken `ChatBox` API link (#23149) @brijeshb42
|
|
112
|
+
- [test] Fix WebGL benchmark timeout on CI (#23142) @JCQuintas
|
|
113
|
+
|
|
3
114
|
## 9.9.0
|
|
4
115
|
|
|
5
116
|
_Jul 9, 2026_
|
|
@@ -20,8 +20,8 @@ var _barSampler = require("../internals/plugins/useChartProSampling/barSampler")
|
|
|
20
20
|
var _lineSampler = require("../internals/plugins/useChartProSampling/lineSampler");
|
|
21
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
22
|
const packageInfo = {
|
|
23
|
-
releaseDate: "
|
|
24
|
-
version: "9.
|
|
23
|
+
releaseDate: "MTc4NDI0NjQwMDAwMA==",
|
|
24
|
+
version: "9.10.0",
|
|
25
25
|
name: 'x-charts-pro'
|
|
26
26
|
};
|
|
27
27
|
// Attach the pro sampling strategies (kept at module scope for a stable identity, so the
|
|
@@ -13,8 +13,8 @@ import { barSampler } from "../internals/plugins/useChartProSampling/barSampler.
|
|
|
13
13
|
import { lineSampler } from "../internals/plugins/useChartProSampling/lineSampler.mjs";
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
const packageInfo = {
|
|
16
|
-
releaseDate: "
|
|
17
|
-
version: "9.
|
|
16
|
+
releaseDate: "MTc4NDI0NjQwMDAwMA==",
|
|
17
|
+
version: "9.10.0",
|
|
18
18
|
name: 'x-charts-pro'
|
|
19
19
|
};
|
|
20
20
|
// Attach the pro sampling strategies (kept at module scope for a stable identity, so the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartAnyPluginSignature, ChartSeriesType } from '@mui/x-charts/internals';
|
|
2
2
|
import type { ChartsDataProviderProProps } from "./ChartsDataProviderPro.mjs";
|
|
3
3
|
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.mjs";
|
|
4
|
-
export declare const useChartsDataProviderProProps: <SeriesType extends ChartSeriesType =
|
|
4
|
+
export declare const useChartsDataProviderProProps: <SeriesType extends ChartSeriesType = keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProProps<SeriesType, TSignatures>) => {
|
|
5
5
|
children: import("react").ReactNode;
|
|
6
6
|
localeText: Partial<import("@mui/x-charts/locales").ChartsLocaleText> | undefined;
|
|
7
7
|
chartProviderProps: import("@mui/x-charts/internals").ChartsProviderProps<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartAnyPluginSignature, ChartSeriesType } from '@mui/x-charts/internals';
|
|
2
2
|
import type { ChartsDataProviderProProps } from "./ChartsDataProviderPro.js";
|
|
3
3
|
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
4
|
-
export declare const useChartsDataProviderProProps: <SeriesType extends ChartSeriesType =
|
|
4
|
+
export declare const useChartsDataProviderProProps: <SeriesType extends ChartSeriesType = keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProProps<SeriesType, TSignatures>) => {
|
|
5
5
|
children: import("react").ReactNode;
|
|
6
6
|
localeText: Partial<import("@mui/x-charts/locales").ChartsLocaleText> | undefined;
|
|
7
7
|
chartProviderProps: import("@mui/x-charts/internals").ChartsProviderProps<keyof import("@mui/x-charts/internals").ChartsSeriesConfig, TSignatures>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ToolbarPropsOverrides } from '@mui/x-charts/models';
|
|
3
4
|
import type { ChartsToolbarProProps } from "./ChartsToolbarPro.mjs";
|
|
4
5
|
export interface ChartsToolbarProSlots {
|
|
@@ -12,5 +13,5 @@ export interface ChartsToolbarProSlotProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* Props for the toolbar component.
|
|
14
15
|
*/
|
|
15
|
-
toolbar?: Partial<ChartsToolbarProProps> & ToolbarPropsOverrides
|
|
16
|
+
toolbar?: WithDataAttributes<Partial<ChartsToolbarProProps> & ToolbarPropsOverrides>;
|
|
16
17
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ToolbarPropsOverrides } from '@mui/x-charts/models';
|
|
3
4
|
import type { ChartsToolbarProProps } from "./ChartsToolbarPro.js";
|
|
4
5
|
export interface ChartsToolbarProSlots {
|
|
@@ -12,5 +13,5 @@ export interface ChartsToolbarProSlotProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* Props for the toolbar component.
|
|
14
15
|
*/
|
|
15
|
-
toolbar?: Partial<ChartsToolbarProProps> & ToolbarPropsOverrides
|
|
16
|
+
toolbar?: WithDataAttributes<Partial<ChartsToolbarProProps> & ToolbarPropsOverrides>;
|
|
16
17
|
}
|
|
@@ -12,4 +12,4 @@ export interface ChartsAxisZoomSliderTrackClasses {
|
|
|
12
12
|
export type ChartsAxisZoomSliderTrackClassKey = keyof ChartsAxisZoomSliderTrackClasses;
|
|
13
13
|
export declare const chartsAxisZoomSliderTrackClasses: ChartsAxisZoomSliderTrackClasses;
|
|
14
14
|
export declare function getAxisZoomSliderTrackUtilityClass(slot: string): string;
|
|
15
|
-
export declare const useUtilityClasses: (props: Partial<ChartsAxisZoomSliderActiveTrackProps>) => Record<"
|
|
15
|
+
export declare const useUtilityClasses: (props: Partial<ChartsAxisZoomSliderActiveTrackProps>) => Record<"active" | "background", string>;
|
|
@@ -12,4 +12,4 @@ export interface ChartsAxisZoomSliderTrackClasses {
|
|
|
12
12
|
export type ChartsAxisZoomSliderTrackClassKey = keyof ChartsAxisZoomSliderTrackClasses;
|
|
13
13
|
export declare const chartsAxisZoomSliderTrackClasses: ChartsAxisZoomSliderTrackClasses;
|
|
14
14
|
export declare function getAxisZoomSliderTrackUtilityClass(slot: string): string;
|
|
15
|
-
export declare const useUtilityClasses: (props: Partial<ChartsAxisZoomSliderActiveTrackProps>) => Record<"
|
|
15
|
+
export declare const useUtilityClasses: (props: Partial<ChartsAxisZoomSliderActiveTrackProps>) => Record<"active" | "background", string>;
|
|
@@ -5,4 +5,4 @@ import { Linear } from "./linear.mjs";
|
|
|
5
5
|
import { Bump } from "./bump.mjs";
|
|
6
6
|
import { Pyramid } from "./pyramid.mjs";
|
|
7
7
|
import { StepPyramid } from "./step-pyramid.mjs";
|
|
8
|
-
export declare const getFunnelCurve: (curve: FunnelCurveType | undefined, options: CurveOptions) => (context: CanvasRenderingContext2D | Path) =>
|
|
8
|
+
export declare const getFunnelCurve: (curve: FunnelCurveType | undefined, options: CurveOptions) => (context: CanvasRenderingContext2D | Path) => Bump | Linear | Pyramid | Step | StepPyramid;
|
|
@@ -5,4 +5,4 @@ import { Linear } from "./linear.js";
|
|
|
5
5
|
import { Bump } from "./bump.js";
|
|
6
6
|
import { Pyramid } from "./pyramid.js";
|
|
7
7
|
import { StepPyramid } from "./step-pyramid.js";
|
|
8
|
-
export declare const getFunnelCurve: (curve: FunnelCurveType | undefined, options: CurveOptions) => (context: CanvasRenderingContext2D | Path) =>
|
|
8
|
+
export declare const getFunnelCurve: (curve: FunnelCurveType | undefined, options: CurveOptions) => (context: CanvasRenderingContext2D | Path) => Bump | Linear | Pyramid | Step | StepPyramid;
|
|
@@ -26,4 +26,4 @@ export interface UseUtilityClassesOptions {
|
|
|
26
26
|
variant?: 'filled' | 'outlined';
|
|
27
27
|
classes?: Partial<FunnelClasses>;
|
|
28
28
|
}
|
|
29
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
29
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"root" | "section" | "sectionLabel", string>;
|
|
@@ -26,4 +26,4 @@ export interface UseUtilityClassesOptions {
|
|
|
26
26
|
variant?: 'filled' | 'outlined';
|
|
27
27
|
classes?: Partial<FunnelClasses>;
|
|
28
28
|
}
|
|
29
|
-
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"
|
|
29
|
+
export declare const useUtilityClasses: (options?: UseUtilityClassesOptions) => Record<"root" | "section" | "sectionLabel", string>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { FunnelSectionProps } from "./FunnelSection.mjs";
|
|
3
4
|
import type { FunnelSectionLabelProps } from "./FunnelSectionLabel.mjs";
|
|
4
5
|
import type { FunnelSectionPropsOverrides, FunnelSectionLabelPropsOverrides } from "../models/chartsSlotsComponentsPropsPro.mjs";
|
|
@@ -15,8 +16,8 @@ export interface FunnelPlotSlots {
|
|
|
15
16
|
funnelSectionLabel?: React.ElementType<FunnelSectionLabelProps & FunnelSectionLabelPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface FunnelPlotSlotProps {
|
|
18
|
-
funnelSection?: Partial<FunnelSectionProps> & FunnelSectionPropsOverrides
|
|
19
|
-
funnelSectionLabel?: Partial<FunnelSectionLabelProps> & FunnelSectionLabelPropsOverrides
|
|
19
|
+
funnelSection?: WithDataAttributes<Partial<FunnelSectionProps> & FunnelSectionPropsOverrides>;
|
|
20
|
+
funnelSectionLabel?: WithDataAttributes<Partial<FunnelSectionLabelProps> & FunnelSectionLabelPropsOverrides>;
|
|
20
21
|
}
|
|
21
22
|
export interface FunnelPlotSlotExtension {
|
|
22
23
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { FunnelSectionProps } from "./FunnelSection.js";
|
|
3
4
|
import type { FunnelSectionLabelProps } from "./FunnelSectionLabel.js";
|
|
4
5
|
import type { FunnelSectionPropsOverrides, FunnelSectionLabelPropsOverrides } from "../models/chartsSlotsComponentsPropsPro.js";
|
|
@@ -15,8 +16,8 @@ export interface FunnelPlotSlots {
|
|
|
15
16
|
funnelSectionLabel?: React.ElementType<FunnelSectionLabelProps & FunnelSectionLabelPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface FunnelPlotSlotProps {
|
|
18
|
-
funnelSection?: Partial<FunnelSectionProps> & FunnelSectionPropsOverrides
|
|
19
|
-
funnelSectionLabel?: Partial<FunnelSectionLabelProps> & FunnelSectionLabelPropsOverrides
|
|
19
|
+
funnelSection?: WithDataAttributes<Partial<FunnelSectionProps> & FunnelSectionPropsOverrides>;
|
|
20
|
+
funnelSectionLabel?: WithDataAttributes<Partial<FunnelSectionLabelProps> & FunnelSectionLabelPropsOverrides>;
|
|
20
21
|
}
|
|
21
22
|
export interface FunnelPlotSlotExtension {
|
|
22
23
|
/**
|
|
@@ -13,7 +13,7 @@ export declare const alignLabel: ({
|
|
|
13
13
|
position,
|
|
14
14
|
textAnchor,
|
|
15
15
|
dominantBaseline
|
|
16
|
-
}: Omit<FunnelLabelOptions,
|
|
16
|
+
}: Omit<FunnelLabelOptions, 'margin'>) => AlignReturnType;
|
|
17
17
|
/**
|
|
18
18
|
* This function calculates the position of the label based on the position and margin.
|
|
19
19
|
*
|
|
@@ -27,7 +27,7 @@ export declare const positionLabel: ({
|
|
|
27
27
|
offset,
|
|
28
28
|
isHorizontal,
|
|
29
29
|
values
|
|
30
|
-
}: Omit<FunnelLabelOptions,
|
|
30
|
+
}: Omit<FunnelLabelOptions, 'textAnchor' | 'dominantBaseline'> & {
|
|
31
31
|
isHorizontal: boolean;
|
|
32
32
|
values: readonly Point[];
|
|
33
33
|
}) => {
|
|
@@ -13,7 +13,7 @@ export declare const alignLabel: ({
|
|
|
13
13
|
position,
|
|
14
14
|
textAnchor,
|
|
15
15
|
dominantBaseline
|
|
16
|
-
}: Omit<FunnelLabelOptions,
|
|
16
|
+
}: Omit<FunnelLabelOptions, 'margin'>) => AlignReturnType;
|
|
17
17
|
/**
|
|
18
18
|
* This function calculates the position of the label based on the position and margin.
|
|
19
19
|
*
|
|
@@ -27,7 +27,7 @@ export declare const positionLabel: ({
|
|
|
27
27
|
offset,
|
|
28
28
|
isHorizontal,
|
|
29
29
|
values
|
|
30
|
-
}: Omit<FunnelLabelOptions,
|
|
30
|
+
}: Omit<FunnelLabelOptions, 'textAnchor' | 'dominantBaseline'> & {
|
|
31
31
|
isHorizontal: boolean;
|
|
32
32
|
values: readonly Point[];
|
|
33
33
|
}) => {
|
package/Heatmap/Heatmap.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
5
|
import type { ChartsAxisSlots, ChartsAxisSlotProps, XAxis, YAxis } from '@mui/x-charts/internals';
|
|
5
6
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
@@ -25,7 +26,7 @@ export interface HeatmapSlots extends ChartsAxisSlots, ChartsOverlaySlots, Heatm
|
|
|
25
26
|
legend?: ChartsLegendSlots['legend'];
|
|
26
27
|
}
|
|
27
28
|
export interface HeatmapSlotProps extends ChartsAxisSlotProps, ChartsOverlaySlotProps, HeatmapItemSlotProps, ChartsLegendSlotProps, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
28
|
-
tooltip?: Partial<HeatmapTooltipProps> & TooltipPropsOverrides
|
|
29
|
+
tooltip?: WithDataAttributes<Partial<HeatmapTooltipProps> & TooltipPropsOverrides>;
|
|
29
30
|
}
|
|
30
31
|
export type HeatmapSeries = MakeOptional<HeatmapSeriesType, 'type'>;
|
|
31
32
|
export interface HeatmapProps extends Omit<ChartsContainerProProps<'heatmap', HeatmapPluginSignatures>, 'series' | 'plugins' | 'xAxis' | 'yAxis' | 'axesGap' | 'skipAnimation' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange' | 'seriesConfig' | 'onAxisClick'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
|
package/Heatmap/Heatmap.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
3
4
|
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
5
|
import type { ChartsAxisSlots, ChartsAxisSlotProps, XAxis, YAxis } from '@mui/x-charts/internals';
|
|
5
6
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
@@ -25,7 +26,7 @@ export interface HeatmapSlots extends ChartsAxisSlots, ChartsOverlaySlots, Heatm
|
|
|
25
26
|
legend?: ChartsLegendSlots['legend'];
|
|
26
27
|
}
|
|
27
28
|
export interface HeatmapSlotProps extends ChartsAxisSlotProps, ChartsOverlaySlotProps, HeatmapItemSlotProps, ChartsLegendSlotProps, ChartsToolbarProSlotProps, Partial<ChartsSlotPropsPro> {
|
|
28
|
-
tooltip?: Partial<HeatmapTooltipProps> & TooltipPropsOverrides
|
|
29
|
+
tooltip?: WithDataAttributes<Partial<HeatmapTooltipProps> & TooltipPropsOverrides>;
|
|
29
30
|
}
|
|
30
31
|
export type HeatmapSeries = MakeOptional<HeatmapSeriesType, 'type'>;
|
|
31
32
|
export interface HeatmapProps extends Omit<ChartsContainerProProps<'heatmap', HeatmapPluginSignatures>, 'series' | 'plugins' | 'xAxis' | 'yAxis' | 'axesGap' | 'skipAnimation' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange' | 'seriesConfig' | 'onAxisClick'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
4
|
import type { HeatmapCellProps } from "./HeatmapCell.mjs";
|
|
4
5
|
import type { CellPropsOverrides } from "../models/chartsSlotsComponentsPropsPro.mjs";
|
|
@@ -10,7 +11,7 @@ export interface HeatmapItemSlots {
|
|
|
10
11
|
cell?: React.ElementType<HeatmapCellProps & CellPropsOverrides>;
|
|
11
12
|
}
|
|
12
13
|
export interface HeatmapItemSlotProps {
|
|
13
|
-
cell?: Partial<HeatmapCellProps> & CellPropsOverrides
|
|
14
|
+
cell?: WithDataAttributes<Partial<HeatmapCellProps> & CellPropsOverrides>;
|
|
14
15
|
}
|
|
15
16
|
export interface HeatmapItemProps {
|
|
16
17
|
seriesId: SeriesId;
|
package/Heatmap/HeatmapItem.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { SeriesId } from '@mui/x-charts/internals';
|
|
3
4
|
import type { HeatmapCellProps } from "./HeatmapCell.js";
|
|
4
5
|
import type { CellPropsOverrides } from "../models/chartsSlotsComponentsPropsPro.js";
|
|
@@ -10,7 +11,7 @@ export interface HeatmapItemSlots {
|
|
|
10
11
|
cell?: React.ElementType<HeatmapCellProps & CellPropsOverrides>;
|
|
11
12
|
}
|
|
12
13
|
export interface HeatmapItemSlotProps {
|
|
13
|
-
cell?: Partial<HeatmapCellProps> & CellPropsOverrides
|
|
14
|
+
cell?: WithDataAttributes<Partial<HeatmapCellProps> & CellPropsOverrides>;
|
|
14
15
|
}
|
|
15
16
|
export interface HeatmapItemProps {
|
|
16
17
|
seriesId: SeriesId;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { HeatmapTooltipProps } from "./HeatmapTooltip.types.mjs";
|
|
2
|
-
export declare const useUtilityClasses: (props: Pick<HeatmapTooltipProps,
|
|
2
|
+
export declare const useUtilityClasses: (props: Pick<HeatmapTooltipProps, 'classes'>) => Record<"cell" | "labelCell" | "mark" | "markContainer" | "paper" | "root" | "row" | "table" | "valueCell", string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { HeatmapTooltipProps } from "./HeatmapTooltip.types.js";
|
|
2
|
-
export declare const useUtilityClasses: (props: Pick<HeatmapTooltipProps,
|
|
2
|
+
export declare const useUtilityClasses: (props: Pick<HeatmapTooltipProps, 'classes'>) => Record<"cell" | "labelCell" | "mark" | "markContainer" | "paper" | "root" | "row" | "table" | "valueCell", string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsTooltipContainerProps, ChartsTooltipClasses } from '@mui/x-charts/ChartsTooltip';
|
|
2
3
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
3
4
|
export interface HeatmapTooltipSlots {
|
|
@@ -12,7 +13,7 @@ export interface HeatmapTooltipSlotProps {
|
|
|
12
13
|
* Custom component for the tooltip popper.
|
|
13
14
|
* @default ChartsTooltipRoot
|
|
14
15
|
*/
|
|
15
|
-
tooltip?: Partial<HeatmapTooltipProps> & TooltipPropsOverrides
|
|
16
|
+
tooltip?: WithDataAttributes<Partial<HeatmapTooltipProps> & TooltipPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface HeatmapTooltipClasses extends ChartsTooltipClasses {}
|
|
18
19
|
export interface HeatmapTooltipContentClasses extends ChartsTooltipClasses {}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
1
2
|
import type { ChartsTooltipContainerProps, ChartsTooltipClasses } from '@mui/x-charts/ChartsTooltip';
|
|
2
3
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
3
4
|
export interface HeatmapTooltipSlots {
|
|
@@ -12,7 +13,7 @@ export interface HeatmapTooltipSlotProps {
|
|
|
12
13
|
* Custom component for the tooltip popper.
|
|
13
14
|
* @default ChartsTooltipRoot
|
|
14
15
|
*/
|
|
15
|
-
tooltip?: Partial<HeatmapTooltipProps> & TooltipPropsOverrides
|
|
16
|
+
tooltip?: WithDataAttributes<Partial<HeatmapTooltipProps> & TooltipPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface HeatmapTooltipClasses extends ChartsTooltipClasses {}
|
|
18
19
|
export interface HeatmapTooltipContentClasses extends ChartsTooltipClasses {}
|
|
@@ -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 dataIndex)
|
|
5
5
|
*/
|
|
6
|
-
export declare function createIsHighlighted(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<
|
|
6
|
+
export declare function createIsHighlighted(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<'heatmap'> | null) => boolean;
|
|
7
7
|
/**
|
|
8
8
|
* The isFade logic for main charts (those that are identified by an id and a dataIndex)
|
|
9
9
|
*/
|
|
10
|
-
export declare function createIsFaded(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<
|
|
10
|
+
export declare function createIsFaded(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<'heatmap'> | 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 dataIndex)
|
|
5
5
|
*/
|
|
6
|
-
export declare function createIsHighlighted(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<
|
|
6
|
+
export declare function createIsHighlighted(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<'heatmap'> | null) => boolean;
|
|
7
7
|
/**
|
|
8
8
|
* The isFade logic for main charts (those that are identified by an id and a dataIndex)
|
|
9
9
|
*/
|
|
10
|
-
export declare function createIsFaded(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<
|
|
10
|
+
export declare function createIsFaded(highlightScope: HighlightScope<'heatmap'> | null | undefined, highlightedItem: HighlightItemIdentifier<'heatmap'> | null): (item: HighlightItemIdentifier<'heatmap'> | null) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SankeyTooltipProps } from "./SankeyTooltip.types.mjs";
|
|
2
|
-
export declare const useUtilityClasses: (props: Pick<SankeyTooltipProps,
|
|
2
|
+
export declare const useUtilityClasses: (props: Pick<SankeyTooltipProps, 'classes'>) => Record<"cell" | "labelCell" | "mark" | "markContainer" | "paper" | "root" | "row" | "table" | "valueCell", string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SankeyTooltipProps } from "./SankeyTooltip.types.js";
|
|
2
|
-
export declare const useUtilityClasses: (props: Pick<SankeyTooltipProps,
|
|
2
|
+
export declare const useUtilityClasses: (props: Pick<SankeyTooltipProps, 'classes'>) => Record<"cell" | "labelCell" | "mark" | "markContainer" | "paper" | "root" | "row" | "table" | "valueCell", string>;
|
|
@@ -23,4 +23,4 @@ export declare function getSankeyUtilityClass(slot: string): string;
|
|
|
23
23
|
export declare const sankeyClasses: SankeyClasses;
|
|
24
24
|
export declare const useUtilityClasses: (options?: {
|
|
25
25
|
classes?: Partial<SankeyClasses>;
|
|
26
|
-
}) => Record<"
|
|
26
|
+
}) => Record<"link" | "linkLabel" | "linkLabels" | "links" | "node" | "nodeLabel" | "nodeLabels" | "nodes" | "root", string>;
|
|
@@ -23,4 +23,4 @@ export declare function getSankeyUtilityClass(slot: string): string;
|
|
|
23
23
|
export declare const sankeyClasses: SankeyClasses;
|
|
24
24
|
export declare const useUtilityClasses: (options?: {
|
|
25
25
|
classes?: Partial<SankeyClasses>;
|
|
26
|
-
}) => Record<"
|
|
26
|
+
}) => Record<"link" | "linkLabel" | "linkLabels" | "links" | "node" | "nodeLabel" | "nodeLabels" | "nodes" | "root", string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HighlightItemIdentifierWithType } from '@mui/x-charts/models';
|
|
2
2
|
import type { SankeyHighlightScope } from "../sankey.highlight.types.mjs";
|
|
3
|
-
export declare function createSankeyIsFaded(highlightScope: SankeyHighlightScope | null | undefined, highlightedItem: HighlightItemIdentifierWithType<'sankey'> | null): (item: HighlightItemIdentifierWithType<
|
|
3
|
+
export declare function createSankeyIsFaded(highlightScope: SankeyHighlightScope | null | undefined, highlightedItem: HighlightItemIdentifierWithType<'sankey'> | null): (item: HighlightItemIdentifierWithType<'sankey'> | null) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HighlightItemIdentifierWithType } from '@mui/x-charts/models';
|
|
2
2
|
import type { SankeyHighlightScope } from "../sankey.highlight.types.js";
|
|
3
|
-
export declare function createSankeyIsFaded(highlightScope: SankeyHighlightScope | null | undefined, highlightedItem: HighlightItemIdentifierWithType<'sankey'> | null): (item: HighlightItemIdentifierWithType<
|
|
3
|
+
export declare function createSankeyIsFaded(highlightScope: SankeyHighlightScope | null | undefined, highlightedItem: HighlightItemIdentifierWithType<'sankey'> | null): (item: HighlightItemIdentifierWithType<'sankey'> | null) => boolean;
|
package/SankeyChart/utils.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sankeyRight } from "./d3Sankey/index.mjs";
|
|
2
2
|
import type { SankeyNodeOptions } from "./sankey.types.mjs";
|
|
3
|
-
export declare const getNodeAlignFunction: (align?: SankeyNodeOptions[
|
|
3
|
+
export declare const getNodeAlignFunction: (align?: SankeyNodeOptions['align']) => typeof sankeyRight;
|
package/SankeyChart/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sankeyRight } from "./d3Sankey/index.js";
|
|
2
2
|
import type { SankeyNodeOptions } from "./sankey.types.js";
|
|
3
|
-
export declare const getNodeAlignFunction: (align?: SankeyNodeOptions[
|
|
3
|
+
export declare const getNodeAlignFunction: (align?: SankeyNodeOptions['align']) => typeof sankeyRight;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ScatterChartProps, ScatterChartSlotProps, ScatterChartSlots } from '@mui/x-charts/ScatterChart';
|
|
3
4
|
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
5
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
@@ -12,7 +13,7 @@ export interface ScatterChartProSlotProps extends Omit<ScatterChartSlotProps, 't
|
|
|
12
13
|
* Slot props for the tooltip component.
|
|
13
14
|
* @default {}
|
|
14
15
|
*/
|
|
15
|
-
tooltip?: Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides
|
|
16
|
+
tooltip?: WithDataAttributes<Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface ScatterChartProProps extends Omit<ScatterChartProps, 'apiRef' | 'slots' | 'slotProps' | 'plugins' | 'seriesConfig'>, Omit<ChartsContainerProProps<'scatter', ScatterChartProPluginSignatures>, 'series' | 'onItemClick' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange'> {
|
|
18
19
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ScatterChartProps, ScatterChartSlotProps, ScatterChartSlots } from '@mui/x-charts/ScatterChart';
|
|
3
4
|
import type { ChartsTooltipProps } from '@mui/x-charts/ChartsTooltip';
|
|
4
5
|
import type { TooltipPropsOverrides } from '@mui/x-charts/models';
|
|
@@ -12,7 +13,7 @@ export interface ScatterChartProSlotProps extends Omit<ScatterChartSlotProps, 't
|
|
|
12
13
|
* Slot props for the tooltip component.
|
|
13
14
|
* @default {}
|
|
14
15
|
*/
|
|
15
|
-
tooltip?: Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides
|
|
16
|
+
tooltip?: WithDataAttributes<Partial<ChartsTooltipProps<'item' | 'none'>> & TooltipPropsOverrides>;
|
|
16
17
|
}
|
|
17
18
|
export interface ScatterChartProProps extends Omit<ScatterChartProps, 'apiRef' | 'slots' | 'slotProps' | 'plugins' | 'seriesConfig'>, Omit<ChartsContainerProProps<'scatter', ScatterChartProPluginSignatures>, 'series' | 'onItemClick' | 'slots' | 'slotProps' | 'highlightedAxis' | 'onHighlightedAxisChange'> {
|
|
18
19
|
/**
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import type { UseChartProExportSignature } from "./useChartProExport/index.mjs";
|
|
|
3
3
|
import type { UseChartProZoomSignature } from "./useChartProZoom/index.mjs";
|
|
4
4
|
export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseChartVisibilityManagerSignature<SeriesType>, UseProgressiveRenderingSignature];
|
|
5
5
|
export type AllPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<SeriesType>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature>)[];
|
|
7
7
|
export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseChartVisibilityManagerSignature<SeriesType>, UseProgressiveRenderingSignature];
|
|
8
8
|
export type DefaultPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<SeriesType>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature>)[];
|
|
@@ -3,7 +3,7 @@ import type { UseChartProExportSignature } from "./useChartProExport/index.js";
|
|
|
3
3
|
import type { UseChartProZoomSignature } from "./useChartProZoom/index.js";
|
|
4
4
|
export type AllPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseChartVisibilityManagerSignature<SeriesType>, UseProgressiveRenderingSignature];
|
|
5
5
|
export type AllPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<AllPluginSignatures<SeriesType>>;
|
|
6
|
-
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<
|
|
6
|
+
export declare const ALL_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartPolarAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature>)[];
|
|
7
7
|
export type DefaultPluginSignatures<SeriesType extends ChartSeriesType = ChartSeriesType> = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<SeriesType>, UseChartInteractionSignature, UseChartCartesianAxisSignature<SeriesType>, UseChartPolarAxisSignature<SeriesType>, UseChartHighlightSignature<SeriesType>, UseChartVisibilityManagerSignature<SeriesType>, UseChartProZoomSignature, UseChartProExportSignature, UseChartVisibilityManagerSignature<SeriesType>, UseProgressiveRenderingSignature];
|
|
8
8
|
export type DefaultPluginsType<SeriesType extends ChartSeriesType = ChartSeriesType> = ConvertSignaturesIntoPlugins<DefaultPluginSignatures<SeriesType>>;
|
|
9
|
-
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<
|
|
9
|
+
export declare const DEFAULT_PLUGINS: (import("@mui/x-charts/internals").ChartPlugin<UseChartBrushSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartCartesianAxisSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartHighlightSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartInteractionSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProExportSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartProZoomSignature> | import("@mui/x-charts/internals").ChartPlugin<UseChartTooltipSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartVisibilityManagerSignature<any>> | import("@mui/x-charts/internals").ChartPlugin<UseChartZAxisSignature> | import("@mui/x-charts/internals").ChartPlugin<UseProgressiveRenderingSignature>)[];
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export declare const selectorZoomInteractionConfig: (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 & import("./useChartProZoom.types.mjs").UseChartProZoomState & Partial<{}> & {
|
|
2
2
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
3
|
-
}, interactionName: "
|
|
4
|
-
|
|
3
|
+
}, interactionName: "brush" | "doubleTapReset" | "pinch" | "tapAndDrag" | "wheel") => (Omit<{
|
|
4
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
5
5
|
pointerMode?: any;
|
|
6
|
-
|
|
6
|
+
type: 'wheel';
|
|
7
7
|
} | {
|
|
8
|
-
|
|
8
|
+
requiredKeys?: any[];
|
|
9
9
|
pointerMode?: any;
|
|
10
|
-
|
|
10
|
+
type: 'pinch';
|
|
11
11
|
} | {
|
|
12
|
-
|
|
13
|
-
pointerMode?:
|
|
14
|
-
|
|
12
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
13
|
+
pointerMode?: "mouse" | "touch";
|
|
14
|
+
type: 'tapAndDrag';
|
|
15
15
|
} | {
|
|
16
|
-
|
|
17
|
-
pointerMode?:
|
|
18
|
-
|
|
16
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
17
|
+
pointerMode?: "mouse" | "touch";
|
|
18
|
+
type: 'doubleTapReset';
|
|
19
19
|
} | {
|
|
20
|
-
|
|
21
|
-
pointerMode?:
|
|
22
|
-
|
|
20
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
21
|
+
pointerMode?: "mouse" | "touch";
|
|
22
|
+
type: 'brush';
|
|
23
23
|
}, "pointerMode"> & {
|
|
24
24
|
mouse: {
|
|
25
25
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
@@ -28,23 +28,23 @@ export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-char
|
|
|
28
28
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
29
29
|
};
|
|
30
30
|
pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
|
|
31
|
-
allowedDirection?:
|
|
31
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
32
32
|
}) | null;
|
|
33
33
|
export declare const selectorPanInteractionConfig: (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 & import("./useChartProZoom.types.mjs").UseChartProZoomState & Partial<{}> & {
|
|
34
34
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
35
|
-
}, interactionName: "
|
|
36
|
-
|
|
37
|
-
pointerMode?:
|
|
38
|
-
|
|
35
|
+
}, interactionName: "drag" | "pressAndDrag" | "wheel") => (Omit<{
|
|
36
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
37
|
+
pointerMode?: "mouse" | "touch";
|
|
38
|
+
type: 'drag';
|
|
39
39
|
} | {
|
|
40
|
-
|
|
41
|
-
pointerMode?:
|
|
42
|
-
|
|
40
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
41
|
+
pointerMode?: "mouse" | "touch";
|
|
42
|
+
type: 'pressAndDrag';
|
|
43
43
|
} | {
|
|
44
|
-
|
|
45
|
-
allowedDirection?: "x" | "y" | "xy" | undefined;
|
|
44
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
46
45
|
pointerMode?: any;
|
|
47
|
-
|
|
46
|
+
type: 'wheel';
|
|
47
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
48
48
|
}, "pointerMode"> & {
|
|
49
49
|
mouse: {
|
|
50
50
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
@@ -53,5 +53,5 @@ export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-chart
|
|
|
53
53
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
54
54
|
};
|
|
55
55
|
pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
|
|
56
|
-
allowedDirection?:
|
|
56
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
57
57
|
}) | null;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export declare const selectorZoomInteractionConfig: (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 & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
|
|
2
2
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
3
|
-
}, interactionName: "
|
|
4
|
-
|
|
3
|
+
}, interactionName: "brush" | "doubleTapReset" | "pinch" | "tapAndDrag" | "wheel") => (Omit<{
|
|
4
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
5
5
|
pointerMode?: any;
|
|
6
|
-
|
|
6
|
+
type: 'wheel';
|
|
7
7
|
} | {
|
|
8
|
-
|
|
8
|
+
requiredKeys?: any[];
|
|
9
9
|
pointerMode?: any;
|
|
10
|
-
|
|
10
|
+
type: 'pinch';
|
|
11
11
|
} | {
|
|
12
|
-
|
|
13
|
-
pointerMode?:
|
|
14
|
-
|
|
12
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
13
|
+
pointerMode?: "mouse" | "touch";
|
|
14
|
+
type: 'tapAndDrag';
|
|
15
15
|
} | {
|
|
16
|
-
|
|
17
|
-
pointerMode?:
|
|
18
|
-
|
|
16
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
17
|
+
pointerMode?: "mouse" | "touch";
|
|
18
|
+
type: 'doubleTapReset';
|
|
19
19
|
} | {
|
|
20
|
-
|
|
21
|
-
pointerMode?:
|
|
22
|
-
|
|
20
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
21
|
+
pointerMode?: "mouse" | "touch";
|
|
22
|
+
type: 'brush';
|
|
23
23
|
}, "pointerMode"> & {
|
|
24
24
|
mouse: {
|
|
25
25
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
@@ -28,23 +28,23 @@ export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-char
|
|
|
28
28
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
29
29
|
};
|
|
30
30
|
pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
|
|
31
|
-
allowedDirection?:
|
|
31
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
32
32
|
}) | null;
|
|
33
33
|
export declare const selectorPanInteractionConfig: (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 & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
|
|
34
34
|
cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
|
|
35
|
-
}, interactionName: "
|
|
36
|
-
|
|
37
|
-
pointerMode?:
|
|
38
|
-
|
|
35
|
+
}, interactionName: "drag" | "pressAndDrag" | "wheel") => (Omit<{
|
|
36
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
37
|
+
pointerMode?: "mouse" | "touch";
|
|
38
|
+
type: 'drag';
|
|
39
39
|
} | {
|
|
40
|
-
|
|
41
|
-
pointerMode?:
|
|
42
|
-
|
|
40
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
41
|
+
pointerMode?: "mouse" | "touch";
|
|
42
|
+
type: 'pressAndDrag';
|
|
43
43
|
} | {
|
|
44
|
-
|
|
45
|
-
allowedDirection?: "x" | "y" | "xy" | undefined;
|
|
44
|
+
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
46
45
|
pointerMode?: any;
|
|
47
|
-
|
|
46
|
+
type: 'wheel';
|
|
47
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
48
48
|
}, "pointerMode"> & {
|
|
49
49
|
mouse: {
|
|
50
50
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
@@ -53,5 +53,5 @@ export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-chart
|
|
|
53
53
|
requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
|
|
54
54
|
};
|
|
55
55
|
pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
|
|
56
|
-
allowedDirection?:
|
|
56
|
+
allowedDirection?: 'x' | 'y' | 'xy';
|
|
57
57
|
}) | null;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
3
3
|
export declare const usePanOnDrag: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
3
3
|
export declare const usePanOnDrag: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
3
3
|
export declare const usePanOnPressAndDrag: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
3
3
|
export declare const usePanOnPressAndDrag: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
4
4
|
export declare const usePanOnWheel: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
4
4
|
export declare const usePanOnWheel: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
4
4
|
export declare const useZoomOnBrush: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
4
4
|
export declare const useZoomOnBrush: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
4
4
|
export declare const useZoomOnDoubleTapReset: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
4
4
|
export declare const useZoomOnDoubleTapReset: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
3
3
|
export declare const useZoomOnPinch: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
3
3
|
export declare const useZoomOnPinch: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
4
4
|
export declare const useZoomOnTapAndDrag: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
4
4
|
export declare const useZoomOnTapAndDrag: ({
|
|
5
5
|
store,
|
|
6
6
|
instance
|
|
7
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
7
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
|
|
|
3
3
|
export declare const useZoomOnWheel: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
|
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
|
|
|
3
3
|
export declare const useZoomOnWheel: ({
|
|
4
4
|
store,
|
|
5
5
|
instance
|
|
6
|
-
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0],
|
|
6
|
+
}: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.10.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Charts components.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
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",
|
|
34
35
|
"@mui/x-charts-vendor": "^9.4.0",
|
|
35
|
-
"@mui/x-
|
|
36
|
-
"@mui/x-
|
|
37
|
-
"@mui/x-
|
|
38
|
-
"@mui/x-internals": "^9.9.0"
|
|
36
|
+
"@mui/x-internal-gestures": "^9.10.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",
|