@jsenv/navi 0.29.84 → 0.29.85
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/jsenv_navi.js +18 -3
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -22827,7 +22827,15 @@ const setupBrowserIntegrationViaHistory = ({
|
|
|
22827
22827
|
};
|
|
22828
22828
|
|
|
22829
22829
|
let abortController = null;
|
|
22830
|
-
const handleRoutingTask = (
|
|
22830
|
+
const handleRoutingTask = (target, options) => {
|
|
22831
|
+
// Everything below this line reasons on the URL as a whole: it is compared
|
|
22832
|
+
// to window.location.href, looked up in the history stack, written into the
|
|
22833
|
+
// document url signal and parsed there. A relative target ("/", "../x")
|
|
22834
|
+
// would silently lose every one of those — the browser would still resolve
|
|
22835
|
+
// it in pushState, but nothing else here would. So it is resolved once, at
|
|
22836
|
+
// the single door every navigation goes through, rather than by each caller
|
|
22837
|
+
// (navBack's fallback in particular arrives here raw).
|
|
22838
|
+
const url = new URL(target, window.location.href).href;
|
|
22831
22839
|
// Decided before anything is announced: an elided push IS the traversal it
|
|
22832
22840
|
// becomes, and the traversal will make its own announcements when the
|
|
22833
22841
|
// browser answers — a before/after cycle here would be about a navigation
|
|
@@ -55408,7 +55416,12 @@ installImportMetaCssBuild(import.meta);const css$z = /* css */`
|
|
|
55408
55416
|
/* The list scrolls inside the popover */
|
|
55409
55417
|
.navi_list_container {
|
|
55410
55418
|
width: 100%;
|
|
55411
|
-
border-radius:
|
|
55419
|
+
/* The list's radius var, not border-radius itself: the longhands it
|
|
55420
|
+
feeds are what read the --x-corner-*-radius claims coming from
|
|
55421
|
+
outside (a header/footer covering a corner, a flush body — see
|
|
55422
|
+
box.jsx). Writing the shorthand here would flatten those four
|
|
55423
|
+
longhands back to one curve and square nothing. */
|
|
55424
|
+
--list-border-radius: max(
|
|
55412
55425
|
0px,
|
|
55413
55426
|
var(--picker-border-radius) - var(--picker-border-width)
|
|
55414
55427
|
);
|
|
@@ -55474,7 +55487,9 @@ installImportMetaCssBuild(import.meta);const css$z = /* css */`
|
|
|
55474
55487
|
|
|
55475
55488
|
.navi_list_container {
|
|
55476
55489
|
width: 100%;
|
|
55477
|
-
|
|
55490
|
+
/* See the popover block above: the var, not the shorthand, so the
|
|
55491
|
+
corner claims survive. */
|
|
55492
|
+
--list-border-radius: max(
|
|
55478
55493
|
0px,
|
|
55479
55494
|
var(--picker-border-radius) - var(--picker-border-width)
|
|
55480
55495
|
);
|