Skip to content

export badge configs#241

Merged
dks333 merged 1 commit into
mainfrom
sam/export-badge-configs
May 28, 2026
Merged

export badge configs#241
dks333 merged 1 commit into
mainfrom
sam/export-badge-configs

Conversation

@dks333
Copy link
Copy Markdown
Contributor

@dks333 dks333 commented May 28, 2026

Summary

Update badge configs

Test Plan


Note

Low Risk
Presentation-layer export and typing refactor only; no behavior change to Badge rendering.

Overview
Badge option unions are now driven by shared as const lists (BADGE_COLORS, BADGE_SHAPES, BADGE_SIZES, BADGE_VARIANTS) instead of inline string unions, so runtime values and TypeScript types stay aligned.

The package public API grows: those constants plus colorVariants and sizeVariants are re-exported from badge and the barrel index, and BadgeVariant is included in the type exports.

Reviewed by Cursor Bugbot for commit 3a9a7c5. Bugbot is set up for automated code reviews on this repo. Configure here.

@dks333 dks333 merged commit 359345f into main May 28, 2026
3 checks passed
@dks333 dks333 deleted the sam/export-badge-configs branch May 28, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants