reacthub-pixitweenjs 0.2.109-alpha.5 → 0.3.0-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/LICENSE +8 -16
- package/LICENSE.md +79 -239
- package/README.md +247 -103
- package/dist/components/AepComposition/Aep3DPostFx.d.ts +7 -0
- package/dist/components/AepComposition/Aep3DPrecompPlane.d.ts +9 -0
- package/dist/components/AepComposition/Aep3DScene.d.ts +14 -0
- package/dist/components/AepComposition/Aep3DShapeMesh.d.ts +13 -0
- package/dist/components/AepComposition/Aep3DTextMesh.d.ts +17 -0
- package/dist/components/AepComposition/AepAssetResolver.d.ts +13 -0
- package/dist/components/AepComposition/AepAudioLayer.d.ts +28 -0
- package/dist/components/AepComposition/AepComposition.d.ts +16 -0
- package/dist/components/AepComposition/AepLayerProvider.d.ts +30 -0
- package/dist/components/AepComposition/AepLayerRouter.d.ts +5 -0
- package/dist/components/AepComposition/AepMsdfTextMesh.d.ts +17 -0
- package/dist/components/AepComposition/AepPrecompRenderContext.d.ts +23 -0
- package/dist/components/AepComposition/AepPrecompRenderer.d.ts +8 -0
- package/dist/components/AepComposition/AepTextOverrideContext.d.ts +8 -0
- package/dist/components/AepComposition/AepThemeContext.d.ts +8 -0
- package/dist/components/AepComposition/composeTransform3D.d.ts +27 -0
- package/dist/components/AepComposition/index.d.ts +39 -0
- package/dist/components/AepComposition/matteSourceIds.d.ts +2 -0
- package/dist/components/AepComposition/msdfAtlasRegistry.d.ts +16 -0
- package/dist/components/AepComposition/pathToThreeShape.d.ts +4 -0
- package/dist/components/AepComposition/resolveParentChain.d.ts +3 -0
- package/dist/components/AepComposition/resolvePostFxList.d.ts +2 -0
- package/dist/components/AepComposition/shouldSplitText.d.ts +26 -0
- package/dist/components/AepComposition/threeTextureFromPixi.d.ts +8 -0
- package/dist/components/AepComposition/useAepLayerTransform.d.ts +18 -0
- package/dist/components/AepComposition/useAepLayerTransform3D.d.ts +8 -0
- package/dist/components/AepComposition/useMsdfAtlasRegistry.d.ts +6 -0
- package/dist/components/AepComposition/usePixiRenderTexture.d.ts +14 -0
- package/dist/components/AepComposition/useResolveAsset.d.ts +8 -0
- package/dist/components/AepMask/AepMaskContainer.d.ts +9 -0
- package/dist/components/AepMask/PixiTrackMatte.d.ts +10 -0
- package/dist/components/AepMask/drawAepMask.d.ts +3 -0
- package/dist/components/AepMask/index.d.ts +5 -0
- package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +5 -7
- package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +9 -2
- package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +2 -2
- package/dist/components/PixiAudioSprite/wave-config.d.ts +0 -1
- package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +14 -10
- package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +14 -1
- package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +8 -2
- package/dist/components/PixiNullObject/PixiNullObject.d.ts +25 -0
- package/dist/components/PixiNullObject/index.d.ts +2 -0
- package/dist/components/PixiPreComp/PixiPreComp.d.ts +29 -0
- package/dist/components/PixiPreComp/index.d.ts +3 -0
- package/dist/components/PixiPreComp/validatePrecompDepth.d.ts +2 -0
- package/dist/components/PixiRemotionSprite/PixiRemotionGifSprite.d.ts +24 -0
- package/dist/components/PixiRemotionSprite/PixiRemotionImageSprite.d.ts +18 -0
- package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +5 -2
- package/dist/components/PixiRemotionSprite/PixiRemotionVideoCanvaSprite.d.ts +20 -0
- package/dist/components/PixiRemotionSprite/index.d.ts +4 -0
- package/dist/components/PixiSVGSprite/PixiMorphSvgSprite.d.ts +35 -0
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +14 -4
- package/dist/components/PixiSVGSprite/index.d.ts +1 -0
- package/dist/components/PixiShapeLayer/PixiShapeLayer.d.ts +43 -0
- package/dist/components/PixiShapeLayer/drawShape.d.ts +20 -0
- package/dist/components/PixiShapeLayer/index.d.ts +4 -0
- package/dist/components/PixiShapeLayer/samplePath.d.ts +5 -0
- package/dist/components/PixiTextSprite/PixiTextSplit.d.ts +26 -0
- package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +20 -5
- package/dist/components/PixiTextSprite/index.d.ts +3 -0
- package/dist/components/PixiTextSprite/resolveTextSplitFills.d.ts +27 -0
- package/dist/components/PixiTextSprite/textAnimator.d.ts +22 -0
- package/dist/components/PixiThreeSprite/PixiThreeSprite.d.ts +14 -0
- package/dist/components/PixiThreeSprite/index.d.ts +2 -0
- package/dist/components/PixiUnifiedTransformer/PixiUnifiedTransformer.d.ts +38 -0
- package/dist/components/PixiUnifiedTransformer/index.d.ts +1 -0
- package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +3 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +8 -2
- package/dist/components/index.d.ts +6 -0
- package/dist/events/Events.d.ts +0 -1
- package/dist/hocs/AbstractContainer.d.ts +19 -1
- package/dist/hocs/BorderMaskContainer.d.ts +28 -0
- package/dist/hocs/OverlayTilingSprite.d.ts +3 -3
- package/dist/hocs/drawMaskShape.d.ts +3 -0
- package/dist/hocs/index.d.ts +5 -0
- package/dist/hooks/aep/buildAudioLevelTimeline.d.ts +7 -0
- package/dist/hooks/aep/buildBezierPathTimeline.d.ts +13 -0
- package/dist/hooks/aep/buildColorValueTimeline.d.ts +24 -0
- package/dist/hooks/aep/buildLayerTimeline.d.ts +20 -0
- package/dist/hooks/aep/buildScalarValueTimeline.d.ts +6 -0
- package/dist/hooks/aep/buildVec2ValueTimeline.d.ts +17 -0
- package/dist/hooks/aep/easeCache.d.ts +3 -0
- package/dist/hooks/aep/effectRegistry.d.ts +5 -0
- package/dist/hooks/aep/effects/brightnessContrast.d.ts +2 -0
- package/dist/hooks/aep/effects/dropShadow.d.ts +2 -0
- package/dist/hooks/aep/effects/fastBoxBlur.d.ts +2 -0
- package/dist/hooks/aep/effects/gaussianBlur.d.ts +2 -0
- package/dist/hooks/aep/effects/glow.d.ts +2 -0
- package/dist/hooks/aep/effects/hueSaturation.d.ts +2 -0
- package/dist/hooks/aep/effects/index.d.ts +9 -0
- package/dist/hooks/aep/effects/levels.d.ts +2 -0
- package/dist/hooks/aep/effects/tint.d.ts +2 -0
- package/dist/hooks/aep/effects/types.d.ts +8 -0
- package/dist/hooks/aep/index.d.ts +22 -0
- package/dist/hooks/aep/interpolateBezierPath.d.ts +3 -0
- package/dist/hooks/aep/sampleAnimatable.d.ts +13 -0
- package/dist/hooks/aep/useAepBezierPathAnimator.d.ts +12 -0
- package/dist/hooks/aep/useAepColorAnimator.d.ts +11 -0
- package/dist/hooks/aep/useAepCurrentFrame.d.ts +1 -0
- package/dist/hooks/aep/useAepEffectKeyframes.d.ts +4 -0
- package/dist/hooks/aep/useAepEffects.d.ts +3 -0
- package/dist/hooks/aep/useAepKeyframes.d.ts +15 -0
- package/dist/hooks/aep/useAepTextLayout.d.ts +12 -0
- package/dist/hooks/aep/useAepValueAnimator.d.ts +2 -0
- package/dist/hooks/aep/useAepVec2Animator.d.ts +10 -0
- package/dist/hooks/aep/useTypefaceMetrics.d.ts +2 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useSpriteFilters.d.ts +39 -0
- package/dist/hooks/withFiltersHook.d.ts +1 -1
- package/dist/importers/aep/bodymovin-color-controls.d.ts +23 -0
- package/dist/importers/aep/bodymovin-color.d.ts +1 -0
- package/dist/importers/aep/bodymovin-keyframe.d.ts +42 -0
- package/dist/importers/aep/bodymovin-layer.d.ts +84 -0
- package/dist/importers/aep/bodymovin-transform.d.ts +12 -0
- package/dist/importers/aep/bodymovin.d.ts +7 -0
- package/dist/importers/aep/bodymovinCameras.d.ts +34 -0
- package/dist/importers/aep/bodymovinExtensions.d.ts +3 -0
- package/dist/importers/aep/bodymovinTextRuns.d.ts +13 -0
- package/dist/importers/aep/index.d.ts +7 -0
- package/dist/importers/aep/lottieLint.d.ts +23 -0
- package/dist/importers/aep/lottieLint.rules.d.ts +6 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +59996 -31176
- package/dist/index.umd.js +4351 -1851
- package/dist/lib/pixi-essentials/bounds/AxisAlignedBounds.d.ts +121 -0
- package/dist/lib/pixi-essentials/bounds/OrientedBounds.d.ts +103 -0
- package/dist/lib/pixi-essentials/bounds/index.d.ts +2 -0
- package/dist/lib/pixi-essentials/index.d.ts +6 -0
- package/dist/lib/pixi-essentials/object-pool/AverageProvider.d.ts +28 -0
- package/dist/lib/pixi-essentials/object-pool/ObjectPool.d.ts +103 -0
- package/dist/lib/pixi-essentials/object-pool/ObjectPoolFactory.d.ts +40 -0
- package/dist/lib/pixi-essentials/object-pool/index.d.ts +2 -0
- package/dist/lib/pixi-essentials/react-bindings/Transformer.d.ts +74 -0
- package/dist/lib/pixi-essentials/react-bindings/index.d.ts +3 -0
- package/dist/lib/pixi-essentials/react-bindings/utils/applyEventProps.d.ts +13 -0
- package/dist/lib/pixi-essentials/transformer/Transformer.d.ts +728 -0
- package/dist/lib/pixi-essentials/transformer/TransformerHandle.d.ts +142 -0
- package/dist/lib/pixi-essentials/transformer/TransformerWireframe.d.ts +54 -0
- package/dist/lib/pixi-essentials/transformer/index.d.ts +5 -0
- package/dist/lib/pixi-essentials/transformer/utils/decomposeTransform.d.ts +11 -0
- package/dist/lib/pixi-essentials/transformer/utils/distanceToLine.d.ts +7 -0
- package/dist/lib/pixi-essentials/transformer/utils/multiplyTransform.d.ts +17 -0
- package/dist/lib/pixi-essentials/transformer/utils/skewTransform.d.ts +13 -0
- package/dist/types/BaseProps.d.ts +11 -3
- package/dist/types/MaskTypes.d.ts +10 -0
- package/dist/types/OverlayTypes.d.ts +9 -0
- package/dist/types/aep/asset.d.ts +43 -0
- package/dist/types/aep/camera.d.ts +778 -0
- package/dist/types/aep/composition.d.ts +82 -0
- package/dist/types/aep/effect.d.ts +137 -0
- package/dist/types/aep/index.d.ts +14 -0
- package/dist/types/aep/layer.d.ts +21579 -0
- package/dist/types/aep/light.d.ts +781 -0
- package/dist/types/aep/mask.d.ts +193 -0
- package/dist/types/aep/parse.d.ts +11 -0
- package/dist/types/aep/postFx.d.ts +107 -0
- package/dist/types/aep/text-animator.d.ts +687 -0
- package/dist/types/aep/text-runs.d.ts +234 -0
- package/dist/types/aep/theme.d.ts +72 -0
- package/dist/types/aep/transform.d.ts +285 -0
- package/dist/types/aep/transform3D.d.ts +171 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/utils/AppStateProvider.d.ts +1 -0
- package/dist/utils/AppWrapper.d.ts +3 -0
- package/dist/utils/ContextBridge.d.ts +1 -1
- package/dist/utils/GsapAnims.d.ts +0 -1
- package/dist/utils/InteractionManager.d.ts +1 -10
- package/dist/utils/aeMath/zoomToFov.d.ts +1 -0
- package/dist/utils/areSpritePropsEqual.d.ts +8 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/isExternalUrl.d.ts +1 -0
- package/dist/utils/loadSpriteTexture.d.ts +10 -0
- package/dist/utils/msdf/computeInstanceMatrix.d.ts +18 -0
- package/dist/utils/msdf/index.d.ts +4 -0
- package/dist/utils/msdf/loadMsdfAtlas.d.ts +9 -0
- package/dist/utils/msdf/msdfShader.d.ts +2 -0
- package/dist/utils/msdf/types.d.ts +49 -0
- package/dist/utils/text/resolveTextRuns.d.ts +8 -0
- package/dist/utils/textLayout/alignLines.d.ts +15 -0
- package/dist/utils/textLayout/applyVerticals.d.ts +14 -0
- package/dist/utils/textLayout/breakLines.d.ts +14 -0
- package/dist/utils/textLayout/canvasMetricsProvider.d.ts +6 -0
- package/dist/utils/textLayout/index.d.ts +7 -0
- package/dist/utils/textLayout/layoutText.d.ts +2 -0
- package/dist/utils/textLayout/metricsCache.d.ts +9 -0
- package/dist/utils/textLayout/pixiCanvasMetricsProvider.d.ts +6 -0
- package/dist/utils/textLayout/shapeRuns.d.ts +18 -0
- package/dist/utils/textLayout/typefaceMetricsProvider.d.ts +19 -0
- package/dist/utils/textLayout/types.d.ts +61 -0
- package/dist/utils/textLayout/unicode.d.ts +2 -0
- package/package.json +77 -45
- package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +0 -105
- package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +0 -153
- package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +0 -136
- package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +0 -149
- package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +0 -121
- package/dist/components/PixiSequence/PixiSequence.stories.d.ts +0 -33
- package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +0 -130
- package/dist/components/PixiTransformer/MenuIcons.d.ts +0 -40
- package/dist/components/PixiTransformer/MenuUtils.d.ts +0 -2
- package/dist/components/PixiTransformer/PixiColorPicker.d.ts +0 -14
- package/dist/components/PixiTransformer/PixiDropdownMenu.d.ts +0 -15
- package/dist/components/PixiTransformer/PixiMenuText.d.ts +0 -2
- package/dist/components/PixiTransformer/PixiTransformer.d.ts +0 -20
- package/dist/components/PixiTransformer/PixiTransformerMenu.d.ts +0 -9
- package/dist/components/PixiTransformer/Transformer.d.ts +0 -39
- package/dist/components/PixiTransformer/applyEventProps.d.ts +0 -10
- package/dist/components/PixiTransformer/index.d.ts +0 -1
- package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +0 -136
- package/dist/hooks/withEffectsHook.d.ts +0 -5
- package/dist/stories/Features/TestHowlerAudioFiles.d.ts +0 -2
- package/dist/stories/Features/TimelineAnimations.d.ts +0 -15
- package/dist/stories/Features/TimelineTest.d.ts +0 -15
- package/dist/stories/Features/TimelineTest.stories.d.ts +0 -22
- package/dist/stories/Features/TimelineTestAudios.d.ts +0 -15
- package/dist/stories/Features/TimelineTestWithVideos.d.ts +0 -15
- package/dist/stories/Features/TimelineWithGif.d.ts +0 -21
- package/dist/stories/Features/common.tests.d.ts +0 -411
- /package/dist/{.gitkeep → utils/pixiExtend.d.ts} +0 -0
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<import('./PixiLottieSprite').PixiLottieSpriteProps & 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 Filter: Story;
|
|
149
|
-
export declare const FadeIn: Story;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<import('./PixiSvgPathSprite').PixiSvgPathSpriteProps & 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
|
-
path: {
|
|
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
|
-
visible: {
|
|
96
|
-
control: string;
|
|
97
|
-
description: string;
|
|
98
|
-
};
|
|
99
|
-
onAnchorTransformationEnd: {
|
|
100
|
-
action: string;
|
|
101
|
-
description: string;
|
|
102
|
-
};
|
|
103
|
-
pointerdown: {
|
|
104
|
-
action: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
|
-
pointerout: {
|
|
108
|
-
action: string;
|
|
109
|
-
description: string;
|
|
110
|
-
};
|
|
111
|
-
pointerover: {
|
|
112
|
-
action: string;
|
|
113
|
-
description: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
export default meta;
|
|
118
|
-
type Story = StoryObj<typeof meta>;
|
|
119
|
-
export declare const Normal: Story;
|
|
120
|
-
export declare const FadeIn: Story;
|
|
121
|
-
export declare const Filters: Story;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: (props: import('./PixiSequence').PixiSequenceProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
|
-
tags: string[];
|
|
8
|
-
argTypes: {
|
|
9
|
-
children: {
|
|
10
|
-
description: string;
|
|
11
|
-
control: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
startAt: {
|
|
16
|
-
description: string;
|
|
17
|
-
control: {
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
endAt: {
|
|
22
|
-
description: string;
|
|
23
|
-
control: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
export declare const Normal: Story;
|
|
32
|
-
export declare const GifSequence: Story;
|
|
33
|
-
export declare const VideoSequence: Story;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').ForwardRefExoticComponent<import('./PixiTextSprite').PixiTextSpriteProps & 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
|
-
text: {
|
|
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
|
-
visible: {
|
|
96
|
-
control: string;
|
|
97
|
-
description: string;
|
|
98
|
-
};
|
|
99
|
-
onAnchorTransformationEnd: {
|
|
100
|
-
action: string;
|
|
101
|
-
description: string;
|
|
102
|
-
};
|
|
103
|
-
pointerup: {
|
|
104
|
-
action: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
|
-
onTextUpdate: {
|
|
108
|
-
action: string;
|
|
109
|
-
description: string;
|
|
110
|
-
};
|
|
111
|
-
pointerdown: {
|
|
112
|
-
action: string;
|
|
113
|
-
description: string;
|
|
114
|
-
};
|
|
115
|
-
pointerout: {
|
|
116
|
-
action: string;
|
|
117
|
-
description: string;
|
|
118
|
-
};
|
|
119
|
-
pointerover: {
|
|
120
|
-
action: string;
|
|
121
|
-
description: string;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
export default meta;
|
|
126
|
-
type Story = StoryObj<typeof meta>;
|
|
127
|
-
export declare const Normal: Story;
|
|
128
|
-
export declare const FadeIn: Story;
|
|
129
|
-
export declare const Filters: Story;
|
|
130
|
-
export declare const Draggable: Story;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare const MENUS_ICONS: {
|
|
2
|
-
ARROW_DOWN: string;
|
|
3
|
-
ARROW_UP: string;
|
|
4
|
-
COLOR: string;
|
|
5
|
-
COPY: string;
|
|
6
|
-
DELETE: string;
|
|
7
|
-
TRASH: string;
|
|
8
|
-
EYE: string;
|
|
9
|
-
EYE_SLASH: string;
|
|
10
|
-
LOCK: string;
|
|
11
|
-
UNLOCK: string;
|
|
12
|
-
PASTE: string;
|
|
13
|
-
PENCIL: string;
|
|
14
|
-
PLUS: string;
|
|
15
|
-
MINUS: string;
|
|
16
|
-
ROTATE: string;
|
|
17
|
-
SCALE: string;
|
|
18
|
-
SAVE: string;
|
|
19
|
-
RESET: string;
|
|
20
|
-
SETTINGS: string;
|
|
21
|
-
ZOOM_IN: string;
|
|
22
|
-
ZOOM_OUT: string;
|
|
23
|
-
ALIGN_LEFT: string;
|
|
24
|
-
ALIGN_CENTER: string;
|
|
25
|
-
ALIGN_RIGHT: string;
|
|
26
|
-
DISTRIBUTE_HORIZONTALLY: string;
|
|
27
|
-
DISTRIBUTE_VERTICALLY: string;
|
|
28
|
-
FLIP_HORIZONTAL: string;
|
|
29
|
-
FLIP_VERTICAL: string;
|
|
30
|
-
ROTATE_LEFT: string;
|
|
31
|
-
ROTATE_RIGHT: string;
|
|
32
|
-
SCALE_DOWN: string;
|
|
33
|
-
SCALE_UP: string;
|
|
34
|
-
ADJUST_EQUALISER: string;
|
|
35
|
-
ADJUST_EQUALISER_SLIDERS: string;
|
|
36
|
-
ADJUST_HORIZONTAL_SLIDERS: string;
|
|
37
|
-
COLOR_FILL: string;
|
|
38
|
-
};
|
|
39
|
-
declare const MAX_RECENT_COLORS = 10;
|
|
40
|
-
export { MENUS_ICONS, MAX_RECENT_COLORS };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface Position {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
}
|
|
6
|
-
interface ColorPickerPortalProps {
|
|
7
|
-
position: Position;
|
|
8
|
-
color: string;
|
|
9
|
-
onChange: (color: string) => void;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
recentColors?: string[];
|
|
12
|
-
}
|
|
13
|
-
declare const ColorPickerPortal: ({ position, color, onChange, onClose, }: ColorPickerPortalProps) => React.ReactPortal;
|
|
14
|
-
export default ColorPickerPortal;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as PIXI from "pixi.js";
|
|
2
|
-
interface AlignmentOption {
|
|
3
|
-
icon: string;
|
|
4
|
-
label: string;
|
|
5
|
-
action: () => void;
|
|
6
|
-
}
|
|
7
|
-
interface DropdownPosition {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
}
|
|
11
|
-
declare const useDropDownMenu: (setShowAlignmentDropdown: (show: boolean) => void) => {
|
|
12
|
-
createMenu: (showAlignmentDropdown: boolean, alignmentOptions: AlignmentOption[], dropdownPosition: DropdownPosition) => (() => void) | undefined;
|
|
13
|
-
dropdownRef: import('react').MutableRefObject<PIXI.Container<PIXI.DisplayObject> | null>;
|
|
14
|
-
};
|
|
15
|
-
export default useDropDownMenu;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Transformer } from 'reacthub-react-bindings';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type PixiTransformerProps = {
|
|
4
|
-
pixiTransformerRef: React.MutableRefObject<Transformer>;
|
|
5
|
-
imageRef: React.MutableRefObject<any>;
|
|
6
|
-
isMounted: boolean;
|
|
7
|
-
transformCommit?: (data: any) => void;
|
|
8
|
-
transformChange?: (data: any) => void;
|
|
9
|
-
mouseoverEvent?: (flag: boolean) => void;
|
|
10
|
-
onDoubleClick?: () => void;
|
|
11
|
-
uniqueId?: string;
|
|
12
|
-
isText?: boolean;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Initialize PixiTransformer to transform the image
|
|
16
|
-
* @param param0
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
declare const PixiTransformer: ({ pixiTransformerRef, imageRef, isMounted, transformCommit, transformChange, mouseoverEvent, onDoubleClick, uniqueId, isText, }: PixiTransformerProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default PixiTransformer;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Transformer } from '@pixi-essentials/transformer';
|
|
2
|
-
|
|
3
|
-
interface TransformerMenuProps {
|
|
4
|
-
PixiTransformer: React.MutableRefObject<Transformer>;
|
|
5
|
-
uniqueId: string;
|
|
6
|
-
isText: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const TransformerMenu: ({ PixiTransformer }: TransformerMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Matrix } from '@pixi/math';
|
|
2
|
-
import { TransformerHandle as TransformerHandleImpl, ITransformerCursors, ITransformerStyle, ITransformerHandleStyle } from '@pixi-essentials/transformer';
|
|
3
|
-
|
|
4
|
-
import * as PIXI from "pixi.js";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
/** @internal */
|
|
7
|
-
export type TransformerProps = {
|
|
8
|
-
boundingBoxes?: "all" | "groupOnly" | "none";
|
|
9
|
-
boxScalingEnabled?: boolean;
|
|
10
|
-
boxScalingTolerance?: number;
|
|
11
|
-
boxRotationEnabled?: boolean;
|
|
12
|
-
boxRotationTolerance?: number;
|
|
13
|
-
centeredScaling?: boolean;
|
|
14
|
-
cursors?: Partial<ITransformerCursors>;
|
|
15
|
-
enabledHandles?: Array<string>;
|
|
16
|
-
group?: PIXI.DisplayObject[];
|
|
17
|
-
handleConstructor?: typeof TransformerHandleImpl;
|
|
18
|
-
handleStyle?: Partial<ITransformerHandleStyle>;
|
|
19
|
-
lockAspectRatio?: boolean;
|
|
20
|
-
projectionTransform?: Matrix;
|
|
21
|
-
rotateEnabled?: boolean;
|
|
22
|
-
rotationSnaps?: number[];
|
|
23
|
-
rotationSnapTolerance?: number;
|
|
24
|
-
scaleEnabled?: boolean;
|
|
25
|
-
skewEnabled?: boolean;
|
|
26
|
-
skewRadius?: number;
|
|
27
|
-
skewSnaps?: number[];
|
|
28
|
-
skewSnapTolerance?: number;
|
|
29
|
-
translateEnabled?: boolean;
|
|
30
|
-
transientGroupTilt?: boolean;
|
|
31
|
-
transformchange?: (e: any) => void;
|
|
32
|
-
wireframeStyle?: Partial<ITransformerStyle>;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Transformer component
|
|
36
|
-
*
|
|
37
|
-
* @see https://github.com/SukantPal/pixi-essentials/tree/master/packages/transformer
|
|
38
|
-
*/
|
|
39
|
-
export declare const Transformer: React.FC<TransformerProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as PIXI from "pixi.js";
|
|
2
|
-
/**
|
|
3
|
-
* Removes old listeners and applies the new ones passed in the props
|
|
4
|
-
*
|
|
5
|
-
* @param displayObject - display-object emitting events
|
|
6
|
-
* @param events - object mapping handler prop-names to the fired events
|
|
7
|
-
* @param oldProps - old props. If calling on first props being passed, this should be `{}`.
|
|
8
|
-
* @param newProps - new props.
|
|
9
|
-
*/
|
|
10
|
-
export declare function applyEventProps(displayObject: PIXI.DisplayObject, events: Record<string, string>, oldProps: any, newProps: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Transformer';
|