@jsenv/navi 0.29.321 → 0.29.323

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.
@@ -862,6 +862,19 @@ changes. A popup is open on exactly one value: what varies while it is open (a
862
862
  tab inside it) is a param of its own, see
863
863
  [navigation.md](./navigation.md#places-inside-the-layer).
864
864
 
865
+ The other way round — ONE sheet showing whichever card the address names — is
866
+ the same signal with no `value`: a popup without one reads anything the signal
867
+ holds as open, except `false`, `null` and `undefined`. The panel's content reads
868
+ the id from the signal, a card's press writes it, and the popup never writes
869
+ over it: opening writes `true` only into a signal that reads closed, closing
870
+ writes `undefined` (or `false`, where the signal held `true`).
871
+
872
+ ```jsx
873
+ <SidePanel signal={errorOpenSignal} side="right">
874
+ <ErrorPanel /> {/* reads errorOpenSignal.value to know which card */}
875
+ </SidePanel>
876
+ ```
877
+
865
878
  ### `navState` — the history entry holds it
866
879
 
867
880
  ```jsx
package/docs/scroll.md CHANGED
@@ -346,10 +346,12 @@ sheet, a handful of tabs. A collection whose size the caller does not decide
346
346
  The run draws only the rows inside the **render window** — `renderBudget` of
347
347
  them, 100 by default — and holds the room of the others with fillers, so the
348
348
  scrollbar says how long the collection is and the DOM says how many rows fit a
349
- screen and some. The window slides as the user scrolls, and moves only when
350
- what is on screen nears one of its edges: a row crossed is not a window
351
- rebuilt. Below 30 the list warns, because a window shorter than a tall screen
352
- shows blank fillers under the last row.
349
+ screen and some. The window slides as the user scrolls: it keeps three
350
+ quarters of its spare rows ahead of the direction the user goes, and moves
351
+ once those fall under half a screen — a row crossed is not a window rebuilt,
352
+ and a row reached is never a blank one. So the budget has to exceed what the
353
+ scroller shows at once, with room for that lookahead: the list warns below
354
+ 30, and when a budget leaves fewer than two rows beyond the screen.
353
355
 
354
356
  ### The first paint of a list that opens in a click
355
357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.321",
3
+ "version": "0.29.323",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {