@mui/x-charts-pro 8.27.4 → 8.27.5
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 +65 -0
- package/ChartsDataProviderPro/ChartsDataProviderPro.js +1 -1
- package/esm/ChartsDataProviderPro/ChartsDataProviderPro.js +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/plugins/useChartProExport/exportImage.js +1 -1
- package/index.js +1 -1
- package/internals/plugins/useChartProExport/exportImage.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,71 @@
|
|
|
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.27.5
|
|
9
|
+
|
|
10
|
+
_Mar 11, 2026_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
|
|
16
|
+
The following team members contributed to this release:
|
|
17
|
+
@bernardobelchior, @JCQuintas, @MBilalShafi, @michelengelen, @mj12albert, @sai6855, @siriwatknp
|
|
18
|
+
|
|
19
|
+
### Data Grid
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-data-grid@8.27.5`
|
|
22
|
+
|
|
23
|
+
- [DataGrid] Fix crash when `rows` and `rowModesModel` are updated simultaneously (#21684) @michelengelen
|
|
24
|
+
- [DataGrid] Forward rest props in `GridFilterInputMultipleValue` (#21444) @siriwatknp
|
|
25
|
+
- [DataGrid] Remove double rtl inversion logic for columns pinning (#21443) @siriwatknp
|
|
26
|
+
- [DataGrid] Add missing `resizablePanelHandle` classes to `gridClasses` object (#21632) @sai6855
|
|
27
|
+
- [DataGrid] Refactor `headerAlign` style calls (#21633) @sai6855
|
|
28
|
+
- [DataGrid] Fix keyboard navigation with single-row checkbox selection (#21529) @mj12albert
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@8.27.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@8.27.5`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPro] Add `role="presentation"` to detail panel toggle header content (#21691) @michelengelen
|
|
35
|
+
- [DataGridPro] Fix sorting not reflected in nested server-side data (#21641) @MBilalShafi
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@8.27.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@8.27.5`.
|
|
40
|
+
|
|
41
|
+
### Charts
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-charts@8.27.5`
|
|
44
|
+
|
|
45
|
+
- [charts] Refactor `BarChart` classes structure (#21601) (#21644) @JCQuintas
|
|
46
|
+
- [charts] Refactor `LineChart` classes structure (#21672) @JCQuintas
|
|
47
|
+
- [charts] Refactor `ScatterChart` classes structure (#21706) @JCQuintas
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-charts-pro@8.27.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-charts@8.27.5`, plus:
|
|
52
|
+
|
|
53
|
+
- [charts-pro] Fix image export truncated when page is zoomed out (#21696) @bernardobelchior
|
|
54
|
+
|
|
55
|
+
#### `@mui/x-charts-premium@8.27.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
56
|
+
|
|
57
|
+
Same changes as in `@mui/x-charts-pro@8.27.5`.
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
- [docs] Fix `AssistantWithDataSource` demo crashing (#21631) @sai6855
|
|
62
|
+
- [docs] Move Range Bar Chart to existing charts (#21122) @bernardobelchior
|
|
63
|
+
|
|
64
|
+
### Core
|
|
65
|
+
|
|
66
|
+
- [code-infra] Fix datagrid test flakyness (#21657) @JCQuintas
|
|
67
|
+
- [code-infra] Removed `getTeamMembers` function and usage from the release script (#21608) @michelengelen
|
|
68
|
+
|
|
69
|
+
### Miscellaneous
|
|
70
|
+
|
|
71
|
+
- [test] Add missing tests for forwarding props to filter operators in DataGrid (#21700) @siriwatknp
|
|
72
|
+
|
|
8
73
|
## 8.27.4
|
|
9
74
|
|
|
10
75
|
_Mar 5, 2026_
|
|
@@ -17,7 +17,7 @@ var _material = require("../internals/material");
|
|
|
17
17
|
var _allPlugins = require("../internals/plugins/allPlugins");
|
|
18
18
|
var _useChartsDataProviderProProps = require("./useChartsDataProviderProProps");
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
-
const releaseInfo = "
|
|
20
|
+
const releaseInfo = "MTc3MzE4NzIwMDAwMA==";
|
|
21
21
|
const packageIdentifier = 'x-charts-pro';
|
|
22
22
|
const defaultSeriesConfigPro = exports.defaultSeriesConfigPro = _internals.defaultSeriesConfig;
|
|
23
23
|
|
|
@@ -10,7 +10,7 @@ import { defaultSlotsMaterial } from "../internals/material/index.js";
|
|
|
10
10
|
import { DEFAULT_PLUGINS } from "../internals/plugins/allPlugins.js";
|
|
11
11
|
import { useChartsDataProviderProProps } from "./useChartsDataProviderProProps.js";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
const releaseInfo = "
|
|
13
|
+
const releaseInfo = "MTc3MzE4NzIwMDAwMA==";
|
|
14
14
|
const packageIdentifier = 'x-charts-pro';
|
|
15
15
|
export const defaultSeriesConfigPro = defaultSeriesConfig;
|
|
16
16
|
|
package/esm/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export async function exportImage(element, svg, params) {
|
|
|
23
23
|
} = params ?? {};
|
|
24
24
|
const drawDocumentPromise = getDrawDocument();
|
|
25
25
|
const doc = ownerDocument(element);
|
|
26
|
+
const ratio = Math.max(window.devicePixelRatio || 1, 1);
|
|
26
27
|
const iframe = createExportIframe(fileName);
|
|
27
28
|
/* We apply the min/max width and height to ensure the SVG doesn't resize in the export.
|
|
28
29
|
* We apply to the original SVG so that the cloned tree will contain the styles and revert these
|
|
@@ -62,7 +63,6 @@ export async function exportImage(element, svg, params) {
|
|
|
62
63
|
/* Use the size from the export body in case `onBeforeExport` adds some elements that should be in the export. */
|
|
63
64
|
const exportDocBodySize = iframe.contentDocument.body.getBoundingClientRect();
|
|
64
65
|
const canvas = document.createElement('canvas');
|
|
65
|
-
const ratio = window.devicePixelRatio || 1;
|
|
66
66
|
canvas.width = exportDocBodySize.width * ratio;
|
|
67
67
|
canvas.height = exportDocBodySize.height * ratio;
|
|
68
68
|
canvas.style.width = `${exportDocBodySize.width}px`;
|
package/index.js
CHANGED
|
@@ -33,6 +33,7 @@ async function exportImage(element, svg, params) {
|
|
|
33
33
|
} = params ?? {};
|
|
34
34
|
const drawDocumentPromise = getDrawDocument();
|
|
35
35
|
const doc = (0, _ownerDocument.default)(element);
|
|
36
|
+
const ratio = Math.max(window.devicePixelRatio || 1, 1);
|
|
36
37
|
const iframe = (0, _common.createExportIframe)(fileName);
|
|
37
38
|
/* We apply the min/max width and height to ensure the SVG doesn't resize in the export.
|
|
38
39
|
* We apply to the original SVG so that the cloned tree will contain the styles and revert these
|
|
@@ -72,7 +73,6 @@ async function exportImage(element, svg, params) {
|
|
|
72
73
|
/* Use the size from the export body in case `onBeforeExport` adds some elements that should be in the export. */
|
|
73
74
|
const exportDocBodySize = iframe.contentDocument.body.getBoundingClientRect();
|
|
74
75
|
const canvas = document.createElement('canvas');
|
|
75
|
-
const ratio = window.devicePixelRatio || 1;
|
|
76
76
|
canvas.width = exportDocBodySize.width * ratio;
|
|
77
77
|
canvas.height = exportDocBodySize.height * ratio;
|
|
78
78
|
canvas.style.width = `${exportDocBodySize.width}px`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts-pro",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.5",
|
|
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": "^7.3.5",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/x-charts": "8.27.
|
|
34
|
+
"@mui/x-charts": "8.27.5",
|
|
35
35
|
"@mui/x-charts-vendor": "8.26.0",
|
|
36
|
-
"@mui/x-internals": "8.26.0",
|
|
37
36
|
"@mui/x-internal-gestures": "0.4.0",
|
|
37
|
+
"@mui/x-internals": "8.26.0",
|
|
38
38
|
"@mui/x-license": "8.26.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|