@synopackageland/ui 0.25.11 → 0.25.12

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.
@@ -141,6 +141,18 @@ state keys are copied through). The Android back button or the iOS edge swipe
141
141
  calls `close` for the top surface only; closing by code removes the entry.
142
142
  Pass `enabled: false` where the surface is a popover or inside a DSM window.
143
143
 
144
+ Inside the Package Land phone app, a root page also gets Back to the App list.
145
+ The app's bridge (`window.SynoPkgNative`, protocol 1) lists `close` in its
146
+ `features`; AppLayout then leads the phone bar with the shared back arrow, and
147
+ a tap posts `{ v: 1, type: 'close' }`, which the app honors only right after a
148
+ tap. A browser, a sub-page (which has its own Back) and anything wider than a
149
+ phone never show it. When the page hides the bar (`phone-bar-title="none"`
150
+ without a menu), the first `PageToolbar` or `SectionTabs` row on the page holds
151
+ the button at its start, so it costs no row; with no such row the bar is drawn
152
+ for it. The arrow is `app-layout/back-arrow.json`, a byte copy of the phone
153
+ app's drawing; `tests/ShellBack.test.ts` pins its SHA-256, as the phone app
154
+ does, so change both copies together.
155
+
144
156
  `node scripts/check-keyboard.mjs [out-dir]` (after `pnpm build`) checks all of
145
157
  this in Chromium at 390 and 768 with touch, with Android emulated by a
146
158
  viewport resize and iOS by a stand-in visual viewport. A real-device pass on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/ui",
3
- "version": "0.25.11",
3
+ "version": "0.25.12",
4
4
  "description": "Shared Vue 3 UI component library with a DSM 7 inspired application theme",
5
5
  "license": "MIT",
6
6
  "type": "module",