@kolkrabbi/kol-framework 0.4.2 → 0.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-framework",
3
- "version": "0.4.2",
3
+ "version": "0.5.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.10.1",
31
- "@kolkrabbi/kol-icons": "0.6.1"
30
+ "@kolkrabbi/kol-component": "0.11.0",
31
+ "@kolkrabbi/kol-icons": "0.7.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^18.3.0 || ^19.0.0",
@@ -69,16 +69,17 @@ export default function ThemeToggle({ variant = 'icon', className = '' }) {
69
69
  )
70
70
  }
71
71
 
72
- // variant === 'icon' (default)
72
+ // variant === 'icon' (default) — 36×36 button / 20px glyph, the DS reference
73
+ // (user-verified 2026-07-15; was 32/18, which consumers shimmed via CSS)
73
74
  return (
74
75
  <button
75
76
  type="button"
76
77
  onClick={handleToggle}
77
78
  aria-label={`Switch to ${next} mode`}
78
79
  title={`Switch to ${next} mode`}
79
- className={`inline-flex items-center justify-center w-8 h-8 p-0 bg-transparent border-0 cursor-pointer text-emphasis hover:opacity-80 transition-opacity duration-300 ${className}`.trim()}
80
+ className={`inline-flex items-center justify-center w-9 h-9 p-0 bg-transparent border-0 cursor-pointer text-emphasis hover:opacity-80 transition-opacity duration-300 ${className}`.trim()}
80
81
  >
81
- {iconSwap(18)}
82
+ {iconSwap(20)}
82
83
  </button>
83
84
  )
84
85
  }