radium v0.16.0 Release Notes
Release Date: 2016-01-05 // over 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