@mui/x-data-grid-premium 6.17.0 → 6.18.0
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 +61 -0
- package/DataGridPremium/DataGridPremium.js +6 -0
- package/hooks/features/rowGrouping/gridRowGroupingUtils.d.ts +2 -2
- package/index.js +1 -1
- package/legacy/DataGridPremium/DataGridPremium.js +6 -0
- package/legacy/index.js +1 -1
- package/legacy/utils/releaseInfo.js +1 -1
- package/models/gridApiPremium.d.ts +2 -1
- package/modern/DataGridPremium/DataGridPremium.js +6 -0
- package/modern/index.js +1 -1
- package/modern/utils/releaseInfo.js +1 -1
- package/node/DataGridPremium/DataGridPremium.js +6 -0
- package/node/index.js +1 -1
- package/node/utils/releaseInfo.js +1 -1
- package/package.json +4 -4
- package/utils/releaseInfo.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,67 @@
|
|
|
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.18.0
|
|
7
|
+
|
|
8
|
+
_Nov 3, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 The Charts package is now officially stable!
|
|
13
|
+
- 🥧 Pie charts are now animated.
|
|
14
|
+
- 📈 Line charts now support partial data, and can interpolate missing data.
|
|
15
|
+
|
|
16
|
+
<img width="380" alt="line charts with partial data" src="https://github.com/mui/mui-x/assets/45398769/385ecf77-19b2-4a03-8aef-5d547db1d9ad">
|
|
17
|
+
|
|
18
|
+
- ✨ Allow to ignore [diacritics](https://en.wikipedia.org/wiki/Diacritic) when filtering
|
|
19
|
+
- 📚 Documentation improvements
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@6.18.0`
|
|
24
|
+
|
|
25
|
+
- [DataGrid] Allow to ignore [diacritics](https://en.wikipedia.org/wiki/Diacritic) when filtering (#10569) @cherniavskii
|
|
26
|
+
- [DataGrid] Fix a typo in `gridFilterApi` (#10786) @vu-dao-93
|
|
27
|
+
- [DataGrid] Fix `undefined` row id (#10670) @romgrk
|
|
28
|
+
- [DataGrid] Make column autosizing work with dynamic row height (#10693) @cherniavskii
|
|
29
|
+
- [l10n] Allow to customize sorting label per column (#10839) @JerryWu1234
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid-pro@6.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
32
|
+
|
|
33
|
+
Same changes as in `@mui/x-data-grid@6.18.0`.
|
|
34
|
+
|
|
35
|
+
#### `@mui/x-data-grid-premium@6.18.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
36
|
+
|
|
37
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.0`.
|
|
38
|
+
|
|
39
|
+
### Date Pickers
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers@6.18.0`
|
|
42
|
+
|
|
43
|
+
- [pickers] Add reference links to calendar components (#10644) @michelengelen
|
|
44
|
+
|
|
45
|
+
#### `@mui/x-date-pickers-pro@6.18.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
46
|
+
|
|
47
|
+
Same changes as in `@mui/x-date-pickers@6.18.0`.
|
|
48
|
+
|
|
49
|
+
### Charts / `@mui/x-charts@6.18.0`
|
|
50
|
+
|
|
51
|
+
- [charts] Add animation on pie chart (#10782) @alexfauquette
|
|
52
|
+
- [charts] Add reference links to shared/misc chart components (#10660) @michelengelen
|
|
53
|
+
- [charts] Allows to connect nulls (#10803) @alexfauquette
|
|
54
|
+
- [charts] Fix axis highlight in dark mode (#10820) @LukasTy
|
|
55
|
+
|
|
56
|
+
### Docs
|
|
57
|
+
|
|
58
|
+
- [docs] Add a data grid recipe for autosizing columns after fetching row-data (#10822) @michelengelen
|
|
59
|
+
- [docs] Add a data grid recipe showing how to remove cell outline on `focus` (#10843) @michelengelen
|
|
60
|
+
- [docs] Add demo about how to use charts margin (#10886) @alexfauquette
|
|
61
|
+
- [docs] Improve custom field input demos readability (#10559) @LukasTy
|
|
62
|
+
|
|
63
|
+
### Core
|
|
64
|
+
|
|
65
|
+
- [core] Generate `slot` API descriptions based on `slots` or `components` (#10879) @LukasTy
|
|
66
|
+
|
|
6
67
|
## 6.17.0
|
|
7
68
|
|
|
8
69
|
_Oct 27, 2023_
|
|
@@ -428,6 +428,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
428
428
|
* @default false
|
|
429
429
|
*/
|
|
430
430
|
hideFooterSelectedRowCount: PropTypes.bool,
|
|
431
|
+
/**
|
|
432
|
+
* If `true`, the diacritics (accents) are ignored when filtering or quick filtering.
|
|
433
|
+
* E.g. when filter value is `cafe`, the rows with `café` will be visible.
|
|
434
|
+
* @default false
|
|
435
|
+
*/
|
|
436
|
+
ignoreDiacritics: PropTypes.bool,
|
|
431
437
|
/**
|
|
432
438
|
* The initial state of the DataGridPremium.
|
|
433
439
|
* The data in it is set in the state on initialization but isn't controlled.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GridRowId, GridRowTreeConfig, GridFilterState, GridFilterModel, GridRowModel, GridColDef, GridKeyValue } from '@mui/x-data-grid-pro';
|
|
3
|
-
import { GridAggregatedFilterItemApplier, GridColumnRawLookup
|
|
3
|
+
import { GridAggregatedFilterItemApplier, GridColumnRawLookup } from '@mui/x-data-grid-pro/internals';
|
|
4
4
|
import { DataGridPremiumProcessedProps } from '../../../models/dataGridPremiumProps';
|
|
5
5
|
import { GridGroupingRule, GridGroupingRules, GridRowGroupingModel } from './gridRowGroupingInterfaces';
|
|
6
6
|
import { GridStatePremium } from '../../../models/gridStatePremium';
|
|
@@ -14,7 +14,7 @@ interface FilterRowTreeFromTreeDataParams {
|
|
|
14
14
|
rowTree: GridRowTreeConfig;
|
|
15
15
|
isRowMatchingFilters: GridAggregatedFilterItemApplier | null;
|
|
16
16
|
filterModel: GridFilterModel;
|
|
17
|
-
apiRef: React.MutableRefObject<
|
|
17
|
+
apiRef: React.MutableRefObject<GridPrivateApiPremium>;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* A leaf is visible if it passed the filter
|
package/index.js
CHANGED
|
@@ -428,6 +428,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
428
428
|
* @default false
|
|
429
429
|
*/
|
|
430
430
|
hideFooterSelectedRowCount: PropTypes.bool,
|
|
431
|
+
/**
|
|
432
|
+
* If `true`, the diacritics (accents) are ignored when filtering or quick filtering.
|
|
433
|
+
* E.g. when filter value is `cafe`, the rows with `café` will be visible.
|
|
434
|
+
* @default false
|
|
435
|
+
*/
|
|
436
|
+
ignoreDiacritics: PropTypes.bool,
|
|
431
437
|
/**
|
|
432
438
|
* The initial state of the DataGridPremium.
|
|
433
439
|
* The data in it is set in the state on initialization but isn't controlled.
|
package/legacy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export var getReleaseInfo = function getReleaseInfo() {
|
|
3
|
-
var releaseInfo = "
|
|
3
|
+
var releaseInfo = "MTY5ODk2NjAwMDAwMA==";
|
|
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,11 +3,12 @@ import { GridApiCommon, GridColumnPinningApi, GridColumnResizeApi, GridDetailPan
|
|
|
3
3
|
import { GridInitialStatePremium, GridStatePremium } from './gridStatePremium';
|
|
4
4
|
import type { GridRowGroupingApi, GridExcelExportApi, GridAggregationApi } from '../hooks';
|
|
5
5
|
import { GridCellSelectionApi } from '../hooks/features/cellSelection/gridCellSelectionInterfaces';
|
|
6
|
+
import type { DataGridPremiumProcessedProps } from './dataGridPremiumProps';
|
|
6
7
|
/**
|
|
7
8
|
* The api of `DataGridPremium`.
|
|
8
9
|
* TODO: Do not redefine manually the pro features
|
|
9
10
|
*/
|
|
10
11
|
export interface GridApiPremium extends GridApiCommon<GridStatePremium, GridInitialStatePremium>, GridRowProApi, GridColumnPinningApi, GridColumnResizeApi, GridDetailPanelApi, GridRowGroupingApi, GridExcelExportApi, GridAggregationApi, GridRowPinningApi, GridCellSelectionApi, GridRowMultiSelectionApi, GridColumnReorderApi {
|
|
11
12
|
}
|
|
12
|
-
export interface GridPrivateApiPremium extends GridApiPremium, GridPrivateOnlyApiCommon<GridApiPremium, GridPrivateApiPremium>, GridDetailPanelPrivateApi {
|
|
13
|
+
export interface GridPrivateApiPremium extends GridApiPremium, GridPrivateOnlyApiCommon<GridApiPremium, GridPrivateApiPremium, DataGridPremiumProcessedProps>, GridDetailPanelPrivateApi {
|
|
13
14
|
}
|
|
@@ -428,6 +428,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
428
428
|
* @default false
|
|
429
429
|
*/
|
|
430
430
|
hideFooterSelectedRowCount: PropTypes.bool,
|
|
431
|
+
/**
|
|
432
|
+
* If `true`, the diacritics (accents) are ignored when filtering or quick filtering.
|
|
433
|
+
* E.g. when filter value is `cafe`, the rows with `café` will be visible.
|
|
434
|
+
* @default false
|
|
435
|
+
*/
|
|
436
|
+
ignoreDiacritics: PropTypes.bool,
|
|
431
437
|
/**
|
|
432
438
|
* The initial state of the DataGridPremium.
|
|
433
439
|
* The data in it is set in the state on initialization but isn't controlled.
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
|
|
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
|
|
@@ -436,6 +436,12 @@ process.env.NODE_ENV !== "production" ? DataGridPremiumRaw.propTypes = {
|
|
|
436
436
|
* @default false
|
|
437
437
|
*/
|
|
438
438
|
hideFooterSelectedRowCount: _propTypes.default.bool,
|
|
439
|
+
/**
|
|
440
|
+
* If `true`, the diacritics (accents) are ignored when filtering or quick filtering.
|
|
441
|
+
* E.g. when filter value is `cafe`, the rows with `café` will be visible.
|
|
442
|
+
* @default false
|
|
443
|
+
*/
|
|
444
|
+
ignoreDiacritics: _propTypes.default.bool,
|
|
439
445
|
/**
|
|
440
446
|
* The initial state of the DataGridPremium.
|
|
441
447
|
* The data in it is set in the state on initialization but isn't controlled.
|
package/node/index.js
CHANGED
|
@@ -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 = "
|
|
9
|
+
const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
|
|
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-premium",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.18.0",
|
|
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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
|
-
"@mui/utils": "^5.14.
|
|
36
|
-
"@mui/x-data-grid": "6.
|
|
37
|
-
"@mui/x-data-grid-pro": "6.
|
|
35
|
+
"@mui/utils": "^5.14.16",
|
|
36
|
+
"@mui/x-data-grid": "6.18.0",
|
|
37
|
+
"@mui/x-data-grid-pro": "6.18.0",
|
|
38
38
|
"@mui/x-license-pro": "6.10.2",
|
|
39
39
|
"@types/format-util": "^1.0.3",
|
|
40
40
|
"clsx": "^2.0.0",
|
package/utils/releaseInfo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTY5ODk2NjAwMDAwMA==";
|
|
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
|