@jsenv/navi 0.30.0 → 0.30.3
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/dist/dev/jsenv_navi.js +291 -114
- package/dist/dev/jsenv_navi.js.map +10 -8
- package/dist/jsenv_navi.js +291 -114
- package/dist/jsenv_navi.js.map +10 -8
- package/docs/dialog_shape.md +3 -0
- package/docs/navigation.md +10 -7
- package/package.json +1 -1
package/docs/dialog_shape.md
CHANGED
|
@@ -55,6 +55,9 @@ covers anything else behind that sheet. Once back on top it answers the screen
|
|
|
55
55
|
as it is: at once when the focus landed on a field, since the keyboard stays;
|
|
56
56
|
once the keyboard has left otherwise, so it never jumps up and back down. What
|
|
57
57
|
sits under a non-modal dialog is still usable, and keeps following the keyboard.
|
|
58
|
+
A `layer="top"` `Popover` covered by a modal dialog is held the same way, but it
|
|
59
|
+
holds nothing itself: it may be anchored inside what is below it, and what is
|
|
60
|
+
below rising is what carries a field in the popover above the keyboard.
|
|
58
61
|
|
|
59
62
|
## One dialog, two shapes
|
|
60
63
|
|
package/docs/navigation.md
CHANGED
|
@@ -578,19 +578,22 @@ so, and a page brought in stands where the reader is looking; what is lost is
|
|
|
578
578
|
**The URL can say where the hand is heading, not where the reader is.** For a page
|
|
579
579
|
that is not there yet, a page of a window or a tab never visited, it changes once
|
|
580
580
|
the hand has really pulled, and comes back if the page is let go of. A tab already
|
|
581
|
-
built waits for the
|
|
582
|
-
|
|
583
|
-
|
|
581
|
+
built waits for the finger to lift. A link to a page of the row answers for the page
|
|
582
|
+
held while the hand holds it, whatever the URL says. A counter, a title or a
|
|
583
|
+
breadcrumb around the box reads `routeTravelSettledPageSignal` first, or it moves
|
|
584
|
+
for a pull that goes nowhere:
|
|
584
585
|
|
|
585
586
|
```jsx
|
|
586
587
|
const settledPage = routeTravelSettledPageSignal.value;
|
|
587
588
|
const shownId = settledPage ? settledPage.params.gameId : currentId;
|
|
588
589
|
```
|
|
589
590
|
|
|
590
|
-
It holds the `{ route, params }` the hand set off from, and is `null`
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
591
|
+
It holds the `{ route, params }` the hand set off from, and is `null` from the moment
|
|
592
|
+
a lifted finger leaves the row moving, the URL being the truth again: the row is only
|
|
593
|
+
playing out what the browser decided. A trackpad has no lift, so there it lasts until
|
|
594
|
+
the row has come to rest, and a tab already built waits for that too. A tab pressed
|
|
595
|
+
holds nothing, and `null` is all it ever reads. One signal for the document: on a
|
|
596
|
+
page with several boxes, `route` says which row it is.
|
|
594
597
|
|
|
595
598
|
`RouteTravel` is for pages that form a ROW the finger can push; pages related
|
|
596
599
|
pair by pair are animated with `defineRouteTransition`, and a given pair by one
|