@react-three/drei 9.85.0 → 9.85.2

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/core/Shadow.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Mesh, Color } from 'three';
1
+ import { Mesh, Color, type PlaneGeometry, type MeshBasicMaterial } from 'three';
2
2
  import { ForwardRefComponent } from '../helpers/ts-utils';
3
3
  type Props = JSX.IntrinsicElements['mesh'] & {
4
4
  colorStop?: number;
@@ -7,5 +7,6 @@ type Props = JSX.IntrinsicElements['mesh'] & {
7
7
  opacity?: number;
8
8
  depthWrite?: boolean;
9
9
  };
10
- export declare const Shadow: ForwardRefComponent<Props, Mesh>;
10
+ export type ShadowType = Mesh<PlaneGeometry, MeshBasicMaterial>;
11
+ export declare const Shadow: ForwardRefComponent<Props, ShadowType>;
11
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/drei",
3
- "version": "9.85.0",
3
+ "version": "9.85.2",
4
4
  "private": false,
5
5
  "description": "useful add-ons for react-three-fiber",
6
6
  "keywords": [
@@ -57,7 +57,7 @@
57
57
  "stats-gl": "^1.0.4",
58
58
  "stats.js": "^0.17.0",
59
59
  "suspend-react": "^0.1.3",
60
- "three-mesh-bvh": "^0.6.0",
60
+ "three-mesh-bvh": "^0.6.7",
61
61
  "three-stdlib": "^2.26.6",
62
62
  "troika-three-text": "^0.47.2",
63
63
  "utility-types": "^3.10.0",