Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

radium

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radium - npm Package Versions

1
7

0.15.3

Diff

Changelog

Source

0.15.3 (November 16, 2015)

Bug Fixes

  • Fix "files" section in package.json, should fix npm install issues
ianobermiller
published 0.15.2 •

Changelog

Source

0.15.2 (November 15, 2015)

Bug Fixes

  • IE vender prefix (ms) is now converted to dash-case correctly (-ms), thanks @PallasKatze, fixes #413
  • Super getChildContext is no longer ignored, thanks @richardfickling, fixes #412
  • Update to inline-style-prefixer v0.5.1 and changed the userAgent error to a console.warning
ianobermiller
published 0.15.1 •

Changelog

Source

0.15.1 (November 11, 2015)

Bug Fixes

  • Fix bug where active styles on multiple elements in the same component were not being removed on mouse up, fixes #410
ianobermiller
published 0.15.0 •

Changelog

Source

0.15.0 (November 11, 2015)

New Features

  • Radium now uses inline-style-prefixer to do all prefixing. Because inline-style-prefixer relies on the userAgent (similar to autoprefixer), it produces the same prefixes on both the client and the server. This is a huge step in making Radium truly universal (see example). Thanks much to @rofrischmann for putting up with my API suggestions and requests!
  • Any Radium component can also be configured at render time via a radiumConfig. This was mainly required for passing the userAgent during a server-side render.

Breaking Changes

  • Style component no longer supports the prefix prop. It automatically gets the correct userAgent to pass to the prefixer from radiumConfig context

Bug Fixes

  • Radium wrapper now replaces the style propType, if defined, with array or object, fixing #396
  • Stateless components now support context, thanks @ThomWright
  • Static fields on stateless components are now transferred to the Radium wrapper (defualtProps, propTypes, etc)

Improvements

  • Code has been ES2015-ified: const and let, import/export, fat arrows,
  • Code has moved from modules to src
ianobermiller
published 0.14.3 •

Changelog

Source

0.14.3 (October 19, 2015)

Bug Fixes

  • camelCasePropsToDashCase handles uppercase first character correctly, fixing #387
ianobermiller
published 0.14.2 •

Changelog

Source

0.14.2 (October 17, 2015)

Bug Fixes

  • :active styles now triggered by space or enter
  • Callback refs are now ignored, fixing #346
  • Heavy use of media queries no longer causes setState on an unmounted component, fixing #382

New Features

  • Stateless components (function taking props) are now supported

Improvements

  • Updated examples to for React 0.14.0
  • Allow replacing the prefixer used by Radium.keyframes and <Style>
ianobermiller
published 0.14.1 •

Changelog

Source

0.14.1 (September 15, 2015)

Bug Fixes

  • Don't require object-assign, which wasn't in normal dependencies
ianobermiller
published 0.14.0 •

Changelog

Source

0.14.0 (September 15, 2015)

Breaking Changes

  • Config.setMatchMedia has been replaced by the matchMedia field in the config passed to @Radium (see documentation)

New Features

Improvements

  • Flatten nested arrays in style, #344, thanks @almost
  • Universal/isomorphic example npm run universal, thanks @jurgob and @moret

Bug Fixes

  • Static properties are now copied again in IE < 10, #349, thanks @bobbyrenwick
ianobermiller
published 0.13.8 •

Changelog

Source

0.13.8 (August 24, 2015)

Bug Fixes

  • Fix static class methods disappearing in IE10, #313
  • Fix bug when using spread operator to pass props to a DOM element, #322
ianobermiller
published 0.13.7 •

Changelog

Source

0.13.7 (August 5, 2015)

Bug Fixes

  • Fix double resolving bug on props.children, #307
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc