Skip to content

Commit 5021963

Browse files
chore(release): version package (#100)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 271a593 commit 5021963

File tree

6 files changed

+51
-44
lines changed

6 files changed

+51
-44
lines changed

.changeset/cuddly-cherries-exercise.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/modern-seas-smile.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/mode-watcher/CHANGELOG.md

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,121 @@
11
# mode-watcher
22

3+
## 0.5.0
4+
5+
### Minor Changes
6+
7+
- feat: add ability to disable head script injection via the `disableHeadScriptInjection` prop for handling in hooks.server files ([#89](https://github.com/svecosystem/mode-watcher/pull/89))
8+
9+
### Patch Changes
10+
11+
- fix: hydration issues ([#99](https://github.com/svecosystem/mode-watcher/pull/99))
12+
313
## 0.4.1
414

515
### Patch Changes
616

7-
- Fix bug where `data-theme` attribute wasn't syncing with the theme ([#87](https://github.com/svecosystem/mode-watcher/pull/87))
17+
- Fix bug where `data-theme` attribute wasn't syncing with the theme ([#87](https://github.com/svecosystem/mode-watcher/pull/87))
818

919
## 0.4.0
1020

1121
### Minor Changes
1222

13-
- feat: Custom ClassNames ([#80](https://github.com/svecosystem/mode-watcher/pull/80))
23+
- feat: Custom ClassNames ([#80](https://github.com/svecosystem/mode-watcher/pull/80))
1424

15-
- feat: Add `nonce` prop ([#82](https://github.com/svecosystem/mode-watcher/pull/82))
25+
- feat: Add `nonce` prop ([#82](https://github.com/svecosystem/mode-watcher/pull/82))
1626

17-
- feat: Custom storage key names `modeStorageKey` `themeStorageKey` ([#84](https://github.com/svecosystem/mode-watcher/pull/84))
27+
- feat: Custom storage key names `modeStorageKey` `themeStorageKey` ([#84](https://github.com/svecosystem/mode-watcher/pull/84))
1828

19-
- feat: Add support for custom themes ([#83](https://github.com/svecosystem/mode-watcher/pull/83))
29+
- feat: Add support for custom themes ([#83](https://github.com/svecosystem/mode-watcher/pull/83))
2030

2131
## 0.3.1
2232

2333
### Patch Changes
2434

25-
- chore: add svelte 5 to peer deps ([#77](https://github.com/svecosystem/mode-watcher/pull/77))
35+
- chore: add svelte 5 to peer deps ([#77](https://github.com/svecosystem/mode-watcher/pull/77))
2636

2737
## 0.3.0
2838

2939
### Minor Changes
3040

31-
- feat: `disableTransitions` prop ([#68](https://github.com/svecosystem/mode-watcher/pull/68))
41+
- feat: `disableTransitions` prop ([#68](https://github.com/svecosystem/mode-watcher/pull/68))
3242

3343
## 0.2.2
3444

3545
### Patch Changes
3646

37-
- Update `moduleResolution` to `NodeNext` ([#63](https://github.com/svecosystem/mode-watcher/pull/63))
47+
- Update `moduleResolution` to `NodeNext` ([#63](https://github.com/svecosystem/mode-watcher/pull/63))
3848

3949
## 0.2.1
4050

4151
### Patch Changes
4252

43-
- Fix incorrect localStorage key ([#51](https://github.com/svecosystem/mode-watcher/pull/51))
53+
- Fix incorrect localStorage key ([#51](https://github.com/svecosystem/mode-watcher/pull/51))
4454

4555
## 0.2.0
4656

4757
### Minor Changes
4858

49-
- Allow `mode-watcher` to manage the theme-color meta tag ([#48](https://github.com/svecosystem/mode-watcher/pull/48))
59+
- Allow `mode-watcher` to manage the theme-color meta tag ([#48](https://github.com/svecosystem/mode-watcher/pull/48))
5060

5161
## 0.1.2
5262

5363
### Patch Changes
5464

55-
- f30aa9f: add defaultMode prop
65+
- f30aa9f: add defaultMode prop
5666

5767
## 0.1.1
5868

5969
### Patch Changes
6070

61-
- 8c71d5a: Fix bug where mode would not change unless the `mode` store was subscribed to
71+
- 8c71d5a: Fix bug where mode would not change unless the `mode` store was subscribed to
6272

6373
## 0.1.0
6474

6575
### Minor Changes
6676

67-
- ec7750d: Rewrite mode-watcher with custom stores
77+
- ec7750d: Rewrite mode-watcher with custom stores
6878

6979
## 0.0.7
7080

7181
### Patch Changes
7282

73-
- abc9b03: Fix bug missing withoutTransition in head
83+
- abc9b03: Fix bug missing withoutTransition in head
7484

7585
## 0.0.6
7686

7787
### Patch Changes
7888

79-
- 289d4d6: Fix: prevent transitions during theme change
89+
- 289d4d6: Fix: prevent transitions during theme change
8090

8191
## 0.0.5
8292

8393
### Patch Changes
8494

85-
- 8c93706: Add `track` prop which allows `<ModeWatcher>` to track changes in system preference
86-
- 9dbbb39: Fixed bug in `setMode` which prevented user preferences from being set
87-
- 4cb519e: Fix: remove unnecessary dep
95+
- 8c93706: Add `track` prop which allows `<ModeWatcher>` to track changes in system preference
96+
- 9dbbb39: Fixed bug in `setMode` which prevented user preferences from being set
97+
- 4cb519e: Fix: remove unnecessary dep
8898

8999
## 0.0.4
90100

91101
### Patch Changes
92102

93-
- 487c5e3: Change persistent stores to use `dark` | `light` strings instead of booleans
103+
- 487c5e3: Change persistent stores to use `dark` | `light` strings instead of booleans
94104

95105
## 0.0.3
96106

97107
### Patch Changes
98108

99-
- 0d3ef7f: Add `resetMode` function to reset mode to OS preference
109+
- 0d3ef7f: Add `resetMode` function to reset mode to OS preference
100110

101111
## 0.0.2
102112

103113
### Patch Changes
104114

105-
- a03b451: Add `color-scheme` style to document element
115+
- a03b451: Add `color-scheme` style to document element
106116

107117
## 0.0.1
108118

109119
### Patch Changes
110120

111-
- 5a18026: Initial release
121+
- 5a18026: Initial release

packages/mode-watcher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mode-watcher",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"description": "SSR-friendly light and dark mode for SvelteKit",
55
"license": "MIT",
66
"repository": {

sites/docs/CHANGELOG.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,43 @@
11
# mode-watcher-docs
22

3+
## 0.0.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`7f6fa593bebdcce269cbb531bf1eeb048bccb1b9`](https://github.com/svecosystem/mode-watcher/commit/7f6fa593bebdcce269cbb531bf1eeb048bccb1b9), [`271a59318b6c9ad96722f521acf30f83c88ec15a`](https://github.com/svecosystem/mode-watcher/commit/271a59318b6c9ad96722f521acf30f83c88ec15a)]:
8+
9+
310
## 0.0.5
411

512
### Patch Changes
613

7-
- Updated dependencies [[`e3cc1212024fea2235716f132aceec944b3d0ab5`](https://github.com/svecosystem/mode-watcher/commit/e3cc1212024fea2235716f132aceec944b3d0ab5)]:
8-
14+
- Updated dependencies [[`e3cc1212024fea2235716f132aceec944b3d0ab5`](https://github.com/svecosystem/mode-watcher/commit/e3cc1212024fea2235716f132aceec944b3d0ab5)]:
15+
916

1017
## 0.0.4
1118

1219
### Patch Changes
1320

14-
- 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)]:
15-
21+
- 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)]:
22+
1623

1724
## 0.0.3
1825

1926
### Patch Changes
2027

21-
- Updated dependencies [[`25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c`](https://github.com/svecosystem/mode-watcher/commit/25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c)]:
22-
28+
- Updated dependencies [[`25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c`](https://github.com/svecosystem/mode-watcher/commit/25e5fad771b3a1ebc51d781550cc19a0e0aa7e7c)]:
29+
2330

2431
## 0.0.2
2532

2633
### Patch Changes
2734

28-
- Updated dependencies [[`920f2317876d7e13bc3293972c0418772e676e9d`](https://github.com/svecosystem/mode-watcher/commit/920f2317876d7e13bc3293972c0418772e676e9d)]:
29-
35+
- Updated dependencies [[`920f2317876d7e13bc3293972c0418772e676e9d`](https://github.com/svecosystem/mode-watcher/commit/920f2317876d7e13bc3293972c0418772e676e9d)]:
36+
3037

3138
## 0.0.1
3239

3340
### Patch Changes
3441

35-
- Updated dependencies [[`0144bc8de98e568afa2eabe02861c5c8a3e25d21`](https://github.com/svecosystem/mode-watcher/commit/0144bc8de98e568afa2eabe02861c5c8a3e25d21)]:
36-
42+
- Updated dependencies [[`0144bc8de98e568afa2eabe02861c5c8a3e25d21`](https://github.com/svecosystem/mode-watcher/commit/0144bc8de98e568afa2eabe02861c5c8a3e25d21)]:
43+

sites/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mode-watcher-docs",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"private": true,
55
"description": "Documentation site for mode-watcher",
66
"scripts": {

0 commit comments

Comments
 (0)