diff --git a/.changeset/calm-dots-shake.md b/.changeset/calm-dots-shake.md deleted file mode 100644 index b459a9b..0000000 --- a/.changeset/calm-dots-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mode-watcher": minor ---- - -feat: Custom ClassNames diff --git a/.changeset/chilled-rules-float.md b/.changeset/chilled-rules-float.md deleted file mode 100644 index c8923ff..0000000 --- a/.changeset/chilled-rules-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mode-watcher": minor ---- - -feat: Add `nonce` prop diff --git a/.changeset/slimy-mangos-complain.md b/.changeset/slimy-mangos-complain.md deleted file mode 100644 index 92f607e..0000000 --- a/.changeset/slimy-mangos-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mode-watcher": minor ---- - -feat: Custom storage key names `modeStorageKey` `themeStorageKey` diff --git a/.changeset/tender-houses-enjoy.md b/.changeset/tender-houses-enjoy.md deleted file mode 100644 index 100f71f..0000000 --- a/.changeset/tender-houses-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mode-watcher": minor ---- - -feat: Add support for custom themes diff --git a/packages/mode-watcher/CHANGELOG.md b/packages/mode-watcher/CHANGELOG.md index 7dfd383..4ed579f 100644 --- a/packages/mode-watcher/CHANGELOG.md +++ b/packages/mode-watcher/CHANGELOG.md @@ -1,93 +1,105 @@ # mode-watcher +## 0.4.0 + +### Minor Changes + +- feat: Custom ClassNames ([#80](https://github.com/svecosystem/mode-watcher/pull/80)) + +- feat: Add `nonce` prop ([#82](https://github.com/svecosystem/mode-watcher/pull/82)) + +- feat: Custom storage key names `modeStorageKey` `themeStorageKey` ([#84](https://github.com/svecosystem/mode-watcher/pull/84)) + +- feat: Add support for custom themes ([#83](https://github.com/svecosystem/mode-watcher/pull/83)) + ## 0.3.1 ### Patch Changes -- chore: add svelte 5 to peer deps ([#77](https://github.com/svecosystem/mode-watcher/pull/77)) +- chore: add svelte 5 to peer deps ([#77](https://github.com/svecosystem/mode-watcher/pull/77)) ## 0.3.0 ### Minor Changes -- feat: `disableTransitions` prop ([#68](https://github.com/svecosystem/mode-watcher/pull/68)) +- feat: `disableTransitions` prop ([#68](https://github.com/svecosystem/mode-watcher/pull/68)) ## 0.2.2 ### Patch Changes -- Update `moduleResolution` to `NodeNext` ([#63](https://github.com/svecosystem/mode-watcher/pull/63)) +- Update `moduleResolution` to `NodeNext` ([#63](https://github.com/svecosystem/mode-watcher/pull/63)) ## 0.2.1 ### Patch Changes -- Fix incorrect localStorage key ([#51](https://github.com/svecosystem/mode-watcher/pull/51)) +- Fix incorrect localStorage key ([#51](https://github.com/svecosystem/mode-watcher/pull/51)) ## 0.2.0 ### Minor Changes -- Allow `mode-watcher` to manage the theme-color meta tag ([#48](https://github.com/svecosystem/mode-watcher/pull/48)) +- Allow `mode-watcher` to manage the theme-color meta tag ([#48](https://github.com/svecosystem/mode-watcher/pull/48)) ## 0.1.2 ### Patch Changes -- f30aa9f: add defaultMode prop +- f30aa9f: add defaultMode prop ## 0.1.1 ### Patch Changes -- 8c71d5a: Fix bug where mode would not change unless the `mode` store was subscribed to +- 8c71d5a: Fix bug where mode would not change unless the `mode` store was subscribed to ## 0.1.0 ### Minor Changes -- ec7750d: Rewrite mode-watcher with custom stores +- ec7750d: Rewrite mode-watcher with custom stores ## 0.0.7 ### Patch Changes -- abc9b03: Fix bug missing withoutTransition in head +- abc9b03: Fix bug missing withoutTransition in head ## 0.0.6 ### Patch Changes -- 289d4d6: Fix: prevent transitions during theme change +- 289d4d6: Fix: prevent transitions during theme change ## 0.0.5 ### Patch Changes -- 8c93706: Add `track` prop which allows `` to track changes in system preference -- 9dbbb39: Fixed bug in `setMode` which prevented user preferences from being set -- 4cb519e: Fix: remove unnecessary dep +- 8c93706: Add `track` prop which allows `` to track changes in system preference +- 9dbbb39: Fixed bug in `setMode` which prevented user preferences from being set +- 4cb519e: Fix: remove unnecessary dep ## 0.0.4 ### Patch Changes -- 487c5e3: Change persistent stores to use `dark` | `light` strings instead of booleans +- 487c5e3: Change persistent stores to use `dark` | `light` strings instead of booleans ## 0.0.3 ### Patch Changes -- 0d3ef7f: Add `resetMode` function to reset mode to OS preference +- 0d3ef7f: Add `resetMode` function to reset mode to OS preference ## 0.0.2 ### Patch Changes -- a03b451: Add `color-scheme` style to document element +- a03b451: Add `color-scheme` style to document element ## 0.0.1 ### Patch Changes -- 5a18026: Initial release +- 5a18026: Initial release diff --git a/packages/mode-watcher/package.json b/packages/mode-watcher/package.json index dab8192..09faed8 100644 --- a/packages/mode-watcher/package.json +++ b/packages/mode-watcher/package.json @@ -1,6 +1,6 @@ { "name": "mode-watcher", - "version": "0.3.1", + "version": "0.4.0", "description": "SSR-friendly light and dark mode for SvelteKit", "license": "MIT", "repository": { diff --git a/sites/docs/CHANGELOG.md b/sites/docs/CHANGELOG.md index 87d017d..04dbde7 100644 --- a/sites/docs/CHANGELOG.md +++ b/sites/docs/CHANGELOG.md @@ -1,22 +1,29 @@ # mode-watcher-docs +## 0.0.4 + +### Patch Changes + +- Updated dependencies [[`aa1759c237696819e2112e480383f126f2333edf`](https://github.com/svecosystem/mode-watcher/commit/aa1759c237696819e2112e480383f126f2333edf), [`5c49bbc90a56e82bce9773690242c56692b66c38`](https://github.com/svecosystem/mode-watcher/commit/5c49bbc90a56e82bce9773690242c56692b66c38), [`f8276a444f22545632e722b4d4d718826ed8b0c4`](https://github.com/svecosystem/mode-watcher/commit/f8276a444f22545632e722b4d4d718826ed8b0c4), [`9c2d9e3808a8f8e514e14aa3899b3ea584144f8f`](https://github.com/svecosystem/mode-watcher/commit/9c2d9e3808a8f8e514e14aa3899b3ea584144f8f)]: + - mode-watcher@0.4.0 + ## 0.0.3 ### Patch Changes -- Updated dependencies [[`25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c`](https://github.com/svecosystem/mode-watcher/commit/25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c)]: - - mode-watcher@0.3.1 +- Updated dependencies [[`25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c`](https://github.com/svecosystem/mode-watcher/commit/25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c)]: + - mode-watcher@0.3.1 ## 0.0.2 ### Patch Changes -- Updated dependencies [[`920f2317876d7e13bc3293972c0418772e676e9d`](https://github.com/svecosystem/mode-watcher/commit/920f2317876d7e13bc3293972c0418772e676e9d)]: - - mode-watcher@0.3.0 +- Updated dependencies [[`920f2317876d7e13bc3293972c0418772e676e9d`](https://github.com/svecosystem/mode-watcher/commit/920f2317876d7e13bc3293972c0418772e676e9d)]: + - mode-watcher@0.3.0 ## 0.0.1 ### Patch Changes -- Updated dependencies [[`0144bc8de98e568afa2eabe02861c5c8a3e25d21`](https://github.com/svecosystem/mode-watcher/commit/0144bc8de98e568afa2eabe02861c5c8a3e25d21)]: - - mode-watcher@0.2.2 +- Updated dependencies [[`0144bc8de98e568afa2eabe02861c5c8a3e25d21`](https://github.com/svecosystem/mode-watcher/commit/0144bc8de98e568afa2eabe02861c5c8a3e25d21)]: + - mode-watcher@0.2.2 diff --git a/sites/docs/package.json b/sites/docs/package.json index 1e341b9..a18593a 100644 --- a/sites/docs/package.json +++ b/sites/docs/package.json @@ -1,6 +1,6 @@ { "name": "mode-watcher-docs", - "version": "0.0.3", + "version": "0.0.4", "private": true, "description": "Documentation site for mode-watcher", "scripts": {