reacthub-pixitweenjs 0.2.109-alpha.7 → 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.
Files changed (215) hide show
  1. package/LICENSE +8 -16
  2. package/LICENSE.md +79 -239
  3. package/README.md +241 -103
  4. package/dist/components/AepComposition/Aep3DPostFx.d.ts +7 -0
  5. package/dist/components/AepComposition/Aep3DPrecompPlane.d.ts +9 -0
  6. package/dist/components/AepComposition/Aep3DScene.d.ts +14 -0
  7. package/dist/components/AepComposition/Aep3DShapeMesh.d.ts +13 -0
  8. package/dist/components/AepComposition/Aep3DTextMesh.d.ts +17 -0
  9. package/dist/components/AepComposition/AepAssetResolver.d.ts +13 -0
  10. package/dist/components/AepComposition/AepAudioLayer.d.ts +28 -0
  11. package/dist/components/AepComposition/AepComposition.d.ts +16 -0
  12. package/dist/components/AepComposition/AepLayerProvider.d.ts +30 -0
  13. package/dist/components/AepComposition/AepLayerRouter.d.ts +5 -0
  14. package/dist/components/AepComposition/AepMsdfTextMesh.d.ts +17 -0
  15. package/dist/components/AepComposition/AepPrecompRenderContext.d.ts +23 -0
  16. package/dist/components/AepComposition/AepPrecompRenderer.d.ts +8 -0
  17. package/dist/components/AepComposition/AepTextOverrideContext.d.ts +8 -0
  18. package/dist/components/AepComposition/AepThemeContext.d.ts +8 -0
  19. package/dist/components/AepComposition/composeTransform3D.d.ts +27 -0
  20. package/dist/components/AepComposition/index.d.ts +39 -0
  21. package/dist/components/AepComposition/matteSourceIds.d.ts +2 -0
  22. package/dist/components/AepComposition/msdfAtlasRegistry.d.ts +16 -0
  23. package/dist/components/AepComposition/pathToThreeShape.d.ts +4 -0
  24. package/dist/components/AepComposition/resolveParentChain.d.ts +3 -0
  25. package/dist/components/AepComposition/resolvePostFxList.d.ts +2 -0
  26. package/dist/components/AepComposition/shouldSplitText.d.ts +26 -0
  27. package/dist/components/AepComposition/threeTextureFromPixi.d.ts +8 -0
  28. package/dist/components/AepComposition/useAepLayerTransform.d.ts +18 -0
  29. package/dist/components/AepComposition/useAepLayerTransform3D.d.ts +8 -0
  30. package/dist/components/AepComposition/useMsdfAtlasRegistry.d.ts +6 -0
  31. package/dist/components/AepComposition/usePixiRenderTexture.d.ts +14 -0
  32. package/dist/components/AepComposition/useResolveAsset.d.ts +8 -0
  33. package/dist/components/AepMask/AepMaskContainer.d.ts +9 -0
  34. package/dist/components/AepMask/PixiTrackMatte.d.ts +10 -0
  35. package/dist/components/AepMask/drawAepMask.d.ts +3 -0
  36. package/dist/components/AepMask/index.d.ts +5 -0
  37. package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +5 -7
  38. package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +6 -2
  39. package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +2 -2
  40. package/dist/components/PixiAudioSprite/wave-config.d.ts +0 -1
  41. package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +11 -10
  42. package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +11 -2
  43. package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +5 -2
  44. package/dist/components/PixiNullObject/PixiNullObject.d.ts +25 -0
  45. package/dist/components/PixiNullObject/index.d.ts +2 -0
  46. package/dist/components/PixiPreComp/PixiPreComp.d.ts +29 -0
  47. package/dist/components/PixiPreComp/index.d.ts +3 -0
  48. package/dist/components/PixiPreComp/validatePrecompDepth.d.ts +2 -0
  49. package/dist/components/PixiRemotionSprite/PixiRemotionGifSprite.d.ts +24 -0
  50. package/dist/components/PixiRemotionSprite/PixiRemotionImageSprite.d.ts +18 -0
  51. package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +5 -2
  52. package/dist/components/PixiRemotionSprite/PixiRemotionVideoCanvaSprite.d.ts +20 -0
  53. package/dist/components/PixiRemotionSprite/index.d.ts +4 -0
  54. package/dist/components/PixiSVGSprite/PixiMorphSvgSprite.d.ts +35 -0
  55. package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +11 -4
  56. package/dist/components/PixiSVGSprite/index.d.ts +1 -0
  57. package/dist/components/PixiShapeLayer/PixiShapeLayer.d.ts +43 -0
  58. package/dist/components/PixiShapeLayer/drawShape.d.ts +20 -0
  59. package/dist/components/PixiShapeLayer/index.d.ts +4 -0
  60. package/dist/components/PixiShapeLayer/samplePath.d.ts +5 -0
  61. package/dist/components/PixiTextSprite/PixiTextSplit.d.ts +26 -0
  62. package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +17 -5
  63. package/dist/components/PixiTextSprite/index.d.ts +3 -0
  64. package/dist/components/PixiTextSprite/resolveTextSplitFills.d.ts +27 -0
  65. package/dist/components/PixiTextSprite/textAnimator.d.ts +22 -0
  66. package/dist/components/PixiThreeSprite/PixiThreeSprite.d.ts +14 -0
  67. package/dist/components/PixiThreeSprite/index.d.ts +2 -0
  68. package/dist/components/PixiUnifiedTransformer/PixiUnifiedTransformer.d.ts +20 -8
  69. package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +3 -1
  70. package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +5 -2
  71. package/dist/components/index.d.ts +5 -0
  72. package/dist/events/Events.d.ts +0 -1
  73. package/dist/hocs/AbstractContainer.d.ts +3 -1
  74. package/dist/hocs/BorderMaskContainer.d.ts +28 -0
  75. package/dist/hocs/OverlayTilingSprite.d.ts +3 -3
  76. package/dist/hocs/drawMaskShape.d.ts +3 -0
  77. package/dist/hocs/index.d.ts +5 -0
  78. package/dist/hooks/aep/buildAudioLevelTimeline.d.ts +7 -0
  79. package/dist/hooks/aep/buildBezierPathTimeline.d.ts +13 -0
  80. package/dist/hooks/aep/buildColorValueTimeline.d.ts +24 -0
  81. package/dist/hooks/aep/buildLayerTimeline.d.ts +20 -0
  82. package/dist/hooks/aep/buildScalarValueTimeline.d.ts +6 -0
  83. package/dist/hooks/aep/buildVec2ValueTimeline.d.ts +17 -0
  84. package/dist/hooks/aep/easeCache.d.ts +3 -0
  85. package/dist/hooks/aep/effectRegistry.d.ts +5 -0
  86. package/dist/hooks/aep/effects/brightnessContrast.d.ts +2 -0
  87. package/dist/hooks/aep/effects/dropShadow.d.ts +2 -0
  88. package/dist/hooks/aep/effects/fastBoxBlur.d.ts +2 -0
  89. package/dist/hooks/aep/effects/gaussianBlur.d.ts +2 -0
  90. package/dist/hooks/aep/effects/glow.d.ts +2 -0
  91. package/dist/hooks/aep/effects/hueSaturation.d.ts +2 -0
  92. package/dist/hooks/aep/effects/index.d.ts +9 -0
  93. package/dist/hooks/aep/effects/levels.d.ts +2 -0
  94. package/dist/hooks/aep/effects/tint.d.ts +2 -0
  95. package/dist/hooks/aep/effects/types.d.ts +8 -0
  96. package/dist/hooks/aep/index.d.ts +22 -0
  97. package/dist/hooks/aep/interpolateBezierPath.d.ts +3 -0
  98. package/dist/hooks/aep/sampleAnimatable.d.ts +13 -0
  99. package/dist/hooks/aep/useAepBezierPathAnimator.d.ts +12 -0
  100. package/dist/hooks/aep/useAepColorAnimator.d.ts +11 -0
  101. package/dist/hooks/aep/useAepCurrentFrame.d.ts +1 -0
  102. package/dist/hooks/aep/useAepEffectKeyframes.d.ts +4 -0
  103. package/dist/hooks/aep/useAepEffects.d.ts +3 -0
  104. package/dist/hooks/aep/useAepKeyframes.d.ts +15 -0
  105. package/dist/hooks/aep/useAepTextLayout.d.ts +12 -0
  106. package/dist/hooks/aep/useAepValueAnimator.d.ts +2 -0
  107. package/dist/hooks/aep/useAepVec2Animator.d.ts +10 -0
  108. package/dist/hooks/aep/useTypefaceMetrics.d.ts +2 -0
  109. package/dist/hooks/index.d.ts +2 -0
  110. package/dist/hooks/useSpriteFilters.d.ts +39 -0
  111. package/dist/hooks/withFiltersHook.d.ts +1 -1
  112. package/dist/importers/aep/bodymovin-color-controls.d.ts +23 -0
  113. package/dist/importers/aep/bodymovin-color.d.ts +1 -0
  114. package/dist/importers/aep/bodymovin-keyframe.d.ts +42 -0
  115. package/dist/importers/aep/bodymovin-layer.d.ts +84 -0
  116. package/dist/importers/aep/bodymovin-transform.d.ts +12 -0
  117. package/dist/importers/aep/bodymovin.d.ts +7 -0
  118. package/dist/importers/aep/bodymovinCameras.d.ts +34 -0
  119. package/dist/importers/aep/bodymovinExtensions.d.ts +3 -0
  120. package/dist/importers/aep/bodymovinTextRuns.d.ts +13 -0
  121. package/dist/importers/aep/index.d.ts +7 -0
  122. package/dist/importers/aep/lottieLint.d.ts +23 -0
  123. package/dist/importers/aep/lottieLint.rules.d.ts +6 -0
  124. package/dist/index.d.ts +3 -0
  125. package/dist/index.es.js +60038 -29928
  126. package/dist/index.umd.js +4351 -1851
  127. package/dist/lib/pixi-essentials/bounds/AxisAlignedBounds.d.ts +121 -0
  128. package/dist/lib/pixi-essentials/bounds/OrientedBounds.d.ts +103 -0
  129. package/dist/lib/pixi-essentials/bounds/index.d.ts +2 -0
  130. package/dist/lib/pixi-essentials/index.d.ts +6 -0
  131. package/dist/lib/pixi-essentials/object-pool/AverageProvider.d.ts +28 -0
  132. package/dist/lib/pixi-essentials/object-pool/ObjectPool.d.ts +103 -0
  133. package/dist/lib/pixi-essentials/object-pool/ObjectPoolFactory.d.ts +40 -0
  134. package/dist/lib/pixi-essentials/object-pool/index.d.ts +2 -0
  135. package/dist/lib/pixi-essentials/react-bindings/Transformer.d.ts +74 -0
  136. package/dist/lib/pixi-essentials/react-bindings/index.d.ts +3 -0
  137. package/dist/lib/pixi-essentials/react-bindings/utils/applyEventProps.d.ts +13 -0
  138. package/dist/lib/pixi-essentials/transformer/Transformer.d.ts +728 -0
  139. package/dist/lib/pixi-essentials/transformer/TransformerHandle.d.ts +142 -0
  140. package/dist/lib/pixi-essentials/transformer/TransformerWireframe.d.ts +54 -0
  141. package/dist/lib/pixi-essentials/transformer/index.d.ts +5 -0
  142. package/dist/lib/pixi-essentials/transformer/utils/decomposeTransform.d.ts +11 -0
  143. package/dist/lib/pixi-essentials/transformer/utils/distanceToLine.d.ts +7 -0
  144. package/dist/lib/pixi-essentials/transformer/utils/multiplyTransform.d.ts +17 -0
  145. package/dist/lib/pixi-essentials/transformer/utils/skewTransform.d.ts +13 -0
  146. package/dist/types/BaseProps.d.ts +11 -3
  147. package/dist/types/MaskTypes.d.ts +10 -0
  148. package/dist/types/OverlayTypes.d.ts +9 -0
  149. package/dist/types/aep/asset.d.ts +43 -0
  150. package/dist/types/aep/camera.d.ts +778 -0
  151. package/dist/types/aep/composition.d.ts +82 -0
  152. package/dist/types/aep/effect.d.ts +137 -0
  153. package/dist/types/aep/index.d.ts +14 -0
  154. package/dist/types/aep/layer.d.ts +21579 -0
  155. package/dist/types/aep/light.d.ts +781 -0
  156. package/dist/types/aep/mask.d.ts +193 -0
  157. package/dist/types/aep/parse.d.ts +11 -0
  158. package/dist/types/aep/postFx.d.ts +107 -0
  159. package/dist/types/aep/text-animator.d.ts +687 -0
  160. package/dist/types/aep/text-runs.d.ts +234 -0
  161. package/dist/types/aep/theme.d.ts +72 -0
  162. package/dist/types/aep/transform.d.ts +285 -0
  163. package/dist/types/aep/transform3D.d.ts +171 -0
  164. package/dist/types/index.d.ts +3 -0
  165. package/dist/utils/AppStateProvider.d.ts +1 -0
  166. package/dist/utils/AppWrapper.d.ts +3 -0
  167. package/dist/utils/ContextBridge.d.ts +1 -1
  168. package/dist/utils/GsapAnims.d.ts +0 -1
  169. package/dist/utils/InteractionManager.d.ts +1 -10
  170. package/dist/utils/aeMath/zoomToFov.d.ts +1 -0
  171. package/dist/utils/areSpritePropsEqual.d.ts +8 -0
  172. package/dist/utils/index.d.ts +6 -0
  173. package/dist/utils/isExternalUrl.d.ts +1 -0
  174. package/dist/utils/loadSpriteTexture.d.ts +10 -0
  175. package/dist/utils/msdf/computeInstanceMatrix.d.ts +18 -0
  176. package/dist/utils/msdf/index.d.ts +4 -0
  177. package/dist/utils/msdf/loadMsdfAtlas.d.ts +9 -0
  178. package/dist/utils/msdf/msdfShader.d.ts +2 -0
  179. package/dist/utils/msdf/types.d.ts +49 -0
  180. package/dist/utils/text/resolveTextRuns.d.ts +8 -0
  181. package/dist/utils/textLayout/alignLines.d.ts +15 -0
  182. package/dist/utils/textLayout/applyVerticals.d.ts +14 -0
  183. package/dist/utils/textLayout/breakLines.d.ts +14 -0
  184. package/dist/utils/textLayout/canvasMetricsProvider.d.ts +6 -0
  185. package/dist/utils/textLayout/index.d.ts +7 -0
  186. package/dist/utils/textLayout/layoutText.d.ts +2 -0
  187. package/dist/utils/textLayout/metricsCache.d.ts +9 -0
  188. package/dist/utils/textLayout/pixiCanvasMetricsProvider.d.ts +6 -0
  189. package/dist/utils/textLayout/shapeRuns.d.ts +18 -0
  190. package/dist/utils/textLayout/typefaceMetricsProvider.d.ts +19 -0
  191. package/dist/utils/textLayout/types.d.ts +61 -0
  192. package/dist/utils/textLayout/unicode.d.ts +2 -0
  193. package/package.json +72 -47
  194. package/dist/assets/icon/transformericons/icons.d.ts +0 -8
  195. package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +0 -12
  196. package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +0 -163
  197. package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +0 -150
  198. package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +0 -159
  199. package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +0 -131
  200. package/dist/components/PixiSequence/PixiSequence.stories.d.ts +0 -33
  201. package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +0 -140
  202. package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +0 -146
  203. package/dist/favicon.svg +0 -41
  204. package/dist/hooks/withEffectsHook.d.ts +0 -5
  205. package/dist/pixitweenjs-logo-dark.svg +0 -98
  206. package/dist/pixitweenjs-logo.svg +0 -97
  207. package/dist/stories/Features/TestHowlerAudioFiles.d.ts +0 -2
  208. package/dist/stories/Features/TimelineAnimations.d.ts +0 -15
  209. package/dist/stories/Features/TimelineTest.d.ts +0 -15
  210. package/dist/stories/Features/TimelineTest.stories.d.ts +0 -23
  211. package/dist/stories/Features/TimelineTestAudios.d.ts +0 -15
  212. package/dist/stories/Features/TimelineTestWithVideos.d.ts +0 -15
  213. package/dist/stories/Features/TimelineWithGif.d.ts +0 -21
  214. package/dist/stories/Features/common.tests.d.ts +0 -411
  215. /package/dist/{.gitkeep → utils/pixiExtend.d.ts} +0 -0
