@mui/x-data-grid-pro 6.18.7 → 6.19.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,77 @@
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
+ ## 6.19.1
7
+
8
+ _Jan 19, 2024_
9
+
10
+ We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
13
+ - 🐞 Bugfixes
14
+
15
+ ### Data Grid
16
+
17
+ #### `@mui/x-data-grid@6.19.1`
18
+
19
+ - [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
20
+
21
+ #### `@mui/x-data-grid-pro@6.19.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
22
+
23
+ Same changes as in `@mui/x-data-grid@6.19.1`.
24
+
25
+ #### `@mui/x-data-grid-premium@6.19.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
26
+
27
+ Same changes as in `@mui/x-data-grid-pro@6.19.1`.
28
+
29
+ ### Charts / `@mui/x-charts@6.19.1`
30
+
31
+ - [charts] Add `arcLabelRadius` property (#11563) @alexfauquette
32
+ - [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11719) @alexfauquette
33
+ - [charts] Fix default `stackOffset` for `LineChart` (#11703) @alexfauquette
34
+
35
+ ## 6.19.0
36
+
37
+ _Jan 11, 2024_
38
+
39
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
40
+
41
+ - ⏰ Support date-fns v3 (#11659) @LukasTy
42
+ Pickers support both v2 and v3 of date-fns. For v3 use `AdapterDateFnsV3`.
43
+ ```js
44
+ // with date-fns v2.x
45
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
46
+ import de from 'date-fns/locale/de';
47
+ ```
48
+ ```js
49
+ // with date-fns v3.x
50
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
51
+ import { de } from 'date-fns/locale/de';
52
+ ```
53
+
54
+ ### Date Pickers
55
+
56
+ #### `@mui/x-date-pickers@6.19.0`
57
+
58
+ - [pickers] Add date-fns@3.x adapter (#11659) @LukasTy
59
+ - [pickers] Fix clearable behavior blocking focus return to `OpenPickerButton` (#11643) @noraleonte
60
+ - [l10n] Add missing Danish (da-DK) locale export (#11641) @etlos
61
+
62
+ #### `@mui/x-date-pickers-pro@6.19.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
63
+
64
+ Same changes as in `@mui/x-date-pickers@6.19.0`.
65
+
66
+ ### Docs
67
+
68
+ - [docs] Add missing component @oliviertassinari
69
+ - [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11637) @LukasTy
70
+ - [docs] Push up the MUI X brand (#11533) @oliviertassinari
71
+ - [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
72
+ - [docs] Add demo to the charts overview page (#11586) @danilo-leal
73
+ - [docs] Fix 404 links in the docs @oliviertassinari
74
+ - [docs] Improve landing page (#11570) @oliviertassinari
75
+ - [docs] Give a general revision to the docs (#11249) @danilo-leal
76
+
6
77
  ## 6.18.7
7
78
 
8
79
  _Jan 5, 2024_
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.7
2
+ * @mui/x-data-grid-pro v6.19.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.7
2
+ * @mui/x-data-grid-pro v6.19.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';
2
2
  export var getReleaseInfo = function getReleaseInfo() {
3
- var releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ var releaseInfo = "MTcwNTYxODgwMDAwMA==";
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
@@ -3,37 +3,37 @@ interface GetRowsParams {
3
3
  sortModel: GridSortModel;
4
4
  filterModel: GridFilterModel;
5
5
  /**
6
- * Alternate to `start` and `end`, maps to `GridPaginationModel` interface
6
+ * Alternate to `start` and `end`, maps to `GridPaginationModel` interface.
7
7
  */
8
8
  paginationModel: GridPaginationModel;
9
9
  /**
10
- * First row index to fetch (number) or cursor information (number | string)
10
+ * First row index to fetch (number) or cursor information (number | string).
11
11
  */
12
12
  start: number | string;
13
13
  /**
14
- * Last row index to fetch
14
+ * Last row index to fetch.
15
15
  */
16
16
  end: number;
17
17
  /**
18
18
  * Array of keys returned by `getGroupKey` of all the parent rows until the row for which the data is requested
19
- * `getGroupKey` prop must be implemented to use this
20
- * Useful for `treeData` and `rowGrouping` only
19
+ * `getGroupKey` prop must be implemented to use this.
20
+ * Useful for `treeData` and `rowGrouping` only.
21
21
  */
22
22
  groupKeys: string[];
23
23
  /**
24
- * List of grouped columns (only applicable with `rowGrouping`)
24
+ * List of grouped columns (only applicable with `rowGrouping`).
25
25
  */
26
26
  groupFields: GridColDef['field'][];
27
27
  }
28
28
  interface GetRowsResponse {
29
29
  rows: GridRowModel[];
30
30
  /**
31
- * To reflect updates in total `rowCount` (optional)
32
- * Useful when the `rowCount` is inaccurate (e.g. when filtering) or not available upfront
31
+ * To reflect updates in total `rowCount` (optional).
32
+ * Useful when the `rowCount` is inaccurate (e.g. when filtering) or not available upfront.
33
33
  */
34
34
  rowCount?: number;
35
35
  /**
36
- * Additional `pageInfo` to help the grid determine if there are more rows to fetch (corner-cases)
36
+ * Additional `pageInfo` to help the grid determine if there are more rows to fetch (corner-cases).
37
37
  * `hasNextPage`: When row count is unknown/inaccurate, if `truncated` is set or rowCount is not known, data will keep loading until `hasNextPage` is `false`
38
38
  * `truncated`: To reflect `rowCount` is inaccurate (will trigger `x-y of many` in pagination after the count of rows fetched is greater than provided `rowCount`)
39
39
  * It could be useful with:
@@ -51,13 +51,13 @@ interface GetRowsResponse {
51
51
  }
52
52
  export interface DataSource {
53
53
  /**
54
- Fetcher Functions:
55
- - `getRows` is required
56
- - `updateRow` is optional
57
-
58
- `getRows` will be used by the grid to fetch data for the current page or children for the current parent group
59
- It may return a `rowCount` to update the total count of rows in the grid along with the optional `pageInfo`
60
- */
54
+ * Fetcher Functions:
55
+ * - `getRows` is required
56
+ * - `updateRow` is optional
57
+ *
58
+ * `getRows` will be used by the grid to fetch data for the current page or children for the current parent group.
59
+ * It may return a `rowCount` to update the total count of rows in the grid along with the optional `pageInfo`.
60
+ */
61
61
  getRows(params: GetRowsParams): Promise<GetRowsResponse>;
62
62
  updateRow?(rows: GridRowModel): Promise<any>;
63
63
  }
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-pro v6.18.7
2
+ * @mui/x-data-grid-pro v6.19.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';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ const releaseInfo = "MTcwNTYxODgwMDAwMA==";
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-data-grid-pro v6.18.7
2
+ * @mui/x-data-grid-pro v6.19.1
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 = "MTcwNDQwOTIwMDAwMA==";
9
+ const releaseInfo = "MTcwNTYxODgwMDAwMA==";
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-data-grid-pro",
3
- "version": "6.18.7",
3
+ "version": "6.19.1",
4
4
  "description": "The Pro plan edition of the data grid component (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.23.2",
35
35
  "@mui/utils": "^5.14.16",
36
- "@mui/x-data-grid": "6.18.7",
36
+ "@mui/x-data-grid": "6.19.1",
37
37
  "@mui/x-license-pro": "6.10.2",
38
38
  "@types/format-util": "^1.0.3",
39
39
  "clsx": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcwNDQwOTIwMDAwMA==";
3
+ const releaseInfo = "MTcwNTYxODgwMDAwMA==";
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