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

radium

Package Overview
Dependencies
Maintainers
2
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
57

0.13.6

Diff

Changelog

Source

0.13.6 (August 5, 2015)

New Features

  • Resolve styles on elements found in props and children as function, #298
  • <PrintStyleSheet> component and printStyles property to add print styles to your components, #299, thanks @bobbyrenwick

Improvements

  • Show component name when warning in prefixer, #302, thanks @AnSavvides

Bug Fixes

  • Fix bug with _radiumDidResolveStyles that was breaking in React 0.14.0-beta2
  • Un-prefix values before checking isUnitlessNumber, #305, thanks @AnSavvides
  • Prevent errors from getters that do not have setters as static props of React components, #306, thanks @rolandpoulter
ianobermiller
published 0.13.5 •

Changelog

Source

0.13.5 (July 29, 2015)

Improvements

  • Support for old and tweener flexbox syntax, #279, thanks @sylvaingi
  • Only calls console.warn during development, not in production

Bug Fixes

  • Don't call resolveStyles more than once on the same element, #293
  • Allow null or undefined values in style, #263
  • Remove redundant babel-core from dependencies
  • Fix using numeric 0 as key to getState, #275
  • Don't wrap display name with "Radium(...)", #271
  • Fix older firefox missing float property, #277, thanks @bencao
  • Don't warn when mixing transform properties, #272, thanks @MattHauglustaine
  • Use for loop instead of Array prototype on the result of window.getComputedStyle, which was breaking Android web view, #267, thanks @bsbeeks
  • Ignore functions as children instead of blowing up, #265, thanks @Cottin

Misc

  • Add test-dev command for faster test feedback during development
ianobermiller
published 0.13.4 •

Changelog

Source

0.13.4 (July 14, 2015)

Bug Fixes

  • Fix regression with multiple states (tests were failing) from 0.13.3
ianobermiller
published 0.13.3 •

Changelog

Source

0.13.3 (July 13, 2015)

Bug Fixes

  • Fix hotloading component methods, #255, thanks @bobbyrenwick
  • Add displayName to shorthand warning, #253, thanks @bobbyrenwick
  • Warn and ignore null/undefined values, #250, thanks @AnSavvides
  • Don't warn when mixing border & borderRadius, and more shorthand warning updates, #246, thanks @nathanfriemel
  • Remove react from peerDependencies so Radium can be used with the 0.14 beta, #242, thanks @dariocravero
  • Fix transfering defaultProps and friends in IE <11, #241, thanks @bobbyrenwick
  • Don't alias matchMedia, fixes IE <11 bug, #238
  • Stop mutating style state, #237

Misc

  • Migrate tests to Karma, #240, thanks @exogen
ianobermiller
published 0.13.2 •

Changelog

Source

0.13.2 (June 25, 2015)

Bug Fixes

  • Use console.warn instead of console.warning (duh)
ianobermiller
published 0.13.1 •

Changelog

Source

0.13.1 (June 24, 2015)

New Features

Bug Fixes

  • Don't resolve style prop of custom components, e.g. <MyComponent style={...} />, #202 (thanks @azazdeaz)
  • Fix not using dash-case on server with Style, #207
  • Fix server rendering when using fallback array of values (uses first one)
  • Fix numeric fallbacks, #221

Misc

  • Update dependencies
  • Warn when mixing longhand and shorthand
ianobermiller
published 0.13.0 •

Changelog

Source

0.13.0 (June 7, 2015)

Breaking Changes

  • Radium.wrap and Radium.Enhancer have been merged and moved to Radium(). Just wrap your component, Button = Radium(Button);, or use the decorator @Radium
  • Style component rules prop now takes an object instead of an array

New Features

  • Support fallback values (e.g. #fff for rgba(...))

Bug Fixes

  • Fix react external in webpack config
  • Fix keyframes throwing on IE9 (now does feature detection)
  • Fix windows build
  • string and number children are no longer wrapped in an extraneous <span>
ianobermiller
published 0.12.2 •

Changelog

Source

0.12.2 (May 22, 2015)

Breaking Changes

None

New Features

  • Support prefixing for old flexbox implementations

Bug Fixes

  • Stop using react internals CSSPropertyOperations.createMarkupForStyles, which further reduces the build size
ianobermiller
published 0.12.1 •

Changelog

Source

0.12.1 (May 22, 2015)

Bug Fixes

  • Fix Enhancer (displayName, etc) #165
  • Reduce size of distributed build
  • Tests for prefixing, fix #161
ianobermiller
published 0.12.0 •

Changelog

Source

0.12.0 (May 16, 2015)

New Features

  • Support for ES6 classes with Radium.Enhancer
  • Vendor-prefixing
  • Keyframes animation helper
  • Radium.getState API

Bug Fixes

  • Fix errors during server-side rendering #141
  • Fix passing a single child or string #139
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