@mui/x-data-grid-generator 6.3.1 → 6.5.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 CHANGED
@@ -3,6 +3,119 @@
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
+ ## v6.5.0
7
+
8
+ _May 19, 2023_
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
+ - 💫 Introduce filtering on column headers for `DataGridPro` and `DataGridPremium`:
13
+
14
+ https://github.com/mui/mui-x/assets/12609561/c4c2bfec-59cf-4cab-932d-dc1983081de9
15
+
16
+ See [the documentation](https://mui.com/x/react-data-grid/filtering/#header-filters) for more information
17
+
18
+ - 🌍 Improve Hebrew (he-IL) and Czech (cs-CZ) locales
19
+ - 📝 Support for editing on pinned rows
20
+ - 🚀 Performance improvements
21
+ - 🐞 Bugfixes
22
+ - 📚 Documentation improvements
23
+
24
+ ### `@mui/x-data-grid@6.5.0` / `@mui/x-data-grid-pro@6.5.0` / `@mui/x-data-grid-premium@6.5.0`
25
+
26
+ #### Changes
27
+
28
+ - [DataGrid] Fix grid size calculation when `.MuiDataGrid-main` has border (#8882) @cherniavskii
29
+ - [DataGridPro] Filtering on Column Header (#7760) @MBilalShafi
30
+ - [DataGridPro] Improve `treeData` and `rowGrouping` performance (#8990) @MBilalShafi
31
+ - [DataGridPro] Support pinned rows editing (#8921) @cherniavskii
32
+ - [l10n] Improve Hebrew (he-IL) locale (#8943) @Itzik-Tech
33
+ - [l10n] Improve Czech (cs-CZ) locale (#8829) @harastaivan
34
+ - [l10n] Improve Czech (cs-CZ) locale (#8956) @davidzemancz
35
+
36
+ ### `@mui/x-date-pickers@6.5.0` / `@mui/x-date-pickers-pro@6.5.0`
37
+
38
+ #### Changes
39
+
40
+ - [fields] Select the first section instead of last when clicking right of content (#9005) @noraleonte
41
+ - [fields] Refactor prop drilling in fields (#8660) @flaviendelangle
42
+ - [pickers] Allow to render the months before `currentMonth` instead of the one after (#8592) @flaviendelangle
43
+ - [pickers] Fix view management when `openTo` or `views` is modified (#8997) @alexfauquette
44
+ - [l10n] Improve Czech (cs-CZ) locale (#8829) @harastaivan
45
+
46
+ ### Docs
47
+
48
+ - [docs] Clarify what Controlled / Uncontrolled means (#8926) @flaviendelangle
49
+ - [docs] Fix docs using wrong service worker (#9030) @cherniavskii
50
+ - [docs] Remove prop-types from JS demos (#9008) @flaviendelangle
51
+
52
+ ### Core
53
+
54
+ - [core] Add assertion about checkbox rerenders (#8974) @oliviertassinari
55
+ - [core] Allow selecting a section by type in field tests (#9009) @flaviendelangle
56
+ - [core] Fix `yarn.lock` (#8988) @flaviendelangle
57
+ - [core] Fix flacky adapter test (#8995) @flaviendelangle
58
+ - [charts] Clean the axis rendering (#8948) @alexfauquette
59
+ - [DataGrid] Memoize root props for better performance (#8942) @romgrk
60
+ - [test] Skip flaky unit tests in JSDOM (#8994) @cherniavskii
61
+
62
+ ## v6.4.0
63
+
64
+ _May 12, 2023_
65
+
66
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
67
+
68
+ - 🎁 Introduce clipboard paste support for `DataGridPremium`:
69
+
70
+ https://github.com/mui/mui-x/assets/13808724/abfcb5c6-9db6-4677-9ba7-ae97de441080
71
+
72
+ See [the documentation](https://mui.com/x/react-data-grid/clipboard/#clipboard-paste) for more information
73
+
74
+ - 🌍 Improve French (fr-FR), German (de-DE), Portuguese (pt-BR) and Ukrainian (uk-UA) locales on the data grid
75
+ - 🌍 Add Slovak (sk-SK) locale on the pickers
76
+ - 🐞 Bugfixes
77
+ - 📚 Documentation improvements
78
+
79
+ ### `@mui/x-data-grid@v6.4.0` / `@mui/x-data-grid-pro@v6.4.0` / `@mui/x-data-grid-premium@v6.4.0`
80
+
81
+ #### Changes
82
+
83
+ - [DataGrid] Fix DataGrid rendering in JSDOM (#8968) @cherniavskii
84
+ - [DataGrid] Fix layout when rendered inside a parent with `display: grid` (#8577) @cherniavskii
85
+ - [DataGrid] Add Joy UI icon slots (#8940) @siriwatknp
86
+ - [DataGrid] Add Joy UI pagination slot (#8871) @cherniavskii
87
+ - [DataGrid] Extract `baseChip` slot (#8748) @cherniavskii
88
+ - [DataGridPremium] Implement Clipboard import (#7389) @cherniavskii
89
+ - [l10n] Improve French (fr-FR) locale (#8825) @vallereaugabriel
90
+ - [l10n] Improve German (de-DE) locale (#8898) @marcauberer
91
+ - [l10n] Improve Portuguese (pt-BR) locale (#8960) @Sorriso337
92
+ - [l10n] Improve Ukrainian (uk-UA) locale (#8863) @Neonin
93
+
94
+ ### `@mui/x-date-pickers@v6.4.0` / `@mui/x-date-pickers-pro@v6.4.0`
95
+
96
+ #### Changes
97
+
98
+ - [pickers] Fix trailing zeros inconsistency in `LuxonAdapter` (#8955) @alexfauquette
99
+ - [pickers] Stop using deprecated adapter methods (#8735) @flaviendelangle
100
+ - [pickers] Strictly type the `adapterLocale` prop of `LocalizationProvider` (#8780) @flaviendelangle
101
+ - [l10n] Add Slovak (sk-SK) locale (#8875) @MatejFacko
102
+
103
+ ### Docs
104
+
105
+ - [docs] Fix date pickers typo in the docs (#8939) @richbustos
106
+ - [docs] Fix master detail demo (#8894) @m4theushw
107
+ - [docs] Fix typo in clipboard docs (#8971) @MBilalShafi
108
+ - [docs] Reduce list of dependencies in Codesandbox/Stackblitz demos (#8535) @cherniavskii
109
+
110
+ ### Core
111
+
112
+ - [core] Improve testing of the adapters (#8789) @flaviendelangle
113
+ - [core] Update license key for tests (#8917) @LukasTy
114
+ - [charts] Make introduction docs pages for each chart (#8869) @alexfauquette
115
+ - [charts] Document Tooltip and Highlighs (#8867) @alexfauquette
116
+ - [test] Cover row grouping regression with a unit test (#8870) @cherniavskii
117
+ - [test] Fix flaky regression tests (#8954) @cherniavskii
118
+
6
119
  ## 6.3.1
7
120
 
8
121
  _May 5, 2023_
@@ -69,9 +69,11 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
69
69
  disableReorder?: boolean | undefined;
70
70
  disableExport?: boolean | undefined;
71
71
  colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
72
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
72
73
  aggregable?: boolean | undefined;
73
74
  availableAggregationFunctions?: string[] | undefined;
74
75
  groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
76
+ pastedValueParser?: ((value: string, params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => any) | undefined;
75
77
  generateData?: ((row: any, context: import("..").GridDataGeneratorContext) => any) | undefined;
76
78
  dataGeneratorUniquenessEnabled?: boolean | undefined;
77
79
  hide?: boolean | undefined;
@@ -114,9 +116,11 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
114
116
  disableReorder?: boolean | undefined;
115
117
  disableExport?: boolean | undefined;
116
118
  colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
119
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
117
120
  aggregable?: boolean | undefined;
118
121
  availableAggregationFunctions?: string[] | undefined;
119
122
  groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
123
+ pastedValueParser?: ((value: string, params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => any) | undefined;
120
124
  generateData?: ((row: any, context: import("..").GridDataGeneratorContext) => any) | undefined;
121
125
  dataGeneratorUniquenessEnabled?: boolean | undefined;
122
126
  hide?: boolean | undefined;
@@ -161,9 +165,11 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
161
165
  disableReorder?: boolean | undefined;
162
166
  disableExport?: boolean | undefined;
163
167
  colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
168
+ renderHeaderFilter?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
164
169
  aggregable?: boolean | undefined;
165
170
  availableAggregationFunctions?: string[] | undefined;
166
171
  groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
172
+ pastedValueParser?: ((value: string, params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => any) | undefined;
167
173
  generateData?: ((row: any, context: import("..").GridDataGeneratorContext) => any) | undefined;
168
174
  dataGeneratorUniquenessEnabled?: boolean | undefined;
169
175
  hide?: boolean | undefined;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.3.1
2
+ * @mui/x-data-grid-generator v6.5.0
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-generator v6.3.1
2
+ * @mui/x-data-grid-generator v6.5.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.3.1
2
+ * @mui/x-data-grid-generator v6.5.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.3.1
2
+ * @mui/x-data-grid-generator v6.5.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-generator",
3
- "version": "6.3.1",
3
+ "version": "6.5.0",
4
4
  "description": "Generate fake data for demo purposes only.",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.21.0",
23
- "@mui/base": "^5.0.0-alpha.128",
24
- "@mui/x-data-grid-premium": "6.3.1",
23
+ "@mui/base": "^5.0.0-beta.0",
24
+ "@mui/x-data-grid-premium": "6.5.0",
25
25
  "chance": "^1.1.11",
26
26
  "clsx": "^1.2.1",
27
27
  "lru-cache": "^7.18.3"