@kolkrabbi/kol-theme 0.221.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 */
@@ -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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.221.0",
3
+ "version": "0.222.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",