@jsenv/navi 0.29.311 → 0.29.312

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.
@@ -36632,6 +36632,13 @@ const useUIFacadeStateController = (props, realUIStateController) => {
36632
36632
  // ── init: runs once on mount ───────────────────────────────────────────
36633
36633
  (s) => {
36634
36634
  const canRegisterAsFacadeChild = (childController) => {
36635
+ if (s.props.picksNothing) {
36636
+ // The popup is a question, not a choice: a control in it (the "I
36637
+ // understand" checkbox gating a confirm) holds its own value, and
36638
+ // that value is not the picker's. Adopted, it would reach the
36639
+ // picker's action as its params, over whatever the caller bound.
36640
+ return false;
36641
+ }
36635
36642
  if (childController.controlType === "button") {
36636
36643
  return false;
36637
36644
  }
@@ -73347,7 +73354,9 @@ const PickerFirstResolver = props => {
73347
73354
  * on it.
73348
73355
  * @param {boolean} [picksNothing] The popup asks something rather than holding
73349
73356
  * an answer, so the trigger draws a label and never a value: no chevron, no
73350
- * clear cross, in any variant. `type="confirm"` says it for itself; say it
73357
+ * clear cross, in any variant — and the controls in the popup are their own
73358
+ * (a checkbox gating the yes), never the picker's value, so a bound `action`
73359
+ * keeps the params it was bound with. `type="confirm"` says it for itself; say it
73351
73360
  * for a popup of your own that is a menu of actions rather than a choice —
73352
73361
  * or a DOOR: a drawing that grows to be looked at (a weather scene, a plan),
73353
73362
  * with no `action` at all. The picker is then a trigger and a popup, and