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