@mui/x-data-grid-premium 5.17.5 → 5.17.7

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,51 @@
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
+ ## 5.17.7
7
+
8
+ _Oct 13, 2022_
9
+
10
+ We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🐞 Bugfixes
13
+
14
+ ### `@mui/x-data-grid@v5.17.7` / `@mui/x-data-grid-pro@v5.17.7` / `@mui/x-data-grid-premium@v5.17.7`
15
+
16
+ #### Changes
17
+
18
+ - [DataGrid] Fix error when using column grouping with all columns hidden (#6425) @alexfauquette
19
+ - [DataGrid] Fix start edit mode with printable character in React 18 (#6478) @m4theushw
20
+
21
+ ## 5.17.6
22
+
23
+ _Oct 6, 2022_
24
+
25
+ We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
26
+
27
+ - 🌍 Add Japanese (ja-JP) locale to pickers (#6365) @sho918
28
+ - 🎁 Improve support for theme augmentation in the DataGrid (#6406) @cherniavskii
29
+ - 🐞 Bugfixes
30
+
31
+ ### `@mui/x-data-grid@v5.17.6` / `@mui/x-data-grid-pro@v5.17.6` / `@mui/x-data-grid-premium@v5.17.6`
32
+
33
+ #### Changes
34
+
35
+ - [DataGrid] Add missing `valueOptions` (#6400) @DanailH
36
+ - [DataGrid] Don't start edit mode when pressing <kbd>Shift</kbd> + <kbd>Space</kbd> (#6380) @m4theushw
37
+ - [DataGrid] Pass generics to the components in the theme augmentation (#6406) @cherniavskii
38
+
39
+ ### `@mui/x-date-pickers@v5.0.4` / `@mui/x-date-pickers-pro@v5.0.4`
40
+
41
+ #### Changes
42
+
43
+ - [l10n] Add Japanese (ja-JP) locale to pickers (#6365) (#6382) @sho918
44
+ - [pickers] Prevent `CalendarPicker` getting focus when `autoFocus=false` (#6304) (#6362) @alexfauquette
45
+ - [pickers] Fix git repository location @oliviertassinari
46
+
47
+ ### Docs
48
+
49
+ - [docs] Fix customized day rendering demo style (#6342) @Ambrish-git
50
+
6
51
  ## 5.17.5
7
52
 
8
53
  _Sep 29, 2022_
@@ -57,6 +57,7 @@ const getLeafProperties = leafColDef => {
57
57
  headerName: (_leafColDef$headerNam = leafColDef.headerName) != null ? _leafColDef$headerNam : leafColDef.field,
58
58
  sortable: leafColDef.sortable,
59
59
  filterable: leafColDef.filterable,
60
+ valueOptions: leafColDef.valueOptions,
60
61
  filterOperators: (_leafColDef$filterOpe = leafColDef.filterOperators) == null ? void 0 : _leafColDef$filterOpe.map(operator => _extends({}, operator, {
61
62
  getApplyFilterFn: (filterItem, column) => {
62
63
  const originalFn = operator.getApplyFilterFn(filterItem, column);
@@ -87,6 +88,7 @@ const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
87
88
  const properties = {
88
89
  sortable: groupedByColDef.sortable,
89
90
  filterable: groupedByColDef.filterable,
91
+ valueOptions: groupedByColDef.valueOptions,
90
92
  sortComparator: (v1, v2, cellParams1, cellParams2) => {
91
93
  // We only want to sort the groups of the current grouping criteria
92
94
  if (cellParams1.rowNode.groupingField === groupedByColDef.field && cellParams2.rowNode.groupingField === groupedByColDef.field) {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.5
1
+ /** @license MUI v5.17.7
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.
@@ -58,6 +58,7 @@ var getLeafProperties = function getLeafProperties(leafColDef) {
58
58
  headerName: (_leafColDef$headerNam = leafColDef.headerName) != null ? _leafColDef$headerNam : leafColDef.field,
59
59
  sortable: leafColDef.sortable,
60
60
  filterable: leafColDef.filterable,
61
+ valueOptions: leafColDef.valueOptions,
61
62
  filterOperators: (_leafColDef$filterOpe = leafColDef.filterOperators) == null ? void 0 : _leafColDef$filterOpe.map(function (operator) {
62
63
  return _extends({}, operator, {
63
64
  getApplyFilterFn: function getApplyFilterFn(filterItem, column) {
@@ -90,6 +91,7 @@ var getGroupingCriteriaProperties = function getGroupingCriteriaProperties(group
90
91
  var properties = {
91
92
  sortable: groupedByColDef.sortable,
92
93
  filterable: groupedByColDef.filterable,
94
+ valueOptions: groupedByColDef.valueOptions,
93
95
  sortComparator: function sortComparator(v1, v2, cellParams1, cellParams2) {
94
96
  // We only want to sort the groups of the current grouping criteria
95
97
  if (cellParams1.rowNode.groupingField === groupedByColDef.field && cellParams2.rowNode.groupingField === groupedByColDef.field) {
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.5
1
+ /** @license MUI v5.17.7
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 = "MTY2NDQyMDQwMDAwMA==";
3
+ var releaseInfo = "MTY2NTYwMTIwMDAwMA==";
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).
@@ -54,6 +54,7 @@ const getLeafProperties = leafColDef => ({
54
54
  headerName: leafColDef.headerName ?? leafColDef.field,
55
55
  sortable: leafColDef.sortable,
56
56
  filterable: leafColDef.filterable,
57
+ valueOptions: leafColDef.valueOptions,
57
58
  filterOperators: leafColDef.filterOperators?.map(operator => _extends({}, operator, {
58
59
  getApplyFilterFn: (filterItem, column) => {
59
60
  const originalFn = operator.getApplyFilterFn(filterItem, column);
@@ -81,6 +82,7 @@ const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
81
82
  const properties = {
82
83
  sortable: groupedByColDef.sortable,
83
84
  filterable: groupedByColDef.filterable,
85
+ valueOptions: groupedByColDef.valueOptions,
84
86
  sortComparator: (v1, v2, cellParams1, cellParams2) => {
85
87
  // We only want to sort the groups of the current grouping criteria
86
88
  if (cellParams1.rowNode.groupingField === groupedByColDef.field && cellParams2.rowNode.groupingField === groupedByColDef.field) {
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.5
1
+ /** @license MUI v5.17.7
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 = "MTY2NDQyMDQwMDAwMA==";
3
+ const releaseInfo = "MTY2NTYwMTIwMDAwMA==";
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).
@@ -79,6 +79,7 @@ const getLeafProperties = leafColDef => {
79
79
  headerName: (_leafColDef$headerNam = leafColDef.headerName) != null ? _leafColDef$headerNam : leafColDef.field,
80
80
  sortable: leafColDef.sortable,
81
81
  filterable: leafColDef.filterable,
82
+ valueOptions: leafColDef.valueOptions,
82
83
  filterOperators: (_leafColDef$filterOpe = leafColDef.filterOperators) == null ? void 0 : _leafColDef$filterOpe.map(operator => (0, _extends2.default)({}, operator, {
83
84
  getApplyFilterFn: (filterItem, column) => {
84
85
  const originalFn = operator.getApplyFilterFn(filterItem, column);
@@ -109,6 +110,7 @@ const getGroupingCriteriaProperties = (groupedByColDef, applyHeaderName) => {
109
110
  const properties = {
110
111
  sortable: groupedByColDef.sortable,
111
112
  filterable: groupedByColDef.filterable,
113
+ valueOptions: groupedByColDef.valueOptions,
112
114
  sortComparator: (v1, v2, cellParams1, cellParams2) => {
113
115
  // We only want to sort the groups of the current grouping criteria
114
116
  if (cellParams1.rowNode.groupingField === groupedByColDef.field && cellParams2.rowNode.groupingField === groupedByColDef.field) {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.17.5
1
+ /** @license MUI v5.17.7
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 = "MTY2NDQyMDQwMDAwMA==";
11
+ const releaseInfo = "MTY2NTYwMTIwMDAwMA==";
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.17.5",
3
+ "version": "5.17.7",
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,8 +33,8 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.18.9",
35
35
  "@mui/utils": "^5.10.3",
36
- "@mui/x-data-grid": "5.17.5",
37
- "@mui/x-data-grid-pro": "5.17.5",
36
+ "@mui/x-data-grid": "5.17.7",
37
+ "@mui/x-data-grid-pro": "5.17.7",
38
38
  "@mui/x-license-pro": "5.17.0",
39
39
  "@types/format-util": "^1.0.2",
40
40
  "clsx": "^1.2.1",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTY2NDQyMDQwMDAwMA==";
3
+ const releaseInfo = "MTY2NTYwMTIwMDAwMA==";
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).