@react-three/drei 9.40.0 → 9.40.1

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 (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -434,6 +434,10 @@ Semi-OrbitControls with spring-physics, polar zoom and snap-back, for presentati
434
434
 
435
435
  ![](https://img.shields.io/badge/-Dom only-red)
436
436
 
437
+ <p>
438
+ <a href="https://codesandbox.io/s/vkgi6"><img width="20%" src="https://codesandbox.io/api/v1/sandboxes/vkgi6/screenshot.png" alt="demo"/></a>
439
+ </p>
440
+
437
441
  A rudimentary keyboard controller which distributes your defined data-model to the `useKeyboard` hook. It's a rather simple way to get started with keyboard input.
438
442
 
439
443
  ```tsx
@@ -1032,7 +1036,7 @@ You can either pass a Mesh and InstancedMesh as children:
1032
1036
  </mesh>
1033
1037
 
1034
1038
  <instancedMesh args={[null, null, 1_000]}>
1035
- <sphereGeometry args={[0.1]}>
1039
+ <sphereGeometry args={[0.1]}/>
1036
1040
  </instancedMesh>
1037
1041
  </Sampler>
1038
1042
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/drei",
3
- "version": "9.40.0",
3
+ "version": "9.40.1",
4
4
  "private": false,
5
5
  "description": "useful add-ons for react-three-fiber",
6
6
  "keywords": [
@@ -53,7 +53,7 @@
53
53
  "stats.js": "^0.17.0",
54
54
  "suspend-react": "^0.0.8",
55
55
  "three-mesh-bvh": "^0.5.15",
56
- "three-stdlib": "^2.17.3",
56
+ "three-stdlib": "^2.18.0",
57
57
  "troika-three-text": "^0.46.4",
58
58
  "utility-types": "^3.10.0",
59
59
  "zustand": "^3.5.13"