@tresjs/core 2.1.0 → 2.1.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.
|
@@ -21,5 +21,5 @@ export interface TresCanvasProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* Vue component for rendering a Tres component.
|
|
23
23
|
*/
|
|
24
|
-
export declare const TresCanvas: import("vue").DefineComponent<TresCanvasProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<TresCanvasProps>, {}>;
|
|
24
|
+
export declare const TresCanvas: import("vue").DefineComponent<TresCanvasProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<TresCanvasProps>, {}, {}>;
|
|
25
25
|
export default TresCanvas;
|
|
@@ -18,5 +18,5 @@ export interface TresSceneProps {
|
|
|
18
18
|
disableRender?: boolean;
|
|
19
19
|
camera?: CameraType;
|
|
20
20
|
}
|
|
21
|
-
export declare const TresScene: import("vue").DefineComponent<TresSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<TresSceneProps>, {}>;
|
|
21
|
+
export declare const TresScene: import("vue").DefineComponent<TresSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<TresSceneProps>, {}, {}>;
|
|
22
22
|
export default TresScene;
|
package/dist/core/renderer.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const createApp: import("vue").CreateAppFunction<import("..").Tre
|
|
|
3
3
|
export declare const createTres: (slots: Slots) => import("vue").App<import("..").TresObject>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
createTres: (slots: Readonly<{
|
|
6
|
-
[name: string]: import("vue").Slot | undefined;
|
|
6
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
7
7
|
}>) => import("vue").App<import("..").TresObject>;
|
|
8
8
|
extend: (objects: any) => undefined;
|
|
9
9
|
};
|
package/dist/tres.js
CHANGED
package/dist/tres.umd.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/core",
|
|
3
3
|
"description": "Declarative ThreeJS using Vue Components",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@8.3.1",
|
|
7
7
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
@@ -58,11 +58,12 @@
|
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"three": "latest",
|
|
61
|
-
"vue": "^3.
|
|
61
|
+
"vue": "^3.3.4"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@alvarosabu/utils": "^2.3.0",
|
|
65
|
-
"@vueuse/core": "^10.1.2"
|
|
65
|
+
"@vueuse/core": "^10.1.2",
|
|
66
|
+
"vue": "^3.3.4"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
69
|
"@alvarosabu/prettier-config": "^1.3.0",
|