Skip to content

Commit a316c76

Browse files
authored
v4.0.0-alpha.33 (#2009)
1 parent 33b6863 commit a316c76

File tree

10 files changed

+102
-14
lines changed

10 files changed

+102
-14
lines changed

CHANGELOG.md

+88
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,94 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [4.0.0-alpha.33](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.32...v4.0.0-alpha.33)
7+
8+
_July 1, 2021_
9+
10+
Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
11+
12+
- 🐞 As a focus of Q2, we have kept fixing bugs
13+
- 💅 End users are now allowed to copy the selected rows to the clipboard with <kbd>CTRL</kbd> + <kbd>c</kbd> (#1929) @m4theushw
14+
- 🐛 We have fixed the `Select all` checkbox. When triggered, it should only select the filtered rows (#1879) @ZeeshanTamboli
15+
- ⚡️ We have added a new `singleSelect` column type (#1956) @DanailH
16+
17+
Using the column `type: 'singleSelect'` defaults to `Select` component when the cell is in `edit` mode. You can find the documentation [following this link](https://material-ui.com/components/data-grid/columns/#column-types).
18+
19+
```jsx
20+
<DataGrid
21+
columns={[
22+
{
23+
field: 'country',
24+
type: 'singleSelect',
25+
valueOptions: ['France', 'Netherlands', 'Brazil'],
26+
editable: true,
27+
}
28+
]}
29+
rows={[
30+
{ id: 0, country: 'France' },
31+
{ id: 1, country: 'Netherlands' },
32+
{ id: 2, country: 'Brazil' },
33+
]}
34+
/>
35+
```
36+
37+
### @material-ui/x-grid@v4.0.0-alpha.33 / @material-ui/data-grid@v4.0.0-alpha.33
38+
39+
#### Breaking changes
40+
41+
- [DataGrid] Rename `onColumnResizeCommitted` to `onColumnWidthChange` (#1967) @m4theushw
42+
43+
```diff
44+
-<DataGrid onColumnResizeCommitted={...} />
45+
+<DataGrid onColumnWidthChange={...} />
46+
```
47+
48+
- [DataGrid] Make GRID_ROWS_CLEAR private (#1925) @oliviertassinari
49+
50+
The `rowsCleared` event was always triggered alongside `rowsSet`. You can listen to the latter event only.
51+
52+
- [DataGrid] Fix events naming (#1862) @m4theushw
53+
54+
The following `XGrid` events were renamed:
55+
56+
- `columnHeaderNavigationKeydown` to `columnHeaderNavigationKeyDown`
57+
- `columnResizeCommitted` to `columnWidthChange`
58+
- `rowsUpdated` to `rowsUpdate`
59+
- `columnsUpdated` to `columnsChange`
60+
61+
The following `XGrid` DOM events were removed:
62+
63+
- `focusout`
64+
- `keydown`
65+
- `keyup`
66+
67+
#### Changes
68+
69+
- [DataGrid] Add fallback for pagination translations (#2006) @m4theushw
70+
- [DataGrid] Add single select column type (#1956) @DanailH
71+
- [DataGrid] Allow to copy the selected rows to the clipboard (#1929) @m4theushw
72+
- [DataGrid] Improve the logic of `scrollToIndexes` (#1969) @oliviertassinari
73+
- [DataGrid] Fix deferred rendering race condition (#1807) @dtassone
74+
- [DataGrid] Fix double-click issue (#1919) @oliviertassinari
75+
- [DataGrid] Fix number edit cell output (#1959) @oliviertassinari
76+
- [DataGrid] Fix offscreen row when calling `scrollToIndexes` (#1949) @oliviertassinari
77+
- [DataGrid] Ignore drag events when disableColumnReorder is true (#1952) @m4theushw
78+
- [DataGrid] `Select all` checkbox click should select only filtered rows (#1879) @ZeeshanTamboli
79+
- [XGrid] Add option to select only visible rows on the current page (#1998) @DanailH
80+
81+
### Docs
82+
83+
- [docs] Align docs with EULA (source of truth) (#1963) @oliviertassinari
84+
- [docs] Fix changing Dataset not working (#1965) @m4theushw
85+
- [docs] Fix description of union types (#2003) @m4theushw
86+
87+
### Core
88+
89+
- [core] Polish filtering internals (#1760) @ZeeshanTamboli
90+
- [core] Upgrade actions-cool/issues-helper (#1962) @oliviertassinari
91+
- [core] Name variables according to enUS instead of enGB (#1988) @flaviendelangle
92+
- [test] Test vertical scrollbar (#1932) @oliviertassinari
93+
694
## [4.0.0-alpha.32](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.31...v4.0.0-alpha.32)
795

896
_June 18, 2021_

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"private": true,
55
"author": "Material-UI Team",
66
"license": "MIT",

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.0.0-alpha.32",
2+
"version": "4.0.0-alpha.33",
33
"npmClient": "yarn",
44
"useWorkspaces": true
55
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.0.0-alpha.32",
2+
"version": "4.0.0-alpha.33",
33
"private": true,
44
"scripts": {
55
"start": "yarn docs:dev",

packages/eslint-plugin-material-ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-material-ui",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"private": true,
55
"description": "Custom eslint rules for Material-UI.",
66
"main": "src/index.js",

packages/grid/data-grid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/data-grid",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"description": "The community edition of the data grid component (Material-UI X).",
55
"author": "Material-UI Team",
66
"main": "dist/index-cjs.js",

packages/grid/x-grid-data-generator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/x-grid-data-generator",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"description": "Generate fake data for demo purposes only.",
55
"author": "Material-UI Team",
66
"main": "dist/cjs/index.js",

packages/grid/x-grid/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/x-grid",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"description": "The commercial edition of the data grid component (Material-UI X).",
55
"author": "Material-UI Team",
66
"main": "dist/index-cjs.js",
@@ -31,7 +31,7 @@
3131
},
3232
"dependencies": {
3333
"@material-ui/utils": "^5.0.0-alpha.14",
34-
"@material-ui/x-license": "4.0.0-alpha.32",
34+
"@material-ui/x-license": "4.0.0-alpha.33",
3535
"clsx": "^1.0.4",
3636
"prop-types": "^15.7.2",
3737
"reselect": "^4.0.0"

packages/storybook/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybook",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"description": "Storybook components",
55
"author": "Material-UI Team",
66
"private": true,
@@ -12,12 +12,12 @@
1212
},
1313
"dependencies": {
1414
"@material-ui/core": "^4.9.12",
15-
"@material-ui/data-grid": "4.0.0-alpha.32",
15+
"@material-ui/data-grid": "4.0.0-alpha.33",
1616
"@material-ui/icons": "^4.9.1",
1717
"@material-ui/lab": "^4.0.0-alpha.54",
18-
"@material-ui/x-grid": "4.0.0-alpha.32",
19-
"@material-ui/x-grid-data-generator": "4.0.0-alpha.32",
20-
"@material-ui/x-license": "4.0.0-alpha.32",
18+
"@material-ui/x-grid": "4.0.0-alpha.33",
19+
"@material-ui/x-grid-data-generator": "4.0.0-alpha.33",
20+
"@material-ui/x-license": "4.0.0-alpha.33",
2121
"react": "^17.0.2",
2222
"react-is": "^17.0.2",
2323
"rxjs": "^7.0.0",

packages/x-license/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@material-ui/x-license",
3-
"version": "4.0.0-alpha.32",
3+
"version": "4.0.0-alpha.33",
44
"description": "Material-UI X License verification",
55
"author": "Material-UI Team",
66
"main": "dist/cjs/index.js",

0 commit comments

Comments
 (0)