@kolkrabbi/kol-workshop 0.27.0 → 0.29.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.
|
|
3
|
+
"version": "0.29.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-
|
|
29
|
-
"@kolkrabbi/kol-icons": "^0.
|
|
30
|
-
"@kolkrabbi/kol-
|
|
31
|
-
"@kolkrabbi/kol-
|
|
28
|
+
"@kolkrabbi/kol-component": "^0.220.0",
|
|
29
|
+
"@kolkrabbi/kol-icons": "^0.27.1",
|
|
30
|
+
"@kolkrabbi/kol-framework": "^0.44.0",
|
|
31
|
+
"@kolkrabbi/kol-theme": "^0.148.0"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"src",
|
|
@@ -192,7 +192,7 @@ const DocsFrontmatter = ({ metadata, docId }) => {
|
|
|
192
192
|
return (
|
|
193
193
|
<div key={key} className="docs-frontmatter-row">
|
|
194
194
|
<span className="docs-frontmatter-key kol-helper-12 text-meta">
|
|
195
|
-
{icon && <Icon name={icon} size={14} />}
|
|
195
|
+
{icon && <Icon name={icon} size={14} className="text-oq-48" />}
|
|
196
196
|
{FIELD_LABELS[key] ?? humanise(key)}
|
|
197
197
|
</span>
|
|
198
198
|
<span className="docs-frontmatter-value kol-mono-12 text-strong">
|
|
@@ -68,11 +68,11 @@ export default function ExhibitSidebar({
|
|
|
68
68
|
Back
|
|
69
69
|
</button>
|
|
70
70
|
<Link to={docHref()} className="shell-sidebar-action kol-mono-14 text-body">
|
|
71
|
-
<Icon name="book-open" size={14} />
|
|
71
|
+
<Icon name="book-open" size={14} className="text-oq-64" />
|
|
72
72
|
All documentation
|
|
73
73
|
</Link>
|
|
74
74
|
<Link to={basePath} className="shell-sidebar-action kol-mono-14 text-body">
|
|
75
|
-
<Icon name="layout" size={14} />
|
|
75
|
+
<Icon name="layout" size={14} className="text-oq-64" />
|
|
76
76
|
Workshop home
|
|
77
77
|
</Link>
|
|
78
78
|
<button
|
|
@@ -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
|
-
|
|
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
|
-
|
|
444
|
-
|
|
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) => (
|
|
@@ -99,7 +99,9 @@ const TagModeOverlay = () => {
|
|
|
99
99
|
<div className="flex flex-col gap-4">
|
|
100
100
|
{hasFilters && (
|
|
101
101
|
<>
|
|
102
|
-
|
|
102
|
+
{/* INSET TO THE ROWS (user 2026-09-25: the button sat flush on the panel edge while the
|
|
103
|
+
* rows below start at `.shell-nav-item`'s 20px, 24px from 1600) */}
|
|
104
|
+
<div className="flex items-center justify-between pl-5 min-[1600px]:pl-6">
|
|
103
105
|
{/* PRIMARY (user 2026-08-01). `outline quiet` is the
|
|
104
106
|
* recessive rung — this is the one action in the body. */}
|
|
105
107
|
<Button variant="primary" size="sm" onClick={clearTags}>
|