@jsenv/navi 0.29.522 → 0.30.0
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 +1490 -2393
- package/dist/dev/jsenv_navi.js.map +40 -37
- package/dist/jsenv_navi.js +1490 -2379
- package/dist/jsenv_navi.js.map +40 -37
- package/docs/AI_INSTRUCTIONS.md +4 -3
- package/docs/create_and_edit.md +6 -17
- package/docs/dialog_shape.md +7 -0
- package/docs/drag_to_travel.md +115 -132
- package/docs/dynamic_import.md +1 -1
- package/docs/interactions.md +6 -0
- package/docs/mobile_touch.md +3 -3
- package/docs/navigation.md +54 -31
- package/docs/popup_open.md +7 -0
- package/docs/route_transitions.md +6 -16
- package/docs/scroll.md +3 -1
- package/docs/view_transitions.md +4 -7
- package/package.json +2 -2
package/docs/view_transitions.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# View transitions: what navi animates, and what stays the app's
|
|
2
2
|
|
|
3
|
-
navi components animate their own changes — `itemTransition` on `List`,
|
|
4
|
-
|
|
3
|
+
navi components animate their own changes — `itemTransition` on `List`, a route
|
|
4
|
+
transition, the bar of a `Nav` — and never decide for the whole
|
|
5
5
|
document. An app that starts a transition of its own runs into a handful of
|
|
6
6
|
browser facts no component can absorb for it; they are collected here so that
|
|
7
7
|
they are met once.
|
|
@@ -102,10 +102,8 @@ not handle a rejection, an unhandled one is what it leaves behind, and
|
|
|
102
102
|
A captured element is not painted where it stands, and nothing hit-tests to it: a
|
|
103
103
|
press over it falls through to the nearest ancestor still being painted, whatever
|
|
104
104
|
the pseudo-elements are told about `pointer-events`. Under the root's default
|
|
105
|
-
name, that is the whole page for the length of the movement. It is why a
|
|
106
|
-
|
|
107
|
-
live, and catches a press on the travelling box at the document, handing it to the
|
|
108
|
-
box it fell inside; and why a door in a bar a route transition photographs needs
|
|
105
|
+
name, that is the whole page for the length of the movement. It is why a door in a
|
|
106
|
+
bar a route transition photographs needs
|
|
109
107
|
`pressableDuringRouteTransition` to stay pressable (see
|
|
110
108
|
[route_transitions.md](./route_transitions.md#pages-between-fixed-bars-the-transition-area)).
|
|
111
109
|
|
|
@@ -211,6 +209,5 @@ of the second picture (see
|
|
|
211
209
|
|
|
212
210
|
- [route_transitions.md](./route_transitions.md) — pages moving against each
|
|
213
211
|
other on navigation
|
|
214
|
-
- [drag_to_travel.md](./drag_to_travel.md) — a transition held under a finger
|
|
215
212
|
- [drag_interactions.md](./drag_interactions.md#naming-what-travels) — naming what
|
|
216
213
|
moves when something is dropped on a place
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/navi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Library of components including navigation to create frontend applications",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"preact": "^11.0.0-rc.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jsenv/dom": "0.
|
|
37
|
+
"@jsenv/dom": "0.18.0",
|
|
38
38
|
"@jsenv/humanize": "1.8.11",
|
|
39
39
|
"@jsenv/validity": "0.4.7"
|
|
40
40
|
},
|