@kolkrabbi/kol-framework 0.9.0 → 0.9.1

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-framework",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "KOL app shell — sidenav, layout, theme toggle, footer, heroes + brand color layer. SideNav takes nav data as props so the tree stays app-local.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "app-shell"
28
28
  ],
29
29
  "dependencies": {
30
- "@kolkrabbi/kol-component": "0.14.1",
30
+ "@kolkrabbi/kol-component": "0.14.2",
31
31
  "@kolkrabbi/kol-icons": "0.8.11"
32
32
  },
33
33
  "peerDependencies": {
@@ -12,7 +12,10 @@ export default function PageSection({ id, label, title, body, children, classNam
12
12
  <section id={id} className={cls}>
13
13
  {divider && <Divider className="kol-page-section-divider" />}
14
14
  {hasHead && (
15
- <header className={fullbleed ? 'max-w-[960px]' : 'max-w-[720px]'}>
15
+ /* head widths read the scale instead of transcribing it. `960px` was
16
+ * exactly the panel token; `720px` was an improvised near-miss and
17
+ * becomes the column token — 768px, so section heads widen by 48px. */
18
+ <header className={fullbleed ? 'max-w-[var(--kol-content-panel)]' : 'max-w-[var(--kol-content-column)]'}>
16
19
  {label && <p className="kol-prose-label">{label}</p>}
17
20
  {title && <h2 className="kol-prose-title">{title}</h2>}
18
21
  {body && <p className="kol-prose-lede">{body}</p>}