feat(badge): added dot style variant#514
Merged
Merged
Conversation
commit: |
Contributor
Docs PreviewCommit: |
Contributor
geoquant
approved these changes
May 14, 2026
Collaborator
|
/bonk please review |
- Move dot colors into KUMO_BADGE_VARIANTS as a proper dimension with descriptions, matching the Button component's variant access pattern - Rename `style` prop to `appearance` to avoid collision with React's built-in `style` prop (CSSProperties) - Use resolveVariant for dotColor lookups from KUMO_BADGE_VARIANTS - Add badge.test.tsx with coverage for rendering, dot appearance, dot colors per variant, and unknown variant safety - Update variant-safety.test.ts to cover the new appearance dimension - Add descriptive text to dot badges docs section
2a31eb8 to
76f0d5f
Compare
Collaborator
|
/bonk what do you think? |
Contributor
|
@mattrothenberg Bonk workflow failed. Check the logs for details. View workflow run · To retry, trigger Bonk again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





































































Added dot style variant for
Badgesthat need a subtle visual cue (i.e. onTables)pnpm lint,pnpm typecheckand visual changes