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

radium

Package Overview
Dependencies
Maintainers
32
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.17.1-test-2

Diff

alexlande
published 0.17.1-test •

alexlande
published 0.17.0 •

Changelog

Source

0.17.0 (March 24, 2016)

Bug Fixes

  • Upgrade inline-style-prefixer to version 1.0.3 with a fix for display values being removed in IE10.

Improvements

  • Add TestMode for controlling internal Radium state and behavior during tests.

Breaking Changes

  • inline-style-prefixer has updated vendor prefixes, removing some outdated prefixes like -moz-transform.
tptee
published 0.16.6 •

Changelog

Source

0.16.6 (February 9, 2016)

Bug Fixes

  • The lib/ directory did not get built property in 0.16.6. lib/ now contains all changes from 0.16.5.
ianobermiller
published 0.16.5 •

Changelog

Source

0.16.5 (January 27, 2016)

Bug Fixes

  • Don't merge media query styles, fixes #550
  • Don't add className if empty, fixes #539

Improvements

  • Passing 'all' as the userAgent will add all prefixes, useful for caching server-rendered pages, thanks @oliviertassinari (this applies to inline styles and style rendered as CSS, but does not yet include adding all the prefixed versions of keyframes)
  • Add support for :visited styles:
const url = 'https://github.com/formidablelabs/radium';
const VisitedLink = Radium(() => (
  <a href={url} style={{color: 'gray', ':visited': {color: 'black'}}}>
    {url}
  </a>
));
ianobermiller
published 0.16.4 •

Changelog

Source

0.16.4 (January 23, 2016)

Bug Fixes

  • Add px suffix if needed before prefixing, since the list in appendPxIfNeeded does not include prefixed variants
  • Radium now calls toString on values itself, instead of relying on inline-style-prefixer or React to do so (they don't)

Improvements

  • Much lighter npm install radium by removing babel & co from dependencies before publishing
  • Radium now ignores children or props that are themselves Radium enhanced components, for a nice perf gain. Thanks @spacenick
ianobermiller
published 0.16.3 •

Changelog

Source

0.16.3 (January 21, 2016)

  • Published under the test tag, so not installable via npm latest
  • Forgot to add -test to the version
  • See changelog for 0.16.4 instead
coopy
published 0.16.2 •

Changelog

Source

0.16.2 (January 8, 2016)

Bug Fixes

  • <StyleSheet/> Component:
    • Bind the private method _onChange to the class instance
    • Wrap setState in setTimeout and keep track of isMounted, #500
    • Remove duplicate declaration of componentWillUnmount and move this._isMounted = true inside componentDidMount
  • Clear up docs around StyleRoot props, clear up issues in #496
  • Properly prefix keyframes: Use inline-style-prefixer’s prefixedKeyframes, #488
  • Ensure unique classname is generated for media query rules (hash on query and ruleCSS string)
ianobermiller
published 0.16.1 •

Changelog

Source

0.16.1 (January 5, 2016)

Bug Fixes

  • <StyleRoot> no longer throws an error on unmount
ianobermiller
published 0.16.0 •

Changelog

Source

0.16.0 (January 5, 2016)

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 the scopeSelector to comma separated selectors
  • <Style> now accepts radiumConfig directly with the userAgent field
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