@checkstack/frontend 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/src/main.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @checkstack/frontend
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f6464a2: Fix theme toggle showing incorrect state when system theme is used
|
|
8
|
+
|
|
9
|
+
- Added `resolvedTheme` property to `ThemeProvider` that returns the actual computed theme ("light" or "dark"), resolving "system" to the user's OS preference
|
|
10
|
+
- Updated `NavbarThemeToggle` and `ThemeToggleMenuItem` to use `resolvedTheme` instead of `theme` for determining toggle state
|
|
11
|
+
- Changed default theme from "light" to "system" so non-logged-in users respect their OS color scheme preference
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [f6464a2]
|
|
14
|
+
- @checkstack/ui@0.2.3
|
|
15
|
+
- @checkstack/auth-frontend@0.4.1
|
|
16
|
+
- @checkstack/catalog-frontend@0.3.3
|
|
17
|
+
- @checkstack/command-frontend@0.2.2
|
|
18
|
+
|
|
19
|
+
## 0.2.2
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [df6ac7b]
|
|
24
|
+
- @checkstack/auth-frontend@0.4.0
|
|
25
|
+
- @checkstack/catalog-frontend@0.3.2
|
|
26
|
+
|
|
3
27
|
## 0.2.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
package/src/main.tsx
CHANGED
|
@@ -10,8 +10,8 @@ await loadPlugins();
|
|
|
10
10
|
|
|
11
11
|
ReactDOM.createRoot(document.querySelector("#root")!).render(
|
|
12
12
|
<React.StrictMode>
|
|
13
|
-
<ThemeProvider defaultTheme="
|
|
13
|
+
<ThemeProvider defaultTheme="system" storageKey="checkstack-ui-theme">
|
|
14
14
|
<App />
|
|
15
15
|
</ThemeProvider>
|
|
16
|
-
</React.StrictMode
|
|
16
|
+
</React.StrictMode>,
|
|
17
17
|
);
|