@jsenv/navi 0.29.306 → 0.29.308
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 +237 -182
- package/dist/dev/jsenv_navi.js.map +11 -11
- package/dist/jsenv_navi.js +211 -176
- package/dist/jsenv_navi.js.map +11 -11
- package/docs/dialog_shape.md +2 -2
- package/docs/popup_open.md +6 -2
- package/package.json +3 -3
package/docs/dialog_shape.md
CHANGED
|
@@ -234,5 +234,5 @@ do nothing to the menu is worth checking against that list first (see
|
|
|
234
234
|
|
|
235
235
|
Reference: `src/layout/dialog.jsx` (the stylesheet at the top of the file holds
|
|
236
236
|
the cap arithmetic), `src/layout/responsive.js` (`smallTouchScreenSignal`),
|
|
237
|
-
`src/control/picker/picker_custom.jsx` (how
|
|
238
|
-
|
|
237
|
+
`src/control/picker/picker_custom.jsx` (how the picker hands `dialogMin*`/
|
|
238
|
+
`dialogMax*` to the dialog element), and `src/layout/demos/1_dialog_demo.html`.
|
package/docs/popup_open.md
CHANGED
|
@@ -440,7 +440,9 @@ read it: `ui={MatchCard}` hands the component `value`, `loading` and
|
|
|
440
440
|
`interactive` as props; `ui={<MatchCard match={match} />}` keeps the caller's
|
|
441
441
|
own props and reads the same three with `usePickerState()` inside. The
|
|
442
442
|
`loading` is the wait: navi's loading outline is a two-pixel run around the
|
|
443
|
-
box, which a card-sized trigger
|
|
443
|
+
box, which a card-sized trigger moves clear of its frame with
|
|
444
|
+
`loadingOutlineInset`, or draws its own waiting state for, with
|
|
445
|
+
`loadingOutline="custom"` so the two do not add up.
|
|
444
446
|
|
|
445
447
|
What the picker measures as "changed since open" is what its mirrored group
|
|
446
448
|
holds. A piece of the answer living outside the controls — a seating
|
|
@@ -460,7 +462,9 @@ run through `loading` (from its `onActionStart`/`onActionEnd`), so while
|
|
|
460
462
|
either write is out the hold and the click are both refused, with the busy
|
|
461
463
|
reason where the finger is — the click only once the score picker says
|
|
462
464
|
`openWhileReadOnly={false}`: a busy picker otherwise still opens, to be read,
|
|
463
|
-
and a sheet of fields to fill in is not that.
|
|
465
|
+
and a sheet of fields to fill in is not that. One wait, one outline as well:
|
|
466
|
+
the inner picker says `loadingOutline="custom"`, and the card's is drawn by
|
|
467
|
+
the picker whose box the card is. A hold declared inside the card answers before the
|
|
464
468
|
card's own: the nearer hold takes the press. `animation="growing"` with
|
|
465
469
|
`dialogSizeFromAnchor` (as wide as the card, floor and ceiling),
|
|
466
470
|
`popupBackgroundColor="transparent"` and `popupBoxShadow="none"` lifts the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/navi",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.308",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Library of components including navigation to create frontend applications",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@jsenv/dom": "0.17.62",
|
|
38
|
-
"@jsenv/humanize": "1.8.
|
|
39
|
-
"@jsenv/validity": "0.4.
|
|
38
|
+
"@jsenv/humanize": "1.8.3",
|
|
39
|
+
"@jsenv/validity": "0.4.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@jsenv/assert": "4.5.7",
|