@mui/x-charts-pro 8.0.0-beta.0 → 8.0.0-beta.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 CHANGED
@@ -5,6 +5,83 @@
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.0.0-beta.1
9
+
10
+ _Mar 21, 2025_
11
+
12
+ We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🐞 Bugfixes
15
+
16
+ Special thanks go out to the community members for their valuable contributions:
17
+ @jyash97.
18
+ Following are all team members who have contributed to this release:
19
+ @alexfauquette, @arminmeh, @flaviendelangle, @JCQuintas, @KenanYusuf.
20
+
21
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
22
+
23
+ ### Data Grid
24
+
25
+ #### `@mui/x-data-grid@8.0.0-beta.1`
26
+
27
+ - [DataGrid] Fix error caused by `forwardRef` to `ClickAwayListener` (#17049) @arminmeh
28
+ - [DataGrid] Fix error while editing rows with custom id (#17048) @arminmeh
29
+
30
+ #### `@mui/x-data-grid-pro@8.0.0-beta.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
+
32
+ Same changes as in `@mui/x-data-grid@8.0.0-beta.1`, plus:
33
+
34
+ - [DataGridPro] Fix header select checkbox state with `checkboxSelectionVisibleOnly` and `paginationMode="server"` (#17026) @arminmeh
35
+
36
+ #### `@mui/x-data-grid-premium@8.0.0-beta.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
37
+
38
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-beta.1`, plus:
39
+
40
+ - [DataGridPremium] Update column state correctly when grouping mode is updated with one grouping column (#17069) @arminmeh
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@8.0.0-beta.1`
45
+
46
+ - [fields] Clean the `useField` hook (part 1) (#16944) @flaviendelangle
47
+ - [fields] Improve the check for year in `doesSectionFormatHaveLeadingZeros` (#17051) @flaviendelangle
48
+ - [pickers] Deprecate the `disableOpenPicker` prop (#17040) @flaviendelangle
49
+ - [pickers] Simplify the `cleanLeadingZeros` method (#17063) @flaviendelangle
50
+ - [pickers] Use the new `ownerState` in `PickersDay` and `DateRangePickerDay` (#17035) @flaviendelangle
51
+
52
+ #### `@mui/x-date-pickers-pro@8.0.0-beta.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
53
+
54
+ Same changes as in `@mui/x-date-pickers@8.0.0-beta.1`, plus:
55
+
56
+ - [DateRangePicker] Use desktop media query constant on range pickers (#17052) @flaviendelangle
57
+
58
+ ### Charts
59
+
60
+ #### `@mui/x-charts@8.0.0-beta.1`
61
+
62
+ - [charts] Fix horizontal bar with multiple axes (#17059) @alexfauquette
63
+
64
+ #### `@mui/x-charts-pro@8.0.0-beta.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
65
+
66
+ Same changes as in `@mui/x-charts@8.0.0-beta.1`, plus:
67
+
68
+ - [charts-pro] Allow disabling Heatmap tooltip (#17060) @JCQuintas
69
+
70
+ ### Tree View
71
+
72
+ #### `@mui/x-tree-view@8.0.0-beta.1`
73
+
74
+ Internal changes.
75
+
76
+ #### `@mui/x-tree-view-pro@8.0.0-beta.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
77
+
78
+ Same changes as in `@mui/x-tree-view@8.0.0-beta.1`.
79
+
80
+ ### Docs
81
+
82
+ - [docs] Fix 404 (#17033) @alexfauquette
83
+ - [docs] Fix Data Grid advanced list view demo (#17064) @KenanYusuf
84
+
8
85
  ## 8.0.0-beta.0
9
86
 
10
87
  <img width="100%" alt="MUI X v8 Beta is live" src="https://github.com/user-attachments/assets/61ec4dd8-c946-456b-8b45-d51de8772f5d">
@@ -1,6 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import { ChartsTooltipContainerProps } from '@mui/x-charts/ChartsTooltip';
3
- export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {}
3
+ export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {
4
+ /**
5
+ * Select the kind of tooltip to display
6
+ * - 'item': Shows data about the item below the mouse.
7
+ * - 'none': Does not display tooltip
8
+ * @default 'item'
9
+ */
10
+ trigger?: 'item' | 'none';
11
+ }
4
12
  declare function HeatmapTooltip(props: HeatmapTooltipProps): React.JSX.Element;
5
13
  declare namespace HeatmapTooltip {
6
14
  var propTypes: any;
@@ -121,9 +121,10 @@ function HeatmapTooltip(props) {
121
121
  const classes = useUtilityClasses({
122
122
  classes: props.classes
123
123
  });
124
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsTooltip.ChartsTooltipContainer, (0, _extends2.default)({}, props, {
124
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsTooltip.ChartsTooltipContainer, (0, _extends2.default)({
125
+ trigger: "item"
126
+ }, props, {
125
127
  classes: classes,
126
- trigger: "item",
127
128
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(DefaultHeatmapTooltipContent, {
128
129
  classes: classes
129
130
  })
@@ -282,5 +283,12 @@ process.env.NODE_ENV !== "production" ? HeatmapTooltip.propTypes = {
282
283
  * Help supporting a react-transition-group/Transition component.
283
284
  * @default false
284
285
  */
285
- transition: _propTypes.default.bool
286
+ transition: _propTypes.default.bool,
287
+ /**
288
+ * Select the kind of tooltip to display
289
+ * - 'item': Shows data about the item below the mouse.
290
+ * - 'none': Does not display tooltip
291
+ * @default 'item'
292
+ */
293
+ trigger: _propTypes.default.oneOf(['item', 'none'])
286
294
  } : void 0;
@@ -1,6 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import { ChartsTooltipContainerProps } from '@mui/x-charts/ChartsTooltip';
3
- export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {}
3
+ export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {
4
+ /**
5
+ * Select the kind of tooltip to display
6
+ * - 'item': Shows data about the item below the mouse.
7
+ * - 'none': Does not display tooltip
8
+ * @default 'item'
9
+ */
10
+ trigger?: 'item' | 'none';
11
+ }
4
12
  declare function HeatmapTooltip(props: HeatmapTooltipProps): React.JSX.Element;
5
13
  declare namespace HeatmapTooltip {
6
14
  var propTypes: any;
@@ -114,9 +114,10 @@ function HeatmapTooltip(props) {
114
114
  const classes = useUtilityClasses({
115
115
  classes: props.classes
116
116
  });
117
- return /*#__PURE__*/_jsx(ChartsTooltipContainer, _extends({}, props, {
117
+ return /*#__PURE__*/_jsx(ChartsTooltipContainer, _extends({
118
+ trigger: "item"
119
+ }, props, {
118
120
  classes: classes,
119
- trigger: "item",
120
121
  children: /*#__PURE__*/_jsx(DefaultHeatmapTooltipContent, {
121
122
  classes: classes
122
123
  })
@@ -275,6 +276,13 @@ process.env.NODE_ENV !== "production" ? HeatmapTooltip.propTypes = {
275
276
  * Help supporting a react-transition-group/Transition component.
276
277
  * @default false
277
278
  */
278
- transition: PropTypes.bool
279
+ transition: PropTypes.bool,
280
+ /**
281
+ * Select the kind of tooltip to display
282
+ * - 'item': Shows data about the item below the mouse.
283
+ * - 'none': Does not display tooltip
284
+ * @default 'item'
285
+ */
286
+ trigger: PropTypes.oneOf(['item', 'none'])
279
287
  } : void 0;
280
288
  export { HeatmapTooltip };
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-pro v8.0.0-beta.0
2
+ * @mui/x-charts-pro v8.0.0-beta.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import ponyfillGlobal from '@mui/utils/ponyfillGlobal';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTc0MjI0ODgwMDAwMA==";
3
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-pro v8.0.0-beta.0
2
+ * @mui/x-charts-pro v8.0.0-beta.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.getReleaseInfo = void 0;
8
8
  var _ponyfillGlobal = _interopRequireDefault(require("@mui/utils/ponyfillGlobal"));
9
9
  const getReleaseInfo = () => {
10
- const releaseInfo = "MTc0MjI0ODgwMDAwMA==";
10
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
11
11
  if (process.env.NODE_ENV !== 'production') {
12
12
  // A simple hack to set the value in the test environment (has no build step).
13
13
  // eslint-disable-next-line no-useless-concat
@@ -1,6 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import { ChartsTooltipContainerProps } from '@mui/x-charts/ChartsTooltip';
3
- export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {}
3
+ export interface HeatmapTooltipProps extends Omit<ChartsTooltipContainerProps, 'trigger' | 'children'> {
4
+ /**
5
+ * Select the kind of tooltip to display
6
+ * - 'item': Shows data about the item below the mouse.
7
+ * - 'none': Does not display tooltip
8
+ * @default 'item'
9
+ */
10
+ trigger?: 'item' | 'none';
11
+ }
4
12
  declare function HeatmapTooltip(props: HeatmapTooltipProps): React.JSX.Element;
5
13
  declare namespace HeatmapTooltip {
6
14
  var propTypes: any;
@@ -114,9 +114,10 @@ function HeatmapTooltip(props) {
114
114
  const classes = useUtilityClasses({
115
115
  classes: props.classes
116
116
  });
117
- return /*#__PURE__*/_jsx(ChartsTooltipContainer, _extends({}, props, {
117
+ return /*#__PURE__*/_jsx(ChartsTooltipContainer, _extends({
118
+ trigger: "item"
119
+ }, props, {
118
120
  classes: classes,
119
- trigger: "item",
120
121
  children: /*#__PURE__*/_jsx(DefaultHeatmapTooltipContent, {
121
122
  classes: classes
122
123
  })
@@ -275,6 +276,13 @@ process.env.NODE_ENV !== "production" ? HeatmapTooltip.propTypes = {
275
276
  * Help supporting a react-transition-group/Transition component.
276
277
  * @default false
277
278
  */
278
- transition: PropTypes.bool
279
+ transition: PropTypes.bool,
280
+ /**
281
+ * Select the kind of tooltip to display
282
+ * - 'item': Shows data about the item below the mouse.
283
+ * - 'none': Does not display tooltip
284
+ * @default 'item'
285
+ */
286
+ trigger: PropTypes.oneOf(['item', 'none'])
279
287
  } : void 0;
280
288
  export { HeatmapTooltip };
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts-pro v8.0.0-beta.0
2
+ * @mui/x-charts-pro v8.0.0-beta.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import ponyfillGlobal from '@mui/utils/ponyfillGlobal';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTc0MjI0ODgwMDAwMA==";
3
+ const releaseInfo = "MTc0MjUxNTIwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-pro",
3
- "version": "8.0.0-beta.0",
3
+ "version": "8.0.0-beta.1",
4
4
  "description": "The Pro plan edition of the Charts components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./index.js",
@@ -35,8 +35,8 @@
35
35
  "@react-spring/web": "^9.7.5",
36
36
  "clsx": "^2.1.1",
37
37
  "prop-types": "^15.8.1",
38
- "@mui/x-charts-vendor": "8.0.0-beta.0",
39
- "@mui/x-charts": "8.0.0-beta.0",
38
+ "@mui/x-charts": "8.0.0-beta.1",
39
+ "@mui/x-charts-vendor": "8.0.0-beta.1",
40
40
  "@mui/x-license": "8.0.0-beta.0",
41
41
  "@mui/x-internals": "8.0.0-beta.0"
42
42
  },