@relu-interactives/spatial-ecs 0.3.20 → 0.4.0

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 (77) hide show
  1. package/dist/{System-BhnLw0fZ.d.cts → System-QjjSc6LZ.d.cts} +14 -0
  2. package/dist/{System-BhnLw0fZ.d.ts → System-QjjSc6LZ.d.ts} +14 -0
  3. package/dist/{XRHandPose-CLl4MiHx.d.cts → XRHandPose-Capx-RTD.d.cts} +47 -2
  4. package/dist/{XRHandPose-CrzI57JA.d.ts → XRHandPose-Csd3QGkj.d.ts} +47 -2
  5. package/dist/{chunk-CDSE7476.js → chunk-24ZMSBR7.js} +540 -5
  6. package/dist/chunk-24ZMSBR7.js.map +1 -0
  7. package/dist/{chunk-D6KXWNYT.js → chunk-2GTFFLGG.js} +3 -3
  8. package/dist/{chunk-D6KXWNYT.js.map → chunk-2GTFFLGG.js.map} +1 -1
  9. package/dist/{chunk-P42OE3RU.js → chunk-OWQPGEBB.js} +4 -4
  10. package/dist/{chunk-P42OE3RU.js.map → chunk-OWQPGEBB.js.map} +1 -1
  11. package/dist/{chunk-H6DQ7JRE.js → chunk-ZWONFM2F.js} +33 -3
  12. package/dist/chunk-ZWONFM2F.js.map +1 -0
  13. package/dist/components/index.cjs +30 -0
  14. package/dist/components/index.cjs.map +1 -1
  15. package/dist/components/index.d.cts +3 -3
  16. package/dist/components/index.d.ts +3 -3
  17. package/dist/components/index.js +1 -1
  18. package/dist/docs/guide/accessing-components.md +7 -6
  19. package/dist/docs/guide/behaviour-data-binding/component-input.md +10 -6
  20. package/dist/docs/guide/behaviour-data-binding/entity-input.md +13 -5
  21. package/dist/docs/guide/camera-rigs.md +2 -2
  22. package/dist/docs/guide/components/animation.md +12 -5
  23. package/dist/docs/guide/components/audio.md +13 -6
  24. package/dist/docs/guide/components/camera.md +10 -4
  25. package/dist/docs/guide/components/entity-type.md +13 -6
  26. package/dist/docs/guide/components/image-target-anchor.md +6 -2
  27. package/dist/docs/guide/components/image-target.md +10 -5
  28. package/dist/docs/guide/components/image.md +10 -4
  29. package/dist/docs/guide/components/instance-slot.md +7 -3
  30. package/dist/docs/guide/components/instanced-mesh.md +15 -7
  31. package/dist/docs/guide/components/light.md +10 -4
  32. package/dist/docs/guide/components/material.md +14 -8
  33. package/dist/docs/guide/components/mesh-geometry.md +10 -4
  34. package/dist/docs/guide/components/mesh.md +10 -4
  35. package/dist/docs/guide/components/model.md +4 -2
  36. package/dist/docs/guide/components/name.md +11 -6
  37. package/dist/docs/guide/components/object3d-ref.md +7 -3
  38. package/dist/docs/guide/components/parent-id.md +10 -4
  39. package/dist/docs/guide/components/physics.md +12 -6
  40. package/dist/docs/guide/components/script.md +10 -4
  41. package/dist/docs/guide/components/sprite.md +10 -4
  42. package/dist/docs/guide/components/transform.md +6 -2
  43. package/dist/docs/guide/components/video.md +10 -4
  44. package/dist/docs/guide/prefabs.md +2 -0
  45. package/dist/docs/guide/runtime-entity-management.md +1 -1
  46. package/dist/docs/guide/spawning/instanced-mesh.md +11 -6
  47. package/dist/docs/guide/systems/input-system.md +4 -1
  48. package/dist/docs/guide/systems/script-object-system.md +9 -1
  49. package/dist/docs/guide/vr-and-hand-poses.md +7 -3
  50. package/dist/docs/guide/world-api.md +23 -15
  51. package/dist/factories/index.cjs +6 -0
  52. package/dist/factories/index.cjs.map +1 -1
  53. package/dist/factories/index.d.cts +2 -2
  54. package/dist/factories/index.d.ts +2 -2
  55. package/dist/factories/index.js +3 -3
  56. package/dist/{index-6l4hn2Sh.d.ts → index-BAeeVJ6f.d.ts} +94 -2
  57. package/dist/{index-g777AmFv.d.cts → index-BRATaqTT.d.ts} +78 -4
  58. package/dist/{index-JRcoel9F.d.ts → index-C1rprGz_.d.cts} +78 -4
  59. package/dist/{index-C2I5PxCI.d.cts → index-SC9Mgjht.d.cts} +94 -2
  60. package/dist/index.cjs +586 -0
  61. package/dist/index.cjs.map +1 -1
  62. package/dist/index.d.cts +7 -7
  63. package/dist/index.d.ts +7 -7
  64. package/dist/index.js +26 -8
  65. package/dist/index.js.map +1 -1
  66. package/dist/systems/index.cjs +566 -0
  67. package/dist/systems/index.cjs.map +1 -1
  68. package/dist/systems/index.d.cts +2 -2
  69. package/dist/systems/index.d.ts +2 -2
  70. package/dist/systems/index.js +3 -3
  71. package/dist/types.d.cts +1 -1
  72. package/dist/types.d.ts +1 -1
  73. package/dist/worldSnapshotUtils.d.cts +1 -1
  74. package/dist/worldSnapshotUtils.d.ts +1 -1
  75. package/package.json +4 -2
  76. package/dist/chunk-CDSE7476.js.map +0 -1
  77. package/dist/chunk-H6DQ7JRE.js.map +0 -1
@@ -1,5 +1,5 @@
1
- export { v as ComponentFactory, B as EcsComponentFactoryKind, I as InputSystem, K as KeyboardKey, L as KeyboardKeys, M as MouseButton, O as ObjectManagementSystem, X as RenderSystem, a0 as TransformSyncSystem } from '../System-BhnLw0fZ.cjs';
2
- export { A as AnimationSystem, c as AudioSystem, C as CameraSyncSystem, E as EnvironmentSyncSystem, I as InstancedMeshSystem, L as LightSyncSystem, M as MaterialSyncSystem, d as MeshGeometrySystem, e as ModuleLoader, O as ObjectVisibilitySystem, P as PhysicsSyncSystem, f as PostprocessingSyncSystem, S as SCRIPT_OBJECT_ROOT_FLAG, g as ScriptBehaviourSystem, h as ScriptObjectSystem, i as SelectionContext, V as VRTeleportAreaSystem, j as VideoSystem, k as XRControllerVisualSystem, l as XRHandPoseSystem, m as XRHoverVisualSystem, n as XRInputSystem, o as XRInteractionSystem, p as XRLocomotionSystem, q as XRSessionSystem, r as XRTeleportVisualSystem, s as XR_HOVER_SHELL_FLAG, b as XrHandPoseEventDetail } from '../index-C2I5PxCI.cjs';
1
+ export { v as ComponentFactory, B as EcsComponentFactoryKind, I as InputSystem, K as KeyboardKey, L as KeyboardKeys, M as MouseButton, O as ObjectManagementSystem, X as RenderSystem, a0 as TransformSyncSystem } from '../System-QjjSc6LZ.cjs';
2
+ export { A as AnimationSystem, c as AudioSystem, C as CameraSyncSystem, E as EnvironmentSyncSystem, I as InstancedMeshSystem, L as LightSyncSystem, M as MaterialSyncSystem, d as MeshGeometrySystem, e as ModuleLoader, O as ObjectVisibilitySystem, P as PhysicsSyncSystem, f as PostprocessingSyncSystem, S as SCRIPT_OBJECT_ROOT_FLAG, g as ScriptBehaviourSystem, h as ScriptObjectSystem, i as SelectionContext, V as VRTeleportAreaSystem, j as VideoSystem, k as XRAnchorSystem, l as XRControllerVisualSystem, m as XREnvironmentSystem, n as XRHandPoseSystem, o as XRHitTestSystem, p as XRHoverVisualSystem, q as XRInputSystem, r as XRInteractionSystem, s as XRLocomotionSystem, t as XRSessionSystem, u as XRTeleportVisualSystem, v as XR_HOVER_SHELL_FLAG, b as XrHandPoseEventDetail, x as XrHitResult } from '../index-SC9Mgjht.cjs';
3
3
  import 'three';
4
4
  import '@dimforge/rapier3d-compat';
5
5
  import '../handPose-DlcTtqgx.cjs';
@@ -1,5 +1,5 @@
1
- export { v as ComponentFactory, B as EcsComponentFactoryKind, I as InputSystem, K as KeyboardKey, L as KeyboardKeys, M as MouseButton, O as ObjectManagementSystem, X as RenderSystem, a0 as TransformSyncSystem } from '../System-BhnLw0fZ.js';
2
- export { A as AnimationSystem, c as AudioSystem, C as CameraSyncSystem, E as EnvironmentSyncSystem, I as InstancedMeshSystem, L as LightSyncSystem, M as MaterialSyncSystem, d as MeshGeometrySystem, e as ModuleLoader, O as ObjectVisibilitySystem, P as PhysicsSyncSystem, f as PostprocessingSyncSystem, S as SCRIPT_OBJECT_ROOT_FLAG, g as ScriptBehaviourSystem, h as ScriptObjectSystem, i as SelectionContext, V as VRTeleportAreaSystem, j as VideoSystem, k as XRControllerVisualSystem, l as XRHandPoseSystem, m as XRHoverVisualSystem, n as XRInputSystem, o as XRInteractionSystem, p as XRLocomotionSystem, q as XRSessionSystem, r as XRTeleportVisualSystem, s as XR_HOVER_SHELL_FLAG, b as XrHandPoseEventDetail } from '../index-6l4hn2Sh.js';
1
+ export { v as ComponentFactory, B as EcsComponentFactoryKind, I as InputSystem, K as KeyboardKey, L as KeyboardKeys, M as MouseButton, O as ObjectManagementSystem, X as RenderSystem, a0 as TransformSyncSystem } from '../System-QjjSc6LZ.js';
2
+ export { A as AnimationSystem, c as AudioSystem, C as CameraSyncSystem, E as EnvironmentSyncSystem, I as InstancedMeshSystem, L as LightSyncSystem, M as MaterialSyncSystem, d as MeshGeometrySystem, e as ModuleLoader, O as ObjectVisibilitySystem, P as PhysicsSyncSystem, f as PostprocessingSyncSystem, S as SCRIPT_OBJECT_ROOT_FLAG, g as ScriptBehaviourSystem, h as ScriptObjectSystem, i as SelectionContext, V as VRTeleportAreaSystem, j as VideoSystem, k as XRAnchorSystem, l as XRControllerVisualSystem, m as XREnvironmentSystem, n as XRHandPoseSystem, o as XRHitTestSystem, p as XRHoverVisualSystem, q as XRInputSystem, r as XRInteractionSystem, s as XRLocomotionSystem, t as XRSessionSystem, u as XRTeleportVisualSystem, v as XR_HOVER_SHELL_FLAG, b as XrHandPoseEventDetail, x as XrHitResult } from '../index-BAeeVJ6f.js';
3
3
  import 'three';
4
4
  import '@dimforge/rapier3d-compat';
5
5
  import '../handPose-DlcTtqgx.js';
@@ -1,6 +1,6 @@
1
- export { AnimationSystem, AudioSystem, CameraSyncSystem, EnvironmentSyncSystem, InputSystem, InstancedMeshSystem, KeyboardKeys, LightSyncSystem, MaterialSyncSystem, MeshGeometrySystem, ObjectVisibilitySystem, PhysicsSyncSystem, PostprocessingSyncSystem, RenderSystem, SCRIPT_OBJECT_ROOT_FLAG, ScriptBehaviourSystem, ScriptObjectSystem, TransformSyncSystem, VRTeleportAreaSystem, VideoSystem, XRControllerVisualSystem, XRHandPoseSystem, XRHoverVisualSystem, XRInputSystem, XRInteractionSystem, XRLocomotionSystem, XRSessionSystem, XRTeleportVisualSystem, XR_HOVER_SHELL_FLAG } from '../chunk-CDSE7476.js';
2
- export { ObjectManagementSystem } from '../chunk-D6KXWNYT.js';
3
- import '../chunk-H6DQ7JRE.js';
1
+ export { AnimationSystem, AudioSystem, CameraSyncSystem, EnvironmentSyncSystem, InputSystem, InstancedMeshSystem, KeyboardKeys, LightSyncSystem, MaterialSyncSystem, MeshGeometrySystem, ObjectVisibilitySystem, PhysicsSyncSystem, PostprocessingSyncSystem, RenderSystem, SCRIPT_OBJECT_ROOT_FLAG, ScriptBehaviourSystem, ScriptObjectSystem, TransformSyncSystem, VRTeleportAreaSystem, VideoSystem, XRAnchorSystem, XRControllerVisualSystem, XREnvironmentSystem, XRHandPoseSystem, XRHitTestSystem, XRHoverVisualSystem, XRInputSystem, XRInteractionSystem, XRLocomotionSystem, XRSessionSystem, XRTeleportVisualSystem, XR_HOVER_SHELL_FLAG } from '../chunk-24ZMSBR7.js';
2
+ export { ObjectManagementSystem } from '../chunk-2GTFFLGG.js';
3
+ import '../chunk-ZWONFM2F.js';
4
4
  import '../chunk-OY7ZODZP.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
