Skip to content

Releases: callstack/react-theme-provider

v3.0.9

Choose a tag to compare

@RafikiTiki RafikiTiki released this 03 Aug 09:26

Patch changes

v3.0.8

Choose a tag to compare

@RafikiTiki RafikiTiki released this 05 Sep 07:39

Backwards compatible typings improvement for useTheme hook #143

v3.0.6

Choose a tag to compare

@souhe souhe released this 06 May 11:03
  • typings improvements - #96
  • documentation improvements
  • go back to proper version numbers

v3.0.0

Choose a tag to compare

@souhe souhe released this 22 May 06:33

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

Choose a tag to compare

@souhe souhe released this 29 Mar 12:33
  • add useTheme to ThemingType #42
  • use React.forwardRef instead of polyfill and improve memoization #41

2.0.0

Choose a tag to compare

@souhe souhe released this 14 Mar 17:09
  • hooks #39
  • updated dependencies #39 #31
  • automatically determine partial theme type #32