@jsenv/navi 0.29.64 → 0.29.65

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.
@@ -29897,9 +29897,12 @@ const css$W = /* css */`
29897
29897
  backdrop-filter: none;
29898
29898
  }
29899
29899
 
29900
+ /* overlay is a no-op here (this backdrop is a plain div, never a
29901
+ top-layer element) but stays in the list so all four transition lists in
29902
+ these files agree — display and overlay always travel together. */
29900
29903
  &[navi-animation] {
29901
29904
  opacity: 1;
29902
- transition-property: display, opacity;
29905
+ transition-property: display, overlay, opacity;
29903
29906
  transition-duration: var(--popup-animation-duration);
29904
29907
  transition-timing-function: ease;
29905
29908
  transition-behavior: allow-discrete;
@@ -31305,12 +31308,16 @@ const css$V = /* css */`
31305
31308
  /* navi-animation mirrors the content popover's own resolved value (set
31306
31309
  imperatively in openEffect) — the backdrop only ever fades, regardless
31307
31310
  of which kind it is (translate/scale wouldn't mean anything on it).
31308
- display is included alongside opacity (+ allow-discrete) for the same
31309
- reason popup_css.js's own .navi_popover rule includes it — see this
31310
- file's top comment. */
31311
+ display and overlay are included alongside opacity (+ allow-discrete)
31312
+ for the same reason popup_css.js's own .navi_popover rule includes them
31313
+ — see this file's top comment. They go together: display keeps the
31314
+ backdrop rendered during the exit, overlay keeps it in the top layer
31315
+ (hidePopover() is called synchronously, so without it the backdrop is
31316
+ evicted immediately and, being z-index: unset, loses to FixedBar and to
31317
+ any positioned element later in DOM order for the whole fade). */
31311
31318
  &[navi-animation] {
31312
31319
  opacity: 1;
31313
- transition-property: display, opacity;
31320
+ transition-property: display, overlay, opacity;
31314
31321
  transition-duration: var(--popup-animation-duration);
31315
31322
  transition-timing-function: ease;
31316
31323
  transition-behavior: allow-discrete;