@kolkrabbi/kol-theme 0.200.5 → 0.201.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.
@@ -1474,3 +1474,20 @@ a.kol-icon-frame {
1474
1474
  }
1475
1475
  .kol-tabs-scroll::-webkit-scrollbar { display: none; }
1476
1476
  .kol-tabs-scroll > * { flex: none; min-width: 100%; }
1477
+
1478
+ /* ═══════════════════════════════════════════════════════════════
1479
+ * THE FLOATING STYLE — B (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30, canvas Round 3). `variant="float"` — the
1480
+ * house word for a look (user ruling 2026-10-30) — on Button, Input and the menu rows; A, today's square controls,
1481
+ * stays the default. The composed float components (AppFloatNav, AccountForm's box, the signed-out Home's menu) pass it
1482
+ * to their children, so a consumer never sets it by hand. Shape only — no layout, no breakpoint:
1483
+ * a 44 control (44×44 icon-only) · an 18 radius (24 − the 6 inset) · a field on the page's ground inside the float box
1484
+ * The box and the menu are 24 round on surface-secondary with a 6 inset — the menu's is `.kol-more-sheet-float`
1485
+ * (kol-components-shell.css, beside the sheet).
1486
+ * A full-round button (`radius="full"`) stays round.
1487
+ * ═══════════════════════════════════════════════════════════════ */
1488
+ .kol-btn-float:not(.kol-btn-radius-full),
1489
+ .kol-control--float { border-radius: 18px; }
1490
+ .kol-btn-float:not(.kol-btn-icon):not(.kol-btn-xs):not(.kol-btn-sm),
1491
+ .kol-control--float:not(.kol-control-xs):not(.kol-control-sm) { min-height: 44px; }
1492
+ .kol-btn-float.kol-btn-icon:not(.kol-btn-xs):not(.kol-btn-sm):not(.kol-btn-radius-full) { width: 44px; height: 44px; }
1493
+ .kol-control--float { padding-top: 0; padding-bottom: 0; background-color: var(--kol-surface-primary); }
@@ -2467,8 +2467,29 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2467
2467
  background: var(--kol-fg-12);
2468
2468
  }
2469
2469
 
2470
+ /* Children — a sectioned entry's own ticks (DocsToc `toc[].children`, DocsTocRailChildren, kol-atlas 2026-10-30). At
2471
+ * rest a child is the graduation above, 3px and unlabelled; its label overflows the 3px row on both sides rather than
2472
+ * growing it, so the pitch (and every measured detent) stays put. The label shows only near the lens's PEAK — a steeper
2473
+ * curve than the section labels, because at a 3px pitch the section curve would stack four or five labels on one
2474
+ * another — and it never takes the pointer: the row is stretched across the rail and IS the hit area, so the tick under
2475
+ * the pointer is the one the lens shows and the one a click follows. */
2476
+ .kol-toc-child { align-self: stretch; }
2477
+ .kol-toc-child .kol-toc-label,
2478
+ .kol-toc-child[data-active] .kol-toc-label {
2479
+ opacity: clamp(0, (var(--m) - 0.96) * 25, 1);
2480
+ pointer-events: none;
2481
+ }
2482
+ .kol-toc-child:focus-visible .kol-toc-label { opacity: 1; }
2483
+ /* The active child takes the active ink at a graduation's length; its section row stays lit as the parent. */
2484
+ .kol-toc-child[data-active] .kol-toc-rule {
2485
+ width: calc(12px + 11px * var(--m));
2486
+ background: var(--kol-fg-64);
2487
+ }
2488
+
2470
2489
  @media (prefers-reduced-motion: reduce) {
2471
2490
  .kol-toc-label { opacity: 1; transform: none; }
2491
+ .kol-toc-child .kol-toc-label { opacity: 0; }
2492
+ .kol-toc-child:focus-visible .kol-toc-label { opacity: 1; }
2472
2493
  .kol-toc-rule { width: 12px; }
2473
2494
  .kol-toc-row[data-active] .kol-toc-rule { width: 24px; }
2474
2495
  .kol-toc-tick .kol-toc-rule { width: 5px; }
@@ -252,8 +252,13 @@
252
252
  padding: 8px;
253
253
  border-radius: 24px;
254
254
  background: var(--kol-surface-secondary);
255
- border: 1px solid var(--kol-oq-08);
256
255
  }
256
+ /* NO BORDER BY DEFAULT (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30 — the Round 3 board's menus have none); the
257
+ * hairline is opt-in, the `menuBorder` prop of AppFloatNav and TransportPill */
258
+ .kol-more-sheet-bordered { border: 1px solid var(--kol-oq-08); }
259
+ /* THE FLOAT MENU (style B, `variant="float"` — kol-components-atoms.css): the 6 inset, rows flush, each row 14 in */
260
+ .kol-more-sheet-float { padding: 6px; gap: 0; }
261
+ .kol-more-sheet-float .kol-btn-float { padding-left: 14px; padding-right: 14px; }
257
262
  .kol-phone-nav-more {
258
263
  position: fixed;
259
264
  left: 12px;
@@ -150,6 +150,10 @@
150
150
  --kol-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
151
151
  --kol-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
152
152
  --kol-shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
153
+ /* THE FLOAT SHADOW (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30): what lifts a floating nav or menu off a canvas that
154
+ * clashes with it — fxr's local value (kol-editor.css:468), made the KOL's. One value in both themes: it is a lift, not
155
+ * an elevation ramp, so it has no dark mirror below */
156
+ --kol-shadow-float: 0 8px 24px -8px rgba(0, 0, 0, 0.4), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
153
157
 
154
158
  /* Transitions (consistent timing) */
155
159
  --kol-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.200.5",
3
+ "version": "0.201.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",