From a316c76d427393547a0778f048543214ddf2cf6e Mon Sep 17 00:00:00 2001 From: Danail Hadjiatanasov Date: Thu, 1 Jul 2021 19:54:36 +0300 Subject: [PATCH] v4.0.0-alpha.33 (#2009) --- CHANGELOG.md | 88 +++++++++++++++++++ docs/package.json | 2 +- lerna.json | 2 +- package.json | 2 +- .../eslint-plugin-material-ui/package.json | 2 +- packages/grid/data-grid/package.json | 2 +- .../grid/x-grid-data-generator/package.json | 2 +- packages/grid/x-grid/package.json | 4 +- packages/storybook/package.json | 10 +-- packages/x-license/package.json | 2 +- 10 files changed, 102 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f764918061788..fe6af027c5f38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 CTRL + c (#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 + + ``` + +### @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] 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_ diff --git a/docs/package.json b/docs/package.json index 91068e770073d..614a84ceeeaec 100644 --- a/docs/package.json +++ b/docs/package.json @@ -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", diff --git a/lerna.json b/lerna.json index 81f4c6f85cb42..48e881ac8d34c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "4.0.0-alpha.32", + "version": "4.0.0-alpha.33", "npmClient": "yarn", "useWorkspaces": true } diff --git a/package.json b/package.json index e9de691f3ee21..cec5fa6f5925e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "4.0.0-alpha.32", + "version": "4.0.0-alpha.33", "private": true, "scripts": { "start": "yarn docs:dev", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index ee82daeafb18c..232f2fe87e98b 100644 --- a/packages/eslint-plugin-material-ui/package.json +++ b/packages/eslint-plugin-material-ui/package.json @@ -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", diff --git a/packages/grid/data-grid/package.json b/packages/grid/data-grid/package.json index 44ca620b7f373..677e038ab84c5 100644 --- a/packages/grid/data-grid/package.json +++ b/packages/grid/data-grid/package.json @@ -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", diff --git a/packages/grid/x-grid-data-generator/package.json b/packages/grid/x-grid-data-generator/package.json index 5c7528c7390d6..edbe0dea2e577 100644 --- a/packages/grid/x-grid-data-generator/package.json +++ b/packages/grid/x-grid-data-generator/package.json @@ -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", diff --git a/packages/grid/x-grid/package.json b/packages/grid/x-grid/package.json index f1d13f2498c1c..13c609fe0f106 100644 --- a/packages/grid/x-grid/package.json +++ b/packages/grid/x-grid/package.json @@ -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", @@ -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" diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 9d889715b2ee5..4c15d38e32823 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -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, @@ -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", diff --git a/packages/x-license/package.json b/packages/x-license/package.json index f7e8618445e82..0a7f07bf22d6c 100644 --- a/packages/x-license/package.json +++ b/packages/x-license/package.json @@ -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",