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
@@ -0,0 +1,61 @@
1
+ export type AepTextAlign = "left" | "center" | "right" | "justify-full" | "justify-last-left" | "justify-last-center" | "justify-last-right";
2
+ export interface AepTextLayoutRun {
3
+ text: string;
4
+ font: string;
5
+ size: number;
6
+ weight?: number | string;
7
+ italic?: boolean;
8
+ fill?: string;
9
+ tracking?: number;
10
+ baselineShift?: number;
11
+ }
12
+ export interface AepTextLayoutInput {
13
+ runs: AepTextLayoutRun[];
14
+ box?: {
15
+ width?: number;
16
+ height?: number;
17
+ };
18
+ align?: AepTextAlign;
19
+ leading?: number;
20
+ tracking?: number;
21
+ paragraphBreak?: "lf" | "crlf" | "auto";
22
+ metrics?: AepTextMetricsProvider;
23
+ }
24
+ export interface AepGlyphMetrics {
25
+ advance: number;
26
+ ascent: number;
27
+ descent: number;
28
+ }
29
+ export interface AepTextMetricsProvider {
30
+ measure(run: AepTextLayoutRun, ch: string): AepGlyphMetrics;
31
+ }
32
+ export interface AepTextLayoutGlyph {
33
+ char: string;
34
+ runIndex: number;
35
+ charIndex: number;
36
+ wordIndex: number;
37
+ lineIndex: number;
38
+ x: number;
39
+ y: number;
40
+ advance: number;
41
+ ascent: number;
42
+ descent: number;
43
+ isWhitespace: boolean;
44
+ isLineStart: boolean;
45
+ isLineEnd: boolean;
46
+ }
47
+ export interface AepTextLayoutLine {
48
+ startGlyph: number;
49
+ endGlyph: number;
50
+ width: number;
51
+ baselineY: number;
52
+ isLast: boolean;
53
+ }
54
+ export interface AepTextLayoutResult {
55
+ glyphs: AepTextLayoutGlyph[];
56
+ lines: AepTextLayoutLine[];
57
+ bounds: {
58
+ width: number;
59
+ height: number;
60
+ };
61
+ }
@@ -0,0 +1,2 @@
1
+ export declare function splitGraphemes(str: string): string[];
2
+ export declare function isWhitespaceChar(ch: string): boolean;
@@ -0,0 +1,81 @@
1
+ import type * as PIXI from "pixi.js";
2
+ /** Everything the flat text sprite reads from `transformation` that shapes the TextStyle. */
3
+ export interface TextStyleInput {
4
+ fontFamily?: string;
5
+ fontSize?: number;
6
+ fontWeight?: string | number;
7
+ fontStyle?: string;
8
+ /** `"small-caps"`, or (legacy) a boolean. */
9
+ fontVariant?: string | boolean;
10
+ fill?: string | number;
11
+ /** Two or more colours -> a linear FillGradient (overrides `fill`). */
12
+ gradientColors?: (string | number)[];
13
+ gradientStops?: number[];
14
+ /** 0 = vertical (default), 1 = horizontal. */
15
+ gradientType?: 0 | 1;
16
+ stroke?: string | number | object | null;
17
+ /** v8 name. */
18
+ strokeWidth?: number;
19
+ /** v7 name; both are accepted. */
20
+ strokeThickness?: number;
21
+ dropShadow?: boolean | object;
22
+ dropShadowColor?: string | number | null;
23
+ dropShadowBlur?: number;
24
+ dropShadowAlpha?: number;
25
+ /** Radians. */
26
+ dropShadowAngle?: number;
27
+ dropShadowDistance?: number;
28
+ /** Soft-glow preset: a zero-offset shadow of `blurRadius`. Wins over `dropShadow`. */
29
+ blurEnabled?: boolean;
30
+ blurRadius?: number;
31
+ align?: string;
32
+ padding?: number;
33
+ letterSpacing?: number | string;
34
+ leading?: number;
35
+ /**
36
+ * Wrap width in px. When unset the text does NOT wrap (a very large width), which is the
37
+ * sprite's long-standing default; set it (or call `setWordWrap`) to wrap.
38
+ */
39
+ wordWrapWidth?: number;
40
+ /** Pixi v8.16+ tagged text. */
41
+ tagStyles?: Record<string, Partial<PIXI.TextStyleOptions>>;
42
+ }
43
+ export declare const NO_WRAP_WIDTH = 50000000;
44
+ /**
45
+ * Build Pixi v8 `TextStyleOptions` from the sprite's transformation fields. Pure (the only Pixi
46
+ * thing it may construct is a FillGradient), so it is unit-testable.
47
+ *
48
+ * Fixes over the previous inline builder:
49
+ * - font weights 400-900 were silently dropped (only bold/bolder/lighter/100-300 passed)
50
+ * - stroke/shadow went through the v7 flat props, which Pixi converts with a deprecation
51
+ * warning on every `new TextStyle`; v8 objects are emitted directly
52
+ * - a numeric black stroke (0x000000) was treated as "no stroke"
53
+ * - shadow alpha/angle/distance were hard-coded (alpha ignored, angle 30deg, distance 5)
54
+ * - negative letterSpacing was dropped
55
+ * - `fontVariant` was passed as a boolean
56
+ * - `align` and `padding` were never applied
57
+ * - gradient fills and `'transparent'` fills were unsupported
58
+ */
59
+ export declare function buildTextStyleOptions(input: TextStyleInput): PIXI.TextStyleOptions;
60
+ /**
61
+ * Where a background box sits so it hugs text of size `textW x textH` placed with `anchor` at
62
+ * (x, y), padded by `pad` on every side. Returns the box size and its position for a sprite
63
+ * that uses the SAME anchor as the text.
64
+ */
65
+ export declare function hugBox(x: number, y: number, anchor: {
66
+ x: number;
67
+ y: number;
68
+ }, textW: number, textH: number, pad: number): {
69
+ width: number;
70
+ height: number;
71
+ x: number;
72
+ y: number;
73
+ };
74
+ /** Normalise the scalar-or-point anchor. */
75
+ export declare const toAnchorPoint: (a: number | {
76
+ x: number;
77
+ y: number;
78
+ } | undefined) => {
79
+ x: number;
80
+ y: number;
81
+ };
@@ -0,0 +1,62 @@
1
+ import * as PIXI from "pixi.js";
2
+ /**
3
+ * Pixi v8 TextStyle helpers. v7 accepted flat `dropShadow*` / `strokeThickness`
4
+ * props; v8 expects `dropShadow: {…}`, `stroke: {color, width}` and a
5
+ * `FillGradient`. Pixi 8.18 still converts the flat v7 props in the constructor,
6
+ * but logs a deprecation warning on every `new TextStyle` — these helpers emit
7
+ * the v8 shapes directly. Ported from the Clippy editor, with fixes noted below.
8
+ */
9
+ export interface V7DropShadowFields {
10
+ dropShadow?: boolean | object;
11
+ dropShadowColor?: string | number;
12
+ dropShadowBlur?: number;
13
+ dropShadowAlpha?: number;
14
+ dropShadowAngle?: number;
15
+ dropShadowDistance?: number;
16
+ }
17
+ export type V8DropShadowPatch = {
18
+ dropShadow?: {
19
+ color: string | number;
20
+ alpha: number;
21
+ angle: number;
22
+ blur: number;
23
+ distance: number;
24
+ };
25
+ };
26
+ export declare const mapV7DropShadow: (s: V7DropShadowFields) => V8DropShadowPatch;
27
+ export interface V7StrokeFields {
28
+ stroke?: string | number | object | null;
29
+ strokeThickness?: number;
30
+ }
31
+ /**
32
+ * Pack v7 `stroke` (colour) + `strokeThickness` (width) into the v8 object.
33
+ *
34
+ * Fix vs Clippy: a numeric black stroke (`0x000000`) is a valid colour but falsy,
35
+ * so test for null/undefined rather than truthiness.
36
+ */
37
+ export declare const mapV7Stroke: (s: V7StrokeFields) => {
38
+ stroke?: object;
39
+ };
40
+ export interface V7GradientFields {
41
+ fillGradientStops?: number[];
42
+ fillGradientType?: 0 | 1;
43
+ }
44
+ /**
45
+ * Build a v8 `FillGradient` from colours + stops. `type` 0 = vertical, 1 = horizontal.
46
+ * Returns undefined when fewer than two colours are given.
47
+ *
48
+ * Fix vs Clippy: uses the options form (`{type, start, end, textureSpace, colorStops}`);
49
+ * the positional `new FillGradient(x0, y0, x1, y1)` is deprecated since Pixi 8.5.2.
50
+ */
51
+ export declare const buildV8FillGradient: (colorsHex: (string | number)[] | null | undefined, stops: number[] | undefined, type: 0 | 1 | undefined) => PIXI.FillGradient | undefined;
52
+ /**
53
+ * Normalise a CSS font weight. Accepts the named weights and 100..900 as a number
54
+ * or numeric string. Returns undefined for anything else, so the caller can leave
55
+ * the TextStyle default alone.
56
+ *
57
+ * Fix: the previous flat sprite only let `bold|bolder|lighter|100|200|300` through,
58
+ * silently dropping 400-900 (so Montserrat 800 rendered at 400).
59
+ */
60
+ export declare const normalizeFontWeight: (weight: string | number | null | undefined) => PIXI.TextStyleFontWeight | undefined;
61
+ /** Letter spacing: any finite number, including negative (tight tracking). 0/invalid -> undefined. */
62
+ export declare const normalizeLetterSpacing: (value: number | string | null | undefined) => number | undefined;
@@ -0,0 +1,55 @@
1
+ import * as THREE from "three";
2
+ export interface ThreeDParams {
3
+ positionX?: number;
4
+ positionY?: number;
5
+ positionZ?: number;
6
+ rotationX?: number;
7
+ rotationY?: number;
8
+ rotationZ?: number;
9
+ /** Continuous Y spin in rad/s, added on top of rotationY. Default 0.5. */
10
+ spinSpeed?: number;
11
+ scale?: number;
12
+ flipX?: 1 | -1;
13
+ flipY?: 1 | -1;
14
+ materialColor?: string;
15
+ roughness?: number;
16
+ metalness?: number;
17
+ emissiveIntensity?: number;
18
+ ambientIntensity?: number;
19
+ directionalIntensity?: number;
20
+ fillIntensity?: number;
21
+ clipIndex?: number;
22
+ playbackSpeed?: number;
23
+ }
24
+ export interface ModelPose {
25
+ position: [number, number, number];
26
+ rotation: [number, number, number];
27
+ scale: [number, number, number];
28
+ }
29
+ export declare const THREE_DEFAULTS: {
30
+ readonly ambientIntensity: 0.6;
31
+ readonly directionalIntensity: 1.2;
32
+ readonly fillIntensity: 0.8;
33
+ readonly spinSpeed: 0.5;
34
+ readonly playbackSpeed: 1;
35
+ };
36
+ /** Pure pose at local clip time `t` (seconds). Same input -> same output, so scrub/export are stable. */
37
+ export declare function computeModelPose(td: ThreeDParams, t: number): ModelPose;
38
+ /** Animation clock position for clip playback: speed-scaled, looped. */
39
+ export declare function clipTimeAt(t: number, duration: number, speed?: number, loop?: boolean): number;
40
+ export type MaterialOverrides = Pick<ThreeDParams, "materialColor" | "roughness" | "metalness" | "emissiveIntensity">;
41
+ export declare function hasMaterialOverrides(o: MaterialOverrides): boolean;
42
+ export declare function applyMaterialOverrides(root: THREE.Object3D, o: MaterialOverrides): void;
43
+ /** Stable key so overrides are re-applied only when they actually change. */
44
+ export declare function materialOverrideKey(o: MaterialOverrides): string;
45
+ /** Camera distance so a bounding box of `maxDim` fits the vertical FOV (degrees), with margin. */
46
+ export declare function fitDistance(maxDim: number, fovDeg: number, margin?: number): number;
47
+ export declare function fitCameraToObject(camera: THREE.PerspectiveCamera, root: THREE.Object3D, margin?: number): void;
48
+ /**
49
+ * GLTFLoader resolves relative texture/buffer paths against the model's own directory. For hosts
50
+ * (e.g. Poly Haven) whose CDN layout doesn't mirror those paths, `resources` maps each relative
51
+ * path to its real absolute URL. Returns a URL modifier for THREE.LoadingManager, or undefined.
52
+ */
53
+ export declare function buildResourceUrlModifier(modelSrc: string, resources?: Record<string, string>): ((url: string) => string) | undefined;
54
+ /** Recursively dispose geometries, materials and their textures. */
55
+ export declare function disposeObject(root: THREE.Object3D): void;
@@ -0,0 +1,4 @@
1
+ /** Mark the URL in use; cancels a pending unload so a remount keeps the texture. */
2
+ export declare const acquireVideoAsset: (key: string) => void;
3
+ /** Release one use; the texture is unloaded after the grace period if still unused. */
4
+ export declare const releaseVideoAsset: (key: string) => void;
@@ -0,0 +1,13 @@
1
+ /** Failsafe: never block the play button longer than 5s on a hung load. */
2
+ export declare const VIDEO_READY_TIMEOUT_MS = 5000;
3
+ /**
4
+ * Register a video sprite as pending. Always re-pends on (re)mount so a remount
5
+ * after an earlier markVideoReady still waits for a fresh load signal.
6
+ */
7
+ export declare function registerVideo(uniqueId: string): void;
8
+ export declare function markVideoReady(uniqueId: string): void;
9
+ export declare function unregisterVideo(uniqueId: string): void;
10
+ /** Clear all readiness state (project switch / editor reset). */
11
+ export declare function resetVideoReadiness(): void;
12
+ /** true when no registered video is still loading. */
13
+ export declare function useAllVideosReady(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reacthub-pixitweenjs",
3
- "version": "0.2.109-alpha.7",
3
+ "version": "0.3.0-alpha.4",
4
4
  "description": "reacthub-pixitweenjs is a library that provides a powerful combination of React, PixiJS, GSAP, and image manipulation capabilities in a timeline sequence. With this library, you can easily create stunning animations and interactive graphics for your React applications",
5
5
  "author": "khanzzirfan <reacthub.ai@gmail.com>",
6
6
  "type": "module",
@@ -25,24 +25,36 @@
25
25
  ],
26
26
  "repository": {
27
27
  "type": "git",
28
- "url": "https://github.com/khanzzirfan/reacthub-pixitweenjs"
28
+ "url": "https://github.com/khanzzirfan/reacthub-pixitweenjs",
29
+ "directory": ""
29
30
  },
30
31
  "bugs": {
31
32
  "url": "https://github.com/khanzzirfan/reacthub-pixitweenjs"
32
33
  },
33
- "license": "Apache-2.0",
34
+ "homepage": "https://pixitweenjs.xyz",
35
+ "license": "SEE LICENSE IN LICENSE.md",
34
36
  "scripts": {
35
37
  "dev": "vite",
36
38
  "build": "tsc && vite build",
37
39
  "build:prod": "tsc && vite build --mode production",
38
- "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
39
- "lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
40
+ "lint": "eslint src --ext ts,tsx --report-unused-disable-directives",
41
+ "lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
40
42
  "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
41
43
  "preview": "vite preview",
42
44
  "test": "vitest",
45
+ "test:render:frames": "jest --config jest.render.config.cjs",
46
+ "test:render:frames:update": "jest --config jest.render.config.cjs -u",
47
+ "test:3d": "playwright test --config=test-visualtests/render-3d/runner.config.ts",
48
+ "build:msdf-fonts": "cd tools/msdf-font-builder && npm install --no-save && node build.mjs",
49
+ "rasterize:ai": "node tools/ai-rasterize/cli.mjs --config tools/ai-rasterize/jobs.json",
43
50
  "storybook": "storybook dev -p 6006",
44
51
  "start": "npm run storybook",
45
52
  "build-storybook": "storybook build --loglevel warn",
53
+ "docs:install": "yarn --cwd docs-site install --immutable",
54
+ "docs:dev": "yarn --cwd docs-site start",
55
+ "docs:build": "yarn --cwd docs-site build",
56
+ "docs:serve": "yarn --cwd docs-site serve",
57
+ "docs:clear": "yarn --cwd docs-site clear",
46
58
  "init-msw": "msw init public/",
47
59
  "release": "standard-version --release-as patch &&npm publish --access public",
48
60
  "release:alpha": "standard-version --prerelease alpha &&npm publish --access public",
@@ -55,41 +67,38 @@
55
67
  "@chakra-ui/react": "^2.7.1",
56
68
  "@emotion/react": "^11",
57
69
  "@emotion/styled": "^11",
58
- "@giphy/js-fetch-api": "^4.1.2",
70
+ "@giphy/js-fetch-api": "^5.7.0",
59
71
  "@giphy/js-types": "^4.1.0",
60
- "@giphy/react-components": "^5.6.1",
72
+ "@gsap/react": "^2.1.2",
61
73
  "@mdx-js/react": "^3",
62
- "@pixi/assets": "^7.2.3",
63
- "@pixi/filter-adjustment": "^5.1.1",
64
- "@pixi/gif": "^2.1.0",
65
- "@pixi/react": "~7.1.0",
66
- "@pixi/sound": "^5.2.1",
67
- "@react-gifs/tools": "^0.1.2",
74
+ "@pixi/react": "^8.0.5",
75
+ "@pixi/sound": "^6.0.1",
76
+ "@playwright/test": "^1.60.0",
77
+ "@remotion/bundler": "4.0.421",
78
+ "@remotion/cli": "4.0.421",
79
+ "@remotion/media-utils": "4.0.421",
80
+ "@remotion/renderer": "4.0.421",
68
81
  "@rollup/plugin-commonjs": "^25.0.4",
69
82
  "@rollup/plugin-node-resolve": "^15.2.1",
70
83
  "@rollup/plugin-terser": "^0.4.3",
71
- "@storybook/addon-docs": "^10.0.2",
72
- "@storybook/addon-essentials": "^9.0.0-alpha.12",
73
- "@storybook/addon-interactions": "^9.0.0-alpha",
74
- "@storybook/addon-links": "^10.0.2",
75
- "@storybook/addon-onboarding": "^10.0.2",
76
- "@storybook/builder-vite": "^10.0.2",
77
- "@storybook/jest": "^0.2.3",
78
- "@storybook/react-vite": "^10.0.2",
79
- "@storybook/testing-library": "^0.2.0",
80
- "@testing-library/dom": "^9.3.1",
81
- "@testing-library/jest-dom": "^5.17.0",
82
- "@testing-library/react": "^14.0.0",
84
+ "@storybook/addon-docs": "^10.4.0",
85
+ "@storybook/addon-links": "^10.4.0",
86
+ "@storybook/react-vite": "^10.4.0",
87
+ "@testing-library/dom": "^10.4.0",
88
+ "@testing-library/jest-dom": "^6.5.0",
89
+ "@testing-library/react": "^16.0.0",
83
90
  "@types/dotenv": "^8.2.0",
84
- "@types/howler": "^2.2.8",
85
91
  "@types/quill": "^2.0.10",
86
- "@types/react": "^18.2.15",
87
- "@types/react-dom": "^18.2.7",
92
+ "@types/react": "^19.0.0",
93
+ "@types/react-dom": "^19.0.0",
94
+ "@types/three": "^0.184.1",
88
95
  "@typescript-eslint/eslint-plugin": "^5.62.0",
89
96
  "@typescript-eslint/parser": "^5.62.0",
90
- "@vitejs/plugin-react": "^4.0.3",
91
- "@vitejs/plugin-react-swc": "^3.3.2",
92
- "@welldone-software/why-did-you-render": "^7.0.1",
97
+ "@vitejs/plugin-react": "^5.2.0",
98
+ "@vitejs/plugin-react-swc": "^4.0.0",
99
+ "@welldone-software/why-did-you-render": "^10.0.0",
100
+ "ae-to-json": "^1.1.2",
101
+ "after-effects": "^0.4.15",
93
102
  "audiomotion-analyzer": "^4.3.0",
94
103
  "chromatic": "^6.7.3",
95
104
  "debug": "^4.3.4",
@@ -100,43 +109,54 @@
100
109
  "eslint-config-airbnb-typescript": "^17.1.0",
101
110
  "eslint-plugin-react-hooks": "^4.6.0",
102
111
  "eslint-plugin-react-refresh": "^0.3.5",
103
- "eslint-plugin-storybook": "^10.0.2",
104
- "framer-motion": "^8.4.0",
105
- "gifuct-js": "^2.1.2",
106
- "gsap": "3.11.5",
107
- "howler": "^2.2.3",
108
- "jsdom": "^21.1.2",
112
+ "eslint-plugin-storybook": "^10.4.0",
113
+ "framer-motion": "^12.0.0",
114
+ "gsap": "^3.15.0",
115
+ "jest": "^29.7.0",
116
+ "jest-image-snapshot": "^6.4.0",
117
+ "jsdom": "^25.0.0",
109
118
  "lodash": "4.17.21",
110
119
  "lottie-web": "^5.10.2",
111
120
  "msw": "^2.4.2",
112
121
  "msw-storybook-addon": "^2.0.6",
113
- "pixi-essentials-react-bindings-extended": "1.0.13",
114
- "pixi-essentials-transformer-extended": "1.0.13",
115
- "pixi-filters": "^5.3.0",
116
- "pixi-svg": "^3.2.0",
117
- "pixi.js": "^7.2.3",
118
- "prop-types": "^15.8.1",
122
+ "pixi-filters": "^6.1.5",
123
+ "pixi.js": "^8.18.1",
119
124
  "quill": "^1.3.7",
120
- "react": "^18.2.0",
121
- "react-custom-events": "^1.1.1",
122
- "react-dom": "^18.2.0",
125
+ "react": "^19.0.0",
126
+ "react-dom": "^19.0.0",
123
127
  "react-fast-compare": "^3.2.0",
128
+ "remotion": "4.0.421",
124
129
  "standard-version": "^9.5.0",
125
- "storybook": "^10.0.2",
130
+ "storybook": "^10.4.0",
126
131
  "storybook-multilevel-sort": "^2.1.0",
127
- "stylelint": "^15.10.2",
128
- "stylelint-config-standard": "^33.0.0",
129
132
  "svgpath": "^2.6.0",
130
133
  "typescript": "^5.1.6",
131
134
  "typescript-plugin-css-modules": "^5.0.1",
132
- "vite": "^5.0.0",
133
- "vite-plugin-dts": "^3.5.2",
135
+ "vite": "^7.0.0",
136
+ "vite-plugin-dts": "^5.0.0",
134
137
  "vite-plugin-environment": "^1.1.3",
135
- "vite-plugin-stylelint": "^4.3.0",
136
- "vitest": "^1.6.0"
138
+ "vitest": "^4.0.0"
137
139
  },
