From 21c6a9c1ce8287cbce4a083d0df4c3ee30870548 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseinzadeh Date: Mon, 7 Mar 2022 21:15:47 +0330 Subject: [PATCH] Increment version and update the changelog --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0be43f0..febbb47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/package.json b/package.json index 75201b6..603f118 100644 --- a/package.json +++ b/package.json @@ -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": [