You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Account Dashboard has a very simple Badge component to label features as Beta or Coming soon. I propose we move this component here and be design opinionated on padding, coloring, and font size. It will take in a text prop and margins will be left up to a wrapper or sibling elements around it.
Would love feedback on use cases and color themes! cc: @angel @mapbox/docs @mapbox/studio
Exciting @lshig! I definitely agree that this would be a good addition to mr-ui.
From a docs perspective, some potential use cases I can think of right now are:
APIs that are in public beta
API features that are public beta
SDK features that are in public beta
SDK features that are only available to certain customer types (for ex. only Enterprise customers can use Offline routing for the iOS and Android Navigation SDKs)
Oops I should've updated this. We're also adding an optional Tooltip wrapper around this Badge component. This will be used in the Account Dashboard and our documentation sites.
Activity
HeyStenson commentedon Feb 14, 2019
Exciting @lshig! I definitely agree that this would be a good addition to mr-ui.
From a docs perspective, some potential use cases I can think of right now are:
tristen commentedon Feb 28, 2019
If it's just a stylistic treatment, could this be a style util instead?
lshig commentedon Feb 28, 2019
Oops I should've updated this. We're also adding an optional
Tooltipwrapper around thisBadgecomponent. This will be used in the Account Dashboard and our documentation sites.