Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add experimental IssueLabel component #4960

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

joshblack
Copy link
Member

Pulling work from #4535 to add support for an experimental IssueLabel component

Changelog

New

  • Add experimental IssueLabel component

Changed

Removed

Rollout strategy

  • Minor release

joshblack and others added 6 commits September 13, 2024 11:09
Copy link

changeset-bot bot commented Sep 13, 2024

🦋 Changeset detected

Latest commit: 5d9a13a

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

This PR includes changesets to release 1 package
Name Type
@primer/react 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

Copy link
Contributor

github-actions bot commented Sep 13, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 97.4 KB (0%)
packages/react/dist/browser.umd.js 97.67 KB (0%)

Copy link
Member

@broccolinisoup broccolinisoup left a comment

Choose a reason for hiding this comment

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

The code overall looks good to me! And it is great to have accessible colours on the labels 🎉 Thanks so much for your work on this 🙏🏻

Just a few points/questions:

  • Is IssueLabel going to be a replacement for the current Label component?
  • When I tried setting hex colours on the playground story, sometimes it throws an error with Failed to parse color: "#0f0f0" (as I shared below on the screenshot)

Failed to parse color error as mentioned above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants