@jsenv/navi 0.29.501 → 0.29.502

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.
@@ -152,6 +152,7 @@ screen has not asked for it to swap places with whatever it flew over.
152
152
  | Attribute | Meaning |
153
153
  | -------------------------------------------------------- | -------------------------------------- |
154
154
  | `data-drag-axis="x"\|"y"\|"xy"` | which axes the drag walks |
155
+ | `data-drag-intent-axis="x"\|"y"` | which axis a press takes it by |
155
156
  | `data-reorder-flow="column"\|"row"\|"wrap"` | how the items of a list are laid out |
156
157
  | `data-drag-delay` `data-drag-slop` `data-drag-threshold` | when the press becomes a grab |
157
158
  | `data-drag-on-contact` | a finger may drag by travelling too |
@@ -284,7 +285,10 @@ whose first pixels go clearly up or down is the page's scroll that landed on the
284
285
  handle — it is given back before the browser decides, and the page scrolls. A
285
286
  thumb pulling sideways arcs, and leans that way at first: across has to win by
286
287
  far to be the scroll's. A source walking both axes has nothing to leave, and
287
- takes the whole finger.
288
+ takes the whole finger — unless it says which axis takes it: a card pulled up
289
+ out of a strip that scrolls sideways (`data-drag-intent-axis="y"`, on the card
290
+ or on the strip) is given back to the strip by a finger going clearly sideways,
291
+ and once taken its copy still walks both ways.
288
292
 
289
293
  ### Landing on a place: `land`
290
294
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.501",
3
+ "version": "0.29.502",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "preact": "^11.0.0-rc.2"
35
35
  },
36
36
  "dependencies": {
37
- "@jsenv/dom": "0.17.99",
37
+ "@jsenv/dom": "0.17.100",
38
38
  "@jsenv/humanize": "1.8.11",
39
39
  "@jsenv/validity": "0.4.7"
40
40
  },