Skip to content

Commit

Permalink
v4.0.0-alpha.33 (#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanailH authored Jul 1, 2021
1 parent 33b6863 commit a316c76
Show file tree
Hide file tree
Showing 10 changed files with 102 additions and 14 deletions.
88 changes: 88 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,94 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.0.0-alpha.33](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.32...v4.0.0-alpha.33)

_July 1, 2021_

Big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

- 🐞 As a focus of Q2, we have kept fixing bugs
- 💅 End users are now allowed to copy the selected rows to the clipboard with <kbd>CTRL</kbd> + <kbd>c</kbd> (#1929) @m4theushw
- 🐛 We have fixed the `Select all` checkbox. When triggered, it should only select the filtered rows (#1879) @ZeeshanTamboli
- ⚡️ We have added a new `singleSelect` column type (#1956) @DanailH

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).

```jsx
<DataGrid
columns={[
{
field: 'country',
type: 'singleSelect',
valueOptions: ['France', 'Netherlands', 'Brazil'],
editable: true,
}
]}
rows={[
{ id: 0, country: 'France' },
{ id: 1, country: 'Netherlands' },
{ id: 2, country: 'Brazil' },
]}
/>
```

### @material-ui/x-grid@v4.0.0-alpha.33 / @material-ui/data-grid@v4.0.0-alpha.33

#### Breaking changes

- [DataGrid] Rename `onColumnResizeCommitted` to `onColumnWidthChange` (#1967) @m4theushw

```diff
-<DataGrid onColumnResizeCommitted={...} />
+<DataGrid onColumnWidthChange={...} />
```

- [DataGrid] Make GRID_ROWS_CLEAR private (#1925) @oliviertassinari

The `rowsCleared` event was always triggered alongside `rowsSet`. You can listen to the latter event only.

- [DataGrid] Fix events naming (#1862) @m4theushw

The following `XGrid` events were renamed:

- `columnHeaderNavigationKeydown` to `columnHeaderNavigationKeyDown`
- `columnResizeCommitted` to `columnWidthChange`
- `rowsUpdated` to `rowsUpdate`
- `columnsUpdated` to `columnsChange`

The following `XGrid` DOM events were removed:

- `focusout`
- `keydown`
- `keyup`

#### Changes

- [DataGrid] Add fallback for pagination translations (#2006) @m4theushw
- [DataGrid] Add single select column type (#1956) @DanailH
- [DataGrid] Allow to copy the selected rows to the clipboard (#1929) @m4theushw
- [DataGrid] Improve the logic of `scrollToIndexes` (#1969) @oliviertassinari
- [DataGrid] Fix deferred rendering race condition (#1807) @dtassone
- [DataGrid] Fix double-click issue (#1919) @oliviertassinari
- [DataGrid] Fix number edit cell output (#1959) @oliviertassinari
- [DataGrid] Fix offscreen row when calling `scrollToIndexes` (#1949) @oliviertassinari
- [DataGrid] Ignore drag events when disableColumnReorder is true (#1952) @m4theushw
- [DataGrid] `Select all` checkbox click should select only filtered rows (#1879) @ZeeshanTamboli
- [XGrid] Add option to select only visible rows on the current page (#1998) @DanailH

### Docs

- [docs] Align docs with EULA (source of truth) (#1963) @oliviertassinari
- [docs] Fix changing Dataset not working (#1965) @m4theushw
- [docs] Fix description of union types (#2003) @m4theushw

### Core

- [core] Polish filtering internals (#1760) @ZeeshanTamboli
- [core] Upgrade actions-cool/issues-helper (#1962) @oliviertassinari
- [core] Name variables according to enUS instead of enGB (#1988) @flaviendelangle
- [test] Test vertical scrollbar (#1932) @oliviertassinari

## [4.0.0-alpha.32](https://github.com/mui-org/material-ui-x/compare/v4.0.0-alpha.31...v4.0.0-alpha.32)

_June 18, 2021_
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"private": true,
"author": "Material-UI Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"private": true,
"scripts": {
"start": "yarn docs:dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-material-ui",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"private": true,
"description": "Custom eslint rules for Material-UI.",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/data-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/data-grid",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"description": "The community edition of the data grid component (Material-UI X).",
"author": "Material-UI Team",
"main": "dist/index-cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-grid-data-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/x-grid-data-generator",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"description": "Generate fake data for demo purposes only.",
"author": "Material-UI Team",
"main": "dist/cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/x-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/x-grid",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"description": "The commercial edition of the data grid component (Material-UI X).",
"author": "Material-UI Team",
"main": "dist/index-cjs.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@material-ui/utils": "^5.0.0-alpha.14",
"@material-ui/x-license": "4.0.0-alpha.32",
"@material-ui/x-license": "4.0.0-alpha.33",
"clsx": "^1.0.4",
"prop-types": "^15.7.2",
"reselect": "^4.0.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"description": "Storybook components",
"author": "Material-UI Team",
"private": true,
Expand All @@ -12,12 +12,12 @@
},
"dependencies": {
"@material-ui/core": "^4.9.12",
"@material-ui/data-grid": "4.0.0-alpha.32",
"@material-ui/data-grid": "4.0.0-alpha.33",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.54",
"@material-ui/x-grid": "4.0.0-alpha.32",
"@material-ui/x-grid-data-generator": "4.0.0-alpha.32",
"@material-ui/x-license": "4.0.0-alpha.32",
"@material-ui/x-grid": "4.0.0-alpha.33",
"@material-ui/x-grid-data-generator": "4.0.0-alpha.33",
"@material-ui/x-license": "4.0.0-alpha.33",
"react": "^17.0.2",
"react-is": "^17.0.2",
"rxjs": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-license/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@material-ui/x-license",
"version": "4.0.0-alpha.32",
"version": "4.0.0-alpha.33",
"description": "Material-UI X License verification",
"author": "Material-UI Team",
"main": "dist/cjs/index.js",
Expand Down

0 comments on commit a316c76

Please sign in to comment.