helfi92 / material-ui-treeview

A React tree view for material-ui.
MIT License
47 stars 21 forks source link

Seems Material-ui needs to be updated and change ExpansionPanel to Accordion #54

Open flora8984461 opened 4 years ago

flora8984461 commented 4 years ago

Thank you for the package, but I am getting a bunch of warnings:

Material-UI: the ExpansionPanel component was renamed to Accordion to use a more common naming convention. Material-UI: the ExpansionPanelSummary component was renamed to AccordionSummary to use a more common naming convention. Material-UI: the ExpansionPanelDetails component was renamed to AccordionDetails to use a more common naming convention.

image

This is due to the recent updates of material-ui.

pelmorex-yyamaguchi commented 4 years ago

I do have noticed this as well. Hopefully these can be updated in the near future. Thanks for the great library though! You saved my Mui Autocomplete limitation challenge!!

helfi92 commented 4 years ago

Interesting. Do you know which update of material-ui generates this message?

pelmorex-yyamaguchi commented 4 years ago

It looks like the latest version @4.11.0 happened in July 1st, 2020. My company updated to this version a month ago and had to update them from ExpansionPanel to Accordion. It states that v5 will eventually break that ExpansionPanel import in the future.

https://github.com/mui-org/material-ui/releases/tag/v4.11.0 https://github.com/mui-org/material-ui/pull/21560