reacthub-pixitweenjs 0.2.107-alpha.26 → 0.2.107-alpha.29
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/components/PixiGifSprite/PixiGifSprite.stories.d.ts +1 -1
- package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +2 -1
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +2 -1
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +1 -1
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +2 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +1 -1
- package/dist/hooks/useDeepEffect.d.ts +2 -0
- package/dist/hooks/useGsapEffect.d.ts +2 -1
- package/dist/index.es.js +6660 -6214
- package/dist/index.umd.js +108 -92
- package/dist/types/Animations.d.ts +32 -0
- package/dist/types/BaseProps.d.ts +2 -1
- package/dist/utils/GsapAnims.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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("
|
|
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("
|
|
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?:
|
|
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("
|
|
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?:
|
|
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("
|
|
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: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { RefObject } from "react";
|
|
2
2
|
import * as PIXI from "pixi.js";
|
|
3
|
-
|
|
3
|
+
import { Animations } from "../types/Animations";
|
|
4
|
+
export declare function useGsapEffect(target: RefObject<PIXI.Container>, effect: Animations | string, vars: any): gsap.core.Tween;
|