@jsenv/navi 0.30.19 → 0.30.20

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.
@@ -95495,7 +95495,13 @@ const pickerHasSomethingToClear = ({
95495
95495
  if (!interactive) {
95496
95496
  return false;
95497
95497
  }
95498
- return value !== undefined && value !== "";
95498
+ // Holding what a clear leaves behind — "" for a scalar, the [] or {} of a
95499
+ // list or a group (resolveClearedUIState) — there is nothing to take out.
95500
+ // The same reading as the placeholder on the face.
95501
+ if (value === "") {
95502
+ return false;
95503
+ }
95504
+ return !uiStateHoldsNothing(value);
95499
95505
  };
95500
95506
  let clearOutsidePickerWarned = false;
95501
95507
  const warnOnClearOutsidePicker = () => {