Skip to content

Commit

Permalink
Increment version and update the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Mar 7, 2022
1 parent 1a6c3cb commit 21c6a9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# History of notable changes introduced in each version

## v1.1.0 (2022-03-07)
#### New features
- Add support for multiple instances of the element in a page ([`aa435053`](https://github.com/mahozad/theme-switch/commit/aa435053));
if there are multiple instances, they are all updated/animated in synchrony when one is toggled ([`8811803e`](https://github.com/mahozad/theme-switch/commit/8811803e))
- A new custom event called `themeToggle` is triggered whenever the element is toggled. It can be listened to if needed ([`8811803e`](https://github.com/mahozad/theme-switch/commit/8811803e))
#### Bug fixes
- Make the element able to be hidden (if/when `display: none` is applied to the element) ([`32a0f5d4`](https://github.com/mahozad/theme-switch/commit/32a0f5d4))

[All commits since version 1.0.0](https://github.com/mahozad/theme-switch/compare/v1.0.0...v1.1.0)

## v1.0.0 (2022-03-06)
#### Bug fixes
- Fix the bug with sun rays color not being affected by the `--theme-switch-icon-color` CSS property ([`c90d7874`](https://github.com/mahozad/theme-switch/commit/c90d7874))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"testURL": "http://localhost/"
},
"name": "@mahozad/theme-switch",
"version": "1.0.0",
"version": "1.1.0",
"description": "A toggle button to switch between light/dark/system theme.",
"main": "theme-switch.js",
"files": [
Expand Down

0 comments on commit 21c6a9c

Please sign in to comment.