@kolkrabbi/kol-shell 0.87.0 → 0.87.1
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/package.json +4 -4
- package/src/navHidden.js +1 -1
- package/src/settingsToggle.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-shell",
|
|
3
|
-
"version": "0.87.
|
|
3
|
+
"version": "0.87.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The application shell",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
"@kolkrabbi/kol-framework": "^0.62.2",
|
|
24
25
|
"@kolkrabbi/kol-icons": "^0.52.0",
|
|
25
|
-
"@kolkrabbi/kol-
|
|
26
|
-
"@kolkrabbi/kol-
|
|
27
|
-
"@kolkrabbi/kol-theme": "^0.195.0"
|
|
26
|
+
"@kolkrabbi/kol-component": "^0.311.2",
|
|
27
|
+
"@kolkrabbi/kol-theme": "^0.196.0"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"src",
|
package/src/navHidden.js
CHANGED
|
@@ -5,5 +5,5 @@ import { createContext, useContext } from 'react'
|
|
|
5
5
|
// sidebar of their own (monitor's rack, mirror's studio) set this to replace
|
|
6
6
|
// the global rail with their own nav header row. Load-bearing seam — keep it
|
|
7
7
|
// a context.
|
|
8
|
-
export const NavHiddenContext = createContext(null)
|
|
8
|
+
export const NavHiddenContext = (globalThis[Symbol.for('@kolkrabbi/kol-shell/NavHiddenContext')] ??= createContext(null))
|
|
9
9
|
export const useNavHidden = () => useContext(NavHiddenContext)
|
package/src/settingsToggle.js
CHANGED
|
@@ -18,5 +18,5 @@ import { createContext, useContext } from 'react'
|
|
|
18
18
|
* No-op when `settingsPath` is unset, and safe outside an AppShell — a hook
|
|
19
19
|
* that throws on a missing provider would make it unusable in exactly the
|
|
20
20
|
* conditional places it is for. */
|
|
21
|
-
export const SettingsToggleContext = createContext(null)
|
|
21
|
+
export const SettingsToggleContext = (globalThis[Symbol.for('@kolkrabbi/kol-shell/SettingsToggleContext')] ??= createContext(null))
|
|
22
22
|
export const useSettingsToggle = () => useContext(SettingsToggleContext) ?? (() => {})
|