@kolkrabbi/kol-shell 0.91.1 → 0.91.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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/HubHome.jsx +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-shell",
3
- "version": "0.91.1",
3
+ "version": "0.91.3",
4
4
  "private": false,
5
5
  "description": "The application shell",
6
6
  "license": "MIT",
@@ -21,10 +21,10 @@
21
21
  "react-dom": "^18.3.0 || ^19.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@kolkrabbi/kol-component": "^0.318.0",
25
- "@kolkrabbi/kol-icons": "^0.53.5",
24
+ "@kolkrabbi/kol-icons": "^0.54.0",
25
+ "@kolkrabbi/kol-component": "^0.319.2",
26
26
  "@kolkrabbi/kol-framework": "^0.65.0",
27
- "@kolkrabbi/kol-theme": "^0.201.0"
27
+ "@kolkrabbi/kol-theme": "^0.202.0"
28
28
  },
29
29
  "files": [
30
30
  "src",
package/src/HubHome.jsx CHANGED
@@ -171,7 +171,7 @@ export default function HubHome({
171
171
  /* SIGN IN OVER HOME (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30, canvas Round 3) — AppHub's, from `signIn.form`:
172
172
  * `{ open, onClose, ...AccountForm's props }`. Signed out and open: on a desk the sign-in column (672, surface-primary)
173
173
  * slides in from the left over Home, the mark stays where it is above it, the rest of Home turns surface-secondary and
174
- * the stage re-centres in what is left, the + and the nav stay; on a phone the form is the style-B box, centred over the
174
+ * the stage slides half the column right (never resized), the + and the nav stay; on a phone the form is the style-B box, centred over the
175
175
  * stage at the 16 gutter, the nav stays. Escape closes it */
176
176
  signInForm,
177
177
  /* AppHub's: the whole nav, the desk dock's ··· (the board — the signed-out desk has no rail). A chrome may carry `sub`
@@ -280,8 +280,10 @@ export default function HubHome({
280
280
  <div className="relative min-h-dvh overflow-hidden" data-hub-signed-out>
281
281
  {/* the rest of Home turns surface-secondary under an open sign-in column (a desk only) */}
282
282
  <div className={`absolute inset-0 bg-surface-secondary transition-opacity duration-300 max-md:hidden ${formOpen ? 'opacity-100' : 'opacity-0'}`} aria-hidden="true" />
283
- {/* the stage re-centres in what the column leaves */}
284
- {stage && <div className={`absolute inset-y-0 right-0 left-0 transition-[left] duration-300 ${formOpen ? 'md:left-[672px]' : ''}`} aria-hidden="true">{stage}</div>}
283
+ {/* the column overlays the stage, never resizes it — a stage that sizes to its box would reseed. It SLIDES half the
284
+ * column right instead, so the growth's centre sits in the middle of the grey that is left (kol-fxr 2026-10-30 — user:
285
+ * *"when shelf opens, then growth center shifts to center the gray visible area"*) */}
286
+ {stage && <div className={`absolute inset-0 transition-transform duration-300 ${formOpen ? 'md:translate-x-[336px]' : ''}`} aria-hidden="true">{stage}</div>}
285
287
  {signInForm && (
286
288
  <aside aria-label={form.title} aria-hidden={!formOpen} inert={!formOpen} className={`absolute inset-y-0 left-0 w-[672px] px-16 flex flex-col justify-center bg-surface-primary transition-transform duration-300 max-md:hidden ${formOpen ? 'translate-x-0' : '-translate-x-full'}`}>
287
289
  {formOpen && <AccountForm {...form} />}
@@ -303,7 +305,8 @@ export default function HubHome({
303
305
  {/* the + on the phone too (Round 3: the phone had no way to sign in from Home) — top-right on the mark's line, 16 in
304
306
  * and 24 down; its menu is the floating style (`variant="float"`, the board's menus), as the dock's sheets are */}
305
307
  {outActions.length > 0 && <HomeMenu actions={outActions} icon="plus" variant="float" className="absolute z-10 right-4 top-6 md:right-16 md:top-16" />}
306
- {chromes.length > 0 && <AppFloatNav variant="dock" shape="pill" items={chromes.map((c) => ({ id: c.label, label: c.label, icon: c.icon, onPress: c.onPress, sub: c.sub }))} sheetItems={dockMore} />}
308
+ {/* over a stage the dock floats: the transport's shadow (HomeDockShadow, kol-fxr 2026-10-31) */}
309
+ {chromes.length > 0 && <AppFloatNav variant="dock" shape="pill" shadow={stage != null} items={chromes.map((c) => ({ id: c.label, label: c.label, icon: c.icon, onPress: c.onPress, sub: c.sub }))} sheetItems={dockMore} />}
307
310
  {/* the walkthrough over the stage, where the catalog's would sit — on the mark's left line */}
308
311
  {touring && steps.length > 0 && (
309
312
  <div className="absolute inset-x-4 top-24 md:left-16 md:right-auto md:top-52 md:w-[560px]">