@kolkrabbi/kol-theme 0.120.1 → 0.122.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-components-atoms.css +17 -0
- package/kol-components-shell.css +11 -8
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -696,6 +696,13 @@
|
|
|
696
696
|
* own `align-self: center` on the runnable track, and the thumb stays pinned
|
|
697
697
|
* to the track. The row (.control-slider) is already 24px, so nothing moves. */
|
|
698
698
|
height: 24px;
|
|
699
|
+
/* pan-y, not none (SliderCoarsePointerHeight, kol-mirror 2026-09-01): inside
|
|
700
|
+
* a scrolling sheet `auto` let the scroller claim any drag a few degrees off
|
|
701
|
+
* horizontal, so the thumb never moved and the sheet scrolled instead. The
|
|
702
|
+
* vertical gesture must still reach the scroller, or the sheet stops
|
|
703
|
+
* scrolling wherever a fader sits under the thumb. Does not inherit — it has
|
|
704
|
+
* to be on the input, and no prop reaches the input. */
|
|
705
|
+
touch-action: pan-y;
|
|
699
706
|
}
|
|
700
707
|
|
|
701
708
|
.slider-black::-webkit-slider-runnable-track {
|
|
@@ -1364,4 +1371,14 @@ a.kol-icon-frame {
|
|
|
1364
1371
|
font-size: 16px;
|
|
1365
1372
|
line-height: 22px;
|
|
1366
1373
|
}
|
|
1374
|
+
/* THE FADER (SliderCoarsePointerHeight, kol-mirror 2026-09-01). The jump that
|
|
1375
|
+
* took the input 2 → 24 on the desk takes it 24 → 44 on a phone, by its own
|
|
1376
|
+
* argument: the track is a 2px pseudo the UA centres in the box and the
|
|
1377
|
+
* thumb stays pinned to it, so the drawing does not change. The ROW lifts
|
|
1378
|
+
* with it — `.control-slider` is a fixed 24px and a 44px input inside it
|
|
1379
|
+
* would overflow; a consumer's `rowHeight` inline style still wins. */
|
|
1380
|
+
.control-slider,
|
|
1381
|
+
.slider-black {
|
|
1382
|
+
height: 44px;
|
|
1383
|
+
}
|
|
1367
1384
|
}
|
package/kol-components-shell.css
CHANGED
|
@@ -97,11 +97,13 @@
|
|
|
97
97
|
* be a second source of truth for it. And no `!important`: the rail reads its
|
|
98
98
|
* own `--kol-shell-drawer-width` in drawer mode instead of the live rail token,
|
|
99
99
|
* so nothing here is fighting an inline style. */
|
|
100
|
-
/* FROM THE
|
|
101
|
-
*
|
|
102
|
-
*
|
|
100
|
+
/* FROM THE LEFT (ShellDrawerSideCorrection, kol-chess 2026-09-01). 0.34.0 read
|
|
101
|
+
* "hamburger menu location" as a ruling on the panel and mirrored the whole of
|
|
102
|
+
* drawer mode; the ask was the trigger's corner. The panel slides in from the
|
|
103
|
+
* left as it did through 0.33.0 — NavRail pins left-0 in both modes, off-canvas
|
|
104
|
+
* is -100% — and the trigger holds top-right instead. */
|
|
103
105
|
[data-rail-drawer] .kol-shell-rail {
|
|
104
|
-
transform: translateX(100%);
|
|
106
|
+
transform: translateX(-100%);
|
|
105
107
|
transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
106
108
|
}
|
|
107
109
|
[data-rail-drawer="open"] .kol-shell-rail {
|
|
@@ -112,10 +114,11 @@
|
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
/* Above the rail, so it stays tappable with the drawer open. */
|
|
115
|
-
/* TOP-RIGHT, both states (ShellDrawerOnRight
|
|
116
|
-
* the
|
|
117
|
-
*
|
|
118
|
-
*
|
|
117
|
+
/* TOP-RIGHT, both states (ShellDrawerOnRight, held by ShellDrawerSideCorrection).
|
|
118
|
+
* This is the whole fix: the trigger used to translate by the drawer width and
|
|
119
|
+
* ride the panel's trailing edge, landing the open X mid-screen at 390. Pinned
|
|
120
|
+
* to the far corner it never meets the left-hand panel, so the 2026-08-31 travel
|
|
121
|
+
* rule stays retired — one control, one position, glyph swaps in place. */
|
|
119
122
|
.kol-shell-drawer-trigger {
|
|
120
123
|
position: fixed;
|
|
121
124
|
top: 12px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.122.0",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|