material-components / material-components-web

Modular and customizable Material Design UI components for the web
https://material.io/develop/web
MIT License
17.14k stars 2.15k forks source link

[MDCList] Undocumented breaking change in 11.0.0 #7106

Open jpic opened 3 years ago

jpic commented 3 years ago

Bug report

MDCList style does not apply since 11.0.0.

It's good with 10.0.0 : https://codepen.io/jpic/pen/zYZGZEX

2021-05-09-121526_158x203_scrot

But the same code breaks with 11.0.0 : https://codepen.io/jpic/pen/bGqdqYY

2021-05-09-121454_167x109_scrot

Note that other examples online are also broken, which is super confusing :P https://codepen.io/rustemgareev/pen/NXoqwR

I have checked the CHANGELOG and have found some list related updates, but nothing in BREAKING CHANGES.

brandondiamond commented 3 years ago

Thanks for filing this bug! You are absolutely right -- this was intended to be flagged as a breaking change, but it seems that our tooling missed this.

For now, existing users should remain on version 10.0. We will be releasing documentation very, very shortly on the new version of lists which adds several improvements.

jpic commented 3 years ago

Thank you! It works indeed: https://master.crudlfap.ci.yourlabs.io/ No hurries then.

I suppose that the basic MDCList with the graphic will still be supported ;)