-
Notifications
You must be signed in to change notification settings - Fork 42
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
Dropdown::ListItem::Interactive
- Add support for trailing icon
#2042
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
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.
Looking good! Will there be a follow-up PR to document @trailingIcon
in website
?
Yes, I have to sync with @majedelass to understand if he has already started a branch, and if he prefers to use a distinct PR/branch or we can use directly this one. |
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.
This looks good to me π also figma matches this :)
(no PR created for the docs yet)
β¦if youre using a list item interactive that a trailing icon can be used to denote that the link is external. Also added an example to this in the example too.
@alex-ju we've added the documentation updated directly in this PR. |
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.
Left a few thoughts, but good to be merged
website/docs/components/dropdown/partials/code/component-api.md
Outdated
Show resolved
Hide resolved
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.
One small non-blocking comment, otherwise π
website/docs/components/dropdown/partials/guidelines/guidelines.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Jory Tindall <jory.tindall@hashicorp.com>
We have three approvals on this, are we ok with merging or do we require more updates? |
@majedelass Wait from what I see it's not approved in Figma, so we should wait to merge them at the same time (more or less) |
Co-authored-by: Kristin Bradley <kristin.bradley@hashicorp.com>
β¦con` element (regression happened in #2042)
π Summary
This PR introduces the support for an additional trailing icon to the
Dropdown::ListItem::Interactive
subcomponentπ οΈ Detailed description
In this PR I have:
@trailingIcon
in theDropdown::ListItem::Interactive
sub-component@icon
/@trailingIcon
in showcaseDropdown::ListItem::Interactive
π External links
Jira ticket: https://hashicorp.atlassian.net/browse/HDS-3205
π Component checklist
π¬ Please consider using conventional comments when reviewing this PR.