material-ui
material-ui copied to clipboard
[material-ui][Tooltip] deprecate `*Component` and `*Props` for v6
Part of #41281. @DiegoAndai
Question: Is it important that className of PopperProps and slotProps.popper are both applied, because a test exists in Tooltip.test.js?
I've also seen that #42107 is being worked on. We should see that the changes in these two PR's go together.
- [x] I have followed (at least) the PR section of the contributing guide.
Netlify deploy preview
SpeedDialAction: parsed: +0.77% , gzip: +0.77% Tooltip: parsed: +0.94% , gzip: +0.90%
Bundle size report
Details of bundle changes (Toolpad) Details of bundle changes
Generated by :no_entry_sign: dangerJS against eb3f24d160cef22e2c7f3b4cffc83584ca634349
CI fails because apparently the same popper element is not used in a rerender. I think that the error is in the useSlot hook. However, I have not found it yet. If anyone has an idea please let me know.
Hey @lhilgert9! thanks for working on this. Please see https://github.com/mui/material-ui/issues/41281#issuecomment-2140855314.