@mui/x-charts-pro 9.0.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 +94 -6891
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +1 -1
- package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +1 -1
- 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 +15 -15
|
@@ -19,7 +19,7 @@ var _ChartsWatermark = require("../internals/ChartsWatermark");
|
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
20
|
const packageInfo = {
|
|
21
21
|
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
22
|
-
version: "9.0.
|
|
22
|
+
version: "9.0.1",
|
|
23
23
|
name: 'x-charts-pro'
|
|
24
24
|
};
|
|
25
25
|
const defaultSeriesConfigPro = exports.defaultSeriesConfigPro = _internals.defaultSeriesConfig;
|
|
@@ -12,7 +12,7 @@ import { ChartsWatermark } from "../internals/ChartsWatermark.mjs";
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const packageInfo = {
|
|
14
14
|
releaseDate: "MTc3NTYwNjQwMDAwMA==",
|
|
15
|
-
version: "9.0.
|
|
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",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@mui/utils": "9.0.0",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/x-charts": "^9.0.
|
|
34
|
+
"@mui/x-charts": "^9.0.1",
|
|
35
35
|
"@mui/x-internal-gestures": "^9.0.0",
|
|
36
|
-
"@mui/x-internals": "^9.0.0",
|
|
37
36
|
"@mui/x-license": "^9.0.0",
|
|
37
|
+
"@mui/x-internals": "^9.0.0",
|
|
38
38
|
"@mui/x-charts-vendor": "^9.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -763,42 +763,42 @@
|
|
|
763
763
|
}
|
|
764
764
|
},
|
|
765
765
|
"./themeAugmentation": {
|
|
766
|
-
"require": {
|
|
767
|
-
"types": "./themeAugmentation/index.d.ts",
|
|
768
|
-
"default": "./themeAugmentation/index.js"
|
|
769
|
-
},
|
|
770
766
|
"import": {
|
|
771
767
|
"types": "./themeAugmentation/index.d.mts",
|
|
772
768
|
"default": "./themeAugmentation/index.mjs"
|
|
773
769
|
},
|
|
770
|
+
"require": {
|
|
771
|
+
"types": "./themeAugmentation/index.d.ts",
|
|
772
|
+
"default": "./themeAugmentation/index.js"
|
|
773
|
+
},
|
|
774
774
|
"default": {
|
|
775
775
|
"types": "./themeAugmentation/index.d.mts",
|
|
776
776
|
"default": "./themeAugmentation/index.mjs"
|
|
777
777
|
}
|
|
778
778
|
},
|
|
779
779
|
"./typeOverloads": {
|
|
780
|
-
"require": {
|
|
781
|
-
"types": "./typeOverloads/index.d.ts",
|
|
782
|
-
"default": "./typeOverloads/index.js"
|
|
783
|
-
},
|
|
784
780
|
"import": {
|
|
785
781
|
"types": "./typeOverloads/index.d.mts",
|
|
786
782
|
"default": "./typeOverloads/index.mjs"
|
|
787
783
|
},
|
|
784
|
+
"require": {
|
|
785
|
+
"types": "./typeOverloads/index.d.ts",
|
|
786
|
+
"default": "./typeOverloads/index.js"
|
|
787
|
+
},
|
|
788
788
|
"default": {
|
|
789
789
|
"types": "./typeOverloads/index.d.mts",
|
|
790
790
|
"default": "./typeOverloads/index.mjs"
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
793
|
"./utils": {
|
|
794
|
-
"require": {
|
|
795
|
-
"types": "./utils/index.d.ts",
|
|
796
|
-
"default": "./utils/index.js"
|
|
797
|
-
},
|
|
798
794
|
"import": {
|
|
799
795
|
"types": "./utils/index.d.mts",
|
|
800
796
|
"default": "./utils/index.mjs"
|
|
801
797
|
},
|
|
798
|
+
"require": {
|
|
799
|
+
"types": "./utils/index.d.ts",
|
|
800
|
+
"default": "./utils/index.js"
|
|
801
|
+
},
|
|
802
802
|
"default": {
|
|
803
803
|
"types": "./utils/index.d.mts",
|
|
804
804
|
"default": "./utils/index.mjs"
|