@@ -1,131 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
-
3
- import * as React from "react";
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import('./PixiSvgPathSprite').PixiSvgPathSpriteProps & React.RefAttributes<import('../..').ForwardedRefResponse | null>>;
7
- decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
8
- tags: string[];
9
- argTypes: {
10
- uniqueId: {
11
- control: "text";
12
- description: string;
13
- };
14
- path: {
15
- control: "text";
16
- description: string;
17
- };
18
- transformation: {
19
- control: "object";
20
- description: string;
21
- x: {
22
- control: string;
23
- description: string;
24
- };
25
- y: {
26
- control: string;
27
- description: string;
28
- };
29
- width: {
30
- control: string;
31
- description: string;
32
- };
33
- height: {
34
- control: string;
35
- description: string;
36
- };
37
- anchor: {
38
- control: string;
39
- description: string;
40
- };
41
- rotation: {
42
- control: string;
43
- description: string;
44
- };
45
- alpha: {
46
- control: string;
47
- min: number;
48
- max: number;
49
- description: string;
50
- };
51
- scale: {
52
- control: string;
53
- description: string;
54
- };
55
- tint: {
56
- control: string;
57
- description: string;
58
- };
59
- blendMode: {
60
- control: string;
61
- description: string;
62
- };
63
- colorCorrection: {
64
- control: string;
65
- description: string;
66
- brightness: {
67
- control: string;
68
- description: string;
69
- };
70
- contrast: {
71
- control: string;
72
- description: string;
73
- };
74
- saturation: {
75
- control: string;
76
- description: string;
77
- };
78
- alpha: {
79
- control: string;
80
- description: string;
81
- };
82
- };
83
- };
84
- applyTransformer: {
85
- control: "boolean";
86
- description: string;
87
- };
88
- startAt: {
89
- control: "number";
90
- description: string;
91
- };
92
- endAt: {
93
- control: "number";
94
- description: string;
95
- };
96
- visible: {
97
- control: "boolean";
98
- description: string;
99
- };
100
- onAnchorTransformationEnd: {
101
- action: string;
102
- description: string;
103
- };
104
- pointerdown: {
105
- action: string;
106
- description: string;
107
- };
108
- pointerout: {
109
- action: string;
110
- description: string;
111
- };
112
- pointerover: {
113
- action: string;
114
- description: string;
115
- };
116
- onContainerRefReady: {
117
- action: string;
118
- description: string;
119
- };
120
- onSpriteRefReady: {
121
- action: string;
122
- description: string;
123
- };
124
- };
125
- };
126
- export default meta;
127
- type Story = StoryObj<typeof meta>;
128
- export declare const Normal: Story;
129
- export declare const FadeIn: Story;
130
- export declare const Filters: Story;
131
- export declare const WithUnifiedTransformer: Story;
@@ -1,33 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
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: "text";
13
- };
14
- };
15
- startAt: {
16
- description: string;
17
- control: {
18
- type: "number";
19
- };
20
- };
21
- endAt: {
22
- description: string;
23
- control: {
24
- type: "number";
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,140 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
-
3
- import * as React from "react";
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import('./PixiTextSprite').PixiTextSpriteProps & React.RefAttributes<import('../..').ForwardedRefResponse | null>>;
7
- decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
8
- tags: string[];
9
- argTypes: {
10
- uniqueId: {
11
- control: "text";
12
- description: string;
13
- };
14
- text: {
15
- control: "text";
16
- description: string;
17
- };
18
- transformation: {
19
- control: "object";
20
- description: string;
21
- x: {
22
- control: string;
23
- description: string;
24
- };
25
- y: {
26
- control: string;
27
- description: string;
28
- };
29
- width: {
30
- control: string;
31
- description: string;
32
- };
33
- height: {
34
- control: string;
35
- description: string;
36
- };
37
- anchor: {
38
- control: string;
39
- description: string;
40
- };
41
- rotation: {
42
- control: string;
43
- description: string;
44
- };
45
- alpha: {
46
- control: string;
47
- min: number;
48
- max: number;
49
- description: string;
50
- };
51
- scale: {
52
- control: string;
53
- description: string;
54
- };
55
- tint: {
56
- control: string;
57
- description: string;
58
- };
59
- blendMode: {
60
- control: string;
61
- description: string;
62
- };
63
- colorCorrection: {
64
- control: string;
65
- description: string;
66
- brightness: {
67
- control: string;
68
- description: string;
69
- };
70
- contrast: {
71
- control: string;
72
- description: string;
73
- };
74
- saturation: {
75
- control: string;
76
- description: string;
77
- };
78
- alpha: {
79
- control: string;
80
- description: string;
81
- };
82
- };
83
- };
84
- applyTransformer: {
85
- control: "boolean";
86
- description: string;
87
- };
88
- startAt: {
89
- control: "number";
90
- description: string;
91
- };
92
- endAt: {
93
- control: "number";
94
- description: string;
95
- };
96
- visible: {
97
- control: "boolean";
98
- description: string;
99
- };
100
- onAnchorTransformationEnd: {
101
- action: string;
102
- description: string;
103
- };
104
- onContainerRefReady: {
105
- action: string;
106
- description: string;
107
- };
108
- onSpriteRefReady: {
109
- action: string;
110
- description: string;
111
- };
112
- pointerup: {
113
- action: string;
114
- description: string;
115
- };
116
- onTextUpdate: {
117
- action: string;
118
- description: string;
119
- };
120
- pointerdown: {
121
- action: string;
122
- description: string;
123
- };
124
- pointerout: {
125
- action: string;
126
- description: string;
127
- };
128
- pointerover: {
129
- action: string;
130
- description: string;
131
- };
132
- };
133
- };
134
- export default meta;
135
- type Story = StoryObj<typeof meta>;
136
- export declare const Normal: Story;
137
- export declare const FadeIn: Story;
138
- export declare const Filters: Story;
139
- export declare const Draggable: Story;
140
- export declare const WithUnifiedTransformer: Story;
@@ -1,146 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
-
3
- import * as React from "react";
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import('./PixiVideoSprite').PixiVideoSpriteProps & React.RefAttributes<import('../..').ForwardedRefResponse | null>>;
7
- decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
8
- tags: string[];
9
- argTypes: {
10
- uniqueId: {
11
- control: "text";
12
- description: string;
13
- };
14
- src: {
15
- control: "text";
16
- description: string;
17
- };
18
- transformation: {
19
- control: "object";
20
- description: string;
21
- x: {
22
- control: string;
23
- description: string;
24
- };
25
- y: {
26
- control: string;
27
- description: string;
28
- };
29
- width: {
30
- control: string;
31
- description: string;
32
- };
33
- height: {
34
- control: string;
35
- description: string;
36
- };
37
- anchor: {
38
- control: string;
39
- description: string;
40
- };
41
- rotation: {
42
- control: string;
43
- description: string;
44
- };
45
- alpha: {
46
- control: string;
47
- min: number;
48
- max: number;
49
- description: string;
50
- };
51
- scale: {
52
- control: string;
53
- description: string;
54
- };
55
- tint: {
56
- control: string;
57
- description: string;
58
- };
59
- blendMode: {
60
- control: string;
61
- description: string;
62
- };
63
- colorCorrection: {
64
- control: string;
65
- description: string;
66
- brightness: {
67
- control: string;
68
- description: string;
69
- };
70
- contrast: {
71
- control: string;
72
- description: string;
73
- };
74
- saturation: {
75
- control: string;
76
- description: string;
77
- };
78
- alpha: {
79
- control: string;
80
- description: string;
81
- };
82
- };
83
- };
84
- applyTransformer: {
85
- control: "boolean";
86
- description: string;
87
- };
88
- startAt: {
89
- control: "number";
90
- description: string;
91
- };
92
- endAt: {
93
- control: "number";
94
- description: string;
95
- };
96
- frameStartAt: {
97
- control: "number";
98
- description: string;
99
- };
100
- frameEndAt: {
101
- control: "number";
102
- description: string;
103
- };
104
- mute: {
105
- control: "boolean";
106
- description: string;
107
- };
108
- locked: {
109
- control: "boolean";
110
- description: string;
111
- };
112
- visible: {
113
- control: "boolean";
114
- description: string;
115
- };
116
- onAnchorTransformationEnd: {
117
- action: string;
118
- description: string;
119
- };
120
- pointerdown: {
121
- action: string;
122
- description: string;
123
- };
124
- fps: {
125
- control: "number";
126
- description: string;
127
- };
128
- onContainerRefReady: {
129
- action: string;
130
- description: string;
131
- };
132
- onSpriteRefReady: {
133
- action: string;
134
- description: string;
135
- };
136
- };
137
- };
138
- export default meta;
139
- type Story = StoryObj<typeof meta>;
140
- export declare const Normal: Story;
141
- export declare const FadeIn: Story;
142
- export declare const Filters: Story;
143
- export declare const SplitPosition: Story;
144
- export declare const SplitStartPos: Story;
145
- export declare const VideoFps: Story;
146
- export declare const WithUnifiedTransformer: Story;
package/dist/favicon.svg DELETED
@@ -1,41 +0,0 @@
1
- <svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <!-- Gradient for the favicon -->
4
- <linearGradient id="faviconGradient" x1="0%" y1="0%" x2="100%" y2="100%">
5
- <stop offset="0%" style="stop-color:#4FC3F7;stop-opacity:1" />
6
- <stop offset="100%" style="stop-color:#0288D1;stop-opacity:1" />
7
- </linearGradient>
8
- </defs>
9
-
10
- <!-- Background circle -->
11
- <circle cx="16" cy="16" r="15" fill="url(#faviconGradient)"/>
12
-
13
- <!-- Film strip simplified -->
14
- <g>
15
- <!-- Main frame -->
16
- <rect x="6" y="8" width="20" height="16" rx="2" fill="white" opacity="0.9"/>
17
-
18
- <!-- Film holes - top -->
19
- <rect x="7" y="9" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
20
- <rect x="11" y="9" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
21
- <rect x="15" y="9" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
22
- <rect x="19" y="9" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
23
- <rect x="23" y="9" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
24
-
25
- <!-- Film holes - bottom -->
26
- <rect x="7" y="21.5" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
27
- <rect x="11" y="21.5" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
28
- <rect x="15" y="21.5" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
29
- <rect x="19" y="21.5" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
30
- <rect x="23" y="21.5" width="2" height="1.5" rx="0.5" fill="url(#faviconGradient)"/>
31
-
32
- <!-- Timeline bars inside -->
33
- <rect x="8" y="13" width="6" height="1" rx="0.5" fill="url(#faviconGradient)" opacity="0.5"/>
34
- <rect x="8" y="15.5" width="8" height="1" rx="0.5" fill="url(#faviconGradient)" opacity="0.5"/>
35
- <rect x="8" y="18" width="5" height="1" rx="0.5" fill="url(#faviconGradient)" opacity="0.5"/>
36
-
37
- <!-- Play button -->
38
- <circle cx="20" cy="16" r="4" fill="url(#faviconGradient)" opacity="0.9"/>
39
- <polygon points="19,14 19,18 23,16" fill="white"/>
40
- </g>
41
- </svg>
@@ -1,5 +0,0 @@
1
- import * as PIXI from "pixi.js";
2
- export declare const withEffectsHooks: () => {
3
- nightVisionFilter: PIXI.Filter;
4
- vignetteFilter: PIXI.Filter;
5
- };
@@ -1,98 +0,0 @@
1
- <svg width="600" height="200" viewBox="0 0 600 200" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <!-- Gradient for the logo - brighter for dark mode -->
4
- <linearGradient id="logoDarkGradient" x1="0%" y1="0%" x2="100%" y2="100%">
5
- <stop offset="0%" style="stop-color:#64B5F6;stop-opacity:1" />
6
- <stop offset="100%" style="stop-color:#42A5F5;stop-opacity:1" />
7
- </linearGradient>
8
-
9
- <!-- Gradient for text - brighter -->
10
- <linearGradient id="textDarkGradient" x1="0%" y1="0%" x2="100%" y2="0%">
11
- <stop offset="0%" style="stop-color:#64B5F6;stop-opacity:1" />
12
- <stop offset="100%" style="stop-color:#42A5F5;stop-opacity:1" />
13
- </linearGradient>
14
-
15
- <!-- Glow effect for dark mode -->
16
- <filter id="glow">
17
- <feGaussianBlur stdDeviation="2" result="coloredBlur"/>
18
- <feMerge>
19
- <feMergeNode in="coloredBlur"/>
20
- <feMergeNode in="SourceGraphic"/>
21
- </feMerge>
22
- </filter>
23
- </defs>
24
-
25
- <!-- Dark background (optional, for preview) -->
26
- <rect width="600" height="200" fill="#0d1117"/>
27
-
28
- <!-- Film strip frame -->
29
- <g id="filmStrip" filter="url(#glow)">
30
- <!-- Main frame -->
31
- <rect x="30" y="40" width="150" height="120" rx="8" fill="none" stroke="url(#logoDarkGradient)" stroke-width="4"/>
32
-
33
- <!-- Film holes - top -->
34
- <rect x="40" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
35
- <rect x="60" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
36
- <rect x="80" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
37
- <rect x="100" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
38
- <rect x="120" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
39
- <rect x="140" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
40
- <rect x="160" y="45" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
41
-
42
- <!-- Film holes - bottom -->
43
- <rect x="40" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
44
- <rect x="60" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
45
- <rect x="80" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
46
- <rect x="100" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
47
- <rect x="120" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
48
- <rect x="140" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
49
- <rect x="160" y="147" width="12" height="8" rx="2" fill="url(#logoDarkGradient)"/>
50
-
51
- <!-- Timeline bars inside -->
52
- <rect x="50" y="75" width="50" height="4" rx="2" fill="url(#logoDarkGradient)" opacity="0.7"/>
53
- <rect x="50" y="90" width="70" height="4" rx="2" fill="url(#logoDarkGradient)" opacity="0.7"/>
54
- <rect x="50" y="105" width="40" height="4" rx="2" fill="url(#logoDarkGradient)" opacity="0.7"/>
55
- <rect x="50" y="120" width="60" height="4" rx="2" fill="url(#logoDarkGradient)" opacity="0.7"/>
56
-
57
- <!-- Play button circle with animation -->
58
- <g>
59
- <circle cx="135" cy="100" r="22" fill="none" stroke="url(#logoDarkGradient)" stroke-width="3" opacity="0.9">
60
- <animateTransform
61
- attributeName="transform"
62
- attributeType="XML"
63
- type="rotate"
64
- from="0 135 100"
65
- to="360 135 100"
66
- dur="3s"
67
- repeatCount="indefinite"/>
68
- </circle>
69
-
70
- <!-- Play triangle -->
71
- <polygon points="130,90 130,110 148,100" fill="url(#logoDarkGradient)"/>
72
- </g>
73
- </g>
74
-
75
- <!-- Text: PixiTweenJS -->
76
- <text x="200" y="100" font-family="'Segoe UI', -apple-system, system-ui, sans-serif" font-size="52" font-weight="700" fill="url(#textDarkGradient)" filter="url(#glow)">
77
- PixiTweenJS
78
- </text>
79
-
80
- <!-- Tagline -->
81
- <text x="200" y="130" font-family="'Segoe UI', -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" fill="#90CAF9" opacity="0.9">
82
- Timeline-based canvas animation
83
- </text>
84
-
85
- <!-- Decorative elements - brighter sparkles -->
86
- <g opacity="0.6">
87
- <!-- Small sparkles -->
88
- <circle cx="190" cy="65" r="2" fill="#64B5F6">
89
- <animate attributeName="opacity" values="0.6;1;0.6" dur="2s" repeatCount="indefinite"/>
90
- </circle>
91
- <circle cx="570" cy="75" r="2" fill="#64B5F6">
92
- <animate attributeName="opacity" values="0.6;1;0.6" dur="2.5s" repeatCount="indefinite"/>
93
- </circle>
94
- <circle cx="210" cy="145" r="2" fill="#64B5F6">
95
- <animate attributeName="opacity" values="0.6;1;0.6" dur="3s" repeatCount="indefinite"/>
96
- </circle>
97
- </g>
98
- </svg>