@kolkrabbi/kol-workshop 0.27.0 → 0.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-workshop",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "private": false,
5
5
  "description": "KOL workshop/docs system — a handrolled markdown engine, search, tag system (incl. a d3 tag graph), docs viewer, and docs shell. Sits above @kolkrabbi/kol-{theme,icons,component,framework}; content is consumer-injected (the package never globs docs).",
6
6
  "license": "MIT",
@@ -25,10 +25,10 @@
25
25
  "react-router-dom": "^6.0.0 || ^7.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@kolkrabbi/kol-framework": "^0.36.0",
28
+ "@kolkrabbi/kol-component": "^0.179.0",
29
29
  "@kolkrabbi/kol-icons": "^0.25.0",
30
- "@kolkrabbi/kol-theme": "^0.122.0",
31
- "@kolkrabbi/kol-component": "^0.153.0"
30
+ "@kolkrabbi/kol-framework": "^0.42.0",
31
+ "@kolkrabbi/kol-theme": "^0.138.0"
32
32
  },
33
33
  "files": [
34
34
  "src",
@@ -2,7 +2,7 @@ import { createContext, useState, useEffect, Suspense } from 'react'
2
2
  import { Outlet, Link, useLocation, useNavigate } from 'react-router-dom'
3
3
  import { ShellHeader } from '@kolkrabbi/kol-framework'
4
4
  import ShellSidebar from './ShellSidebar.jsx'
5
- import { Button, IconFrame, ShellDrawer, ShellSearchOverlay, Tooltip } from '@kolkrabbi/kol-component'
5
+ import { Button, IconFrame, ShellDrawer, ShellSearchOverlay, Tooltip, CloseButton } from '@kolkrabbi/kol-component'
6
6
  import { matchSearchItems } from '../engine/search.js'
7
7
  import { useTagMode } from '../tags/TagModeContext.jsx'
8
8
  import TagModeOverlay from '../tags/TagModeOverlay.jsx'
@@ -424,7 +424,9 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
424
424
  * for months. */}
425
425
  {isShortcutsOpen && (
426
426
  <div
427
- className="fixed inset-0 z-50 flex items-center justify-center bg-fg-48"
427
+ /* THE scrim (overlay-scrim-outliers sweep, 2026-09-03): was a hand
428
+ `bg-fg-48` — the ink wash, not the class's ab-black 48 */
429
+ className="fixed inset-0 z-50 flex items-center justify-center kol-overlay-scrim"
428
430
  onClick={() => setIsShortcutsOpen(false)}
429
431
  role="presentation"
430
432
  >
@@ -440,8 +442,10 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
440
442
  style={{ borderBottomColor: 'var(--kol-oq-08)' }}
441
443
  >
442
444
  <span className="kol-doc-eyebrow text-meta">Keyboard shortcuts</span>
443
- <Button variant="outline" quiet size="sm" iconOnly="x"
444
- aria-label="Close" onClick={() => setIsShortcutsOpen(false)} />
445
+ {/* was `Button variant="outline" quiet` — the boxed treatment the
446
+ * 2026-09-01 one-idiom ruling retired, still shipping here because
447
+ * the idiom was a comment rather than a component (2026-09-03) */}
448
+ <CloseButton onClick={() => setIsShortcutsOpen(false)} />
445
449
  </div>
446
450
  <ul className="flex flex-col px-4 py-3">
447
451
  {SHORTCUTS.map((s) => (