@kolkrabbi/kol-shell 0.99.2 → 0.99.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 +2 -2
- package/src/AppShell.jsx +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-shell",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The application shell",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@kolkrabbi/kol-component": "^0.332.0",
|
|
25
|
-
"@kolkrabbi/kol-icons": "^0.60.0",
|
|
26
25
|
"@kolkrabbi/kol-framework": "^0.69.0",
|
|
26
|
+
"@kolkrabbi/kol-icons": "^0.60.0",
|
|
27
27
|
"@kolkrabbi/kol-theme": "^0.210.0"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
package/src/AppShell.jsx
CHANGED
|
@@ -453,9 +453,14 @@ export default function AppShell({
|
|
|
453
453
|
<div className="flex h-dvh flex-col">
|
|
454
454
|
{/* THE STAGE OWNS THE PAGE'S GROUND (PhoneTwoFloatLayout): it paints the wash under the top float too and hands
|
|
455
455
|
* the page `transparent` — PageLayout's rule (kol-components-shell.css), one owner per pixel, no band under the float */}
|
|
456
|
-
|
|
456
|
+
{/* the stage starts at y=0, UNDER the status bar and the top float — no band (FloatsOverlayNoBands, kol-fxr 2026-11-03) */}
|
|
457
|
+
<div className="min-h-0 flex-1 overflow-y-auto" style={{ background: pageWash ?? undefined, '--kol-shell-page-wash': pageWash ? 'transparent' : undefined, '--kol-shell-bar-h': floatClear }}>{children}</div>
|
|
457
458
|
{floatsProp?.rail != null && (
|
|
458
|
-
|
|
459
|
+
/* the Rail's rows run UNDER the transport float; the clear is an absolute spacer past the last row, so it adds
|
|
460
|
+
* scroll range (the last row scrolls clear) but no height — no band while unscrolled (FloatsOverlayNoBands) */
|
|
461
|
+
<div className="shrink-0 overflow-y-auto bg-surface-primary shadow-[var(--kol-shadow-rail-up)]" style={{ maxHeight: floatsProp.railHeight ?? '50dvh' }}>
|
|
462
|
+
<div className="relative">{floatsProp.rail}<div aria-hidden className="pointer-events-none absolute inset-x-0 top-full" style={{ height: `calc(${floatClear} + env(safe-area-inset-bottom, 0px))` }} /></div>
|
|
463
|
+
</div>
|
|
459
464
|
)}
|
|
460
465
|
</div>
|
|
461
466
|
) : children}
|