@synopackageland/ui 0.23.3 → 0.23.5

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.
@@ -5,7 +5,8 @@
5
5
  * every scrollable ancestor (and can shift a whole App inside DSM), so these
6
6
  * move only the nearest one, and stop the target below what sticks at the top
7
7
  * of the page (`--ui-sticky-top-offset`, set by PageContent, read through the
8
- * target's `scroll-margin-top`).
8
+ * target's `scroll-margin-top`), including an App's own rows marked
9
+ * `data-ui-sticky`.
9
10
  */
10
11
  export type ScrollAlign = 'start' | 'nearest';
11
12
  export type ScrollWithinOptions = {
@@ -19,7 +20,10 @@ export type ScrollWithinOptions = {
19
20
  /**
20
21
  * The nearest ancestor of `element` that scrolls vertically (its overflow
21
22
  * lets it scroll and its content is taller than it), else the document's
22
- * scrolling element.
23
+ * scrolling element. jsdom lays nothing out (scrollHeight and clientHeight
24
+ * are 0), so a test defines them on its scroller, e.g.
25
+ * `Object.defineProperty(list, 'scrollHeight', { value: 1200 })` and
26
+ * `clientHeight` 400 (docs/mobile-native.md).
23
27
  */
24
28
  export declare function nearestScroller(element: Element | null | undefined): HTMLElement;
25
29
  /**
@@ -3,7 +3,7 @@
3
3
  "version": "2.11.0",
4
4
  "delivery": "bundled-patched-esm",
5
5
  "patchManifestSha256": "9c5b9c9a162fa584b4695a683368a4484b3ac6e70177fd063b77aa618c051627",
6
- "bundleSha256": "a864665e200afe7f684fd280f5002919aca1fab306938358ef748c0c6ade8130",
6
+ "bundleSha256": "bc1c2364e6e8bec832200bca6e302e1dbe46ca731f74023834a0c71918f0ce79",
7
7
  "sourceHashes": {
8
8
  "shared/useBodyScrollLock.js": "287bfb604318c4202769e4b5191896eaf0e52a952e1de898967cbe09467fcfda",
9
9
  "DismissableLayer/DismissableLayer.js": "3c8d248f0a32e01f89ca1f6202b1bb691bf5d0e4012a92535e161c35e69cdc32",