@kolkrabbi/kol-workshop 0.1.9 → 0.1.11

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.1.9",
3
+ "version": "0.1.11",
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.12.3",
18
- "@kolkrabbi/kol-framework": "0.5.6",
19
- "@kolkrabbi/kol-theme": "0.11.11",
20
- "@kolkrabbi/kol-icons": "0.8.3"
17
+ "@kolkrabbi/kol-icons": "0.8.4",
18
+ "@kolkrabbi/kol-component": "0.12.5",
19
+ "@kolkrabbi/kol-framework": "0.5.8",
20
+ "@kolkrabbi/kol-theme": "0.11.21"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^18.3.0 || ^19.0.0",
@@ -27,7 +27,7 @@ export function DocSection({ id, title, lede, children }) {
27
27
  return (
28
28
  <section id={id} className="flex flex-col gap-4 border-t border-fg-08 pt-8 scroll-mt-20">
29
29
  {title && <h2 className="kol-doc-section-title">{title}</h2>}
30
- {lede && <p className="kol-doc-body max-w-[65ch]">{lede}</p>}
30
+ {lede && <p className="kol-doc-body max-w-[var(--kol-content-measure)]">{lede}</p>}
31
31
  {children}
32
32
  </section>
33
33
  )
@@ -37,7 +37,7 @@ export function DocSection({ id, title, lede, children }) {
37
37
  * user ruling: no parallel table markup). Fixed props-table columns, doc cell
38
38
  * classes through Table's per-column seams, doc chrome via the .kol-doc-table
39
39
  * class on Table's wrapper (the descendant rules out-specify Table's cell
40
- * defaults). The .kol-doc-figure frame supplies the border. */
40
+ * defaults). Renders UNFRAMED (flush minimal — user ruling: no border). */
41
41
  const PROPS_COLUMNS = [
42
42
  { accessor: 'prop', header: 'Prop', className: 'kol-doc-table-value text-emphasis' },
43
43
  { accessor: 'type', header: 'Type', className: 'kol-doc-table-value kol-doc-table-value--wrap text-meta' },
@@ -48,15 +48,13 @@ const PROPS_COLUMNS = [
48
48
  export function DocTable({ rows }) {
49
49
  if (!rows?.length) return null
50
50
  return (
51
- <div className="kol-doc-figure overflow-x-auto">
52
- <Table
53
- variant="simple"
54
- caption="Props"
55
- columns={PROPS_COLUMNS}
56
- rows={rows.map((r) => ({ id: r.prop, ...r }))}
57
- className="kol-doc-table"
58
- />
59
- </div>
51
+ <Table
52
+ variant="simple"
53
+ caption="Props"
54
+ columns={PROPS_COLUMNS}
55
+ rows={rows.map((r) => ({ id: r.prop, ...r }))}
56
+ className="kol-doc-table"
57
+ />
60
58
  )
61
59
  }
62
60