-
Notifications
You must be signed in to change notification settings - Fork 649
Add Alert status variant to StateLabel component #7472
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: dbd9dcf The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Co-authored-by: HiroAgustin <1458873+HiroAgustin@users.noreply.github.com>
Co-authored-by: HiroAgustin <1458873+HiroAgustin@users.noreply.github.com>
|
👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the |
Co-authored-by: HiroAgustin <1458873+HiroAgustin@users.noreply.github.com>
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/11655 |
Summary
This PR adds a third variant named "Alert status" to the StateLabel component, alongside the existing "Issue status" and "Pull request status" variants.
Changes Made
Component Updates
alertOpened: ShieldIcon with 'Alert' labelalertFixed: ShieldCheckIcon with 'Alert' labelalertDismissed: ShieldSlashIcon with 'Alert' labelStyling
alertOpened: open-emphasis colors (green) - same as issueOpened and pullOpenedalertFixed: done-emphasis colors (purple) - same as issueClosed and pullClosedalertDismissed: draft-emphasis colors (gray) - same as issueDraftDocumentation & Stories
Tests
Changeset
.changeset/brave-panthers-wave.md: Added changeset for minor version bumpVisual Examples
Usage
Validation
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.