Skip to content

Releases: callstack/react-theme-provider

v3.0.9

03 Aug 09:26
Compare
Choose a tag to compare

Patch changes

v3.0.8

05 Sep 07:39
Compare
Choose a tag to compare

Backwards compatible typings improvement for useTheme hook #143

v3.0.6

06 May 11:03
Compare
Choose a tag to compare
  • typings improvements - #96
  • documentation improvements
  • go back to proper version numbers

v3.0.0

22 May 06:33
Compare
Choose a tag to compare

Drop wrapper provider for components wrapped in withTheme

Previously if the theme differed from the one in context, we wrapped the component in a provider as well. However, most components don't need it and it can be confusing when trying to override the theme for only specific component.

This commit drops this extra wrapper. The old behavior can still be achieved by explicitly using a ThemeProvider instead of a theme prop.

This is a BREAKING CHANGE

v2.0.1

29 Mar 12:33
Compare
Choose a tag to compare
  • add useTheme to ThemingType #42
  • use React.forwardRef instead of polyfill and improve memoization #41

2.0.0

14 Mar 17:09
Compare
Choose a tag to compare
  • hooks #39
  • updated dependencies #39 #31
  • automatically determine partial theme type #32