@tresjs/cientos 3.4.1 → 3.5.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/GlobalAudio.d.ts +50 -0
- package/dist/core/abstractions/index.d.ts +4 -1
- package/dist/core/abstractions/useFBO/component.vue.d.ts +37 -0
- package/dist/core/abstractions/useFBO/index.d.ts +10 -0
- package/dist/core/directives/index.d.ts +2 -1
- package/dist/core/directives/vDistanceTo.d.ts +4 -0
- package/dist/core/directives/vLog.d.ts +1 -1
- package/dist/core/loaders/SVG/component.vue.d.ts +8 -8
- package/dist/core/misc/Stats.d.ts +13 -1
- package/dist/core/misc/html/HTML.vue.d.ts +133 -0
- package/dist/core/misc/html/utils.d.ts +18 -0
- package/dist/core/misc/index.d.ts +2 -1
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +112 -0
- package/dist/core/shapes/Line2.vue.d.ts +120 -0
- package/dist/core/shapes/index.d.ts +3 -1
- package/dist/core/staging/index.d.ts +1 -1
- package/dist/core/staging/useEnvironment/const.d.ts +51 -0
- package/dist/core/staging/useEnvironment/index.d.ts +1 -15
- package/dist/trescientos.js +36289 -7189
- package/dist/trescientos.umd.cjs +1393 -22
- package/dist/utils/index.d.ts +2 -0
- package/package.json +23 -16
- package/dist/core/staging/useEnvironment/component.d.ts +0 -4
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Vector3 } from 'three';
|
|
1
2
|
/**
|
|
2
3
|
* Update the function signature to explicitly specify the type of the props parameter
|
|
3
4
|
*
|
|
@@ -18,3 +19,4 @@ export declare function pick<T extends object, K extends keyof T>(obj: T, props:
|
|
|
18
19
|
* @return {*} {boolean}
|
|
19
20
|
*/
|
|
20
21
|
export declare function hasSetter(obj: any, prop: string): boolean;
|
|
22
|
+
export declare function extractBindingPosition(binding: any): Vector3;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"packageManager": "pnpm@8.4.0",
|
|
6
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/)",
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"threejs-vue",
|
|
15
15
|
"composables"
|
|
16
16
|
],
|
|
17
|
+
"maintainers": [
|
|
18
|
+
"Alvaro Saburido (https://github.com/alvarosabu/)",
|
|
19
|
+
"Jaime Torrealba (https://github.com/JaimeTorrealba)",
|
|
20
|
+
"Andre Tchen (https://github.com/andretchen0)"
|
|
21
|
+
],
|
|
17
22
|
"sideEffects": false,
|
|
18
23
|
"exports": {
|
|
19
24
|
".": {
|
|
@@ -51,23 +56,24 @@
|
|
|
51
56
|
"vue": ">=3.3"
|
|
52
57
|
},
|
|
53
58
|
"dependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"
|
|
59
|
+
"@tresjs/core": "3.3.0",
|
|
60
|
+
"@vueuse/core": "^10.4.1",
|
|
61
|
+
"camera-controls": "^2.7.2",
|
|
56
62
|
"stats-gl": "^1.0.5",
|
|
57
63
|
"stats.js": "^0.17.0",
|
|
58
|
-
"three-stdlib": "2.
|
|
64
|
+
"three-stdlib": "^2.26.0"
|
|
59
65
|
},
|
|
60
66
|
"devDependencies": {
|
|
61
|
-
"@release-it/conventional-changelog": "^7.0.
|
|
67
|
+
"@release-it/conventional-changelog": "^7.0.1",
|
|
62
68
|
"@tresjs/core": "^3.2.1",
|
|
63
|
-
"@tresjs/eslint-config-vue": "^0.
|
|
69
|
+
"@tresjs/eslint-config-vue": "^0.2.1",
|
|
64
70
|
"@tweakpane/core": "^1.1.9",
|
|
65
|
-
"@types/node": "^20.
|
|
66
|
-
"@types/three": "^0.
|
|
67
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
68
|
-
"@typescript-eslint/parser": "^6.
|
|
69
|
-
"@vitejs/plugin-vue": "^4.3.
|
|
70
|
-
"eslint": "^8.
|
|
71
|
+
"@types/node": "^20.6.1",
|
|
72
|
+
"@types/three": "^0.156.0",
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
74
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
75
|
+
"@vitejs/plugin-vue": "^4.3.4",
|
|
76
|
+
"eslint": "^8.49.0",
|
|
71
77
|
"eslint-plugin-vue": "^9.17.0",
|
|
72
78
|
"gsap": "^3.12.2",
|
|
73
79
|
"kolorist": "^1.8.0",
|
|
@@ -75,14 +81,15 @@
|
|
|
75
81
|
"release-it": "^16.1.5",
|
|
76
82
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
77
83
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
78
|
-
"three": "^0.
|
|
84
|
+
"three": "^0.157.0",
|
|
79
85
|
"tweakpane": "^3.1.10",
|
|
80
|
-
"typescript": "^5.
|
|
86
|
+
"typescript": "^5.2.2",
|
|
81
87
|
"unocss": "^0.54.0",
|
|
82
88
|
"vite": "^4.4.9",
|
|
83
89
|
"vite-plugin-banner": "^0.7.0",
|
|
84
|
-
"vite-plugin-dts": "3.5.
|
|
90
|
+
"vite-plugin-dts": "3.5.3",
|
|
91
|
+
"vite-plugin-glsl": "^1.1.2",
|
|
85
92
|
"vite-svg-loader": "^4.0.0",
|
|
86
|
-
"vitepress": "1.0.0-rc.
|
|
93
|
+
"vitepress": "1.0.0-rc.13"
|
|
87
94
|
}
|
|
88
95
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EnvironmentOptions } from './const';
|
|
2
|
-
export declare const Environment: import("vue").DefineComponent<EnvironmentOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<EnvironmentOptions>, {
|
|
3
|
-
encoding?: any;
|
|
4
|
-
}, {}>;
|