@jsenv/navi 0.29.346 → 0.29.347

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.
@@ -49679,9 +49679,15 @@ const COMMAND_DEFAULT_PROPS_FACTORIES = {
49679
49679
  * drawn — must still close it. What `<Link pressableDuringRouteTransition>`
49680
49680
  * says, for the other half of a toggle. Only for a control that does not
49681
49681
  * travel with the pages.
49682
- * @param {Function} [action] On a button with an `href` or a `route`, the
49683
- * same order as a Link's: it runs on the press, before the navigation, and
49684
- * the navigation does not wait for it (see Link's `action`).
49682
+ * @param {Function} [action] What the press runs: a button holds no value, so
49683
+ * every press is one call. The button is busy while it runs, refuses a second
49684
+ * press and draws the error on itself. On a button with an `href` or a
49685
+ * `route`, the same order as a Link's: it runs on the press, before the
49686
+ * navigation, and the navigation does not wait for it (see Link's `action`).
49687
+ * @param {Function} [uiAction] The same press, for what cannot fail and takes
49688
+ * no time — moving something else on screen, writing a local signal: a plain
49689
+ * callback, no busy state, nothing drawn if it throws (see
49690
+ * docs/actions.md#action-or-uiaction).
49685
49691
  * @param {string} [selfInteractions] The interactions this button takes for
49686
49692
  * itself inside a zone that belongs to another control — a chip's cross on a
49687
49693
  * picker's façade, an eye on a pressable row, a badge against the edge of a