|
1 | 1 | # mode-watcher
|
2 | 2 |
|
| 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 | + |
3 | 13 | ## 0.4.1
|
4 | 14 |
|
5 | 15 | ### Patch Changes
|
6 | 16 |
|
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)) |
8 | 18 |
|
9 | 19 | ## 0.4.0
|
10 | 20 |
|
11 | 21 | ### Minor Changes
|
12 | 22 |
|
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)) |
14 | 24 |
|
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)) |
16 | 26 |
|
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)) |
18 | 28 |
|
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)) |
20 | 30 |
|
21 | 31 | ## 0.3.1
|
22 | 32 |
|
23 | 33 | ### Patch Changes
|
24 | 34 |
|
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)) |
26 | 36 |
|
27 | 37 | ## 0.3.0
|
28 | 38 |
|
29 | 39 | ### Minor Changes
|
30 | 40 |
|
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)) |
32 | 42 |
|
33 | 43 | ## 0.2.2
|
34 | 44 |
|
35 | 45 | ### Patch Changes
|
36 | 46 |
|
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)) |
38 | 48 |
|
39 | 49 | ## 0.2.1
|
40 | 50 |
|
41 | 51 | ### Patch Changes
|
42 | 52 |
|
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)) |
44 | 54 |
|
45 | 55 | ## 0.2.0
|
46 | 56 |
|
47 | 57 | ### Minor Changes
|
48 | 58 |
|
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)) |
50 | 60 |
|
51 | 61 | ## 0.1.2
|
52 | 62 |
|
53 | 63 | ### Patch Changes
|
54 | 64 |
|
55 |
| -- f30aa9f: add defaultMode prop |
| 65 | +- f30aa9f: add defaultMode prop |
56 | 66 |
|
57 | 67 | ## 0.1.1
|
58 | 68 |
|
59 | 69 | ### Patch Changes
|
60 | 70 |
|
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 |
62 | 72 |
|
63 | 73 | ## 0.1.0
|
64 | 74 |
|
65 | 75 | ### Minor Changes
|
66 | 76 |
|
67 |
| -- ec7750d: Rewrite mode-watcher with custom stores |
| 77 | +- ec7750d: Rewrite mode-watcher with custom stores |
68 | 78 |
|
69 | 79 | ## 0.0.7
|
70 | 80 |
|
71 | 81 | ### Patch Changes
|
72 | 82 |
|
73 |
| -- abc9b03: Fix bug missing withoutTransition in head |
| 83 | +- abc9b03: Fix bug missing withoutTransition in head |
74 | 84 |
|
75 | 85 | ## 0.0.6
|
76 | 86 |
|
77 | 87 | ### Patch Changes
|
78 | 88 |
|
79 |
| -- 289d4d6: Fix: prevent transitions during theme change |
| 89 | +- 289d4d6: Fix: prevent transitions during theme change |
80 | 90 |
|
81 | 91 | ## 0.0.5
|
82 | 92 |
|
83 | 93 | ### Patch Changes
|
84 | 94 |
|
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 |
88 | 98 |
|
89 | 99 | ## 0.0.4
|
90 | 100 |
|
91 | 101 | ### Patch Changes
|
92 | 102 |
|
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 |
94 | 104 |
|
95 | 105 | ## 0.0.3
|
96 | 106 |
|
97 | 107 | ### Patch Changes
|
98 | 108 |
|
99 |
| -- 0d3ef7f: Add `resetMode` function to reset mode to OS preference |
| 109 | +- 0d3ef7f: Add `resetMode` function to reset mode to OS preference |
100 | 110 |
|
101 | 111 | ## 0.0.2
|
102 | 112 |
|
103 | 113 | ### Patch Changes
|
104 | 114 |
|
105 |
| -- a03b451: Add `color-scheme` style to document element |
| 115 | +- a03b451: Add `color-scheme` style to document element |
106 | 116 |
|
107 | 117 | ## 0.0.1
|
108 | 118 |
|
109 | 119 | ### Patch Changes
|
110 | 120 |
|
111 |
| -- 5a18026: Initial release |
| 121 | +- 5a18026: Initial release |
0 commit comments