@jsenv/navi 0.29.472 → 0.29.474
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/dev/jsenv_navi.js +134 -36
- package/dist/dev/jsenv_navi.js.map +8 -8
- package/dist/jsenv_navi.js +134 -36
- package/dist/jsenv_navi.js.map +8 -8
- package/docs/control_value.md +3 -2
- package/docs/popup_open.md +10 -9
- package/package.json +1 -1
package/docs/control_value.md
CHANGED
|
@@ -33,8 +33,9 @@ somewhere else in the app.
|
|
|
33
33
|
| `value` (or `checked`) | you | nothing moves until you hand a new one down |
|
|
34
34
|
|
|
35
35
|
A control given `value` and nothing to listen to it (`uiAction`, `action`, a
|
|
36
|
-
`signal`, a
|
|
37
|
-
something nobody can change.
|
|
36
|
+
`signal`, a `command`, a form or group collecting it) is read-only, and says so
|
|
37
|
+
in dev: it is showing something nobody can change. A `<Details>` around it
|
|
38
|
+
collects nothing, and a `standalone` control is collected by nobody.
|
|
38
39
|
|
|
39
40
|
## A bound signal works in both directions
|
|
40
41
|
|
package/docs/popup_open.md
CHANGED
|
@@ -299,15 +299,16 @@ What each row costs depends on what reads the picker's value before anything
|
|
|
299
299
|
opens. A picker told no value — no `value`, `defaultValue` or `signal` — holds
|
|
300
300
|
what the control in its popup holds, so that popup is built, closed, as soon as
|
|
301
301
|
something reads the value: the trigger navi draws (no `ui`, a `Picker.UI.*`, a
|
|
302
|
-
component `ui` handed `value`), the clear cross, a form or group collecting it
|
|
303
|
-
an element `ui` calling
|
|
304
|
-
hundred
|
|
305
|
-
`mount="from-first-open"`, and the picker then
|
|
306
|
-
control holds until the first opening: its trigger
|
|
307
|
-
reading the picker sees it. A picker read by nothing
|
|
308
|
-
trigger a drawing of the caller's that does not ask for
|
|
309
|
-
cross — builds on the first open, like a picker told a
|
|
310
|
-
`type="confirm"` and a
|
|
302
|
+
component `ui` handed `value`), the clear cross, a form or group collecting it
|
|
303
|
+
(a `<Details>` around it collects nothing), an element `ui` calling
|
|
304
|
+
`usePickerState()`. A hundred such rows is then a hundred closed popups. One
|
|
305
|
+
heavy enough to matter can say `mount="from-first-open"`, and the picker then
|
|
306
|
+
knows nothing of what that control holds until the first opening: its trigger
|
|
307
|
+
cannot draw it, and nothing reading the picker sees it. A picker read by nothing
|
|
308
|
+
before it opens — its trigger a drawing of the caller's that does not ask for
|
|
309
|
+
the value, no name, no cross — builds on the first open, like a picker told a
|
|
310
|
+
value, one that picks nothing (`picksNothing`, `type="confirm"`) and a
|
|
311
|
+
`mode="callout"`.
|
|
311
312
|
|
|
312
313
|
### Composing a value, or doing work
|
|
313
314
|
|