@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.
- package/CHANGELOG.md +7 -0
- package/dist/components/app/app-layout/BackArrowIcon.vue.d.ts +8 -0
- package/dist/components/app/app-layout/ShellBackButton.vue.d.ts +3 -0
- package/dist/components/app/app-layout/back-arrow.json.d.ts +9 -0
- package/dist/components/app/app-layout/shellBack.d.ts +23 -0
- package/dist/components/app/page-toolbar/PageToolbar.vue.d.ts +3 -3
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +4 -4
- package/dist/grid.js +9 -0
- package/dist/i18n/text.d.ts +1 -0
- package/dist/index.js +9820 -9712
- package/dist/json-preview/preview.js +6976 -6871
- package/dist/lib/nativeShell.d.ts +8 -0
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/adaptive-layout.md +12 -0
- package/package.json +1 -1
package/docs/adaptive-layout.md
CHANGED
|
@@ -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
|