@cliquify.me/animations 7.0.0 → 7.0.2
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/utils.d.ts +4 -1
- package/package.json +3 -3
package/dist/utils.d.ts
CHANGED
|
@@ -12,7 +12,10 @@ export interface BoundingBoxCorners {
|
|
|
12
12
|
width: number;
|
|
13
13
|
height: number;
|
|
14
14
|
}
|
|
15
|
-
export declare const getBoundingBoxCorners: (elementX: number,
|
|
15
|
+
export declare const getBoundingBoxCorners: (elementX: number, // Posición X del elemento (centro)
|
|
16
|
+
elementY: number, // Posición Y del elemento (centro)
|
|
17
|
+
elementWidth: number, elementHeight: number, rotationAngle: number, // Ángulo en grados
|
|
18
|
+
scaleValue?: number) => BoundingBoxCorners;
|
|
16
19
|
export declare const getRotatedElementCorners: (elementX: number, elementY: number, elementWidth: number, elementHeight: number, rotationAngle: number, scaleValue?: number) => BoundingBoxPoint[];
|
|
17
20
|
export declare const replaceTranslateX: (transformString: string, newTranslateXValue: number) => string;
|
|
18
21
|
export declare const replaceTranslateXFlexible: (transformString: string, newTranslateXValue: number, unit?: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cliquify.me/animations",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typescript": "^5.3.3",
|
|
27
27
|
"vite": "^5.2.0",
|
|
28
28
|
"vite-plugin-dts": "^3.9.1",
|
|
29
|
-
"@cliquify.me/types": "6.0.
|
|
29
|
+
"@cliquify.me/types": "6.0.2",
|
|
30
30
|
"@cliquify.me/typescript-config": "0.0.2"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@designcombo/events": "^1.0.2",
|
|
40
40
|
"react": "^18.2.0",
|
|
41
41
|
"remotion": "4.0.221",
|
|
42
|
-
"@cliquify.me/types": "6.0.
|
|
42
|
+
"@cliquify.me/types": "6.0.2"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"dev": "vite",
|