@mmstack/primitives 22.10.0 → 22.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmstack/primitives",
3
- "version": "22.10.0",
3
+ "version": "22.10.1",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "signals",
@@ -2355,6 +2355,16 @@ type PointerDragOptions = SensorRunOptions & {
2355
2355
  * sortable inside another). @default false
2356
2356
  */
2357
2357
  stopPropagation?: boolean;
2358
+ /**
2359
+ * Listen for `pointerdown` in the capture phase. Lets the sensor observe
2360
+ * presses on a surface whose own capture-phase listeners stop propagation
2361
+ * (e.g. an editor shield swallowing events before they reach rendered
2362
+ * content) — same-element listeners still run after a `stopPropagation()`,
2363
+ * so a capture-phase sensor on the shielded surface sees every press.
2364
+ * Subsequent move/up tracking is unaffected (the gesture holds pointer
2365
+ * capture). @default false
2366
+ */
2367
+ capture?: boolean;
2358
2368
  };
2359
2369
  /** A gesture signal with an `unthrottled` view and an imperative `cancel()`. */
2360
2370
  type PointerDragSignal = Signal<PointerDragState> & {