-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix(Link): handle inverse variant for standalone links #2042
Conversation
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2042 +/- ##
=======================================
Coverage 97.43% 97.43%
=======================================
Files 109 109
Lines 2613 2615 +2
Branches 664 665 +1
=======================================
+ Hits 2546 2548 +2
Misses 65 65
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Fix here is to make cases where we have standalone links with default variant appear with the correct color |
@@ -26,7 +26,7 @@ type Story = StoryObj<typeof Link>; | |||
export const Default: Story = {}; | |||
|
|||
/** | |||
* When using context, you can specify a trailing icon for the link. | |||
* When using standalone context, you can specify a trailing icon for the link. |
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.
What's standalone context, and/or can we clarify that?
Although I'm only looking at the diff, not the storybook. Might be more clear
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.
@ahuth yah, we include this in storybook
Glad you mention this b/c in this PR i also want to mention color behavior here, and make a small formatting tweak for consistency.
- update documentation to explain cases - add warning for misaligned prop usages - update snapshots and tests
c0566f5
to
c110454
Compare
## [15.3.0](v15.2.1...v15.3.0) (2024-08-23) [Storybook](https://61313967cde49b003ae2a860-vuzmfnjuoj.chromatic.com/) Figma Components Library: 🟢 No breaking changes - EDS-toastNotification: - deleted the dissmissType property - Added Toast Pattern documentation to handle multiple toasts - EDS-popover: added EDS-popover 2.0 component ### Features * **config:** add transition durations for tailwind ([#2036](#2036)) ([aed0f09](aed0f09)) * **Popover:** update theming to 2.0 ([#2031](#2031)) ([c5ab351](c5ab351)) * **tokens:** add in additional table tokens ([#2035](#2035)) ([a698a5b](a698a5b)) * **tokens:** update visited tokens ([#2034](#2034)) ([df84c87](df84c87)) ### Bug Fixes * **Card:** add spacing between eyebrow and title ([#2040](#2040)) ([d6ee15d](d6ee15d)) * **Link:** handle inverse variant for standalone links ([#2042](#2042)) ([351d7fd](351d7fd)) * **Popover:** update component version number ([#2038](#2038)) ([9940d76](9940d76))
Test Plan: