@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.356",
3
+ "version": "0.29.357",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {