Radium v0.11.0 Release Notes
Release Date: 2015-04-28 // about 9 years ago-
๐ฅ Breaking Changes
- Complete API rewrite.
- Added new "Wrap" API.
- Wrap React component config with
Radium.wrap()
to automatically add browser state handlers, media query behavior, and array-based style resolution.
- โ Removed all mixins.
- โ Removed context-based media query behavior.
- Replaced with global media query handler.
- โ Removed modifiers, states, and media queries from style objects.
- Replaced
modifiers
with array-basedstyle
prop resolution. - Replaced
states
object with inline state keys::hover
- Replaced
mediaQueries
object with inline queries:@media (min-width: 200px)
- Replaced
๐ New Features
- ๐ Apply separate browser state styles to multiple elements in the same component.
- Complete API rewrite.