reacthub-pixitweenjs 0.2.107-alpha.26 → 0.2.107-alpha.27

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.
@@ -2,7 +2,7 @@
2
2
  import type { StoryObj } from "@storybook/react";
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import("react").ForwardRefExoticComponent<import("./PixiGifSprite").PixiGifSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
5
+ component: import("react").ForwardRefExoticComponent<import("./PixiGifSprite").PixiGifSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
6
6
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {
@@ -3,7 +3,7 @@ import type { StoryObj } from "@storybook/react";
3
3
  import { Effects } from "../../types/Effects";
4
4
  declare const meta: {
5
5
  title: string;
6
- component: import("react").ForwardRefExoticComponent<import("../..").PixiBaseSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
6
+ component: import("react").ForwardRefExoticComponent<import("../../types").PixiBaseSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
7
7
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
8
8
  tags: string[];
9
9
  argTypes: {
@@ -132,3 +132,4 @@ export declare const Filters: Story;
132
132
  export declare const FilterEffects: Story;
133
133
  export declare const Overlays: Story;
134
134
  export declare const PointerTests: Story;
135
+ export declare const Animation: Story;
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
3
3
  import { Effects } from "../../types/Effects";
4
+ import { Animations } from "../../types";
4
5
  export interface PixiSvgPathSpriteProps extends PixiBaseSpriteProps {
5
6
  uniqueId: string;
6
7
  path: string;
@@ -17,7 +18,7 @@ export interface PixiSvgPathSpriteProps extends PixiBaseSpriteProps {
17
18
  scale?: number | [number, number];
18
19
  tint?: number;
19
20
  blendMode?: number;
20
- animation?: string;
21
+ animation?: Animations;
21
22
  hexColor?: string;
22
23
  fill?: string;
23
24
  fontWeight?: string;
@@ -2,7 +2,7 @@
2
2
  import type { StoryObj } from "@storybook/react";
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import("react").ForwardRefExoticComponent<import("./PixiSvgPathSprite").PixiSvgPathSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
5
+ component: import("react").ForwardRefExoticComponent<import("./PixiSvgPathSprite").PixiSvgPathSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
6
6
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { PixiBaseSpriteProps, ForwardedRefResponse } from "../../types/BaseProps";
3
3
  import { Effects } from "../../types/Effects";
4
+ import { Animations } from "../../types";
4
5
  export interface PixiTextSpriteProps extends PixiBaseSpriteProps {
5
6
  text: string;
6
7
  startAt: number;
@@ -17,7 +18,7 @@ export interface PixiTextSpriteProps extends PixiBaseSpriteProps {
17
18
  scale?: number | [number, number];
18
19
  tint?: number;
19
20
  blendMode?: number;
20
- animation?: string;
21
+ animation?: Animations;
21
22
  fontWeight?: string;
22
23
  fontSize?: number;
23
24
  fontFamily?: string;
@@ -2,7 +2,7 @@
2
2
  import type { StoryObj } from "@storybook/react";
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import("react").ForwardRefExoticComponent<import("./PixiVideoSprite").PixiVideoSpriteProps & import("react").RefAttributes<import("../..").ForwardedRefResponse | null>>;
5
+ component: import("react").ForwardRefExoticComponent<import("./PixiVideoSprite").PixiVideoSpriteProps & import("react").RefAttributes<import("../../types").ForwardedRefResponse | null>>;
6
6
  decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {
@@ -0,0 +1,2 @@
1
+ declare const useDeepEffect: (effectFunc: any, deps: any[]) => void;
2
+ export default useDeepEffect;
@@ -1,3 +1,4 @@
1
1
  import { RefObject } from "react";
2
2
  import * as PIXI from "pixi.js";
3
- export declare function useGsapEffect(target: RefObject<PIXI.Container>, effect: string, vars: any): undefined;
3
+ import { Animations } from "../types/Animations";
4
+ export declare function useGsapEffect(target: RefObject<PIXI.Container>, effect: Animations | string, vars: any): gsap.core.Tween;