-
Notifications
You must be signed in to change notification settings - Fork 26
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: upgrade to styled-components 5 #514
base: master
Are you sure you want to change the base?
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.
@foot I would expect some changes to the Code
component around the animation errors we were seeing
Indeed! I assumed it was sc4/5 incompatibility but it seems quite broken in sc5. I'll TAL. Also it would be cool to re-build the docs/examples for each PR.. |
Converting to netlify should be no problem
It only happens |
- CircularProgress doesn't accept a number - hideCloseButtonActive missing in example - Use sc5 transient attributes ($loading) to avoid dom warnings - Update ({ fill: props => props.foo }) to (props => ({ fill: props.foo })) to fix fill warnings
Sorry for the premature review request, tests still need some attention. |
- To use react-test-renderer like the other tests - Was a bit tricky to make shallow + withTheme play nice
https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v5
fix: clicking on Code component
fix: react propType and dom attr warnings …
(props => ({ fill: props.foo })) to fix fill warnings