-
Notifications
You must be signed in to change notification settings - Fork 292
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 minor craft bugs (button disabled cursor and chip close button appearance) & stories & add data test id prop to chip, button, icon button #633
Conversation
@@ -106,15 +107,15 @@ const Chips = forwardRef( | |||
/> | |||
) : null} | |||
{hasCloseButton && ( | |||
<Icon | |||
aria-label={`Remove ${label}`} | |||
<IconButton |
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.
fix bug - craft of close chip button
…to comp-review/hadas/chips
src/components/Chips/Chips.jsx
Outdated
@@ -28,10 +31,16 @@ const Chips = forwardRef( | |||
onDelete, | |||
onMouseDown, | |||
noAnimation, | |||
"data-testid": dataTestId | |||
dataTestId, | |||
"data-testid": deprecatedDataTestId |
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.
not needed - just remove it - it was for internal use
src/components/Chips/Chips.jsx
Outdated
}, | ||
ref | ||
) => { | ||
const overrideDataTestId = backwardCompatibilityForProperties( |
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.
not need to backward compatibly this atribute
Fix stories and minor craft bugs in: toggle, button, chips