fix(data-grid): align icon slot naming and add pagination icon slots#47719
fix(data-grid): align icon slot naming and add pagination icon slots#47719claytonlin1110 wants to merge 1 commit intomui:masterfrom
Conversation
Netlify deploy previewhttps://deploy-preview-47719--material-ui.netlify.app/ Bundle size report
|
|
@michelengelen Please review |
|
@michelengelen Had a chance to review this? |
Not yet... I did add 2 other reviewers which might speed up the process. |
|
@MBilalShafi @arminmeh Please feel free to review this PR. |
| "filterPanelAddIcon": "Icon displayed for deleting the filter from filter panel.", | ||
| "filterPanelDeleteIcon": "Icon displayed for deleting the filter from filter panel.", | ||
| "filterPanelRemoveAllIcon": "Icon displayed for deleting all the active filters from filter panel.", | ||
| "filterPanelDeleteAllIcon": "Icon displayed for deleting all the active filters from filter panel.", |
There was a problem hiding this comment.
is this for the next major?
There was a problem hiding this comment.
Yeah i think so, renaming the slot is a breaking change which described in the issue, so it should go in the next major.
There was a problem hiding this comment.
@michelengelen @silviuaavram
does this mean that the PR cannot be merged to master?
There was a problem hiding this comment.
@claytonlin1110 not yet ... we haven't prepared the v8.x branch yet and did not start work on the next major. I did add the breaking change label and added it to the v9 Milestone (freshly created) so we don't lose track of this
There was a problem hiding this comment.
is there any branch that we can merge to? rather than 'master'?
Changes
paginationFirstIcon,paginationPreviousIcon,paginationNextIcon,paginationLastIconso pagination icons can be customized via DataGrid slots.filterPanelRemoveAllIcon→filterPanelDeleteAllIconfor consistency withfilterPanelDeleteIcon.columnSelectorIconas the single configuration point; deprecatecolumnMenuManageColumnsIconin docs.columnMenuPinIcon(toggle by pin state) and deprecatecolumnMenuPinLeftIcon/columnMenuPinRightIcon.columnMenuGroupIconandcolumnMenuUngroupIcon.Files
docs/pages/experiments/docs/data-grid-premium.jsondocs/pages/experiments/docs/data-grid-premium-translation.jsonNote
This issue requires changes on mui-x too:
mui/mui-x#21237
Closes #47117