Skip to content

feat(tag): add variant prop#83

Merged
wangdicoder merged 1 commit intomasterfrom
feat/tag-variant
Mar 27, 2026
Merged

feat(tag): add variant prop#83
wangdicoder merged 1 commit intomasterfrom
feat/tag-variant

Conversation

@wangdicoder
Copy link
Copy Markdown
Owner

Summary

  • Added variant prop to Tag component with four styles: filled (default), soft, solid, and outlined
  • Updated SCSS styles to support all variant combinations for preset colors and status colors
  • Added TagVariant type export
  • Updated documentation with new Variant demo section

Release

  • Bump type: minor
  • Affected packages: @tiny-design/react

Test plan

  • Run pnpm --filter @tiny-design/react test -- --testPathPattern=tag to verify tests pass
  • Visually verify all four variant styles in the docs dev server
  • Test that variant works correctly with custom hex colors

🤖 Generated with Claude Code

@wangdicoder wangdicoder merged commit 2a2dc57 into master Mar 27, 2026
1 check passed
@wangdicoder wangdicoder deleted the feat/tag-variant branch March 27, 2026 05:53
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.

1 participant