@jsenv/navi 0.29.479 → 0.29.481

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.
@@ -9882,16 +9882,18 @@ let isUpdatingRoutesFromUrl = false;
9882
9882
  * Declares a route from an url pattern.
9883
9883
  *
9884
9884
  * @param {string} pattern - The url pattern, where `:name` is a path param and
9885
- * `:name=${signal}` binds that param to a signal.
9885
+ * `:name=${signal}` binds that param to a signal. A pattern ending in `/` is a
9886
+ * frame: it matches every address below it too, and its search params hold
9887
+ * there (see docs/navigation.md, "A page or a frame: the trailing slash").
9886
9888
  * @param {object} [options]
9887
9889
  * @param {Object<string, import("@preact/signals").Signal | {signal: import("@preact/signals").Signal, default?: any}>} [options.searchParams]
9888
9890
  * Search params this route two-way syncs with, by name. The signal and the url
9889
9891
  * are the same state: writing the signal rewrites the address, an address
9890
9892
  * arriving from outside writes the signal, and the param disappears from the
9891
9893
  * url while the signal holds its default.
9892
- * They exist on this route's address only, unless the pattern catches the
9893
- * addresses below it (`/map/`, `/map/*`, the root): then they hold on every
9894
- * route below as well. `/places` does not lend its `?q=` to `/places/clubs`.
9894
+ * They exist on this route's address only, unless the pattern is a frame
9895
+ * (`/map/`, `/map/*`, the root): then on every address below it too.
9896
+ * `/places` does not lend its `?q=` to `/places/clubs`.
9895
9897
  * `{ signal, default }` says what that state is worth ON THIS ROUTE: the same
9896
9898
  * step opens a creation wizard on its first question and an edition one on
9897
9899
  * its summary, each address staying clean on the step its page opens on. One