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
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.3",
4
4
  "description": "reacthub-pixitweenjs is a library that provides a powerful combination of React, PixiJS, GSAP, and image manipulation capabilities in a timeline sequence. With this library, you can easily create stunning animations and interactive graphics for your React applications",
5
5
  "author": "khanzzirfan <reacthub.ai@gmail.com>",
6
6
  "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",
@@ -58,38 +70,36 @@
58
70
  "@giphy/js-fetch-api": "^4.1.2",
59
71
  "@giphy/js-types": "^4.1.0",
60
72
  "@giphy/react-components": "^5.6.1",
73
+ "@gsap/react": "^2.1.2",
61
74
  "@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",
75
+ "@pixi/react": "^8.0.5",
76
+ "@pixi/sound": "^6.0.1",
77
+ "@playwright/test": "^1.60.0",
78
+ "@remotion/bundler": "4.0.421",
79
+ "@remotion/cli": "4.0.421",
80
+ "@remotion/media-utils": "4.0.421",
81
+ "@remotion/renderer": "4.0.421",
68
82
  "@rollup/plugin-commonjs": "^25.0.4",
69
83
  "@rollup/plugin-node-resolve": "^15.2.1",
70
84
  "@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",
85
+ "@storybook/addon-docs": "^10.4.0",
86
+ "@storybook/addon-links": "^10.4.0",
87
+ "@storybook/react-vite": "^10.4.0",
88
+ "@testing-library/dom": "^10.4.0",
89
+ "@testing-library/jest-dom": "^6.5.0",
90
+ "@testing-library/react": "^16.0.0",
83
91
  "@types/dotenv": "^8.2.0",
84
- "@types/howler": "^2.2.8",
85
92
  "@types/quill": "^2.0.10",
86
- "@types/react": "^18.2.15",
87
- "@types/react-dom": "^18.2.7",
93
+ "@types/react": "^19.0.0",
94
+ "@types/react-dom": "^19.0.0",
95
+ "@types/three": "^0.184.1",
88
96
  "@typescript-eslint/eslint-plugin": "^5.62.0",
89
97
  "@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",
98
+ "@vitejs/plugin-react": "^5.2.0",
99
+ "@vitejs/plugin-react-swc": "^4.0.0",
100
+ "@welldone-software/why-did-you-render": "^10.0.0",
101
+ "ae-to-json": "^1.1.2",
102
+ "after-effects": "^0.4.15",
93
103
  "audiomotion-analyzer": "^4.3.0",
94
104
  "chromatic": "^6.7.3",
95
105
  "debug": "^4.3.4",
@@ -100,43 +110,58 @@
100
110
  "eslint-config-airbnb-typescript": "^17.1.0",
101
111
  "eslint-plugin-react-hooks": "^4.6.0",
102
112
  "eslint-plugin-react-refresh": "^0.3.5",
103
- "eslint-plugin-storybook": "^10.0.2",
113
+ "eslint-plugin-storybook": "^10.4.0",
104
114
  "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",
115
+ "gsap": "^3.15.0",
116
+ "jest": "^29.7.0",
117
+ "jest-image-snapshot": "^6.4.0",
118
+ "jsdom": "^25.0.0",
109
119
  "lodash": "4.17.21",
110
120
  "lottie-web": "^5.10.2",
111
121
  "msw": "^2.4.2",
112
122
  "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",
123
+ "pixi-filters": "^6.1.5",
124
+ "pixi.js": "^8.18.1",
119
125
  "quill": "^1.3.7",
120
- "react": "^18.2.0",
126
+ "react": "^19.0.0",
121
127
  "react-custom-events": "^1.1.1",
122
- "react-dom": "^18.2.0",
128
+ "react-dom": "^19.0.0",
123
129
  "react-fast-compare": "^3.2.0",
130
+ "remotion": "4.0.421",
124
131
  "standard-version": "^9.5.0",
125
- "storybook": "^10.0.2",
132
+ "storybook": "^10.4.0",
126
133
  "storybook-multilevel-sort": "^2.1.0",
127
134
  "stylelint": "^15.10.2",
128
135
  "stylelint-config-standard": "^33.0.0",
129
136
  "svgpath": "^2.6.0",
130
137
  "typescript": "^5.1.6",
131
138
  "typescript-plugin-css-modules": "^5.0.1",
132
- "vite": "^5.0.0",
133
- "vite-plugin-dts": "^3.5.2",
139
+ "vite": "^7.0.0",
140
+ "vite-plugin-dts": "^5.0.0",
134
141
  "vite-plugin-environment": "^1.1.3",
135
142
  "vite-plugin-stylelint": "^4.3.0",
136
- "vitest": "^1.6.0"
143
+ "vitest": "^4.0.0"
137
144
  },
