@kolkrabbi/kol-shell 0.86.0 → 0.87.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/PhoneNav.jsx +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-shell",
3
- "version": "0.86.0",
3
+ "version": "0.87.0",
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.311.0",
25
24
  "@kolkrabbi/kol-icons": "^0.52.0",
26
25
  "@kolkrabbi/kol-framework": "^0.61.0",
26
+ "@kolkrabbi/kol-component": "^0.311.0",
27
27
  "@kolkrabbi/kol-theme": "^0.195.0"
28
28
  },
29
29
  "files": [
package/src/PhoneNav.jsx CHANGED
@@ -101,7 +101,9 @@ export default function PhoneNav({ items = [], currentPath = '/', onNavigate, ac
101
101
 
102
102
  const key = (i) => i.path ?? i.id ?? i.label
103
103
  const tabs = inBar.map((i) => ({ value: key(i), label: i.label, icon: i.icon, selected: i.selected ?? (moreKeepsOpen ? key(i) === active : undefined) }))
104
- if (hasMore) tabs.push({ value: MORE, label: 'More', icon: 'more', selected: moreKeepsOpen ? open : undefined })
104
+ /* with the pill kept whole, the More slot itself turns to × while its sheet is open, and a press closes it
105
+ * (PhonePillMoreTurnsToClose, kol-fxr 2026-10-28 — frame A2: *"[...] that makes a list and nav turns to (X)"*) */
106
+ if (hasMore) tabs.push({ value: MORE, label: open && moreKeepsOpen ? 'Close' : 'More', icon: open && moreKeepsOpen ? 'x' : 'more', selected: moreKeepsOpen ? open : undefined })
105
107
  /* THE SHEET HUGS ITS WORDS AND SITS BESIDE THE × (user 2026-10-23, his reference: iOS Photos' menu next to its ×, *"but
106
108
  * align to bottom"*) — to the left of the collapsed ×, a 12px gap, the two bottom edges on one line */
107
109
  const pill = shape === 'pill'