@tresjs/cientos 2.0.0-rc.3 → 2.1.0
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/README.md +1 -1
- package/core.d.ts +1 -0
- package/dist/core/abstractions/ContactShadows.vue.d.ts +231 -0
- package/dist/core/abstractions/Levioso.vue.d.ts +2 -4
- package/dist/core/abstractions/Precipitation.vue.d.ts +219 -0
- package/dist/core/abstractions/Smoke.vue.d.ts +9 -36
- package/dist/core/abstractions/Stars.vue.d.ts +4 -6
- package/dist/core/abstractions/Text3D.vue.d.ts +3 -5
- package/dist/core/abstractions/index.d.ts +5 -3
- package/dist/core/abstractions/useEnvironment/component.d.ts +1 -1
- package/dist/core/abstractions/useEnvironment/index.d.ts +1 -1
- package/dist/core/abstractions/useParallax/component.d.ts +27 -0
- package/dist/core/abstractions/useParallax/index.d.ts +2 -0
- package/dist/core/controls/MapControls.vue.d.ts +1 -1
- package/dist/core/controls/OrbitControls.vue.d.ts +354 -18
- package/dist/core/controls/PointerLockControls.vue.d.ts +2 -3218
- package/dist/core/controls/TransformControls.vue.d.ts +3 -3
- package/dist/core/index.d.ts +6 -0
- package/dist/core/loaders/useFBX/component.vue.d.ts +2 -4
- package/dist/core/loaders/useGLTF/component.vue.d.ts +2 -4
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +1 -1
- package/dist/core/shapes/Box.vue.d.ts +11 -19
- package/dist/core/shapes/Circle.vue.d.ts +11 -19
- package/dist/core/shapes/Cone.vue.d.ts +11 -19
- package/dist/core/shapes/Dodecahedron.vue.d.ts +11 -19
- package/dist/core/shapes/Icosahedron.vue.d.ts +11 -19
- package/dist/core/shapes/Octahedron.vue.d.ts +11 -19
- package/dist/core/shapes/Plane.vue.d.ts +11 -19
- package/dist/core/shapes/Ring.vue.d.ts +11 -19
- package/dist/core/shapes/Sphere.vue.d.ts +11 -19
- package/dist/core/shapes/Tetrahedron.vue.d.ts +11 -19
- package/dist/core/shapes/Torus.vue.d.ts +11 -19
- package/dist/core/shapes/TorusKnot.vue.d.ts +11 -19
- package/dist/core/shapes/Tube.vue.d.ts +11 -22
- package/dist/index.d.ts +1 -6
- package/dist/trescientos.js +5835 -5529
- package/dist/trescientos.umd.cjs +78 -11
- package/package.json +32 -28
- package/dist/core/abstractions/usePamCameraMouse/component.d.ts +0 -19
- package/dist/core/abstractions/usePamCameraMouse/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
3
|
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@8.
|
|
6
|
+
"packageManager": "pnpm@8.4.0",
|
|
7
7
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
8
|
"license": "MIT",
|
|
12
|
-
"
|
|
13
|
-
"module": "./dist/trescientos.js",
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
15
10
|
"exports": {
|
|
16
11
|
".": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/trescientos.js"
|
|
14
|
+
},
|
|
15
|
+
"./core": {
|
|
16
|
+
"types": "./dist/core/index.d.ts"
|
|
19
17
|
},
|
|
20
|
-
"
|
|
21
|
-
"./*": "./dist/trescientos.js"
|
|
18
|
+
"./*": "./*"
|
|
22
19
|
},
|
|
20
|
+
"main": "./dist/trescientos.js",
|
|
21
|
+
"module": "./dist/trescientos.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"*.d.ts"
|
|
26
|
+
],
|
|
23
27
|
"publishConfig": {
|
|
24
28
|
"access": "public"
|
|
25
29
|
},
|
|
@@ -28,13 +32,12 @@
|
|
|
28
32
|
"3d",
|
|
29
33
|
"threejs",
|
|
30
34
|
"three",
|
|
31
|
-
"threejs-vue"
|
|
35
|
+
"threejs-vue",
|
|
36
|
+
"composables"
|
|
32
37
|
],
|
|
33
38
|
"scripts": {
|
|
34
|
-
"dev": "vite",
|
|
35
39
|
"playground": "cd playground && nr dev",
|
|
36
40
|
"build": "vite build",
|
|
37
|
-
"preview": "vite preview",
|
|
38
41
|
"release": "release-it",
|
|
39
42
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
|
|
40
43
|
"docs:dev": "vitepress dev docs",
|
|
@@ -42,21 +45,22 @@
|
|
|
42
45
|
"docs:preview": "vitepress preview docs"
|
|
43
46
|
},
|
|
44
47
|
"peerDependencies": {
|
|
45
|
-
"@tresjs/core": "2.
|
|
48
|
+
"@tresjs/core": "2.1.1",
|
|
46
49
|
"three": "latest",
|
|
47
|
-
"vue": "^3.
|
|
50
|
+
"vue": "^3.3.4"
|
|
48
51
|
},
|
|
49
52
|
"devDependencies": {
|
|
50
53
|
"@alvarosabu/prettier-config": "^1.3.0",
|
|
51
54
|
"@release-it/conventional-changelog": "^5.1.1",
|
|
52
55
|
"@tweakpane/plugin-essentials": "^0.1.8",
|
|
56
|
+
"@types/node": "^20.2.3",
|
|
53
57
|
"@types/three": "^0.152.0",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
55
|
-
"@typescript-eslint/parser": "^5.59.
|
|
56
|
-
"@vitejs/plugin-vue": "^4.2.
|
|
57
|
-
"eslint": "^8.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
59
|
+
"@typescript-eslint/parser": "^5.59.7",
|
|
60
|
+
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
|
+
"eslint": "^8.41.0",
|
|
58
62
|
"eslint-config-prettier": "^8.8.0",
|
|
59
|
-
"eslint-plugin-vue": "^9.
|
|
63
|
+
"eslint-plugin-vue": "^9.14.0",
|
|
60
64
|
"gsap": "^3.11.5",
|
|
61
65
|
"kolorist": "^1.8.0",
|
|
62
66
|
"pathe": "^1.1.0",
|
|
@@ -66,18 +70,18 @@
|
|
|
66
70
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
67
71
|
"tweakpane": "^3.1.9",
|
|
68
72
|
"typescript": "^5.0.4",
|
|
69
|
-
"unocss": "^0.
|
|
70
|
-
"vite": "^4.3.
|
|
73
|
+
"unocss": "^0.52.1",
|
|
74
|
+
"vite": "^4.3.8",
|
|
71
75
|
"vite-plugin-banner": "^0.7.0",
|
|
72
76
|
"vite-plugin-dts": "2.3.0",
|
|
73
77
|
"vite-svg-loader": "^4.0.0",
|
|
74
|
-
"vitepress": "1.0.0-
|
|
78
|
+
"vitepress": "1.0.0-beta.1"
|
|
75
79
|
},
|
|
76
80
|
"dependencies": {
|
|
77
|
-
"@tresjs/core": "2.
|
|
81
|
+
"@tresjs/core": "2.1.1",
|
|
78
82
|
"@vueuse/core": "^10.1.2",
|
|
79
83
|
"three": "^0.152.2",
|
|
80
|
-
"three-stdlib": "^2.21.
|
|
81
|
-
"vue": "^3.
|
|
84
|
+
"three-stdlib": "^2.21.12",
|
|
85
|
+
"vue": "^3.3.4"
|
|
82
86
|
}
|
|
83
87
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface PamCameraMouseProps {
|
|
2
|
-
/**
|
|
3
|
-
* Whether to disable the mouse controls.
|
|
4
|
-
* @type {boolean}
|
|
5
|
-
* @default false
|
|
6
|
-
* @memberof PamCameraMouseProps
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The factor to multiply the mouse movement by.
|
|
12
|
-
* @type {number}
|
|
13
|
-
* @default 5
|
|
14
|
-
* @memberof PamCameraMouseProps
|
|
15
|
-
*
|
|
16
|
-
**/
|
|
17
|
-
factor?: number;
|
|
18
|
-
}
|
|
19
|
-
export declare const PamCameraMouse: import("vue").DefineComponent<PamCameraMouseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<PamCameraMouseProps>, {}>;
|