@react-three/fiber 10.0.0-canary.dc0ec15 → 10.0.0-canary.dd5379c

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 (39) hide show
  1. package/dist/chunks/webgl.cjs +27 -0
  2. package/dist/chunks/webgl.mjs +11 -0
  3. package/dist/chunks/webgpu.cjs +37 -0
  4. package/dist/chunks/webgpu.mjs +21 -0
  5. package/dist/extension.cjs +8 -273
  6. package/dist/extension.d.cts +14 -1670
  7. package/dist/extension.d.mts +14 -1670
  8. package/dist/extension.d.ts +14 -1642
  9. package/dist/extension.mjs +1 -258
  10. package/dist/index.cjs +97 -15412
  11. package/dist/index.d.cts +123 -3911
  12. package/dist/index.d.mts +123 -3911
  13. package/dist/index.d.ts +122 -3882
  14. package/dist/index.mjs +10 -15311
  15. package/dist/legacy.cjs +97 -15370
  16. package/dist/legacy.d.cts +110 -3880
  17. package/dist/legacy.d.mts +110 -3880
  18. package/dist/legacy.d.ts +110 -3854
  19. package/dist/legacy.mjs +12 -15270
  20. package/dist/shared/fiber.B0oukOFO.mjs +364 -0
  21. package/dist/shared/fiber.BDWBTuAk.d.mts +2797 -0
  22. package/dist/shared/fiber.BU0vBHc9.d.mts +48 -0
  23. package/dist/shared/fiber.Cx-UAmMb.d.ts +48 -0
  24. package/dist/shared/fiber.DAl4H27x.d.cts +48 -0
  25. package/dist/shared/fiber.DNgUv56V.d.ts +2797 -0
  26. package/dist/shared/fiber.DlTSmVjz.d.cts +2797 -0
  27. package/dist/shared/fiber.I5Q4dVvl.d.cts +778 -0
  28. package/dist/shared/fiber.I5Q4dVvl.d.mts +778 -0
  29. package/dist/shared/fiber.I5Q4dVvl.d.ts +778 -0
  30. package/dist/shared/fiber.khFlPHPf.cjs +397 -0
  31. package/dist/shared/fiber.oKEFddXj.cjs +16059 -0
  32. package/dist/shared/fiber.tsM9NKZ9.mjs +15961 -0
  33. package/dist/webgpu/index.cjs +101 -16329
  34. package/dist/webgpu/index.d.cts +112 -4228
  35. package/dist/webgpu/index.d.mts +112 -4228
  36. package/dist/webgpu/index.d.ts +112 -4200
  37. package/dist/webgpu/index.mjs +16 -16211
  38. package/package.json +6 -8
  39. package/readme.md +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "10.0.0-canary.dc0ec15",
3
+ "version": "10.0.0-canary.dd5379c",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",
@@ -62,25 +62,24 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@babel/runtime": "^7.28.6",
65
- "@monogrid/gainmap-js": "^3.4.0",
66
65
  "@pmndrs/scheduler": "^0.2.0",
67
66
  "dequal": "^2.0.3",
68
67
  "its-fine": "^2.0.0",
69
68
  "react-use-measure": "^2.1.7",
70
- "scheduler": "^0.27.0",
69
+ "scheduler": "^0.28.0",
71
70
  "suspend-react": "^0.1.3",
72
71
  "use-sync-external-store": "^1.6.0",
73
72
  "zustand": "^5.0.10"
74
73
  },
75
74
  "devDependencies": {
76
- "@types/react-reconciler": "^0.32.3",
75
+ "@types/react-reconciler": "^0.33.0",
77
76
  "@types/three": "^0.185.0",
78
77
  "@types/webxr": "*",
79
- "react-reconciler": "^0.33.0"
78
+ "react-reconciler": "^0.34.0"
80
79
  },
81
80
  "peerDependencies": {
82
- "react": ">=19.0 <19.3",
83
- "react-dom": ">=19.0 <19.3",
81
+ "react": ">=19.0 <19.4",
82
+ "react-dom": ">=19.0 <19.4",
84
83
  "three": ">=0.185.0"
85
84
  },
86
85
  "peerDependenciesMeta": {
@@ -91,7 +90,6 @@
91
90
  "scripts": {
92
91
  "prebuild": "node -e \"require('fs').copyFileSync('../../readme.md', 'readme.md')\"",
93
92
  "build": "unbuild",
94
- "postbuild": "node ../../scripts/fix-three-types.js",
95
93
  "stub": "unbuild --stub"
96
94
  }
97
95
  }
package/readme.md CHANGED
@@ -215,7 +215,7 @@ Visit [docs.pmnd.rs](https://docs.pmnd.rs/react-three-fiber) | [Awesome React Th
215
215
 
216
216
  You need to be versed in both React and Threejs before rushing into this. If you are unsure about React consult the official [React docs](https://react.dev/learn), especially [the section about hooks](https://react.dev/reference/react). As for Threejs, make sure you at least glance over the following links:
217
217
 
218
- 1. Make sure you have a [basic grasp of Threejs](https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene). Keep that site open.
218
+ 1. Make sure you have a [basic grasp of Threejs](https://threejs.org/manual/#en/creating-a-scene). Keep that site open.
219
219
  2. When you know what a scene is, a camera, mesh, geometry, material, fork the [demo above](https://github.com/pmndrs/react-three-fiber#what-does-it-look-like).
220
220
  3. [Look up](https://threejs.org/docs/index.html#api/en/objects/Mesh) the JSX elements that you see (mesh, ambientLight, etc), _all_ threejs exports are native to three-fiber.
221
221
  4. Try changing some values, scroll through our [API](https://docs.pmnd.rs/react-three-fiber) to see what the various settings and hooks do.