@jsenv/navi 0.29.471 → 0.29.472

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.
@@ -51664,6 +51664,9 @@ const LinkWithRoute = ({
51664
51664
  currentExcept,
51665
51665
  currentAlso,
51666
51666
  children,
51667
+ // Kept out of `rest`: spread after the route's url, an `href={undefined}`
51668
+ // riding along would erase it.
51669
+ href,
51667
51670
  ...rest
51668
51671
  }) => {
51669
51672
  const url = route.buildUrl(routeParams);
@@ -56836,11 +56839,14 @@ const ButtonRouteResolver = props => {
56836
56839
  };
56837
56840
  const ButtonWithRoute = props => {
56838
56841
  const Next = useNextResolver();
56842
+ // `href` is kept out of `rest`: spread after the route's url, an
56843
+ // `href={undefined}` riding along would erase it.
56839
56844
  const {
56840
56845
  route,
56841
56846
  routeParams,
56842
56847
  children,
56843
56848
  pseudoState,
56849
+ href,
56844
56850
  ...rest
56845
56851
  } = props;
56846
56852
  const url = route.buildUrl(routeParams);
@@ -73028,8 +73034,9 @@ const PickerCustom = props => {
73028
73034
  props.id = props.id || controlId || idDefault;
73029
73035
  // Given no value, the picker holds what the control in its popup holds (see
73030
73036
  // the `mount` decision below) — and a group around it collects that from the
73031
- // moment both exist.
73032
- const valueInPopup = !isControlValueGivenByProps(props);
73037
+ // moment both exist. A picker that picks nothing holds none: its popup's
73038
+ // controls are never adopted (see canRegisterAsFacadeChild).
73039
+ const valueInPopup = !props.picksNothing && !isControlValueGivenByProps(props);
73033
73040
  const parentController = useContext(ParentUIStateControllerContext);
73034
73041
  const answersToGroup = Boolean(parentController) && !props.standalone;
73035
73042
  // Same narrow-container/maxWidth-compact heuristic Popup itself uses (see
@@ -74211,12 +74218,7 @@ const PickerConfirmResolver = props => {
74211
74218
  mode: mode,
74212
74219
  focusCapture: focusCapture,
74213
74220
  openWhileReadOnly: openWhileReadOnly,
74214
- onConfirm: onConfirm
74215
- // A question holds no value to read before it is asked: the popup is
74216
- // built on the first open, like that of a picker told its value (see
74217
- // the `mount` resolution in picker_custom.jsx).
74218
- ,
74219
- mount: MOUNT_DEFAULT,
74221
+ onConfirm: onConfirm,
74220
74222
  message: undefined,
74221
74223
  confirmLabel: undefined,
74222
74224
  cancelLabel: undefined,