@relu-interactives/spatial-ecs 0.3.10 → 0.3.12

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.
Files changed (38) hide show
  1. package/dist/{XRHandPose-hAtj9wm-.d.cts → XRHandPose-DawOR0uR.d.cts} +56 -14
  2. package/dist/{XRHandPose-CjacJ_16.d.ts → XRHandPose-DhAd9Qi6.d.ts} +56 -14
  3. package/dist/{chunk-NJOO7NO6.js → chunk-7ZIN6TGT.js} +3 -3
  4. package/dist/{chunk-NJOO7NO6.js.map → chunk-7ZIN6TGT.js.map} +1 -1
  5. package/dist/{chunk-5UVBEAGW.js → chunk-ID7U4FER.js} +4 -4
  6. package/dist/{chunk-5UVBEAGW.js.map → chunk-ID7U4FER.js.map} +1 -1
  7. package/dist/{chunk-O2HSIZFC.js → chunk-LCJ6IH2O.js} +324 -47
  8. package/dist/chunk-LCJ6IH2O.js.map +1 -0
  9. package/dist/{chunk-ELSZ5U3F.js → chunk-OMDYLFTN.js} +7 -4
  10. package/dist/chunk-OMDYLFTN.js.map +1 -0
  11. package/dist/components/index.cjs +5 -2
  12. package/dist/components/index.cjs.map +1 -1
  13. package/dist/components/index.d.cts +2 -2
  14. package/dist/components/index.d.ts +2 -2
  15. package/dist/components/index.js +1 -1
  16. package/dist/docs/guide/vr-and-hand-poses.md +7 -3
  17. package/dist/factories/index.cjs +5 -2
  18. package/dist/factories/index.cjs.map +1 -1
  19. package/dist/factories/index.d.cts +1 -1
  20. package/dist/factories/index.d.ts +1 -1
  21. package/dist/factories/index.js +3 -3
  22. package/dist/{index-B7JDsx4a.d.ts → index-B49322Q3.d.ts} +2 -3
  23. package/dist/{index-DU-CF-3m.d.cts → index-DJ9bn9SF.d.cts} +70 -1
  24. package/dist/{index-B-KhN8Ox.d.ts → index-M0I5B3JA.d.ts} +70 -1
  25. package/dist/{index-B9JqYr3Q.d.cts → index-Xm3im4Pt.d.cts} +2 -3
  26. package/dist/index.cjs +326 -44
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +8 -8
  31. package/dist/systems/index.cjs +326 -44
  32. package/dist/systems/index.cjs.map +1 -1
  33. package/dist/systems/index.d.cts +1 -1
  34. package/dist/systems/index.d.ts +1 -1
  35. package/dist/systems/index.js +3 -3
  36. package/package.json +1 -1
  37. package/dist/chunk-ELSZ5U3F.js.map +0 -1
  38. package/dist/chunk-O2HSIZFC.js.map +0 -1
@@ -1916,7 +1916,6 @@ var _XRInteractableComponent = class _XRInteractableComponent extends Component
1916
1916
  this.enabled = options?.enabled ?? true;
1917
1917
  this.grabbable = options?.grabbable ?? true;
1918
1918
  this.pointable = options?.pointable ?? true;
1919
- this.grabMode = options?.grabMode ?? "kinematic";
1920
1919
  this.grabReach = options?.grabReach ?? "both";
1921
1920
  this.distanceBehavior = options?.distanceBehavior ?? "snap";
1922
1921
  this.grabGesture = options?.grabGesture ?? "any";
@@ -1941,7 +1940,9 @@ var _XRInteractableComponent = class _XRInteractableComponent extends Component
1941
1940
  );
1942
1941
  this.throwOnRelease = options?.throwOnRelease ?? true;
1943
1942
  this.throwStrength = options?.throwStrength ?? 1;
1944
- this.highlightOnHover = options?.highlightOnHover ?? true;
1943
+ this.hoverBehavior = options?.hoverBehavior ?? "color";
1944
+ this.hoverColor = options?.hoverColor ?? "#4da3ff";
1945
+ this.hoverScale = options?.hoverScale ?? 1.06;
1945
1946
  }
1946
1947
  };
1947
1948
  __name(_XRInteractableComponent, "XRInteractableComponent");
@@ -1983,6 +1984,8 @@ var _XRInteractorComponent = class _XRInteractorComponent extends Component {
1983
1984
  this.handOpacity = options?.handOpacity ?? 1;
1984
1985
  this.handEmissiveIntensity = options?.handEmissiveIntensity ?? 0;
1985
1986
  this.showRay = options?.showRay ?? true;
1987
+ this.rayColor = options?.rayColor ?? "#4da3ff";
1988
+ this.rayThickness = options?.rayThickness ?? 6e-3;
1986
1989
  }
1987
1990
  };
1988
1991
  __name(_XRInteractorComponent, "XRInteractorComponent");