@jsenv/navi 0.29.361 → 0.29.363

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.
@@ -434,7 +434,8 @@ as a card and is refused as a card, wherever in the tree the sheet was written.
434
434
 
435
435
  The card shows the answer the moment the sheet leaves when its `ui` is drawn
436
436
  from what the picker holds rather than from what the caller knows — the same
437
- state navi's own default `ui` reads, rolled back by `resetOnError`, so nothing
437
+ state navi's own default `ui` reads, rolled back by `resetOnError` (and
438
+ `resetOnAbort`), so nothing
438
439
  about the pending value is the caller's to keep or to put back. Two ways to
439
440
  read it: `ui={MatchCard}` hands the component `value`, `loading` and
440
441
  `interactive` as props; `ui={<MatchCard match={match} />}` keeps the caller's
package/docs/scroll.md CHANGED
@@ -157,6 +157,12 @@ picked up then. When it is still not the box you mean, say so explicitly with
157
157
  `open`/`defaultOpen` elsewhere in navi. The list goes back there every time it
158
158
  changes, even after the user scrolled.
159
159
  - **`onScrolledChange`** gives `{id, index, offset}` as the user scrolls.
160
+ - A list with an `id` **comes back where it was** when its screen is left and
161
+ come back to, the way the page does: the position is kept under the list's
162
+ `id` and the page's url, for the session, and put back by name the way
163
+ `defaultScrolled={{id, offset}}` is. A fresh arrival at the page still opens
164
+ at `defaultScrolled`. **`scrollResetOnNavigation`** opts out: the list then
165
+ opens the same way every time.
160
166
 
161
167
  ### A search moves the list, and gives it back
162
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.361",
3
+ "version": "0.29.363",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {