@octanejs/drei 0.0.28 → 0.0.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/drei",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "Octane port of @react-three/drei",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "@types/three": ">=0.159",
48
48
  "three": ">=0.159",
49
49
  "@octanejs/three": "0.1.53",
50
- "octane": "^0.9.0"
50
+ "octane": "^0.9.1"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "@types/three": {
@@ -83,7 +83,7 @@
83
83
  "vitest": "^4.1.10",
84
84
  "@octanejs/three": "0.1.53",
85
85
  "@octanejs/zustand": "0.1.60",
86
- "octane": "0.9.0"
86
+ "octane": "0.9.1"
87
87
  },
88
88
  "scripts": {
89
89
  "upstream:generate": "node scripts/generate-upstream-crosswalk.mjs",
@@ -3,7 +3,6 @@ import {
3
3
  applyProps,
4
4
  createPortal,
5
5
  extend,
6
- type ThreeElement,
7
6
  useFrame,
8
7
  useThree,
9
8
  } from '@octanejs/three';
@@ -2,7 +2,7 @@
2
2
  import { type ThreeElements, type ThreeRef } from '@octanejs/three';
3
3
  import { useCallback, useImperativeHandle, useMemo, useState } from '@octanejs/three/renderer';
4
4
  import type { OctaneNode } from 'octane';
5
- import { MeshNormalMaterial, MeshStandardMaterial, type ColorRepresentation, type Group } from 'three';
5
+ import { MeshNormalMaterial, MeshStandardMaterial, type ColorRepresentation } from 'three';
6
6
  import { Center } from './Center.three.tsrx';
7
7
  import { Text3D } from './Text3D.three.tsrx';
8
8
 
@@ -1,6 +1,6 @@
1
1
  /** @jsxImportSource @octanejs/three/intrinsics */
2
2
  import { type ThreeElements, type ThreeRef, useFrame } from '@octanejs/three';
3
- import { useMemo, useRef, useState } from '@octanejs/three/renderer';
3
+ import { useMemo, useRef } from '@octanejs/three/renderer';
4
4
  import { createContext, useContext } from 'octane';
5
5
  import * as THREE from 'three';
6
6
  import { MarchingCubes as MarchingCubesImpl } from 'three-stdlib';
@@ -1,6 +1,6 @@
1
1
  /** @jsxImportSource @octanejs/three/intrinsics */
2
2
  import { type ThreeElements, type ThreeRef, useFrame, useInstanceHandle, useThree } from '@octanejs/three';
3
- import { useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, type RefObject } from '@octanejs/three/renderer';
3
+ import { useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, type RefObject } from '@octanejs/three/renderer';
4
4
  import { createContext, type OctaneNode, useContext } from 'octane';
5
5
  import { easing, misc } from 'maath';
6
6
  import * as THREE from 'three';
@@ -1,6 +1,6 @@
1
1
  /** @jsxImportSource @octanejs/three/intrinsics */
2
2
  import { context as threeContext, createPortal, type RootState, type ThreeRef, useFrame, useThree } from '@octanejs/three';
3
- import { useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from '@octanejs/three/renderer';
3
+ import { useCallback, useContext, useEffect, useLayoutEffect, useRef, useState } from '@octanejs/three/renderer';
4
4
  import { type OctaneNode } from 'octane';
5
5
  import * as THREE from 'three';
6
6