@kolkrabbi/kol-shell 0.41.0 → 0.42.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 +4 -4
- package/src/CatalogPage.jsx +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "KOL application shell — fixed 48px NavRail + AppShell layout root, PageShell/PageHeader scaffolds, ContentFilters catalog organism, GridCard, SettingsScaffold, WalkthroughPanel, ShortcutsOverlay. App chrome (kol-framework owns site chrome). Nav items, content, shortcuts and settings are consumer-injected. Sits above @kolkrabbi/kol-{theme,component,framework}.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@kolkrabbi/kol-component": "^0.
|
|
24
|
-
"@kolkrabbi/kol-framework": "^0.
|
|
23
|
+
"@kolkrabbi/kol-component": "^0.176.0",
|
|
24
|
+
"@kolkrabbi/kol-framework": "^0.40.0",
|
|
25
25
|
"@kolkrabbi/kol-icons": "^0.25.0",
|
|
26
|
-
"@kolkrabbi/kol-theme": "^0.
|
|
26
|
+
"@kolkrabbi/kol-theme": "^0.134.0"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"src",
|
package/src/CatalogPage.jsx
CHANGED
|
@@ -18,7 +18,7 @@ import WalkthroughPanel from './WalkthroughPanel.jsx'
|
|
|
18
18
|
*
|
|
19
19
|
* Semantics are the consumer's: what RECENT / SAVED mean, what an item is,
|
|
20
20
|
* what a click does. `toCard(item, { view, layout })` → `{ key, title, detail,
|
|
21
|
-
* media, actions, onClick, href, onNavigate, expanded, expandedContent, fit }` is
|
|
21
|
+
* media, actions, onClick, href, onNavigate, expanded, expandedContent, fit, ratio }` is
|
|
22
22
|
* the whole contract — `expanded` / `expandedContent` reach `ContentCard catalog`'s
|
|
23
23
|
* 2×2 cell (ShellHomeSystemMonitorGaps, kol-monitor 2026-08-27) — and the page
|
|
24
24
|
* HIDES the cell's three neighbours itself (CatalogPageMonitorParity: the
|
|
@@ -27,7 +27,10 @@ import WalkthroughPanel from './WalkthroughPanel.jsx'
|
|
|
27
27
|
* instead of reflowing around the expanded card); `fit` (`cover` default | `natural` | `compact`) is the
|
|
28
28
|
* card's media fit, PER CARD because one catalog mixes photographs (cover) and
|
|
29
29
|
* diagrams (natural) — CatalogPageCardFit, kol-monitor: a rack preview wider
|
|
30
|
-
* than the card lost its left rail to `cover
|
|
30
|
+
* than the card lost its left rail to `cover`; `ratio` (catalogpage-card-ratio, kol-client-olina
|
|
31
|
+
* 2026-09-03) is the card's aspect, PER CARD for the same reason — one page renders the same artwork
|
|
32
|
+
* at 1:1, 4:5 and 9:16 side by side, and a deck is a 16:9 stage — unset falling through to the
|
|
33
|
+
* variant's A4, so nothing existing moves. Anything `ContentFilters` takes that the page has no
|
|
31
34
|
* prop for goes through `filtersProps` — `mutuallyExclusiveFilters` was the gap.
|
|
32
35
|
*
|
|
33
36
|
* @param {Object} header PageHeader props — `{ title, subtitle, size, voice, eyebrow }`
|
|
@@ -131,7 +134,7 @@ export default function CatalogPage({
|
|
|
131
134
|
const key = c.key ?? item.key ?? item.id ?? item.name ?? i
|
|
132
135
|
return layout === 'list'
|
|
133
136
|
? <ContentRow key={key} variant="catalog" title={c.title} detail={c.detail} actions={c.actions} onClick={c.onClick} href={c.href} onNavigate={c.onNavigate} />
|
|
134
|
-
: <ContentCard key={key} variant="catalog" fit={c.fit ?? 'cover'} title={c.title} detail={c.detail} media={c.media} actions={c.actions} onClick={c.onClick} href={c.href} onNavigate={c.onNavigate} expanded={c.expanded} expandedContent={c.expandedContent} />
|
|
137
|
+
: <ContentCard key={key} variant="catalog" fit={c.fit ?? 'cover'} ratio={c.ratio} title={c.title} detail={c.detail} media={c.media} actions={c.actions} onClick={c.onClick} href={c.href} onNavigate={c.onNavigate} expanded={c.expanded} expandedContent={c.expandedContent} />
|
|
135
138
|
})}
|
|
136
139
|
</div>
|
|
137
140
|
)
|