reacthub-pixitweenjs 0.2.107-alpha.108 → 0.2.107-alpha.109
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/.gitkeep +0 -0
- package/dist/components/PixiAnimatedSprite/PixiAnimatedSprite.d.ts +23 -0
- package/dist/components/PixiAnimatedSprite/index.d.ts +1 -0
- package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +19 -0
- package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +15 -0
- package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +105 -0
- package/dist/components/PixiAudioSprite/index.d.ts +1 -0
- package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +18 -0
- package/dist/components/PixiAudioSprite/wave-config.d.ts +4 -0
- package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +19 -0
- package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +153 -0
- package/dist/components/PixiGifSprite/index.d.ts +2 -0
- package/dist/components/PixiGsapAnims/FadeIn.d.ts +11 -0
- package/dist/components/PixiGsapAnims/PixiFlipContainer.d.ts +9 -0
- package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +4 -0
- package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +136 -0
- package/dist/components/PixiImageSprite/index.d.ts +1 -0
- package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +14 -0
- package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +149 -0
- package/dist/components/PixiLottieSprite/index.d.ts +1 -0
- package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +26 -0
- package/dist/components/PixiRemotionSprite/index.d.ts +1 -0
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +64 -0
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +121 -0
- package/dist/components/PixiSVGSprite/index.d.ts +1 -0
- package/dist/components/PixiSequence/PixiSeqenceWrapper.d.ts +9 -0
- package/dist/components/PixiSequence/PixiSequence.d.ts +11 -0
- package/dist/components/PixiSequence/PixiSequence.stories.d.ts +32 -0
- package/dist/components/PixiSequence/index.d.ts +2 -0
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +85 -0
- package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +130 -0
- package/dist/components/PixiTextSprite/index.d.ts +1 -0
- package/dist/components/PixiTransformer/PixiTransformer.d.ts +19 -0
- package/dist/components/PixiTransformer/Transformer.d.ts +39 -0
- package/dist/components/PixiTransformer/applyEventProps.d.ts +10 -0
- package/dist/components/PixiTransformer/index.d.ts +1 -0
- package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +26 -0
- package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +22 -0
- package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +136 -0
- package/dist/components/PixiVideoSprite/index.d.ts +2 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/declare.module.d.ts +0 -0
- package/dist/events/Events.d.ts +7 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/hocs/AbstractContainer.d.ts +12 -0
- package/dist/hocs/OverlayTilingSprite.d.ts +30 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebouncePointerEvents.d.ts +6 -0
- package/dist/hooks/useDeepEffect.d.ts +2 -0
- package/dist/hooks/useGsapEffect.d.ts +3 -0
- package/dist/hooks/withEffectsHook.d.ts +5 -0
- package/dist/hooks/withFiltersHook.d.ts +29 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +27262 -0
- package/dist/index.umd.js +2005 -0
- package/dist/providers/AudioContextProvider.d.ts +12 -0
- package/dist/providers/GsapPixieContextProvider.d.ts +47 -0
- package/dist/providers/index.d.ts +1 -0
- package/dist/stories/Features/TestHowlerAudioFiles.d.ts +2 -0
- package/dist/stories/Features/TimelineAnimations.d.ts +15 -0
- package/dist/stories/Features/TimelineTest.d.ts +15 -0
- package/dist/stories/Features/TimelineTest.stories.d.ts +21 -0
- package/dist/stories/Features/TimelineTestAudios.d.ts +15 -0
- package/dist/stories/Features/TimelineTestWithVideos.d.ts +15 -0
- package/dist/stories/Features/TimelineWithGif.d.ts +21 -0
- package/dist/stories/Features/common.tests.d.ts +411 -0
- package/dist/types/Animations.d.ts +73 -0
- package/dist/types/BaseProps.d.ts +70 -0
- package/dist/types/BlendModes.d.ts +19 -0
- package/dist/types/Effects.d.ts +20 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/transformation.d.ts +12 -0
- package/dist/utils/AppStateProvider.d.ts +11 -0
- package/dist/utils/AppStateSequenceProvider.d.ts +11 -0
- package/dist/utils/AppStateStage.d.ts +6 -0
- package/dist/utils/AppWrapper.d.ts +7 -0
- package/dist/utils/ContextBridge.d.ts +7 -0
- package/dist/utils/GsapAnim.d.ts +29 -0
- package/dist/utils/GsapAnims.d.ts +2 -0
- package/dist/utils/InteractionManager.d.ts +18 -0
- package/dist/utils/PixiStage.d.ts +9 -0
- package/dist/utils/VideoSeekBar.d.ts +2 -0
- package/dist/utils/isRemoteAsset.d.ts +1 -0
- package/dist/utils/useDebounce.d.ts +1 -0
- package/dist/utils/useDeepEffect.d.ts +4 -0
- package/package.json +1 -1
package/dist/.gitkeep
ADDED
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PIXI from "pixi.js";
|
|
3
|
+
type PixiAnimatedSpriteProps = {
|
|
4
|
+
forwardRef: any;
|
|
5
|
+
isPlaying: boolean;
|
|
6
|
+
images?: string[] | undefined;
|
|
7
|
+
initialFrame?: number | undefined;
|
|
8
|
+
scale?: number | [number, number];
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
anchor?: number;
|
|
14
|
+
rotation?: number;
|
|
15
|
+
alpha?: number;
|
|
16
|
+
animationSpeed?: number;
|
|
17
|
+
textures?: PIXI.Texture[] | undefined;
|
|
18
|
+
loop?: boolean;
|
|
19
|
+
onComplete?: () => void;
|
|
20
|
+
onFrameChange?: (currentFrame: number) => void;
|
|
21
|
+
};
|
|
22
|
+
declare const PixiAnimatedSprite: React.MemoExoticComponent<({ isPlaying, forwardRef, ...props }: PixiAnimatedSpriteProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
+
export default PixiAnimatedSprite;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PixiAnimatedSprite } from "./PixiAnimatedSprite";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Howl } from "howler";
|
|
2
|
+
interface HowlerAudioPlayerProps {
|
|
3
|
+
src: string;
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
}
|
|
7
|
+
interface IHowlerAudioPlayer {
|
|
8
|
+
sound: Howl | null;
|
|
9
|
+
isPlaying: boolean;
|
|
10
|
+
currentTime: number;
|
|
11
|
+
handlePause: () => void;
|
|
12
|
+
handlePlay: () => void;
|
|
13
|
+
togglePlay: () => void;
|
|
14
|
+
handleSeek: (newTime: number) => void;
|
|
15
|
+
playFromTime: (time: number) => void;
|
|
16
|
+
}
|
|
17
|
+
type UseHowlerAudioPlayer = (props: HowlerAudioPlayerProps) => IHowlerAudioPlayer;
|
|
18
|
+
declare const useHowlerAudioPlayer: UseHowlerAudioPlayer;
|
|
19
|
+
export default useHowlerAudioPlayer;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
+
export interface PixiAudioSpriteProps extends PixiBaseSpriteProps {
|
|
4
|
+
uniqueId: string;
|
|
5
|
+
src: string;
|
|
6
|
+
startAt: number;
|
|
7
|
+
endAt: number;
|
|
8
|
+
audioStartAt: number;
|
|
9
|
+
audioEndAt: number;
|
|
10
|
+
mute: boolean;
|
|
11
|
+
speed: number;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const PixiAudioSprite: React.ForwardRefExoticComponent<PixiAudioSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
15
|
+
export default PixiAudioSprite;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
import { Waveforms } from "../../types/Effects";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<import("./PixiAudioSprite").PixiAudioSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
|
|
7
|
+
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
uniqueId: {
|
|
11
|
+
control: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
src: {
|
|
15
|
+
control: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
startAt: {
|
|
19
|
+
control: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
endAt: {
|
|
23
|
+
control: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
audioStartAt: {
|
|
27
|
+
control: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
audioEndAt: {
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
mute: {
|
|
35
|
+
control: string;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
speed: {
|
|
39
|
+
control: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
visible: {
|
|
43
|
+
control: string;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
transformation: {
|
|
47
|
+
control: string;
|
|
48
|
+
description: string;
|
|
49
|
+
x: {
|
|
50
|
+
control: string;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
y: {
|
|
54
|
+
control: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
width: {
|
|
58
|
+
control: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
height: {
|
|
62
|
+
control: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
anchor: {
|
|
66
|
+
control: string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
rotation: {
|
|
70
|
+
control: string;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
alpha: {
|
|
74
|
+
control: string;
|
|
75
|
+
min: number;
|
|
76
|
+
max: number;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
scale: {
|
|
80
|
+
control: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
tint: {
|
|
84
|
+
control: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
blendMode: {
|
|
88
|
+
control: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
waveform: {
|
|
92
|
+
type: string;
|
|
93
|
+
options: Waveforms[];
|
|
94
|
+
description: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default meta;
|
|
100
|
+
type Story = StoryObj<typeof meta>;
|
|
101
|
+
export declare const Normal: Story;
|
|
102
|
+
export declare const Visualization: Story;
|
|
103
|
+
export declare const Speech: Story;
|
|
104
|
+
export declare const Muted: Story;
|
|
105
|
+
export declare const SplitPosition: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PixiAudioSprite } from "./PixiAudioSprite";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import AudioMotionAnalyzer from "audiomotion-analyzer";
|
|
3
|
+
import { PixiBaseSpriteProps } from "../../types/BaseProps";
|
|
4
|
+
export type AudioVisualizerProps = Partial<PixiBaseSpriteProps> & {
|
|
5
|
+
uniqueId: string;
|
|
6
|
+
src: string;
|
|
7
|
+
muted?: boolean;
|
|
8
|
+
volume?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
playbackRate?: number;
|
|
11
|
+
visible?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const useAudioVisualizer: (audioProps: AudioVisualizerProps) => {
|
|
14
|
+
audioMotionRef: React.MutableRefObject<AudioMotionAnalyzer | undefined>;
|
|
15
|
+
blobUrl: string;
|
|
16
|
+
canvasRef: React.MutableRefObject<HTMLDivElement | undefined>;
|
|
17
|
+
};
|
|
18
|
+
export default useAudioVisualizer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
+
export interface PixiGifSpriteProps extends PixiBaseSpriteProps {
|
|
4
|
+
uniqueId: string;
|
|
5
|
+
src: string;
|
|
6
|
+
startAt: number;
|
|
7
|
+
endAt: number;
|
|
8
|
+
frameStartAt: number;
|
|
9
|
+
frameEndAt: number;
|
|
10
|
+
locked: boolean;
|
|
11
|
+
loop: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* PixiGifSprite Component is used to render gif image
|
|
15
|
+
* @param props Gif Sprite props
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
declare const PixiGifSprite: React.ForwardRefExoticComponent<PixiGifSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
19
|
+
export default PixiGifSprite;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").ForwardRefExoticComponent<import("./PixiGifGsapSync").PixiGifSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
|
|
6
|
+
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {
|
|
9
|
+
uniqueId: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
src: {
|
|
14
|
+
control: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
transformation: {
|
|
18
|
+
control: string;
|
|
19
|
+
description: string;
|
|
20
|
+
x: {
|
|
21
|
+
control: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
y: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
width: {
|
|
29
|
+
control: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
height: {
|
|
33
|
+
control: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
anchor: {
|
|
37
|
+
control: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
rotation: {
|
|
41
|
+
control: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
alpha: {
|
|
45
|
+
control: string;
|
|
46
|
+
min: number;
|
|
47
|
+
max: number;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
scale: {
|
|
51
|
+
control: string;
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
tint: {
|
|
55
|
+
control: string;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
blendMode: {
|
|
59
|
+
control: string;
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
colorCorrection: {
|
|
63
|
+
control: string;
|
|
64
|
+
description: string;
|
|
65
|
+
brightness: {
|
|
66
|
+
control: string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
contrast: {
|
|
70
|
+
control: string;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
saturation: {
|
|
74
|
+
control: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
alpha: {
|
|
78
|
+
control: string;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
applyTransformer: {
|
|
84
|
+
control: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
startAt: {
|
|
88
|
+
control: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
endAt: {
|
|
92
|
+
control: string;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
frameStartAt: {
|
|
96
|
+
control: string;
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
frameEndAt: {
|
|
100
|
+
control: string;
|
|
101
|
+
description: string;
|
|
102
|
+
};
|
|
103
|
+
visible: {
|
|
104
|
+
control: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
onAnchorTransformationEnd: {
|
|
108
|
+
action: string;
|
|
109
|
+
description: string;
|
|
110
|
+
};
|
|
111
|
+
pointerdown: {
|
|
112
|
+
action: string;
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
pointerup: {
|
|
116
|
+
action: string;
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
mousedown: {
|
|
120
|
+
action: string;
|
|
121
|
+
description: string;
|
|
122
|
+
};
|
|
123
|
+
mouseup: {
|
|
124
|
+
action: string;
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
pointerover: {
|
|
128
|
+
action: string;
|
|
129
|
+
description: string;
|
|
130
|
+
};
|
|
131
|
+
mouseover: {
|
|
132
|
+
action: string;
|
|
133
|
+
description: string;
|
|
134
|
+
};
|
|
135
|
+
mouseout: {
|
|
136
|
+
action: string;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
139
|
+
pointerout: {
|
|
140
|
+
action: string;
|
|
141
|
+
description: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export default meta;
|
|
146
|
+
type Story = StoryObj<typeof meta>;
|
|
147
|
+
export declare const Normal: Story;
|
|
148
|
+
export declare const Multiple: Story;
|
|
149
|
+
export declare const FadeIn: Story;
|
|
150
|
+
export declare const Filters: Story;
|
|
151
|
+
export declare const SplitPosition: Story;
|
|
152
|
+
export declare const SplitStartPos: Story;
|
|
153
|
+
export declare const StipopGif: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface FadeInProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
vars: {
|
|
5
|
+
duration: number;
|
|
6
|
+
ease: string;
|
|
7
|
+
};
|
|
8
|
+
effect?: "pluse" | "bouncein" | "spin";
|
|
9
|
+
}
|
|
10
|
+
declare function FadeIn(props: FadeInProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { FadeIn };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface PixiFlipContainerProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
startAt: number;
|
|
5
|
+
duration: number;
|
|
6
|
+
uniqueId?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function PixiFlipContainer(props: PixiFlipContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { PixiFlipContainer };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
+
declare const PixiImageSprite: React.ForwardRefExoticComponent<PixiBaseSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
4
|
+
export default PixiImageSprite;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from "@storybook/react";
|
|
3
|
+
import { Effects } from "../../types/Effects";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<import("../../types").PixiBaseSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
|
|
7
|
+
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
uniqueId: {
|
|
11
|
+
control: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
src: {
|
|
15
|
+
control: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
transformation: {
|
|
19
|
+
control: string;
|
|
20
|
+
description: string;
|
|
21
|
+
x: {
|
|
22
|
+
control: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
y: {
|
|
26
|
+
control: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
width: {
|
|
30
|
+
control: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
height: {
|
|
34
|
+
control: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
anchor: {
|
|
38
|
+
control: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
rotation: {
|
|
42
|
+
control: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
alpha: {
|
|
46
|
+
control: string;
|
|
47
|
+
min: number;
|
|
48
|
+
max: number;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
scale: {
|
|
52
|
+
control: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
tint: {
|
|
56
|
+
control: string;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
blendMode: {
|
|
60
|
+
control: string;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
effects: {
|
|
64
|
+
type: string;
|
|
65
|
+
options: Effects[];
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
colorCorrection: {
|
|
69
|
+
control: string;
|
|
70
|
+
description: string;
|
|
71
|
+
enabled: {
|
|
72
|
+
control: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
brightness: {
|
|
76
|
+
control: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
contrast: {
|
|
80
|
+
control: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
saturation: {
|
|
84
|
+
control: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
alpha: {
|
|
88
|
+
control: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
applyTransformer: {
|
|
94
|
+
control: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
startAt: {
|
|
98
|
+
control: string;
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
endAt: {
|
|
102
|
+
control: string;
|
|
103
|
+
description: string;
|
|
104
|
+
};
|
|
105
|
+
visible: {
|
|
106
|
+
control: string;
|
|
107
|
+
description: string;
|
|
108
|
+
};
|
|
109
|
+
onAnchorTransformationEnd: {
|
|
110
|
+
action: string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
pointerdown: {
|
|
114
|
+
action: string;
|
|
115
|
+
description: string;
|
|
116
|
+
};
|
|
117
|
+
pointerout: {
|
|
118
|
+
action: string;
|
|
119
|
+
description: string;
|
|
120
|
+
};
|
|
121
|
+
pointerover: {
|
|
122
|
+
action: string;
|
|
123
|
+
description: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
export default meta;
|
|
128
|
+
type Story = StoryObj<typeof meta>;
|
|
129
|
+
export declare const Normal: Story;
|
|
130
|
+
export declare const FadeIn: Story;
|
|
131
|
+
export declare const Filters: Story;
|
|
132
|
+
export declare const FilterEffects: Story;
|
|
133
|
+
export declare const Overlays: Story;
|
|
134
|
+
export declare const PointerTests: Story;
|
|
135
|
+
export declare const Animation: Story;
|
|
136
|
+
export declare const PointerAnimation: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PixiImageSprite } from "./PixiImageSprite";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
|
|
3
|
+
export interface PixiLottieSpriteProps extends PixiBaseSpriteProps {
|
|
4
|
+
uniqueId: string;
|
|
5
|
+
src: string;
|
|
6
|
+
startAt: number;
|
|
7
|
+
endAt: number;
|
|
8
|
+
frameStartAt: number;
|
|
9
|
+
frameEndAt: number;
|
|
10
|
+
locked: boolean;
|
|
11
|
+
loop: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const PixiLottieSprite: React.ForwardRefExoticComponent<PixiLottieSpriteProps & React.RefAttributes<ForwardedRefResponse | null>>;
|
|
14
|
+
export default PixiLottieSprite;
|