Skip to content

Releases: todd-elvers/react-dark-mode-toggle-2

v2.1.1

Choose a tag to compare

@todd-elvers todd-elvers released this 08 Nov 22:33

What's Changed

  • Bumped classnames and react-lottie-player to resolve an error in the console related to defaultProps being deprecated (Closes #12)

Full Changelog: v2.1.0...v2.1.1

v2.1.0

Choose a tag to compare

@todd-elvers todd-elvers released this 07 Nov 13:57
d105ece

What's Changed

  • feat: resolve Lighthouse a11y warnings from the button element by @chrisvogt in #14

New Contributors

Full Changelog: v2.0.9...v2.1.0

v2.0.9

Choose a tag to compare

@todd-elvers todd-elvers released this 09 Jan 01:37
447fbca

Patch Changes

v2.0.8

Choose a tag to compare

@todd-elvers todd-elvers released this 10 Jan 17:45
d726ff0

Patch Changes

v2.0.7

Choose a tag to compare

@todd-elvers todd-elvers released this 01 Sep 20:46

Patch Changes

  • Simplified implementation, removing the need for any hacky behavior like setTimeout, etc.
  • Handled another edge-case related to showing an initial flash of the incorrect state
  • Tweaked the animation duration so that it takes about the same time to go from light -> dark as it does to go from dark -> light

v2.0.5

Choose a tag to compare

@todd-elvers todd-elvers released this 26 Jul 01:20

Patch Changes

  • Fixed bug causing toggle to sometimes flicker the incorrect state on click
  • Switched from the regular lottie player in react-lottie-player to the LottiePlayerLight variant offered by the same library. This variant doesn't use eval, which cleared up some console warnings and dropped the bundle size by about 40%.

v2.0.4

Choose a tag to compare

@todd-elvers todd-elvers released this 25 Jul 20:53
fa61541

Patch Changes