@tresjs/cientos 2.3.0 → 3.0.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/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": "2.3.0",
4
+ "version": "3.0.0",
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": "^6.0.0",
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.1",
57
- "@types/three": "^0.153.0",
58
- "@typescript-eslint/eslint-plugin": "^5.61.0",
59
- "@typescript-eslint/parser": "^5.61.0",
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.44.0",
62
- "eslint-config-prettier": "^8.8.0",
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.0.0",
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.154.0",
71
+ "three": "^0.155.0",
72
72
  "tweakpane": "^3.1.10",
73
73
  "typescript": "^5.1.6",
74
- "unocss": "^0.53.4",
75
- "vite": "^4.4.2",
74
+ "unocss": "^0.54.0",
75
+ "vite": "^4.4.7",
76
76
  "vite-plugin-banner": "^0.7.0",
77
- "vite-plugin-dts": "3.1.1",
77
+ "vite-plugin-dts": "3.3.1",
78
78
  "vite-svg-loader": "^4.0.0",
79
- "vitepress": "1.0.0-beta.5"
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,2 +0,0 @@
1
- import { Camera } from 'three';
2
- export declare function useMouseParallax(disabled: boolean | undefined, factor: number | undefined, ease: boolean | undefined, camera: Camera | undefined): void;
@@ -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}