This doc contains information that will help you migrate your code from an older version of SMUI to a newer one. Things that you will need to change in your existing code will be written here. It would also be helpful to check the MDC changelog if the upstream MDC versions has changed between SMUI versions.
SMUI 2 migrated to upstream MDC 4.0: https://github.com/material-components/material-components-web/blob/master/CHANGELOG.md#400-2019-11-02-1
- Chips
- Text component is now required.
- Now use their own Text and Icon components. The common ones will not work.
- Icon no longer requires
trailing
prop. That is the default. - Checkmark component is no longer required. It is added automatically.
- Menu and Menu Surface
- hoistMenuToBody function removed.
- Select
enchanced
prop is removed. All selects are enhanced now.selected
prop on Option is no longer required and probably should not be used.- You now need to pass a class into
anchor$class
andmenu$class
with a width value set.
- Button
- No longer has a
dense
prop. Use the mixin from MDC.
- No longer has a