plotly / react-chart-editor

Customizable React-based editor panel for Plotly charts
https://plotly.github.io/react-chart-editor/
MIT License
499 stars 101 forks source link

Update dependency styled-components to v5 #999

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
styled-components (source) dependencies major ^4.2.0 -> ^5.0.0

Release Notes

styled-components/styled-components ### [`v5.0.0`](https://togithub.com/styled-components/styled-components/releases/v5.0.0) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v4.4.1...v5.0.0) It's finally here!!! 🚀See the [migrating to v5 FAQ page](https://www.styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v5) for easy upgrade instructions! ### Read the [v5 release announcement](https://medium.com/styled-components/announcing-styled-components-v5-beast-mode-389747abd987)! #### TL;DR: - 19% smaller bundle size - 18% faster client-side mounting - 17% faster updating of dynamic styles - 45% faster server-side rendering - RTL support ...and much more all, with **no breaking changes!** **Changes that happened since the initial announcement** - `StyleSheetManager` enhancements - you can now supply stylis plugins like [stylis-plugin-rtl](https://www.npmjs.com/package/stylis-plugin-rtl); `...` - `disableVendorPrefixes` removes autoprefixing if you don't need legacy browser support; `...` - `disableCSSOMInjection` forces using the slower injection mode if other integrations in your runtime environment can't parse CSSOM-injected styles; `...` - Removed the "subfunction" attrs syntax that was deprecated in v4 ```js styled.div.attrs({ role: p => p.onClick ? 'button' : '' })` color: red; ` ``` becomes ```js styled.div.attrs(p => ({ role: p.onClick ? 'button' : '' }))` color: red; ` ``` **NOTE: At this time we recommend not using `@import` inside of `createGlobalStyle`. We're working on better behavior for this functionality but it just doesn't really work at the moment and it's better if you just embed these imports in your HTML index file, etc.**

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.