@react-three/test-renderer 10.0.0-alpha.2 → 10.0.0-alpha.4
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.
- package/LICENSE +21 -0
- package/README.md +228 -228
- package/dist/{react-three-test-renderer.cjs.prod.js → index.cjs} +567 -225
- package/dist/index.d.cts +117 -0
- package/dist/index.d.mts +115 -0
- package/dist/index.d.ts +117 -0
- package/dist/{react-three-test-renderer.esm.js → index.mjs} +555 -204
- package/dist/legacy.cjs +1252 -0
- package/dist/legacy.d.cts +117 -0
- package/dist/legacy.d.mts +115 -0
- package/dist/legacy.d.ts +117 -0
- package/dist/{react-three-test-renderer.cjs.dev.js → legacy.mjs} +557 -237
- package/dist/webgpu/index.cjs +1603 -0
- package/dist/webgpu/index.d.cts +128 -0
- package/dist/webgpu/index.d.mts +126 -0
- package/dist/webgpu/index.d.ts +128 -0
- package/dist/webgpu/index.mjs +1570 -0
- package/package.json +60 -57
- package/CHANGELOG.md +0 -525
- package/dist/declarations/src/createTestInstance.d.ts +0 -22
- package/dist/declarations/src/helpers/waitFor.d.ts +0 -5
- package/dist/declarations/src/index.d.ts +0 -14
- package/dist/declarations/src/types/index.d.ts +0 -1
- package/dist/declarations/src/types/internal.d.ts +0 -20
- package/dist/declarations/src/types/public.d.ts +0 -38
- package/dist/react-three-test-renderer.cjs.d.ts +0 -3
- package/dist/react-three-test-renderer.cjs.js +0 -7
package/package.json
CHANGED
|
@@ -1,57 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@react-three/test-renderer",
|
|
3
|
-
"version": "10.0.0-alpha.
|
|
4
|
-
"description": "Test Renderer for react-three-fiber",
|
|
5
|
-
"author": "Josh Ellis",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "dist/
|
|
8
|
-
"module": "dist/
|
|
9
|
-
"types": "dist/
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./
|
|
14
|
-
"import": "./dist/
|
|
15
|
-
"require": "./dist/
|
|
16
|
-
},
|
|
17
|
-
"./legacy": {
|
|
18
|
-
"types": "./
|
|
19
|
-
"import": "./dist/legacy.
|
|
20
|
-
"require": "./dist/legacy.cjs
|
|
21
|
-
},
|
|
22
|
-
"./webgpu": {
|
|
23
|
-
"types": "./
|
|
24
|
-
"import": "./dist/webgpu.
|
|
25
|
-
"require": "./dist/webgpu.cjs
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"three":
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@react-three/test-renderer",
|
|
3
|
+
"version": "10.0.0-alpha.4",
|
|
4
|
+
"description": "Test Renderer for react-three-fiber",
|
|
5
|
+
"author": "Josh Ellis",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
|
+
"require": "./dist/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./legacy": {
|
|
18
|
+
"types": "./dist/legacy.d.ts",
|
|
19
|
+
"import": "./dist/legacy.mjs",
|
|
20
|
+
"require": "./dist/legacy.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./webgpu": {
|
|
23
|
+
"types": "./dist/webgpu/index.d.ts",
|
|
24
|
+
"import": "./dist/webgpu/index.mjs",
|
|
25
|
+
"require": "./dist/webgpu/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/pmndrs/react-three-fiber/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/pmndrs/react-three-fiber/packages/react-three-test-renderer",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/pmndrs/react-three-fiber.git"
|
|
36
|
+
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"@react-three/fiber": ">=10.0.0-alpha.0",
|
|
39
|
+
"react": ">=19.0 <19.3",
|
|
40
|
+
"three": ">=0.185.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependenciesMeta": {
|
|
43
|
+
"three": {
|
|
44
|
+
"optional": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@webgpu/types": "^0.1.64",
|
|
49
|
+
"three": ">=0.185.0",
|
|
50
|
+
"@react-three/fiber": "10.0.0-alpha.4"
|
|
51
|
+
},
|
|
52
|
+
"files": [
|
|
53
|
+
"dist",
|
|
54
|
+
"README.md"
|
|
55
|
+
],
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "unbuild",
|
|
58
|
+
"stub": "unbuild --stub"
|
|
59
|
+
}
|
|
60
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
# @react-three/test-renderer
|
|
2
|
-
|
|
3
|
-
## 10.0.0-alpha.2
|
|
4
|
-
|
|
5
|
-
### Major Changes
|
|
6
|
-
|
|
7
|
-
- 1692803: Features Canvas Size Control - Added width and height props to Canvas for explicit resolution control - Enhanced setSize() API with square shorthand and reset capability - Ownership model: imperative setSize(w, h) takes control until setSize() resets ScopedStore for Type-Safe Uniform/Node Access - New createScopedStore<T>() wrapper for TypeScript-friendly access to uniforms/nodes - Eliminates manual casting in creator functions - New exports: ScopedStoreType<T>, CreatorState HMR Support for TSL Hooks - Automatic Hot Module Replacement for WebGPU TSL hooks - Canvas detects Vite/webpack HMR events and rebuilds nodes/uniforms - New hmr prop on Canvas, rebuildNodes(), rebuildUniforms() utils Bug Fixes - Fixed useNodes() and useUniforms() reader modes not updating when store changes - Fixed usePostProcessing callbacks not re-running after HMR - Fixed absolute Windows paths in bundled type declarations (FiberRoot now defined locally) - Fixed eslint-plugin codegen not awaiting prettier format Maintenance - Migrated to ESLint 9 flat config - Updated Vite to v7, Prettier to v3, Husky to v9, lint-staged to v16 - Converted verify-bundles.js to ES modules ---
|
|
8
|
-
|
|
9
|
-
## 10.0.0-alpha.1
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- Aggregate changes merged since the last release.
|
|
14
|
-
|
|
15
|
-
## 10.0.0-alpha.0
|
|
16
|
-
|
|
17
|
-
### Major Changes
|
|
18
|
-
|
|
19
|
-
- ## R3F v10 - WebGPU Support & React 19
|
|
20
|
-
|
|
21
|
-
### Breaking Changes
|
|
22
|
-
- **React 19 required** - Minimum React version is now 19.0
|
|
23
|
-
- **Three.js 0.181+ required** - Minimum Three.js version is now 0.181.2
|
|
24
|
-
- **New entry points** - Bundle structure reorganized with dedicated WebGPU support
|
|
25
|
-
|
|
26
|
-
### New Features
|
|
27
|
-
- **WebGPU Renderer Support** - New `@react-three/fiber/webgpu` entry point with full WebGPU and TSL (Three.js Shading Language) support
|
|
28
|
-
- **Legacy Entry Point** - `@react-three/fiber/legacy` for WebGL-only environments
|
|
29
|
-
- **Improved Frame Loop** - Enhanced `useFrame` with better priority scheduling and `runOnce` support
|
|
30
|
-
- **Build System Migration** - Moved from Preconstruct to Unbuild for better per-entry-point optimization
|
|
31
|
-
|
|
32
|
-
### Entry Points
|
|
33
|
-
|
|
34
|
-
```js
|
|
35
|
-
// Default - WebGL + WebGPU support
|
|
36
|
-
import { Canvas } from '@react-three/fiber'
|
|
37
|
-
|
|
38
|
-
// WebGPU only - smaller bundle, TSL support
|
|
39
|
-
import { Canvas } from '@react-three/fiber/webgpu'
|
|
40
|
-
|
|
41
|
-
// Legacy WebGL only - maximum compatibility
|
|
42
|
-
import { Canvas } from '@react-three/fiber/legacy'
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
See the full migration guide in the documentation.
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- Updated dependencies
|
|
50
|
-
- @react-three/fiber@10.0.0-alpha.0
|
|
51
|
-
|
|
52
|
-
## 9.1.0
|
|
53
|
-
|
|
54
|
-
### Minor Changes
|
|
55
|
-
|
|
56
|
-
- 31781e5a1fdc464cb67617cc3d7bc5d8690cd4cd: feat(RTTR): handle primitives in test-renderer and fix queries in TestInstances
|
|
57
|
-
|
|
58
|
-
## 9.0.1
|
|
59
|
-
|
|
60
|
-
### Patch Changes
|
|
61
|
-
|
|
62
|
-
- 754861f16ac7ee93844d52057d2b8515b145fdb2: Republish as latest
|
|
63
|
-
|
|
64
|
-
## 9.0.0
|
|
65
|
-
|
|
66
|
-
### Major Changes
|
|
67
|
-
|
|
68
|
-
- 226d2ec: feat: React 19 support
|
|
69
|
-
|
|
70
|
-
## 8.2.4
|
|
71
|
-
|
|
72
|
-
### Patch Changes
|
|
73
|
-
|
|
74
|
-
- dec2cb28: fix(test-renderer): include types in output
|
|
75
|
-
|
|
76
|
-
## 8.2.3
|
|
77
|
-
|
|
78
|
-
### Patch Changes
|
|
79
|
-
|
|
80
|
-
- 2007c19b: fix: republish with types
|
|
81
|
-
|
|
82
|
-
## 8.2.2
|
|
83
|
-
|
|
84
|
-
### Patch Changes
|
|
85
|
-
|
|
86
|
-
- ff1a16f1: fix: narrow React peer dep range
|
|
87
|
-
|
|
88
|
-
## 8.2.1
|
|
89
|
-
|
|
90
|
-
### Patch Changes
|
|
91
|
-
|
|
92
|
-
- 020bb194: fix(RTTR): set initial size for NaN in viewport
|
|
93
|
-
|
|
94
|
-
## 8.2.0
|
|
95
|
-
|
|
96
|
-
### Minor Changes
|
|
97
|
-
|
|
98
|
-
- a5ffb08e: feat(RTTR): waitFor util
|
|
99
|
-
|
|
100
|
-
## 8.1.5
|
|
101
|
-
|
|
102
|
-
### Patch Changes
|
|
103
|
-
|
|
104
|
-
- 673927f7: fix(RTTR): implement HTMLCanvasElement.getContext
|
|
105
|
-
|
|
106
|
-
## 8.1.4
|
|
107
|
-
|
|
108
|
-
### Patch Changes
|
|
109
|
-
|
|
110
|
-
- 53ba22d3: fix(RTTR): fallback to canvas shim
|
|
111
|
-
|
|
112
|
-
## 8.1.3
|
|
113
|
-
|
|
114
|
-
### Patch Changes
|
|
115
|
-
|
|
116
|
-
- 2b0be267: fix: support WebGL2
|
|
117
|
-
|
|
118
|
-
## 8.1.2
|
|
119
|
-
|
|
120
|
-
### Patch Changes
|
|
121
|
-
|
|
122
|
-
- d9e6316d: fix: transpile class properties
|
|
123
|
-
|
|
124
|
-
## 8.1.1
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- 9a776b71: fix(RTTR): backport traverse, update fixes
|
|
129
|
-
|
|
130
|
-
## 8.1.0
|
|
131
|
-
|
|
132
|
-
### Minor Changes
|
|
133
|
-
|
|
134
|
-
- 24c4dba4: shortcut for shadow type
|
|
135
|
-
|
|
136
|
-
## 8.0.17
|
|
137
|
-
|
|
138
|
-
### Patch Changes
|
|
139
|
-
|
|
140
|
-
- 786ccb46: fix: restore RTTR version
|
|
141
|
-
|
|
142
|
-
## 8.0.16
|
|
143
|
-
|
|
144
|
-
### Patch Changes
|
|
145
|
-
|
|
146
|
-
- 7b6df9df: fix: infinite loop updating cam viewport
|
|
147
|
-
- Updated dependencies [7b6df9df]
|
|
148
|
-
- @react-three/fiber@8.0.26
|
|
149
|
-
|
|
150
|
-
## 8.0.15
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- b7cd0f42: update viewport on camera changes
|
|
155
|
-
- Updated dependencies [b7cd0f42]
|
|
156
|
-
- @react-three/fiber@8.0.25
|
|
157
|
-
|
|
158
|
-
## 8.0.14
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- 29d03c64: revert multi attach
|
|
163
|
-
- Updated dependencies [29d03c64]
|
|
164
|
-
- @react-three/fiber@8.0.23
|
|
165
|
-
|
|
166
|
-
## 8.0.13
|
|
167
|
-
|
|
168
|
-
### Patch Changes
|
|
169
|
-
|
|
170
|
-
- 4c87bce: fix: attach, devtools, and perf fixes
|
|
171
|
-
- Updated dependencies [4c87bce]
|
|
172
|
-
- @react-three/fiber@8.0.20
|
|
173
|
-
|
|
174
|
-
## 8.0.12
|
|
175
|
-
|
|
176
|
-
### Patch Changes
|
|
177
|
-
|
|
178
|
-
- c4715d5f: allow invalidate to preempt more than 1 frame
|
|
179
|
-
- Updated dependencies [c4715d5f]
|
|
180
|
-
- @react-three/fiber@8.0.15
|
|
181
|
-
|
|
182
|
-
## 8.0.11
|
|
183
|
-
|
|
184
|
-
### Patch Changes
|
|
185
|
-
|
|
186
|
-
- 5559a119: Add support for recoverable errors
|
|
187
|
-
- Updated dependencies [5559a119]
|
|
188
|
-
- @react-three/fiber@8.0.14
|
|
189
|
-
|
|
190
|
-
## 8.0.10
|
|
191
|
-
|
|
192
|
-
### Patch Changes
|
|
193
|
-
|
|
194
|
-
- 9d77d8e2: fix: detach attribute removal
|
|
195
|
-
- Updated dependencies [9d77d8e2]
|
|
196
|
-
- @react-three/fiber@8.0.13
|
|
197
|
-
|
|
198
|
-
## 8.0.9
|
|
199
|
-
|
|
200
|
-
### Patch Changes
|
|
201
|
-
|
|
202
|
-
- 3d10413f: fix portal layers
|
|
203
|
-
- Updated dependencies [3d10413f]
|
|
204
|
-
- @react-three/fiber@8.0.12
|
|
205
|
-
|
|
206
|
-
## 8.0.8
|
|
207
|
-
|
|
208
|
-
### Patch Changes
|
|
209
|
-
|
|
210
|
-
- 5167b1e4: memoized.args can be undefined
|
|
211
|
-
- Updated dependencies [5167b1e4]
|
|
212
|
-
- @react-three/fiber@8.0.11
|
|
213
|
-
|
|
214
|
-
## 8.0.7
|
|
215
|
-
|
|
216
|
-
### Patch Changes
|
|
217
|
-
|
|
218
|
-
- eb321afd: fix: remount bug, allow portals to inject custom size
|
|
219
|
-
- Updated dependencies [eb321afd]
|
|
220
|
-
- @react-three/fiber@8.0.10
|
|
221
|
-
|
|
222
|
-
## 8.0.6
|
|
223
|
-
|
|
224
|
-
### Patch Changes
|
|
225
|
-
|
|
226
|
-
- 624df949: fix: canvas unmount race condition"
|
|
227
|
-
- Updated dependencies [624df949]
|
|
228
|
-
- @react-three/fiber@8.0.9
|
|
229
|
-
|
|
230
|
-
## 8.0.5
|
|
231
|
-
|
|
232
|
-
### Patch Changes
|
|
233
|
-
|
|
234
|
-
- d4bafb9: fix re-parenting, useframe not working properly in portals, attach crash
|
|
235
|
-
- Updated dependencies [d4bafb9]
|
|
236
|
-
- @react-three/fiber@8.0.6
|
|
237
|
-
|
|
238
|
-
## 8.0.4
|
|
239
|
-
|
|
240
|
-
### Patch Changes
|
|
241
|
-
|
|
242
|
-
- 227c328: fix pointer for root and portals
|
|
243
|
-
- Updated dependencies [227c328]
|
|
244
|
-
- @react-three/fiber@8.0.5
|
|
245
|
-
|
|
246
|
-
## 8.0.3
|
|
247
|
-
|
|
248
|
-
### Patch Changes
|
|
249
|
-
|
|
250
|
-
- 3252aed: setevents needs to spread and be mirrored in portals
|
|
251
|
-
- Updated dependencies [3252aed]
|
|
252
|
-
- @react-three/fiber@8.0.3
|
|
253
|
-
|
|
254
|
-
## 8.0.2
|
|
255
|
-
|
|
256
|
-
### Patch Changes
|
|
257
|
-
|
|
258
|
-
- 8035d1f: fix: legacy mode
|
|
259
|
-
- Updated dependencies [8035d1f]
|
|
260
|
-
- @react-three/fiber@8.0.2
|
|
261
|
-
|
|
262
|
-
## 8.0.1
|
|
263
|
-
|
|
264
|
-
### Patch Changes
|
|
265
|
-
|
|
266
|
-
- 26db195: add legacy flag to turn of three.colormanagement
|
|
267
|
-
- Updated dependencies [26db195]
|
|
268
|
-
- @react-three/fiber@8.0.1
|
|
269
|
-
|
|
270
|
-
## 8.0.0
|
|
271
|
-
|
|
272
|
-
### Major Changes
|
|
273
|
-
|
|
274
|
-
- 385ba9c: v8 major, react-18 compat
|
|
275
|
-
- 04c07b8: v8 major, react-18 compat
|
|
276
|
-
|
|
277
|
-
### Patch Changes
|
|
278
|
-
|
|
279
|
-
- 347ea79: new beta for library testing
|
|
280
|
-
- Updated dependencies [385ba9c]
|
|
281
|
-
- Updated dependencies [04c07b8]
|
|
282
|
-
- Updated dependencies [347ea79]
|
|
283
|
-
- @react-three/fiber@8.0.0
|
|
284
|
-
|
|
285
|
-
## 8.0.0-beta.0
|
|
286
|
-
|
|
287
|
-
### Major Changes
|
|
288
|
-
|
|
289
|
-
- 385ba9c: v8 major, react-18 compat
|
|
290
|
-
|
|
291
|
-
### Patch Changes
|
|
292
|
-
|
|
293
|
-
- Updated dependencies [385ba9c]
|
|
294
|
-
- @react-three/fiber@8.0.0-beta.0
|
|
295
|
-
|
|
296
|
-
## 7.0.25-beta.0
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- cf6316c: new beta for library testing
|
|
301
|
-
- Updated dependencies [cf6316c]
|
|
302
|
-
- @react-three/fiber@8.0.0-beta.0
|
|
303
|
-
|
|
304
|
-
## 7.0.24
|
|
305
|
-
|
|
306
|
-
### Patch Changes
|
|
307
|
-
|
|
308
|
-
- 8698734: Release latest patches
|
|
309
|
-
- Updated dependencies [8698734]
|
|
310
|
-
- @react-three/fiber@7.0.25
|
|
311
|
-
|
|
312
|
-
## 7.0.23
|
|
313
|
-
|
|
314
|
-
### Patch Changes
|
|
315
|
-
|
|
316
|
-
- 7f46ddf: cleanup captured pointers when released (#1914)
|
|
317
|
-
- Updated dependencies [7f46ddf]
|
|
318
|
-
- @react-three/fiber@7.0.24
|
|
319
|
-
|
|
320
|
-
## 7.0.22
|
|
321
|
-
|
|
322
|
-
### Patch Changes
|
|
323
|
-
|
|
324
|
-
- 30d38b1: remove logs
|
|
325
|
-
- Updated dependencies [30d38b1]
|
|
326
|
-
- @react-three/fiber@7.0.23
|
|
327
|
-
|
|
328
|
-
## 7.0.21
|
|
329
|
-
|
|
330
|
-
### Patch Changes
|
|
331
|
-
|
|
332
|
-
- 259e1fa: add camera:manual
|
|
333
|
-
- Updated dependencies [259e1fa]
|
|
334
|
-
- @react-three/fiber@7.0.22
|
|
335
|
-
|
|
336
|
-
## 7.0.20
|
|
337
|
-
|
|
338
|
-
### Patch Changes
|
|
339
|
-
|
|
340
|
-
- 65e4147: up usemeasure, add last event to internals"
|
|
341
|
-
- Updated dependencies [65e4147]
|
|
342
|
-
- @react-three/fiber@7.0.21
|
|
343
|
-
|
|
344
|
-
## 7.0.19
|
|
345
|
-
|
|
346
|
-
### Patch Changes
|
|
347
|
-
|
|
348
|
-
- 54cb0fd: update react-use-measure, allow it to use the offsetSize
|
|
349
|
-
- Updated dependencies [54cb0fd]
|
|
350
|
-
- @react-three/fiber@7.0.20
|
|
351
|
-
|
|
352
|
-
## 7.0.18
|
|
353
|
-
|
|
354
|
-
### Patch Changes
|
|
355
|
-
|
|
356
|
-
- 7aa2eab: fix: remove zustand subscribe selector
|
|
357
|
-
- Updated dependencies [7aa2eab]
|
|
358
|
-
- @react-three/fiber@7.0.19
|
|
359
|
-
|
|
360
|
-
## 7.0.17
|
|
361
|
-
|
|
362
|
-
### Patch Changes
|
|
363
|
-
|
|
364
|
-
- 6780f58: fix unmount pointer capture
|
|
365
|
-
- Updated dependencies [6780f58]
|
|
366
|
-
- @react-three/fiber@7.0.18
|
|
367
|
-
|
|
368
|
-
## 7.0.16
|
|
369
|
-
|
|
370
|
-
### Patch Changes
|
|
371
|
-
|
|
372
|
-
- 894c550: fix: event count
|
|
373
|
-
- Updated dependencies [894c550]
|
|
374
|
-
- @react-three/fiber@7.0.17
|
|
375
|
-
|
|
376
|
-
## 7.0.15
|
|
377
|
-
|
|
378
|
-
### Patch Changes
|
|
379
|
-
|
|
380
|
-
- c7a4220: patch: applyprops returns the same instance
|
|
381
|
-
- Updated dependencies [c7a4220]
|
|
382
|
-
- @react-three/fiber@7.0.16
|
|
383
|
-
|
|
384
|
-
## 7.0.14
|
|
385
|
-
|
|
386
|
-
### Patch Changes
|
|
387
|
-
|
|
388
|
-
- c5645e8: fix primitive leftovers on switch
|
|
389
|
-
- Updated dependencies [c5645e8]
|
|
390
|
-
- @react-three/fiber@7.0.15
|
|
391
|
-
|
|
392
|
-
## 7.0.13
|
|
393
|
-
|
|
394
|
-
### Patch Changes
|
|
395
|
-
|
|
396
|
-
- 05af996: fix: revert the is function
|
|
397
|
-
- Updated dependencies [05af996]
|
|
398
|
-
- @react-three/fiber@7.0.14
|
|
399
|
-
|
|
400
|
-
## 7.0.12
|
|
401
|
-
|
|
402
|
-
### Patch Changes
|
|
403
|
-
|
|
404
|
-
- 0df6073: fix: missed events
|
|
405
|
-
- Updated dependencies [0df6073]
|
|
406
|
-
- @react-three/fiber@7.0.12
|
|
407
|
-
|
|
408
|
-
## 7.0.11
|
|
409
|
-
|
|
410
|
-
### Patch Changes
|
|
411
|
-
|
|
412
|
-
- 62b0a3a: fix: event order of missed pointers
|
|
413
|
-
- Updated dependencies [62b0a3a]
|
|
414
|
-
- @react-three/fiber@7.0.11
|
|
415
|
-
|
|
416
|
-
## 7.0.10
|
|
417
|
-
|
|
418
|
-
### Patch Changes
|
|
419
|
-
|
|
420
|
-
- e019dd4: fixes
|
|
421
|
-
- Updated dependencies [e019dd4]
|
|
422
|
-
- @react-three/fiber@7.0.10
|
|
423
|
-
|
|
424
|
-
## 7.0.8
|
|
425
|
-
|
|
426
|
-
### Patch Changes
|
|
427
|
-
|
|
428
|
-
- cd266e4: Fix diffProps dashed keys
|
|
429
|
-
- Updated dependencies [cd266e4]
|
|
430
|
-
- @react-three/fiber@7.0.9
|
|
431
|
-
|
|
432
|
-
## 7.0.7
|
|
433
|
-
|
|
434
|
-
### Patch Changes
|
|
435
|
-
|
|
436
|
-
- 0375896: Simplify useframe, support instanced event cancelation, silence disposal
|
|
437
|
-
- Updated dependencies [0375896]
|
|
438
|
-
- @react-three/fiber@7.0.7
|
|
439
|
-
|
|
440
|
-
## 7.0.6
|
|
441
|
-
|
|
442
|
-
### Patch Changes
|
|
443
|
-
|
|
444
|
-
- fb052ad: Fix babel-env browserslist transpiling into old code"
|
|
445
|
-
- Updated dependencies [fb052ad]
|
|
446
|
-
- @react-three/fiber@7.0.6
|
|
447
|
-
|
|
448
|
-
## 7.0.5
|
|
449
|
-
|
|
450
|
-
### Patch Changes
|
|
451
|
-
|
|
452
|
-
- c97794a: Add useLoader.clear(Loader, input)
|
|
453
|
-
- Updated dependencies [c97794a]
|
|
454
|
-
- @react-three/fiber@7.0.5
|
|
455
|
-
|
|
456
|
-
## 7.0.4
|
|
457
|
-
|
|
458
|
-
### Patch Changes
|
|
459
|
-
|
|
460
|
-
- 974ecfb: Allow elements to define attachFns for specific mount/unmount
|
|
461
|
-
- Updated dependencies [974ecfb]
|
|
462
|
-
- @react-three/fiber@7.0.4
|
|
463
|
-
|
|
464
|
-
## 7.0.1
|
|
465
|
-
|
|
466
|
-
### Patch Changes
|
|
467
|
-
|
|
468
|
-
- a97aca3: Add controls state field
|
|
469
|
-
- Updated dependencies [a97aca3]
|
|
470
|
-
- 4c703d6: fix rttr didn't work with r130
|
|
471
|
-
- Updated dependencies [4c703d6]
|
|
472
|
-
- @react-three/fiber@7.0.2
|
|
473
|
-
|
|
474
|
-
## 7.0.0
|
|
475
|
-
|
|
476
|
-
### Major Changes
|
|
477
|
-
|
|
478
|
-
- 96ae1ad: fix javascript interpreting renderpriority as positive
|
|
479
|
-
|
|
480
|
-
### Patch Changes
|
|
481
|
-
|
|
482
|
-
- Updated dependencies [96ae1ad]
|
|
483
|
-
- @react-three/fiber@7.0.0
|
|
484
|
-
|
|
485
|
-
## 6.2.3
|
|
486
|
-
|
|
487
|
-
### Patch Changes
|
|
488
|
-
|
|
489
|
-
- 26bc7eb: typescript changes
|
|
490
|
-
- Updated dependencies [26bc7eb]
|
|
491
|
-
- @react-three/fiber@6.2.3
|
|
492
|
-
|
|
493
|
-
## 6.2.2
|
|
494
|
-
|
|
495
|
-
### Patch Changes
|
|
496
|
-
|
|
497
|
-
- 4f44a2c: use more helpful name with event handling in rttr
|
|
498
|
-
- Updated dependencies [4f44a2c]
|
|
499
|
-
- @react-three/fiber@6.2.2
|
|
500
|
-
|
|
501
|
-
## 6.1.5
|
|
502
|
-
|
|
503
|
-
### Patch Changes
|
|
504
|
-
|
|
505
|
-
- fix(rttr): if children is undefined return an array to map with
|
|
506
|
-
- Updated dependencies [undefined]
|
|
507
|
-
- @react-three/fiber@6.1.5
|
|
508
|
-
|
|
509
|
-
## 6.1.3
|
|
510
|
-
|
|
511
|
-
### Patch Changes
|
|
512
|
-
|
|
513
|
-
- 6faa090: Add shape to types, exclude event functions from event data
|
|
514
|
-
- Updated dependencies [6faa090]
|
|
515
|
-
- @react-three/fiber@6.1.4
|
|
516
|
-
|
|
517
|
-
## 6.1.2
|
|
518
|
-
|
|
519
|
-
### Patch Changes
|
|
520
|
-
|
|
521
|
-
- 71e72c0: Fix constructor args with attached children (#1348)
|
|
522
|
-
- Updated dependencies [71e72c0]
|
|
523
|
-
- @react-three/fiber@6.1.3
|
|
524
|
-
|
|
525
|
-
## 6.1.1
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type * as THREE from 'three';
|
|
2
|
-
import type { Instance } from '@react-three/fiber';
|
|
3
|
-
import type { Obj } from "./types/internal.js";
|
|
4
|
-
export declare class ReactThreeTestInstance<TObject extends THREE.Object3D = THREE.Object3D> {
|
|
5
|
-
_fiber: Instance<TObject>;
|
|
6
|
-
constructor(fiber: Instance<TObject>);
|
|
7
|
-
get fiber(): Instance<TObject>;
|
|
8
|
-
get instance(): TObject;
|
|
9
|
-
get type(): string;
|
|
10
|
-
get props(): Obj;
|
|
11
|
-
get parent(): ReactThreeTestInstance | null;
|
|
12
|
-
get children(): ReactThreeTestInstance[];
|
|
13
|
-
get allChildren(): ReactThreeTestInstance[];
|
|
14
|
-
private getChildren;
|
|
15
|
-
findAll: (decider: (node: ReactThreeTestInstance) => boolean) => ReactThreeTestInstance[];
|
|
16
|
-
find: (decider: (node: ReactThreeTestInstance) => boolean) => ReactThreeTestInstance;
|
|
17
|
-
findByType: (type: string) => ReactThreeTestInstance;
|
|
18
|
-
findAllByType: (type: string) => ReactThreeTestInstance[];
|
|
19
|
-
findByProps: (props: Obj) => ReactThreeTestInstance;
|
|
20
|
-
findAllByProps: (props: Obj) => ReactThreeTestInstance[];
|
|
21
|
-
}
|
|
22
|
-
export declare const wrapFiber: (fiber: Instance) => ReactThreeTestInstance;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { act } from '@react-three/fiber';
|
|
3
|
-
import type { CreateOptions, Renderer } from "./types/public.js";
|
|
4
|
-
import { waitFor, WaitOptions } from "./helpers/waitFor.js";
|
|
5
|
-
declare const create: (element: React.ReactNode, options?: Partial<CreateOptions>) => Promise<Renderer>;
|
|
6
|
-
export { create, act, waitFor };
|
|
7
|
-
export type { WaitOptions };
|
|
8
|
-
export * as ReactThreeTest from "./types/index.js";
|
|
9
|
-
declare const _default: {
|
|
10
|
-
create: (element: React.ReactNode, options?: Partial<CreateOptions> | undefined) => Promise<Renderer>;
|
|
11
|
-
act: import("@react-three/fiber").Act;
|
|
12
|
-
waitFor: typeof waitFor;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./public.js";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type CreateCanvasParameters = {
|
|
2
|
-
beforeReturn?: (canvas: HTMLCanvasElement) => void;
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
};
|
|
6
|
-
export interface Obj {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* this is an empty object of any,
|
|
11
|
-
* the data is passed to a new event
|
|
12
|
-
* and subsequently passed to the
|
|
13
|
-
* event handler you're calling
|
|
14
|
-
*/
|
|
15
|
-
export type MockEventData = {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
export interface TestInstanceChildOpts {
|
|
19
|
-
exhaustive: boolean;
|
|
20
|
-
}
|