@kolkrabbi/kol-shell 0.33.0 → 0.35.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-shell",
3
- "version": "0.33.0",
3
+ "version": "0.35.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.151.0",
24
- "@kolkrabbi/kol-icons": "^0.25.0",
23
+ "@kolkrabbi/kol-component": "^0.152.0",
25
24
  "@kolkrabbi/kol-framework": "^0.36.0",
26
- "@kolkrabbi/kol-theme": "^0.119.0"
25
+ "@kolkrabbi/kol-icons": "^0.25.0",
26
+ "@kolkrabbi/kol-theme": "^0.121.0"
27
27
  },
28
28
  "files": [
29
29
  "src",
package/src/AppShell.jsx CHANGED
@@ -293,10 +293,14 @@ export default function AppShell({
293
293
  />
294
294
  )}
295
295
  {drawer && drawerOpen && (
296
- <div
296
+ /* A BUTTON, not a div (the OverlayScrimTapDismiss line, 2026-09-01):
297
+ * iOS Safari does not bubble tap-clicks from non-interactive elements,
298
+ * and this scrim exists ONLY on touch devices. */
299
+ <button
300
+ type="button"
301
+ aria-label="Close navigation"
297
302
  className="kol-shell-drawer-scrim"
298
303
  onClick={() => setDrawerOpen(false)}
299
- aria-hidden="true"
300
304
  />
301
305
  )}
302
306
  {!navHidden && (
package/src/NavRail.jsx CHANGED
@@ -285,7 +285,12 @@ export default function NavRail({
285
285
  return (
286
286
  <div
287
287
  ref={railRef}
288
- className="kol-shell-rail bg-surface-primary border-r border-fg-08 fixed inset-y-0 left-0 flex flex-col items-start pt-4 pb-4 px-2 gap-2"
288
+ /* ONE SIDE, ALWAYS LEFT (ShellDrawerSideCorrection, kol-chess 2026-09-01).
289
+ * 0.34.0 mirrored the panel to fix a button: the complaint was the
290
+ * trigger travelling to mid-screen, never the navigation's side. The
291
+ * trigger is now pinned top-right in both states, so a left panel has
292
+ * nothing to collide with and the drawer opens where the rail lives. */
293
+ className="kol-shell-rail bg-surface-primary fixed inset-y-0 left-0 flex flex-col items-start pt-4 pb-4 px-2 gap-2 border-r border-fg-08"
289
294
  /* A drawer takes its own width, NOT the live rail token — that token is
290
295
  * zeroed in drawer mode so the content gets the whole viewport back. */
291
296
  style={{ width: drawer ? 'var(--kol-shell-drawer-width, 240px)' : `var(${RAIL_W})` }}