@tresjs/cientos 4.0.0-rc.1 → 4.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/dist/core/abstractions/AnimatedSprite/Atlas.d.ts +0 -1
- package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +1 -5
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +2 -3
- package/dist/core/abstractions/Lensflare/constants.d.ts +0 -1
- package/dist/core/abstractions/Lensflare/index.d.ts +0 -1
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +0 -1
- package/dist/core/abstractions/Reflector.vue.d.ts +0 -1
- package/dist/core/abstractions/Text3D.vue.d.ts +1 -121
- package/dist/core/abstractions/index.d.ts +0 -1
- package/dist/core/abstractions/useAnimations.d.ts +0 -1
- package/dist/core/abstractions/useFBO/component.vue.d.ts +0 -1
- package/dist/core/abstractions/useFBO/index.d.ts +0 -1
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +0 -1
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +0 -1
- package/dist/core/controls/CameraControls.vue.d.ts +356 -765
- package/dist/core/controls/KeyboardControls.vue.d.ts +1 -4
- package/dist/core/controls/MapControls.vue.d.ts +288 -667
- package/dist/core/controls/OrbitControls.vue.d.ts +288 -667
- package/dist/core/controls/PointerLockControls.vue.d.ts +2 -4
- package/dist/core/controls/TransformControls.vue.d.ts +1 -3
- package/dist/core/controls/index.d.ts +0 -1
- package/dist/core/loaders/SVG/component.vue.d.ts +0 -1
- package/dist/core/loaders/index.d.ts +0 -1
- package/dist/core/loaders/useFBX/index.d.ts +0 -1
- package/dist/core/loaders/useGLTF/index.d.ts +0 -1
- package/dist/core/loaders/useProgress.d.ts +0 -1
- package/dist/core/loaders/useVideoTexture.d.ts +0 -1
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +0 -1
- package/dist/core/materials/holographicMaterial/HolographicMaterialParameters.d.ts +2 -2
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +0 -1
- package/dist/core/materials/index.d.ts +0 -1
- package/dist/core/materials/meshGlassMaterial/material.d.ts +0 -1
- package/dist/core/materials/meshReflectionMaterial/BlurPass.d.ts +2 -3
- package/dist/core/materials/meshReflectionMaterial/ConvolutionMaterial.d.ts +0 -1
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +0 -1
- package/dist/core/materials/meshReflectionMaterial/material.d.ts +0 -1
- package/dist/core/materials/meshWobbleMaterial/material.d.ts +8 -3
- package/dist/core/misc/html/HTML.vue.d.ts +2 -4
- package/dist/core/misc/html/utils.d.ts +0 -1
- package/dist/core/misc/index.d.ts +0 -1
- package/dist/core/misc/useGLTFExporter.d.ts +0 -1
- package/dist/core/shapes/Box.vue.d.ts +0 -1
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +0 -1
- package/dist/core/shapes/Circle.vue.d.ts +0 -1
- package/dist/core/shapes/Cone.vue.d.ts +0 -1
- package/dist/core/shapes/Cylinder.vue.d.ts +0 -1
- package/dist/core/shapes/Dodecahedron.vue.d.ts +0 -1
- package/dist/core/shapes/Icosahedron.vue.d.ts +0 -1
- package/dist/core/shapes/Line2.vue.d.ts +0 -1
- package/dist/core/shapes/Octahedron.vue.d.ts +0 -1
- package/dist/core/shapes/Plane.vue.d.ts +0 -1
- package/dist/core/shapes/Ring.vue.d.ts +0 -1
- package/dist/core/shapes/RoundedBox.vue.d.ts +0 -1
- package/dist/core/shapes/Sphere.vue.d.ts +0 -1
- package/dist/core/shapes/Superformula.vue.d.ts +0 -1
- package/dist/core/shapes/Tetrahedron.vue.d.ts +0 -1
- package/dist/core/shapes/Torus.vue.d.ts +0 -1
- package/dist/core/shapes/TorusKnot.vue.d.ts +0 -1
- package/dist/core/shapes/Tube.vue.d.ts +0 -1
- package/dist/core/shapes/index.d.ts +1 -2
- package/dist/core/staging/ContactShadows.vue.d.ts +0 -1
- package/dist/core/staging/Fit.vue.d.ts +0 -1
- package/dist/core/staging/Ocean.vue.d.ts +0 -1
- package/dist/core/staging/Precipitation.vue.d.ts +1 -2
- package/dist/core/staging/Sky.vue.d.ts +0 -1
- package/dist/core/staging/Smoke.vue.d.ts +0 -1
- package/dist/core/staging/Sparkles/ShaderData.d.ts +0 -1
- package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +0 -1
- package/dist/core/staging/Sparkles/component.vue.d.ts +1 -3
- package/dist/core/staging/Sparkles/useEmptyDataTexture.d.ts +0 -1
- package/dist/core/staging/index.d.ts +0 -1
- package/dist/core/staging/useEnvironment/component.vue.d.ts +2 -3
- package/dist/core/staging/useEnvironment/envSence.d.ts +0 -1
- package/dist/core/staging/useEnvironment/index.d.ts +1 -2
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +0 -1
- package/dist/trescientos.js +1489 -1465
- package/dist/trescientos.umd.cjs +56 -56
- package/dist/utils/Gradient.d.ts +1 -3
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/types.d.ts +0 -1
- package/package.json +17 -17
package/dist/utils/Gradient.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Color } from 'three';
|
|
2
|
-
import { TresColor } from '@tresjs/core';
|
|
3
|
-
import { VectorFlexibleParams } from '@tresjs/core/dist/utils/normalize';
|
|
4
|
-
|
|
2
|
+
import { TresColor, VectorFlexibleParams } from '@tresjs/core';
|
|
5
3
|
export type Gradient<T> = T | T[] | NormalizedGradient<T>;
|
|
6
4
|
export type NormalizedGradient<T> = [number, T][];
|
|
7
5
|
export type GradientTresColor = Gradient<TresColor>;
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/cientos",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"packageManager": "pnpm@8.10.2",
|
|
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/)",
|
|
@@ -58,39 +58,39 @@
|
|
|
58
58
|
"vue": ">=3.3"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@vueuse/core": "^
|
|
62
|
-
"camera-controls": "^2.
|
|
61
|
+
"@vueuse/core": "^11.0.1",
|
|
62
|
+
"camera-controls": "^2.9.0",
|
|
63
63
|
"stats-gl": "^2.0.1",
|
|
64
64
|
"stats.js": "^0.17.0",
|
|
65
65
|
"three-custom-shader-material": "^5.4.0",
|
|
66
|
-
"three-stdlib": "^2.
|
|
66
|
+
"three-stdlib": "^2.32.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
70
|
-
"@tresjs/core": "4.2.
|
|
70
|
+
"@tresjs/core": "4.2.7",
|
|
71
71
|
"@tresjs/eslint-config": "^1.1.0",
|
|
72
|
-
"@types/node": "^
|
|
73
|
-
"@types/three": "^0.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
75
|
-
"@typescript-eslint/parser": "^
|
|
76
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
77
|
-
"eslint": "^9.
|
|
72
|
+
"@types/node": "^22.4.1",
|
|
73
|
+
"@types/three": "^0.167.1",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^8.2.0",
|
|
75
|
+
"@typescript-eslint/parser": "^8.2.0",
|
|
76
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
|
77
|
+
"eslint": "^9.9.0",
|
|
78
78
|
"eslint-plugin-vue": "^9.27.0",
|
|
79
79
|
"gsap": "^3.12.5",
|
|
80
|
-
"husky": "^9.1.
|
|
80
|
+
"husky": "^9.1.4",
|
|
81
81
|
"kolorist": "^1.8.0",
|
|
82
82
|
"pathe": "^1.1.2",
|
|
83
83
|
"release-it": "^17.6.0",
|
|
84
84
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
85
85
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
86
|
-
"three": "^0.
|
|
86
|
+
"three": "^0.167.1",
|
|
87
87
|
"typescript": "^5.5.4",
|
|
88
|
-
"unocss": "^0.
|
|
89
|
-
"vite": "^5.
|
|
88
|
+
"unocss": "^0.62.2",
|
|
89
|
+
"vite": "^5.4.1",
|
|
90
90
|
"vite-plugin-banner": "^0.7.1",
|
|
91
|
-
"vite-plugin-dts": "4.0.
|
|
91
|
+
"vite-plugin-dts": "4.0.3",
|
|
92
92
|
"vite-plugin-glsl": "^1.3.0",
|
|
93
93
|
"vite-svg-loader": "^5.1.0",
|
|
94
|
-
"vitepress": "1.3.
|
|
94
|
+
"vitepress": "1.3.3"
|
|
95
95
|
}
|
|
96
96
|
}
|