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:

.done-btn {
  display: none;
}

You need to add an uc- to class:

.uc-done-btn {
  display: none;
}