@jsenv/navi 0.29.339 → 0.29.340
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 +11 -5
- package/dist/dev/jsenv_navi.js.map +2 -2
- package/dist/jsenv_navi.js +5 -1
- package/dist/jsenv_navi.js.map +2 -2
- package/package.json +1 -1
package/dist/dev/jsenv_navi.js
CHANGED
|
@@ -73603,6 +73603,10 @@ const css$t = /* css */`@layer navi {
|
|
|
73603
73603
|
}
|
|
73604
73604
|
}
|
|
73605
73605
|
|
|
73606
|
+
&[data-open-on]:not([data-open-on~="single_click"]) {
|
|
73607
|
+
--x-picker-cursor: auto;
|
|
73608
|
+
}
|
|
73609
|
+
|
|
73606
73610
|
&[data-open-on~="longpress"] {
|
|
73607
73611
|
-webkit-touch-callout: none;
|
|
73608
73612
|
user-select: none;
|
|
@@ -73678,7 +73682,7 @@ const css$t = /* css */`@layer navi {
|
|
|
73678
73682
|
--x-picker-cursor: default;
|
|
73679
73683
|
}
|
|
73680
73684
|
|
|
73681
|
-
&[data-readonly-opens] {
|
|
73685
|
+
&[data-readonly-opens]:not([data-open-on]) {
|
|
73682
73686
|
--x-picker-cursor: pointer;
|
|
73683
73687
|
}
|
|
73684
73688
|
|
|
@@ -74655,10 +74659,12 @@ const PickerFirstResolver = props => {
|
|
|
74655
74659
|
* press a hold would have taken. A tap then opens nothing — the press stays
|
|
74656
74660
|
* free for what the `ui` holds: a link in the card navigates, a button in it
|
|
74657
74661
|
* presses, a picker in it opens on its own click, with nothing to declare
|
|
74658
|
-
* (`selfInteractions` is for a drawing that DOES open on the press).
|
|
74659
|
-
*
|
|
74660
|
-
* the
|
|
74661
|
-
*
|
|
74662
|
+
* (`selfInteractions` is for a drawing that DOES open on the press). The
|
|
74663
|
+
* trigger says so under the mouse too: it drops the hand cursor, which is
|
|
74664
|
+
* the press's promise, and every pixel of the drawing keeps the cursor it
|
|
74665
|
+
* would have on its own. That is what lets a whole card be a picker without
|
|
74666
|
+
* every touch on it opening the sheet — and the keyboard keeps its ways in
|
|
74667
|
+
* (Enter, Space, the arrows). A hold declared INSIDE the card (`interactions={{ longpress }}`
|
|
74662
74668
|
* on something it holds) answers before this one: the nearer hold takes the
|
|
74663
74669
|
* press, the way a click is the innermost target's. Being a gesture, the open goes through
|
|
74664
74670
|
* the interaction gate as one: a `readOnly` picker refuses it and says so
|