You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Chip was previously updated to reflect the chip-like UI within the spec'd Multiselect component (WIP). However, this decision had the unfortunate consequence of changing the Chip to something we didn't actually want it to be for majority of existing use cases.
Now, design has some capacity to go back to the drawing board for Chip to ensure its design spec reflects the intent we have for the Chip component moving forward. The Chip used in the Multiselect component's spec remains unchanged, but the intent is that Multiselect will adopt the pattern spec'd for Chip as is in the future.
Dismissable Chip in this work remains largely deferred from a design perspective, but we will still need to support it for existing use cases by some product teams. The Chip component accepts onIconBeforeClick and onIconAfterClick props to allow consumers to interact with clicks on the icon.
Based on the WIP dismissable Chip specs in the above Figma spec, I would recommend updating to conditionally use an IconButton for the icon passed to iconAfter and/or iconBefore when the associated onIconBeforeClick and/or onIconAfterClick is passed.
The content you are editing has changed. Please copy your edits and refresh the page.
The
Chip
was previously updated to reflect the chip-like UI within the spec'dMultiselect
component (WIP). However, this decision had the unfortunate consequence of changing theChip
to something we didn't actually want it to be for majority of existing use cases.Now, design has some capacity to go back to the drawing board for
Chip
to ensure its design spec reflects the intent we have for theChip
component moving forward. TheChip
used in theMultiselect
component's spec remains unchanged, but the intent is thatMultiselect
will adopt the pattern spec'd forChip
as is in the future.The spec updates for
Chip
lives here: #2645Dismissable
Chip
in this work remains largely deferred from a design perspective, but we will still need to support it for existing use cases by some product teams. TheChip
component acceptsonIconBeforeClick
andonIconAfterClick
props to allow consumers to interact with clicks on the icon.Based on the WIP dismissable
Chip
specs in the above Figma spec, I would recommend updating to conditionally use anIconButton
for the icon passed toiconAfter
and/oriconBefore
when the associatedonIconBeforeClick
and/oronIconAfterClick
is passed.Tasks
The text was updated successfully, but these errors were encountered: