@mui/x-data-grid-premium 5.12.0 → 5.12.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
@@ -3,6 +3,63 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## v5.12.1
7
+
8
+ _Jun 9, 2022_
9
+
10
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Add `reason` to `onFilterModelChange` (#4938) @m4theushw
13
+ - 🔎 Control quick filter input value via model prop (#5013) @alexfauquette
14
+ - 📚 Documentation improvements
15
+ - 🐞 Bugfixes
16
+
17
+ ### `@mui/x-data-grid@v5.12.1` / `@mui/x-data-grid-pro@v5.12.1` / `@mui/x-data-grid-premium@v5.12.1`
18
+
19
+ #### Changes
20
+
21
+ - [DataGrid] Add `reason` to `onFilterModelChange` (#4938) @m4theushw
22
+ - [DataGrid] Restore focus after dismissing the column menu (#5027) @m4theushw
23
+ - [DataGrid] Update quick filter input when model is modified (#5013) @alexfauquette
24
+ - [DataGrid] Fix implicit dependency on react-dom (#5121) @oliviertassinari
25
+ - [DataGrid] Support `getRowId` in row reordering (#5093) @flaviendelangle
26
+ - [DataGridPro] Fix column resizing in RTL mode (#4989) @cherniavskii
27
+ - [DataGridPro] Fix column resizing on touchscreen (#5056) @cherniavskii
28
+ - [l10n] Update Japanese (ja-JP) locale (#5122) @hikotq
29
+ - [l10n] Update Russian (ru-RU) locale (#5069) @Artboomy
30
+
31
+ ### `@mui/x-date-pickers@5.0.0-alpha.6` / `@mui/x-date-pickers-pro@5.0.0-alpha.6`
32
+
33
+ #### Changes
34
+
35
+ - [pickers] Fix usage of `maxDate` / `minDate` / `disableFuture` and `disablePast` (#5081) @flaviendelangle
36
+ - [pickers] Infer mask from `inputFormat` (#5060) @alexfauquette
37
+ - [pickers] Manage input value without using the focus (#4486) @alexfauquette
38
+ - [pickers] Use new localization for doc examples (#5097) @flaviendelangle
39
+ - [pickers] Fix `shouldDisableDate` in range pickers (#5123) @flaviendelangle
40
+ - [l10n] Add Brazilian Portuguese (pt-BR) locale (#5100) @jardelnovaes
41
+ - [l10n] Use `localText` for remaining texts (#4986) @alexfauquette
42
+
43
+ ### Docs
44
+
45
+ - [docs] Implement the focus management on data grid demo links (#5070) @alexfauquette
46
+ - [docs] Fix `301` link to render cell (#5106) @oliviertassinari
47
+ - [docs] Fix broken anchor link @oliviertassinari
48
+ - [docs] Improve movie dataset (#5142) @flaviendelangle
49
+ - [docs] Move all localization documentation in a unique page (#5072) @alexfauquette
50
+ - [docs] Section for overwriting core components i18n keys (#4998) @DanailH
51
+ - [docs] Small grammar and format fixes for Dynamic Row Height section (#5098) @samuelsycamore
52
+
53
+ ### Core
54
+
55
+ - [core] Allows to run tests with different date adapters (#5055) @alexfauquette
56
+ - [core] Prettify the l10n issue (#4928) @alexfauquette
57
+ - [core] Set correct `apiRef` type in row reorder pre processors #5125 @DanailH
58
+ - [core] Stop using `GridEvents` in technical doc (#5157) @flaviendelangle
59
+ - [core] Upgrade monorepo (#5101) @oliviertassinari
60
+ - [test] Fix dynamic row height test failing on Chrome (#5147) @m4theushw
61
+ - [test] Remove delay on server demo for regression tests (#5131) @alexfauquette
62
+
6
63
  ## v5.12.0
7
64
 
8
65
  _May 31, 2022_
@@ -21,6 +78,8 @@ We'd like to offer a big thanks to the 15 contributors who made this release pos
21
78
 
22
79
  ### `@mui/x-data-grid@v5.12.0` / `@mui/x-data-grid-pro@v5.12.0` / `@mui/x-data-grid-premium@v5.12.0`
23
80
 
81
+ #### Changes
82
+
24
83
  - [DataGrid] Support dynamic row height (#4859) @m4theushw
25
84
  - [DataGrid] Add `onMenuOpen` and `onMenuClose` props (#4825) @DanailH
26
85
  - [DataGrid] Add generics to `GridActionsColDef` to match `GridColDef` (#4982) @subvertallchris
@@ -27,7 +27,7 @@ export const rowGroupingStateInitializer = (state, props, apiRef) => {
27
27
  */
28
28
 
29
29
  export const useGridRowGrouping = (apiRef, props) => {
30
- apiRef.current.unstable_updateControlState({
30
+ apiRef.current.unstable_registerControlState({
31
31
  stateId: 'rowGrouping',
32
32
  propModel: props.rowGroupingModel,
33
33
  propOnChange: props.onRowGroupingModelChange,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.12.0
1
+ /** @license MUI v5.12.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -28,7 +28,7 @@ export var rowGroupingStateInitializer = function rowGroupingStateInitializer(st
28
28
  */
29
29
 
30
30
  export var useGridRowGrouping = function useGridRowGrouping(apiRef, props) {
31
- apiRef.current.unstable_updateControlState({
31
+ apiRef.current.unstable_registerControlState({
32
32
  stateId: 'rowGrouping',
33
33
  propModel: props.rowGroupingModel,
34
34
  propOnChange: props.onRowGroupingModelChange,
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.12.0
1
+ /** @license MUI v5.12.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTY1Mzk0ODAwMDAwMA==";
3
+ var releaseInfo = "MTY1NDgxMjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -25,7 +25,7 @@ export const rowGroupingStateInitializer = (state, props, apiRef) => {
25
25
  */
26
26
 
27
27
  export const useGridRowGrouping = (apiRef, props) => {
28
- apiRef.current.unstable_updateControlState({
28
+ apiRef.current.unstable_registerControlState({
29
29
  stateId: 'rowGrouping',
30
30
  propModel: props.rowGroupingModel,
31
31
  propOnChange: props.onRowGroupingModelChange,
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.12.0
1
+ /** @license MUI v5.12.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY1Mzk0ODAwMDAwMA==";
3
+ const releaseInfo = "MTY1NDgxMjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).
@@ -53,7 +53,7 @@ const rowGroupingStateInitializer = (state, props, apiRef) => {
53
53
  exports.rowGroupingStateInitializer = rowGroupingStateInitializer;
54
54
 
55
55
  const useGridRowGrouping = (apiRef, props) => {
56
- apiRef.current.unstable_updateControlState({
56
+ apiRef.current.unstable_registerControlState({
57
57
  stateId: 'rowGrouping',
58
58
  propModel: props.rowGroupingModel,
59
59
  propOnChange: props.onRowGroupingModelChange,
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.12.0
1
+ /** @license MUI v5.12.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@ exports.getReleaseInfo = void 0;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  const getReleaseInfo = () => {
11
- const releaseInfo = "MTY1Mzk0ODAwMDAwMA==";
11
+ const releaseInfo = "MTY1NDgxMjAwMDAwMA==";
12
12
 
13
13
  if (process.env.NODE_ENV !== 'production') {
14
14
  // A simple hack to set the value in the test environment (has no build step).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-premium",
3
- "version": "5.12.0",
3
+ "version": "5.12.1",
4
4
  "description": "The Premium plan edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -33,9 +33,9 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.17.2",
35
35
  "@mui/utils": "^5.4.1",
36
- "@mui/x-data-grid": "5.12.0",
37
- "@mui/x-data-grid-pro": "5.12.0",
38
- "@mui/x-license-pro": "5.12.0",
36
+ "@mui/x-data-grid": "5.12.1",
37
+ "@mui/x-data-grid-pro": "5.12.1",
38
+ "@mui/x-license-pro": "5.12.1",
39
39
  "@types/format-util": "^1.0.2",
40
40
  "clsx": "^1.0.4",
41
41
  "exceljs": "^4.3.0",
@@ -45,7 +45,8 @@
45
45
  "peerDependencies": {
46
46
  "@mui/material": "^5.4.1",
47
47
  "@mui/system": "^5.4.1",
48
- "react": "^17.0.2 || ^18.0.0"
48
+ "react": "^17.0.2 || ^18.0.0",
49
+ "react-dom": "^17.0.2 || ^18.0.0"
49
50
  },
50
51
  "setupFiles": [
51
52
  "<rootDir>/src/setupTests.js"
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY1Mzk0ODAwMDAwMA==";
3
+ const releaseInfo = "MTY1NDgxMjAwMDAwMA==";
4
4
 
5
5
  if (process.env.NODE_ENV !== 'production') {
6
6
  // A simple hack to set the value in the test environment (has no build step).