@mui/x-charts-pro 9.0.2 → 9.0.3

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 CHANGED
@@ -1,5 +1,141 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.0.3
4
+
5
+ _Apr 27, 2026_
6
+
7
+ We'd like to extend a big thank you to the 16 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - ⌨️ Keyboard support for creating events in the Scheduler
10
+
11
+ Special thanks go out to these community members for their valuable contributions:
12
+ @supunsathsara, @ZAKIURREHMAN
13
+
14
+ The following team members contributed to this release:
15
+ @aemartos, @alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @rita-codes, @romgrk, @sai6855, @siriwatknp
16
+
17
+ ### Data Grid
18
+
19
+ #### `@mui/x-data-grid@9.0.3`
20
+
21
+ - [DataGrid] Fix `:first-child` SSR warning when `MuiDataGrid.styleOverrides` is set (#22081) @siriwatknp
22
+ - [DataGrid] Fix row reordering when filter hides rows (#22096) @siriwatknp
23
+ - [DataGrid] Remove unused `LayoutDataGridLegacy` class (#22009) @romgrk
24
+ - [DataGrid] Remove unused code, clean up grid-related utilities and deprecate `GridPanelHeader` (#22112) @sai6855
25
+ - [DataGrid] Fix columns cutting off after resizing (#22088) @ZAKIURREHMAN
26
+
27
+ #### `@mui/x-data-grid-pro@9.0.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
28
+
29
+ Same changes as in `@mui/x-data-grid@9.0.3`.
30
+
31
+ #### `@mui/x-data-grid-premium@9.0.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
32
+
33
+ Same changes as in `@mui/x-data-grid-pro@9.0.3`, plus:
34
+
35
+ - [DataGridPremium] Fix row grouping model updates not being reflected (#22122) @MBilalShafi
36
+
37
+ ### Date and Time Pickers
38
+
39
+ #### `@mui/x-date-pickers@9.0.3`
40
+
41
+ - [pickers] Fix `DateRangeCalendar` drag with `AdapterDayjs` plain-constructor values (#22165) @LukasTy
42
+ - [pickers] Fix disabled state not overriding error border color (#21169) @supunsathsara
43
+ - [pickers] Forward `data-*` and `aria-*` attributes to the root (#22147) @LukasTy
44
+ - [pickers] Support `K` and `k` hour format tokens (#22108) @michelengelen
45
+
46
+ #### `@mui/x-date-pickers-pro@9.0.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
47
+
48
+ Same changes as in `@mui/x-date-pickers@9.0.3`, plus:
49
+
50
+ - [DateRangeCalendar] Ensure date dragging triggers regardless of trigger element (#21868) @michelengelen
51
+
52
+ ### Charts
53
+
54
+ #### `@mui/x-charts@9.0.3`
55
+
56
+ - [charts] Centralize WebGL clear/render cycle (context-based) (#22127) @JCQuintas
57
+ - [charts] Fix closest series detection for line charts (#22168) @alexfauquette
58
+ - [charts] Fix radius grid lines when axis uses point scale (#22134) @alexfauquette
59
+ - [charts] Use cubic solver for berzier intersection (#22152) @alexfauquette
60
+
61
+ #### `@mui/x-charts-pro@9.0.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-charts@9.0.3`, plus:
64
+
65
+ - [charts-pro] Fix wheel zoom clamping with custom `minStart`/`maxEnd` (#22159) @JCQuintas
66
+
67
+ #### `@mui/x-charts-premium@9.0.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
68
+
69
+ Same changes as in `@mui/x-charts-pro@9.0.3`, plus:
70
+
71
+ - [charts] Create a `'radialLine'` series type (#22066) @alexfauquette
72
+ - [charts] Plot radial line (#22133) @alexfauquette
73
+ - [charts] Remove `HeatmapWebGLRenderer` indirection (#22169) @JCQuintas
74
+
75
+ ### Tree View
76
+
77
+ #### `@mui/x-tree-view@9.0.2`
78
+
79
+ Internal changes.
80
+
81
+ #### `@mui/x-tree-view-pro@9.0.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
82
+
83
+ Same changes as in `@mui/x-tree-view@9.0.2`.
84
+
85
+ ### Scheduler
86
+
87
+ #### Breaking changes
88
+
89
+ - The `views` of `EventTimelinePremium` have been renamed to `presets`, with names that describe the header layout. The props `view`/`defaultView`/`views`/`onViewChange` are now `preset`/`defaultPreset`/`presets`/`onPresetChange`, and the type `EventTimelinePremiumView` is now `EventTimelinePremiumPreset`.
90
+
91
+ | Old | New |
92
+ | :------- | :------------- |
93
+ | `time` | `dayAndHour` |
94
+ | `days` | `day` |
95
+ | `weeks` | `dayAndWeek` |
96
+ | `months` | `monthAndYear` |
97
+ | `years` | `year` |
98
+
99
+ CSS variables (`--time-cell-width`, etc.) and headless store state (`state.view`, `setView`) follow the same rename. The `presets` array is now sorted internally against a canonical zoom order.
100
+
101
+ #### `@mui/x-scheduler@9.0.0-alpha.3`
102
+
103
+ - [scheduler] Allow creating events via keyboard - EventCalendar (#21967) @rita-codes
104
+ - [scheduler] Prefix element IDs with a unique Scheduler instance ID (#22109) @rita-codes
105
+
106
+ #### `@mui/x-scheduler-premium@9.0.0-alpha.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
107
+
108
+ Same changes as in `@mui/x-scheduler@9.0.0-alpha.3`.
109
+
110
+ - [scheduler] Allow creating events via keyboard - `EventTimeline` (#22119) @rita-codes
111
+ - [scheduler] Rename `EventTimeline` `views` to ordered presets (#22130) @rita-codes
112
+
113
+ ### Docs
114
+
115
+ - [docs] Cleanup generated llm md files for chat (#22163) @brijeshb42
116
+ - [docs] Fix `highlightScope` description (#22154) @alexfauquette
117
+ - [docs] Remove obsolete v7 deprecation warning for `dayOfWeekFormatter` (#22111) @LukasTy
118
+ - [docs] Use mui.com for broken links checker known targets (#22129) @JCQuintas
119
+ - [docs] Document picker behavior inside MUI `Dialog` and provide recommended solutions (#22144) @michelengelen
120
+ - [docs] Improve v9 license key version mismatch error guidance (#22180) @aemartos
121
+
122
+ ### Core
123
+
124
+ - [code-infra] Reduce concurrency for package build to 5 (#22115) @Janpot
125
+ - [code-infra] Rename `docsx` alias to `docs` (#22155) @brijeshb42
126
+ - [docs-infra] Remove monorepo dependency (#22025) @brijeshb42
127
+ - [docs-infra] Use latest published packages (#22086) @brijeshb42
128
+ - [test] Refactor Pickers tests to async user-event (#22043) @LukasTy
129
+ - [test] Remove redundant explicit `unmount()` calls from Pickers tests (#22118) @LukasTy
130
+
131
+ ### Miscellaneous
132
+
133
+ - [infra] Update `.gitignore` to exclude `.claude/worktrees` (#22145) @michelengelen
134
+ - [infra] Enable branch tracking when creating release branch (#22177) @michelengelen
135
+ - [license] Add MIT license to `x-virtualizer` package (#22164) @michelengelen
136
+ - [website] Fix outdated MUI logos (#22117) @oliviertassinari
137
+ - [internal] Try avoiding store update when virtualization is disabled (#22093) @arminmeh
138
+
3
139
  ## 9.0.2
4
140
 
5
141
  <!-- generated comparing v9.0.1..master -->
@@ -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: "MTc3NjIxMTIwMDAwMA==",
22
- version: "9.0.2",
21
+ releaseDate: "MTc3NzI0ODAwMDAwMA==",
22
+ version: "9.0.3",
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: "MTc3NjIxMTIwMDAwMA==",
15
- version: "9.0.2",
14
+ releaseDate: "MTc3NzI0ODAwMDAwMA==",
15
+ version: "9.0.3",
16
16
  name: 'x-charts-pro'
17
17
  };
18
18
  export const defaultSeriesConfigPro = defaultSeriesConfig;
@@ -0,0 +1 @@
1
+ export * from '@mui/x-charts/ChartsRadiusAxis';
@@ -0,0 +1 @@
1
+ export * from '@mui/x-charts/ChartsRadiusAxis';
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _ChartsRadiusAxis = require("@mui/x-charts/ChartsRadiusAxis");
7
+ Object.keys(_ChartsRadiusAxis).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _ChartsRadiusAxis[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _ChartsRadiusAxis[key];
14
+ }
15
+ });
16
+ });
@@ -0,0 +1,2 @@
1
+ // Re-export automatically generated, to customize, simply remove this line.
2
+ export * from '@mui/x-charts/ChartsRadiusAxis';
@@ -0,0 +1 @@
1
+ export * from '@mui/x-charts/ChartsRotationAxis';
@@ -0,0 +1 @@
1
+ export * from '@mui/x-charts/ChartsRotationAxis';
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _ChartsRotationAxis = require("@mui/x-charts/ChartsRotationAxis");
7
+ Object.keys(_ChartsRotationAxis).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _ChartsRotationAxis[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _ChartsRotationAxis[key];
14
+ }
15
+ });
16
+ });
@@ -0,0 +1,2 @@
1
+ // Re-export automatically generated, to customize, simply remove this line.
2
+ export * from '@mui/x-charts/ChartsRotationAxis';
package/index.d.mts CHANGED
@@ -23,6 +23,10 @@ export * from '@mui/x-charts/ChartsLabel';
23
23
  export * from '@mui/x-charts/ChartsOverlay';
24
24
  export * from '@mui/x-charts/ChartsWrapper';
25
25
  export * from '@mui/x-charts/ChartsBrushOverlay';
26
+ export * from '@mui/x-charts/ChartsRadialDataProvider';
27
+ export * from '@mui/x-charts/ChartsRadialGrid';
28
+ export * from '@mui/x-charts/ChartsRadiusAxis';
29
+ export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
26
30
  export * from "./constants/index.mjs";
27
31
  export * from "./hooks/index.mjs";
28
32
  export * from "./context/index.mjs";
package/index.d.ts CHANGED
@@ -23,6 +23,10 @@ export * from '@mui/x-charts/ChartsLabel';
23
23
  export * from '@mui/x-charts/ChartsOverlay';
24
24
  export * from '@mui/x-charts/ChartsWrapper';
25
25
  export * from '@mui/x-charts/ChartsBrushOverlay';
26
+ export * from '@mui/x-charts/ChartsRadialDataProvider';
27
+ export * from '@mui/x-charts/ChartsRadialGrid';
28
+ export * from '@mui/x-charts/ChartsRadiusAxis';
29
+ export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
26
30
  export * from "./constants/index.js";
27
31
  export * from "./hooks/index.js";
28
32
  export * from "./context/index.js";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-pro v9.0.2
2
+ * @mui/x-charts-pro v9.0.3
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "__esModule", {
11
11
  value: true
12
12
  });
13
13
  var _exportNames = {
14
+ Unstable_ChartsRotationAxis: true,
14
15
  ChartsContainerPro: true
15
16
  };
16
17
  Object.defineProperty(exports, "ChartsContainerPro", {
@@ -19,6 +20,12 @@ Object.defineProperty(exports, "ChartsContainerPro", {
19
20
  return _ChartsContainerPro.ChartsContainerPro;
20
21
  }
21
22
  });
23
+ Object.defineProperty(exports, "Unstable_ChartsRotationAxis", {
24
+ enumerable: true,
25
+ get: function () {
26
+ return _ChartsRotationAxis.Unstable_ChartsRotationAxis;
27
+ }
28
+ });
22
29
  require("./typeOverloads/modules");
23
30
  var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
24
31
  Object.keys(_ChartsClipPath).forEach(function (key) {
@@ -308,6 +315,43 @@ Object.keys(_ChartsBrushOverlay).forEach(function (key) {
308
315
  }
309
316
  });
310
317
  });
318
+ var _ChartsRadialDataProvider = require("@mui/x-charts/ChartsRadialDataProvider");
319
+ Object.keys(_ChartsRadialDataProvider).forEach(function (key) {
320
+ if (key === "default" || key === "__esModule") return;
321
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
322
+ if (key in exports && exports[key] === _ChartsRadialDataProvider[key]) return;
323
+ Object.defineProperty(exports, key, {
324
+ enumerable: true,
325
+ get: function () {
326
+ return _ChartsRadialDataProvider[key];
327
+ }
328
+ });
329
+ });
330
+ var _ChartsRadialGrid = require("@mui/x-charts/ChartsRadialGrid");
331
+ Object.keys(_ChartsRadialGrid).forEach(function (key) {
332
+ if (key === "default" || key === "__esModule") return;
333
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
334
+ if (key in exports && exports[key] === _ChartsRadialGrid[key]) return;
335
+ Object.defineProperty(exports, key, {
336
+ enumerable: true,
337
+ get: function () {
338
+ return _ChartsRadialGrid[key];
339
+ }
340
+ });
341
+ });
342
+ var _ChartsRadiusAxis = require("@mui/x-charts/ChartsRadiusAxis");
343
+ Object.keys(_ChartsRadiusAxis).forEach(function (key) {
344
+ if (key === "default" || key === "__esModule") return;
345
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
346
+ if (key in exports && exports[key] === _ChartsRadiusAxis[key]) return;
347
+ Object.defineProperty(exports, key, {
348
+ enumerable: true,
349
+ get: function () {
350
+ return _ChartsRadiusAxis[key];
351
+ }
352
+ });
353
+ });
354
+ var _ChartsRotationAxis = require("@mui/x-charts/ChartsRotationAxis");
311
355
  var _constants = require("./constants");
312
356
  Object.keys(_constants).forEach(function (key) {
313
357
  if (key === "default" || key === "__esModule") return;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-pro v9.0.2
2
+ * @mui/x-charts-pro v9.0.3
3
3
  *
4
4
  * @license SEE LICENSE IN LICENSE
5
5
  * This source code is licensed under the SEE LICENSE IN LICENSE license found in the
@@ -32,6 +32,10 @@ export * from '@mui/x-charts/ChartsLabel';
32
32
  export * from '@mui/x-charts/ChartsOverlay';
33
33
  export * from '@mui/x-charts/ChartsWrapper';
34
34
  export * from '@mui/x-charts/ChartsBrushOverlay';
35
+ export * from '@mui/x-charts/ChartsRadialDataProvider';
36
+ export * from '@mui/x-charts/ChartsRadialGrid';
37
+ export * from '@mui/x-charts/ChartsRadiusAxis';
38
+ export { Unstable_ChartsRotationAxis } from '@mui/x-charts/ChartsRotationAxis';
35
39
 
36
40
  // Pro utilities
37
41
  export * from "./constants/index.mjs";
@@ -29,11 +29,11 @@ const zoomAtPoint = (centerRatio, scaleRatio, currentZoomData, options) => {
29
29
  let minSpillover = 0;
30
30
  let maxSpillover = 0;
31
31
  if (newMinRange < MIN_RANGE) {
32
- minSpillover = Math.abs(newMinRange);
32
+ minSpillover = MIN_RANGE - newMinRange;
33
33
  newMinRange = MIN_RANGE;
34
34
  }
35
35
  if (newMaxRange > MAX_RANGE) {
36
- maxSpillover = Math.abs(newMaxRange - MAX_RANGE);
36
+ maxSpillover = newMaxRange - MAX_RANGE;
37
37
  newMaxRange = MAX_RANGE;
38
38
  }
39
39
  if (minSpillover > 0 && maxSpillover > 0) {
@@ -42,7 +42,7 @@ const zoomAtPoint = (centerRatio, scaleRatio, currentZoomData, options) => {
42
42
  newMaxRange += minSpillover;
43
43
  newMinRange -= maxSpillover;
44
44
  newMinRange = Math.min(MAX_RANGE - MIN_ALLOWED_SPAN, Math.max(MIN_RANGE, newMinRange));
45
- newMaxRange = Math.max(MIN_ALLOWED_SPAN, Math.min(MAX_RANGE, newMaxRange));
45
+ newMaxRange = Math.max(MIN_RANGE + MIN_ALLOWED_SPAN, Math.min(MAX_RANGE, newMaxRange));
46
46
  return [newMinRange, newMaxRange];
47
47
  };
48
48
 
@@ -17,11 +17,11 @@ export const zoomAtPoint = (centerRatio, scaleRatio, currentZoomData, options) =
17
17
  let minSpillover = 0;
18
18
  let maxSpillover = 0;
19
19
  if (newMinRange < MIN_RANGE) {
20
- minSpillover = Math.abs(newMinRange);
20
+ minSpillover = MIN_RANGE - newMinRange;
21
21
  newMinRange = MIN_RANGE;
22
22
  }
23
23
  if (newMaxRange > MAX_RANGE) {
24
- maxSpillover = Math.abs(newMaxRange - MAX_RANGE);
24
+ maxSpillover = newMaxRange - MAX_RANGE;
25
25
  newMaxRange = MAX_RANGE;
26
26
  }
27
27
  if (minSpillover > 0 && maxSpillover > 0) {
@@ -30,7 +30,7 @@ export const zoomAtPoint = (centerRatio, scaleRatio, currentZoomData, options) =
30
30
  newMaxRange += minSpillover;
31
31
  newMinRange -= maxSpillover;
32
32
  newMinRange = Math.min(MAX_RANGE - MIN_ALLOWED_SPAN, Math.max(MIN_RANGE, newMinRange));
33
- newMaxRange = Math.max(MIN_ALLOWED_SPAN, Math.min(MAX_RANGE, newMaxRange));
33
+ newMaxRange = Math.max(MIN_RANGE + MIN_ALLOWED_SPAN, Math.min(MAX_RANGE, newMaxRange));
34
34
  return [newMinRange, newMaxRange];
35
35
  };
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-pro",
3
- "version": "9.0.2",
3
+ "version": "9.0.3",
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",
@@ -27,15 +27,15 @@
27
27
  "directory": "packages/x-charts-pro"
28
28
  },
29
29
  "dependencies": {
30
- "@babel/runtime": "^7.28.6",
30
+ "@babel/runtime": "^7.29.2",
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.2",
34
+ "@mui/x-charts": "^9.0.3",
35
35
  "@mui/x-charts-vendor": "^9.0.0",
36
- "@mui/x-internal-gestures": "^9.0.2",
37
36
  "@mui/x-internals": "^9.0.0",
38
- "@mui/x-license": "^9.0.2"
37
+ "@mui/x-license": "^9.0.2",
38
+ "@mui/x-internal-gestures": "^9.0.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",
@@ -342,6 +342,20 @@
342
342
  "default": "./ChartsRadialGrid/index.mjs"
343
343
  }
344
344
  },
345
+ "./ChartsRadiusAxis": {
346
+ "import": {
347
+ "types": "./ChartsRadiusAxis/index.d.mts",
348
+ "default": "./ChartsRadiusAxis/index.mjs"
349
+ },
350
+ "require": {
351
+ "types": "./ChartsRadiusAxis/index.d.ts",
352
+ "default": "./ChartsRadiusAxis/index.js"
353
+ },
354
+ "default": {
355
+ "types": "./ChartsRadiusAxis/index.d.mts",
356
+ "default": "./ChartsRadiusAxis/index.mjs"
357
+ }
358
+ },
345
359
  "./ChartsReferenceLine": {
346
360
  "import": {
347
361
  "types": "./ChartsReferenceLine/index.d.mts",
@@ -356,6 +370,20 @@
356
370
  "default": "./ChartsReferenceLine/index.mjs"
357
371
  }
358
372
  },
373
+ "./ChartsRotationAxis": {
374
+ "import": {
375
+ "types": "./ChartsRotationAxis/index.d.mts",
376
+ "default": "./ChartsRotationAxis/index.mjs"
377
+ },
378
+ "require": {
379
+ "types": "./ChartsRotationAxis/index.d.ts",
380
+ "default": "./ChartsRotationAxis/index.js"
381
+ },
382
+ "default": {
383
+ "types": "./ChartsRotationAxis/index.d.mts",
384
+ "default": "./ChartsRotationAxis/index.mjs"
385
+ }
386
+ },
359
387
  "./ChartsSurface": {
360
388
  "import": {
361
389
  "types": "./ChartsSurface/index.d.mts",