@synopackageland/ui 0.23.3 → 0.23.4

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.23.4 (2026-11-07)
6
+
7
+ An App's own sticky rows count in the sticky offset. No App change is required; an App that measured its row by hand can mark it instead.
8
+
9
+ - **New `data-ui-sticky` for a row an App keeps at the top of its page** (a sticky audio player on a detail page). PageContent measures each marked row in its body (ResizeObserver; rows that mount later are found) and, while it sticks, adds its height to `--ui-sticky-top-offset`, so `scrollToStart`, `scrollIntoViewWithinScroller`, a `#hash` link and focus land below it instead of under it. The row is stuck right under what sticks above it (`--ui-sticky-row-top`: the covered padding of a padded page scroller, a sticky `PageHeader`, the phone's tabs strip and earlier rows, stacking in document order), with the page header's background. A row whose `position` is not `sticky` is not counted; a row in a nested PageContent counts for that page. An App's own class still wins for `position`, `background` or `z-index`. Before, an App measured the row and added it to the token by hand
10
+ - docs/mobile-native.md (and `nearestScroller`'s doc comment): `nearestScroller` skips a scroller whose content is not taller than it, so a jsdom test defines `scrollHeight` / `clientHeight` on its scroller; a short example shows how
11
+ - `check:phone-layout` adds a `record-player` scene: a detail page with a sticky audio player marked `data-ui-sticky`, at every viewport, where the player sticks right under what sticks above it, counts in the offset, and `scrollToStart` lands a transcript line right below it
12
+
5
13
  ## 0.23.3 (2026-11-07)
6
14
 
7
15
  Phone fixes: the FAB no longer leaves a blank band on a page whose list scrolls itself, and no focus ring on the drawer's close button after a tap. No App change is required; a DSM window and desktop are unchanged.
package/dist/cli.js CHANGED
File without changes