@threlte/core
Advanced tools
Comparing version 6.0.0-next.4 to 6.0.0-next.5
# @threlte/core | ||
## 6.0.0-next.5 | ||
### Patch Changes | ||
- 4bcf0ee4: changed return signature of useSuspense->suspend | ||
## 6.0.0-next.4 | ||
@@ -4,0 +10,0 @@ |
@@ -17,3 +17,3 @@ export { default as Canvas } from './Canvas.svelte'; | ||
export { type AsyncWritable, asyncWritable } from './lib/asyncWritable'; | ||
export type { Position, Scale, Rotation, LookAt, ThrelteUseFrameOptions, ThrelteContext, ThrelteInstance, Size } from './types/types'; | ||
export type { ThrelteUseFrameOptions, ThrelteContext, Size } from './types/types'; | ||
export { createObjectStore } from './lib/createObjectStore'; | ||
@@ -20,0 +20,0 @@ export { createRawEventDispatcher } from './lib/createRawEventDispatcher'; |
import type { Readable, Writable } from 'svelte/store'; | ||
import type { Camera, Clock, Color, Euler, Matrix4, Object3D, Scene, ShadowMapType, ColorSpace, ToneMapping, Vector3, WebGLRenderer } from 'three'; | ||
import type { Camera, Clock, Scene, ShadowMapType, ColorSpace, ToneMapping, WebGLRenderer } from 'three'; | ||
import type { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; | ||
import type { CurrentWritable } from '../lib/storeUtils'; | ||
import type { DisposableThreeObject } from './components'; | ||
export declare type ThrelteInstance = { | ||
matrix: Matrix4; | ||
color: null | Color; | ||
}; | ||
/** | ||
@@ -125,20 +121,2 @@ * ### `ThrelteContext` | ||
}; | ||
export declare type ThrelteParentContext = Writable<Object3D>; | ||
export declare type Position = Vector3 | { | ||
x?: number; | ||
y?: number; | ||
z?: number; | ||
}; | ||
export declare type Scale = Vector3 | number | { | ||
x?: number; | ||
y?: number; | ||
z?: number; | ||
}; | ||
export declare type Rotation = Euler | { | ||
x?: number; | ||
y?: number; | ||
z?: number; | ||
order?: Euler['order']; | ||
}; | ||
export declare type LookAt = Position | Object3D; | ||
export declare type Size = { | ||
@@ -145,0 +123,0 @@ width: number; |
{ | ||
"name": "@threlte/core", | ||
"version": "6.0.0-next.4", | ||
"version": "6.0.0-next.5", | ||
"author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
266229
5233