reacthub-pixitweenjs 0.2.107-test.1 → 0.2.109-alpha.3
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/PixiAnimatedSprite/index.d.ts +1 -1
- package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +2 -1
- package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +1 -1
- package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +4 -4
- package/dist/components/PixiAudioSprite/index.d.ts +1 -1
- package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +2 -2
- package/dist/components/PixiAudioSprite/wave-config.d.ts +3 -2
- package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +1 -1
- package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +3 -3
- package/dist/components/PixiGifSprite/index.d.ts +2 -2
- package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +1 -1
- package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +4 -4
- package/dist/components/PixiImageSprite/index.d.ts +1 -1
- package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +1 -1
- package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +3 -3
- package/dist/components/PixiLottieSprite/index.d.ts +1 -1
- package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +1 -1
- package/dist/components/PixiRemotionSprite/index.d.ts +1 -1
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +3 -3
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +3 -3
- package/dist/components/PixiSVGSprite/index.d.ts +1 -1
- package/dist/components/PixiSequence/PixiSequence.stories.d.ts +3 -2
- package/dist/components/PixiSequence/index.d.ts +2 -2
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +4 -3
- package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +3 -3
- package/dist/components/PixiTextSprite/index.d.ts +1 -1
- package/dist/components/PixiTransformer/PixiDropdownMenu.d.ts +1 -2
- package/dist/components/PixiTransformer/PixiTransformer.d.ts +1 -1
- package/dist/components/PixiTransformer/PixiTransformerMenu.d.ts +2 -2
- package/dist/components/PixiTransformer/Transformer.d.ts +3 -3
- package/dist/components/PixiTransformer/index.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +1 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +3 -3
- package/dist/components/PixiVideoSprite/index.d.ts +2 -2
- package/dist/components/index.d.ts +10 -10
- package/dist/events/Events.d.ts +3 -2
- package/dist/events/index.d.ts +1 -1
- package/dist/hocs/AbstractContainer.d.ts +3 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useGsapEffect.d.ts +15 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +19124 -13813
- package/dist/index.umd.js +154 -148
- package/dist/providers/GsapPixieContextProvider.d.ts +1 -0
- package/dist/providers/index.d.ts +1 -1
- package/dist/stories/Features/TimelineTest.stories.d.ts +3 -2
- package/dist/types/BaseProps.d.ts +14 -6
- package/dist/types/index.d.ts +4 -4
- package/dist/types/transformation.d.ts +1 -0
- package/dist/utils/GsapAnims.d.ts +2 -1
- package/dist/utils/InteractionManager.d.ts +1 -2
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './GsapPixieContextProvider';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: (props: import(
|
|
5
|
+
component: (props: import('./TimelineTest').TimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
argTypes: {
|
|
7
8
|
sequences: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { Effects, Waveforms } from './Effects';
|
|
2
|
+
import { OverlayTypes } from '../hocs/OverlayTilingSprite';
|
|
3
|
+
import { Animations } from './Animations';
|
|
4
|
+
|
|
5
5
|
export interface PixiBaseSpriteProps {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
uniqueId: string;
|
|
@@ -52,6 +52,7 @@ export interface PixiBaseSpriteProps {
|
|
|
52
52
|
effect?: Effects;
|
|
53
53
|
overlay?: OverlayTypes;
|
|
54
54
|
waveform?: Waveforms;
|
|
55
|
+
fontSize?: number;
|
|
55
56
|
};
|
|
56
57
|
pointerdown?: () => void;
|
|
57
58
|
pointerup?: () => void;
|
|
@@ -64,7 +65,14 @@ export interface PixiBaseSpriteProps {
|
|
|
64
65
|
applyTransformer?: boolean;
|
|
65
66
|
onAnchorTransformationEnd?: (endData: any) => void;
|
|
66
67
|
}
|
|
68
|
+
export type containerScale = {
|
|
69
|
+
x: number;
|
|
70
|
+
y: number;
|
|
71
|
+
};
|
|
67
72
|
export interface ForwardedRefResponse {
|
|
68
|
-
getIsTransformerDragging
|
|
69
|
-
getIsMouseOverTransformer
|
|
73
|
+
getIsTransformerDragging?: () => boolean;
|
|
74
|
+
getIsMouseOverTransformer?: () => boolean;
|
|
75
|
+
setWordWrap?: (width: number, containerScale: containerScale) => void;
|
|
76
|
+
setFontSizeAndTransform?: (width: number, fontSize: number, containerScale: containerScale) => void;
|
|
77
|
+
resetScale?: () => void;
|
|
70
78
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './Animations';
|
|
2
|
+
export * from './BaseProps';
|
|
3
|
+
export * from './BlendModes';
|
|
4
|
+
export * from './transformation';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type PixiInteractionManagerProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
options?: {
|
|
@@ -14,5 +13,5 @@ type PixiInteractionManagerProps = {
|
|
|
14
13
|
* @see https://pixijs.download/dev/docs/PIXI.InteractionManager.html#on
|
|
15
14
|
*
|
|
16
15
|
* */
|
|
17
|
-
declare const InteractionManager: ({ children, options, }: PixiInteractionManagerProps) => import(
|
|
16
|
+
declare const InteractionManager: ({ children, options, }: PixiInteractionManagerProps) => import('react').ReactNode;
|
|
18
17
|
export default InteractionManager;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reacthub-pixitweenjs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.109-alpha.3",
|
|
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",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"start": "npm run storybook",
|
|
44
44
|
"build-storybook": "storybook build --loglevel warn",
|
|
45
45
|
"init-msw": "msw init public/",
|
|
46
|
-
"release": "standard-version --release-as patch &&npm publish",
|
|
47
|
-
"release:alpha": "standard-version --prerelease alpha &&npm publish",
|
|
48
|
-
"release:
|
|
46
|
+
"release": "standard-version --release-as patch &&npm publish --access public",
|
|
47
|
+
"release:alpha": "standard-version --prerelease alpha &&npm publish --access public",
|
|
48
|
+
"release:prealpha": "standard-version --prerelease prealpha --tag prealpha &&npm publish --access public",
|
|
49
49
|
"chromatic": "env-cmd -f .env.dev chromatic --auto-accept-changes",
|
|
50
50
|
"deploy": "netlify deploy --prod"
|
|
51
51
|
},
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"lottie-web": "^5.10.2",
|
|
112
112
|
"msw": "^1.2.1",
|
|
113
113
|
"msw-storybook-addon": "^1.8.0",
|
|
114
|
-
"pixi-filters": "^5.
|
|
114
|
+
"pixi-filters": "^5.3.0",
|
|
115
115
|
"pixi-svg": "^3.2.0",
|
|
116
116
|
"pixi.js": "^7.2.3",
|
|
117
117
|
"prop-types": "^15.8.1",
|