@jsenv/navi 0.29.360 → 0.29.361

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.
@@ -154,12 +154,18 @@ of — which is how a menu is opened at the point the press happened.
154
154
  ## Reaching the control
155
155
 
156
156
  Everything goes through the interaction gate of the **nearest control** — itself,
157
- an ancestor, or a descendant, in that order. So a disabled, read-only or busy
158
- control answers a swipe the way it answers a click: it says why, where the
157
+ an ancestor, or the one control it wraps, in that order. So a disabled, read-only
158
+ or busy control answers a swipe the way it answers a click: it says why, where the
159
159
  interaction happened, and nothing runs. A `Box` with no control anywhere near it
160
160
  still answers a callback; only `"request_action"` has nothing to ask, and says so
161
161
  in dev.
162
162
 
163
+ A `Box` that lays out **several** controls — a row of badges, a toolbar — belongs
164
+ to none of them: its interactions are its own, answered with no gate, exactly as
165
+ a `Box` with no control near it. A click on its empty part is the box's, and a
166
+ click on one of the controls reaches the box too, the way any click bubbles;
167
+ the callback reads `event.target` when it has to tell them apart.
168
+
163
169
  The one thing the gate weighs besides the control's state is what the
164
170
  interaction would do to it. Everything writes unless it says otherwise; an
165
171
  interaction that only shows what is already there declares `intent: "read"`, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.360",
3
+ "version": "0.29.361",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {