@mui/x-date-pickers-pro 8.0.0-alpha.4 → 8.0.0-alpha.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 CHANGED
@@ -5,6 +5,108 @@
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-alpha.5
9
+
10
+ _Dec 19, 2024_
11
+
12
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🌍 Improve Korean (ko-KR) locale on the Data Grid
15
+ - 🐞 Bugfixes
16
+
17
+ Special thanks go out to the community contributors who have helped make this release possible:
18
+ @good-jinu, @k-rajat19.
19
+ Following are all team members who have contributed to this release:
20
+ @alexfauquette, @cherniavskii, @flaviendelangle, @KenanYusuf, @LukasTy, @MBilalShafi, @romgrk.
21
+
22
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
23
+
24
+ ### Data Grid
25
+
26
+ #### Breaking changes
27
+
28
+ - Passing additional props (like `data-*`, `aria-*`) directly on the Data Grid component is no longer supported. To pass the props, use `slotProps`.
29
+
30
+ - For `.root` element, use `slotProps.root`.
31
+ - For `.main` element (the one with `role="grid"`), use `slotProps.main`.
32
+
33
+ - `detailPanelExpandedRowIds` and `onDetailPanelExpandedRowIdsChange` props use a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array:
34
+
35
+ ```diff
36
+ -detailPanelExpandedRowIds?: GridRowId[];
37
+ +detailPanelExpandedRowIds?: Set<GridRowId>;
38
+
39
+ -onDetailPanelExpandedRowIdsChange?: (ids: GridRowId[], details: GridCallbackDetails) => void;
40
+ +onDetailPanelExpandedRowIdsChange?: (ids: Set<GridRowId>, details: GridCallbackDetails) => void;
41
+ ```
42
+
43
+ - `apiRef.current.getExpandedDetailPanels` and `apiRef.current.setExpandedDetailPanels` methods receive and return a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
44
+ - `gridDetailPanelExpandedRowIdsSelector` returns a [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instead of an array.
45
+ - `gridDetailPanelExpandedRowsHeightCacheSelector` was removed.
46
+
47
+ #### `@mui/x-data-grid@8.0.0-alpha.5`
48
+
49
+ - [DataGrid] Consider `columnGroupHeaderHeight` prop in `getTotalHeaderHeight` method (#15915) @k-rajat19
50
+ - [DataGrid] Fix autosizing with virtualized columns (#15116) @k-rajat19
51
+ - [DataGrid] Move `<Badge />` to leaf import (#15879) @romgrk
52
+ - [DataGrid] Move `<ListItemText />` and `<ListItemIcon />` to leaf import (#15869) @romgrk
53
+ - [DataGrid] Remove the Joy UI demo (#15913) @romgrk
54
+ - [DataGrid] Update quick filter input variant (#15909) @KenanYusuf
55
+ - [DataGrid] Use `slotProps` to forward props to `.main` and `.root` elements (#15870) @MBilalShafi
56
+ - [l10n] Improve Korean(ko-KR) locale (#15878) @good-jinu
57
+
58
+ #### `@mui/x-data-grid-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
59
+
60
+ Same changes as in `@mui/x-data-grid@8.0.0-alpha.5`, plus:
61
+
62
+ - [DataGridPro] Use `Set` for `detailPanelExpandedRowIds` (#15835) @cherniavskii
63
+
64
+ #### `@mui/x-data-grid-premium@8.0.0-alpha.5` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
65
+
66
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.5`.
67
+
68
+ ### Date and Time Pickers
69
+
70
+ #### Breaking changes
71
+
72
+ - The `<PickersMonth />` component has been moved inside the Month Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#month-calendar).
73
+
74
+ - The `<PickersYear />` component has been moved inside the Year Calendar component — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#year-calendar).
75
+
76
+ #### `@mui/x-date-pickers@8.0.0-alpha.5`
77
+
78
+ - [pickers] Add verification to disable skipped hours in spring forward DST (#15849) @flaviendelangle
79
+ - [pickers] Remove `PickersMonth` and `PickersYear` from the theme and remove the `div` wrapping each button (#15806) @flaviendelangle
80
+ - [pickers] Use the new `ownerState` object on the `<PickersTextField />` component (#15863) @flaviendelangle
81
+
82
+ #### `@mui/x-date-pickers-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
83
+
84
+ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.5`.
85
+
86
+ ### Charts
87
+
88
+ #### `@mui/x-charts@8.0.0-alpha.5`
89
+
90
+ - [charts] Fix `<ScatterChart />` value type if `null` (#15917) @alexfauquette
91
+
92
+ #### `@mui/x-charts-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
93
+
94
+ Same changes as in `@mui/x-charts@8.0.0-alpha.5`.
95
+
96
+ ### Tree View
97
+
98
+ #### `@mui/x-tree-view@8.0.0-alpha.5`
99
+
100
+ No changes since `@mui/x-tree-view-pro@v8.0.0-alpha.4`.
101
+
102
+ #### `@mui/x-tree-view-pro@8.0.0-alpha.5` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
103
+
104
+ Same changes as in `@mui/x-tree-view@8.0.0-alpha.5`.
105
+
106
+ ### Core
107
+
108
+ - [code-infra] Remove `@mui/material-nextjs` dependency (#15925) @LukasTy
109
+
8
110
  ## 8.0.0-alpha.4
9
111
 
10
112
  _Dec 13, 2024_
@@ -39,6 +141,7 @@ Following are all team members who have contributed to this release:
39
141
  -const output = useGridSelector(apiRef, selector, equals)
40
142
  +const output = useGridSelector(apiRef, selector, arguments, equals)
41
143
  ```
144
+
42
145
  - The default variant for text fields and selects in the filter panel has been changed to `outlined`.
43
146
  - The "row spanning" feature is now stable.
44
147
  ```diff
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v8.0.0-alpha.4
2
+ * @mui/x-date-pickers-pro v8.0.0-alpha.5
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';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczNDA0MDgwMDAwMA==";
3
+ const releaseInfo = "MTczNDU2NjQwMDAwMA==";
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/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v8.0.0-alpha.4
2
+ * @mui/x-date-pickers-pro v8.0.0-alpha.5
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';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTczNDA0MDgwMDAwMA==";
3
+ const releaseInfo = "MTczNDU2NjQwMDAwMA==";
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/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v8.0.0-alpha.4
2
+ * @mui/x-date-pickers-pro v8.0.0-alpha.5
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getReleaseInfo = void 0;
7
7
  var _utils = require("@mui/utils");
8
8
  const getReleaseInfo = () => {
9
- const releaseInfo = "MTczNDA0MDgwMDAwMA==";
9
+ const releaseInfo = "MTczNDU2NjQwMDAwMA==";
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  // A simple hack to set the value in the test environment (has no build step).
12
12
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers-pro",
3
- "version": "8.0.0-alpha.4",
3
+ "version": "8.0.0-alpha.5",
4
4
  "description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -37,9 +37,9 @@
37
37
  "clsx": "^2.1.1",
38
38
  "prop-types": "^15.8.1",
39
39
  "react-transition-group": "^4.4.5",
40
- "@mui/x-date-pickers": "8.0.0-alpha.4",
41
- "@mui/x-internals": "8.0.0-alpha.2",
42
- "@mui/x-license": "8.0.0-alpha.4"
40
+ "@mui/x-date-pickers": "8.0.0-alpha.5",
41
+ "@mui/x-license": "8.0.0-alpha.5",
42
+ "@mui/x-internals": "8.0.0-alpha.5"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@emotion/react": "^11.9.0",