@jsenv/navi 0.29.356 → 0.29.357
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 +32 -11
- package/dist/dev/jsenv_navi.js.map +5 -5
- package/dist/jsenv_navi.js +11 -11
- package/dist/jsenv_navi.js.map +5 -5
- package/docs/popup_lift.md +3 -0
- package/package.json +1 -1
package/docs/popup_lift.md
CHANGED
|
@@ -93,6 +93,8 @@ Two traps, both about the thumbnail:
|
|
|
93
93
|
- **A scene under `lift="box"`** keeps the thumbnail at its own size in the
|
|
94
94
|
corner of a growing, empty box, then swaps. Choose the kind by what grows:
|
|
95
95
|
text and controls keep their scale (`box`), a drawing does not (`scene`).
|
|
96
|
+
Dev warns when the lifted node is, box for box, an `<svg>`, `<img>`,
|
|
97
|
+
`<picture>`, `<canvas>` or `<video>` under `box`.
|
|
96
98
|
- **A thumbnail that is not the scene framed.** `scene` assumes the thumbnail
|
|
97
99
|
is either the whole drawing smaller, or a band cut from its middle as wide as
|
|
98
100
|
it. A thumbnail letterboxed inside a box of another aspect ratio (an SVG
|
|
@@ -157,6 +159,7 @@ const currentKeySignal = useSignal(undefined);
|
|
|
157
159
|
<Dialog
|
|
158
160
|
id={ZOOM_ID}
|
|
159
161
|
animation="lifting"
|
|
162
|
+
lift="scene"
|
|
160
163
|
mount="while-opened"
|
|
161
164
|
onOpen={(e) => {
|
|
162
165
|
currentKeySignal.value = e.detail.value;
|