@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.
@@ -56517,8 +56517,11 @@ const getAvailableWidth = (layer, element) => {
56517
56517
  * (a top-docked SidePanel: title and tabs at its top). So here the cut alone
56518
56518
  * does the reveal — the same curtain descending from the container's top
56519
56519
  * edge a full slide draws — while the box travels only `--popup-cover-travel`
56520
- * (default 15%) of its own height: the head is on screen from the first
56521
- * frame, settling its last few pixels into place. The exit is the same
56520
+ * (default 24px): the head is on screen from the first frame, settling its
56521
+ * last few pixels into place. A length, not a share of the panel: the travel
56522
+ * is a settle, the curtain is what reveals, and a share would grow with a
56523
+ * full-screen panel while its head does not — at 15% of 800px the head spent
56524
+ * the first 40% of the entrance above the cut. The exit is the same
56522
56525
  * movement backwards and still reads as a slide, the head leading. One
56523
56526
  * direction only: a bottom sheet leads with its head by itself, and a
56524
56527
  * left/right panel keeps its head on the axis it does not travel.
@@ -56548,7 +56551,7 @@ const popupCss = /* css */ `
56548
56551
  .navi_dialog {
56549
56552
  --popup-animation-duration: 0.18s;
56550
56553
  --popup-scale-from: 0.9;
56551
- --popup-cover-travel: 15%;
56554
+ --popup-cover-travel: 24px;
56552
56555
 
56553
56556
  --popup-opacity-duration: var(--popup-animation-duration);
56554
56557
  --popup-translate-duration: var(--popup-animation-duration);
@@ -56729,7 +56732,7 @@ const popupCss = /* css */ `
56729
56732
 
56730
56733
  /* cover — a top-docked popup unrolling from the top edge of its area (see
56731
56734
  this file's top comment): the cut does the reveal, the box travels
56732
- --popup-cover-travel of its own height. The far cut sits where the
56735
+ --popup-cover-travel, a length. The far cut sits where the
56733
56736
  popup's shadow ends (--navi-popup-box-shadow reaches about 50px) or
56734
56737
  where the room does, whichever is nearer, so the reveal finishes on
56735
56738
  the box and its shadow at the pace of the box's own settle. On the
@@ -81950,6 +81953,7 @@ const ANIMATION_BY_SIDE = {
81950
81953
  };
81951
81954
  const css = /* css */`.navi_side_panel {
81952
81955
  --popup-border-radius: 0px;
81956
+ --popup-animation-duration: .3s;
81953
81957
  width: var(--navi-side-panel-width, auto);
81954
81958
  height: var(--navi-side-panel-height, auto);
81955
81959
 
@@ -82114,10 +82118,12 @@ const css = /* css */`.navi_side_panel {
82114
82118
  * @param {boolean|"fading"} [props.animation] - Off by default (unlike
82115
82119
  * `Dialog`/`Popover` themselves) — SidePanel is commonly toggled instead
82116
82120
  * of opened/closed as a one-off, where a slide transition is more often
82117
- * undesired noise than not. `true` slides in from `side` (a top panel
82118
- * unrolls from its edge instead, head first — see `ANIMATION_BY_SIDE`);
82119
- * `"fading"` is the other common choice. Other values are forwarded as-is but not a
82120
- * documented/encouraged part of this component's own API.
82121
+ * undesired noise than not. `true` plays the entrance of `side`:
82122
+ * `cover-from-top` for a top panel (it unrolls from its edge, head first),
82123
+ * `slide-from-<side>` for the three others — see `ANIMATION_BY_SIDE` for
82124
+ * why the top differs. `"fading"` is the other common choice. Other values
82125
+ * are forwarded as-is but not a documented/encouraged part of this
82126
+ * component's own API.
82121
82127
  * @param {boolean} [props.closeOnClickOutside=false] - `false` (default):
82122
82128
  * maps to `pointerInteractionOutsideEffect="none"` — in popover mode, no
82123
82129
  * backdrop at all, outside clicks pass straight through; in dialog mode,