- Revert the change to the main field in package.json introduced in the previous version (
e5c36003
)
All commits since version 1.5.1
- Change the library main script to the minified version (in hope of fixing the bundlephobia badge) (
0de6d2df
)
All commits since version 1.5.0
- Reflect updates to switches in one page to all other open pages (
b5586f00
)
All commits since version 1.4.0
- Update the animation of the "auto" icon (
ae30ad8a
)
All commits since version 1.3.0
- Migrate from Babel to Rollup (
c6f0f209
,7f02c996
, 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
All commits since version 1.2.0
- Add previous and new theme name in the custom event (
a34af81a
)
- Allow invalid strings as the value of theme key in storage (
453bc60b
) - Add some minor code improvements (
6d8bc9c9
,074b33fa
,8c3082b1
,104c2ef2
)
All commits since version 1.1.0
- Add support for multiple instances of the element in a page (
aa435053
); if there are multiple instances, they are all updated/animated in synchrony when one is toggled (8811803e
) - A new custom event called
themeToggle
is triggered whenever the element is toggled. It can be listened to if needed (8811803e
)
- Make the element able to be hidden (if/when
display: none
is applied to the element) (32a0f5d4
)
All commits since version 1.0.0
- Fix the bug with sun rays color not being affected by the
--theme-switch-icon-color
CSS property (c90d7874
)
All commits since version 1.0.0-rc
- Remove the unnecessary Node.js exports (
cd296e55
)
All commits since version 0.9.2
- Wrap the whole code (minified version) in an IIFE to avoid exposing variables and functions in global scope (
a659c312
)
All commits since version 0.9.1
This version had no changes to the code.
All commits since version 0.9.0
This is the first release of the library.
- new feature 1
- change 1
- bug fix 1
- deprecation 1
- removal 1
- other 1