-
Notifications
You must be signed in to change notification settings - Fork 535
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
Add missing link
variant to Button
#4814
Conversation
🦋 Changeset detectedLatest commit: 7ad25a4 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 |
size-limit report 📦
|
…into button-link-variant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just left a comment for the changeset
Co-authored-by: Josh Black <joshblack@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looking good, just recommending a simpler way to style links that are inline with text content.
<a | ||
style={{color: 'var(--fgColor-link)', textDecoration: 'underline'}} | ||
href="https://github.com/github/accessibility/blob/8b300b36d8bca28fd5e3e70ffa077a6f8ee65c05/docs/wiki/screen-reader-testing/dynamically-updated-buttons-support-april-2024.md" | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of manually styling these, we could use the inline
prop on our Link
component
<a | |
style={{color: 'var(--fgColor-link)', textDecoration: 'underline'}} | |
href="https://github.com/github/accessibility/blob/8b300b36d8bca28fd5e3e70ffa077a6f8ee65c05/docs/wiki/screen-reader-testing/dynamically-updated-buttons-support-april-2024.md" | |
> | |
<Link | |
inline | |
href="https://github.com/github/accessibility/blob/8b300b36d8bca28fd5e3e70ffa077a6f8ee65c05/docs/wiki/screen-reader-testing/dynamically-updated-buttons-support-april-2024.md" | |
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was competing with the Link
story so I kind of quickly did this instead. Especially since its just for a note.. I'm going to leave it for now but we can fix it later if needed.
The
link
variant has been missing for ages. It's always existed in PVC. Just bringing it on over 😄Changelog
New
link
variant to ButtonRollout strategy
Testing & Reviewing
Merge checklist