@kolkrabbi/kol-theme 0.120.1 → 0.121.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.
@@ -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 RIGHT (ShellDrawerOnRight, kol-chess 2026-09-01, user ruling: the
101
- * close must not land mid-screen). NavRail pins itself right-0 in drawer mode;
102
- * off-canvas is +100%. */
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): with the drawer on the right
116
- * the trigger and the open X share one corner at the screen edge — where the
117
- * thumb is — so the 2026-08-31 travel rule is gone; it was the cure for the
118
- * left side and nothing needs to move any more. */
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.120.1",
3
+ "version": "0.121.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",