Skip to content

Conversation

HoldenFolk
Copy link

@HoldenFolk HoldenFolk commented Oct 14, 2025

What does it do?

  • Adds a variant prop to the Badge component. Can control badge colors with default variants
  • Adds deprecation notice to the status component

Why is it needed?

To create stricter configuration of the Badge component for users, and allow us to deprecate the status component.

How to test it?

Provide information about the environment and the path to verify the behaviour.

Related issue(s)/PR(s)

Issue #1935

@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2025

🦋 Changeset detected

Latest commit: 19008c2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@strapi/design-system Minor
@strapi/icons Minor
@strapi/ui-primitives Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 14, 2025

@HoldenFolk is attempting to deploy a commit to the Strapi Team on Vercel.

A member of the Team first needs to authorize it.

@HoldenFolk HoldenFolk changed the title Badge variants/create badge variants feat: Badge Variants Oct 14, 2025
@oiorain oiorain added pr: feature This PR adds a new feature community labels Oct 15, 2025
Copy link
Collaborator

@HichamELBSI HichamELBSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help @HoldenFolk, I've put few comments about the current default badge colors

@HoldenFolk
Copy link
Author

Thanks for your help @HoldenFolk, I've put few comments about the current default badge colors

Thanks for the review and changes @HichamELBSI. Appreciate the guidance!

HichamELBSI
HichamELBSI previously approved these changes Oct 21, 2025
@HichamELBSI HichamELBSI force-pushed the badge-variants/create-badge-variants branch from 224742c to 453db09 Compare October 21, 2025 09:20
@HichamELBSI
Copy link
Collaborator

Please squash your commits so we can move on with this PR.

@HichamELBSI HichamELBSI force-pushed the badge-variants/create-badge-variants branch from c7afa40 to 19008c2 Compare October 21, 2025 20:33
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community pr: feature This PR adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants