@react-three/fiber 8.11.7 → 8.11.9
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/CHANGELOG.md +12 -0
- package/dist/declarations/src/core/renderer.d.ts +7 -1
- package/dist/declarations/src/core/utils.d.ts +1 -1
- package/dist/{index-baacab10.cjs.dev.js → index-4073a042.cjs.dev.js} +1059 -1062
- package/dist/{index-947d20f1.esm.js → index-6b130504.esm.js} +1060 -1063
- package/dist/{index-ae10f2b1.cjs.prod.js → index-a47b404f.cjs.prod.js} +1059 -1062
- package/dist/react-three-fiber.cjs.dev.js +49 -49
- package/dist/react-three-fiber.cjs.prod.js +49 -49
- package/dist/react-three-fiber.esm.js +50 -50
- package/native/dist/react-three-fiber-native.cjs.dev.js +1 -1
- package/native/dist/react-three-fiber-native.cjs.prod.js +1 -1
- package/native/dist/react-three-fiber-native.esm.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -44,7 +44,13 @@ export declare type InstanceProps = {
|
|
|
44
44
|
dispose?: null;
|
|
45
45
|
attach?: AttachType;
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
interface Catalogue {
|
|
48
|
+
[name: string]: {
|
|
49
|
+
new (...args: any): Instance;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export declare const catalogue: Catalogue;
|
|
53
|
+
declare const extend: (objects: object) => void;
|
|
48
54
|
declare function createRenderer<TCanvas>(_roots: Map<TCanvas, Root>, _getEventPriority?: () => any): {
|
|
49
55
|
reconciler: Reconciler.Reconciler<UseBoundStore<RootState, import("zustand").StoreApi<RootState>>, Instance, void, Instance, Instance>;
|
|
50
56
|
applyProps: typeof applyProps;
|
|
@@ -7,7 +7,7 @@ export declare type ColorManagementRepresentation = {
|
|
|
7
7
|
} | {
|
|
8
8
|
legacyMode: boolean | never;
|
|
9
9
|
};
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const getColorManagement: () => ColorManagementRepresentation | null;
|
|
11
11
|
export declare type Camera = THREE.OrthographicCamera | THREE.PerspectiveCamera;
|
|
12
12
|
export declare const isOrthographicCamera: (def: Camera) => def is THREE.OrthographicCamera;
|
|
13
13
|
export declare const isRef: (obj: any) => obj is React.MutableRefObject<unknown>;
|