@tomorrowevening/hermes 0.1.39 → 0.1.40

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 (66) hide show
  1. package/dist/{ThreeEditor-CTkjs-SY.js → ThreeEditor-CB5dBR7Q.js} +1 -1
  2. package/dist/core/Application.js +77 -0
  3. package/dist/core/remote/BaseRemote.js +33 -0
  4. package/dist/core/remote/RemoteTheatre.js +253 -0
  5. package/dist/core/remote/RemoteThree.js +442 -0
  6. package/dist/core/types.js +7 -0
  7. package/dist/editor/Editor.js +12 -0
  8. package/dist/editor/HermesApp.js +24 -0
  9. package/dist/editor/ThreeEditor.js +22 -0
  10. package/dist/editor/components/Draggable.js +40 -0
  11. package/dist/editor/components/DraggableItem.js +25 -0
  12. package/dist/editor/components/Dropdown.js +32 -0
  13. package/dist/editor/components/DropdownItem.js +50 -0
  14. package/dist/editor/components/NavButton.js +7 -0
  15. package/dist/editor/components/content.js +4 -0
  16. package/dist/editor/components/icons/CloseIcon.js +9 -0
  17. package/dist/editor/components/icons/DragIcon.js +12 -0
  18. package/dist/editor/multiView/CameraWindow.js +64 -0
  19. package/dist/editor/multiView/DepthNodeMaterial.js +12 -0
  20. package/dist/editor/multiView/InfiniteGridHelper.js +31 -0
  21. package/dist/editor/multiView/InfiniteGridHelperGPU.js +31 -0
  22. package/dist/editor/multiView/InfiniteGridMaterial.js +137 -0
  23. package/dist/editor/multiView/InfiniteGridNodeMaterial.js +63 -0
  24. package/dist/editor/multiView/MultiView.js +890 -0
  25. package/dist/editor/multiView/Toggle.js +25 -0
  26. package/dist/editor/multiView/UVMaterial.js +60 -0
  27. package/dist/editor/multiView/UVNodeMaterial.js +10 -0
  28. package/dist/editor/sidePanel/Accordion.js +56 -0
  29. package/dist/editor/sidePanel/ChildObject.js +78 -0
  30. package/dist/editor/sidePanel/ContainerObject.js +11 -0
  31. package/dist/editor/sidePanel/DebugData.js +133 -0
  32. package/dist/editor/sidePanel/SidePanel.js +91 -0
  33. package/dist/editor/sidePanel/inspector/InspectGrid3.js +82 -0
  34. package/dist/editor/sidePanel/inspector/InspectGrid4.js +58 -0
  35. package/dist/editor/sidePanel/inspector/InspectImage.js +100 -0
  36. package/dist/editor/sidePanel/inspector/InspectNumber.js +76 -0
  37. package/dist/editor/sidePanel/inspector/InspectVector2.js +154 -0
  38. package/dist/editor/sidePanel/inspector/Inspector.js +95 -0
  39. package/dist/editor/sidePanel/inspector/InspectorField.js +128 -0
  40. package/dist/editor/sidePanel/inspector/InspectorGroup.js +110 -0
  41. package/dist/editor/sidePanel/inspector/utils/DragNumber.js +27 -0
  42. package/dist/editor/sidePanel/inspector/utils/InspectAnimation.js +99 -0
  43. package/dist/editor/sidePanel/inspector/utils/InspectCamera.js +91 -0
  44. package/dist/editor/sidePanel/inspector/utils/InspectLight.js +85 -0
  45. package/dist/editor/sidePanel/inspector/utils/InspectMaterial.js +861 -0
  46. package/dist/editor/sidePanel/inspector/utils/InspectTransform.js +93 -0
  47. package/dist/editor/sidePanel/utils.js +259 -0
  48. package/dist/editor/tools/Transform.js +77 -0
  49. package/dist/editor/tools/splineEditor/Spline.js +348 -0
  50. package/dist/editor/tools/splineEditor/index.js +193 -0
  51. package/dist/editor/utils.js +27 -0
  52. package/dist/hermes.cjs.js +8 -30
  53. package/dist/{index-BpKOzCuX.js → index-DepTXu6T.js} +454 -454
  54. package/dist/index.html +1 -1
  55. package/dist/index.js +125 -0
  56. package/dist/utils/ImageSequenceCapturer.js +148 -0
  57. package/dist/utils/detectSettings.js +46 -0
  58. package/dist/utils/math.js +68 -0
  59. package/dist/utils/post.js +206 -0
  60. package/dist/utils/theatre.js +316 -0
  61. package/dist/utils/three.js +199 -0
  62. package/dist/webworkers/EventHandling.js +115 -0
  63. package/dist/webworkers/ProxyManager.js +76 -0
  64. package/package.json +13 -7
  65. package/dist/.vite/manifest.json +0 -12
  66. package/dist/hermes.es.js +0 -8077
package/package.json CHANGED
@@ -4,10 +4,11 @@
4
4
  "description": "An extendable set of Web Tools controlled via a separate window for non-intereference with content.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "main": "./dist/hermes.cjs.js",
7
- "module": "./dist/hermes.esm.js",
7
+ "module": "./dist/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "type": "module",
10
- "version": "0.1.39",
10
+ "sideEffects": ["**/*.css"],
11
+ "version": "0.1.40",
11
12
  "homepage": "https://github.com/tomorrowevening/hermes#readme",
12
13
  "bugs": {
13
14
  "url": "https://github.com/tomorrowevening/hermes/issues"
@@ -19,13 +20,16 @@
19
20
  "ThreeJS"
20
21
  ],
21
22
  "files": [
22
- "dist/*",
23
- "types/**/*.d.ts"
23
+ "dist",
24
+ "types/**/*.d.ts",
25
+ "!public/images",
26
+ "!public/json",
27
+ "!public/models"
24
28
  ],
25
29
  "exports": {
26
30
  ".": {
27
31
  "types": "./types/index.d.ts",
28
- "import": "./dist/hermes.es.js",
32
+ "import": "./dist/index.js",
29
33
  "require": "./dist/hermes.cjs.js"
30
34
  },
31
35
  "./hermes.css": "./dist/hermes.css"
@@ -50,6 +54,10 @@
50
54
  "react-dom": ">=18",
51
55
  "three": ">=0.150"
52
56
  },
57
+ "dependencies": {
58
+ "camera-controls": "^2.9.0",
59
+ "detect-gpu": "^5.0.70"
60
+ },
53
61
  "devDependencies": {
54
62
  "@tomorrowevening/theatre-core": "^1.0.19",
55
63
  "@tomorrowevening/theatre-studio": "^1.0.19",
@@ -59,8 +67,6 @@
59
67
  "@typescript-eslint/eslint-plugin": "^6.4.0",
60
68
  "@typescript-eslint/parser": "^6.4.0",
61
69
  "@vitejs/plugin-react": "^4.0.3",
62
- "camera-controls": "^2.9.0",
63
- "detect-gpu": "^5.0.70",
64
70
  "eslint": "^8.45.0",
65
71
  "eslint-plugin-react": "^7.33.2",
66
72
  "eslint-plugin-react-hooks": "^4.6.0",
@@ -1,12 +0,0 @@
1
- {
2
- "src/index.ts": {
3
- "file": "hermes.es.js",
4
- "name": "index",
5
- "src": "src/index.ts",
6
- "isEntry": true
7
- },
8
- "style.css": {
9
- "file": "hermes.css",
10
- "src": "style.css"
11
- }
12
- }