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

Fix minor craft bugs (button disabled cursor and chip close button appearance) & stories & add data test id prop to chip, button, icon button #633

Merged
merged 14 commits into from
Apr 13, 2022

Conversation

hadasfa
Copy link
Contributor

@hadasfa hadasfa commented Apr 11, 2022

Fix stories and minor craft bugs in: toggle, button, chips

@@ -106,15 +107,15 @@ const Chips = forwardRef(
/>
) : null}
{hasCloseButton && (
<Icon
aria-label={`Remove ${label}`}
<IconButton
Copy link
Contributor Author

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

@hadasfa hadasfa changed the title Fix minor craft bugs & stories Fix minor craft bugs (button disabled cursor and chip close button appearance) & stories Apr 12, 2022
@hadasfa hadasfa changed the title Fix minor craft bugs (button disabled cursor and chip close button appearance) & stories Fix minor craft bugs (button disabled cursor and chip close button appearance) & stories & add data test id prop to chip, button, icon button Apr 12, 2022
@@ -28,10 +31,16 @@ const Chips = forwardRef(
onDelete,
onMouseDown,
noAnimation,
"data-testid": dataTestId
dataTestId,
"data-testid": deprecatedDataTestId
Copy link
Contributor

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

},
ref
) => {
const overrideDataTestId = backwardCompatibilityForProperties(
Copy link
Contributor

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

@hadasfa hadasfa merged commit e62eb36 into master Apr 13, 2022
@hadasfa hadasfa deleted the comp-review/hadas/chips branch April 13, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants