@workbench-kit/react 0.0.2-prototype.0.2.2 → 0.0.2-prototype.0.2.4

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": "@workbench-kit/react",
3
- "version": "0.0.2-prototype.0.2.2",
3
+ "version": "0.0.2-prototype.0.2.4",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -57,15 +57,15 @@
57
57
  "@dnd-kit/core": "^6.3.1",
58
58
  "@vscode/codicons": "^0.0.45",
59
59
  "remark-gfm": "^4.0.1",
60
- "@workbench-kit/adapters": "0.0.2-prototype.0.2.2",
61
- "@workbench-kit/contracts": "0.0.2-prototype.0.2.2",
62
- "@workbench-kit/jdw": "0.0.2-prototype.0.2.2",
63
- "@workbench-kit/monaco": "0.0.2-prototype.0.2.2",
64
- "@workbench-kit/services": "0.0.2-prototype.0.2.2",
65
- "@workbench-kit/platform": "0.0.2-prototype.0.2.2",
66
- "@workbench-kit/tokens": "0.0.2-prototype.0.2.2",
67
- "@workbench-kit/runtime": "0.0.2-prototype.0.2.2",
68
- "@workbench-kit/workspace": "0.0.2-prototype.0.2.2"
60
+ "@workbench-kit/monaco": "0.0.2-prototype.0.2.4",
61
+ "@workbench-kit/jdw": "0.0.2-prototype.0.2.4",
62
+ "@workbench-kit/contracts": "0.0.2-prototype.0.2.4",
63
+ "@workbench-kit/platform": "0.0.2-prototype.0.2.4",
64
+ "@workbench-kit/services": "0.0.2-prototype.0.2.4",
65
+ "@workbench-kit/workspace": "0.0.2-prototype.0.2.4",
66
+ "@workbench-kit/runtime": "0.0.2-prototype.0.2.4",
67
+ "@workbench-kit/adapters": "0.0.2-prototype.0.2.4",
68
+ "@workbench-kit/tokens": "0.0.2-prototype.0.2.4"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "^19.0.0",
@@ -80,6 +80,8 @@ export function usePointerPassthroughRegion(options: UsePointerPassthroughRegion
80
80
  if (frame !== 0) {
81
81
  window.cancelAnimationFrame(frame);
82
82
  }
83
+ // Do not leave the host window stuck in click-through after unmount.
84
+ void portRef.current.setPointerPassthrough(false);
83
85
  };
84
86
  }, [enabled, rootRef]);
85
87
  }