Skip to content
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

chore(app): add endIcon prop to Tag #3281

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Conversation

ibindlish
Copy link
Contributor

@ibindlish ibindlish commented Dec 18, 2024

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

Adds an endIconName prop to the common Tag component so that it can be used for the new Role dropdown designs, where we'd like the dropdown indicator (the chevron) to be inside the Tag boundary like so:
image

Figma here: https://www.figma.com/design/JqVarIxY1vfMLT6RJGpFOn/Art%2FReg%2FAut?node-id=2708-101676&t=l7orWsQNuMiZRioM-4

I don't think RemovableTag needs to be updated since the endIcon will most likely not be required with the remove icon next to it.

Testing

Tested in an fe PR that's using this component: https://github.com/wandb/core/pull/25669
image

@ibindlish ibindlish requested review from a team as code owners December 18, 2024 02:15
@circle-job-mirror
Copy link

circle-job-mirror bot commented Dec 18, 2024

@ibindlish ibindlish enabled auto-merge (squash) December 18, 2024 22:05
@ibindlish ibindlish merged commit a24512a into master Dec 18, 2024
118 of 120 checks passed
@ibindlish ibindlish deleted the ibindlish/add-endicon-prop-tag branch December 18, 2024 22:19
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants