@kolkrabbi/kol-theme 0.220.0 → 0.222.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.
@@ -169,7 +169,8 @@
169
169
  padding-inline: calc(var(--kol-spacing-1) + 1px - var(--kol-tone-panel-border-w, 0px));
170
170
  overflow-y: auto;
171
171
  min-height: 0;
172
- max-height: calc(var(--kol-dd-max-rows, 10) * var(--kol-dd-row-h, 2rem) + var(--kol-spacing-1) * 2);
172
+ /* the rows sit `--kol-spacing-0-5` apart (Dropdown.jsx, 2026-11-12), so the ceiling counts the gaps between them */
173
+ max-height: calc(var(--kol-dd-max-rows, 10) * var(--kol-dd-row-h, 2rem) + (var(--kol-dd-max-rows, 10) - 1) * var(--kol-spacing-0-5) + var(--kol-spacing-1) * 2);
173
174
  }
174
175
 
175
176
  /* THE MENU PANEL (the Menu* family, metric Round 4, 2026-10-31) — `Menu`'s panel: it floats under the caller's
@@ -191,19 +192,23 @@
191
192
  padding: var(--kol-spacing-1);
192
193
  box-shadow: var(--kol-shadow-float);
193
194
  }
194
- /* the row: tall (38), inset by the panel's 4, ink one step down until hovered; the current row and an
195
- * open flyout's row are filled. Two classes so it outranks the row's own `text-body` utility. */
195
+ /* the row: tall (38), inset by the panel's 4, ink one step down until hovered. HOVER IS THE ONLY FILL (plan-2026-11-12
196
+ * W11.1 — *"what did I also say now 5 times about hover states and gaps?"*): hovered, keyboard-focused or opened it fills;
197
+ * the current row takes the ink and its dot, no fill. Rows sit `--kol-spacing-0-5` apart (the containers' gap), so two
198
+ * fills never touch. Two classes so it outranks the row's own `text-body` utility. */
196
199
  .kol-menu-panel .kol-menu-row {
197
200
  height: 38px;
198
201
  padding-inline: var(--kol-spacing-3);
199
202
  border-radius: 6px;
200
203
  color: var(--kol-fg-88);
201
204
  }
205
+ .kol-menu-panel .kol-menu-row--current { color: var(--kol-fg-96); }
202
206
  .kol-menu-panel .kol-menu-row:hover,
203
- .kol-menu-panel .kol-menu-row--current,
207
+ .kol-menu-panel .kol-menu-row:focus-visible,
204
208
  .kol-menu-panel .kol-menu-row[aria-expanded="true"] {
205
209
  color: var(--kol-fg-96);
206
210
  background-color: var(--kol-oq-16);
211
+ outline: none;
207
212
  }
208
213
  /* a rule runs edge to edge — through the panel's 4px inset. MenuDivider is the Divider atom (2026-11-07): the ink is
209
214
  * its inner line's */
@@ -25,9 +25,9 @@
25
25
  same width as we just set"*); it ramped 264 · 320 from 1536 until then */
26
26
  --kol-shell-rail-open: 380px;
27
27
  /* THE FLOAT RAIL'S FOOTPRINTS (float-everything W9 row 144, 2026-11-04 — the exploration's `Navigation layout
28
- * footprints`): expanded 280 · rail 72 · hidden 0, beside the app rail's 48 / 380 above and the site rail's 240
28
+ * footprints`): expanded 264 (the default float Rail, `--kol-float-module-w`; 280 until his ruling 2026-11-12) · rail 72 · hidden 0, beside the app rail's 48 / 380 above and the site rail's 240
29
29
  * (kol-framework `--kol-sidenav-w`). Pinned states reflow the content; overlays (RailTrigger's card, RailFlyout) never. */
30
- --kol-shell-float-rail-open: 280px;
30
+ --kol-shell-float-rail-open: var(--kol-float-module-w, 264px);
31
31
  --kol-shell-float-rail-width: 72px;
32
32
  --kol-shell-float-rail-hidden: 0px;
33
33
  /* Page gutter — PageShell's padding and PageBleed's negative margin.
@@ -329,6 +329,8 @@
329
329
  .kol-tool-rail .kol-btn.kol-btn-float.kol-tool-search { height: var(--kol-float-row); }
330
330
  /* RailFlyout: 34 rows on the list round, 12 in, the glyph 12 off the label */
331
331
  .kol-rail-flyout .kol-btn.kol-btn-float { height: 34px; padding: 0 12px; gap: 12px; border-radius: var(--kol-float-list-r); font-size: var(--kol-float-t-sm); }
332
+ /* its current row takes the ink and its dot, NO fill — hover is the only fill in a list (plan-2026-11-12 W11.1) */
333
+ .kol-float-chrome.kol-rail-flyout .kol-btn.kol-btn-float[aria-current="page"]:not(.kol-dd-trigger):not(:hover):not(:focus-visible) { background: transparent; }
332
334
  /* the float Slider's track fills a dock's column */
333
335
  .kol-progress-dock .kol-slider-float { width: 100%; }
334
336
 
@@ -9,6 +9,7 @@
9
9
  */
10
10
  :root {
11
11
  /* Spacing scale (4px base) */
12
+ --kol-spacing-0-5: 0.125rem; /* 2px — the gap between list rows, so two fills never touch (2026-11-12) */
12
13
  --kol-spacing-1: 0.25rem; /* 4px */
13
14
  --kol-spacing-2: 0.5rem; /* 8px */
14
15
  --kol-spacing-3: 0.75rem; /* 12px */
@@ -205,10 +206,11 @@
205
206
  --kol-float-ic-sm: 14px;
206
207
  --kol-float-ic-md: 16px;
207
208
  --kol-float-ic-lg: 18px;
208
- /* the module (a float Rail) widths — two, nothing else (decided for his review, P6): the inspector, and a tool Rail
209
- * whose rows carry two controls (Labs' params, the generator Rails) */
210
- --kol-float-module-w: 272px;
211
- --kol-float-module-w-wide: 352px;
209
+ /* the float Rail widths — 264 and 360, nothing else (his ruling 2026-11-12, P1 LAW: *"264 AND 360"*): 264 the default
210
+ * Rail (NavRail float expanded, PropertyRail, ReadingContents, the inspector slot), 360 the wide Rail (Labs params, the
211
+ * generator Rails). Replaced 272 · 280 · 352 · 384 */
212
+ --kol-float-module-w: 264px;
213
+ --kol-float-module-w-wide: 360px;
212
214
  /* the module's rows: the label column of a LabeledControl float `inline` row and its gap to the control; the
213
215
  * regular rhythm between rows (compact is spacing-2); the folded module's pill */
214
216
  --kol-float-label-w: 110px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.220.0",
3
+ "version": "0.222.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",