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-based style prop resolution.
      • Replaced states object with inline state keys: :hover
      • Replaced mediaQueries object with inline queries: @media (min-width: 200px)

    ๐Ÿ†• New Features

    • ๐Ÿ’… Apply separate browser state styles to multiple elements in the same component.