-
Notifications
You must be signed in to change notification settings - Fork 64
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
⬆️ Updated prod dependencies #3425
Conversation
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.
LGTM 🚢
@@ -175,6 +175,7 @@ describe('Autocomplete', () => { | |||
const onChange = jest.fn() | |||
render( | |||
<StyledAutocomplete | |||
optionLabel={(label: string) => label} |
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.
Do we need to add this to the tests?
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.
after updating styled-components yes, that's what I am saying above. It is probably a bug in sc
* ⬆️ ramda, floating-ui * ⬆️ react-aria * rest of datepicker deps * ⬆️ @tanstack/react-virtual * ⬆️@tanstack/react-table * ⬆️ styled-components * ⬇️ try styled-components@6.1.8 * autocomplete: update tests * add comment to test workaround
resolves #3423
there is a bug in styled-components v6.1.9 that is already reported so I installed v6.1.8 instead. It has another issue where the conditional type that got added to Autocomplete (89dd0df) does not work properly if you overwrite Autocomplete styles by doing
const StyledAutocomplete = styled(Autocomplete)
, thenoptionlabel
becomes required regardless and you have to dooptionLabel={(label: string) => label}
. Could be related to this or the multitude of other issues related to typescript & attrs currently so something to keep an eye on