Conversation
Details of bundle changes.Comparing: c776d34...878fca2 Details of page changes
|
oliviertassinari
left a comment
There was a problem hiding this comment.
Thanks for looking at the problem :). I have noticed that same issue with the "Default theme" tree view of the documentation. I think that we can take a step back and consider how we could change the implementation to make such demo easier to write.
| @@ -41,7 +41,7 @@ const useTreeItemStyles = makeStyles((theme: Theme) => | |||
| color: 'var(--tree-view-color)', | |||
| }, | |||
| '&:focus > $content $label, &:hover > $content $label, &$selected > $content $label': { | |||
There was a problem hiding this comment.
I think that we should keep iterate on the CSS override story. A selector of this complexity isn't OK. It will require a breaking change on the component.
There was a problem hiding this comment.
Could this pull be added to v5 milestone?
There was a problem hiding this comment.
I don't think that we need to wait, TreeView won't make it to the core in v5.
There was a problem hiding this comment.
Great. I'll will work on a proposal.
|
@oliviertassinari What do you think about moving the |
|
The usage of |
eps1lon
left a comment
There was a problem hiding this comment.
Would be nice to add explicit documentation for the variants. Right now I don't understand what the names of these variants mean.
|
@eps1lon I changed my approach for one that doesn't require new props. |
|
@m4theushw Thanks for the help. We've taken a different approach to improve the override story. |
Fixes #20125