Migration guide for @uploadcare/blocks v0.49.0

BREAKING CHANGES

  • The prefix uc- has been added to all css classes.

How to migrate

Case 1. You were using default css.

If you were using the default styles, you don’t need to do anything.

Case 2. You were using custom css.

If you override the styles, you should note that we added the uc- prefix to all class selectors.

For example, you need to hide the Done button:

1.done-btn {
2 display: none;
3}

You need to add an uc- to class:

1.uc-done-btn {
2 display: none;
3}