138
145
  "dependencies": {
139
- "@uiw/react-color-sketch": "^2.3.2"
146
+ "@react-three/drei": "^10.7.7",
147
+ "@react-three/fiber": "^9.6.1",
148
+ "@react-three/postprocessing": "^3.0.4",
149
+ "@uiw/react-color-sketch": "^2.3.2",
150
+ "postprocessing": "^6.39.1",
151
+ "three": "^0.184.0",
152
+ "zod": "^3.22.3"
153
+ },
154
+ "peerDependencies": {
155
+ "@gsap/react": "^2.1.2",
156
+ "@pixi/react": "^8.0.5",
157
+ "@pixi/sound": "^6.0.1",
158
+ "audiomotion-analyzer": "^4.3.0",
159
+ "gsap": "^3.15.0",
160
+ "lottie-web": "^5.10.2",
161
+ "pixi-filters": "^6.1.5",
162
+ "pixi.js": "^8.18.0",
163
+ "react": "^19.0.0",
164
+ "react-dom": "^19.0.0"
140
165
  },
141
166
  "engines": {
142
167
  "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;
@@ -1,150 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Effects } from '../../types/Effects';
3
-
4
- import * as React from "react";
5
- import * as PIXI from "pixi.js";
6
- declare const meta: {
7
- title: string;
8
- component: React.ForwardRefExoticComponent<import('../..').PixiBaseSpriteProps & {
9
- onContainerRefReady?: (uniqueId: string, ref: React.MutableRefObject<PIXI.Container | null>) => void;
10
- onSpriteRefReady?: (uniqueId: string, ref: React.MutableRefObject<PIXI.Container | null>) => void;
11
- } & React.RefAttributes<import('../..').ForwardedRefResponse | null>>;
12
- decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
13
- tags: string[];
14
- argTypes: {
15
- uniqueId: {
16
- control: "text";
17
- description: string;
18
- };
19
- src: {
20
- control: "text";
21
- description: string;
22
- };
23
- transformation: {
24
- control: "object";
25
- description: string;
26
- x: {
27
- control: string;
28
- description: string;
29
- };
30
- y: {
31
- control: string;
32
- description: string;
33
- };
34
- width: {
35
- control: string;
36
- description: string;
37
- };
38
- height: {
39
- control: string;
40
- description: string;
41
- };
42
- anchor: {
43
- control: string;
44
- description: string;
45
- };
46
- rotation: {
47
- control: string;
48
- description: string;
49
- };
50
- alpha: {
51
- control: string;
52
- min: number;
53
- max: number;
54
- description: string;
55
- };
56
- scale: {
57
- control: string;
58
- description: string;
59
- };
60
- tint: {
61
- control: string;
62
- description: string;
63
- };
64
- blendMode: {
65
- control: string;
66
- description: string;
67
- };
68
- effects: {
69
- type: string;
70
- options: Effects[];
71
- description: string;
72
- };
73
- colorCorrection: {
74
- control: string;
75
- description: string;
76
- enabled: {
77
- control: string;
78
- description: string;
79
- };
80
- brightness: {
81
- control: string;
82
- description: string;
83
- };
84
- contrast: {
85
- control: string;
86
- description: string;
87
- };
88
- saturation: {
89
- control: string;
90
- description: string;
91
- };
92
- alpha: {
93
- control: string;
94
- description: string;
95
- };
96
- };
97
- };
98
- applyTransformer: {
99
- control: "boolean";
100
- description: string;
101
- };
102
- startAt: {
103
- control: "number";
104
- description: string;
105
- };
106
- endAt: {
107
- control: "number";
108
- description: string;
109
- };
110
- visible: {
111
- control: "boolean";
112
- description: string;
113
- };
114
- onAnchorTransformationEnd: {
115
- action: string;
116
- description: string;
117
- };
118
- onContainerRefReady: {
119
- action: string;
120
- description: string;
121
- };
122
- onSpriteRefReady: {
123
- action: string;
124
- description: string;
125
- };
126
- pointerdown: {
127
- action: string;
128
- description: string;
129
- };
130
- pointerout: {
131
- action: string;
132
- description: string;
133
- };
134
- pointerover: {
135
- action: string;
136
- description: string;
137
- };
138
- };
139
- };
140
- export default meta;
141
- type Story = StoryObj<typeof meta>;
142
- export declare const Normal: Story;
143
- export declare const FadeIn: Story;
144
- export declare const Filters: Story;
145
- export declare const FilterEffects: Story;
146
- export declare const Overlays: Story;
147
- export declare const PointerTests: Story;
148
- export declare const WithUnifiedTransformer: Story;
149
- export declare const Animation: Story;
150
- export declare const PointerAnimation: Story;
@@ -1,159 +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('./PixiLottieSprite').PixiLottieSpriteProps & 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 Filter: Story;
158
- export declare const FadeIn: Story;
159
- export declare const WithUnifiedTransformer: Story;