@mui/x-charts-pro 8.11.0 → 8.11.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 +74 -0
- package/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/FunnelChart/labelUtils.d.ts +7 -5
- package/FunnelChart/labelUtils.js +2 -2
- package/esm/ChartDataProviderPro/ChartDataProviderPro.js +1 -1
- package/esm/FunnelChart/labelUtils.d.ts +7 -5
- package/esm/FunnelChart/labelUtils.js +2 -2
- package/esm/index.js +1 -1
- package/index.js +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,80 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.11.1
|
|
9
|
+
|
|
10
|
+
_Sep 4, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 6 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
15
|
+
@sai6855
|
|
16
|
+
|
|
17
|
+
The following are all team members who have contributed to this release:
|
|
18
|
+
@brijeshb42, @flaviendelangle, @JCQuintas, @mapache-salvaje, @oliviertassinari
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@8.11.1`
|
|
23
|
+
|
|
24
|
+
- [DataGrid] Refine types in `GridCell` component (#19384) @sai6855
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@8.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@8.11.1`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@8.11.1` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@8.11.1`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@8.11.1`
|
|
37
|
+
|
|
38
|
+
- [pickers] Merge `slotProps` for input adornment in `PickerFieldUI` component (#19399) @sai6855
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers-pro@8.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-date-pickers@8.11.1`.
|
|
43
|
+
|
|
44
|
+
### Charts
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-charts@8.11.1`
|
|
47
|
+
|
|
48
|
+
- [charts] Prevent crash and warn user on incorrect `axisId` when composing (#19397) @JCQuintas
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-charts-pro@8.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-charts@8.11.1`.
|
|
53
|
+
|
|
54
|
+
### Tree View
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-tree-view@8.11.1`
|
|
57
|
+
|
|
58
|
+
- [tree view] Expose the methods to manually refetch the children of an item (#19248) @flaviendelangle
|
|
59
|
+
- [tree view] Use the shared store implementation instead of the custom one (#19261) @flaviendelangle
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-tree-view-pro@8.11.1` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
62
|
+
|
|
63
|
+
Same changes as in `@mui/x-tree-view@8.11.1`.
|
|
64
|
+
|
|
65
|
+
### Codemod
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-codemod@8.11.1`
|
|
68
|
+
|
|
69
|
+
Internal changes.
|
|
70
|
+
|
|
71
|
+
### Docs
|
|
72
|
+
|
|
73
|
+
- [docs] Fix grammar and spelling mistakes on the Date and Time Pickers pages (#19300) @mapache-salvaje
|
|
74
|
+
- [docs] Remove wrong legend info (#19383) @JCQuintas
|
|
75
|
+
|
|
76
|
+
### Core
|
|
77
|
+
|
|
78
|
+
- [internal] Fix action alert (#19388) @oliviertassinari
|
|
79
|
+
- [internal] Fix pnpm valelint to have 0 errors @oliviertassinari
|
|
80
|
+
- [infra] Remove "main" fields from publishable packages (#19407) @brijeshb42
|
|
81
|
+
|
|
8
82
|
## 8.11.0
|
|
9
83
|
|
|
10
84
|
_Aug 29, 2025_
|
|
@@ -18,7 +18,7 @@ var _material = require("../internals/material");
|
|
|
18
18
|
var _allPlugins = require("../internals/plugins/allPlugins");
|
|
19
19
|
var _useChartDataProviderProProps = require("./useChartDataProviderProProps");
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
const releaseInfo = "
|
|
21
|
+
const releaseInfo = "MTc1Njk0NDAwMDAwMA==";
|
|
22
22
|
const packageIdentifier = 'x-charts-pro';
|
|
23
23
|
/**
|
|
24
24
|
* Orchestrates the data providers for the chart components and hooks.
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FunnelLabelOptions } from "./funnel.types.js";
|
|
2
2
|
import { Point } from "./curves/index.js";
|
|
3
|
+
type AlignReturnType = {
|
|
4
|
+
textAnchor: FunnelLabelOptions['textAnchor'];
|
|
5
|
+
dominantBaseline: Exclude<FunnelLabelOptions['dominantBaseline'], 'baseline'>;
|
|
6
|
+
};
|
|
3
7
|
/**
|
|
4
8
|
* It tries to keep the label inside the bounds of the section based on the position.
|
|
5
9
|
*
|
|
@@ -9,10 +13,7 @@ export declare const alignLabel: ({
|
|
|
9
13
|
position,
|
|
10
14
|
textAnchor,
|
|
11
15
|
dominantBaseline
|
|
12
|
-
}: Omit<FunnelLabelOptions, "margin">) =>
|
|
13
|
-
textAnchor: string;
|
|
14
|
-
dominantBaseline: string;
|
|
15
|
-
};
|
|
16
|
+
}: Omit<FunnelLabelOptions, "margin">) => AlignReturnType;
|
|
16
17
|
/**
|
|
17
18
|
* This function calculates the position of the label based on the position and margin.
|
|
18
19
|
*
|
|
@@ -32,4 +33,5 @@ export declare const positionLabel: ({
|
|
|
32
33
|
}) => {
|
|
33
34
|
x: number;
|
|
34
35
|
y: number;
|
|
35
|
-
};
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -21,7 +21,7 @@ const alignLabel = ({
|
|
|
21
21
|
if (vertical === 'top') {
|
|
22
22
|
baseline = 'hanging';
|
|
23
23
|
} else if (vertical === 'bottom') {
|
|
24
|
-
baseline = '
|
|
24
|
+
baseline = 'auto';
|
|
25
25
|
}
|
|
26
26
|
if (horizontal === 'start') {
|
|
27
27
|
anchor = 'start';
|
|
@@ -30,7 +30,7 @@ const alignLabel = ({
|
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
32
|
textAnchor: textAnchor ?? anchor,
|
|
33
|
-
dominantBaseline: dominantBaseline ?? baseline
|
|
33
|
+
dominantBaseline: dominantBaseline === 'baseline' ? 'auto' : dominantBaseline ?? baseline
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -11,7 +11,7 @@ import { defaultSlotsMaterial } from "../internals/material/index.js";
|
|
|
11
11
|
import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.js";
|
|
12
12
|
import { useChartDataProviderProProps } from "./useChartDataProviderProProps.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
const releaseInfo = "
|
|
14
|
+
const releaseInfo = "MTc1Njk0NDAwMDAwMA==";
|
|
15
15
|
const packageIdentifier = 'x-charts-pro';
|
|
16
16
|
/**
|
|
17
17
|
* Orchestrates the data providers for the chart components and hooks.
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FunnelLabelOptions } from "./funnel.types.js";
|
|
2
2
|
import { Point } from "./curves/index.js";
|
|
3
|
+
type AlignReturnType = {
|
|
4
|
+
textAnchor: FunnelLabelOptions['textAnchor'];
|
|
5
|
+
dominantBaseline: Exclude<FunnelLabelOptions['dominantBaseline'], 'baseline'>;
|
|
6
|
+
};
|
|
3
7
|
/**
|
|
4
8
|
* It tries to keep the label inside the bounds of the section based on the position.
|
|
5
9
|
*
|
|
@@ -9,10 +13,7 @@ export declare const alignLabel: ({
|
|
|
9
13
|
position,
|
|
10
14
|
textAnchor,
|
|
11
15
|
dominantBaseline
|
|
12
|
-
}: Omit<FunnelLabelOptions, "margin">) =>
|
|
13
|
-
textAnchor: string;
|
|
14
|
-
dominantBaseline: string;
|
|
15
|
-
};
|
|
16
|
+
}: Omit<FunnelLabelOptions, "margin">) => AlignReturnType;
|
|
16
17
|
/**
|
|
17
18
|
* This function calculates the position of the label based on the position and margin.
|
|
18
19
|
*
|
|
@@ -32,4 +33,5 @@ export declare const positionLabel: ({
|
|
|
32
33
|
}) => {
|
|
33
34
|
x: number;
|
|
34
35
|
y: number;
|
|
35
|
-
};
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -15,7 +15,7 @@ export const alignLabel = ({
|
|
|
15
15
|
if (vertical === 'top') {
|
|
16
16
|
baseline = 'hanging';
|
|
17
17
|
} else if (vertical === 'bottom') {
|
|
18
|
-
baseline = '
|
|
18
|
+
baseline = 'auto';
|
|
19
19
|
}
|
|
20
20
|
if (horizontal === 'start') {
|
|
21
21
|
anchor = 'start';
|
|
@@ -24,7 +24,7 @@ export const alignLabel = ({
|
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
26
|
textAnchor: textAnchor ?? anchor,
|
|
27
|
-
dominantBaseline: dominantBaseline ?? baseline
|
|
27
|
+
dominantBaseline: dominantBaseline === 'baseline' ? 'auto' : dominantBaseline ?? baseline
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
|
package/esm/index.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "8.11.
|
|
3
|
+
"version": "8.11.1",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Pro plan edition of the MUI X Charts components.",
|
|
6
|
-
"main": "./index.js",
|
|
7
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
8
7
|
"bugs": {
|
|
9
8
|
"url": "https://github.com/mui/mui-x/issues"
|
|
@@ -32,11 +31,11 @@
|
|
|
32
31
|
"@mui/utils": "^7.3.1",
|
|
33
32
|
"clsx": "^2.1.1",
|
|
34
33
|
"prop-types": "^15.8.1",
|
|
35
|
-
"@mui/x-charts": "8.11.
|
|
34
|
+
"@mui/x-charts": "8.11.1",
|
|
36
35
|
"@mui/x-charts-vendor": "8.11.0",
|
|
37
|
-
"@mui/x-
|
|
38
|
-
"@mui/x-
|
|
39
|
-
"@mui/x-
|
|
36
|
+
"@mui/x-internals": "8.11.1",
|
|
37
|
+
"@mui/x-license": "8.11.1",
|
|
38
|
+
"@mui/x-internal-gestures": "0.2.5"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
41
|
"@emotion/react": "^11.9.0",
|
|
@@ -61,27 +60,28 @@
|
|
|
61
60
|
"node": ">=14.0.0"
|
|
62
61
|
},
|
|
63
62
|
"type": "commonjs",
|
|
63
|
+
"main": "./index.js",
|
|
64
64
|
"types": "./index.d.ts",
|
|
65
65
|
"exports": {
|
|
66
66
|
"./package.json": "./package.json",
|
|
67
67
|
".": {
|
|
68
|
-
"import": {
|
|
69
|
-
"types": "./esm/index.d.ts",
|
|
70
|
-
"default": "./esm/index.js"
|
|
71
|
-
},
|
|
72
68
|
"require": {
|
|
73
69
|
"types": "./index.d.ts",
|
|
74
70
|
"default": "./index.js"
|
|
71
|
+
},
|
|
72
|
+
"default": {
|
|
73
|
+
"types": "./esm/index.d.ts",
|
|
74
|
+
"default": "./esm/index.js"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"./*": {
|
|
78
|
-
"import": {
|
|
79
|
-
"types": "./esm/*/index.d.ts",
|
|
80
|
-
"default": "./esm/*/index.js"
|
|
81
|
-
},
|
|
82
78
|
"require": {
|
|
83
79
|
"types": "./*/index.d.ts",
|
|
84
80
|
"default": "./*/index.js"
|
|
81
|
+
},
|
|
82
|
+
"default": {
|
|
83
|
+
"types": "./esm/*/index.d.ts",
|
|
84
|
+
"default": "./esm/*/index.js"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"./esm": null
|