reacthub-pixitweenjs 0.2.88 → 0.2.91
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PixiBaseSpriteProps } from "../../types";
|
|
2
|
+
export declare enum SpriteType {
|
|
3
|
+
Image = "Image",
|
|
4
|
+
Gif = "Gif",
|
|
5
|
+
Video = "Video"
|
|
6
|
+
}
|
|
7
|
+
export interface TimelineTestProps {
|
|
8
|
+
startAt: number;
|
|
9
|
+
endAt: number;
|
|
10
|
+
spriteType: SpriteType;
|
|
11
|
+
pixiBaseProps?: PixiBaseSpriteProps;
|
|
12
|
+
}
|
|
13
|
+
export declare const TimelineWithGif: (props: TimelineTestProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,3 +18,28 @@ export declare const ImageProps: {
|
|
|
18
18
|
};
|
|
19
19
|
initialAlpha: number;
|
|
20
20
|
};
|
|
21
|
+
export declare const GifProps: {
|
|
22
|
+
uniqueId: string;
|
|
23
|
+
src: string;
|
|
24
|
+
locked: boolean;
|
|
25
|
+
loop: boolean;
|
|
26
|
+
applyTransformer: boolean;
|
|
27
|
+
startAt: number;
|
|
28
|
+
endAt: number;
|
|
29
|
+
frameStartAt: number;
|
|
30
|
+
frameEndAt: number;
|
|
31
|
+
transformation: {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
anchor: number;
|
|
37
|
+
rotation: number;
|
|
38
|
+
alpha: number;
|
|
39
|
+
scale: number;
|
|
40
|
+
tint: number;
|
|
41
|
+
blendMode: number;
|
|
42
|
+
colorCorrection: {};
|
|
43
|
+
};
|
|
44
|
+
initialAlpha: number;
|
|
45
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reacthub-pixitweenjs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.91",
|
|
4
4
|
"description": "reacthub-pixitweenjs is a library that provides a powerful combination of React, PixiJS, GSAP, and image manipulation capabilities in a timeline sequence. With this library, you can easily create stunning animations and interactive graphics for your React applications",
|
|
5
5
|
"author": "khanzzirfan <reacthub.ai@gmail.com>",
|
|
6
6
|
"main": "dist/index.es.js",
|