@needle-tools/engine 3.5.8-alpha → 3.5.9-alpha

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 (47) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/needle-engine.js +2660 -2648
  3. package/dist/needle-engine.light.js +2579 -2567
  4. package/dist/needle-engine.light.min.js +106 -106
  5. package/dist/needle-engine.light.umd.cjs +100 -100
  6. package/dist/needle-engine.min.js +107 -107
  7. package/dist/needle-engine.umd.cjs +101 -101
  8. package/lib/engine/engine_element_loading.js +1 -1
  9. package/lib/engine/engine_element_loading.js.map +1 -1
  10. package/lib/engine-components/export/usdz/ThreeUSDZExporter.d.ts +1 -0
  11. package/lib/engine-components/export/usdz/ThreeUSDZExporter.js +10 -6
  12. package/lib/engine-components/export/usdz/ThreeUSDZExporter.js.map +1 -1
  13. package/lib/engine-components/export/usdz/extensions/behavior/BehavioursBuilder.d.ts +2 -0
  14. package/lib/engine-components/export/usdz/extensions/behavior/BehavioursBuilder.js +9 -0
  15. package/lib/engine-components/export/usdz/extensions/behavior/BehavioursBuilder.js.map +1 -1
  16. package/lib/engine-components/export/usdz/index.d.ts +2 -0
  17. package/lib/engine-components/export/usdz/index.js +1 -0
  18. package/lib/engine-components/export/usdz/index.js.map +1 -1
  19. package/lib/engine-components/utils/LookAt.js +3 -2
  20. package/lib/engine-components/utils/LookAt.js.map +1 -1
  21. package/package.json +2 -2
  22. package/plugins/common/config.cjs +15 -0
  23. package/plugins/common/license.cjs +31 -0
  24. package/plugins/next/index.js +1 -0
  25. package/plugins/next/license.cjs +5 -0
  26. package/plugins/next/next.js +64 -0
  27. package/plugins/types/index.d.ts +2 -0
  28. package/plugins/types/needleConfig.d.ts +12 -0
  29. package/plugins/types/next.d.ts +0 -0
  30. package/plugins/types/userconfig.d.ts +27 -0
  31. package/plugins/vite/alias.js +3 -0
  32. package/plugins/vite/config.js +4 -2
  33. package/plugins/vite/copyfiles.js +3 -1
  34. package/plugins/vite/defines.js +3 -0
  35. package/plugins/vite/dependency-watcher.js +3 -0
  36. package/plugins/vite/editor-connection.js +3 -0
  37. package/plugins/vite/index.js +4 -0
  38. package/plugins/vite/meta.js +3 -0
  39. package/plugins/vite/peer.js +3 -0
  40. package/plugins/vite/reload.js +3 -0
  41. package/plugins/vite/transform-codegen.js +1 -0
  42. package/src/engine/engine_element_loading.ts +1 -1
  43. package/src/engine-components/export/usdz/ThreeUSDZExporter.ts +12 -6
  44. package/src/engine-components/export/usdz/extensions/behavior/BehavioursBuilder.ts +10 -0
  45. package/src/engine-components/export/usdz/index.ts +3 -1
  46. package/src/engine-components/utils/LookAt.ts +3 -2
  47. package/lib/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [3.5.9-alpha] - 2023-05-18
8
+ - Add: add nextjs plugin to handle transpiling and defines
9
+ - Change: expose USD types to make custom behaviours, add proximityToCameraTrigger
10
+ - Fix: loading element position to absolute to avoid jumps when added to e.g. nextjs template
11
+ - Fix: texcoords werren't quicklook compatible in ThreeUSDZExporter
12
+ - Fix: `LookAt` component with invertForward option was flipped vertically in QuickLook
13
+
7
14
  ## [3.5.8-alpha] - 2023-05-16
8
15
  - Add NeedleConfig `baseUrl` for codegen
9
16
  - Change: AudioSource should pause in background on mobile