design-system
design-system copied to clipboard
`Dropdown::ListItem::Interactive` enhancement - codemod
:pushpin: Summary
If merged, this PR will add a codemod to assist users in moving away from the deprecated @text argument on Dropdown::ListItem::Interactive component.
Input
<Hds::Dropdown as |dd|>
<dd.Title @text='Title text' />
<dd.Interactive @href='#' @text='Edit' />
</Hds::Dropdown>
Output
<Hds::Dropdown as |dd|>
<dd.Title @text='Title text' />
<dd.Interactive @href='#'>Edit</dd.Interactive>
</Hds::Dropdown>
:link: External links
Jira ticket: HDS-3692
:speech_balloon: Please consider using conventional comments when reviewing this PR.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| hds-showcase | ✅ Ready (Inspect) | Visit Preview | Aug 14, 2024 5:46pm |
| hds-website | ✅ Ready (Inspect) | Visit Preview | Aug 14, 2024 5:46pm |
The 2 failing tests are in the parent branch. Please see https://github.com/hashicorp/design-system/tree/3620-add-yield-to-list-item-interactive