@mui/x-charts-pro 9.0.0-rc.0 → 9.0.1
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 +207 -6892
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +2 -2
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.mjs +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.js +1 -1
- package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.mjs +1 -1
- package/package.json +9 -9
|
@@ -18,8 +18,8 @@ var _useChartsDataProviderProProps = require("./useChartsDataProviderProProps");
|
|
|
18
18
|
var _ChartsWatermark = require("../internals/ChartsWatermark");
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
20
|
const packageInfo = {
|
|
21
|
-
releaseDate: "
|
|
22
|
-
version: "9.0.
|
|
21
|
+
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
22
|
+
version: "9.0.1",
|
|
23
23
|
name: 'x-charts-pro'
|
|
24
24
|
};
|
|
25
25
|
const defaultSeriesConfigPro = exports.defaultSeriesConfigPro = _internals.defaultSeriesConfig;
|
|
@@ -11,8 +11,8 @@ import { useChartsDataProviderProProps } from "./useChartsDataProviderProProps.m
|
|
|
11
11
|
import { ChartsWatermark } from "../internals/ChartsWatermark.mjs";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const packageInfo = {
|
|
14
|
-
releaseDate: "
|
|
15
|
-
version: "9.0.
|
|
14
|
+
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
15
|
+
version: "9.0.1",
|
|
16
16
|
name: 'x-charts-pro'
|
|
17
17
|
};
|
|
18
18
|
export const defaultSeriesConfigPro = defaultSeriesConfig;
|
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -51,7 +51,7 @@ const usePanOnWheel = ({
|
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
// This prevents a pan event from being triggered when the mouse is outside the chart area.
|
|
54
|
-
// The timeout is used to prevent
|
|
54
|
+
// The timeout is used to prevent a weird behavior where if the mouse is outside but enters due to
|
|
55
55
|
// scrolling, then the pan event is triggered.
|
|
56
56
|
if (startedOutsideRef.current || !instance.isPointInside(point.x, point.y)) {
|
|
57
57
|
startedOutsideRef.current = true;
|
|
@@ -45,7 +45,7 @@ export const usePanOnWheel = ({
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// This prevents a pan event from being triggered when the mouse is outside the chart area.
|
|
48
|
-
// The timeout is used to prevent
|
|
48
|
+
// The timeout is used to prevent a weird behavior where if the mouse is outside but enters due to
|
|
49
49
|
// scrolling, then the pan event is triggered.
|
|
50
50
|
if (startedOutsideRef.current || !instance.isPointInside(point.x, point.y)) {
|
|
51
51
|
startedOutsideRef.current = true;
|
|
@@ -47,7 +47,7 @@ const useZoomOnWheel = ({
|
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
// This prevents a zoom event from being triggered when the mouse is outside the chart area.
|
|
50
|
-
// The timeout is used to prevent
|
|
50
|
+
// The timeout is used to prevent a weird behavior where if the mouse is outside but enters due to
|
|
51
51
|
// scrolling, then the zoom event is triggered.
|
|
52
52
|
if (startedOutsideRef.current || !instance.isPointInside(point.x, point.y)) {
|
|
53
53
|
startedOutsideRef.current = true;
|
|
@@ -41,7 +41,7 @@ export const useZoomOnWheel = ({
|
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
// This prevents a zoom event from being triggered when the mouse is outside the chart area.
|
|
44
|
-
// The timeout is used to prevent
|
|
44
|
+
// The timeout is used to prevent a weird behavior where if the mouse is outside but enters due to
|
|
45
45
|
// scrolling, then the zoom event is triggered.
|
|
46
46
|
if (startedOutsideRef.current || !instance.isPointInside(point.x, point.y)) {
|
|
47
47
|
startedOutsideRef.current = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
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",
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime": "^7.28.6",
|
|
31
|
-
"@mui/utils": "9.0.0
|
|
31
|
+
"@mui/utils": "9.0.0",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/x-
|
|
35
|
-
"@mui/x-
|
|
36
|
-
"@mui/x-license": "9.0.0
|
|
37
|
-
"@mui/x-
|
|
38
|
-
"@mui/x-
|
|
34
|
+
"@mui/x-charts": "^9.0.1",
|
|
35
|
+
"@mui/x-internal-gestures": "^9.0.0",
|
|
36
|
+
"@mui/x-license": "^9.0.0",
|
|
37
|
+
"@mui/x-internals": "^9.0.0",
|
|
38
|
+
"@mui/x-charts-vendor": "^9.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@emotion/react": "^11.9.0",
|
|
42
42
|
"@emotion/styled": "^11.8.1",
|
|
43
|
-
"@mui/material": "^7.3.0 || ^9.0.0
|
|
44
|
-
"@mui/system": "^7.3.0 || ^9.0.0
|
|
43
|
+
"@mui/material": "^7.3.0 || ^9.0.0",
|
|
44
|
+
"@mui/system": "^7.3.0 || ^9.0.0",
|
|
45
45
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
46
46
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
47
47
|
},
|