@synopackageland/ui 0.11.2 → 0.11.3
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 +8 -0
- package/dist/index.js +4080 -4073
- package/dist/json-preview/preview.js +1113 -1113
- package/dist/lib/deviceViewport.d.ts +4 -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 +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.3 (2026-10-17)
|
|
4
|
+
|
|
5
|
+
- Fixed: on an iPhone a Portal/standalone app opened with the desktop layout (a 200 px sidebar, the page cut off on the right). DSM sizes its Portal window to the ~980 px page before the app sets a device-width viewport and refits it only on a window resize, which iOS Safari does not fire for a viewport change. `ensureDeviceViewport()` now fires one `resize` on the next frame after it changes the viewport (and after it restores it), so the window narrows to the phone and the app reaches mobile mode.
|
|
6
|
+
- A `wide-layout="web"` page (a full page) heads its sidebar with the app's logo and name at every width above a phone's, not only at 1200 px and wider: a Portal page with DSM's banner hidden has no title bar on a tablet or a narrow browser either. A DSM window still shows no brand.
|
|
7
|
+
- Visible changes for apps: none to code. Apps on the SDK `AppShell` get both fixes once rebuilt on this version (SDK 0.13 accepts it; an app on SDK 0.12 first moves to 0.13).
|
|
8
|
+
|
|
9
|
+
繁中摘要:修正 iPhone 開 Portal/獨立頁的 App 時呈現桌面版面(約 200px 側欄、內容被裁在右側)。DSM 在 App 設定 device-width viewport 之前就以約 980px 的頁面寬度建立 Portal 視窗,之後只在 window resize 時重新貼合,而 iOS Safari 改 viewport 不會發出 resize。`ensureDeviceViewport()` 現在改了(或還原)viewport 後,會在下一個 frame 補發一次 `resize`,視窗因此縮到手機寬度,App 進入 mobile 模式。`wide-layout="web"`(整頁)在手機以上的所有寬度都在側欄頂端顯示 App 圖示與名稱,不再只限 1200px 以上:隱藏 DSM banner 的 Portal 在平板或窄瀏覽器上同樣沒有標題列。DSM 視窗仍不顯示。App 程式不必改;使用 SDK `AppShell` 的 App 以此版重 build 即可取得兩項修正(SDK 0.13 接受此版;仍用 SDK 0.12 的 App 須先升到 0.13)。
|
|
10
|
+
|
|
3
11
|
## 0.11.2 (2026-10-17)
|
|
4
12
|
|
|
5
13
|
- `PathDisplay display="name"` shows only the last segment of the path (`/volume1/downloads/` reads `downloads`) with the folder icon, unframed on one line, for a DataGrid cell: it never widens its column and keeps the row one height. The whole path is its `title` and is read to a screen reader as "Path: …" (new label, nine locales); the copy button still copies the whole path. The default `display="path"` is unchanged.
|