@kolkrabbi/kol-shell 0.99.0 → 0.99.2

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-shell",
3
- "version": "0.99.0",
3
+ "version": "0.99.2",
4
4
  "private": false,
5
5
  "description": "The application shell",
6
6
  "license": "MIT",
@@ -21,9 +21,9 @@
21
21
  "react-dom": "^18.3.0 || ^19.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@kolkrabbi/kol-component": "^0.331.0",
25
- "@kolkrabbi/kol-framework": "^0.69.0",
24
+ "@kolkrabbi/kol-component": "^0.332.0",
26
25
  "@kolkrabbi/kol-icons": "^0.60.0",
26
+ "@kolkrabbi/kol-framework": "^0.69.0",
27
27
  "@kolkrabbi/kol-theme": "^0.210.0"
28
28
  },
29
29
  "files": [
@@ -147,7 +147,7 @@ function FloatNav({ items = [], currentPath = '/', onNavigate, actions = [], sha
147
147
  const before = moreRows.filter((i) => !i.foot)
148
148
  const after = moreRows.filter((i) => i.foot)
149
149
  const active = activePath(items, currentPath)
150
- const value = open || inMore.some((i) => i.path === active) ? MORE : active
150
+ const value = open || inMore.some((i) => i.path != null && i.path === active) ? MORE : active
151
151
 
152
152
  const key = (i) => i.path ?? i.id ?? i.label
153
153
  const tabs = inBar.map((i) => ({ value: key(i), label: i.label, icon: i.icon, selected: sub === key(i) || (i.selected ?? (moreKeepsOpen ? key(i) === active : undefined)) }))
package/src/HubHome.jsx CHANGED
@@ -300,7 +300,7 @@ export default function HubHome({
300
300
  const outActions = typeof signedOutActions === 'function' ? signedOutActions(outDefaults) ?? [] : outDefaults
301
301
  const { open: _o, onClose: _c, ...form } = signInForm ?? {}
302
302
  return (
303
- <div className={`relative min-h-dvh overflow-hidden${chrome ? ` ${CHROME_FADE[chrome]}` : ''}`} data-hub-signed-out>
303
+ <div className={`fixed inset-y-0 right-0 left-[var(--kol-shell-rail-width)] overflow-hidden${chrome ? ` ${CHROME_FADE[chrome]}` : ''}`} data-hub-signed-out>
304
304
  {/* the rest of Home turns surface-secondary under an open sign-in column (a desk only) */}
305
305
  <div className={`absolute inset-0 bg-surface-secondary transition-opacity duration-300 max-md:hidden ${formOpen ? 'opacity-100' : 'opacity-0'}`} aria-hidden="true" />
306
306
  {/* the column overlays the stage, never resizes it — a stage that sizes to its box would reseed. It SLIDES half the
package/src/MoreSheet.jsx CHANGED
@@ -63,7 +63,7 @@ export default function MoreRows({ actions = [], items = [], active, onPick, ite
63
63
  size="lg"
64
64
  iconLeft={i.icon}
65
65
  iconSize={glyph}
66
- aria-current={i.path === active ? 'page' : undefined}
66
+ aria-current={i.path != null && i.path === active ? 'page' : undefined}
67
67
  className={rowCls}
68
68
  onClick={() => onPick?.(i)}
69
69
  >