Skip to content

v2.0.0

Compare
Choose a tag to compare
@designcise designcise released this 09 Dec 09:46
· 65 commits to main since this release
9124809

Breaking Changes:

  • Use localStorage instead of cookies
  • Added defaultTheme prop to ThemeProvider
  • Added defaultTheme and storageKey props to AntiFlickerScript
  • Added defaultPref as function argument to getPreference()
  • Removed theme prop from ThemeProvider

Other Changes:

  • Added new tests
  • Updated inline script in AntiFlickerScript
  • Renamed device.helper.js to device.mock.js in __tests__
  • Updated README