@kolkrabbi/kol-framework 0.47.0 → 0.48.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.
Files changed (2) hide show
  1. package/kol-framework.css +11 -0
  2. package/package.json +3 -3
package/kol-framework.css CHANGED
@@ -74,6 +74,17 @@ body {
74
74
  which is the BRAND layout's rail. */
75
75
  --kol-shell-nav-w: 256px;
76
76
  --kol-shell-toc-w: 256px;
77
+ /* the rails' grab gesture (useDragResize, 2026-09-30) — the same four tokens SideNav's carries;
78
+ a drag under -snap hides the rail (the shell's own collapse), arrows step, release within
79
+ -snap-default of 256 lands on it */
80
+ --kol-shell-nav-snap: 12rem;
81
+ --kol-shell-nav-step: var(--kol-spacing-4);
82
+ --kol-shell-nav-snap-default: var(--kol-shell-nav-step);
83
+ --kol-shell-nav-w-collapsed: 0px;
84
+ --kol-shell-toc-snap: 12rem;
85
+ --kol-shell-toc-step: var(--kol-spacing-4);
86
+ --kol-shell-toc-snap-default: var(--kol-shell-toc-step);
87
+ --kol-shell-toc-w-collapsed: 0px;
77
88
  --kol-container-max: 100%;
78
89
 
79
90
  /* Opacity tokens (--kol-fg-*) + text-role tokens (--kol-text-*) live in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-framework",
3
- "version": "0.47.0",
3
+ "version": "0.48.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",
@@ -21,8 +21,8 @@
21
21
  "react-router-dom": "^6.0.0 || ^7.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@kolkrabbi/kol-icons": "^0.30.0",
25
- "@kolkrabbi/kol-component": "^0.230.0"
24
+ "@kolkrabbi/kol-component": "^0.230.0",
25
+ "@kolkrabbi/kol-icons": "^0.30.0"
26
26
  },
27
27
  "files": [
28
28
  "src",