@jsenv/navi 0.29.422 → 0.29.423

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.
@@ -74162,9 +74162,12 @@ const readRoomAround = ({
74162
74162
  // too — and an item not drawn is taken to weigh what the drawn items at that
74163
74163
  // edge of the window weigh. Items of one kind come together (the one-line
74164
74164
  // items of the past, the cards ahead), and an item misjudged is weighed again
74165
- // once it is drawn (see "after slide"): weighing it at the average of all
74166
- // items would draw the cards next to one-line items at the one-line size, and
74167
- // a few dozen of them.
74165
+ // once it is drawn (see "after slide"): a window that came up short is
74166
+ // extended on the next frame, from what it measured. Weighing an item not drawn
74167
+ // at the average of all items, or at the smallest an item can be so that the
74168
+ // window never comes up short, walks into the cards at the one-line size,
74169
+ // several at a time — the latter measured in wematch: no blank spared, 50–65 ms
74170
+ // tasks while reading down through the cards.
74168
74171
  const EDGE_SAMPLE_ITEM_COUNT = 8;
74169
74172
  const createItemSizeReader = (items, start, end, itemSize) => {
74170
74173
  const sizeByIndex = new Map();
@@ -76637,11 +76640,18 @@ const ListResolved = /*#__PURE__*/createComponentResolver([ListFirstResolver, Li
76637
76640
  * source for is a page (see `<List.Items pageSize>`), whatever either says,
76638
76641
  * so the first picture costs no second request.
76639
76642
  * @param {number} [props.virtualItemSize]
76640
- * The size of one item along the scroll axis, in px, when every item has the
76641
- * same: what the fillers are sized with and what a scroll position is
76642
- * estimated from. Left out, the list measures its items — once when it
76643
- * mounts, again when a popup around it opens, and after each commit while
76644
- * items are held off screen. Given, it never measures.
76643
+ * The room an item not drawn is held at, in px along the scroll axis: what
76644
+ * the fillers hold for each item outside the render window, what a scroll
76645
+ * position inside them is read with, and the least an item on its way takes
76646
+ * (see `renderSkeleton`). Left out, it is the average of the items measured
76647
+ * so far — once when the list mounts, again when a popup around it opens,
76648
+ * and after each commit while items are held off screen. Given, it is the
76649
+ * worst case: the size every item has, or, in a list whose items differ, the
76650
+ * smallest an item can be (a thread of one-line items and cards: the
76651
+ * one-line size) — an item guessed too small builds one more, an item
76652
+ * guessed too big leaves a blank (see docs/scroll.md, "What the list knows,
76653
+ * and what it guesses"). The items drawn are measured either way: the render
76654
+ * window is sized on them.
76645
76655
  * @param {"self"|"parent"|"document"|Element|{current: Element}} [props.scroller="self"]
76646
76656
  * Which box scrolls — and with it, which box the render window follows and
76647
76657
  * which box a scroll position is read from (`onScrolledChange`). `"self"`