-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v8.0.0-alpha.1 #15554
v8.0.0-alpha.1 #15554
Conversation
Deploy preview: https://deploy-preview-15554--material-ui-x.netlify.app/ |
- The `tooltip` prop is removed in favor of `slotProps.tooltip` for consistency. | ||
- The previous slots `popper`, `axisContent`, `itemContent` are removed in favor of a `tooltip` slots which override the entire tooltip. | ||
- To override the tooltip content, use the `useItemTooltip` or `useAxisTooltip` to get the data, and wrapp your component in `ChartsTooltipContainer` to follow the pointer position. | ||
- To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip. | |
- To override the tooltip placement, use the `<ChartsItemTooltipContent />` or <`ChartsItemTooltipContent />` to get default data and place them in your custom tooltip. |
@samuelsycamore not sure if for those more technical component we want to use the "Charts Item Tooltip Content" or the "<ChartsItemTooltipContent />
" for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, I'm not adding those modification, because their is a lot of technical names, and the < />
make them take more space without adding information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it we need to include and mention the React 19
support PR. 🤔
Co-authored-by: Flavien DELANGLE <[email protected]> Co-authored-by: Armin Mehinovic <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
Co-authored-by: Armin Mehinovic <[email protected]> Co-authored-by: Lukas Tyla <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
Signed-off-by: Alexandre Fauquette <[email protected]>
Co-authored-by: Armin Mehinovic <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 💯 🚀
Co-authored-by: Lukas Tyla <[email protected]> Signed-off-by: Alexandre Fauquette <[email protected]>
This release is flagged as "latest" in GitHub, hence shows in https://github.com/mui/mui-x I guess this is a mistake. I have updated https://github.com/mui/mui-x/releases/edit/v8.0.0-alpha.1 to flip the checkboxes: |
If you have any idea for the highlight, feel free to add them :)