reacthub-pixitweenjs 0.2.109-alpha.7 → 0.3.0-alpha.4

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 (313) hide show
  1. package/LICENSE +8 -16
  2. package/LICENSE.md +79 -239
  3. package/README.md +253 -106
  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 +34 -0
  11. package/dist/components/AepComposition/AepComposition.d.ts +18 -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/AudioPlaybackManager.d.ts +38 -0
  20. package/dist/components/AepComposition/composeTransform3D.d.ts +27 -0
  21. package/dist/components/AepComposition/index.d.ts +42 -0
  22. package/dist/components/AepComposition/matteSourceIds.d.ts +2 -0
  23. package/dist/components/AepComposition/model3d/Pixi3DModelLayer.d.ts +9 -0
  24. package/dist/components/AepComposition/model3d/ThreeOffscreenRenderer.d.ts +49 -0
  25. package/dist/components/AepComposition/model3d/framing.d.ts +30 -0
  26. package/dist/components/AepComposition/model3d/geometry.d.ts +27 -0
  27. package/dist/components/AepComposition/model3d/index.d.ts +14 -0
  28. package/dist/components/AepComposition/model3d/lighting.d.ts +40 -0
  29. package/dist/components/AepComposition/model3d/readiness.d.ts +17 -0
  30. package/dist/components/AepComposition/model3d/sampleModel3D.d.ts +40 -0
  31. package/dist/components/AepComposition/msdfAtlasRegistry.d.ts +16 -0
  32. package/dist/components/AepComposition/pathToThreeShape.d.ts +4 -0
  33. package/dist/components/AepComposition/resolveParentChain.d.ts +3 -0
  34. package/dist/components/AepComposition/resolvePostFxList.d.ts +2 -0
  35. package/dist/components/AepComposition/shouldSplitText.d.ts +26 -0
  36. package/dist/components/AepComposition/threeTextureFromPixi.d.ts +8 -0
  37. package/dist/components/AepComposition/useAepLayerTransform.d.ts +18 -0
  38. package/dist/components/AepComposition/useAepLayerTransform3D.d.ts +8 -0
  39. package/dist/components/AepComposition/useMsdfAtlasRegistry.d.ts +6 -0
  40. package/dist/components/AepComposition/usePixiRenderTexture.d.ts +14 -0
  41. package/dist/components/AepComposition/useResolveAsset.d.ts +8 -0
  42. package/dist/components/AepMask/AepMaskContainer.d.ts +9 -0
  43. package/dist/components/AepMask/PixiTrackMatte.d.ts +10 -0
  44. package/dist/components/AepMask/drawAepMask.d.ts +3 -0
  45. package/dist/components/AepMask/index.d.ts +5 -0
  46. package/dist/components/PixiAudioSprite/HowlerAudioSprite.d.ts +12 -8
  47. package/dist/components/PixiAudioSprite/PixiAudioSprite.d.ts +43 -3
  48. package/dist/components/PixiAudioSprite/index.d.ts +3 -0
  49. package/dist/components/PixiAudioSprite/useAudioVisualizer.d.ts +30 -15
  50. package/dist/components/PixiAudioSprite/wave-config.d.ts +0 -1
  51. package/dist/components/PixiCaptionsTrack/PixiCaptionsTrack.d.ts +86 -0
  52. package/dist/components/PixiCaptionsTrack/index.d.ts +5 -0
  53. package/dist/components/PixiCaptionsTrack/useCaptionPlayhead.d.ts +31 -0
  54. package/dist/components/PixiCaptionsTrack/useCaptionStyles.d.ts +45 -0
  55. package/dist/components/PixiCaptionsTrack/useEmojiTextures.d.ts +8 -0
  56. package/dist/components/PixiGifSprite/PixiGifGsapSync.d.ts +11 -10
  57. package/dist/components/PixiImageSprite/PixiImageSprite.d.ts +28 -2
  58. package/dist/components/PixiLottieSprite/PixiLottieSprite.d.ts +5 -2
  59. package/dist/components/PixiNullObject/PixiNullObject.d.ts +25 -0
  60. package/dist/components/PixiNullObject/index.d.ts +2 -0
  61. package/dist/components/PixiPreComp/PixiPreComp.d.ts +29 -0
  62. package/dist/components/PixiPreComp/index.d.ts +3 -0
  63. package/dist/components/PixiPreComp/validatePrecompDepth.d.ts +2 -0
  64. package/dist/components/PixiRemotionSprite/PixiRemotionGifSprite.d.ts +24 -0
  65. package/dist/components/PixiRemotionSprite/PixiRemotionImageSprite.d.ts +18 -0
  66. package/dist/components/PixiRemotionSprite/PixiRemotionSprite.d.ts +5 -2
  67. package/dist/components/PixiRemotionSprite/PixiRemotionVideoCanvaSprite.d.ts +20 -0
  68. package/dist/components/PixiRemotionSprite/index.d.ts +4 -0
  69. package/dist/components/PixiSVGSprite/PixiMorphSvgSprite.d.ts +35 -0
  70. package/dist/components/PixiSVGSprite/PixiSvgImageSprite.d.ts +35 -0
  71. package/dist/components/PixiSVGSprite/PixiSvgPathSprite.d.ts +21 -4
  72. package/dist/components/PixiSVGSprite/PixiSvgRawSprite.d.ts +30 -0
  73. package/dist/components/PixiSVGSprite/index.d.ts +5 -0
  74. package/dist/components/PixiSequence/PixiSequence.d.ts +29 -5
  75. package/dist/components/PixiShapeLayer/PixiShapeLayer.d.ts +43 -0
  76. package/dist/components/PixiShapeLayer/drawShape.d.ts +20 -0
  77. package/dist/components/PixiShapeLayer/index.d.ts +4 -0
  78. package/dist/components/PixiShapeLayer/samplePath.d.ts +5 -0
  79. package/dist/components/PixiTextSprite/PixiTextSplit.d.ts +26 -0
  80. package/dist/components/PixiTextSprite/PixiTextSprite.d.ts +42 -5
  81. package/dist/components/PixiTextSprite/index.d.ts +3 -0
  82. package/dist/components/PixiTextSprite/resolveTextSplitFills.d.ts +27 -0
  83. package/dist/components/PixiTextSprite/textAnimator.d.ts +22 -0
  84. package/dist/components/PixiThreeSprite/PixiThreeModelSprite.d.ts +23 -0
  85. package/dist/components/PixiThreeSprite/PixiThreeSprite.d.ts +14 -0
  86. package/dist/components/PixiThreeSprite/index.d.ts +4 -0
  87. package/dist/components/PixiUnifiedTransformer/PixiUnifiedTransformer.d.ts +20 -8
  88. package/dist/components/PixiVideoSprite/PixiVideoCanvasSync.d.ts +3 -1
  89. package/dist/components/PixiVideoSprite/PixiVideoSprite.d.ts +31 -2
  90. package/dist/components/index.d.ts +7 -0
  91. package/dist/constants/animation.d.ts +232 -0
  92. package/dist/constants/animationConstants.d.ts +90 -0
  93. package/dist/constants/elementNames.d.ts +4 -0
  94. package/dist/events/Events.d.ts +0 -1
  95. package/dist/filters/animated-vfx/AnimatedVfxFilter.d.ts +19 -0
  96. package/dist/filters/animated-vfx/composeShader.d.ts +2 -0
  97. package/dist/filters/animated-vfx/index.d.ts +14 -0
  98. package/dist/filters/animated-vfx/registry/animatedVfxRegistry.d.ts +65 -0
  99. package/dist/filters/animated-vfx/registry/waveTearVariants.d.ts +14 -0
  100. package/dist/filters/animated-vfx/toStrength.d.ts +1 -0
  101. package/dist/filters/animated-vfx/types.d.ts +18 -0
  102. package/dist/filters/animatedVfxFilters.d.ts +1 -0
  103. package/dist/filters/blend-mode/createBlendCompositeFilter.d.ts +26 -0
  104. package/dist/filters/edge-feather/EdgeFeatherFilter.d.ts +19 -0
  105. package/dist/filters/plate-key/PlateKeyFilter.d.ts +29 -0
  106. package/dist/hocs/AbstractContainer.d.ts +8 -1
  107. package/dist/hocs/BorderMaskContainer.d.ts +43 -0
  108. package/dist/hocs/OverlayTilingSprite.d.ts +3 -3
  109. package/dist/hocs/drawMaskShape.d.ts +7 -0
  110. package/dist/hocs/index.d.ts +5 -0
  111. package/dist/hooks/aep/buildAudioLevelTimeline.d.ts +7 -0
  112. package/dist/hooks/aep/buildBezierPathTimeline.d.ts +13 -0
  113. package/dist/hooks/aep/buildColorValueTimeline.d.ts +24 -0
  114. package/dist/hooks/aep/buildLayerTimeline.d.ts +20 -0
  115. package/dist/hooks/aep/buildScalarValueTimeline.d.ts +6 -0
  116. package/dist/hooks/aep/buildVec2ValueTimeline.d.ts +17 -0
  117. package/dist/hooks/aep/easeCache.d.ts +3 -0
  118. package/dist/hooks/aep/effectRegistry.d.ts +5 -0
  119. package/dist/hooks/aep/effects/brightnessContrast.d.ts +2 -0
  120. package/dist/hooks/aep/effects/dropShadow.d.ts +2 -0
  121. package/dist/hooks/aep/effects/fastBoxBlur.d.ts +2 -0
  122. package/dist/hooks/aep/effects/gaussianBlur.d.ts +2 -0
  123. package/dist/hooks/aep/effects/glow.d.ts +2 -0
  124. package/dist/hooks/aep/effects/hueSaturation.d.ts +2 -0
  125. package/dist/hooks/aep/effects/index.d.ts +9 -0
  126. package/dist/hooks/aep/effects/levels.d.ts +2 -0
  127. package/dist/hooks/aep/effects/tint.d.ts +2 -0
  128. package/dist/hooks/aep/effects/types.d.ts +8 -0
  129. package/dist/hooks/aep/index.d.ts +22 -0
  130. package/dist/hooks/aep/interpolateBezierPath.d.ts +3 -0
  131. package/dist/hooks/aep/sampleAnimatable.d.ts +13 -0
  132. package/dist/hooks/aep/useAepBezierPathAnimator.d.ts +12 -0
  133. package/dist/hooks/aep/useAepColorAnimator.d.ts +11 -0
  134. package/dist/hooks/aep/useAepCurrentFrame.d.ts +1 -0
  135. package/dist/hooks/aep/useAepEffectKeyframes.d.ts +4 -0
  136. package/dist/hooks/aep/useAepEffects.d.ts +3 -0
  137. package/dist/hooks/aep/useAepKeyframes.d.ts +15 -0
  138. package/dist/hooks/aep/useAepTextLayout.d.ts +12 -0
  139. package/dist/hooks/aep/useAepValueAnimator.d.ts +2 -0
  140. package/dist/hooks/aep/useAepVec2Animator.d.ts +10 -0
  141. package/dist/hooks/aep/useTypefaceMetrics.d.ts +2 -0
  142. package/dist/hooks/index.d.ts +12 -0
  143. package/dist/hooks/useBlendFilter.d.ts +17 -0
  144. package/dist/hooks/useDebouncedValue.d.ts +11 -0
  145. package/dist/hooks/useFontEpoch.d.ts +10 -0
  146. package/dist/hooks/usePixiAnimation.d.ts +24 -0
  147. package/dist/hooks/useSpriteFilters.d.ts +81 -0
  148. package/dist/hooks/useSvgTexture.d.ts +29 -0
  149. package/dist/hooks/video/useVideoLifecycle.d.ts +23 -0
  150. package/dist/hooks/video/useVideoTexture.d.ts +34 -0
  151. package/dist/hooks/video/useVideoTimelineSync.d.ts +24 -0
  152. package/dist/hooks/withEffectsHook.d.ts +325 -4
  153. package/dist/hooks/withFiltersHook.d.ts +104 -38
  154. package/dist/importers/aep/bodymovin-color-controls.d.ts +23 -0
  155. package/dist/importers/aep/bodymovin-color.d.ts +1 -0
  156. package/dist/importers/aep/bodymovin-keyframe.d.ts +42 -0
  157. package/dist/importers/aep/bodymovin-layer.d.ts +84 -0
  158. package/dist/importers/aep/bodymovin-transform.d.ts +12 -0
  159. package/dist/importers/aep/bodymovin.d.ts +7 -0
  160. package/dist/importers/aep/bodymovinCameras.d.ts +34 -0
  161. package/dist/importers/aep/bodymovinExtensions.d.ts +3 -0
  162. package/dist/importers/aep/bodymovinTextRuns.d.ts +13 -0
  163. package/dist/importers/aep/index.d.ts +7 -0
  164. package/dist/importers/aep/lottieLint.d.ts +23 -0
  165. package/dist/importers/aep/lottieLint.rules.d.ts +6 -0
  166. package/dist/index.d.ts +3 -0
  167. package/dist/index.es.js +76991 -30787
  168. package/dist/index.umd.js +5621 -1699
  169. package/dist/lib/pixi-essentials/bounds/AxisAlignedBounds.d.ts +121 -0
  170. package/dist/lib/pixi-essentials/bounds/OrientedBounds.d.ts +103 -0
  171. package/dist/lib/pixi-essentials/bounds/index.d.ts +2 -0
  172. package/dist/lib/pixi-essentials/index.d.ts +6 -0
  173. package/dist/lib/pixi-essentials/object-pool/AverageProvider.d.ts +28 -0
  174. package/dist/lib/pixi-essentials/object-pool/ObjectPool.d.ts +103 -0
  175. package/dist/lib/pixi-essentials/object-pool/ObjectPoolFactory.d.ts +40 -0
  176. package/dist/lib/pixi-essentials/object-pool/index.d.ts +2 -0
  177. package/dist/lib/pixi-essentials/react-bindings/Transformer.d.ts +74 -0
  178. package/dist/lib/pixi-essentials/react-bindings/index.d.ts +3 -0
  179. package/dist/lib/pixi-essentials/react-bindings/utils/applyEventProps.d.ts +13 -0
  180. package/dist/lib/pixi-essentials/transformer/Transformer.d.ts +728 -0
  181. package/dist/lib/pixi-essentials/transformer/TransformerHandle.d.ts +142 -0
  182. package/dist/lib/pixi-essentials/transformer/TransformerWireframe.d.ts +54 -0
  183. package/dist/lib/pixi-essentials/transformer/index.d.ts +5 -0
  184. package/dist/lib/pixi-essentials/transformer/utils/decomposeTransform.d.ts +11 -0
  185. package/dist/lib/pixi-essentials/transformer/utils/distanceToLine.d.ts +7 -0
  186. package/dist/lib/pixi-essentials/transformer/utils/multiplyTransform.d.ts +17 -0
  187. package/dist/lib/pixi-essentials/transformer/utils/skewTransform.d.ts +13 -0
  188. package/dist/providers/GsapPixieContextProvider.d.ts +7 -0
  189. package/dist/types/BaseProps.d.ts +51 -16
  190. package/dist/types/CropTypes.d.ts +12 -0
  191. package/dist/types/Effects.d.ts +674 -13
  192. package/dist/types/MaskTypes.d.ts +10 -0
  193. package/dist/types/OverlayTypes.d.ts +9 -0
  194. package/dist/types/aep/asset.d.ts +43 -0
  195. package/dist/types/aep/camera.d.ts +778 -0
  196. package/dist/types/aep/composition.d.ts +82 -0
  197. package/dist/types/aep/effect.d.ts +137 -0
  198. package/dist/types/aep/index.d.ts +14 -0
  199. package/dist/types/aep/layer.d.ts +26546 -0
  200. package/dist/types/aep/light.d.ts +781 -0
  201. package/dist/types/aep/mask.d.ts +193 -0
  202. package/dist/types/aep/parse.d.ts +11 -0
  203. package/dist/types/aep/postFx.d.ts +107 -0
  204. package/dist/types/aep/text-animator.d.ts +687 -0
  205. package/dist/types/aep/text-runs.d.ts +234 -0
  206. package/dist/types/aep/theme.d.ts +72 -0
  207. package/dist/types/aep/transform.d.ts +285 -0
  208. package/dist/types/aep/transform3D.d.ts +171 -0
  209. package/dist/types/index.d.ts +4 -0
  210. package/dist/utils/AppStateProvider.d.ts +1 -0
  211. package/dist/utils/AppWrapper.d.ts +3 -0
  212. package/dist/utils/ContextBridge.d.ts +1 -1
  213. package/dist/utils/GsapAnims.d.ts +0 -1
  214. package/dist/utils/InteractionManager.d.ts +1 -10
  215. package/dist/utils/PixiSelector.d.ts +17 -0
  216. package/dist/utils/aeMath/zoomToFov.d.ts +1 -0
  217. package/dist/utils/areSpritePropsEqual.d.ts +8 -0
  218. package/dist/utils/assetRefCount.d.ts +20 -0
  219. package/dist/utils/audio/audioRegistry.d.ts +51 -0
  220. package/dist/utils/audio/audioSync.d.ts +98 -0
  221. package/dist/utils/audio/gainEnvelope.d.ts +162 -0
  222. package/dist/utils/audio/useAudioRegistry.d.ts +10 -0
  223. package/dist/utils/blendMode.d.ts +21 -0
  224. package/dist/utils/captions/captionClock.d.ts +17 -0
  225. package/dist/utils/captions/captionDisplay.d.ts +57 -0
  226. package/dist/utils/captions/captionPose.d.ts +107 -0
  227. package/dist/utils/captions/captionVisual.d.ts +32 -0
  228. package/dist/utils/captions/captionWordLayout.d.ts +67 -0
  229. package/dist/utils/captions/groupSegments.d.ts +20 -0
  230. package/dist/utils/captions/index.d.ts +10 -0
  231. package/dist/utils/captions/parseSubtitles.d.ts +25 -0
  232. package/dist/utils/captions/sampleCaption.d.ts +25 -0
  233. package/dist/utils/captions/timeBase.d.ts +34 -0
  234. package/dist/utils/captions/types.d.ts +279 -0
  235. package/dist/utils/entranceOverlap.d.ts +37 -0
  236. package/dist/utils/fonts/fontLoader.d.ts +33 -0
  237. package/dist/utils/fonts/fontSpec.d.ts +16 -0
  238. package/dist/utils/fonts/googleFonts.d.ts +9 -0
  239. package/dist/utils/gifTiming.d.ts +22 -0
  240. package/dist/utils/gsapEffects/animationConfigs.d.ts +3802 -0
  241. package/dist/utils/gsapEffects/backEffects.d.ts +1 -0
  242. package/dist/utils/gsapEffects/bounceEffects.d.ts +1 -0
  243. package/dist/utils/gsapEffects/effectGenerator.d.ts +3 -0
  244. package/dist/utils/gsapEffects/effectTarget.d.ts +11 -0
  245. package/dist/utils/gsapEffects/fadeEffects.d.ts +1 -0
  246. package/dist/utils/gsapEffects/flipEffects.d.ts +1 -0
  247. package/dist/utils/gsapEffects/generalEffects.d.ts +1 -0
  248. package/dist/utils/gsapEffects/lightSpeedEffect.d.ts +1 -0
  249. package/dist/utils/gsapEffects/logoRevealEffects.d.ts +1 -0
  250. package/dist/utils/gsapEffects/registerEffects.d.ts +1 -0
  251. package/dist/utils/gsapEffects/riseEffect.d.ts +1 -0
  252. package/dist/utils/gsapEffects/rollEffects.d.ts +1 -0
  253. package/dist/utils/gsapEffects/rotateEffects.d.ts +1 -0
  254. package/dist/utils/gsapEffects/slideEffects.d.ts +1 -0
  255. package/dist/utils/gsapEffects/staggerTextEffects.d.ts +1 -0
  256. package/dist/utils/gsapEffects/textUnitEffects.d.ts +1 -0
  257. package/dist/utils/gsapEffects/textUnitMask.d.ts +1 -0
  258. package/dist/utils/gsapEffects/textUnits.d.ts +172 -0
  259. package/dist/utils/gsapEffects/typewriterEffect.d.ts +1 -0
  260. package/dist/utils/gsapEffects/wipeEffect.d.ts +1 -0
  261. package/dist/utils/gsapEffects/zoomEffects.d.ts +1 -0
  262. package/dist/utils/index.d.ts +31 -0
  263. package/dist/utils/isExternalUrl.d.ts +1 -0
  264. package/dist/utils/loadSpriteTexture.d.ts +39 -0
  265. package/dist/utils/msdf/computeInstanceMatrix.d.ts +18 -0
  266. package/dist/utils/msdf/index.d.ts +4 -0
  267. package/dist/utils/msdf/loadMsdfAtlas.d.ts +9 -0
  268. package/dist/utils/msdf/msdfShader.d.ts +2 -0
  269. package/dist/utils/msdf/types.d.ts +49 -0
  270. package/dist/utils/pixiExtend.d.ts +0 -0
  271. package/dist/utils/sanitizeCanvasText.d.ts +12 -0
  272. package/dist/utils/sanitizeImageSrc.d.ts +7 -0
  273. package/dist/utils/svgRaster.d.ts +47 -0
  274. package/dist/utils/text/resolveTextRuns.d.ts +8 -0
  275. package/dist/utils/textLayout/alignLines.d.ts +15 -0
  276. package/dist/utils/textLayout/applyVerticals.d.ts +14 -0
  277. package/dist/utils/textLayout/breakLines.d.ts +14 -0
  278. package/dist/utils/textLayout/canvasMetricsProvider.d.ts +6 -0
  279. package/dist/utils/textLayout/index.d.ts +7 -0
  280. package/dist/utils/textLayout/layoutText.d.ts +7 -0
  281. package/dist/utils/textLayout/metricsCache.d.ts +9 -0
  282. package/dist/utils/textLayout/pixiCanvasMetricsProvider.d.ts +6 -0
  283. package/dist/utils/textLayout/shapeRuns.d.ts +18 -0
  284. package/dist/utils/textLayout/typefaceMetricsProvider.d.ts +19 -0
  285. package/dist/utils/textLayout/types.d.ts +61 -0
  286. package/dist/utils/textLayout/unicode.d.ts +2 -0
  287. package/dist/utils/textStyle.d.ts +81 -0
  288. package/dist/utils/textStyleV8.d.ts +62 -0
  289. package/dist/utils/threeModel.d.ts +55 -0
  290. package/dist/utils/videoAssetCache.d.ts +4 -0
  291. package/dist/utils/videoReadiness.d.ts +13 -0
  292. package/package.json +74 -54
  293. package/dist/assets/icon/transformericons/icons.d.ts +0 -8
  294. package/dist/components/PixiAudioSprite/PixiAudioSprite.stories.d.ts +0 -12
  295. package/dist/components/PixiGifSprite/PixiGifSprite.stories.d.ts +0 -163
  296. package/dist/components/PixiImageSprite/PixiImageSprite.stories.d.ts +0 -150
  297. package/dist/components/PixiLottieSprite/PixiLottieSprite.stories.d.ts +0 -159
  298. package/dist/components/PixiSVGSprite/PixiSvgPathSprite.stories.d.ts +0 -131
  299. package/dist/components/PixiSequence/PixiSequence.stories.d.ts +0 -33
  300. package/dist/components/PixiTextSprite/PixiTextSprite.stories.d.ts +0 -140
  301. package/dist/components/PixiVideoSprite/PixiVideoSprite.stories.d.ts +0 -146
  302. package/dist/favicon.svg +0 -41
  303. package/dist/pixitweenjs-logo-dark.svg +0 -98
  304. package/dist/pixitweenjs-logo.svg +0 -97
  305. package/dist/stories/Features/TestHowlerAudioFiles.d.ts +0 -2
  306. package/dist/stories/Features/TimelineAnimations.d.ts +0 -15
  307. package/dist/stories/Features/TimelineTest.d.ts +0 -15
  308. package/dist/stories/Features/TimelineTest.stories.d.ts +0 -23
  309. package/dist/stories/Features/TimelineTestAudios.d.ts +0 -15
  310. package/dist/stories/Features/TimelineTestWithVideos.d.ts +0 -15
  311. package/dist/stories/Features/TimelineWithGif.d.ts +0 -21
  312. package/dist/stories/Features/common.tests.d.ts +0 -411
  313. /package/dist/{.gitkeep → utils/gsapEffects/index.d.ts} +0 -0
@@ -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,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>
@@ -1,97 +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 -->
4
- <linearGradient id="logoGradient" 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:#29B6F6;stop-opacity:1" />
7
- </linearGradient>
8
-
9
- <!-- Gradient for text -->
10
- <linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="0%">
11
- <stop offset="0%" style="stop-color:#29B6F6;stop-opacity:1" />
12
- <stop offset="100%" style="stop-color:#039BE5;stop-opacity:1" />
13
- </linearGradient>
14
-
15
- <!-- Animation for the play circle -->
16
- <animateTransform
17
- id="playAnimation"
18
- attributeName="transform"
19
- attributeType="XML"
20
- type="rotate"
21
- from="0 135 100"
22
- to="360 135 100"
23
- dur="3s"
24
- repeatCount="indefinite"/>
25
- </defs>
26
-
27
- <!-- Film strip frame -->
28
- <g id="filmStrip">
29
- <!-- Main frame -->
30
- <rect x="30" y="40" width="150" height="120" rx="8" fill="none" stroke="url(#logoGradient)" stroke-width="4"/>
31
-
32
- <!-- Film holes - top -->
33
- <rect x="40" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
34
- <rect x="60" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
35
- <rect x="80" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
36
- <rect x="100" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
37
- <rect x="120" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
38
- <rect x="140" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
39
- <rect x="160" y="45" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
40
-
41
- <!-- Film holes - bottom -->
42
- <rect x="40" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
43
- <rect x="60" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
44
- <rect x="80" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
45
- <rect x="100" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
46
- <rect x="120" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
47
- <rect x="140" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
48
- <rect x="160" y="147" width="12" height="8" rx="2" fill="url(#logoGradient)"/>
49
-
50
- <!-- Timeline bars inside -->
51
- <rect x="50" y="75" width="50" height="4" rx="2" fill="url(#logoGradient)" opacity="0.6"/>
52
- <rect x="50" y="90" width="70" height="4" rx="2" fill="url(#logoGradient)" opacity="0.6"/>
53
- <rect x="50" y="105" width="40" height="4" rx="2" fill="url(#logoGradient)" opacity="0.6"/>
54
- <rect x="50" y="120" width="60" height="4" rx="2" fill="url(#logoGradient)" opacity="0.6"/>
55
-
56
- <!-- Play button circle with animation -->
57
- <g>
58
- <circle cx="135" cy="100" r="22" fill="none" stroke="url(#logoGradient)" stroke-width="3" opacity="0.8">
59
- <animateTransform
60
- attributeName="transform"
61
- attributeType="XML"
62
- type="rotate"
63
- from="0 135 100"
64
- to="360 135 100"
65
- dur="3s"
66
- repeatCount="indefinite"/>
67
- </circle>
68
-
69
- <!-- Play triangle -->
70
- <polygon points="130,90 130,110 148,100" fill="url(#logoGradient)"/>
71
- </g>
72
- </g>
73
-
74
- <!-- Text: PixiTweenJS -->
75
- <text x="200" y="100" font-family="'Segoe UI', -apple-system, system-ui, sans-serif" font-size="52" font-weight="700" fill="url(#textGradient)">
76
- PixiTweenJS
77
- </text>
78
-
79
- <!-- Tagline -->
80
- <text x="200" y="130" font-family="'Segoe UI', -apple-system, system-ui, sans-serif" font-size="20" font-weight="400" fill="#64B5F6" opacity="0.8">
81
- Timeline-based canvas animation
82
- </text>
83
-
84
- <!-- Decorative elements -->
85
- <g opacity="0.3">
86
- <!-- Small sparkles -->
87
- <circle cx="190" cy="65" r="2" fill="#29B6F6">
88
- <animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/>
89
- </circle>
90
- <circle cx="570" cy="75" r="2" fill="#29B6F6">
91
- <animate attributeName="opacity" values="0.3;1;0.3" dur="2.5s" repeatCount="indefinite"/>
92
- </circle>
93
- <circle cx="210" cy="145" r="2" fill="#29B6F6">
94
- <animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/>
95
- </circle>
96
- </g>
97
- </svg>
@@ -1,2 +0,0 @@
1
- declare function TestAudioFiles(): import("react/jsx-runtime").JSX.Element;
2
- export default TestAudioFiles;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export declare enum SpriteType {
3
- Image = "Image",
4
- Gif = "Gif",
5
- Video = "Video"
6
- }
7
- export interface TimelineTestProps {
8
- startAt: number;
9
- endAt: number;
10
- }
11
- export interface TimelineProps {
12
- children?: React.ReactNode;
13
- sequences: TimelineTestProps[];
14
- }
15
- export declare const TimelineAnimationTest: (props: TimelineProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export declare enum SpriteType {
3
- Image = "Image",
4
- Gif = "Gif",
5
- Video = "Video"
6
- }
7
- export interface TimelineTestProps {
8
- startAt: number;
9
- endAt: number;
10
- }
11
- export interface TimelineProps {
12
- children?: React.ReactNode;
13
- sequences: TimelineTestProps[];
14
- }
15
- export declare const TimelineTest: (props: TimelineProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,23 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
-
3
- declare const meta: {
4
- id: string;
5
- title: string;
6
- component: (props: import('./TimelineTest').TimelineProps) => import("react/jsx-runtime").JSX.Element;
7
- tags: string[];
8
- argTypes: {
9
- sequences: {
10
- description: string;
11
- control: {
12
- type: "object";
13
- };
14
- };
15
- };
16
- };
17
- export default meta;
18
- type Story = StoryObj<typeof meta>;
19
- export declare const Normal: Story;
20
- export declare const GifTest: Story;
21
- export declare const VideoTest: Story;
22
- export declare const AudioTest: Story;
23
- export declare const Animations: Story;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export declare enum SpriteType {
3
- Image = "Image",
4
- Gif = "Gif",
5
- Video = "Video"
6
- }
7
- export interface TimelineTestProps {
8
- startAt: number;
9
- endAt: number;
10
- }
11
- export interface TimelineProps {
12
- children?: React.ReactNode;
13
- sequences: TimelineTestProps[];
14
- }
15
- export declare const TimelineTestAudios: (props: TimelineProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export declare enum SpriteType {
3
- Image = "Image",
4
- Gif = "Gif",
5
- Video = "Video"
6
- }
7
- export interface TimelineTestProps {
8
- startAt: number;
9
- endAt: number;
10
- }
11
- export interface TimelineProps {
12
- children?: React.ReactNode;
13
- sequences: TimelineTestProps[];
14
- }
15
- export declare const TimelineTestVideos: (props: TimelineProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,21 +0,0 @@
1
- import * as React from "react";
2
- export declare enum SpriteType {
3
- Image = "Image",
4
- Gif = "Gif",
5
- Video = "Video"
6
- }
7
- export interface TimelineTestProps {
8
- startAt: number;
9
- endAt: number;
10
- }
11
- export interface TimelineProps {
12
- children?: React.ReactNode;
13
- sequences: TimelineTestProps[];
14
- }
15
- export declare const TimelineWithGif: {
16
- (props: TimelineProps): import("react/jsx-runtime").JSX.Element;
17
- whyDidYouRender: {
18
- logOnDifferentValues: boolean;
19
- customName: string;
20
- };
21
- };