@tresjs/cientos 2.3.0 → 3.0.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.
- package/dist/core/abstractions/MouseParallax.vue.d.ts +58 -0
- package/dist/core/abstractions/Stars.vue.d.ts +0 -17
- package/dist/core/abstractions/index.d.ts +1 -2
- package/dist/core/controls/CameraControls.vue.d.ts +8098 -0
- package/dist/core/controls/OrbitControls.vue.d.ts +63 -63
- package/dist/core/controls/PointerLockControls.vue.d.ts +3 -3225
- package/dist/core/controls/ScrollControls.vue.d.ts +5 -5
- package/dist/core/controls/index.d.ts +2 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/staging/Backdrop.vue.d.ts +44 -0
- package/dist/core/staging/index.d.ts +2 -0
- package/dist/trescientos.js +9559 -8000
- package/dist/trescientos.umd.cjs +22 -17
- package/package.json +17 -15
- package/dist/core/abstractions/useParallax/component.d.ts +0 -27
- package/dist/core/abstractions/useParallax/index.d.ts +0 -2
- package/dist/core/useCientos.d.ts +0 -11
- package/dist/style.css +0 -8
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
3
|
"description": "Collection of useful helpers and fully functional, ready-made abstractions for Tres",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@8.4.0",
|
|
7
7
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
@@ -45,41 +45,43 @@
|
|
|
45
45
|
"docs:preview": "vitepress preview docs"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@tresjs/core": ">=2.1.3",
|
|
49
48
|
"three": ">=0.133",
|
|
50
49
|
"vue": ">=3.3"
|
|
51
50
|
},
|
|
52
51
|
"devDependencies": {
|
|
53
52
|
"@alvarosabu/prettier-config": "^1.3.0",
|
|
54
|
-
"@release-it/conventional-changelog": "^
|
|
53
|
+
"@release-it/conventional-changelog": "^7.0.0",
|
|
54
|
+
"@tweakpane/core": "^1.1.9",
|
|
55
55
|
"@tweakpane/plugin-essentials": "^0.1.8",
|
|
56
|
-
"@types/node": "^20.4.
|
|
57
|
-
"@types/three": "^0.
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
59
|
-
"@typescript-eslint/parser": "^
|
|
56
|
+
"@types/node": "^20.4.5",
|
|
57
|
+
"@types/three": "^0.154.0",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
59
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
60
60
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
|
-
"eslint": "^8.
|
|
62
|
-
"eslint-config-prettier": "^8.
|
|
61
|
+
"eslint": "^8.46.0",
|
|
62
|
+
"eslint-config-prettier": "^8.9.0",
|
|
63
63
|
"eslint-plugin-vue": "^9.15.1",
|
|
64
64
|
"gsap": "^3.12.2",
|
|
65
65
|
"kolorist": "^1.8.0",
|
|
66
66
|
"pathe": "^1.1.1",
|
|
67
67
|
"prettier": "^3.0.0",
|
|
68
|
-
"release-it": "^16.
|
|
68
|
+
"release-it": "^16.1.3",
|
|
69
69
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
70
70
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
71
|
-
"three": "^0.
|
|
71
|
+
"three": "^0.155.0",
|
|
72
72
|
"tweakpane": "^3.1.10",
|
|
73
73
|
"typescript": "^5.1.6",
|
|
74
|
-
"unocss": "^0.
|
|
75
|
-
"vite": "^4.4.
|
|
74
|
+
"unocss": "^0.54.0",
|
|
75
|
+
"vite": "^4.4.7",
|
|
76
76
|
"vite-plugin-banner": "^0.7.0",
|
|
77
|
-
"vite-plugin-dts": "3.
|
|
77
|
+
"vite-plugin-dts": "3.3.1",
|
|
78
78
|
"vite-svg-loader": "^4.0.0",
|
|
79
|
-
"vitepress": "1.0.0-beta.
|
|
79
|
+
"vitepress": "1.0.0-beta.6"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
+
"@tresjs/core": "3.0.1",
|
|
82
83
|
"@vueuse/core": "^10.2.1",
|
|
84
|
+
"camera-controls": "^2.7.0",
|
|
83
85
|
"three-stdlib": "^2.23.13"
|
|
84
86
|
}
|
|
85
87
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface MouseParallaxProps {
|
|
2
|
-
/**
|
|
3
|
-
* Whether to disable the mouse controls.
|
|
4
|
-
* @type {boolean}
|
|
5
|
-
* @default false
|
|
6
|
-
* @memberof MouseParallaxProps
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The factor to multiply the mouse movement by.
|
|
12
|
-
* @type {number}
|
|
13
|
-
* @default 2.5
|
|
14
|
-
* @memberof MouseParallaxProps
|
|
15
|
-
*
|
|
16
|
-
**/
|
|
17
|
-
factor?: number;
|
|
18
|
-
/**
|
|
19
|
-
* The factor to multiply the mouse movement by.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @default true
|
|
22
|
-
* @memberof MouseParallaxProps
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
25
|
-
ease?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare const MouseParallax: import("vue").DefineComponent<MouseParallaxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<MouseParallaxProps>, {}, {}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Allows to use and extend the state of the core package.
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @return {*}
|
|
6
|
-
*/
|
|
7
|
-
export declare function useCientos(): {
|
|
8
|
-
state: import("@tresjs/core").TresState;
|
|
9
|
-
setState: (key: string, value: any) => void;
|
|
10
|
-
extend: (objects: any) => void;
|
|
11
|
-
};
|
package/dist/style.css
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* name: @tresjs/cientos
|
|
3
|
-
* version: v2.3.0
|
|
4
|
-
* (c) 2023
|
|
5
|
-
* description: Collection of useful helpers and fully functional, ready-made abstractions for Tres
|
|
6
|
-
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
|
-
*/
|
|
8
|
-
.scrollContainer{position:absolute;width:100%;height:100%;top:0px;left:0px}.fixedContainer{position:sticky;top:0px;left:0px;width:100%;height:100%;overflow:hidden}
|