@kolkrabbi/kol-framework 0.21.0 → 0.22.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/kol-framework.css +12 -3
- package/package.json +1 -1
package/kol-framework.css
CHANGED
|
@@ -19,6 +19,15 @@ body {
|
|
|
19
19
|
color: var(--kol-surface-on-primary);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
/* Reserve the scrollbar gutter so a full-bleed surface cannot induce a
|
|
23
|
+
horizontal scroll when a vertical scrollbar appears (2026-08-15, promoted
|
|
24
|
+
from kol-fxr's index.css — a consumer's entry stylesheet is for IMPORTS,
|
|
25
|
+
and this is chrome every app on this framework wants). Consumers on an
|
|
26
|
+
overlay-scrollbar platform pay nothing; the property is inert there. */
|
|
27
|
+
:root {
|
|
28
|
+
scrollbar-gutter: stable;
|
|
29
|
+
}
|
|
30
|
+
|
|
22
31
|
/* The global user-select:none gate + allowlist was REMOVED 2026-07-29 (user
|
|
23
32
|
* law, brand-app ruling): text is selectable everywhere — copyability beats
|
|
24
33
|
* chrome purity. */
|
|
@@ -831,9 +840,9 @@ body {
|
|
|
831
840
|
written by useDragResize({ token: 'kol-rail' }). Different elements, same
|
|
832
841
|
precedent as data-toc / data-sidenav above. */
|
|
833
842
|
:root {
|
|
834
|
-
--kol-rail-w:
|
|
835
|
-
--kol-rail-snap:
|
|
836
|
-
--kol-rail-step:
|
|
843
|
+
--kol-rail-w: 256px; /* the same standard --kol-sidenav-w resolves to */
|
|
844
|
+
--kol-rail-snap: 192px; /* drag under this snaps to -w-collapsed */
|
|
845
|
+
--kol-rail-step: 16px; /* keyboard resize increment */
|
|
837
846
|
--kol-rail-snap-default: var(--kol-rail-step); /* release within this of the default clears the override */
|
|
838
847
|
--kol-rail-w-collapsed: 56px;
|
|
839
848
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.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",
|