Radium v0.16.0 Release Notes
Release Date: 2016-01-05 // about 8 years ago-
🆕 New Features
- Server-side rendering for media queries and keyframes!
💥 Breaking Changes
- 💅 To use keyframes and media queries, you must wrap your components in the
<StyleRoot>
component, typically in<App>
: https://github.com/FormidableLabs/radium/tree/master/docs/api#styleroot-component - 📄 The result of Radium.keyframes is the animation name, and should be assigned to the
animationName
prop: https://github.com/FormidableLabs/radium/tree/master/docs/api#keyframes - 💅 printStyles have been removed, in favor of '@media print' media queries, which are now rendered as CSS so they work correctly: https://github.com/FormidableLabs/radium/tree/master/docs/guides#media-queries
🐛 Bug Fixes
- Don't add extra media query listeners
- Append px to numeric values on properties that don't accept unitless values
👌 Improvements
- 💅 Upgrade
inline-style-prefixer
to version 0.6.2 (Edge support) - 👍 Better error on duplicate keys
- ⬆️ Upgrade to Babel 6
- 💅
<Style>
adds thescopeSelector
to comma separated selectors - 💅
<Style>
now acceptsradiumConfig
directly with theuserAgent
field