Skip to content

v2.0.0

Compare
Choose a tag to compare
@aribouius aribouius released this 16 May 23:45
· 38 commits to master since this release

Breaking Changes

  • The themed decorator no longer expects a mapThemeToProps function as its first argument. Instead it supports either a string identifier, or a selector function. It also no longer expects a mergeProps function as its second argument, but instead an options object. See API docs for details (fe7df3c).

Additions

  • Added support for nested ThemeProvider components to compose parent themes (38d56bc).
  • Added support for merging utility functions (e.g. styles._getCss) when composing CSS modules parsed by isomorphic-style-loader (f6b364d).
  • ThemeProvider can now be imported under the alias Theme (dadc26b).