138
140
  "dependencies": {
139
- "@uiw/react-color-sketch": "^2.3.2"
141
+ "@react-three/drei": "^10.7.7",
142
+ "@react-three/fiber": "^9.6.1",
143
+ "@react-three/postprocessing": "^3.0.4",
144
+ "@uiw/react-color-sketch": "^2.3.2",
145
+ "postprocessing": "^6.39.1",
146
+ "three": "^0.184.0",
147
+ "zod": "^3.22.3"
148
+ },
149
+ "peerDependencies": {
150
+ "@gsap/react": "^2.1.2",
151
+ "@pixi/react": "^8.0.5",
152
+ "@pixi/sound": "^6.0.1",
153
+ "audiomotion-analyzer": "^4.3.0",
154
+ "gsap": "^3.15.0",
155
+ "lottie-web": "^5.10.2",
156
+ "pixi-filters": "^6.1.5",
157
+ "pixi.js": "^8.18.0",
158
+ "react": "^19.0.0",
159
+ "react-dom": "^19.0.0"
140
160
  },
141
161
  "engines": {
142
162
  "node": ">=18.12.0"
@@ -1,8 +0,0 @@
1
- export declare const opacityIcon: () => string;
2
- export declare const roundCornersIcon: () => string;
3
- export declare const deleteIcon: () => string;
4
- export declare const copyIcon: () => string;
5
- export declare const orderIcon: () => string;
6
- export declare const saveIcon: () => string;
7
- export declare const replaceImageIcon: () => string;
8
- export declare const chevronRightIcon: () => string;
@@ -1,12 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { PixiAudioSprite } from '.';
3
-
4
- declare const meta: Meta<typeof PixiAudioSprite>;
5
- export default meta;
6
- type Story = StoryObj<typeof meta>;
7
- export declare const Normal: Story;
8
- export declare const Visualization: Story;
9
- export declare const Speech: Story;
10
- export declare const Muted: Story;
11
- export declare const SplitPosition: Story;
12
- export declare const WithUnifiedTransformer: Story;
@@ -1,163 +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('./PixiGifGsapSync').PixiGifSpriteProps & 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
- visible: {
105
- control: "boolean";
106
- description: string;
107
- };
108
- onAnchorTransformationEnd: {
109
- action: string;
110
- description: string;
111
- };
112
- pointerdown: {
113
- action: string;
114
- description: string;
115
- };
116
- pointerup: {
117
- action: string;
118
- description: string;
119
- };
120
- mousedown: {
121
- action: string;
122
- description: string;
123
- };
124
- mouseup: {
125
- action: string;
126
- description: string;
127
- };
128
- pointerover: {
129
- action: string;
130
- description: string;
131
- };
132
- mouseover: {
133
- action: string;
134
- description: string;
135
- };
136
- mouseout: {
137
- action: string;
138
- description: string;
139
- };
140
- pointerout: {
141
- action: string;
142
- description: string;
143
- };
144
- onContainerRefReady: {
145
- action: string;
146
- description: string;
147
- };
148
- onSpriteRefReady: {
149
- action: string;
150
- description: string;
151
- };
152
- };
153
- };
154
- export default meta;
155
- type Story = StoryObj<typeof meta>;
156
- export declare const Normal: Story;
157
- export declare const Multiple: Story;
158
- export declare const FadeIn: Story;
159
- export declare const Filters: Story;
160
- export declare const SplitPosition: Story;
161
- export declare const SplitStartPos: Story;
162
- export declare const StipopGif: Story;
163
- export declare const WithUnifiedTransformer: Story;