@n-uf/motion 26.11.27 → 26.11.28

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  Versions are calendar versions, `YY.M.R` (year, month of the release, counter
4
4
  within the month), the same scheme as `@n-uf/hypr-tiling`.
5
5
 
6
+ ## 26.11.28
7
+
8
+ - No change in `@n-uf/motion`, apart from a README note on the drag intent: a host clamps the pointer into the stage
9
+ before it reaches `update` and `release`. Released together with `@n-uf/placement` 26.11.28 (rail titles and edge-target
10
+ fixes in `./scene`).
11
+
6
12
  ## 26.11.27
7
13
 
8
14
  - `./drag`, **`createGripPress`: a double-click on a grip is its own gesture** (additive). A press tracker for grips:
package/README.md CHANGED
@@ -404,6 +404,11 @@ for (let t = 0; t <= 300; t += 16) onPage.update(toPage(screen), t, [slot]); //
404
404
  console.log(onPage.state.shown?.id, onPage.release(toPage(screen), [slot])?.id); // "slot" "slot"
405
405
  ```
406
406
 
407
+ A host contract: clamp the pointer into the stage (the window the targets tile) before it reaches `update` and
408
+ `release`, so a pointer past the window's edge means its nearest point of the window. A drop target at the window's
409
+ edge then stays under a hand that overshoots it, which is what makes an edge target easy to hit. Draw the held item at
410
+ the pointer itself.
411
+
407
412
  ## @n-uf/motion/browser
408
413
 
409
414
  | | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n-uf/motion",
3
- "version": "26.11.27",
3
+ "version": "26.11.28",
4
4
  "description": "One frame loop with an injected clock, fine-grained signals, springs and tweens, and a DOM-free gesture recogniser. No DOM, no framework.",
5
5
  "keywords": [
6
6
  "animation",