@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.
package/dist/jsenv_navi.js
CHANGED
|
@@ -93481,7 +93481,13 @@ const pickerHasSomethingToClear = ({
|
|
|
93481
93481
|
if (!interactive) {
|
|
93482
93482
|
return false;
|
|
93483
93483
|
}
|
|
93484
|
-
|
|
93484
|
+
// Holding what a clear leaves behind — "" for a scalar, the [] or {} of a
|
|
93485
|
+
// list or a group (resolveClearedUIState) — there is nothing to take out.
|
|
93486
|
+
// The same reading as the placeholder on the face.
|
|
93487
|
+
if (value === "") {
|
|
93488
|
+
return false;
|
|
93489
|
+
}
|
|
93490
|
+
return !uiStateHoldsNothing(value);
|
|
93485
93491
|
};
|
|
93486
93492
|
|
|
93487
93493
|
// What the picker draws itself — the value it shows, the furniture in its slot,
|