Skip to content

Releases: mahozad/theme-switch

v1.5.2

31 Mar 08:31
248ff9d
Compare
Choose a tag to compare

This is a patch release.

Updates

  • Revert the change to the main field in package.json introduced in the previous version (e5c3600)

All commits since version 1.5.1

v1.5.1

30 Mar 14:27
8ff8c1b
Compare
Choose a tag to compare

This is a patch release.

Updates

  • Change the library main script to the minified version (in hope of fixing the bundlephobia badge) (0de6d2d)

All commits since version 1.5.0

v1.5.0

30 Mar 11:54
b163d33
Compare
Choose a tag to compare

This is a minor release.

New features

  • Reflect updates to switches in one page to all other open pages (b5586f0)

All commits since version 1.4.0

v1.4.0

14 Mar 15:06
f662687
Compare
Choose a tag to compare

This is a minor release.

Updates

  • Update the animation of the "auto" icon (ae30ad8)

All commits since version 1.3.0

v1.3.0

13 Mar 19:02
64fdd89
Compare
Choose a tag to compare

This is a minor release.

Other

  • Migrate from Babel to Rollup (c6f0f20, 7f02c99, and others).
    This results in a smaller minified script.
    Note that from this version on, the files to be used are in dist/ directory of the library.

All commits since version 1.2.1

v1.2.1

11 Mar 08:21
1768ab9
Compare
Choose a tag to compare

This is a patch release.

Other

All commits since version 1.2.0

v1.2.0

08 Mar 18:31
e014b13
Compare
Choose a tag to compare

This is a minor release.

New features

  • Add previous and new theme name in the custom event (a34af81)

Other

All commits since version 1.1.0

v1.1.0

07 Mar 17:55
21c6a9c
Compare
Choose a tag to compare

This is a minor release.

New features

  • Add support for multiple instances of the element in a page (aa43505);
    if there are multiple instances, they are all updated/animated in synchrony when one is toggled (8811803)
  • A new custom event called themeToggle is triggered whenever the element is toggled. It can be listened to if needed (8811803)

Bug fixes

  • Make the element able to be hidden (if/when display: none is applied to the element) (32a0f5d)

All commits since version 1.0.0

v1.0.0

06 Mar 15:54
c3faf06
Compare
Choose a tag to compare

This is a patch release.

Bug fixes

  • Fix the bug with sun rays color not being affected by the --theme-switch-icon-color CSS property (c90d787)

All commits since version 1.0.0-rc

v1.0.0-rc

05 Mar 20:52
619b2b0
Compare
Choose a tag to compare

This is a major release.

Removals

  • Remove the unnecessary Node.js exports (cd296e5)

All commits since version 0.9.2