From 579e7575349d6f21ba2df2b257afa73eea4231d2 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Mon, 25 Mar 2024 12:17:27 -0400 Subject: [PATCH 1/3] doc: add migration note (closes #12555) --- .../migration/migration-data-grid-v6/migration-data-grid-v6.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md index 7a1f588a5eb8..fb01278b79b5 100644 --- a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md +++ b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md @@ -510,6 +510,9 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access) - The `columnHeadersInner`, `columnHeadersInner--scrollable`, and `columnHeaderDropZone` classes were removed since the inner wrapper was removed in our effort to simplify the DOM structure and improve accessibility. - The `pinnedColumnHeaders`, `pinnedColumnHeaders--left`, and `pinnedColumnHeaders--right` classes were removed along with the element they were applied to. The pinned column headers now use `position: 'sticky'` and are rendered in the same row element as the regular column headers. +- The column headers and pinned section now require an explicit color. By default, the MUI `theme.palette.background.default` color will be used. To customize it, see https://mui.com/material-ui/customization/palette/#customization + We will be adding a new color name to the palette for additional customization, read [#12443](https://github.com/mui/mui-x/issues/12443) for more details. + ### Changes to the public API From 6f73b06cccd015317667b8d2f2f9fddd92bafeb1 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Mon, 25 Mar 2024 12:40:53 -0400 Subject: [PATCH 2/3] lint --- .../migration/migration-data-grid-v6/migration-data-grid-v6.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md index fb01278b79b5..965c7a33a5a9 100644 --- a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md +++ b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md @@ -513,7 +513,6 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access) - The column headers and pinned section now require an explicit color. By default, the MUI `theme.palette.background.default` color will be used. To customize it, see https://mui.com/material-ui/customization/palette/#customization We will be adding a new color name to the palette for additional customization, read [#12443](https://github.com/mui/mui-x/issues/12443) for more details. - ### Changes to the public API - The method `getRootDimensions()` now returns a non-null value. From f06b56f6802b5321d565270e6d3fa273b3595990 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Mon, 25 Mar 2024 12:57:46 -0400 Subject: [PATCH 3/3] lint --- .../migration/migration-data-grid-v6/migration-data-grid-v6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md index 965c7a33a5a9..3ed538523b73 100644 --- a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md +++ b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md @@ -510,7 +510,7 @@ See the [Direct state access](/x/react-data-grid/state/#direct-selector-access) - The `columnHeadersInner`, `columnHeadersInner--scrollable`, and `columnHeaderDropZone` classes were removed since the inner wrapper was removed in our effort to simplify the DOM structure and improve accessibility. - The `pinnedColumnHeaders`, `pinnedColumnHeaders--left`, and `pinnedColumnHeaders--right` classes were removed along with the element they were applied to. The pinned column headers now use `position: 'sticky'` and are rendered in the same row element as the regular column headers. -- The column headers and pinned section now require an explicit color. By default, the MUI `theme.palette.background.default` color will be used. To customize it, see https://mui.com/material-ui/customization/palette/#customization +- The column headers and pinned section now require an explicit color. By default, the MUI `theme.palette.background.default` color will be used. To customize it, see https://mui.com/material-ui/customization/palette/#customization We will be adding a new color name to the palette for additional customization, read [#12443](https://github.com/mui/mui-x/issues/12443) for more details. ### Changes to the public API