@jsenv/navi 0.29.214 → 0.29.215
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 +14 -8
- package/dist/dev/jsenv_navi.js.map +3 -3
- package/dist/jsenv_navi.js +14 -8
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/dev/jsenv_navi.js
CHANGED
|
@@ -57195,8 +57195,11 @@ const getAvailableWidth = (layer, element) => {
|
|
|
57195
57195
|
* (a top-docked SidePanel: title and tabs at its top). So here the cut alone
|
|
57196
57196
|
* does the reveal — the same curtain descending from the container's top
|
|
57197
57197
|
* edge a full slide draws — while the box travels only `--popup-cover-travel`
|
|
57198
|
-
* (default
|
|
57199
|
-
*
|
|
57198
|
+
* (default 24px): the head is on screen from the first frame, settling its
|
|
57199
|
+
* last few pixels into place. A length, not a share of the panel: the travel
|
|
57200
|
+
* is a settle, the curtain is what reveals, and a share would grow with a
|
|
57201
|
+
* full-screen panel while its head does not — at 15% of 800px the head spent
|
|
57202
|
+
* the first 40% of the entrance above the cut. The exit is the same
|
|
57200
57203
|
* movement backwards and still reads as a slide, the head leading. One
|
|
57201
57204
|
* direction only: a bottom sheet leads with its head by itself, and a
|
|
57202
57205
|
* left/right panel keeps its head on the axis it does not travel.
|
|
@@ -57226,7 +57229,7 @@ const popupCss = /* css */ `
|
|
|
57226
57229
|
.navi_dialog {
|
|
57227
57230
|
--popup-animation-duration: 0.18s;
|
|
57228
57231
|
--popup-scale-from: 0.9;
|
|
57229
|
-
--popup-cover-travel:
|
|
57232
|
+
--popup-cover-travel: 24px;
|
|
57230
57233
|
|
|
57231
57234
|
--popup-opacity-duration: var(--popup-animation-duration);
|
|
57232
57235
|
--popup-translate-duration: var(--popup-animation-duration);
|
|
@@ -57407,7 +57410,7 @@ const popupCss = /* css */ `
|
|
|
57407
57410
|
|
|
57408
57411
|
/* cover — a top-docked popup unrolling from the top edge of its area (see
|
|
57409
57412
|
this file's top comment): the cut does the reveal, the box travels
|
|
57410
|
-
--popup-cover-travel
|
|
57413
|
+
--popup-cover-travel, a length. The far cut sits where the
|
|
57411
57414
|
popup's shadow ends (--navi-popup-box-shadow reaches about 50px) or
|
|
57412
57415
|
where the room does, whichever is nearer, so the reveal finishes on
|
|
57413
57416
|
the box and its shadow at the pace of the box's own settle. On the
|
|
@@ -83168,6 +83171,7 @@ const ANIMATION_BY_SIDE = {
|
|
|
83168
83171
|
};
|
|
83169
83172
|
const css = /* css */`.navi_side_panel {
|
|
83170
83173
|
--popup-border-radius: 0px;
|
|
83174
|
+
--popup-animation-duration: .3s;
|
|
83171
83175
|
width: var(--navi-side-panel-width, auto);
|
|
83172
83176
|
height: var(--navi-side-panel-height, auto);
|
|
83173
83177
|
|
|
@@ -83332,10 +83336,12 @@ const css = /* css */`.navi_side_panel {
|
|
|
83332
83336
|
* @param {boolean|"fading"} [props.animation] - Off by default (unlike
|
|
83333
83337
|
* `Dialog`/`Popover` themselves) — SidePanel is commonly toggled instead
|
|
83334
83338
|
* of opened/closed as a one-off, where a slide transition is more often
|
|
83335
|
-
* undesired noise than not. `true`
|
|
83336
|
-
* unrolls from its edge
|
|
83337
|
-
* `
|
|
83338
|
-
*
|
|
83339
|
+
* undesired noise than not. `true` plays the entrance of `side`:
|
|
83340
|
+
* `cover-from-top` for a top panel (it unrolls from its edge, head first),
|
|
83341
|
+
* `slide-from-<side>` for the three others — see `ANIMATION_BY_SIDE` for
|
|
83342
|
+
* why the top differs. `"fading"` is the other common choice. Other values
|
|
83343
|
+
* are forwarded as-is but not a documented/encouraged part of this
|
|
83344
|
+
* component's own API.
|
|
83339
83345
|
* @param {boolean} [props.closeOnClickOutside=false] - `false` (default):
|
|
83340
83346
|
* maps to `pointerInteractionOutsideEffect="none"` — in popover mode, no
|
|
83341
83347
|
* backdrop at all, outside clicks pass straight through; in dialog mode,
|