Skip to content

v2.0.0

Compare
Choose a tag to compare
@mdespuits mdespuits released this 04 Jun 21:12
· 121 commits to master since this release

RoverUI 2.0 is finally here!

No major changes to the API, but we are making one breaking change and one major improvement.

TypeScript!

This was originally intended added a few versions ago with the plan of incrementally updating components as we went. Turns out, this was bigger than we expected and we needed to make adjustments once we were properly building the library with full TypeScript support.

Not all of our components are converted to TypeScript, but that will be done in small portions as we roll out patch releases.

External CSS

We originally expected RoverUI components to inject their own CSS when they were imported into the consuming app. However, in production, Rover components injected their CSS last instead of first. This had the unintended consequence of requirement consuming applications to make their override classes stronger to compensate. Things like .myPill.myPill or !important calls were used to handle this.

Now, all CSS must be required externally. This is a minor inconvenience to ensure that Rover's styles are not included later than your application's stylesheet.

Now, all you need to do is drop this in your app:

import "@cision/rover-ui/dist/rover-ui.css";