reacthub-pixitweenjs 0.2.84 → 0.2.88

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,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 };
@@ -131,3 +131,4 @@ export declare const Normal: Story;
131
131
  export declare const FadeIn: Story;
132
132
  export declare const Filters: Story;
133
133
  export declare const FilterEffects: Story;
134
+ export declare const Overlays: Story;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ export interface PixiSequenceProps {
3
+ children: React.ReactNode;
4
+ startAt: number;
5
+ endAt: number;
6
+ }
7
+ export declare const PixiSequence: (props: PixiSequenceProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import type { StoryObj } from "@storybook/react";
2
+ declare const meta: {
3
+ title: string;
4
+ component: (props: import("./PixiSequence").PixiSequenceProps) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ children: {
8
+ description: string;
9
+ control: {
10
+ type: string;
11
+ };
12
+ };
13
+ startAt: {
14
+ description: string;
15
+ control: {
16
+ type: string;
17
+ };
18
+ };
19
+ endAt: {
20
+ description: string;
21
+ control: {
22
+ type: string;
23
+ };
24
+ };
25
+ };
26
+ };
27
+ export default meta;
28
+ type Story = StoryObj<typeof meta>;
29
+ export declare const Normal: Story;
30
+ export declare const GifSequence: Story;
31
+ export declare const VideoSequence: Story;
@@ -0,0 +1 @@
1
+ export * from "./PixiSequence";
@@ -0,0 +1,30 @@
1
+ export declare enum OverlayTypes {
2
+ NONE = "none",
3
+ NORMAL = "normal",
4
+ LENSFLARE = "lensflare",
5
+ FILMSTRIP = "filmstrip",
6
+ GRUNGE = "grunge",
7
+ BRICKS = "bricks"
8
+ }
9
+ export interface Overlay {
10
+ src: string;
11
+ blendmode: "ADD" | "MULTIPLY";
12
+ alpha: number;
13
+ }
14
+ export interface Overlays {
15
+ normal: Overlay;
16
+ lensflare: Overlay;
17
+ filmstrip: Overlay;
18
+ grunge: Overlay;
19
+ bricks: Overlay;
20
+ }
21
+ export declare const overlays: Overlays;
22
+ interface PixiOverlayProps {
23
+ overlay: OverlayTypes;
24
+ width: number;
25
+ height: number;
26
+ x: number;
27
+ y: number;
28
+ }
29
+ export declare const PixiOverlayTilingSprite: (props: PixiOverlayProps) => import("react/jsx-runtime").JSX.Element;
30
+ export {};
@@ -0,0 +1,3 @@
1
+ import { RefObject } from "react";
2
+ import * as PIXI from "pixi.js";
3
+ export declare function useGsapEffect(target: RefObject<PIXI.Container>, effect: string, vars: any): undefined;
@@ -0,0 +1,4 @@
1
+ import * as PIXI from "pixi.js";
2
+ export declare const withEffectsHooks: () => {
3
+ nightVisionFilter: PIXI.Filter;
4
+ };