Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): update Badge design (#633)
* feat(components): update design of the Badge According to the new design specs: https://www.figma.com/file/aORNKPp6e3xbpkYrkfoVhW/WIP-Circuit-UI-Mobile?node-id=2168%3A5419 * feat(components): deprecate Badge's onClick prop Badges are not meant to be interactive and should only communicate the status of an element. * feat(components): deprecate primary Badge color It conflicts with the color of the primary Button variant. Use the "neutral" variant instead. * feat(components): rename Badge's color prop to variant This makes the prop consistent with the Button and List components * feat(components): use dynamic width for long circular Badge This prevents the content from overflowing the background. BREAKING CHANGE: The **Badge** component's `color` prop has been renamed to `variant` (🤖 _badge-variant-enum_)
- Loading branch information