@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.
package/docs/actions.md CHANGED
@@ -357,8 +357,10 @@ displayed (see [error_handling.md](./error_handling.md)); an abort to
357
357
 
358
358
  ## `action` or `uiAction`
359
359
 
360
- Both fire when a control's value changes, and they are not two ways of writing
361
- the same thing:
360
+ Both fire when a control's value changes and on a control that holds no
361
+ value, a `<Button>` or a `<Link>`, the press itself is that occasion: each of
362
+ them runs once per press, with no value to wait for. They are not two ways of
363
+ writing the same thing:
362
364
 
363
365
  | | `uiAction(value, event)` | `action` |
364
366
  | ----------------- | ------------------------------------------ | -------------------------------------------------------------------------- |
@@ -479,8 +481,10 @@ apply there. Everywhere else it does.
479
481
 
480
482
  ## `uiAction` mirrors the state, it does not report a gesture
481
483
 
482
- `uiAction` fires whenever the control's state changes, whoever changed it. The
483
- user typing is one cause among several: a `value` prop coming back down after a
484
+ `uiAction` fires whenever the control's state changes, whoever changed it — a
485
+ button and a link being the exception their shape makes plain: they hold no
486
+ state to mirror, so each press is exactly one call. Everywhere else the user
487
+ typing is one cause among several: a `value` prop coming back down after a
484
488
  render, a popup control propagating its choice up to the picker holding it, a
485
489
  group cascading a value into its children — all of them reach `uiAction` too, so
486
490
  that a signal or a local variable listening to it never drifts out of sync.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.346",
3
+ "version": "0.29.347",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {