@tresjs/cientos 3.2.1 → 3.3.0-next.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/dist/core/abstractions/Text3D.vue.d.ts +21 -21
- package/dist/core/abstractions/index.d.ts +2 -7
- package/dist/core/abstractions/useAnimations.d.ts +3 -2
- package/dist/core/controls/CameraControls.vue.d.ts +133 -116
- package/dist/core/controls/KeyboardControls.vue.d.ts +12 -12
- package/dist/core/controls/MapControls.vue.d.ts +1 -1
- package/dist/core/controls/OrbitControls.vue.d.ts +5 -4
- package/dist/core/controls/PointerLockControls.vue.d.ts +1 -1
- package/dist/core/controls/TransformControls.vue.d.ts +10 -10
- package/dist/core/loaders/SVG/component.vue.d.ts +68 -0
- package/dist/core/loaders/index.d.ts +4 -3
- package/dist/core/loaders/useFBX/index.d.ts +1 -1
- package/dist/core/loaders/useGLTF/index.d.ts +1 -1
- package/dist/core/loaders/useProgress.d.ts +1 -1
- package/dist/core/materials/meshGlassMaterial/material.d.ts +2 -1
- package/dist/core/materials/meshWobbleMaterial/material.d.ts +2 -1
- package/dist/core/misc/Stats.d.ts +1 -0
- package/dist/core/misc/index.d.ts +2 -1
- package/dist/core/shapes/Box.vue.d.ts +7 -7
- package/dist/core/shapes/Circle.vue.d.ts +7 -7
- package/dist/core/shapes/Cone.vue.d.ts +7 -7
- package/dist/core/shapes/Dodecahedron.vue.d.ts +7 -7
- package/dist/core/shapes/Icosahedron.vue.d.ts +7 -7
- package/dist/core/shapes/Octahedron.vue.d.ts +7 -7
- package/dist/core/shapes/Plane.vue.d.ts +7 -7
- package/dist/core/shapes/Ring.vue.d.ts +7 -7
- package/dist/core/shapes/Sphere.vue.d.ts +7 -7
- package/dist/core/shapes/Tetrahedron.vue.d.ts +7 -7
- package/dist/core/shapes/Torus.vue.d.ts +7 -7
- package/dist/core/shapes/TorusKnot.vue.d.ts +7 -7
- package/dist/core/shapes/Tube.vue.d.ts +8 -7
- package/dist/core/staging/Backdrop.vue.d.ts +2 -2
- package/dist/core/{abstractions → staging}/Precipitation.vue.d.ts +33 -33
- package/dist/core/{abstractions → staging}/Smoke.vue.d.ts +21 -21
- package/dist/core/staging/index.d.ts +6 -1
- package/dist/core/{abstractions → staging}/useEnvironment/component.d.ts +1 -1
- package/dist/core/{abstractions → staging}/useEnvironment/const.d.ts +3 -3
- package/dist/core/{abstractions → staging}/useEnvironment/index.d.ts +2 -2
- package/dist/trescientos.js +3873 -2867
- package/dist/trescientos.umd.cjs +14 -14
- package/package.json +20 -20
- package/dist/core/{abstractions → staging}/Stars.vue.d.ts +23 -23
package/package.json
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
|
-
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
|
|
4
|
-
"version": "3.2.1",
|
|
5
3
|
"type": "module",
|
|
4
|
+
"version": "3.3.0-next.0",
|
|
6
5
|
"packageManager": "pnpm@8.4.0",
|
|
6
|
+
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
|
|
7
7
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"vue",
|
|
11
|
+
"3d",
|
|
12
|
+
"threejs",
|
|
13
|
+
"three",
|
|
14
|
+
"threejs-vue",
|
|
15
|
+
"composables"
|
|
16
|
+
],
|
|
9
17
|
"sideEffects": false,
|
|
10
18
|
"exports": {
|
|
11
19
|
".": {
|
|
@@ -27,16 +35,8 @@
|
|
|
27
35
|
"publishConfig": {
|
|
28
36
|
"access": "public"
|
|
29
37
|
},
|
|
30
|
-
"keywords": [
|
|
31
|
-
"vue",
|
|
32
|
-
"3d",
|
|
33
|
-
"threejs",
|
|
34
|
-
"three",
|
|
35
|
-
"threejs-vue",
|
|
36
|
-
"composables"
|
|
37
|
-
],
|
|
38
38
|
"scripts": {
|
|
39
|
-
"playground": "cd playground &&
|
|
39
|
+
"playground": "cd playground && pnpm dev",
|
|
40
40
|
"build": "vite build",
|
|
41
41
|
"release": "release-it",
|
|
42
42
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue",
|
|
@@ -45,13 +45,21 @@
|
|
|
45
45
|
"docs:preview": "vitepress preview docs"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
+
"@tresjs/core": ">=3.2",
|
|
48
49
|
"three": ">=0.133",
|
|
49
50
|
"tweakpane": ">=3.0.0",
|
|
50
51
|
"vue": ">=3.3"
|
|
51
52
|
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@vueuse/core": "^10.3.0",
|
|
55
|
+
"camera-controls": "^2.7.1",
|
|
56
|
+
"stats.js": "^0.17.0",
|
|
57
|
+
"three-stdlib": "^2.25.0"
|
|
58
|
+
},
|
|
52
59
|
"devDependencies": {
|
|
53
|
-
"@alvarosabu/prettier-config": "^1.3.0",
|
|
54
60
|
"@release-it/conventional-changelog": "^7.0.0",
|
|
61
|
+
"@tresjs/core": "^3.2.1",
|
|
62
|
+
"@tresjs/eslint-config-vue": "^0.1.1",
|
|
55
63
|
"@tweakpane/core": "^1.1.9",
|
|
56
64
|
"@types/node": "^20.5.4",
|
|
57
65
|
"@types/three": "^0.155.0",
|
|
@@ -59,12 +67,10 @@
|
|
|
59
67
|
"@typescript-eslint/parser": "^6.4.1",
|
|
60
68
|
"@vitejs/plugin-vue": "^4.3.3",
|
|
61
69
|
"eslint": "^8.47.0",
|
|
62
|
-
"eslint-config-prettier": "^9.0.0",
|
|
63
70
|
"eslint-plugin-vue": "^9.17.0",
|
|
64
71
|
"gsap": "^3.12.2",
|
|
65
72
|
"kolorist": "^1.8.0",
|
|
66
73
|
"pathe": "^1.1.1",
|
|
67
|
-
"prettier": "^3.0.2",
|
|
68
74
|
"release-it": "^16.1.5",
|
|
69
75
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
70
76
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
@@ -77,11 +83,5 @@
|
|
|
77
83
|
"vite-plugin-dts": "3.5.2",
|
|
78
84
|
"vite-svg-loader": "^4.0.0",
|
|
79
85
|
"vitepress": "1.0.0-rc.4"
|
|
80
|
-
},
|
|
81
|
-
"dependencies": {
|
|
82
|
-
"@tresjs/core": "3.1.1",
|
|
83
|
-
"@vueuse/core": "^10.3.0",
|
|
84
|
-
"camera-controls": "^2.7.1",
|
|
85
|
-
"three-stdlib": "^2.25.0"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -73,30 +73,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
type: import("vue").PropType<boolean>;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
alphaMap: {
|
|
77
|
-
type: import("vue").PropType<null>;
|
|
78
|
-
default: null;
|
|
79
|
-
};
|
|
80
76
|
size: {
|
|
81
77
|
type: import("vue").PropType<number>;
|
|
82
78
|
default: number;
|
|
83
79
|
};
|
|
84
|
-
|
|
80
|
+
depth: {
|
|
85
81
|
type: import("vue").PropType<number>;
|
|
86
82
|
default: number;
|
|
87
83
|
};
|
|
88
|
-
|
|
89
|
-
type: import("vue").PropType<
|
|
90
|
-
default:
|
|
84
|
+
alphaMap: {
|
|
85
|
+
type: import("vue").PropType<null>;
|
|
86
|
+
default: null;
|
|
91
87
|
};
|
|
92
|
-
|
|
88
|
+
count: {
|
|
93
89
|
type: import("vue").PropType<number>;
|
|
94
90
|
default: number;
|
|
95
91
|
};
|
|
96
|
-
|
|
92
|
+
radius: {
|
|
97
93
|
type: import("vue").PropType<number>;
|
|
98
94
|
default: number;
|
|
99
95
|
};
|
|
96
|
+
sizeAttenuation: {
|
|
97
|
+
type: import("vue").PropType<boolean>;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
100
|
}, {
|
|
101
101
|
value: import("vue").ShallowRef<any>;
|
|
102
102
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -108,38 +108,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
type: import("vue").PropType<boolean>;
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
|
-
alphaMap: {
|
|
112
|
-
type: import("vue").PropType<null>;
|
|
113
|
-
default: null;
|
|
114
|
-
};
|
|
115
111
|
size: {
|
|
116
112
|
type: import("vue").PropType<number>;
|
|
117
113
|
default: number;
|
|
118
114
|
};
|
|
119
|
-
|
|
115
|
+
depth: {
|
|
120
116
|
type: import("vue").PropType<number>;
|
|
121
117
|
default: number;
|
|
122
118
|
};
|
|
123
|
-
|
|
124
|
-
type: import("vue").PropType<
|
|
125
|
-
default:
|
|
119
|
+
alphaMap: {
|
|
120
|
+
type: import("vue").PropType<null>;
|
|
121
|
+
default: null;
|
|
126
122
|
};
|
|
127
|
-
|
|
123
|
+
count: {
|
|
128
124
|
type: import("vue").PropType<number>;
|
|
129
125
|
default: number;
|
|
130
126
|
};
|
|
131
|
-
|
|
127
|
+
radius: {
|
|
132
128
|
type: import("vue").PropType<number>;
|
|
133
129
|
default: number;
|
|
134
130
|
};
|
|
131
|
+
sizeAttenuation: {
|
|
132
|
+
type: import("vue").PropType<boolean>;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
135
|
}>>, {
|
|
136
136
|
alphaTest: number;
|
|
137
137
|
transparent: boolean;
|
|
138
|
-
alphaMap: null;
|
|
139
138
|
size: number;
|
|
139
|
+
depth: number;
|
|
140
|
+
alphaMap: null;
|
|
140
141
|
count: number;
|
|
141
|
-
sizeAttenuation: boolean;
|
|
142
142
|
radius: number;
|
|
143
|
-
|
|
143
|
+
sizeAttenuation: boolean;
|
|
144
144
|
}, {}>;
|
|
145
145
|
export default _default;
|