package/dist/types.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'three';
2
- export { A as AssetInput, t as CheckboxInput, u as ColorInput, w as ComponentInput, x as ComponentKind, y as DropdownInput, z as DropdownOption, F as EcsEntityEditorKind, p as EcsEntityKind, r as EntityId, G as EntityInput, H as FloatInput, J as IntersectionResult, o as ParentLookup, Y as SelectionListener, Z as SliderInput, _ as TextInput, $ as ToggleInput, a1 as Vec3, a2 as Vector2Input, a3 as Vector3Input, W as WorldEntityView } from './System-BhnLw0fZ.cjs';
2
+ export { A as AssetInput, t as CheckboxInput, u as ColorInput, w as ComponentInput, x as ComponentKind, y as DropdownInput, z as DropdownOption, F as EcsEntityEditorKind, p as EcsEntityKind, r as EntityId, G as EntityInput, H as FloatInput, J as IntersectionResult, o as ParentLookup, Y as SelectionListener, Z as SliderInput, _ as TextInput, $ as ToggleInput, a1 as Vec3, a2 as Vector2Input, a3 as Vector3Input, W as WorldEntityView } from './System-QjjSc6LZ.cjs';
3
3
  import '@dimforge/rapier3d-compat';
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import 'three';
2
- export { A as AssetInput, t as CheckboxInput, u as ColorInput, w as ComponentInput, x as ComponentKind, y as DropdownInput, z as DropdownOption, F as EcsEntityEditorKind, p as EcsEntityKind, r as EntityId, G as EntityInput, H as FloatInput, J as IntersectionResult, o as ParentLookup, Y as SelectionListener, Z as SliderInput, _ as TextInput, $ as ToggleInput, a1 as Vec3, a2 as Vector2Input, a3 as Vector3Input, W as WorldEntityView } from './System-BhnLw0fZ.js';
2
+ export { A as AssetInput, t as CheckboxInput, u as ColorInput, w as ComponentInput, x as ComponentKind, y as DropdownInput, z as DropdownOption, F as EcsEntityEditorKind, p as EcsEntityKind, r as EntityId, G as EntityInput, H as FloatInput, J as IntersectionResult, o as ParentLookup, Y as SelectionListener, Z as SliderInput, _ as TextInput, $ as ToggleInput, a1 as Vec3, a2 as Vector2Input, a3 as Vector3Input, W as WorldEntityView } from './System-QjjSc6LZ.js';
3
3
  import '@dimforge/rapier3d-compat';
@@ -1,3 +1,3 @@
1
- export { ac as AnyComponent, n as ComponentClass, ad as DEBUG_CHANGE_IGNORED_SYSTEMS, ae as WorldHistorySnapshot, af as cloneHistoryValue, ag as normalizeDebugValue } from './System-BhnLw0fZ.cjs';
1
+ export { ac as AnyComponent, n as ComponentClass, ad as DEBUG_CHANGE_IGNORED_SYSTEMS, ae as WorldHistorySnapshot, af as cloneHistoryValue, ag as normalizeDebugValue } from './System-QjjSc6LZ.cjs';
2
2
  import 'three';
3
3
  import '@dimforge/rapier3d-compat';
@@ -1,3 +1,3 @@
1
- export { ac as AnyComponent, n as ComponentClass, ad as DEBUG_CHANGE_IGNORED_SYSTEMS, ae as WorldHistorySnapshot, af as cloneHistoryValue, ag as normalizeDebugValue } from './System-BhnLw0fZ.js';
1
+ export { ac as AnyComponent, n as ComponentClass, ad as DEBUG_CHANGE_IGNORED_SYSTEMS, ae as WorldHistorySnapshot, af as cloneHistoryValue, ag as normalizeDebugValue } from './System-QjjSc6LZ.js';
2
2
  import 'three';
3
3
  import '@dimforge/rapier3d-compat';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relu-interactives/spatial-ecs",
3
- "version": "0.3.20",
3
+ "version": "0.4.0",
4
4
  "description": "Reusable ECS core engine for Relu Spatial editor and runtime experiences.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -60,7 +60,9 @@
60
60
  "docs:preview": "vitepress preview docs",
61
61
  "release:patch": "npm version patch",
62
62
  "release:minor": "npm version minor",
63
- "release:major": "npm version major"
63
+ "release:major": "npm version major",
64
+ "docs:check": "node scripts/check-doc-examples.mjs --verbose",
65
+ "docs:fix-imports": "node scripts/fix-doc-imports.mjs"
64
66
  },
65
67
  "peerDependencies": {
66
68
  "three": ">=0.184.0 <0.185.0"