@kolkrabbi/kol-framework 0.17.0 → 0.18.0
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 +3 -3
- package/src/ShellHeader.jsx +7 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "KOL app shell — sidenav, layout, theme toggle, footer, heroes + brand color layer. SideNav takes nav data as props so the tree stays app-local.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"app-shell"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@kolkrabbi/kol-component": "^0.
|
|
31
|
-
"@kolkrabbi/kol-icons": "^0.
|
|
30
|
+
"@kolkrabbi/kol-component": "^0.34.0",
|
|
31
|
+
"@kolkrabbi/kol-icons": "^0.14.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^18.3.0 || ^19.0.0",
|
package/src/ShellHeader.jsx
CHANGED
|
@@ -108,12 +108,10 @@ export default function ShellHeader({
|
|
|
108
108
|
{actions}
|
|
109
109
|
{showThemeToggle && (
|
|
110
110
|
<Tooltip label="Toggle theme">
|
|
111
|
-
{/*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
|
|
115
|
-
<span className="hidden lg:inline-flex"><ThemeToggle fill="none" label={false} size="lg" /></span>
|
|
116
|
-
<span className="lg:hidden"><ThemeToggle fill="none" label={false} size="lg" /></span>
|
|
111
|
+
{/* md at every width (user re-rule 2026-08-09: the whole
|
|
112
|
+
* header glyph row rides md, full ink — the earlier lg-at-lg+
|
|
113
|
+
* split is repealed, which also collapsed the two spans). */}
|
|
114
|
+
<ThemeToggle fill="none" label={false} size="md" />
|
|
117
115
|
</Tooltip>
|
|
118
116
|
)}
|
|
119
117
|
{onMenuClick && (
|
|
@@ -121,13 +119,12 @@ export default function ShellHeader({
|
|
|
121
119
|
{/* IconFrame, not Button (user ruling 2026-08-01). Header
|
|
122
120
|
* chrome takes a click but must not light up; the frame has
|
|
123
121
|
* no state rules at all, which is the property Button can
|
|
124
|
-
* only approximate by dropping its own. `nav` rests at
|
|
125
|
-
*
|
|
126
|
-
* months. */}
|
|
122
|
+
* only approximate by dropping its own. `nav` rests at FULL
|
|
123
|
+
* ink since the 2026-08-09 re-rule (was oq-64). */}
|
|
127
124
|
<IconFrame
|
|
128
125
|
name="hamburger"
|
|
129
126
|
variant="nav"
|
|
130
|
-
size="
|
|
127
|
+
size="md"
|
|
131
128
|
onClick={onMenuClick}
|
|
132
129
|
aria-label="Open navigation menu"
|
|
133
130
|
/>
|