@moontra/moonui-pro 3.3.19 → 3.3.20
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/index.mjs
CHANGED
|
@@ -88962,13 +88962,13 @@ var MeshGradientInternal = ({
|
|
|
88962
88962
|
points.forEach((point, index2) => {
|
|
88963
88963
|
switch (animationType) {
|
|
88964
88964
|
case "wave":
|
|
88965
|
-
point.x += Math.sin(time + point.phase) *
|
|
88966
|
-
point.y += Math.cos(time + point.phase) *
|
|
88965
|
+
point.x += Math.sin(time + point.phase) * 0.5;
|
|
88966
|
+
point.y += Math.cos(time + point.phase) * 0.5;
|
|
88967
88967
|
break;
|
|
88968
88968
|
case "morph":
|
|
88969
88969
|
const morphAngle = time + point.phase;
|
|
88970
|
-
point.x += Math.sin(morphAngle) *
|
|
88971
|
-
point.y += Math.cos(morphAngle * 1.5) *
|
|
88970
|
+
point.x += Math.sin(morphAngle) * 1;
|
|
88971
|
+
point.y += Math.cos(morphAngle * 1.5) * 1;
|
|
88972
88972
|
break;
|
|
88973
88973
|
case "pulse":
|
|
88974
88974
|
const pulseScale = 1 + Math.sin(time * 2 + point.phase) * 0.2;
|
|
@@ -89086,7 +89086,7 @@ var MeshGradientInternal = ({
|
|
|
89086
89086
|
}
|
|
89087
89087
|
lastFrameTimeRef.current = currentTime;
|
|
89088
89088
|
if (animate4) {
|
|
89089
|
-
timeRef.current += 5;
|
|
89089
|
+
timeRef.current += speed * 2.5;
|
|
89090
89090
|
}
|
|
89091
89091
|
updateMeshPoints(canvas);
|
|
89092
89092
|
drawMeshGradient(ctx, canvas);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.20",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|