@kolkrabbi/kol-workshop 0.3.2 → 0.3.3
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.
|
|
3
|
+
"version": "0.3.3",
|
|
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",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"d3": "^7.9.0",
|
|
16
16
|
"@kolkrabbi/kol-brand": "^0.1.2",
|
|
17
|
-
"@kolkrabbi/kol-component": "0.14.
|
|
17
|
+
"@kolkrabbi/kol-component": "0.14.1",
|
|
18
18
|
"@kolkrabbi/kol-icons": "0.8.10",
|
|
19
19
|
"@kolkrabbi/kol-framework": "0.7.0",
|
|
20
|
-
"@kolkrabbi/kol-theme": "0.13.
|
|
20
|
+
"@kolkrabbi/kol-theme": "0.13.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^18.3.0 || ^19.0.0",
|
|
@@ -27,7 +27,7 @@ const WorkshopDefaultSidebar = ({ routes = [], basePath = '/workshop' }) => {
|
|
|
27
27
|
<div className="space-y-4">
|
|
28
28
|
{siblings.length > 1 && (
|
|
29
29
|
<div>
|
|
30
|
-
<div className="shell-sidebar-label kol-
|
|
30
|
+
<div className="shell-sidebar-label kol-doc-eyebrow">{parentRoute.label}</div>
|
|
31
31
|
<nav className="space-y-0">
|
|
32
32
|
{siblings.map(child => (
|
|
33
33
|
<Link
|
|
@@ -46,7 +46,7 @@ const WorkshopDefaultSidebar = ({ routes = [], basePath = '/workshop' }) => {
|
|
|
46
46
|
|
|
47
47
|
{links && (
|
|
48
48
|
<div>
|
|
49
|
-
<div className="shell-sidebar-label kol-
|
|
49
|
+
<div className="shell-sidebar-label kol-doc-eyebrow">Repository</div>
|
|
50
50
|
<div className="space-y-1">
|
|
51
51
|
{links.live && (
|
|
52
52
|
<a href={links.live} target="_blank" rel="noopener noreferrer" className="shell-sidebar-action kol-mono-14 text-body">
|
|
@@ -65,7 +65,7 @@ const WorkshopDefaultSidebar = ({ routes = [], basePath = '/workshop' }) => {
|
|
|
65
65
|
)}
|
|
66
66
|
|
|
67
67
|
<div>
|
|
68
|
-
<div className="shell-sidebar-label kol-
|
|
68
|
+
<div className="shell-sidebar-label kol-doc-eyebrow">Quick actions</div>
|
|
69
69
|
<div className="space-y-1">
|
|
70
70
|
<Link to={basePath} className="shell-sidebar-action kol-mono-14 text-body">
|
|
71
71
|
<Icon name="layout" size={14} />
|
|
@@ -62,8 +62,8 @@ const DocsSidebar = ({ inventory = [], docHref, basePath, onNavigate, collapsed,
|
|
|
62
62
|
return (
|
|
63
63
|
<div className="space-y-4">
|
|
64
64
|
{/* kol-helper-10 types the wrapper box itself (was an untyped 16px box) */}
|
|
65
|
-
<div className="shell-sidebar-toggle shell-sidebar-label kol-
|
|
66
|
-
<Link to={docHref()} className="shell-sidebar-label kol-
|
|
65
|
+
<div className="shell-sidebar-toggle shell-sidebar-label kol-doc-eyebrow" style={{ justifyContent: 'space-between', paddingRight: '4px' }}>
|
|
66
|
+
<Link to={docHref()} className="shell-sidebar-label kol-doc-eyebrow" onClick={(e) => {
|
|
67
67
|
if (collapsed && onToggle) onToggle()
|
|
68
68
|
if (onNavigate) onNavigate(e)
|
|
69
69
|
}}>
|
|
@@ -33,7 +33,7 @@ const DocsFrontmatter = ({ metadata, docId }) => {
|
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
<div className="docs-frontmatter">
|
|
36
|
-
<p className="shell-sidebar-label kol-
|
|
36
|
+
<p className="shell-sidebar-label kol-doc-eyebrow">Frontmatter</p>
|
|
37
37
|
{fields.map((key) => {
|
|
38
38
|
const value = metadata[key]
|
|
39
39
|
const icon = FIELD_ICONS[key]
|
|
@@ -13,7 +13,7 @@ const SidebarSection = ({ sectionKey, label, collapsedSections, toggleSection, c
|
|
|
13
13
|
<div>
|
|
14
14
|
<button
|
|
15
15
|
type="button"
|
|
16
|
-
className="shell-sidebar-toggle shell-sidebar-label kol-
|
|
16
|
+
className="shell-sidebar-toggle shell-sidebar-label kol-doc-eyebrow"
|
|
17
17
|
onClick={() => toggleSection(sectionKey)}
|
|
18
18
|
>
|
|
19
19
|
{label}
|
|
@@ -66,9 +66,9 @@ const ShellSidebar = ({ routes = [], basePath = '/', onNavigate, label = 'Naviga
|
|
|
66
66
|
return (
|
|
67
67
|
<div className="space-y-4">
|
|
68
68
|
{/* kol-helper-10 types the wrapper box itself (was an untyped 16px box) */}
|
|
69
|
-
<div className="shell-sidebar-toggle shell-sidebar-label kol-
|
|
69
|
+
<div className="shell-sidebar-toggle shell-sidebar-label kol-doc-eyebrow" style={{ justifyContent: 'space-between', paddingRight: '4px' }}>
|
|
70
70
|
{labelTo ? (
|
|
71
|
-
<Link to={labelTo} className="shell-sidebar-label kol-
|
|
71
|
+
<Link to={labelTo} className="shell-sidebar-label kol-doc-eyebrow" onClick={(e) => {
|
|
72
72
|
if (navCollapsed && handleToggle) handleToggle()
|
|
73
73
|
if (onNavigate) onNavigate(e)
|
|
74
74
|
}}>
|