Doist / reactist

Open source React components made with ❤️ by Doist
http://doist.github.io/reactist
MIT License
249 stars 22 forks source link

feat: Badge component improvements #737

Closed gnapse closed 1 year ago

gnapse commented 1 year ago

Short description

While preparing for upcoming work, I noticed that we're still using in Todoist an in-app badge component in some cases, alongside cases that are using the newer shared Badge component from Reactist.

As I prepared to unify all Badge uses in Todoist with the one from Reactist, I also realized that this one needs some improvements (most prominently, making it render as an inline element).

Other change: this removes the text-transform: uppercase style. According to most of our references to badges in design mockups, we're not expecting our badges to be all uppercase anymore.

PR Checklist

Versioning

New minor release.