@react-three/fiber 10.0.0-canary.bc9af3b → 10.0.0-canary.bf4b0be

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 (40) 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 +12 -0
  6. package/dist/extension.d.cts +56 -0
  7. package/dist/extension.d.mts +56 -0
  8. package/dist/extension.d.ts +56 -0
  9. package/dist/extension.mjs +1 -0
  10. package/dist/index.cjs +97 -15177
  11. package/dist/index.d.cts +123 -3717
  12. package/dist/index.d.mts +123 -3717
  13. package/dist/index.d.ts +123 -3717
  14. package/dist/index.mjs +10 -15078
  15. package/dist/legacy.cjs +97 -15136
  16. package/dist/legacy.d.cts +114 -3723
  17. package/dist/legacy.d.mts +114 -3723
  18. package/dist/legacy.d.ts +114 -3723
  19. package/dist/legacy.mjs +14 -15040
  20. package/dist/shared/fiber.B6zNSmwj.cjs +359 -0
  21. package/dist/shared/fiber.BGL2rpse.cjs +15129 -0
  22. package/dist/shared/fiber.Bw8YnGg5.d.cts +701 -0
  23. package/dist/shared/fiber.Bw8YnGg5.d.mts +701 -0
  24. package/dist/shared/fiber.Bw8YnGg5.d.ts +701 -0
  25. package/dist/shared/fiber.C_v1rkNg.mjs +329 -0
  26. package/dist/shared/fiber.Ch4JrXS2.mjs +15031 -0
  27. package/dist/shared/fiber.DAg-9ieU.d.ts +2852 -0
  28. package/dist/shared/fiber.Ddgoyqql.d.mts +2852 -0
  29. package/dist/shared/fiber.DiPB625B.d.cts +2852 -0
  30. package/dist/webgpu/index.cjs +100 -15992
  31. package/dist/webgpu/index.d.cts +128 -4081
  32. package/dist/webgpu/index.d.mts +128 -4081
  33. package/dist/webgpu/index.d.ts +128 -4081
  34. package/dist/webgpu/index.mjs +17 -15878
  35. package/package.json +9 -6
  36. package/readme.md +1 -1
  37. package/react-reconciler/constants.d.ts +0 -7
  38. package/react-reconciler/constants.js +0 -1
  39. package/react-reconciler/index.d.ts +0 -1044
  40. package/react-reconciler/index.js +0 -208
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "10.0.0-canary.bc9af3b",
3
+ "version": "10.0.0-canary.bf4b0be",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",
@@ -35,7 +35,6 @@
35
35
  "sideEffects": false,
36
36
  "files": [
37
37
  "dist",
38
- "react-reconciler",
39
38
  "readme.md"
40
39
  ],
41
40
  "exports": {
@@ -53,12 +52,17 @@
53
52
  "types": "./dist/webgpu/index.d.ts",
54
53
  "import": "./dist/webgpu/index.mjs",
55
54
  "require": "./dist/webgpu/index.cjs"
56
- }
55
+ },
56
+ "./extension": {
57
+ "types": "./dist/extension.d.ts",
58
+ "import": "./dist/extension.mjs",
59
+ "require": "./dist/extension.cjs"
60
+ },
61
+ "./package.json": "./package.json"
57
62
  },
58
63
  "dependencies": {
59
64
  "@babel/runtime": "^7.28.6",
60
- "@monogrid/gainmap-js": "^3.4.0",
61
- "@pmndrs/scheduler": "^0.1.0",
65
+ "@pmndrs/scheduler": "^0.2.0",
62
66
  "dequal": "^2.0.3",
63
67
  "its-fine": "^2.0.0",
64
68
  "react-use-measure": "^2.1.7",
@@ -86,7 +90,6 @@
86
90
  "scripts": {
87
91
  "prebuild": "node -e \"require('fs').copyFileSync('../../readme.md', 'readme.md')\"",
88
92
  "build": "unbuild",
89
- "postbuild": "node ../../scripts/fix-three-types.js",
90
93
  "stub": "unbuild --stub"
91
94
  }
92
95
  }
package/readme.md CHANGED
@@ -143,7 +143,7 @@ Live demo: https://codesandbox.io/s/icy-tree-brnsm?file=/src/App.tsx
143
143
  <details>
144
144
  <summary>Show React Native example</summary>
145
145
 
146
- This example relies on react 18 and uses `expo-cli`, but you can create a bare project with their template or with the `react-native` CLI.
146
+ This example uses `expo-cli`, but you can create a bare project with their template or with the `react-native` CLI.
147
147
 
148
148
  ```bash
149
149
  # Install expo-cli, this will create our app
@@ -1,7 +0,0 @@
1
- export const DiscreteEventPriority = 0b0000000000000000000000000000001;
2
- export const ContinuousEventPriority = 0b0000000000000000000000000000100;
3
- export const DefaultEventPriority = 0b0000000000000000000000000010000;
4
- export const IdleEventPriority = 0b0100000000000000000000000000000;
5
- export const LegacyRoot = 0;
6
- export const ConcurrentRoot = 1;
7
- export const NoEventPriority = 0;
@@ -1 +0,0 @@
1
- const t=1,o=8,r=32,e=2,i=268435456,n=0,s=0;export{t as ConcurrentRoot,o as ContinuousEventPriority,r as DefaultEventPriority,e as DiscreteEventPriority,i as IdleEventPriority,n as LegacyRoot,s as NoEventPriority};