@sharedex/ui 0.0.0-stage → 0.9.0

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 (1623) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +511 -2
  3. package/dist/backgrounds/config.d.ts +23 -0
  4. package/dist/backgrounds/config.js +19 -0
  5. package/dist/backgrounds/effects/canvasKit.d.ts +22 -0
  6. package/dist/backgrounds/effects/canvasKit.js +40 -0
  7. package/dist/backgrounds/effects/cursor/cursorGlow.d.ts +13 -0
  8. package/dist/backgrounds/effects/cursor/cursorGlow.js +42 -0
  9. package/dist/backgrounds/effects/cursor/cursorGlow.schema.d.ts +1 -0
  10. package/dist/backgrounds/effects/cursor/cursorGlow.schema.js +14 -0
  11. package/dist/backgrounds/effects/cursor/fluidCursor.d.ts +33 -0
  12. package/dist/backgrounds/effects/cursor/fluidCursor.js +322 -0
  13. package/dist/backgrounds/effects/cursor/fluidCursor.schema.d.ts +1 -0
  14. package/dist/backgrounds/effects/cursor/fluidCursor.schema.js +17 -0
  15. package/dist/backgrounds/effects/cursor/proximityMask.d.ts +14 -0
  16. package/dist/backgrounds/effects/cursor/proximityMask.js +104 -0
  17. package/dist/backgrounds/effects/cursor/proximityMask.schema.d.ts +1 -0
  18. package/dist/backgrounds/effects/cursor/proximityMask.schema.js +15 -0
  19. package/dist/backgrounds/effects/cursor/waterRipple.d.ts +30 -0
  20. package/dist/backgrounds/effects/cursor/waterRipple.js +239 -0
  21. package/dist/backgrounds/effects/cursor/waterRipple.schema.d.ts +1 -0
  22. package/dist/backgrounds/effects/cursor/waterRipple.schema.js +22 -0
  23. package/dist/backgrounds/effects/define.d.ts +75 -0
  24. package/dist/backgrounds/effects/define.js +137 -0
  25. package/dist/backgrounds/effects/glass/isometricLayers.d.ts +14 -0
  26. package/dist/backgrounds/effects/glass/isometricLayers.js +57 -0
  27. package/dist/backgrounds/effects/glass/isometricLayers.schema.d.ts +1 -0
  28. package/dist/backgrounds/effects/glass/isometricLayers.schema.js +16 -0
  29. package/dist/backgrounds/effects/glass/liquidSculpture.d.ts +24 -0
  30. package/dist/backgrounds/effects/glass/liquidSculpture.js +154 -0
  31. package/dist/backgrounds/effects/glass/liquidSculpture.schema.d.ts +1 -0
  32. package/dist/backgrounds/effects/glass/liquidSculpture.schema.js +15 -0
  33. package/dist/backgrounds/effects/glitch/asciiArt.d.ts +29 -0
  34. package/dist/backgrounds/effects/glitch/asciiArt.js +132 -0
  35. package/dist/backgrounds/effects/glitch/asciiArt.schema.d.ts +1 -0
  36. package/dist/backgrounds/effects/glitch/asciiArt.schema.js +17 -0
  37. package/dist/backgrounds/effects/glitch/asciiArtGl.d.ts +19 -0
  38. package/dist/backgrounds/effects/glitch/asciiArtGl.js +92 -0
  39. package/dist/backgrounds/effects/glitch/crtScanlines.d.ts +16 -0
  40. package/dist/backgrounds/effects/glitch/crtScanlines.js +51 -0
  41. package/dist/backgrounds/effects/glitch/crtScanlines.schema.d.ts +1 -0
  42. package/dist/backgrounds/effects/glitch/crtScanlines.schema.js +15 -0
  43. package/dist/backgrounds/effects/glitch/digitalGlitch.d.ts +15 -0
  44. package/dist/backgrounds/effects/glitch/digitalGlitch.js +65 -0
  45. package/dist/backgrounds/effects/glitch/digitalGlitch.schema.d.ts +1 -0
  46. package/dist/backgrounds/effects/glitch/digitalGlitch.schema.js +16 -0
  47. package/dist/backgrounds/effects/glitch/ditherWave.d.ts +12 -0
  48. package/dist/backgrounds/effects/glitch/ditherWave.js +52 -0
  49. package/dist/backgrounds/effects/glitch/ditherWave.schema.d.ts +1 -0
  50. package/dist/backgrounds/effects/glitch/ditherWave.schema.js +14 -0
  51. package/dist/backgrounds/effects/glitch/matrixRain.d.ts +15 -0
  52. package/dist/backgrounds/effects/glitch/matrixRain.js +58 -0
  53. package/dist/backgrounds/effects/glitch/matrixRain.schema.d.ts +1 -0
  54. package/dist/backgrounds/effects/glitch/matrixRain.schema.js +15 -0
  55. package/dist/backgrounds/effects/glitch/retroScreen.d.ts +12 -0
  56. package/dist/backgrounds/effects/glitch/retroScreen.js +50 -0
  57. package/dist/backgrounds/effects/glitch/retroScreen.schema.d.ts +1 -0
  58. package/dist/backgrounds/effects/glitch/retroScreen.schema.js +13 -0
  59. package/dist/backgrounds/effects/glitch/rgbShift.d.ts +13 -0
  60. package/dist/backgrounds/effects/glitch/rgbShift.js +58 -0
  61. package/dist/backgrounds/effects/glitch/rgbShift.schema.d.ts +1 -0
  62. package/dist/backgrounds/effects/glitch/rgbShift.schema.js +14 -0
  63. package/dist/backgrounds/effects/glitch/vhsStatic.d.ts +12 -0
  64. package/dist/backgrounds/effects/glitch/vhsStatic.js +48 -0
  65. package/dist/backgrounds/effects/glitch/vhsStatic.schema.d.ts +1 -0
  66. package/dist/backgrounds/effects/glitch/vhsStatic.schema.js +14 -0
  67. package/dist/backgrounds/effects/grid/animatedGrid.d.ts +13 -0
  68. package/dist/backgrounds/effects/grid/animatedGrid.js +63 -0
  69. package/dist/backgrounds/effects/grid/animatedGrid.schema.d.ts +1 -0
  70. package/dist/backgrounds/effects/grid/animatedGrid.schema.js +15 -0
  71. package/dist/backgrounds/effects/grid/contourLines.d.ts +26 -0
  72. package/dist/backgrounds/effects/grid/contourLines.js +157 -0
  73. package/dist/backgrounds/effects/grid/contourLines.schema.d.ts +1 -0
  74. package/dist/backgrounds/effects/grid/contourLines.schema.js +18 -0
  75. package/dist/backgrounds/effects/grid/contourLinesGl.d.ts +11 -0
  76. package/dist/backgrounds/effects/grid/contourLinesGl.js +57 -0
  77. package/dist/backgrounds/effects/grid/dataGrid.d.ts +15 -0
  78. package/dist/backgrounds/effects/grid/dataGrid.js +73 -0
  79. package/dist/backgrounds/effects/grid/dataGrid.schema.d.ts +1 -0
  80. package/dist/backgrounds/effects/grid/dataGrid.schema.js +17 -0
  81. package/dist/backgrounds/effects/grid/dotPattern.d.ts +11 -0
  82. package/dist/backgrounds/effects/grid/dotPattern.js +27 -0
  83. package/dist/backgrounds/effects/grid/dotPattern.schema.d.ts +1 -0
  84. package/dist/backgrounds/effects/grid/dotPattern.schema.js +13 -0
  85. package/dist/backgrounds/effects/grid/fadingGrid.d.ts +13 -0
  86. package/dist/backgrounds/effects/grid/fadingGrid.js +41 -0
  87. package/dist/backgrounds/effects/grid/fadingGrid.schema.d.ts +1 -0
  88. package/dist/backgrounds/effects/grid/fadingGrid.schema.js +15 -0
  89. package/dist/backgrounds/effects/grid/geometricVectors.d.ts +15 -0
  90. package/dist/backgrounds/effects/grid/geometricVectors.js +136 -0
  91. package/dist/backgrounds/effects/grid/geometricVectors.schema.d.ts +1 -0
  92. package/dist/backgrounds/effects/grid/geometricVectors.schema.js +16 -0
  93. package/dist/backgrounds/effects/grid/gradientGrid.d.ts +15 -0
  94. package/dist/backgrounds/effects/grid/gradientGrid.js +37 -0
  95. package/dist/backgrounds/effects/grid/gradientGrid.schema.d.ts +1 -0
  96. package/dist/backgrounds/effects/grid/gradientGrid.schema.js +15 -0
  97. package/dist/backgrounds/effects/grid/gridHero.d.ts +15 -0
  98. package/dist/backgrounds/effects/grid/gridHero.js +75 -0
  99. package/dist/backgrounds/effects/grid/gridHero.schema.d.ts +1 -0
  100. package/dist/backgrounds/effects/grid/gridHero.schema.js +16 -0
  101. package/dist/backgrounds/effects/grid/gridHover.d.ts +16 -0
  102. package/dist/backgrounds/effects/grid/gridHover.js +46 -0
  103. package/dist/backgrounds/effects/grid/gridHover.schema.d.ts +1 -0
  104. package/dist/backgrounds/effects/grid/gridHover.schema.js +16 -0
  105. package/dist/backgrounds/effects/grid/layeredGridCards.d.ts +18 -0
  106. package/dist/backgrounds/effects/grid/layeredGridCards.js +78 -0
  107. package/dist/backgrounds/effects/grid/layeredGridCards.schema.d.ts +1 -0
  108. package/dist/backgrounds/effects/grid/layeredGridCards.schema.js +18 -0
  109. package/dist/backgrounds/effects/grid/lines.d.ts +5 -0
  110. package/dist/backgrounds/effects/grid/lines.js +14 -0
  111. package/dist/backgrounds/effects/grid/magnetLines.d.ts +13 -0
  112. package/dist/backgrounds/effects/grid/magnetLines.js +61 -0
  113. package/dist/backgrounds/effects/grid/magnetLines.schema.d.ts +1 -0
  114. package/dist/backgrounds/effects/grid/magnetLines.schema.js +15 -0
  115. package/dist/backgrounds/effects/grid/meltyLines.d.ts +15 -0
  116. package/dist/backgrounds/effects/grid/meltyLines.js +67 -0
  117. package/dist/backgrounds/effects/grid/meltyLines.schema.d.ts +1 -0
  118. package/dist/backgrounds/effects/grid/meltyLines.schema.js +16 -0
  119. package/dist/backgrounds/effects/grid/morphGrid.d.ts +14 -0
  120. package/dist/backgrounds/effects/grid/morphGrid.js +74 -0
  121. package/dist/backgrounds/effects/grid/morphGrid.schema.d.ts +1 -0
  122. package/dist/backgrounds/effects/grid/morphGrid.schema.js +15 -0
  123. package/dist/backgrounds/effects/grid/neonGridTrail.d.ts +13 -0
  124. package/dist/backgrounds/effects/grid/neonGridTrail.js +70 -0
  125. package/dist/backgrounds/effects/grid/neonGridTrail.schema.d.ts +1 -0
  126. package/dist/backgrounds/effects/grid/neonGridTrail.schema.js +14 -0
  127. package/dist/backgrounds/effects/grid/quantumGrid.d.ts +13 -0
  128. package/dist/backgrounds/effects/grid/quantumGrid.js +73 -0
  129. package/dist/backgrounds/effects/grid/quantumGrid.schema.d.ts +1 -0
  130. package/dist/backgrounds/effects/grid/quantumGrid.schema.js +15 -0
  131. package/dist/backgrounds/effects/grid/triangleGrid.d.ts +15 -0
  132. package/dist/backgrounds/effects/grid/triangleGrid.js +67 -0
  133. package/dist/backgrounds/effects/grid/triangleGrid.schema.d.ts +1 -0
  134. package/dist/backgrounds/effects/grid/triangleGrid.schema.js +15 -0
  135. package/dist/backgrounds/effects/media/image.schema.d.ts +1 -0
  136. package/dist/backgrounds/effects/media/image.schema.js +17 -0
  137. package/dist/backgrounds/effects/media/media.d.ts +30 -0
  138. package/dist/backgrounds/effects/media/media.js +53 -0
  139. package/dist/backgrounds/effects/media/video.schema.d.ts +1 -0
  140. package/dist/backgrounds/effects/media/video.schema.js +15 -0
  141. package/dist/backgrounds/effects/palette.d.ts +10 -0
  142. package/dist/backgrounds/effects/palette.js +21 -0
  143. package/dist/backgrounds/effects/particle/bokeh.d.ts +13 -0
  144. package/dist/backgrounds/effects/particle/bokeh.js +58 -0
  145. package/dist/backgrounds/effects/particle/bokeh.schema.d.ts +1 -0
  146. package/dist/backgrounds/effects/particle/bokeh.schema.js +15 -0
  147. package/dist/backgrounds/effects/particle/constellation.d.ts +25 -0
  148. package/dist/backgrounds/effects/particle/constellation.js +119 -0
  149. package/dist/backgrounds/effects/particle/constellation.schema.d.ts +1 -0
  150. package/dist/backgrounds/effects/particle/constellation.schema.js +15 -0
  151. package/dist/backgrounds/effects/particle/cursorDots.d.ts +17 -0
  152. package/dist/backgrounds/effects/particle/cursorDots.js +47 -0
  153. package/dist/backgrounds/effects/particle/cursorDots.schema.d.ts +1 -0
  154. package/dist/backgrounds/effects/particle/cursorDots.schema.js +16 -0
  155. package/dist/backgrounds/effects/particle/fallingParticles.d.ts +15 -0
  156. package/dist/backgrounds/effects/particle/fallingParticles.js +96 -0
  157. package/dist/backgrounds/effects/particle/fallingParticles.schema.d.ts +1 -0
  158. package/dist/backgrounds/effects/particle/fallingParticles.schema.js +16 -0
  159. package/dist/backgrounds/effects/particle/meteors.d.ts +13 -0
  160. package/dist/backgrounds/effects/particle/meteors.js +63 -0
  161. package/dist/backgrounds/effects/particle/meteors.schema.d.ts +1 -0
  162. package/dist/backgrounds/effects/particle/meteors.schema.js +15 -0
  163. package/dist/backgrounds/effects/particle/particleHover.d.ts +16 -0
  164. package/dist/backgrounds/effects/particle/particleHover.js +73 -0
  165. package/dist/backgrounds/effects/particle/particleHover.schema.d.ts +1 -0
  166. package/dist/backgrounds/effects/particle/particleHover.schema.js +15 -0
  167. package/dist/backgrounds/effects/particle/particleOrb.d.ts +14 -0
  168. package/dist/backgrounds/effects/particle/particleOrb.js +95 -0
  169. package/dist/backgrounds/effects/particle/particleOrb.schema.d.ts +1 -0
  170. package/dist/backgrounds/effects/particle/particleOrb.schema.js +15 -0
  171. package/dist/backgrounds/effects/particle/particles.d.ts +23 -0
  172. package/dist/backgrounds/effects/particle/particles.js +63 -0
  173. package/dist/backgrounds/effects/particle/particles.schema.d.ts +1 -0
  174. package/dist/backgrounds/effects/particle/particles.schema.js +15 -0
  175. package/dist/backgrounds/effects/particle/starfield.d.ts +12 -0
  176. package/dist/backgrounds/effects/particle/starfield.js +88 -0
  177. package/dist/backgrounds/effects/particle/starfield.schema.d.ts +1 -0
  178. package/dist/backgrounds/effects/particle/starfield.schema.js +14 -0
  179. package/dist/backgrounds/effects/pattern/circlesPattern.schema.d.ts +1 -0
  180. package/dist/backgrounds/effects/pattern/circlesPattern.schema.js +12 -0
  181. package/dist/backgrounds/effects/pattern/diamondsPattern.schema.d.ts +1 -0
  182. package/dist/backgrounds/effects/pattern/diamondsPattern.schema.js +12 -0
  183. package/dist/backgrounds/effects/pattern/leatherPattern.schema.d.ts +1 -0
  184. package/dist/backgrounds/effects/pattern/leatherPattern.schema.js +12 -0
  185. package/dist/backgrounds/effects/pattern/patterns.d.ts +22 -0
  186. package/dist/backgrounds/effects/pattern/patterns.js +120 -0
  187. package/dist/backgrounds/effects/pattern/scalesPattern.schema.d.ts +1 -0
  188. package/dist/backgrounds/effects/pattern/scalesPattern.schema.js +12 -0
  189. package/dist/backgrounds/effects/pattern/strangePattern.schema.d.ts +1 -0
  190. package/dist/backgrounds/effects/pattern/strangePattern.schema.js +12 -0
  191. package/dist/backgrounds/effects/scroll/cinematicReveal.d.ts +13 -0
  192. package/dist/backgrounds/effects/scroll/cinematicReveal.js +82 -0
  193. package/dist/backgrounds/effects/scroll/cinematicReveal.schema.d.ts +1 -0
  194. package/dist/backgrounds/effects/scroll/cinematicReveal.schema.js +14 -0
  195. package/dist/backgrounds/effects/scroll/parallax.d.ts +14 -0
  196. package/dist/backgrounds/effects/scroll/parallax.js +60 -0
  197. package/dist/backgrounds/effects/scroll/parallax.schema.d.ts +1 -0
  198. package/dist/backgrounds/effects/scroll/parallax.schema.js +15 -0
  199. package/dist/backgrounds/effects/scroll/scrollColor.d.ts +10 -0
  200. package/dist/backgrounds/effects/scroll/scrollColor.js +41 -0
  201. package/dist/backgrounds/effects/scroll/scrollColor.schema.d.ts +1 -0
  202. package/dist/backgrounds/effects/scroll/scrollColor.schema.js +25 -0
  203. package/dist/backgrounds/effects/scroll/scrollMorph.d.ts +13 -0
  204. package/dist/backgrounds/effects/scroll/scrollMorph.js +104 -0
  205. package/dist/backgrounds/effects/scroll/scrollMorph.schema.d.ts +1 -0
  206. package/dist/backgrounds/effects/scroll/scrollMorph.schema.js +14 -0
  207. package/dist/backgrounds/effects/scroll/scrollTimeline.d.ts +10 -0
  208. package/dist/backgrounds/effects/scroll/scrollTimeline.js +104 -0
  209. package/dist/backgrounds/effects/scroll/scrollTimeline.schema.d.ts +1 -0
  210. package/dist/backgrounds/effects/scroll/scrollTimeline.schema.js +13 -0
  211. package/dist/backgrounds/effects/scroll/videoScrub.d.ts +22 -0
  212. package/dist/backgrounds/effects/scroll/videoScrub.js +53 -0
  213. package/dist/backgrounds/effects/scroll/videoScrub.schema.d.ts +1 -0
  214. package/dist/backgrounds/effects/scroll/videoScrub.schema.js +16 -0
  215. package/dist/backgrounds/effects/shader/aether.d.ts +12 -0
  216. package/dist/backgrounds/effects/shader/aether.js +46 -0
  217. package/dist/backgrounds/effects/shader/aether.schema.d.ts +1 -0
  218. package/dist/backgrounds/effects/shader/aether.schema.js +14 -0
  219. package/dist/backgrounds/effects/shader/animatedGradient.d.ts +14 -0
  220. package/dist/backgrounds/effects/shader/animatedGradient.js +45 -0
  221. package/dist/backgrounds/effects/shader/animatedGradient.schema.d.ts +1 -0
  222. package/dist/backgrounds/effects/shader/animatedGradient.schema.js +15 -0
  223. package/dist/backgrounds/effects/shader/aurora.d.ts +21 -0
  224. package/dist/backgrounds/effects/shader/aurora.js +64 -0
  225. package/dist/backgrounds/effects/shader/aurora.schema.d.ts +1 -0
  226. package/dist/backgrounds/effects/shader/aurora.schema.js +15 -0
  227. package/dist/backgrounds/effects/shader/auroraGl.d.ts +8 -0
  228. package/dist/backgrounds/effects/shader/auroraGl.js +47 -0
  229. package/dist/backgrounds/effects/shader/caustics.d.ts +12 -0
  230. package/dist/backgrounds/effects/shader/caustics.js +68 -0
  231. package/dist/backgrounds/effects/shader/caustics.schema.d.ts +1 -0
  232. package/dist/backgrounds/effects/shader/caustics.schema.js +14 -0
  233. package/dist/backgrounds/effects/shader/chromaticSine.d.ts +14 -0
  234. package/dist/backgrounds/effects/shader/chromaticSine.js +54 -0
  235. package/dist/backgrounds/effects/shader/chromaticSine.schema.d.ts +1 -0
  236. package/dist/backgrounds/effects/shader/chromaticSine.schema.js +15 -0
  237. package/dist/backgrounds/effects/shader/godRays.d.ts +14 -0
  238. package/dist/backgrounds/effects/shader/godRays.js +51 -0
  239. package/dist/backgrounds/effects/shader/godRays.schema.d.ts +1 -0
  240. package/dist/backgrounds/effects/shader/godRays.schema.js +15 -0
  241. package/dist/backgrounds/effects/shader/gooeyBlobs.d.ts +13 -0
  242. package/dist/backgrounds/effects/shader/gooeyBlobs.js +84 -0
  243. package/dist/backgrounds/effects/shader/gooeyBlobs.schema.d.ts +1 -0
  244. package/dist/backgrounds/effects/shader/gooeyBlobs.schema.js +15 -0
  245. package/dist/backgrounds/effects/shader/gradientBars.d.ts +13 -0
  246. package/dist/backgrounds/effects/shader/gradientBars.js +57 -0
  247. package/dist/backgrounds/effects/shader/gradientBars.schema.d.ts +1 -0
  248. package/dist/backgrounds/effects/shader/gradientBars.schema.js +15 -0
  249. package/dist/backgrounds/effects/shader/grainGradient.d.ts +12 -0
  250. package/dist/backgrounds/effects/shader/grainGradient.js +42 -0
  251. package/dist/backgrounds/effects/shader/grainGradient.schema.d.ts +1 -0
  252. package/dist/backgrounds/effects/shader/grainGradient.schema.js +14 -0
  253. package/dist/backgrounds/effects/shader/iridescent.d.ts +19 -0
  254. package/dist/backgrounds/effects/shader/iridescent.js +64 -0
  255. package/dist/backgrounds/effects/shader/iridescent.schema.d.ts +1 -0
  256. package/dist/backgrounds/effects/shader/iridescent.schema.js +14 -0
  257. package/dist/backgrounds/effects/shader/iridescentGl.d.ts +6 -0
  258. package/dist/backgrounds/effects/shader/iridescentGl.js +42 -0
  259. package/dist/backgrounds/effects/shader/liquid.d.ts +12 -0
  260. package/dist/backgrounds/effects/shader/liquid.js +44 -0
  261. package/dist/backgrounds/effects/shader/liquid.schema.d.ts +1 -0
  262. package/dist/backgrounds/effects/shader/liquid.schema.js +14 -0
  263. package/dist/backgrounds/effects/shader/meshGradient.d.ts +12 -0
  264. package/dist/backgrounds/effects/shader/meshGradient.js +51 -0
  265. package/dist/backgrounds/effects/shader/meshGradient.schema.d.ts +1 -0
  266. package/dist/backgrounds/effects/shader/meshGradient.schema.js +23 -0
  267. package/dist/backgrounds/effects/shader/plasmaGrid.d.ts +14 -0
  268. package/dist/backgrounds/effects/shader/plasmaGrid.js +51 -0
  269. package/dist/backgrounds/effects/shader/plasmaGrid.schema.d.ts +1 -0
  270. package/dist/backgrounds/effects/shader/plasmaGrid.schema.js +15 -0
  271. package/dist/backgrounds/effects/shader/rainbow.d.ts +13 -0
  272. package/dist/backgrounds/effects/shader/rainbow.js +41 -0
  273. package/dist/backgrounds/effects/shader/rainbow.schema.d.ts +1 -0
  274. package/dist/backgrounds/effects/shader/rainbow.schema.js +14 -0
  275. package/dist/backgrounds/effects/shader/shaderLines.d.ts +12 -0
  276. package/dist/backgrounds/effects/shader/shaderLines.js +52 -0
  277. package/dist/backgrounds/effects/shader/shaderLines.schema.d.ts +1 -0
  278. package/dist/backgrounds/effects/shader/shaderLines.schema.js +14 -0
  279. package/dist/backgrounds/effects/shader/shaderRipples.d.ts +14 -0
  280. package/dist/backgrounds/effects/shader/shaderRipples.js +54 -0
  281. package/dist/backgrounds/effects/shader/shaderRipples.schema.d.ts +1 -0
  282. package/dist/backgrounds/effects/shader/shaderRipples.schema.js +15 -0
  283. package/dist/backgrounds/effects/shader/smoothMesh.d.ts +12 -0
  284. package/dist/backgrounds/effects/shader/smoothMesh.js +45 -0
  285. package/dist/backgrounds/effects/shader/smoothMesh.schema.d.ts +1 -0
  286. package/dist/backgrounds/effects/shader/smoothMesh.schema.js +14 -0
  287. package/dist/backgrounds/effects/shader/waveDistortion.d.ts +12 -0
  288. package/dist/backgrounds/effects/shader/waveDistortion.js +47 -0
  289. package/dist/backgrounds/effects/shader/waveDistortion.schema.d.ts +1 -0
  290. package/dist/backgrounds/effects/shader/waveDistortion.schema.js +14 -0
  291. package/dist/backgrounds/effects/shaderKit.d.ts +24 -0
  292. package/dist/backgrounds/effects/shaderKit.js +90 -0
  293. package/dist/backgrounds/effects/svgKit.d.ts +26 -0
  294. package/dist/backgrounds/effects/svgKit.js +50 -0
  295. package/dist/backgrounds/effects/texture/filmGrain.d.ts +18 -0
  296. package/dist/backgrounds/effects/texture/filmGrain.js +63 -0
  297. package/dist/backgrounds/effects/texture/filmGrain.schema.d.ts +1 -0
  298. package/dist/backgrounds/effects/texture/filmGrain.schema.js +13 -0
  299. package/dist/backgrounds/effects/texture/foggyGlass.schema.d.ts +1 -0
  300. package/dist/backgrounds/effects/texture/foggyGlass.schema.js +14 -0
  301. package/dist/backgrounds/effects/texture/frozenGlass.schema.d.ts +1 -0
  302. package/dist/backgrounds/effects/texture/frozenGlass.schema.js +14 -0
  303. package/dist/backgrounds/effects/texture/glass.d.ts +26 -0
  304. package/dist/backgrounds/effects/texture/glass.js +82 -0
  305. package/dist/backgrounds/effects/texture/halftone.d.ts +13 -0
  306. package/dist/backgrounds/effects/texture/halftone.js +49 -0
  307. package/dist/backgrounds/effects/texture/halftone.schema.d.ts +1 -0
  308. package/dist/backgrounds/effects/texture/halftone.schema.js +15 -0
  309. package/dist/backgrounds/effects/three/chrome.d.ts +14 -0
  310. package/dist/backgrounds/effects/three/chrome.js +50 -0
  311. package/dist/backgrounds/effects/three/chrome.schema.d.ts +1 -0
  312. package/dist/backgrounds/effects/three/chrome.schema.js +15 -0
  313. package/dist/backgrounds/effects/three/glassShapes.d.ts +9 -0
  314. package/dist/backgrounds/effects/three/glassShapes.js +47 -0
  315. package/dist/backgrounds/effects/three/glassShapes.schema.d.ts +1 -0
  316. package/dist/backgrounds/effects/three/glassShapes.schema.js +14 -0
  317. package/dist/backgrounds/effects/three/kit.d.ts +50 -0
  318. package/dist/backgrounds/effects/three/kit.js +126 -0
  319. package/dist/backgrounds/effects/three/liquidGlass.d.ts +11 -0
  320. package/dist/backgrounds/effects/three/liquidGlass.js +55 -0
  321. package/dist/backgrounds/effects/three/liquidGlass.schema.d.ts +1 -0
  322. package/dist/backgrounds/effects/three/liquidGlass.schema.js +15 -0
  323. package/dist/backgrounds/effects/three/metas.d.ts +7 -0
  324. package/dist/backgrounds/effects/three/metas.js +66 -0
  325. package/dist/backgrounds/effects/three/neonTubes.d.ts +29 -0
  326. package/dist/backgrounds/effects/three/neonTubes.js +162 -0
  327. package/dist/backgrounds/effects/three/neonTubes.schema.d.ts +1 -0
  328. package/dist/backgrounds/effects/three/neonTubes.schema.js +17 -0
  329. package/dist/backgrounds/effects/three/spectralGhost.d.ts +11 -0
  330. package/dist/backgrounds/effects/three/spectralGhost.js +145 -0
  331. package/dist/backgrounds/effects/three/spectralGhost.schema.d.ts +1 -0
  332. package/dist/backgrounds/effects/three/spectralGhost.schema.js +15 -0
  333. package/dist/backgrounds/effects/three/stage.d.ts +13 -0
  334. package/dist/backgrounds/effects/three/stage.js +45 -0
  335. package/dist/backgrounds/effects/three/wovenLight.d.ts +19 -0
  336. package/dist/backgrounds/effects/three/wovenLight.js +131 -0
  337. package/dist/backgrounds/effects/three/wovenLight.schema.d.ts +1 -0
  338. package/dist/backgrounds/effects/three/wovenLight.schema.js +16 -0
  339. package/dist/backgrounds/effects/wave/drawingLines.d.ts +13 -0
  340. package/dist/backgrounds/effects/wave/drawingLines.js +70 -0
  341. package/dist/backgrounds/effects/wave/drawingLines.schema.d.ts +1 -0
  342. package/dist/backgrounds/effects/wave/drawingLines.schema.js +15 -0
  343. package/dist/backgrounds/effects/wave/flowField.d.ts +15 -0
  344. package/dist/backgrounds/effects/wave/flowField.js +93 -0
  345. package/dist/backgrounds/effects/wave/flowField.schema.d.ts +1 -0
  346. package/dist/backgrounds/effects/wave/flowField.schema.js +16 -0
  347. package/dist/backgrounds/effects/wave/liquidWave.d.ts +10 -0
  348. package/dist/backgrounds/effects/wave/liquidWave.js +50 -0
  349. package/dist/backgrounds/effects/wave/liquidWave.schema.d.ts +1 -0
  350. package/dist/backgrounds/effects/wave/liquidWave.schema.js +13 -0
  351. package/dist/backgrounds/effects/wave/moireDots.d.ts +12 -0
  352. package/dist/backgrounds/effects/wave/moireDots.js +45 -0
  353. package/dist/backgrounds/effects/wave/moireDots.schema.d.ts +1 -0
  354. package/dist/backgrounds/effects/wave/moireDots.schema.js +14 -0
  355. package/dist/backgrounds/effects/wave/mountains.d.ts +21 -0
  356. package/dist/backgrounds/effects/wave/mountains.js +87 -0
  357. package/dist/backgrounds/effects/wave/mountains.schema.d.ts +1 -0
  358. package/dist/backgrounds/effects/wave/mountains.schema.js +18 -0
  359. package/dist/backgrounds/effects/wave/ripples.d.ts +16 -0
  360. package/dist/backgrounds/effects/wave/ripples.js +52 -0
  361. package/dist/backgrounds/effects/wave/ripples.schema.d.ts +1 -0
  362. package/dist/backgrounds/effects/wave/ripples.schema.js +16 -0
  363. package/dist/backgrounds/effects/wave/svgColorWave.d.ts +14 -0
  364. package/dist/backgrounds/effects/wave/svgColorWave.js +97 -0
  365. package/dist/backgrounds/effects/wave/svgColorWave.schema.d.ts +1 -0
  366. package/dist/backgrounds/effects/wave/svgColorWave.schema.js +15 -0
  367. package/dist/backgrounds/effects/wave/svgWave.d.ts +15 -0
  368. package/dist/backgrounds/effects/wave/svgWave.js +72 -0
  369. package/dist/backgrounds/effects/wave/svgWave.schema.d.ts +1 -0
  370. package/dist/backgrounds/effects/wave/svgWave.schema.js +17 -0
  371. package/dist/backgrounds/effects/wave/wavyPattern.d.ts +16 -0
  372. package/dist/backgrounds/effects/wave/wavyPattern.js +50 -0
  373. package/dist/backgrounds/effects/wave/wavyPattern.schema.d.ts +1 -0
  374. package/dist/backgrounds/effects/wave/wavyPattern.schema.js +16 -0
  375. package/dist/backgrounds/effects/wave/wireframeOcean.d.ts +32 -0
  376. package/dist/backgrounds/effects/wave/wireframeOcean.js +145 -0
  377. package/dist/backgrounds/effects/wave/wireframeOcean.schema.d.ts +1 -0
  378. package/dist/backgrounds/effects/wave/wireframeOcean.schema.js +17 -0
  379. package/dist/backgrounds/hosts/CanvasHost.d.ts +13 -0
  380. package/dist/backgrounds/hosts/CanvasHost.js +116 -0
  381. package/dist/backgrounds/hosts/CssHost.d.ts +22 -0
  382. package/dist/backgrounds/hosts/CssHost.js +39 -0
  383. package/dist/backgrounds/hosts/MediaHost.d.ts +6 -0
  384. package/dist/backgrounds/hosts/MediaHost.js +202 -0
  385. package/dist/backgrounds/hosts/SvgHost.d.ts +12 -0
  386. package/dist/backgrounds/hosts/SvgHost.js +21 -0
  387. package/dist/backgrounds/hosts/WebglHost.d.ts +19 -0
  388. package/dist/backgrounds/hosts/WebglHost.js +181 -0
  389. package/dist/backgrounds/hosts/svgElement.d.ts +7 -0
  390. package/dist/backgrounds/hosts/svgElement.js +19 -0
  391. package/dist/backgrounds/hosts/useLayerNeeds.d.ts +10 -0
  392. package/dist/backgrounds/hosts/useLayerNeeds.js +33 -0
  393. package/dist/backgrounds/parts/Layer.d.ts +11 -0
  394. package/dist/backgrounds/parts/Layer.js +38 -0
  395. package/dist/backgrounds/parts/Root.d.ts +17 -0
  396. package/dist/backgrounds/parts/Root.js +25 -0
  397. package/dist/backgrounds/parts/index.d.ts +21 -0
  398. package/dist/backgrounds/parts/index.js +16 -0
  399. package/dist/backgrounds/registry.d.ts +5 -0
  400. package/dist/backgrounds/registry.js +190 -0
  401. package/dist/backgrounds/runtime/clock.d.ts +8 -0
  402. package/dist/backgrounds/runtime/clock.js +43 -0
  403. package/dist/backgrounds/runtime/color.d.ts +22 -0
  404. package/dist/backgrounds/runtime/color.js +68 -0
  405. package/dist/backgrounds/runtime/context.d.ts +43 -0
  406. package/dist/backgrounds/runtime/context.js +11 -0
  407. package/dist/backgrounds/runtime/hooks.d.ts +57 -0
  408. package/dist/backgrounds/runtime/hooks.js +240 -0
  409. package/dist/backgrounds/runtime/nativeScroll.d.ts +8 -0
  410. package/dist/backgrounds/runtime/nativeScroll.js +20 -0
  411. package/dist/backgrounds/runtime/noise.d.ts +4 -0
  412. package/dist/backgrounds/runtime/noise.js +38 -0
  413. package/dist/backgrounds/runtime/rng.d.ts +10 -0
  414. package/dist/backgrounds/runtime/rng.js +29 -0
  415. package/dist/backgrounds/runtime/rootCss.d.ts +3 -0
  416. package/dist/backgrounds/runtime/rootCss.js +66 -0
  417. package/dist/backgrounds/runtime/scroll.d.ts +25 -0
  418. package/dist/backgrounds/runtime/scroll.js +25 -0
  419. package/dist/backgrounds/runtime/tier.d.ts +26 -0
  420. package/dist/backgrounds/runtime/tier.js +72 -0
  421. package/dist/backgrounds/runtime/webgl.d.ts +81 -0
  422. package/dist/backgrounds/runtime/webgl.js +250 -0
  423. package/dist/backgrounds/types.d.ts +295 -0
  424. package/dist/backgrounds/types.js +20 -0
  425. package/dist/buttons/Button.d.ts +46 -0
  426. package/dist/buttons/Button.js +136 -0
  427. package/dist/buttons/base.d.ts +1 -0
  428. package/dist/buttons/base.js +162 -0
  429. package/dist/buttons/claims.d.ts +8 -0
  430. package/dist/buttons/claims.js +9 -0
  431. package/dist/buttons/effects/border/borderAnts.d.ts +15 -0
  432. package/dist/buttons/effects/border/borderAnts.js +30 -0
  433. package/dist/buttons/effects/border/borderAnts.schema.d.ts +1 -0
  434. package/dist/buttons/effects/border/borderAnts.schema.js +13 -0
  435. package/dist/buttons/effects/border/borderBeam.d.ts +13 -0
  436. package/dist/buttons/effects/border/borderBeam.js +19 -0
  437. package/dist/buttons/effects/border/borderBeam.schema.d.ts +1 -0
  438. package/dist/buttons/effects/border/borderBeam.schema.js +12 -0
  439. package/dist/buttons/effects/border/borderConic.d.ts +15 -0
  440. package/dist/buttons/effects/border/borderConic.js +30 -0
  441. package/dist/buttons/effects/border/borderConic.schema.d.ts +1 -0
  442. package/dist/buttons/effects/border/borderConic.schema.js +13 -0
  443. package/dist/buttons/effects/border/borderDraw.d.ts +13 -0
  444. package/dist/buttons/effects/border/borderDraw.js +27 -0
  445. package/dist/buttons/effects/border/borderDraw.schema.d.ts +1 -0
  446. package/dist/buttons/effects/border/borderDraw.schema.js +12 -0
  447. package/dist/buttons/effects/border/borderElectric.d.ts +16 -0
  448. package/dist/buttons/effects/border/borderElectric.js +68 -0
  449. package/dist/buttons/effects/border/borderElectric.schema.d.ts +1 -0
  450. package/dist/buttons/effects/border/borderElectric.schema.js +12 -0
  451. package/dist/buttons/effects/border/borderOutline.d.ts +13 -0
  452. package/dist/buttons/effects/border/borderOutline.js +45 -0
  453. package/dist/buttons/effects/border/borderOutline.schema.d.ts +1 -0
  454. package/dist/buttons/effects/border/borderOutline.schema.js +12 -0
  455. package/dist/buttons/effects/border/borderRound.d.ts +9 -0
  456. package/dist/buttons/effects/border/borderRound.js +18 -0
  457. package/dist/buttons/effects/border/borderRound.schema.d.ts +1 -0
  458. package/dist/buttons/effects/border/borderRound.schema.js +10 -0
  459. package/dist/buttons/effects/border/borderRunner.d.ts +13 -0
  460. package/dist/buttons/effects/border/borderRunner.js +37 -0
  461. package/dist/buttons/effects/border/borderRunner.schema.d.ts +1 -0
  462. package/dist/buttons/effects/border/borderRunner.schema.js +12 -0
  463. package/dist/buttons/effects/border/borderSpread.d.ts +12 -0
  464. package/dist/buttons/effects/border/borderSpread.js +28 -0
  465. package/dist/buttons/effects/border/borderSpread.schema.d.ts +1 -0
  466. package/dist/buttons/effects/border/borderSpread.schema.js +12 -0
  467. package/dist/buttons/effects/border/borderStar.d.ts +11 -0
  468. package/dist/buttons/effects/border/borderStar.js +36 -0
  469. package/dist/buttons/effects/border/borderStar.schema.d.ts +1 -0
  470. package/dist/buttons/effects/border/borderStar.schema.js +11 -0
  471. package/dist/buttons/effects/border/borderUnderline.d.ts +13 -0
  472. package/dist/buttons/effects/border/borderUnderline.js +26 -0
  473. package/dist/buttons/effects/border/borderUnderline.schema.d.ts +1 -0
  474. package/dist/buttons/effects/border/borderUnderline.schema.js +12 -0
  475. package/dist/buttons/effects/border/ring.d.ts +4 -0
  476. package/dist/buttons/effects/border/ring.js +29 -0
  477. package/dist/buttons/effects/cursor/cursorBlob.d.ts +13 -0
  478. package/dist/buttons/effects/cursor/cursorBlob.js +30 -0
  479. package/dist/buttons/effects/cursor/cursorBlob.schema.d.ts +1 -0
  480. package/dist/buttons/effects/cursor/cursorBlob.schema.js +12 -0
  481. package/dist/buttons/effects/cursor/cursorMagnet.d.ts +11 -0
  482. package/dist/buttons/effects/cursor/cursorMagnet.js +25 -0
  483. package/dist/buttons/effects/cursor/cursorMagnet.schema.d.ts +1 -0
  484. package/dist/buttons/effects/cursor/cursorMagnet.schema.js +11 -0
  485. package/dist/buttons/effects/depth/depthCube.d.ts +11 -0
  486. package/dist/buttons/effects/depth/depthCube.js +32 -0
  487. package/dist/buttons/effects/depth/depthCube.schema.d.ts +1 -0
  488. package/dist/buttons/effects/depth/depthCube.schema.js +11 -0
  489. package/dist/buttons/effects/depth/depthFlip.d.ts +17 -0
  490. package/dist/buttons/effects/depth/depthFlip.js +42 -0
  491. package/dist/buttons/effects/depth/depthFlip.schema.d.ts +1 -0
  492. package/dist/buttons/effects/depth/depthFlip.schema.js +14 -0
  493. package/dist/buttons/effects/depth/depthFloat.d.ts +11 -0
  494. package/dist/buttons/effects/depth/depthFloat.js +24 -0
  495. package/dist/buttons/effects/depth/depthFloat.schema.d.ts +1 -0
  496. package/dist/buttons/effects/depth/depthFloat.schema.js +11 -0
  497. package/dist/buttons/effects/depth/depthGrow.d.ts +11 -0
  498. package/dist/buttons/effects/depth/depthGrow.js +30 -0
  499. package/dist/buttons/effects/depth/depthGrow.schema.d.ts +1 -0
  500. package/dist/buttons/effects/depth/depthGrow.schema.js +11 -0
  501. package/dist/buttons/effects/depth/depthJiggle.d.ts +11 -0
  502. package/dist/buttons/effects/depth/depthJiggle.js +36 -0
  503. package/dist/buttons/effects/depth/depthJiggle.schema.d.ts +1 -0
  504. package/dist/buttons/effects/depth/depthJiggle.schema.js +11 -0
  505. package/dist/buttons/effects/depth/depthNeumorph.d.ts +13 -0
  506. package/dist/buttons/effects/depth/depthNeumorph.js +42 -0
  507. package/dist/buttons/effects/depth/depthNeumorph.schema.d.ts +1 -0
  508. package/dist/buttons/effects/depth/depthNeumorph.schema.js +12 -0
  509. package/dist/buttons/effects/depth/depthPushable.d.ts +13 -0
  510. package/dist/buttons/effects/depth/depthPushable.js +50 -0
  511. package/dist/buttons/effects/depth/depthPushable.schema.d.ts +1 -0
  512. package/dist/buttons/effects/depth/depthPushable.schema.js +12 -0
  513. package/dist/buttons/effects/depth/depthTilt.d.ts +11 -0
  514. package/dist/buttons/effects/depth/depthTilt.js +22 -0
  515. package/dist/buttons/effects/depth/depthTilt.schema.d.ts +1 -0
  516. package/dist/buttons/effects/depth/depthTilt.schema.js +11 -0
  517. package/dist/buttons/effects/fill/fillDirectional.d.ts +5 -0
  518. package/dist/buttons/effects/fill/fillDirectional.js +21 -0
  519. package/dist/buttons/effects/fill/fillDirectional.schema.d.ts +1 -0
  520. package/dist/buttons/effects/fill/fillDirectional.schema.js +8 -0
  521. package/dist/buttons/effects/fill/fillFade.d.ts +5 -0
  522. package/dist/buttons/effects/fill/fillFade.js +15 -0
  523. package/dist/buttons/effects/fill/fillFade.schema.d.ts +1 -0
  524. package/dist/buttons/effects/fill/fillFade.schema.js +8 -0
  525. package/dist/buttons/effects/fill/fillGoo.d.ts +11 -0
  526. package/dist/buttons/effects/fill/fillGoo.js +74 -0
  527. package/dist/buttons/effects/fill/fillGoo.schema.d.ts +1 -0
  528. package/dist/buttons/effects/fill/fillGoo.schema.js +11 -0
  529. package/dist/buttons/effects/fill/fillGradient.d.ts +14 -0
  530. package/dist/buttons/effects/fill/fillGradient.js +34 -0
  531. package/dist/buttons/effects/fill/fillGradient.schema.d.ts +1 -0
  532. package/dist/buttons/effects/fill/fillGradient.schema.js +13 -0
  533. package/dist/buttons/effects/fill/fillRadial.d.ts +8 -0
  534. package/dist/buttons/effects/fill/fillRadial.js +36 -0
  535. package/dist/buttons/effects/fill/fillRadial.schema.d.ts +1 -0
  536. package/dist/buttons/effects/fill/fillRadial.schema.js +11 -0
  537. package/dist/buttons/effects/fill/fillShutter.d.ts +10 -0
  538. package/dist/buttons/effects/fill/fillShutter.js +43 -0
  539. package/dist/buttons/effects/fill/fillShutter.schema.d.ts +1 -0
  540. package/dist/buttons/effects/fill/fillShutter.schema.js +12 -0
  541. package/dist/buttons/effects/fill/fillSlash.d.ts +10 -0
  542. package/dist/buttons/effects/fill/fillSlash.js +26 -0
  543. package/dist/buttons/effects/fill/fillSlash.schema.d.ts +1 -0
  544. package/dist/buttons/effects/fill/fillSlash.schema.js +12 -0
  545. package/dist/buttons/effects/fill/fillSpotlight.d.ts +11 -0
  546. package/dist/buttons/effects/fill/fillSpotlight.js +22 -0
  547. package/dist/buttons/effects/fill/fillSpotlight.schema.d.ts +1 -0
  548. package/dist/buttons/effects/fill/fillSpotlight.schema.js +11 -0
  549. package/dist/buttons/effects/fill/fillSweep.d.ts +8 -0
  550. package/dist/buttons/effects/fill/fillSweep.js +26 -0
  551. package/dist/buttons/effects/fill/fillSweep.schema.d.ts +1 -0
  552. package/dist/buttons/effects/fill/fillSweep.schema.js +11 -0
  553. package/dist/buttons/effects/fill/fillWave.d.ts +10 -0
  554. package/dist/buttons/effects/fill/fillWave.js +47 -0
  555. package/dist/buttons/effects/fill/fillWave.schema.d.ts +1 -0
  556. package/dist/buttons/effects/fill/fillWave.schema.js +12 -0
  557. package/dist/buttons/effects/fill/kit.d.ts +14 -0
  558. package/dist/buttons/effects/fill/kit.js +16 -0
  559. package/dist/buttons/effects/glass/glassBlur.d.ts +8 -0
  560. package/dist/buttons/effects/glass/glassBlur.js +11 -0
  561. package/dist/buttons/effects/glass/glassBlur.schema.d.ts +1 -0
  562. package/dist/buttons/effects/glass/glassBlur.schema.js +12 -0
  563. package/dist/buttons/effects/glass/glassDistort.d.ts +12 -0
  564. package/dist/buttons/effects/glass/glassDistort.js +49 -0
  565. package/dist/buttons/effects/glass/glassDistort.schema.d.ts +1 -0
  566. package/dist/buttons/effects/glass/glassDistort.schema.js +10 -0
  567. package/dist/buttons/effects/glass/glassLiquid.d.ts +12 -0
  568. package/dist/buttons/effects/glass/glassLiquid.js +53 -0
  569. package/dist/buttons/effects/glass/glassLiquid.schema.d.ts +1 -0
  570. package/dist/buttons/effects/glass/glassLiquid.schema.js +13 -0
  571. package/dist/buttons/effects/glass/glassNative.d.ts +8 -0
  572. package/dist/buttons/effects/glass/glassNative.js +22 -0
  573. package/dist/buttons/effects/glass/glassNative.schema.d.ts +1 -0
  574. package/dist/buttons/effects/glass/glassNative.schema.js +12 -0
  575. package/dist/buttons/effects/glass/glassRefract.d.ts +16 -0
  576. package/dist/buttons/effects/glass/glassRefract.js +55 -0
  577. package/dist/buttons/effects/glass/glassRefract.schema.d.ts +1 -0
  578. package/dist/buttons/effects/glass/glassRefract.schema.js +11 -0
  579. package/dist/buttons/effects/glass/kit.d.ts +20 -0
  580. package/dist/buttons/effects/glass/kit.js +39 -0
  581. package/dist/buttons/effects/glow/glowAura.d.ts +14 -0
  582. package/dist/buttons/effects/glow/glowAura.js +36 -0
  583. package/dist/buttons/effects/glow/glowAura.schema.d.ts +1 -0
  584. package/dist/buttons/effects/glow/glowAura.schema.js +14 -0
  585. package/dist/buttons/effects/glow/glowGlare.d.ts +11 -0
  586. package/dist/buttons/effects/glow/glowGlare.js +22 -0
  587. package/dist/buttons/effects/glow/glowGlare.schema.d.ts +1 -0
  588. package/dist/buttons/effects/glow/glowGlare.schema.js +11 -0
  589. package/dist/buttons/effects/glow/glowHover.d.ts +11 -0
  590. package/dist/buttons/effects/glow/glowHover.js +20 -0
  591. package/dist/buttons/effects/glow/glowHover.schema.d.ts +1 -0
  592. package/dist/buttons/effects/glow/glowHover.schema.js +11 -0
  593. package/dist/buttons/effects/glow/glowLift.d.ts +11 -0
  594. package/dist/buttons/effects/glow/glowLift.js +25 -0
  595. package/dist/buttons/effects/glow/glowLift.schema.d.ts +1 -0
  596. package/dist/buttons/effects/glow/glowLift.schema.js +11 -0
  597. package/dist/buttons/effects/glow/glowNeon.d.ts +12 -0
  598. package/dist/buttons/effects/glow/glowNeon.js +46 -0
  599. package/dist/buttons/effects/glow/glowNeon.schema.d.ts +1 -0
  600. package/dist/buttons/effects/glow/glowNeon.schema.js +11 -0
  601. package/dist/buttons/effects/glow/glowRainbow.d.ts +14 -0
  602. package/dist/buttons/effects/glow/glowRainbow.js +44 -0
  603. package/dist/buttons/effects/glow/glowRainbow.schema.d.ts +1 -0
  604. package/dist/buttons/effects/glow/glowRainbow.schema.js +13 -0
  605. package/dist/buttons/effects/glow/glowShimmer.d.ts +11 -0
  606. package/dist/buttons/effects/glow/glowShimmer.js +25 -0
  607. package/dist/buttons/effects/glow/glowShimmer.schema.d.ts +1 -0
  608. package/dist/buttons/effects/glow/glowShimmer.schema.js +11 -0
  609. package/dist/buttons/effects/glow/glowShine.d.ts +16 -0
  610. package/dist/buttons/effects/glow/glowShine.js +41 -0
  611. package/dist/buttons/effects/glow/glowShine.schema.d.ts +1 -0
  612. package/dist/buttons/effects/glow/glowShine.schema.js +13 -0
  613. package/dist/buttons/effects/glow/glowShiny.d.ts +12 -0
  614. package/dist/buttons/effects/glow/glowShiny.js +30 -0
  615. package/dist/buttons/effects/glow/glowShiny.schema.d.ts +1 -0
  616. package/dist/buttons/effects/glow/glowShiny.schema.js +11 -0
  617. package/dist/buttons/effects/icon/iconExpand.d.ts +7 -0
  618. package/dist/buttons/effects/icon/iconExpand.js +33 -0
  619. package/dist/buttons/effects/icon/iconExpand.schema.d.ts +1 -0
  620. package/dist/buttons/effects/icon/iconExpand.schema.js +9 -0
  621. package/dist/buttons/effects/icon/iconMorph.d.ts +15 -0
  622. package/dist/buttons/effects/icon/iconMorph.js +38 -0
  623. package/dist/buttons/effects/icon/iconMorph.schema.d.ts +1 -0
  624. package/dist/buttons/effects/icon/iconMorph.schema.js +10 -0
  625. package/dist/buttons/effects/icon/iconNudge.d.ts +11 -0
  626. package/dist/buttons/effects/icon/iconNudge.js +21 -0
  627. package/dist/buttons/effects/icon/iconNudge.schema.d.ts +1 -0
  628. package/dist/buttons/effects/icon/iconNudge.schema.js +11 -0
  629. package/dist/buttons/effects/icon/iconReveal.d.ts +9 -0
  630. package/dist/buttons/effects/icon/iconReveal.js +37 -0
  631. package/dist/buttons/effects/icon/iconReveal.schema.d.ts +1 -0
  632. package/dist/buttons/effects/icon/iconReveal.schema.js +10 -0
  633. package/dist/buttons/effects/icon/icons.d.ts +4 -0
  634. package/dist/buttons/effects/icon/icons.js +11 -0
  635. package/dist/buttons/effects/idle/idleBreathe.d.ts +13 -0
  636. package/dist/buttons/effects/idle/idleBreathe.js +28 -0
  637. package/dist/buttons/effects/idle/idleBreathe.schema.d.ts +1 -0
  638. package/dist/buttons/effects/idle/idleBreathe.schema.js +12 -0
  639. package/dist/buttons/effects/idle/idleGrain.d.ts +13 -0
  640. package/dist/buttons/effects/idle/idleGrain.js +53 -0
  641. package/dist/buttons/effects/idle/idleGrain.schema.d.ts +1 -0
  642. package/dist/buttons/effects/idle/idleGrain.schema.js +12 -0
  643. package/dist/buttons/effects/idle/idlePing.d.ts +13 -0
  644. package/dist/buttons/effects/idle/idlePing.js +29 -0
  645. package/dist/buttons/effects/idle/idlePing.schema.d.ts +1 -0
  646. package/dist/buttons/effects/idle/idlePing.schema.js +12 -0
  647. package/dist/buttons/effects/idle/idleWiggle.d.ts +9 -0
  648. package/dist/buttons/effects/idle/idleWiggle.js +28 -0
  649. package/dist/buttons/effects/idle/idleWiggle.schema.d.ts +1 -0
  650. package/dist/buttons/effects/idle/idleWiggle.schema.js +10 -0
  651. package/dist/buttons/effects/kit.d.ts +74 -0
  652. package/dist/buttons/effects/kit.js +87 -0
  653. package/dist/buttons/effects/label/labelFall.d.ts +9 -0
  654. package/dist/buttons/effects/label/labelFall.js +22 -0
  655. package/dist/buttons/effects/label/labelFall.schema.d.ts +1 -0
  656. package/dist/buttons/effects/label/labelFall.schema.js +10 -0
  657. package/dist/buttons/effects/label/labelRoll.d.ts +9 -0
  658. package/dist/buttons/effects/label/labelRoll.js +29 -0
  659. package/dist/buttons/effects/label/labelRoll.schema.d.ts +1 -0
  660. package/dist/buttons/effects/label/labelRoll.schema.js +10 -0
  661. package/dist/buttons/effects/label/labelScramble.d.ts +13 -0
  662. package/dist/buttons/effects/label/labelScramble.js +39 -0
  663. package/dist/buttons/effects/label/labelScramble.schema.d.ts +1 -0
  664. package/dist/buttons/effects/label/labelScramble.schema.js +11 -0
  665. package/dist/buttons/effects/label/labelShiny.d.ts +9 -0
  666. package/dist/buttons/effects/label/labelShiny.js +26 -0
  667. package/dist/buttons/effects/label/labelShiny.schema.d.ts +1 -0
  668. package/dist/buttons/effects/label/labelShiny.schema.js +10 -0
  669. package/dist/buttons/effects/label/labelSwap.d.ts +9 -0
  670. package/dist/buttons/effects/label/labelSwap.js +27 -0
  671. package/dist/buttons/effects/label/labelSwap.schema.d.ts +1 -0
  672. package/dist/buttons/effects/label/labelSwap.schema.js +10 -0
  673. package/dist/buttons/effects/press/pressBurst.d.ts +13 -0
  674. package/dist/buttons/effects/press/pressBurst.js +13 -0
  675. package/dist/buttons/effects/press/pressBurst.schema.d.ts +1 -0
  676. package/dist/buttons/effects/press/pressBurst.schema.js +13 -0
  677. package/dist/buttons/effects/press/pressConfetti.d.ts +15 -0
  678. package/dist/buttons/effects/press/pressConfetti.js +14 -0
  679. package/dist/buttons/effects/press/pressConfetti.schema.d.ts +1 -0
  680. package/dist/buttons/effects/press/pressConfetti.schema.js +14 -0
  681. package/dist/buttons/effects/press/pressJelly.d.ts +9 -0
  682. package/dist/buttons/effects/press/pressJelly.js +26 -0
  683. package/dist/buttons/effects/press/pressJelly.schema.d.ts +1 -0
  684. package/dist/buttons/effects/press/pressJelly.schema.js +10 -0
  685. package/dist/buttons/effects/press/pressRipple.d.ts +9 -0
  686. package/dist/buttons/effects/press/pressRipple.js +32 -0
  687. package/dist/buttons/effects/press/pressRipple.schema.d.ts +1 -0
  688. package/dist/buttons/effects/press/pressRipple.schema.js +10 -0
  689. package/dist/buttons/effects/press/pressScale.d.ts +9 -0
  690. package/dist/buttons/effects/press/pressScale.js +12 -0
  691. package/dist/buttons/effects/press/pressScale.schema.d.ts +1 -0
  692. package/dist/buttons/effects/press/pressScale.schema.js +10 -0
  693. package/dist/buttons/effects/press/pressSpark.d.ts +13 -0
  694. package/dist/buttons/effects/press/pressSpark.js +13 -0
  695. package/dist/buttons/effects/press/pressSpark.schema.d.ts +1 -0
  696. package/dist/buttons/effects/press/pressSpark.schema.js +12 -0
  697. package/dist/buttons/effects/press/pressSpray.d.ts +16 -0
  698. package/dist/buttons/effects/press/pressSpray.js +69 -0
  699. package/dist/buttons/effects/press/pressSpray.schema.d.ts +1 -0
  700. package/dist/buttons/effects/press/pressSpray.schema.js +13 -0
  701. package/dist/buttons/effects/press/stateShake.d.ts +12 -0
  702. package/dist/buttons/effects/press/stateShake.js +30 -0
  703. package/dist/buttons/effects/press/stateShake.schema.d.ts +1 -0
  704. package/dist/buttons/effects/press/stateShake.schema.js +10 -0
  705. package/dist/buttons/effects/press/throw.d.ts +10 -0
  706. package/dist/buttons/effects/press/throw.js +40 -0
  707. package/dist/buttons/effects/state/icons.d.ts +9 -0
  708. package/dist/buttons/effects/state/icons.js +35 -0
  709. package/dist/buttons/effects/state/kit.d.ts +2 -0
  710. package/dist/buttons/effects/state/kit.js +21 -0
  711. package/dist/buttons/effects/state/stateCopy.d.ts +14 -0
  712. package/dist/buttons/effects/state/stateCopy.js +28 -0
  713. package/dist/buttons/effects/state/stateCopy.schema.d.ts +1 -0
  714. package/dist/buttons/effects/state/stateCopy.schema.js +9 -0
  715. package/dist/buttons/effects/state/stateHold.d.ts +12 -0
  716. package/dist/buttons/effects/state/stateHold.js +36 -0
  717. package/dist/buttons/effects/state/stateHold.schema.d.ts +1 -0
  718. package/dist/buttons/effects/state/stateHold.schema.js +10 -0
  719. package/dist/buttons/effects/state/stateMorph.d.ts +14 -0
  720. package/dist/buttons/effects/state/stateMorph.js +62 -0
  721. package/dist/buttons/effects/state/stateMorph.schema.d.ts +1 -0
  722. package/dist/buttons/effects/state/stateMorph.schema.js +11 -0
  723. package/dist/buttons/effects/state/stateProgress.d.ts +12 -0
  724. package/dist/buttons/effects/state/stateProgress.js +38 -0
  725. package/dist/buttons/effects/state/stateProgress.schema.d.ts +1 -0
  726. package/dist/buttons/effects/state/stateProgress.schema.js +10 -0
  727. package/dist/buttons/effects/state/stateRing.d.ts +7 -0
  728. package/dist/buttons/effects/state/stateRing.js +32 -0
  729. package/dist/buttons/effects/state/stateRing.schema.d.ts +1 -0
  730. package/dist/buttons/effects/state/stateRing.schema.js +9 -0
  731. package/dist/buttons/effects/state/stateSpinner.d.ts +7 -0
  732. package/dist/buttons/effects/state/stateSpinner.js +17 -0
  733. package/dist/buttons/effects/state/stateSpinner.schema.d.ts +1 -0
  734. package/dist/buttons/effects/state/stateSpinner.schema.js +9 -0
  735. package/dist/buttons/effects/state/stateSwap.d.ts +10 -0
  736. package/dist/buttons/effects/state/stateSwap.js +29 -0
  737. package/dist/buttons/effects/state/stateSwap.schema.d.ts +1 -0
  738. package/dist/buttons/effects/state/stateSwap.schema.js +9 -0
  739. package/dist/buttons/pick.d.ts +5 -0
  740. package/dist/buttons/pick.js +16 -0
  741. package/dist/buttons/registry.d.ts +4 -0
  742. package/dist/buttons/registry.js +91 -0
  743. package/dist/buttons/runtime/attachPointer.d.ts +2 -0
  744. package/dist/buttons/runtime/attachPointer.js +59 -0
  745. package/dist/buttons/runtime/attachPress.d.ts +4 -0
  746. package/dist/buttons/runtime/attachPress.js +94 -0
  747. package/dist/buttons/runtime/burst.d.ts +3 -0
  748. package/dist/buttons/runtime/burst.js +76 -0
  749. package/dist/buttons/runtime/dev.d.ts +2 -0
  750. package/dist/buttons/runtime/dev.js +8 -0
  751. package/dist/buttons/runtime/particles.d.ts +55 -0
  752. package/dist/buttons/runtime/particles.js +98 -0
  753. package/dist/buttons/runtime/playLabel.d.ts +8 -0
  754. package/dist/buttons/runtime/playLabel.js +49 -0
  755. package/dist/buttons/runtime/pointer.d.ts +13 -0
  756. package/dist/buttons/runtime/pointer.js +30 -0
  757. package/dist/buttons/runtime/press.d.ts +8 -0
  758. package/dist/buttons/runtime/press.js +13 -0
  759. package/dist/buttons/runtime/refract.d.ts +8 -0
  760. package/dist/buttons/runtime/refract.js +222 -0
  761. package/dist/buttons/runtime/split.d.ts +1 -0
  762. package/dist/buttons/runtime/split.js +3 -0
  763. package/dist/buttons/runtime/state.d.ts +8 -0
  764. package/dist/buttons/runtime/state.js +17 -0
  765. package/dist/buttons/runtime/useButtonAction.d.ts +26 -0
  766. package/dist/buttons/runtime/useButtonAction.js +83 -0
  767. package/dist/buttons/runtime/useButtonPointer.d.ts +6 -0
  768. package/dist/buttons/runtime/useButtonPointer.js +23 -0
  769. package/dist/buttons/runtime/useButtonPress.d.ts +6 -0
  770. package/dist/buttons/runtime/useButtonPress.js +23 -0
  771. package/dist/buttons/runtime/useButtonTier.d.ts +7 -0
  772. package/dist/buttons/runtime/useButtonTier.js +30 -0
  773. package/dist/buttons/runtime/useIdlePause.d.ts +6 -0
  774. package/dist/buttons/runtime/useIdlePause.js +32 -0
  775. package/dist/buttons/types.d.ts +127 -0
  776. package/dist/buttons/types.js +7 -0
  777. package/dist/carousel/config.d.ts +120 -0
  778. package/dist/carousel/config.js +61 -0
  779. package/dist/carousel/config.schema.d.ts +21 -0
  780. package/dist/carousel/config.schema.js +95 -0
  781. package/dist/carousel/engine/handle.d.ts +154 -0
  782. package/dist/carousel/engine/handle.js +114 -0
  783. package/dist/carousel/engine/math.d.ts +1 -0
  784. package/dist/carousel/engine/math.js +1 -0
  785. package/dist/carousel/engine/morph.d.ts +55 -0
  786. package/dist/carousel/engine/morph.js +95 -0
  787. package/dist/carousel/engine/presence.d.ts +27 -0
  788. package/dist/carousel/engine/presence.js +41 -0
  789. package/dist/carousel/engine/ring.d.ts +72 -0
  790. package/dist/carousel/engine/ring.js +105 -0
  791. package/dist/carousel/engine/types.d.ts +115 -0
  792. package/dist/carousel/engine/types.js +53 -0
  793. package/dist/carousel/engine/useCarouselEngine.d.ts +10 -0
  794. package/dist/carousel/engine/useCarouselEngine.js +543 -0
  795. package/dist/carousel/engine/useMetrics.d.ts +35 -0
  796. package/dist/carousel/engine/useMetrics.js +120 -0
  797. package/dist/carousel/engine/viewSwap.d.ts +15 -0
  798. package/dist/carousel/engine/viewSwap.js +45 -0
  799. package/dist/carousel/input/useAutoplay.d.ts +16 -0
  800. package/dist/carousel/input/useAutoplay.js +43 -0
  801. package/dist/carousel/input/useDrag.d.ts +19 -0
  802. package/dist/carousel/input/useDrag.js +125 -0
  803. package/dist/carousel/input/useScrollLink.d.ts +37 -0
  804. package/dist/carousel/input/useScrollLink.js +69 -0
  805. package/dist/carousel/layout/curve.d.ts +23 -0
  806. package/dist/carousel/layout/curve.js +35 -0
  807. package/dist/carousel/layout/modifiers/converge.d.ts +33 -0
  808. package/dist/carousel/layout/modifiers/converge.js +34 -0
  809. package/dist/carousel/layout/modifiers/curve.d.ts +20 -0
  810. package/dist/carousel/layout/modifiers/curve.js +19 -0
  811. package/dist/carousel/layout/modifiers/pack.d.ts +24 -0
  812. package/dist/carousel/layout/modifiers/pack.js +35 -0
  813. package/dist/carousel/layout/modifiers/place3d.d.ts +54 -0
  814. package/dist/carousel/layout/modifiers/place3d.js +102 -0
  815. package/dist/carousel/layout/modifiers/scaleCurve.d.ts +10 -0
  816. package/dist/carousel/layout/modifiers/scaleCurve.js +24 -0
  817. package/dist/carousel/layout/modifiers/speed.d.ts +37 -0
  818. package/dist/carousel/layout/modifiers/speed.js +52 -0
  819. package/dist/carousel/layout/modifiers/speed.schema.d.ts +2 -0
  820. package/dist/carousel/layout/modifiers/speed.schema.js +21 -0
  821. package/dist/carousel/layout/modifiers/stack.d.ts +30 -0
  822. package/dist/carousel/layout/modifiers/stack.js +40 -0
  823. package/dist/carousel/layout/modifiers/track.d.ts +21 -0
  824. package/dist/carousel/layout/modifiers/track.js +22 -0
  825. package/dist/carousel/layout/open.d.ts +67 -0
  826. package/dist/carousel/layout/open.js +118 -0
  827. package/dist/carousel/layout/open.schema.d.ts +3 -0
  828. package/dist/carousel/layout/open.schema.js +38 -0
  829. package/dist/carousel/layout/presence.d.ts +64 -0
  830. package/dist/carousel/layout/presence.js +102 -0
  831. package/dist/carousel/layout/presence.schema.d.ts +5 -0
  832. package/dist/carousel/layout/presence.schema.js +49 -0
  833. package/dist/carousel/layout/presets/barrel.d.ts +33 -0
  834. package/dist/carousel/layout/presets/barrel.js +62 -0
  835. package/dist/carousel/layout/presets/barrel.schema.d.ts +1 -0
  836. package/dist/carousel/layout/presets/barrel.schema.js +17 -0
  837. package/dist/carousel/layout/presets/coverflow.d.ts +26 -0
  838. package/dist/carousel/layout/presets/coverflow.js +31 -0
  839. package/dist/carousel/layout/presets/coverflow.schema.d.ts +1 -0
  840. package/dist/carousel/layout/presets/coverflow.schema.js +12 -0
  841. package/dist/carousel/layout/presets/deck.d.ts +14 -0
  842. package/dist/carousel/layout/presets/deck.js +19 -0
  843. package/dist/carousel/layout/presets/deck.schema.d.ts +1 -0
  844. package/dist/carousel/layout/presets/deck.schema.js +10 -0
  845. package/dist/carousel/layout/presets/expo.d.ts +16 -0
  846. package/dist/carousel/layout/presets/expo.js +25 -0
  847. package/dist/carousel/layout/presets/expo.schema.d.ts +1 -0
  848. package/dist/carousel/layout/presets/expo.schema.js +11 -0
  849. package/dist/carousel/layout/presets/fallAway.d.ts +28 -0
  850. package/dist/carousel/layout/presets/fallAway.js +45 -0
  851. package/dist/carousel/layout/presets/fallAway.schema.d.ts +1 -0
  852. package/dist/carousel/layout/presets/fallAway.schema.js +16 -0
  853. package/dist/carousel/layout/presets/fan.d.ts +17 -0
  854. package/dist/carousel/layout/presets/fan.js +20 -0
  855. package/dist/carousel/layout/presets/fan.schema.d.ts +1 -0
  856. package/dist/carousel/layout/presets/fan.schema.js +12 -0
  857. package/dist/carousel/layout/presets/helix.d.ts +32 -0
  858. package/dist/carousel/layout/presets/helix.js +62 -0
  859. package/dist/carousel/layout/presets/helix.schema.d.ts +1 -0
  860. package/dist/carousel/layout/presets/helix.schema.js +14 -0
  861. package/dist/carousel/layout/presets/material.d.ts +19 -0
  862. package/dist/carousel/layout/presets/material.js +50 -0
  863. package/dist/carousel/layout/presets/material.schema.d.ts +1 -0
  864. package/dist/carousel/layout/presets/material.schema.js +11 -0
  865. package/dist/carousel/layout/presets/panorama.d.ts +28 -0
  866. package/dist/carousel/layout/presets/panorama.js +57 -0
  867. package/dist/carousel/layout/presets/panorama.schema.d.ts +1 -0
  868. package/dist/carousel/layout/presets/panorama.schema.js +11 -0
  869. package/dist/carousel/layout/presets/ring.d.ts +33 -0
  870. package/dist/carousel/layout/presets/ring.js +58 -0
  871. package/dist/carousel/layout/presets/ring.schema.d.ts +1 -0
  872. package/dist/carousel/layout/presets/ring.schema.js +17 -0
  873. package/dist/carousel/layout/presets/scale.d.ts +18 -0
  874. package/dist/carousel/layout/presets/scale.js +23 -0
  875. package/dist/carousel/layout/presets/scale.schema.d.ts +1 -0
  876. package/dist/carousel/layout/presets/scale.schema.js +12 -0
  877. package/dist/carousel/layout/presets/sphere.d.ts +78 -0
  878. package/dist/carousel/layout/presets/sphere.js +167 -0
  879. package/dist/carousel/layout/presets/sphere.schema.d.ts +1 -0
  880. package/dist/carousel/layout/presets/sphere.schema.js +14 -0
  881. package/dist/carousel/layout/presets/spotlight.d.ts +15 -0
  882. package/dist/carousel/layout/presets/spotlight.js +21 -0
  883. package/dist/carousel/layout/presets/spotlight.schema.d.ts +1 -0
  884. package/dist/carousel/layout/presets/spotlight.schema.js +11 -0
  885. package/dist/carousel/layout/presets/staircase.d.ts +33 -0
  886. package/dist/carousel/layout/presets/staircase.js +50 -0
  887. package/dist/carousel/layout/presets/staircase.schema.d.ts +1 -0
  888. package/dist/carousel/layout/presets/staircase.schema.js +17 -0
  889. package/dist/carousel/layout/presets/superFlow.d.ts +20 -0
  890. package/dist/carousel/layout/presets/superFlow.js +45 -0
  891. package/dist/carousel/layout/presets/superFlow.schema.d.ts +1 -0
  892. package/dist/carousel/layout/presets/superFlow.schema.js +12 -0
  893. package/dist/carousel/layout/presets/wave.d.ts +19 -0
  894. package/dist/carousel/layout/presets/wave.js +23 -0
  895. package/dist/carousel/layout/presets/wave.schema.d.ts +2 -0
  896. package/dist/carousel/layout/presets/wave.schema.js +8 -0
  897. package/dist/carousel/layout/types.d.ts +103 -0
  898. package/dist/carousel/layout/types.js +91 -0
  899. package/dist/carousel/parts/Panel.d.ts +19 -0
  900. package/dist/carousel/parts/Panel.js +53 -0
  901. package/dist/carousel/parts/Parallax.d.ts +22 -0
  902. package/dist/carousel/parts/Parallax.js +18 -0
  903. package/dist/carousel/parts/Root.d.ts +41 -0
  904. package/dist/carousel/parts/Root.js +115 -0
  905. package/dist/carousel/parts/Shader.d.ts +32 -0
  906. package/dist/carousel/parts/Shader.js +63 -0
  907. package/dist/carousel/parts/Slot.d.ts +59 -0
  908. package/dist/carousel/parts/Slot.js +93 -0
  909. package/dist/carousel/parts/Track.d.ts +21 -0
  910. package/dist/carousel/parts/Track.js +26 -0
  911. package/dist/carousel/parts/Viewport.d.ts +33 -0
  912. package/dist/carousel/parts/Viewport.js +53 -0
  913. package/dist/carousel/parts/Window.d.ts +28 -0
  914. package/dist/carousel/parts/Window.js +53 -0
  915. package/dist/carousel/parts/index.d.ts +34 -0
  916. package/dist/carousel/parts/index.js +26 -0
  917. package/dist/carousel/physics/landing.d.ts +16 -0
  918. package/dist/carousel/physics/landing.js +25 -0
  919. package/dist/carousel/physics/policies.d.ts +43 -0
  920. package/dist/carousel/physics/policies.js +60 -0
  921. package/dist/carousel/physics/policies.schema.d.ts +9 -0
  922. package/dist/carousel/physics/policies.schema.js +41 -0
  923. package/dist/carousel/physics/rubberband.d.ts +10 -0
  924. package/dist/carousel/physics/rubberband.js +18 -0
  925. package/dist/carousel/physics/types.d.ts +52 -0
  926. package/dist/carousel/physics/types.js +1 -0
  927. package/dist/carousel/slot/context.d.ts +42 -0
  928. package/dist/carousel/slot/context.js +69 -0
  929. package/dist/carousel/slot/useSlotWriter.d.ts +65 -0
  930. package/dist/carousel/slot/useSlotWriter.js +163 -0
  931. package/dist/carousel/types.d.ts +25 -0
  932. package/dist/carousel/types.js +20 -0
  933. package/dist/gpu/surface.d.ts +46 -0
  934. package/dist/gpu/surface.js +127 -0
  935. package/dist/grid/Grid.schema.d.ts +6 -0
  936. package/dist/grid/Grid.schema.js +66 -0
  937. package/dist/grid/Panel.d.ts +19 -0
  938. package/dist/grid/Panel.js +32 -0
  939. package/dist/grid/Root.d.ts +17 -0
  940. package/dist/grid/Root.js +14 -0
  941. package/dist/grid/Viewport.d.ts +49 -0
  942. package/dist/grid/Viewport.js +479 -0
  943. package/dist/grid/context.d.ts +26 -0
  944. package/dist/grid/context.js +21 -0
  945. package/dist/grid/defaults.d.ts +21 -0
  946. package/dist/grid/defaults.js +23 -0
  947. package/dist/grid/index.d.ts +17 -0
  948. package/dist/grid/index.js +10 -0
  949. package/dist/grid/math.d.ts +107 -0
  950. package/dist/grid/math.js +265 -0
  951. package/dist/grid/modifiers.d.ts +25 -0
  952. package/dist/grid/modifiers.js +35 -0
  953. package/dist/grid/open.d.ts +66 -0
  954. package/dist/grid/open.js +121 -0
  955. package/dist/grid/open.schema.d.ts +3 -0
  956. package/dist/grid/open.schema.js +31 -0
  957. package/dist/grid/pose.d.ts +35 -0
  958. package/dist/grid/pose.js +41 -0
  959. package/dist/grid/types.d.ts +50 -0
  960. package/dist/grid/types.js +1 -0
  961. package/dist/grid/useGridEngine.d.ts +126 -0
  962. package/dist/grid/useGridEngine.js +270 -0
  963. package/dist/index.d.ts +697 -0
  964. package/dist/index.js +373 -0
  965. package/dist/schema/backgrounds.d.ts +2 -0
  966. package/dist/schema/backgrounds.js +187 -0
  967. package/dist/schema/buttons.d.ts +3 -0
  968. package/dist/schema/buttons.js +158 -0
  969. package/dist/schema/carousel.d.ts +14 -0
  970. package/dist/schema/carousel.js +73 -0
  971. package/dist/schema/common.d.ts +41 -0
  972. package/dist/schema/common.js +109 -0
  973. package/dist/schema/define.d.ts +29 -0
  974. package/dist/schema/define.js +27 -0
  975. package/dist/schema/grid.d.ts +5 -0
  976. package/dist/schema/grid.js +12 -0
  977. package/dist/schema/helpers.d.ts +34 -0
  978. package/dist/schema/helpers.js +183 -0
  979. package/dist/schema/index.d.ts +41 -0
  980. package/dist/schema/index.js +61 -0
  981. package/dist/schema/scroll.d.ts +2 -0
  982. package/dist/schema/scroll.js +16 -0
  983. package/dist/schema/text.d.ts +3 -0
  984. package/dist/schema/text.js +150 -0
  985. package/dist/schema/textParts.d.ts +4 -0
  986. package/dist/schema/textParts.js +8 -0
  987. package/dist/schema/ticker.d.ts +3 -0
  988. package/dist/schema/ticker.js +3 -0
  989. package/dist/schema/transitions.d.ts +5 -0
  990. package/dist/schema/transitions.js +96 -0
  991. package/dist/schema/types.d.ts +182 -0
  992. package/dist/schema/types.js +27 -0
  993. package/dist/sections/about/About.d.ts +54 -0
  994. package/dist/sections/about/About.js +56 -0
  995. package/dist/sections/about/index.d.ts +16 -0
  996. package/dist/sections/about/index.js +10 -0
  997. package/dist/sections/about/layouts.d.ts +3 -0
  998. package/dist/sections/about/layouts.js +3 -0
  999. package/dist/sections/contact/Contact.d.ts +60 -0
  1000. package/dist/sections/contact/Contact.js +51 -0
  1001. package/dist/sections/contact/index.d.ts +17 -0
  1002. package/dist/sections/contact/index.js +10 -0
  1003. package/dist/sections/contact/layouts.d.ts +3 -0
  1004. package/dist/sections/contact/layouts.js +3 -0
  1005. package/dist/sections/hero/Hero.d.ts +58 -0
  1006. package/dist/sections/hero/Hero.js +55 -0
  1007. package/dist/sections/hero/index.d.ts +20 -0
  1008. package/dist/sections/hero/index.js +14 -0
  1009. package/dist/sections/hero/layouts.d.ts +3 -0
  1010. package/dist/sections/hero/layouts.js +3 -0
  1011. package/dist/sections/services/Services.d.ts +55 -0
  1012. package/dist/sections/services/Services.js +38 -0
  1013. package/dist/sections/services/index.d.ts +15 -0
  1014. package/dist/sections/services/index.js +10 -0
  1015. package/dist/sections/services/layouts.d.ts +3 -0
  1016. package/dist/sections/services/layouts.js +3 -0
  1017. package/dist/sections/shared/Heading.d.ts +15 -0
  1018. package/dist/sections/shared/Heading.js +13 -0
  1019. package/dist/sections/shared/MediaView.d.ts +6 -0
  1020. package/dist/sections/shared/MediaView.js +12 -0
  1021. package/dist/sections/shared/attrs.d.ts +7 -0
  1022. package/dist/sections/shared/attrs.js +21 -0
  1023. package/dist/sections/shared/context.d.ts +66 -0
  1024. package/dist/sections/shared/context.js +57 -0
  1025. package/dist/sections/shared/reveal.d.ts +55 -0
  1026. package/dist/sections/shared/reveal.js +59 -0
  1027. package/dist/sections/shared/stat.d.ts +18 -0
  1028. package/dist/sections/shared/stat.js +47 -0
  1029. package/dist/sections/shared/types.d.ts +46 -0
  1030. package/dist/sections/shared/types.js +1 -0
  1031. package/dist/text/Text.d.ts +36 -0
  1032. package/dist/text/Text.js +246 -0
  1033. package/dist/text/base.d.ts +1 -0
  1034. package/dist/text/base.js +86 -0
  1035. package/dist/text/cycle/WordCycle.d.ts +40 -0
  1036. package/dist/text/cycle/WordCycle.js +179 -0
  1037. package/dist/text/cycle/WordCycle.schema.d.ts +1 -0
  1038. package/dist/text/cycle/WordCycle.schema.js +28 -0
  1039. package/dist/text/cycle/css.d.ts +5 -0
  1040. package/dist/text/cycle/css.js +158 -0
  1041. package/dist/text/effects/decode/decodeBinary.d.ts +5 -0
  1042. package/dist/text/effects/decode/decodeBinary.js +5 -0
  1043. package/dist/text/effects/decode/decodeBinary.schema.d.ts +1 -0
  1044. package/dist/text/effects/decode/decodeBinary.schema.js +11 -0
  1045. package/dist/text/effects/decode/decodeHover.d.ts +8 -0
  1046. package/dist/text/effects/decode/decodeHover.js +8 -0
  1047. package/dist/text/effects/decode/decodeHover.schema.d.ts +1 -0
  1048. package/dist/text/effects/decode/decodeHover.schema.js +12 -0
  1049. package/dist/text/effects/decode/decodeReveal.d.ts +11 -0
  1050. package/dist/text/effects/decode/decodeReveal.js +9 -0
  1051. package/dist/text/effects/decode/decodeReveal.schema.d.ts +1 -0
  1052. package/dist/text/effects/decode/decodeReveal.schema.js +13 -0
  1053. package/dist/text/effects/decode/frame.d.ts +10 -0
  1054. package/dist/text/effects/decode/frame.js +40 -0
  1055. package/dist/text/effects/decode/kit.d.ts +23 -0
  1056. package/dist/text/effects/decode/kit.js +34 -0
  1057. package/dist/text/effects/decode/play.d.ts +13 -0
  1058. package/dist/text/effects/decode/play.js +79 -0
  1059. package/dist/text/effects/enter/enterAssemble.d.ts +12 -0
  1060. package/dist/text/effects/enter/enterAssemble.js +15 -0
  1061. package/dist/text/effects/enter/enterAssemble.schema.d.ts +1 -0
  1062. package/dist/text/effects/enter/enterAssemble.schema.js +15 -0
  1063. package/dist/text/effects/enter/enterBlur.d.ts +8 -0
  1064. package/dist/text/effects/enter/enterBlur.js +13 -0
  1065. package/dist/text/effects/enter/enterBlur.schema.d.ts +1 -0
  1066. package/dist/text/effects/enter/enterBlur.schema.js +13 -0
  1067. package/dist/text/effects/enter/enterBounce.d.ts +8 -0
  1068. package/dist/text/effects/enter/enterBounce.js +8 -0
  1069. package/dist/text/effects/enter/enterBounce.schema.d.ts +1 -0
  1070. package/dist/text/effects/enter/enterBounce.schema.js +13 -0
  1071. package/dist/text/effects/enter/enterBox.d.ts +8 -0
  1072. package/dist/text/effects/enter/enterBox.js +23 -0
  1073. package/dist/text/effects/enter/enterBox.schema.d.ts +1 -0
  1074. package/dist/text/effects/enter/enterBox.schema.js +11 -0
  1075. package/dist/text/effects/enter/enterFlip.d.ts +10 -0
  1076. package/dist/text/effects/enter/enterFlip.js +20 -0
  1077. package/dist/text/effects/enter/enterFlip.schema.d.ts +1 -0
  1078. package/dist/text/effects/enter/enterFlip.schema.js +14 -0
  1079. package/dist/text/effects/enter/enterMask.d.ts +5 -0
  1080. package/dist/text/effects/enter/enterMask.js +15 -0
  1081. package/dist/text/effects/enter/enterMask.schema.d.ts +1 -0
  1082. package/dist/text/effects/enter/enterMask.schema.js +11 -0
  1083. package/dist/text/effects/enter/enterPop.d.ts +5 -0
  1084. package/dist/text/effects/enter/enterPop.js +8 -0
  1085. package/dist/text/effects/enter/enterPop.schema.d.ts +1 -0
  1086. package/dist/text/effects/enter/enterPop.schema.js +12 -0
  1087. package/dist/text/effects/enter/enterRandom.d.ts +8 -0
  1088. package/dist/text/effects/enter/enterRandom.js +9 -0
  1089. package/dist/text/effects/enter/enterRandom.schema.d.ts +1 -0
  1090. package/dist/text/effects/enter/enterRandom.schema.js +12 -0
  1091. package/dist/text/effects/enter/enterRedact.d.ts +8 -0
  1092. package/dist/text/effects/enter/enterRedact.js +22 -0
  1093. package/dist/text/effects/enter/enterRedact.schema.d.ts +1 -0
  1094. package/dist/text/effects/enter/enterRedact.schema.js +13 -0
  1095. package/dist/text/effects/enter/enterRise.d.ts +8 -0
  1096. package/dist/text/effects/enter/enterRise.js +8 -0
  1097. package/dist/text/effects/enter/enterRise.schema.d.ts +1 -0
  1098. package/dist/text/effects/enter/enterRise.schema.js +13 -0
  1099. package/dist/text/effects/enter/enterSkeleton.d.ts +8 -0
  1100. package/dist/text/effects/enter/enterSkeleton.js +24 -0
  1101. package/dist/text/effects/enter/enterSkeleton.schema.d.ts +1 -0
  1102. package/dist/text/effects/enter/enterSkeleton.schema.js +13 -0
  1103. package/dist/text/effects/enter/enterStamp.d.ts +8 -0
  1104. package/dist/text/effects/enter/enterStamp.js +15 -0
  1105. package/dist/text/effects/enter/enterStamp.schema.d.ts +1 -0
  1106. package/dist/text/effects/enter/enterStamp.schema.js +13 -0
  1107. package/dist/text/effects/enter/enterTracking.d.ts +8 -0
  1108. package/dist/text/effects/enter/enterTracking.js +11 -0
  1109. package/dist/text/effects/enter/enterTracking.schema.d.ts +1 -0
  1110. package/dist/text/effects/enter/enterTracking.schema.js +11 -0
  1111. package/dist/text/effects/enter/enterWords.d.ts +5 -0
  1112. package/dist/text/effects/enter/enterWords.js +9 -0
  1113. package/dist/text/effects/enter/enterWords.schema.d.ts +1 -0
  1114. package/dist/text/effects/enter/enterWords.schema.js +12 -0
  1115. package/dist/text/effects/enter/kit.d.ts +33 -0
  1116. package/dist/text/effects/enter/kit.js +19 -0
  1117. package/dist/text/effects/ink/inkAurora.d.ts +11 -0
  1118. package/dist/text/effects/ink/inkAurora.js +41 -0
  1119. package/dist/text/effects/ink/inkAurora.schema.d.ts +1 -0
  1120. package/dist/text/effects/ink/inkAurora.schema.js +12 -0
  1121. package/dist/text/effects/ink/inkColourful.d.ts +9 -0
  1122. package/dist/text/effects/ink/inkColourful.js +17 -0
  1123. package/dist/text/effects/ink/inkColourful.schema.d.ts +1 -0
  1124. package/dist/text/effects/ink/inkColourful.schema.js +10 -0
  1125. package/dist/text/effects/ink/inkDots.d.ts +9 -0
  1126. package/dist/text/effects/ink/inkDots.js +13 -0
  1127. package/dist/text/effects/ink/inkDots.schema.d.ts +1 -0
  1128. package/dist/text/effects/ink/inkDots.schema.js +10 -0
  1129. package/dist/text/effects/ink/inkFoil.d.ts +7 -0
  1130. package/dist/text/effects/ink/inkFoil.js +26 -0
  1131. package/dist/text/effects/ink/inkFoil.schema.d.ts +1 -0
  1132. package/dist/text/effects/ink/inkFoil.schema.js +9 -0
  1133. package/dist/text/effects/ink/inkGradient.d.ts +9 -0
  1134. package/dist/text/effects/ink/inkGradient.js +21 -0
  1135. package/dist/text/effects/ink/inkGradient.schema.d.ts +1 -0
  1136. package/dist/text/effects/ink/inkGradient.schema.js +11 -0
  1137. package/dist/text/effects/ink/inkGrain.d.ts +7 -0
  1138. package/dist/text/effects/ink/inkGrain.js +16 -0
  1139. package/dist/text/effects/ink/inkGrain.schema.d.ts +1 -0
  1140. package/dist/text/effects/ink/inkGrain.schema.js +10 -0
  1141. package/dist/text/effects/ink/inkImage.d.ts +9 -0
  1142. package/dist/text/effects/ink/inkImage.js +21 -0
  1143. package/dist/text/effects/ink/inkImage.schema.d.ts +1 -0
  1144. package/dist/text/effects/ink/inkImage.schema.js +10 -0
  1145. package/dist/text/effects/ink/inkLineShadow.d.ts +11 -0
  1146. package/dist/text/effects/ink/inkLineShadow.js +32 -0
  1147. package/dist/text/effects/ink/inkLineShadow.schema.d.ts +1 -0
  1148. package/dist/text/effects/ink/inkLineShadow.schema.js +11 -0
  1149. package/dist/text/effects/ink/inkLines.d.ts +13 -0
  1150. package/dist/text/effects/ink/inkLines.js +14 -0
  1151. package/dist/text/effects/ink/inkLines.schema.d.ts +1 -0
  1152. package/dist/text/effects/ink/inkLines.schema.js +13 -0
  1153. package/dist/text/effects/ink/inkNeon.d.ts +9 -0
  1154. package/dist/text/effects/ink/inkNeon.js +26 -0
  1155. package/dist/text/effects/ink/inkNeon.schema.d.ts +1 -0
  1156. package/dist/text/effects/ink/inkNeon.schema.js +10 -0
  1157. package/dist/text/effects/ink/inkProgress.d.ts +9 -0
  1158. package/dist/text/effects/ink/inkProgress.js +25 -0
  1159. package/dist/text/effects/ink/inkProgress.schema.d.ts +1 -0
  1160. package/dist/text/effects/ink/inkProgress.schema.js +10 -0
  1161. package/dist/text/effects/ink/inkShiny.d.ts +13 -0
  1162. package/dist/text/effects/ink/inkShiny.js +27 -0
  1163. package/dist/text/effects/ink/inkShiny.schema.d.ts +1 -0
  1164. package/dist/text/effects/ink/inkShiny.schema.js +12 -0
  1165. package/dist/text/effects/ink/inkSparkles.d.ts +11 -0
  1166. package/dist/text/effects/ink/inkSparkles.js +39 -0
  1167. package/dist/text/effects/ink/inkSparkles.schema.d.ts +1 -0
  1168. package/dist/text/effects/ink/inkSparkles.schema.js +12 -0
  1169. package/dist/text/effects/ink/inkSweep.d.ts +13 -0
  1170. package/dist/text/effects/ink/inkSweep.js +33 -0
  1171. package/dist/text/effects/ink/inkSweep.schema.d.ts +1 -0
  1172. package/dist/text/effects/ink/inkSweep.schema.js +13 -0
  1173. package/dist/text/effects/ink/inkVideo.d.ts +11 -0
  1174. package/dist/text/effects/ink/inkVideo.js +23 -0
  1175. package/dist/text/effects/ink/inkVideo.schema.d.ts +1 -0
  1176. package/dist/text/effects/ink/inkVideo.schema.js +11 -0
  1177. package/dist/text/effects/ink/kit.d.ts +26 -0
  1178. package/dist/text/effects/ink/kit.js +47 -0
  1179. package/dist/text/effects/ink/lines.d.ts +8 -0
  1180. package/dist/text/effects/ink/lines.js +123 -0
  1181. package/dist/text/effects/kit.d.ts +115 -0
  1182. package/dist/text/effects/kit.js +144 -0
  1183. package/dist/text/effects/pointer/hit.d.ts +6 -0
  1184. package/dist/text/effects/pointer/hit.js +34 -0
  1185. package/dist/text/effects/pointer/kit.d.ts +15 -0
  1186. package/dist/text/effects/pointer/kit.js +22 -0
  1187. package/dist/text/effects/pointer/near.d.ts +18 -0
  1188. package/dist/text/effects/pointer/near.js +89 -0
  1189. package/dist/text/effects/pointer/pointerJello.d.ts +12 -0
  1190. package/dist/text/effects/pointer/pointerJello.js +30 -0
  1191. package/dist/text/effects/pointer/pointerJello.schema.d.ts +1 -0
  1192. package/dist/text/effects/pointer/pointerJello.schema.js +10 -0
  1193. package/dist/text/effects/pointer/pointerPressure.d.ts +14 -0
  1194. package/dist/text/effects/pointer/pointerPressure.js +38 -0
  1195. package/dist/text/effects/pointer/pointerPressure.schema.d.ts +1 -0
  1196. package/dist/text/effects/pointer/pointerPressure.schema.js +11 -0
  1197. package/dist/text/effects/pointer/pointerProximity.d.ts +18 -0
  1198. package/dist/text/effects/pointer/pointerProximity.js +40 -0
  1199. package/dist/text/effects/pointer/pointerProximity.schema.d.ts +1 -0
  1200. package/dist/text/effects/pointer/pointerProximity.schema.js +18 -0
  1201. package/dist/text/effects/pointer/pointerRipple.d.ts +14 -0
  1202. package/dist/text/effects/pointer/pointerRipple.js +63 -0
  1203. package/dist/text/effects/pointer/pointerRipple.schema.d.ts +1 -0
  1204. package/dist/text/effects/pointer/pointerRipple.schema.js +11 -0
  1205. package/dist/text/effects/pointer/pointerRoll.d.ts +9 -0
  1206. package/dist/text/effects/pointer/pointerRoll.js +27 -0
  1207. package/dist/text/effects/pointer/pointerRoll.schema.d.ts +1 -0
  1208. package/dist/text/effects/pointer/pointerRoll.schema.js +10 -0
  1209. package/dist/text/effects/pointer/pointerShadow.d.ts +11 -0
  1210. package/dist/text/effects/pointer/pointerShadow.js +33 -0
  1211. package/dist/text/effects/pointer/pointerShadow.schema.d.ts +1 -0
  1212. package/dist/text/effects/pointer/pointerShadow.schema.js +11 -0
  1213. package/dist/text/effects/pointer/pointerSpotlight.d.ts +11 -0
  1214. package/dist/text/effects/pointer/pointerSpotlight.js +33 -0
  1215. package/dist/text/effects/pointer/pointerSpotlight.schema.d.ts +1 -0
  1216. package/dist/text/effects/pointer/pointerSpotlight.schema.js +11 -0
  1217. package/dist/text/effects/pointer/pointerTilt.d.ts +9 -0
  1218. package/dist/text/effects/pointer/pointerTilt.js +21 -0
  1219. package/dist/text/effects/pointer/pointerTilt.schema.d.ts +1 -0
  1220. package/dist/text/effects/pointer/pointerTilt.schema.js +10 -0
  1221. package/dist/text/effects/pointer/pointerTrail.d.ts +18 -0
  1222. package/dist/text/effects/pointer/pointerTrail.js +83 -0
  1223. package/dist/text/effects/pointer/pointerTrail.schema.d.ts +1 -0
  1224. package/dist/text/effects/pointer/pointerTrail.schema.js +13 -0
  1225. package/dist/text/effects/pointer/pointerWave.d.ts +11 -0
  1226. package/dist/text/effects/pointer/pointerWave.js +23 -0
  1227. package/dist/text/effects/pointer/pointerWave.schema.d.ts +1 -0
  1228. package/dist/text/effects/pointer/pointerWave.schema.js +11 -0
  1229. package/dist/text/effects/scrub/scrubCylinder.d.ts +11 -0
  1230. package/dist/text/effects/scrub/scrubCylinder.js +24 -0
  1231. package/dist/text/effects/scrub/scrubCylinder.schema.d.ts +1 -0
  1232. package/dist/text/effects/scrub/scrubCylinder.schema.js +11 -0
  1233. package/dist/text/effects/scrub/scrubFloat.d.ts +9 -0
  1234. package/dist/text/effects/scrub/scrubFloat.js +14 -0
  1235. package/dist/text/effects/scrub/scrubFloat.schema.d.ts +1 -0
  1236. package/dist/text/effects/scrub/scrubFloat.schema.js +10 -0
  1237. package/dist/text/effects/scrub/scrubHighlight.d.ts +11 -0
  1238. package/dist/text/effects/scrub/scrubHighlight.js +22 -0
  1239. package/dist/text/effects/scrub/scrubHighlight.schema.d.ts +1 -0
  1240. package/dist/text/effects/scrub/scrubHighlight.schema.js +11 -0
  1241. package/dist/text/effects/scrub/scrubMarker.d.ts +13 -0
  1242. package/dist/text/effects/scrub/scrubMarker.js +29 -0
  1243. package/dist/text/effects/scrub/scrubMarker.schema.d.ts +1 -0
  1244. package/dist/text/effects/scrub/scrubMarker.schema.js +12 -0
  1245. package/dist/text/effects/scrub/scrubParallax.d.ts +7 -0
  1246. package/dist/text/effects/scrub/scrubParallax.js +15 -0
  1247. package/dist/text/effects/scrub/scrubParallax.schema.d.ts +1 -0
  1248. package/dist/text/effects/scrub/scrubParallax.schema.js +9 -0
  1249. package/dist/text/effects/scrub/scrubPin.d.ts +11 -0
  1250. package/dist/text/effects/scrub/scrubPin.js +39 -0
  1251. package/dist/text/effects/scrub/scrubPin.schema.d.ts +1 -0
  1252. package/dist/text/effects/scrub/scrubPin.schema.js +11 -0
  1253. package/dist/text/effects/scrub/scrubSkew.d.ts +9 -0
  1254. package/dist/text/effects/scrub/scrubSkew.js +37 -0
  1255. package/dist/text/effects/scrub/scrubSkew.schema.d.ts +1 -0
  1256. package/dist/text/effects/scrub/scrubSkew.schema.js +10 -0
  1257. package/dist/text/effects/solid/fall.d.ts +26 -0
  1258. package/dist/text/effects/solid/fall.js +91 -0
  1259. package/dist/text/effects/solid/particles.d.ts +7 -0
  1260. package/dist/text/effects/solid/particles.js +137 -0
  1261. package/dist/text/effects/solid/solidEcho.d.ts +15 -0
  1262. package/dist/text/effects/solid/solidEcho.js +44 -0
  1263. package/dist/text/effects/solid/solidEcho.schema.d.ts +1 -0
  1264. package/dist/text/effects/solid/solidEcho.schema.js +13 -0
  1265. package/dist/text/effects/solid/solidFall.d.ts +16 -0
  1266. package/dist/text/effects/solid/solidFall.js +23 -0
  1267. package/dist/text/effects/solid/solidFall.schema.d.ts +1 -0
  1268. package/dist/text/effects/solid/solidFall.schema.js +11 -0
  1269. package/dist/text/effects/solid/solidLayers.d.ts +13 -0
  1270. package/dist/text/effects/solid/solidLayers.js +41 -0
  1271. package/dist/text/effects/solid/solidLayers.schema.d.ts +1 -0
  1272. package/dist/text/effects/solid/solidLayers.schema.js +12 -0
  1273. package/dist/text/effects/solid/solidParticles.d.ts +12 -0
  1274. package/dist/text/effects/solid/solidParticles.js +23 -0
  1275. package/dist/text/effects/solid/solidParticles.schema.d.ts +1 -0
  1276. package/dist/text/effects/solid/solidParticles.schema.js +10 -0
  1277. package/dist/text/effects/solid/solidShadow.d.ts +13 -0
  1278. package/dist/text/effects/solid/solidShadow.js +39 -0
  1279. package/dist/text/effects/solid/solidShadow.schema.d.ts +1 -0
  1280. package/dist/text/effects/solid/solidShadow.schema.js +12 -0
  1281. package/dist/text/effects/stroke/strokeComic.d.ts +13 -0
  1282. package/dist/text/effects/stroke/strokeComic.js +26 -0
  1283. package/dist/text/effects/stroke/strokeComic.schema.d.ts +1 -0
  1284. package/dist/text/effects/stroke/strokeComic.schema.js +12 -0
  1285. package/dist/text/effects/stroke/strokeDraw.d.ts +13 -0
  1286. package/dist/text/effects/stroke/strokeDraw.js +38 -0
  1287. package/dist/text/effects/stroke/strokeDraw.schema.d.ts +1 -0
  1288. package/dist/text/effects/stroke/strokeDraw.schema.js +12 -0
  1289. package/dist/text/effects/stroke/strokeFill.d.ts +11 -0
  1290. package/dist/text/effects/stroke/strokeFill.js +31 -0
  1291. package/dist/text/effects/stroke/strokeFill.schema.d.ts +1 -0
  1292. package/dist/text/effects/stroke/strokeFill.schema.js +11 -0
  1293. package/dist/text/effects/stroke/strokeGradient.d.ts +13 -0
  1294. package/dist/text/effects/stroke/strokeGradient.js +35 -0
  1295. package/dist/text/effects/stroke/strokeGradient.schema.d.ts +1 -0
  1296. package/dist/text/effects/stroke/strokeGradient.schema.js +12 -0
  1297. package/dist/text/effects/stroke/strokeHandwrite.d.ts +17 -0
  1298. package/dist/text/effects/stroke/strokeHandwrite.js +47 -0
  1299. package/dist/text/effects/stroke/strokeHandwrite.schema.d.ts +1 -0
  1300. package/dist/text/effects/stroke/strokeHandwrite.schema.js +14 -0
  1301. package/dist/text/effects/stroke/strokeNote.d.ts +18 -0
  1302. package/dist/text/effects/stroke/strokeNote.js +79 -0
  1303. package/dist/text/effects/stroke/strokeNote.schema.d.ts +1 -0
  1304. package/dist/text/effects/stroke/strokeNote.schema.js +15 -0
  1305. package/dist/text/effects/stroke/strokeUnderline.d.ts +16 -0
  1306. package/dist/text/effects/stroke/strokeUnderline.js +56 -0
  1307. package/dist/text/effects/stroke/strokeUnderline.schema.d.ts +1 -0
  1308. package/dist/text/effects/stroke/strokeUnderline.schema.js +11 -0
  1309. package/dist/text/effects/warp/ascii.d.ts +9 -0
  1310. package/dist/text/effects/warp/ascii.js +83 -0
  1311. package/dist/text/effects/warp/fuzz.d.ts +8 -0
  1312. package/dist/text/effects/warp/fuzz.js +62 -0
  1313. package/dist/text/effects/warp/kit.d.ts +14 -0
  1314. package/dist/text/effects/warp/kit.js +14 -0
  1315. package/dist/text/effects/warp/shader.d.ts +7 -0
  1316. package/dist/text/effects/warp/shader.js +177 -0
  1317. package/dist/text/effects/warp/warpAscii.d.ts +14 -0
  1318. package/dist/text/effects/warp/warpAscii.js +22 -0
  1319. package/dist/text/effects/warp/warpAscii.schema.d.ts +1 -0
  1320. package/dist/text/effects/warp/warpAscii.schema.js +11 -0
  1321. package/dist/text/effects/warp/warpFuzz.d.ts +14 -0
  1322. package/dist/text/effects/warp/warpFuzz.js +32 -0
  1323. package/dist/text/effects/warp/warpFuzz.schema.d.ts +1 -0
  1324. package/dist/text/effects/warp/warpFuzz.schema.js +11 -0
  1325. package/dist/text/effects/warp/warpGlitch.d.ts +13 -0
  1326. package/dist/text/effects/warp/warpGlitch.js +59 -0
  1327. package/dist/text/effects/warp/warpGlitch.schema.d.ts +1 -0
  1328. package/dist/text/effects/warp/warpGlitch.schema.js +12 -0
  1329. package/dist/text/effects/warp/warpGoo.d.ts +11 -0
  1330. package/dist/text/effects/warp/warpGoo.js +46 -0
  1331. package/dist/text/effects/warp/warpGoo.schema.d.ts +1 -0
  1332. package/dist/text/effects/warp/warpGoo.schema.js +13 -0
  1333. package/dist/text/effects/warp/warpRgb.d.ts +11 -0
  1334. package/dist/text/effects/warp/warpRgb.js +32 -0
  1335. package/dist/text/effects/warp/warpRgb.schema.d.ts +1 -0
  1336. package/dist/text/effects/warp/warpRgb.schema.js +11 -0
  1337. package/dist/text/effects/warp/warpShader.d.ts +12 -0
  1338. package/dist/text/effects/warp/warpShader.js +27 -0
  1339. package/dist/text/effects/warp/warpShader.schema.d.ts +1 -0
  1340. package/dist/text/effects/warp/warpShader.schema.js +10 -0
  1341. package/dist/text/effects/warp/warpSquiggle.d.ts +12 -0
  1342. package/dist/text/effects/warp/warpSquiggle.js +47 -0
  1343. package/dist/text/effects/warp/warpSquiggle.schema.d.ts +1 -0
  1344. package/dist/text/effects/warp/warpSquiggle.schema.js +10 -0
  1345. package/dist/text/effects/warp/warpWave.d.ts +14 -0
  1346. package/dist/text/effects/warp/warpWave.js +36 -0
  1347. package/dist/text/effects/warp/warpWave.schema.d.ts +1 -0
  1348. package/dist/text/effects/warp/warpWave.schema.js +12 -0
  1349. package/dist/text/number/NumberRoll.d.ts +49 -0
  1350. package/dist/text/number/NumberRoll.js +198 -0
  1351. package/dist/text/number/NumberRoll.schema.d.ts +1 -0
  1352. package/dist/text/number/NumberRoll.schema.js +24 -0
  1353. package/dist/text/number/css.d.ts +6 -0
  1354. package/dist/text/number/css.js +38 -0
  1355. package/dist/text/number/format.d.ts +28 -0
  1356. package/dist/text/number/format.js +66 -0
  1357. package/dist/text/order.d.ts +8 -0
  1358. package/dist/text/order.js +35 -0
  1359. package/dist/text/path/TextPath.d.ts +38 -0
  1360. package/dist/text/path/TextPath.js +116 -0
  1361. package/dist/text/registry.d.ts +4 -0
  1362. package/dist/text/registry.js +87 -0
  1363. package/dist/text/runtime/attachPointer.d.ts +6 -0
  1364. package/dist/text/runtime/attachPointer.js +48 -0
  1365. package/dist/text/runtime/canvasText.d.ts +45 -0
  1366. package/dist/text/runtime/canvasText.js +108 -0
  1367. package/dist/text/runtime/fit.d.ts +8 -0
  1368. package/dist/text/runtime/fit.js +32 -0
  1369. package/dist/text/runtime/loops.d.ts +8 -0
  1370. package/dist/text/runtime/loops.js +27 -0
  1371. package/dist/text/runtime/onScreen.d.ts +6 -0
  1372. package/dist/text/runtime/onScreen.js +20 -0
  1373. package/dist/text/runtime/paint.d.ts +5 -0
  1374. package/dist/text/runtime/paint.js +25 -0
  1375. package/dist/text/runtime/scrub.d.ts +8 -0
  1376. package/dist/text/runtime/scrub.js +81 -0
  1377. package/dist/text/runtime/slots.d.ts +9 -0
  1378. package/dist/text/runtime/slots.js +4 -0
  1379. package/dist/text/runtime/tier.d.ts +2 -0
  1380. package/dist/text/runtime/tier.js +11 -0
  1381. package/dist/text/runtime/useOnScreen.d.ts +6 -0
  1382. package/dist/text/runtime/useOnScreen.js +42 -0
  1383. package/dist/text/runtime/usePauseLoops.d.ts +13 -0
  1384. package/dist/text/runtime/usePauseLoops.js +20 -0
  1385. package/dist/text/runtime/useTextPointer.d.ts +6 -0
  1386. package/dist/text/runtime/useTextPointer.js +15 -0
  1387. package/dist/text/split.d.ts +22 -0
  1388. package/dist/text/split.js +84 -0
  1389. package/dist/text/three/Text3D.d.ts +34 -0
  1390. package/dist/text/three/Text3D.js +158 -0
  1391. package/dist/text/type/Typewriter.d.ts +42 -0
  1392. package/dist/text/type/Typewriter.js +107 -0
  1393. package/dist/text/type/Typewriter.schema.d.ts +1 -0
  1394. package/dist/text/type/Typewriter.schema.js +33 -0
  1395. package/dist/text/type/css.d.ts +9 -0
  1396. package/dist/text/type/css.js +66 -0
  1397. package/dist/text/type/timeline.d.ts +24 -0
  1398. package/dist/text/type/timeline.js +41 -0
  1399. package/dist/text/types.d.ts +142 -0
  1400. package/dist/text/types.js +5 -0
  1401. package/dist/three.d.ts +16 -0
  1402. package/dist/three.js +17 -0
  1403. package/dist/ticker/Ticker.d.ts +62 -0
  1404. package/dist/ticker/Ticker.js +226 -0
  1405. package/dist/ticker/Ticker.schema.d.ts +9 -0
  1406. package/dist/ticker/Ticker.schema.js +31 -0
  1407. package/dist/ticker/defaults.d.ts +14 -0
  1408. package/dist/ticker/defaults.js +7 -0
  1409. package/dist/ticker/math.d.ts +27 -0
  1410. package/dist/ticker/math.js +46 -0
  1411. package/dist/transitions/effects/css/blinds.schema.d.ts +1 -0
  1412. package/dist/transitions/effects/css/blinds.schema.js +11 -0
  1413. package/dist/transitions/effects/css/blurFade.schema.d.ts +1 -0
  1414. package/dist/transitions/effects/css/blurFade.schema.js +10 -0
  1415. package/dist/transitions/effects/css/blurSharp.d.ts +11 -0
  1416. package/dist/transitions/effects/css/blurSharp.js +21 -0
  1417. package/dist/transitions/effects/css/blurSharp.schema.d.ts +1 -0
  1418. package/dist/transitions/effects/css/blurSharp.schema.js +9 -0
  1419. package/dist/transitions/effects/css/colorBlock.d.ts +9 -0
  1420. package/dist/transitions/effects/css/colorBlock.js +22 -0
  1421. package/dist/transitions/effects/css/colorBlock.schema.d.ts +1 -0
  1422. package/dist/transitions/effects/css/colorBlock.schema.js +10 -0
  1423. package/dist/transitions/effects/css/columnWave.schema.d.ts +1 -0
  1424. package/dist/transitions/effects/css/columnWave.schema.js +11 -0
  1425. package/dist/transitions/effects/css/diagonal.d.ts +9 -0
  1426. package/dist/transitions/effects/css/diagonal.js +17 -0
  1427. package/dist/transitions/effects/css/diagonal.schema.d.ts +1 -0
  1428. package/dist/transitions/effects/css/diagonal.schema.js +10 -0
  1429. package/dist/transitions/effects/css/fadeUp.schema.d.ts +1 -0
  1430. package/dist/transitions/effects/css/fadeUp.schema.js +10 -0
  1431. package/dist/transitions/effects/css/gooey.schema.d.ts +1 -0
  1432. package/dist/transitions/effects/css/gooey.schema.js +11 -0
  1433. package/dist/transitions/effects/css/gradientMask.d.ts +10 -0
  1434. package/dist/transitions/effects/css/gradientMask.js +17 -0
  1435. package/dist/transitions/effects/css/gradientMask.schema.d.ts +1 -0
  1436. package/dist/transitions/effects/css/gradientMask.schema.js +10 -0
  1437. package/dist/transitions/effects/css/ink.schema.d.ts +1 -0
  1438. package/dist/transitions/effects/css/ink.schema.js +21 -0
  1439. package/dist/transitions/effects/css/iris.d.ts +13 -0
  1440. package/dist/transitions/effects/css/iris.js +23 -0
  1441. package/dist/transitions/effects/css/iris.schema.d.ts +1 -0
  1442. package/dist/transitions/effects/css/iris.schema.js +9 -0
  1443. package/dist/transitions/effects/css/kit.d.ts +39 -0
  1444. package/dist/transitions/effects/css/kit.js +57 -0
  1445. package/dist/transitions/effects/css/paint.d.ts +46 -0
  1446. package/dist/transitions/effects/css/paint.js +160 -0
  1447. package/dist/transitions/effects/css/pixelGrid.d.ts +21 -0
  1448. package/dist/transitions/effects/css/pixelGrid.js +45 -0
  1449. package/dist/transitions/effects/css/pixelGrid.schema.d.ts +1 -0
  1450. package/dist/transitions/effects/css/pixelGrid.schema.js +13 -0
  1451. package/dist/transitions/effects/css/randomGrid.schema.d.ts +1 -0
  1452. package/dist/transitions/effects/css/randomGrid.schema.js +12 -0
  1453. package/dist/transitions/effects/css/reveals.d.ts +23 -0
  1454. package/dist/transitions/effects/css/reveals.js +47 -0
  1455. package/dist/transitions/effects/css/shapes.d.ts +49 -0
  1456. package/dist/transitions/effects/css/shapes.js +139 -0
  1457. package/dist/transitions/effects/css/shutters.d.ts +13 -0
  1458. package/dist/transitions/effects/css/shutters.js +24 -0
  1459. package/dist/transitions/effects/css/shutters.schema.d.ts +1 -0
  1460. package/dist/transitions/effects/css/shutters.schema.js +10 -0
  1461. package/dist/transitions/effects/css/slicer.d.ts +14 -0
  1462. package/dist/transitions/effects/css/slicer.js +47 -0
  1463. package/dist/transitions/effects/css/slicer.schema.d.ts +1 -0
  1464. package/dist/transitions/effects/css/slicer.schema.js +10 -0
  1465. package/dist/transitions/effects/css/splitCurtain.d.ts +13 -0
  1466. package/dist/transitions/effects/css/splitCurtain.js +39 -0
  1467. package/dist/transitions/effects/css/splitCurtain.schema.d.ts +1 -0
  1468. package/dist/transitions/effects/css/splitCurtain.schema.js +10 -0
  1469. package/dist/transitions/effects/css/wipe.d.ts +8 -0
  1470. package/dist/transitions/effects/css/wipe.js +16 -0
  1471. package/dist/transitions/effects/css/wipe.schema.d.ts +1 -0
  1472. package/dist/transitions/effects/css/wipe.schema.js +9 -0
  1473. package/dist/transitions/effects/css/zoomOut.schema.d.ts +1 -0
  1474. package/dist/transitions/effects/css/zoomOut.schema.js +9 -0
  1475. package/dist/transitions/effects/shader/chromaticShift.schema.d.ts +1 -0
  1476. package/dist/transitions/effects/shader/chromaticShift.schema.js +12 -0
  1477. package/dist/transitions/effects/shader/collection.d.ts +53 -0
  1478. package/dist/transitions/effects/shader/collection.js +143 -0
  1479. package/dist/transitions/effects/shader/crossZoom.schema.d.ts +1 -0
  1480. package/dist/transitions/effects/shader/crossZoom.schema.js +11 -0
  1481. package/dist/transitions/effects/shader/directionalWarp.schema.d.ts +1 -0
  1482. package/dist/transitions/effects/shader/directionalWarp.schema.js +12 -0
  1483. package/dist/transitions/effects/shader/displacement.schema.d.ts +1 -0
  1484. package/dist/transitions/effects/shader/displacement.schema.js +13 -0
  1485. package/dist/transitions/effects/shader/dissolves.d.ts +20 -0
  1486. package/dist/transitions/effects/shader/dissolves.js +52 -0
  1487. package/dist/transitions/effects/shader/dreamy.schema.d.ts +1 -0
  1488. package/dist/transitions/effects/shader/dreamy.schema.js +12 -0
  1489. package/dist/transitions/effects/shader/gridFlip.schema.d.ts +1 -0
  1490. package/dist/transitions/effects/shader/gridFlip.schema.js +13 -0
  1491. package/dist/transitions/effects/shader/kit.d.ts +32 -0
  1492. package/dist/transitions/effects/shader/kit.js +60 -0
  1493. package/dist/transitions/effects/shader/liquidMorph.schema.d.ts +1 -0
  1494. package/dist/transitions/effects/shader/liquidMorph.schema.js +12 -0
  1495. package/dist/transitions/effects/shader/morph.schema.d.ts +1 -0
  1496. package/dist/transitions/effects/shader/morph.schema.js +11 -0
  1497. package/dist/transitions/effects/shader/noiseBurn.schema.d.ts +1 -0
  1498. package/dist/transitions/effects/shader/noiseBurn.schema.js +13 -0
  1499. package/dist/transitions/effects/shader/pageCurl.d.ts +19 -0
  1500. package/dist/transitions/effects/shader/pageCurl.js +82 -0
  1501. package/dist/transitions/effects/shader/pageCurl.schema.d.ts +1 -0
  1502. package/dist/transitions/effects/shader/pageCurl.schema.js +14 -0
  1503. package/dist/transitions/effects/shader/pixelDissolve.schema.d.ts +1 -0
  1504. package/dist/transitions/effects/shader/pixelDissolve.schema.js +11 -0
  1505. package/dist/transitions/effects/shader/ripple.schema.d.ts +1 -0
  1506. package/dist/transitions/effects/shader/ripple.schema.js +13 -0
  1507. package/dist/transitions/effects/shader/scrollDistort.d.ts +9 -0
  1508. package/dist/transitions/effects/shader/scrollDistort.js +43 -0
  1509. package/dist/transitions/effects/shader/stretchWarp.schema.d.ts +1 -0
  1510. package/dist/transitions/effects/shader/stretchWarp.schema.js +13 -0
  1511. package/dist/transitions/effects/shader/swirl.schema.d.ts +1 -0
  1512. package/dist/transitions/effects/shader/swirl.schema.js +11 -0
  1513. package/dist/transitions/effects/shader/warps.d.ts +60 -0
  1514. package/dist/transitions/effects/shader/warps.js +141 -0
  1515. package/dist/transitions/effects/stage/cardStack.d.ts +26 -0
  1516. package/dist/transitions/effects/stage/cardStack.js +46 -0
  1517. package/dist/transitions/effects/stage/cardStack.schema.d.ts +1 -0
  1518. package/dist/transitions/effects/stage/cardStack.schema.js +14 -0
  1519. package/dist/transitions/effects/stage/cards.d.ts +22 -0
  1520. package/dist/transitions/effects/stage/cards.js +38 -0
  1521. package/dist/transitions/effects/stage/cards.schema.d.ts +1 -0
  1522. package/dist/transitions/effects/stage/cards.schema.js +13 -0
  1523. package/dist/transitions/effects/stage/creative.d.ts +36 -0
  1524. package/dist/transitions/effects/stage/creative.js +54 -0
  1525. package/dist/transitions/effects/stage/creative.schema.d.ts +1 -0
  1526. package/dist/transitions/effects/stage/creative.schema.js +34 -0
  1527. package/dist/transitions/effects/stage/cube.d.ts +28 -0
  1528. package/dist/transitions/effects/stage/cube.js +49 -0
  1529. package/dist/transitions/effects/stage/cube.schema.d.ts +1 -0
  1530. package/dist/transitions/effects/stage/cube.schema.js +11 -0
  1531. package/dist/transitions/effects/stage/fade.d.ts +11 -0
  1532. package/dist/transitions/effects/stage/fade.js +15 -0
  1533. package/dist/transitions/effects/stage/fade.schema.d.ts +1 -0
  1534. package/dist/transitions/effects/stage/fade.schema.js +9 -0
  1535. package/dist/transitions/effects/stage/flip.d.ts +15 -0
  1536. package/dist/transitions/effects/stage/flip.js +30 -0
  1537. package/dist/transitions/effects/stage/flip.schema.d.ts +1 -0
  1538. package/dist/transitions/effects/stage/flip.schema.js +10 -0
  1539. package/dist/transitions/effects/stage/kit.d.ts +20 -0
  1540. package/dist/transitions/effects/stage/kit.js +52 -0
  1541. package/dist/transitions/effects/stage/push.d.ts +15 -0
  1542. package/dist/transitions/effects/stage/push.js +28 -0
  1543. package/dist/transitions/effects/stage/push.schema.d.ts +1 -0
  1544. package/dist/transitions/effects/stage/push.schema.js +11 -0
  1545. package/dist/transitions/effects/stage/tinder.d.ts +13 -0
  1546. package/dist/transitions/effects/stage/tinder.js +32 -0
  1547. package/dist/transitions/effects/stage/tinder.schema.d.ts +1 -0
  1548. package/dist/transitions/effects/stage/tinder.schema.js +10 -0
  1549. package/dist/transitions/hosts/ShaderStage.d.ts +30 -0
  1550. package/dist/transitions/hosts/ShaderStage.js +268 -0
  1551. package/dist/transitions/hosts/shared.d.ts +27 -0
  1552. package/dist/transitions/hosts/shared.js +59 -0
  1553. package/dist/transitions/progress.d.ts +15 -0
  1554. package/dist/transitions/progress.js +109 -0
  1555. package/dist/transitions/registry.d.ts +5 -0
  1556. package/dist/transitions/registry.js +67 -0
  1557. package/dist/transitions/reveal/Reveal.d.ts +71 -0
  1558. package/dist/transitions/reveal/Reveal.js +154 -0
  1559. package/dist/transitions/reveal/Reveal.schema.d.ts +2 -0
  1560. package/dist/transitions/reveal/Reveal.schema.js +37 -0
  1561. package/dist/transitions/reveal/ScrollDistort.d.ts +26 -0
  1562. package/dist/transitions/reveal/ScrollDistort.js +27 -0
  1563. package/dist/transitions/reveal/inView.d.ts +5 -0
  1564. package/dist/transitions/reveal/inView.js +31 -0
  1565. package/dist/transitions/reveal/index.d.ts +7 -0
  1566. package/dist/transitions/reveal/index.js +11 -0
  1567. package/dist/transitions/scroll/Curtain.d.ts +31 -0
  1568. package/dist/transitions/scroll/Curtain.js +46 -0
  1569. package/dist/transitions/scroll/Curtain.schema.d.ts +2 -0
  1570. package/dist/transitions/scroll/Curtain.schema.js +9 -0
  1571. package/dist/transitions/scroll/PinnedExpand.d.ts +32 -0
  1572. package/dist/transitions/scroll/PinnedExpand.js +67 -0
  1573. package/dist/transitions/scroll/PinnedExpand.schema.d.ts +1 -0
  1574. package/dist/transitions/scroll/PinnedExpand.schema.js +17 -0
  1575. package/dist/transitions/scroll/SplitText.d.ts +39 -0
  1576. package/dist/transitions/scroll/SplitText.js +83 -0
  1577. package/dist/transitions/scroll/SplitText.schema.d.ts +1 -0
  1578. package/dist/transitions/scroll/SplitText.schema.js +26 -0
  1579. package/dist/transitions/scroll/StackCards.d.ts +37 -0
  1580. package/dist/transitions/scroll/StackCards.js +70 -0
  1581. package/dist/transitions/scroll/StackCards.schema.d.ts +1 -0
  1582. package/dist/transitions/scroll/StackCards.schema.js +14 -0
  1583. package/dist/transitions/scroll/TextMaskZoom.d.ts +35 -0
  1584. package/dist/transitions/scroll/TextMaskZoom.js +58 -0
  1585. package/dist/transitions/scroll/TextMaskZoom.schema.d.ts +1 -0
  1586. package/dist/transitions/scroll/TextMaskZoom.schema.js +12 -0
  1587. package/dist/transitions/scroll/css.d.ts +17 -0
  1588. package/dist/transitions/scroll/css.js +192 -0
  1589. package/dist/transitions/scroll/progress.d.ts +14 -0
  1590. package/dist/transitions/scroll/progress.js +31 -0
  1591. package/dist/transitions/scroll/split.d.ts +2 -0
  1592. package/dist/transitions/scroll/split.js +2 -0
  1593. package/dist/transitions/scroll/useScrub.d.ts +31 -0
  1594. package/dist/transitions/scroll/useScrub.js +90 -0
  1595. package/dist/transitions/shader/program.d.ts +56 -0
  1596. package/dist/transitions/shader/program.js +132 -0
  1597. package/dist/transitions/shader/scrollSpeed.d.ts +11 -0
  1598. package/dist/transitions/shader/scrollSpeed.js +76 -0
  1599. package/dist/transitions/shader/textures.d.ts +40 -0
  1600. package/dist/transitions/shader/textures.js +134 -0
  1601. package/dist/transitions/stage.d.ts +25 -0
  1602. package/dist/transitions/stage.js +42 -0
  1603. package/dist/transitions/types.d.ts +97 -0
  1604. package/dist/transitions/types.js +4 -0
  1605. package/guides/README.md +61 -0
  1606. package/guides/about.md +80 -0
  1607. package/guides/backgrounds.md +107 -0
  1608. package/guides/buttons.md +84 -0
  1609. package/guides/contact.md +84 -0
  1610. package/guides/gallery.md +97 -0
  1611. package/guides/hero.md +114 -0
  1612. package/guides/services.md +79 -0
  1613. package/guides/text.md +93 -0
  1614. package/guides/transitions.md +112 -0
  1615. package/package.json +82 -4
  1616. package/styles/about.css +94 -0
  1617. package/styles/base.css +145 -0
  1618. package/styles/button.css +48 -0
  1619. package/styles/contact.css +87 -0
  1620. package/styles/hero.css +108 -0
  1621. package/styles/sections.css +22 -0
  1622. package/styles/services.css +111 -0
  1623. package/theme.css +83 -0
@@ -0,0 +1,35 @@
1
+ // Where each piece of a text stands in an entrance's order, and its seeded random numbers. Pure; tested.
2
+ import { rng } from "../backgrounds/runtime/rng.js";
3
+ /**
4
+ * Each of `n` pieces' place in the order (0 plays first). `centre` and `edges` give two pieces the same place when they
5
+ * sit as far from the middle, so the text opens or closes symmetrically. `random` is a shuffle from `seed`.
6
+ */
7
+ export function orderOf(n, from, seed = 1) {
8
+ const mid = (n - 1) / 2;
9
+ const far = Math.floor(mid);
10
+ switch (from) {
11
+ case "end":
12
+ return Array.from({ length: n }, (_, i) => n - 1 - i);
13
+ case "centre":
14
+ return Array.from({ length: n }, (_, i) => Math.floor(Math.abs(i - mid)));
15
+ case "edges":
16
+ return Array.from({ length: n }, (_, i) => far - Math.floor(Math.abs(i - mid)));
17
+ case "random": {
18
+ const r = rng(seed);
19
+ const places = Array.from({ length: n }, (_, i) => i);
20
+ for (let i = n - 1; i > 0; i--) {
21
+ const j = Math.floor(r() * (i + 1));
22
+ [places[i], places[j]] = [places[j], places[i]];
23
+ }
24
+ return places;
25
+ }
26
+ default:
27
+ return Array.from({ length: n }, (_, i) => i);
28
+ }
29
+ }
30
+ /** Three numbers in [-1, 1] per piece, the same for the same seed, on the server and in the browser. */
31
+ export function randomsOf(n, seed) {
32
+ const r = rng(seed);
33
+ const one = () => Number((r() * 2 - 1).toFixed(3));
34
+ return Array.from({ length: n }, () => [one(), one(), one()]);
35
+ }
@@ -0,0 +1,38 @@
1
+ import { type CSSProperties, type ElementType } from "react";
2
+ export interface TextPathProps {
3
+ /** The text. A circle fits it round once: repeat it ("Scroll down · Scroll down ·") to fill a badge. */
4
+ readonly children: string;
5
+ /** `"circle"` (default): round a circle, a badge. `"wave"`: along a gentle wave. `"path"`: along your own `d`. */
6
+ readonly shape?: "circle" | "wave" | "path";
7
+ /** The path, with `shape="path"`: an SVG `d` in the `viewBox`'s units. */
8
+ readonly d?: string;
9
+ /** The path's box, with `shape="path"`. Default `"0 0 500 120"`. */
10
+ readonly viewBox?: string;
11
+ /** Turn the circle, seconds per turn (`true` = 20). */
12
+ readonly spin?: boolean | number;
13
+ /** Move the text along the path without end, like a marquee (wave and path): seconds per loop (`true` = 12). */
14
+ readonly loop?: boolean | number;
15
+ /** Move the text along the path as the page scrolls (wave and path). */
16
+ readonly scroll?: boolean;
17
+ /** The text's size, in the drawing's units. Default `11` for a circle (in a 100 box), `28` otherwise. */
18
+ readonly size?: number;
19
+ /** Spread the letters to fill the circle evenly. Default `true` for a circle. */
20
+ readonly fit?: boolean;
21
+ /** The element to render. Default `span`. */
22
+ readonly as?: ElementType;
23
+ readonly className?: string;
24
+ readonly style?: CSSProperties;
25
+ }
26
+ /**
27
+ * Text along a curve: a spinning circular badge, a wave, or your own path.
28
+ *
29
+ * ```tsx
30
+ * <TextPath spin className="w-32">Scroll down · Scroll down · </TextPath>
31
+ * <TextPath shape="wave" loop>Fresh every day · Fresh every day · </TextPath>
32
+ * ```
33
+ *
34
+ * The text is in the HTML (screen readers read it once, plain); the drawing is hidden from them. Spinning and looping
35
+ * run only on screen and stop under reduced motion; without scripts the text sits from the path's start. Looping and
36
+ * scrolling draw the text twice, so give it enough to fill the path. Its size follows the box (`className="w-32"`).
37
+ */
38
+ export declare function TextPath({ children, shape, d, viewBox, spin, loop, scroll, size, fit, as: Tag, className, style, }: TextPathProps): import("react").JSX.Element;
@@ -0,0 +1,116 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { useEffect, useId, useRef } from "react";
4
+ import { styleHref } from "../../backgrounds/hosts/CssHost.js";
5
+ import { LAYER_ORDER } from "../../backgrounds/runtime/rootCss.js";
6
+ import { motionOnly } from "../../transitions/progress.js";
7
+ import { reducedMotion, watchOnScreen } from "../runtime/onScreen.js";
8
+ import { coverProgress } from "../runtime/scrub.js";
9
+ const CIRCLE = "M 50 50 m -38 0 a 38 38 0 1 1 76 0 a 38 38 0 1 1 -76 0";
10
+ const CIRCUMFERENCE = 2 * Math.PI * 38;
11
+ const WAVE = "M 0 80 C 80 20, 170 20, 250 70 S 420 120, 500 60";
12
+ const H = "[data-sx-path]";
13
+ const BASE_CSS = `${LAYER_ORDER}
14
+ @layer components {
15
+ :where(${H}) { position: relative; display: inline-block; line-height: 0; }
16
+ :where(${H} > svg) { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
17
+ :where(${H} text) { fill: currentColor; font: inherit; font-size: var(--sx-path-size); }
18
+ :where(${H} [data-sx-text-read]) {
19
+ position: absolute;
20
+ inline-size: 1px;
21
+ block-size: 1px;
22
+ overflow: hidden;
23
+ clip-path: inset(50%);
24
+ white-space: nowrap;
25
+ }
26
+ }`;
27
+ const MOTION_CSS = `@layer components {
28
+ @keyframes sx-path-spin { to { rotate: 360deg; } }
29
+ :where(${H}[data-sx-path-spin] > svg) { animation: sx-path-spin var(--sx-path-turn) linear infinite; }
30
+ :where(${H}[data-sx-live]:not([data-sx-on]) > svg) { animation-play-state: paused; }
31
+ }`;
32
+ /**
33
+ * Text along a curve: a spinning circular badge, a wave, or your own path.
34
+ *
35
+ * ```tsx
36
+ * <TextPath spin className="w-32">Scroll down · Scroll down · </TextPath>
37
+ * <TextPath shape="wave" loop>Fresh every day · Fresh every day · </TextPath>
38
+ * ```
39
+ *
40
+ * The text is in the HTML (screen readers read it once, plain); the drawing is hidden from them. Spinning and looping
41
+ * run only on screen and stop under reduced motion; without scripts the text sits from the path's start. Looping and
42
+ * scrolling draw the text twice, so give it enough to fill the path. Its size follows the box (`className="w-32"`).
43
+ */
44
+ export function TextPath({ children, shape = "circle", d, viewBox, spin, loop, scroll = false, size, fit = shape === "circle", as: Tag = "span", className, style, }) {
45
+ const ref = useRef(null);
46
+ const uid = `sx${useId().replace(/[^\w-]/g, "")}`;
47
+ const circle = shape === "circle";
48
+ const path = circle ? CIRCLE : shape === "wave" ? WAVE : (d ?? WAVE);
49
+ const box = circle ? "0 0 100 100" : (viewBox ?? "0 0 500 120");
50
+ const turn = spin === true ? 20 : typeof spin === "number" ? spin : 0;
51
+ const period = loop === true ? 12 : typeof loop === "number" ? loop : 0;
52
+ const moves = !circle && (period > 0 || scroll);
53
+ useEffect(() => {
54
+ const el = ref.current;
55
+ if (!el)
56
+ return;
57
+ el.setAttribute("data-sx-live", "");
58
+ const mark = (on) => {
59
+ if (on)
60
+ el.setAttribute("data-sx-on", "");
61
+ else
62
+ el.removeAttribute("data-sx-on");
63
+ };
64
+ const tp = el.querySelector("textPath");
65
+ if (!moves || !tp || reducedMotion())
66
+ return watchOnScreen(el, mark);
67
+ // the text is there twice: shifting it back by one copy's length lands on the same picture, so the loop has no seam
68
+ let frame = 0;
69
+ let visible = false;
70
+ let last = 0;
71
+ let t = 0;
72
+ // measured once, when it first moves: a read every frame would force a layout each time
73
+ let length = 0;
74
+ const copy = () => (length || (length = tp.getComputedTextLength() / 2));
75
+ const write = (p) => tp.setAttribute("startOffset", String(Math.round(-p * copy() * 10) / 10));
76
+ const tick = (now) => {
77
+ frame = 0;
78
+ if (!visible)
79
+ return;
80
+ if (period > 0) {
81
+ t = (t + Math.min(0.1, (now - last) / 1000) / period) % 1;
82
+ last = now;
83
+ write(t);
84
+ frame = requestAnimationFrame(tick);
85
+ }
86
+ else {
87
+ const r = el.getBoundingClientRect();
88
+ write(coverProgress(r.top, r.height, window.innerHeight));
89
+ }
90
+ };
91
+ const run = () => {
92
+ if (!frame && visible) {
93
+ last = performance.now();
94
+ frame = requestAnimationFrame(tick);
95
+ }
96
+ };
97
+ const stop = watchOnScreen(el, (on) => {
98
+ mark(on);
99
+ visible = on;
100
+ run();
101
+ });
102
+ if (scroll && period === 0)
103
+ window.addEventListener("scroll", run, { passive: true, capture: true });
104
+ return () => {
105
+ stop();
106
+ cancelAnimationFrame(frame);
107
+ window.removeEventListener("scroll", run, { capture: true });
108
+ };
109
+ }, [moves, period, scroll]);
110
+ const vars = {
111
+ "--sx-path-size": size ?? (circle ? 11 : 28), ...(turn > 0 ? { "--sx-path-turn": `${turn}s` } : {}),
112
+ ...style,
113
+ };
114
+ const motion = motionOnly(MOTION_CSS);
115
+ return (_jsxs(_Fragment, { children: [_jsx("style", { href: styleHref("path-base", BASE_CSS), precedence: "sx", children: BASE_CSS }), _jsx("style", { href: styleHref("path-motion", motion), precedence: "sx", children: motion }), _jsxs(Tag, { ref: ref, "data-sx-path": shape, "data-sx-path-spin": circle && turn > 0 ? "" : undefined, className: className, style: vars, children: [_jsx("span", { "data-sx-text-read": "", children: children }), _jsxs("svg", { viewBox: box, "aria-hidden": true, focusable: "false", children: [_jsx("path", { id: `${uid}-path`, d: path, fill: "none" }), _jsx("text", { ...(fit && circle ? { textLength: CIRCUMFERENCE, lengthAdjust: "spacing" } : {}), children: _jsxs("textPath", { href: `#${uid}-path`, children: [children, moves ? ` ${children}` : null] }) })] })] })] }));
116
+ }
@@ -0,0 +1,4 @@
1
+ import type { TextMeta } from "./types.js";
2
+ export declare const TEXT_EFFECTS: readonly TextMeta[];
3
+ export declare const TEXT_IDS: ReadonlySet<string>;
4
+ export declare function textMetaOf(id: string): TextMeta;
@@ -0,0 +1,87 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Every text effect's metadata, from the Text Effects Atlas. The docs and the
3
+ // schemas read it. Factories live in the barrel; this file imports none of them.
4
+ // Keep it in step with test/fixtures/text-atlas.mjs.
5
+ // ---------------------------------------------------------------------------
6
+ function row(id, label, group, fires, tech, description, extra = {}) {
7
+ const touch = !extra.desktop && fires.some((f) => f !== "hover");
8
+ return { id, label, group, fires, tech, tier: extra.tier ?? "all", touch, description };
9
+ }
10
+ export const TEXT_EFFECTS = [
11
+ row("enterRise", "Fade-up", "split", ["enter"], "css", "Each piece fades in as it rises into place, one after another."),
12
+ row("enterWords", "Word-by-word fade", "split", ["enter"], "css", "Words fade in one after another, without moving."),
13
+ row("enterMask", "Masked line reveal", "split", ["enter"], "css", "Each line slides up from behind an invisible edge."),
14
+ row("enterBlur", "Blur-in", "split", ["enter"], "css", "Pieces come into focus from a blur."),
15
+ row("enterBounce", "Pull-up bounce", "split", ["enter"], "css", "Letters pull up past their place and settle back."),
16
+ row("enterFlip", "3D flip-in", "split", ["enter"], "css", "Letters turn into place in 3D, or unfold like paper."),
17
+ row("enterPop", "Pop", "split", ["enter"], "css", "Letters pop up from nothing with a springy overshoot."),
18
+ row("enterRandom", "Random order", "split", ["enter"], "css", "Letters fade in out of order, in a shuffle that stays the same."),
19
+ row("enterBox", "Box reveal", "split", ["enter"], "css", "A block of colour wipes across and away, leaving the text behind it."),
20
+ row("enterTracking", "Tracking reveal", "split", ["enter"], "css", "Letters start spaced wide apart and close in as the text fades in."),
21
+ row("enterAssemble", "Assemble", "split", ["enter"], "css", "Letters fly in from scattered places and come together."),
22
+ row("enterStamp", "Stamp", "split", ["enter"], "css", "Each word slams down from large and shakes as it lands."),
23
+ row("enterRedact", "Redact", "split", ["enter"], "css", "Black bars over each word slide off one after another."),
24
+ row("enterSkeleton", "Skeleton to text", "split", ["enter"], "css", "Placeholder bars pulse, then fade away to show the words."),
25
+ row("decodeHover", "Scramble on hover", "scramble", ["hover"], "js", "Letters scramble and settle back on hover and keyboard focus.", { desktop: true }),
26
+ row("decodeReveal", "Decrypt reveal", "scramble", ["enter", "hover"], "js", "The text shows scrambled, then decodes as it enters; it can replay on hover."),
27
+ row("decodeBinary", "Binary decode", "scramble", ["enter"], "js", "The text decodes out of 0s and 1s as it enters."),
28
+ row("scrubHighlight", "Word highlight on scroll", "scroll", ["scroll"], "css", "Grey words turn dark one by one as you scroll."),
29
+ row("scrubParallax", "Line parallax", "scroll", ["scroll"], "css", "Each line moves at its own speed as you scroll."),
30
+ row("scrubPin", "Giant pinned word", "scroll", ["scroll"], "css", "A huge word shrinks or slides across while its section stays pinned."),
31
+ row("scrubMarker", "Highlighter marker", "scroll", ["enter"], "css", "A highlighter stroke draws itself under the words as they come into view."),
32
+ row("scrubFloat", "Scroll float", "scroll", ["scroll"], "css", "Letters rise and settle into place, tied to the scroll."),
33
+ row("scrubSkew", "Speed skew", "scroll", ["scroll"], "js", "The text leans or stretches with the speed of the scroll."),
34
+ row("scrubCylinder", "Cylinder", "scroll", ["scroll"], "css", "The lines sit round a drum that turns as you scroll."),
35
+ row("inkShiny", "Shiny text", "fill", ["loop"], "css", "A band of light sweeps across the text, again and again."),
36
+ row("inkGradient", "Animated gradient", "fill", ["loop"], "css", "A gradient fills the letters, its colours flowing slowly along."),
37
+ row("inkAurora", "Aurora", "fill", ["loop"], "css", "Soft coloured lights drift inside the letters."),
38
+ row("inkVideo", "Video inside text", "fill", ["loop"], "css", "A video plays inside the letters (one line)."),
39
+ row("inkImage", "Image-filled text", "fill", ["enter"], "css", "A picture shows through the letters, still or panning slowly."),
40
+ row("inkSparkles", "Sparkles", "fill", ["loop"], "css", "Little stars twinkle around the word."),
41
+ row("inkLineShadow", "Line shadow", "fill", ["loop"], "css", "A striped shadow sits behind the text, its stripes sliding."),
42
+ row("inkNeon", "Neon glow", "fill", ["loop"], "css", "The text glows like a neon tube and flickers now and then."),
43
+ row("inkColourful", "Colourful letters", "fill", ["loop"], "css", "Every letter a different colour, changing in a wave along the word."),
44
+ row("inkLines", "Canvas lines", "fill", ["loop"], "canvas", "Coloured curved lines sway inside the letters."),
45
+ row("inkGrain", "Grainy gradient", "fill", ["enter"], "svg", "A gradient with a film-grain texture inside the letters."),
46
+ row("inkSweep", "Colour sweep", "fill", ["enter"], "css", "A band of colour passes over the text once as it enters."),
47
+ row("inkFoil", "Foil / chrome", "fill", ["hover"], "css", "Metallic or holographic foil whose sheen follows the mouse."),
48
+ row("inkProgress", "Progress fill", "fill", ["value"], "css", "The letters fill with colour as a value goes from 0 to 1."),
49
+ row("inkDots", "Dot-matrix", "fill", ["enter"], "css", "The letters are made of dots, like an LED sign."),
50
+ row("strokeFill", "Outline to fill", "stroke", ["hover"], "css", "Outlined letters fill with colour from the reading start on hover."),
51
+ row("strokeHandwrite", "Handwriting", "stroke", ["enter"], "svg", "Handwritten words write themselves, stroke by stroke."),
52
+ row("strokeDraw", "Draw then fill", "stroke", ["enter"], "svg", "The letters' outlines draw themselves, then fill in."),
53
+ row("strokeGradient", "Hover gradient outline", "stroke", ["hover"], "css", "The outline lights up in colour around the mouse."),
54
+ row("strokeComic", "Comic text", "stroke", ["enter"], "css", "A thick outline, a hard offset shadow, and a springy pop."),
55
+ row("strokeUnderline", "Link underlines", "stroke", ["hover"], "css", "Underlines that slide, grow, wave in or draw themselves on hover."),
56
+ row("strokeNote", "Hand-drawn notes", "stroke", ["enter"], "svg", "A hand-drawn circle, box, underline or strike draws itself round the text."),
57
+ row("pointerProximity", "Variable proximity", "hover", ["hover"], "js", "Letters near the mouse grow bolder, wider or larger, or lean towards it.", { desktop: true }),
58
+ row("pointerPressure", "Text pressure", "hover", ["hover"], "js", "Letters swell heavier and wider where the mouse presses along the line.", { desktop: true }),
59
+ row("pointerJello", "Jello letters", "hover", ["hover"], "js", "Each letter the mouse touches wobbles like jelly.", { desktop: true }),
60
+ row("pointerWave", "Letter wave on hover", "hover", ["hover"], "css", "A wave runs through the letters on hover or keyboard focus.", { desktop: true }),
61
+ row("pointerSpotlight", "Spotlight / X-ray reveal", "hover", ["hover"], "css", "The text sits dim; a circle of light round the mouse shows it bright.", { desktop: true }),
62
+ row("pointerShadow", "Cursor-following shadow", "hover", ["hover"], "css", "A soft shadow falls away from the mouse, as if it were the light.", { desktop: true }),
63
+ row("pointerTrail", "Cursor text trail", "hover", ["hover"], "js", "Little marks trail behind the mouse over the text and fade.", { desktop: true }),
64
+ row("pointerRipple", "Ripple from the pointer", "hover", ["hover", "tap"], "js", "A wave runs out through the letters from a tap, a click, or where the mouse comes in."),
65
+ row("pointerTilt", "Tilt to cursor", "hover", ["hover"], "css", "The text leans towards the mouse in 3D.", { desktop: true }),
66
+ row("pointerRoll", "Letter roll on hover", "hover", ["hover"], "css", "Each letter rolls up and a copy rolls in after it, one after another.", { desktop: true }),
67
+ row("warpGlitch", "CSS glitch", "glitch", ["loop", "hover"], "css", "Coloured slices of the text jump and shift for a moment, every few seconds or on hover."),
68
+ row("warpSquiggle", "Squiggly text", "glitch", ["loop"], "svg", "The letters' outlines wobble without end, like a hand-drawn animation.", { tier: "mid" }),
69
+ row("warpWave", "Wavy letters", "glitch", ["loop"], "css", "The letters bob, hop, sway or breathe without end, each a step behind the last."),
70
+ row("warpGoo", "Liquid / gooey text", "glitch", ["enter", "hover"], "svg", "Letters pop in and run together like liquid as they land, and melt again on hover.", { tier: "mid" }),
71
+ row("warpRgb", "Chromatic RGB split", "glitch", ["hover"], "css", "On hover the text splits into coloured fringes, like a misaligned screen.", { desktop: true }),
72
+ row("warpShader", "WebGL text distortion", "glitch", ["hover", "scroll"], "webgl", "The letters ripple out from under the mouse and bend with the scroll's speed.", { tier: "high" }),
73
+ row("warpFuzz", "Fuzzy text", "glitch", ["loop", "hover"], "canvas", "Rows of the text jitter sideways like a bad TV picture, harder under the mouse.", { tier: "mid" }),
74
+ row("warpAscii", "ASCII text", "glitch", ["loop"], "canvas", "The text redrawn as ASCII characters, denser where the letters are, a few flickering.", { tier: "high" }),
75
+ row("solidShadow", "Long shadow / extruded 3D", "depth", ["enter"], "css", "A long or extruded 3D shadow behind the letters, which grows out of them as the text enters."),
76
+ row("solidLayers", "Layered 3D text", "depth", ["hover"], "css", "Coloured copies stacked behind the text like layered print; they fan out on hover.", { desktop: true }),
77
+ row("solidParticles", "Particle text", "depth", ["enter", "hover"], "canvas", "The text made of dots that fly together as it enters and scatter from the mouse.", { tier: "mid" }),
78
+ row("solidEcho", "Echo", "depth", ["enter", "loop"], "css", "Faint copies trail behind the text and fan out, once or breathing without end."),
79
+ row("solidFall", "Falling text (gravity)", "split", ["enter", "hover"], "js", "The letters fall with gravity, pile up at the bottom and tip over.", { tier: "mid" }),
80
+ ];
81
+ export const TEXT_IDS = new Set(TEXT_EFFECTS.map((m) => m.id));
82
+ export function textMetaOf(id) {
83
+ const meta = TEXT_EFFECTS.find((m) => m.id === id);
84
+ if (!meta)
85
+ throw new Error(`[@sharedex/ui] unknown text effect "${id}"`);
86
+ return meta;
87
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Writes `--sx-text-x` / `-y` (px from the text's top left) and `--sx-text-px` / `-py` (0 to 1) on `el`. Physical on purpose:
3
+ * the pointer is where it is, so these never mirror in a right-to-left page. Returns what stops it. No `pointermove`
4
+ * listener exists until the pointer is over the text.
5
+ */
6
+ export declare function attachPointer(el: HTMLElement): () => void;
@@ -0,0 +1,48 @@
1
+ // Follows the pointer over one text and writes where it is, at most once per frame. Attached only for an effect that
2
+ // reads the pointer, and only where there is a mouse.
3
+ const round = (n) => Math.round(n * 1000) / 1000;
4
+ /**
5
+ * Writes `--sx-text-x` / `-y` (px from the text's top left) and `--sx-text-px` / `-py` (0 to 1) on `el`. Physical on purpose:
6
+ * the pointer is where it is, so these never mirror in a right-to-left page. Returns what stops it. No `pointermove`
7
+ * listener exists until the pointer is over the text.
8
+ */
9
+ export function attachPointer(el) {
10
+ let rect;
11
+ let frame = 0;
12
+ let last;
13
+ const write = () => {
14
+ frame = 0;
15
+ if (!last || !rect)
16
+ return;
17
+ const x = last.clientX - rect.left;
18
+ const y = last.clientY - rect.top;
19
+ el.style.setProperty("--sx-text-x", `${round(x)}px`);
20
+ el.style.setProperty("--sx-text-y", `${round(y)}px`);
21
+ el.style.setProperty("--sx-text-px", String(rect.width > 0 ? round(x / rect.width) : 0.5));
22
+ el.style.setProperty("--sx-text-py", String(rect.height > 0 ? round(y / rect.height) : 0.5));
23
+ };
24
+ const onMove = (e) => {
25
+ last = e;
26
+ if (!frame)
27
+ frame = requestAnimationFrame(write);
28
+ };
29
+ // measured on the box the text fills (the frame, or the show), not the element: a block heading is wider than its text
30
+ const box = () => el.querySelector("[data-sx-text-frame]") ?? el.querySelector("[data-sx-text-show]") ?? el;
31
+ const onEnter = (e) => {
32
+ rect = box().getBoundingClientRect();
33
+ last = e;
34
+ write();
35
+ el.addEventListener("pointermove", onMove, { passive: true });
36
+ };
37
+ const onLeave = () => {
38
+ el.removeEventListener("pointermove", onMove);
39
+ cancelAnimationFrame(frame);
40
+ frame = 0;
41
+ };
42
+ el.addEventListener("pointerenter", onEnter);
43
+ el.addEventListener("pointerleave", onLeave);
44
+ return () => {
45
+ onLeave();
46
+ el.removeEventListener("pointerenter", onEnter);
47
+ };
48
+ }
@@ -0,0 +1,45 @@
1
+ export interface Word {
2
+ readonly text: string;
3
+ /** Where it starts in the layer (its right edge in a right-to-left text), and its line box. */
4
+ readonly x: number;
5
+ readonly y: number;
6
+ readonly h: number;
7
+ }
8
+ /** Each word's box in the layer, from the page's own layout: a canvas lays out nothing itself. */
9
+ export declare function wordsIn(show: HTMLElement, box: DOMRect, rtl: boolean): Word[];
10
+ /** The text as the page shows it, in the layer's coordinates. */
11
+ export interface Snapshot {
12
+ /** The layer's size in CSS px, and the canvas's pixels per px. */
13
+ readonly w: number;
14
+ readonly h: number;
15
+ readonly dpr: number;
16
+ readonly font: string;
17
+ /** The text's font size, in px. */
18
+ readonly size: number;
19
+ readonly rtl: boolean;
20
+ readonly words: readonly Word[];
21
+ /** The text's colour, [r, g, b] 0-255 and alpha 0-1. */
22
+ readonly color: readonly [number, number, number, number];
23
+ }
24
+ export declare function snapshot(layer: HTMLElement, show: HTMLElement, resolve: (css: string) => readonly number[]): Snapshot;
25
+ export declare const rgba: ([r, g, b, a]: readonly number[]) => string;
26
+ /** Sizes `target` to the snapshot in device pixels and draws the words on it in `fill`. Returns its context (px units). */
27
+ export declare function drawWords(target: HTMLCanvasElement, snap: Snapshot, fill: string): CanvasRenderingContext2D | null;
28
+ export interface LoopHooks {
29
+ /** The layout changed (first run, a resize, the fonts arrived): measure again. */
30
+ measure(): void;
31
+ /** Draw at `t` seconds, `dt` since the last frame. Return `true` to be called again next frame. */
32
+ frame(t: number, dt: number): boolean;
33
+ }
34
+ export interface Loop {
35
+ /** Something changed (the pointer): draw again, and keep going while `frame` asks to. */
36
+ wake(): void;
37
+ stop(): void;
38
+ /** The reader asked for reduced motion: draw once and hold still. */
39
+ readonly still: () => boolean;
40
+ }
41
+ /**
42
+ * Runs `hooks` on `layer` (the effect's layer inside `el`): measures, then draws frames while the text is on screen and
43
+ * `frame` asks for more. Under reduced motion it draws one frame and holds. Returns what wakes and stops it.
44
+ */
45
+ export declare function attachLoop(el: HTMLElement, layer: HTMLElement, hooks: LoopHooks): Loop;
@@ -0,0 +1,108 @@
1
+ // What the canvas and WebGL text effects share: the words where the page laid them out, drawn onto a canvas, and a frame
2
+ // loop that runs only while the text is on screen. Imported only by those effects' programs, never by Text.
3
+ /** Each word's box in the layer, from the page's own layout: a canvas lays out nothing itself. */
4
+ export function wordsIn(show, box, rtl) {
5
+ const out = [];
6
+ const walker = document.createTreeWalker(show, NodeFilter.SHOW_TEXT);
7
+ const range = document.createRange();
8
+ for (let node = walker.nextNode(); node; node = walker.nextNode()) {
9
+ const value = node.nodeValue ?? "";
10
+ for (const m of value.matchAll(/\S+/gu)) {
11
+ range.setStart(node, m.index);
12
+ range.setEnd(node, m.index + m[0].length);
13
+ const r = range.getClientRects()[0];
14
+ if (r)
15
+ out.push({ text: m[0], x: (rtl ? r.right : r.left) - box.left, y: r.top - box.top, h: r.height });
16
+ }
17
+ }
18
+ return out;
19
+ }
20
+ export function snapshot(layer, show, resolve) {
21
+ const box = layer.getBoundingClientRect();
22
+ const style = getComputedStyle(show);
23
+ const rtl = style.direction === "rtl";
24
+ const [r = 0, g = 0, b = 0, a = 1] = resolve(style.color);
25
+ return {
26
+ w: box.width,
27
+ h: box.height,
28
+ dpr: Math.min(2, window.devicePixelRatio || 1),
29
+ font: `${style.fontStyle} ${style.fontWeight} ${style.fontSize} ${style.fontFamily}`,
30
+ size: parseFloat(style.fontSize) || 16,
31
+ rtl,
32
+ words: wordsIn(show, box, rtl),
33
+ color: [r, g, b, a],
34
+ };
35
+ }
36
+ export const rgba = ([r, g, b, a]) => `rgba(${r}, ${g}, ${b}, ${a})`;
37
+ /** Sizes `target` to the snapshot in device pixels and draws the words on it in `fill`. Returns its context (px units). */
38
+ export function drawWords(target, snap, fill) {
39
+ target.width = Math.max(1, Math.round(snap.w * snap.dpr));
40
+ target.height = Math.max(1, Math.round(snap.h * snap.dpr));
41
+ const c = target.getContext("2d");
42
+ if (!c)
43
+ return null;
44
+ c.setTransform(snap.dpr, 0, 0, snap.dpr, 0, 0);
45
+ c.font = snap.font;
46
+ c.direction = snap.rtl ? "rtl" : "ltr";
47
+ c.textAlign = snap.rtl ? "right" : "left";
48
+ c.textBaseline = "alphabetic";
49
+ c.fillStyle = fill;
50
+ for (const word of snap.words) {
51
+ const m = c.measureText(word.text);
52
+ const ascent = m.fontBoundingBoxAscent;
53
+ c.fillText(word.text, word.x, word.y + (word.h - (ascent + m.fontBoundingBoxDescent)) / 2 + ascent);
54
+ }
55
+ return c;
56
+ }
57
+ /**
58
+ * Runs `hooks` on `layer` (the effect's layer inside `el`): measures, then draws frames while the text is on screen and
59
+ * `frame` asks for more. Under reduced motion it draws one frame and holds. Returns what wakes and stops it.
60
+ */
61
+ export function attachLoop(el, layer, hooks) {
62
+ const reduced = window.matchMedia("(prefers-reduced-motion: reduce)");
63
+ let frame = 0;
64
+ let on = false;
65
+ let last = 0;
66
+ const start = performance.now();
67
+ const tick = (now) => {
68
+ frame = 0;
69
+ const dt = last === 0 ? 0 : Math.min(0.1, (now - last) / 1000);
70
+ last = now;
71
+ const more = hooks.frame(reduced.matches ? 0 : (now - start) / 1000, reduced.matches ? 0 : dt);
72
+ if (more && on && !reduced.matches)
73
+ frame = requestAnimationFrame(tick);
74
+ else
75
+ last = 0;
76
+ };
77
+ const wake = () => {
78
+ if (!frame)
79
+ frame = requestAnimationFrame(tick);
80
+ };
81
+ const io = new IntersectionObserver(([entry]) => {
82
+ on = !!entry?.isIntersecting;
83
+ if (on)
84
+ wake();
85
+ });
86
+ const again = () => {
87
+ hooks.measure();
88
+ wake();
89
+ };
90
+ const ro = new ResizeObserver(again);
91
+ hooks.measure();
92
+ io.observe(el);
93
+ ro.observe(layer);
94
+ reduced.addEventListener("change", wake);
95
+ let gone = false;
96
+ void document.fonts?.ready.then(() => !gone && again());
97
+ return {
98
+ wake,
99
+ still: () => reduced.matches,
100
+ stop: () => {
101
+ gone = true;
102
+ cancelAnimationFrame(frame);
103
+ io.disconnect();
104
+ ro.disconnect();
105
+ reduced.removeEventListener("change", wake);
106
+ },
107
+ };
108
+ }
@@ -0,0 +1,8 @@
1
+ /** `d` with every x scaled by `sx` and every y by `sy`. Only for paths made of absolute x, y pairs (M, L, C, Q, S, T). Pure. */
2
+ export declare function fitPath(d: string, sx: number, sy: number): string;
3
+ /**
4
+ * Every `path[data-sx-text-fit]` inside `root` (its unscaled `d`, drawn in a 100 x 100 box) redrawn in its SVG's own
5
+ * size; `data-sx-text-fitted` on `root` then turns the stretching off. Straight onto the DOM: React never changes these
6
+ * props after the first render, so it never undoes them.
7
+ */
8
+ export declare function fitDrawings(root: HTMLElement): void;
@@ -0,0 +1,32 @@
1
+ // Drawings round a text (a hand-drawn circle, a drawn underline) sized to the text in px, so the line keeps its width
2
+ // without stretching. Chromium mis-draws a dash on a stretched path with `vector-effect: non-scaling-stroke` (only part
3
+ // of the line showed, even at rest), and a stretched path without it gets lines thicker on the sides.
4
+ /** `d` with every x scaled by `sx` and every y by `sy`. Only for paths made of absolute x, y pairs (M, L, C, Q, S, T). Pure. */
5
+ export function fitPath(d, sx, sy) {
6
+ let i = 0;
7
+ return d.replace(/-?\d+(?:\.\d+)?/g, (n) => {
8
+ const scaled = Number(n) * (i++ % 2 === 0 ? sx : sy);
9
+ return String(Math.round(scaled * 10) / 10);
10
+ });
11
+ }
12
+ /**
13
+ * Every `path[data-sx-text-fit]` inside `root` (its unscaled `d`, drawn in a 100 x 100 box) redrawn in its SVG's own
14
+ * size; `data-sx-text-fitted` on `root` then turns the stretching off. Straight onto the DOM: React never changes these
15
+ * props after the first render, so it never undoes them.
16
+ */
17
+ export function fitDrawings(root) {
18
+ let any = false;
19
+ for (const path of root.querySelectorAll("path[data-sx-text-fit]")) {
20
+ const svg = path.ownerSVGElement;
21
+ if (!svg)
22
+ continue;
23
+ const { width, height } = svg.getBoundingClientRect();
24
+ if (width === 0 || height === 0)
25
+ continue;
26
+ svg.setAttribute("viewBox", `0 0 ${Math.round(width)} ${Math.round(height)}`);
27
+ path.setAttribute("d", fitPath(path.getAttribute("data-sx-text-fit") ?? "", width / 100, height / 100));
28
+ any = true;
29
+ }
30
+ if (any)
31
+ root.setAttribute("data-sx-text-fitted", "");
32
+ }
@@ -0,0 +1,8 @@
1
+ type Listener = (paused: boolean) => void;
2
+ /** Whether the page's text loops are paused. */
3
+ export declare function loopsPaused(): boolean;
4
+ /** Pause (`true`) or resume (`false`) every `WordCycle` and `Typewriter` on the page. */
5
+ export declare function setLoopsPaused(next: boolean): void;
6
+ /** Calls `cb` whenever the switch changes. Returns what stops it. */
7
+ export declare function onLoopsPaused(cb: Listener): () => void;
8
+ export {};
@@ -0,0 +1,27 @@
1
+ // One page-wide switch that pauses the text that keeps moving on its own (`WordCycle`, `Typewriter`).
2
+ //
3
+ // WCAG 2.2.2 (Pause, Stop, Hide): motion that starts by itself and runs past 5 s needs a way to pause it. One control
4
+ // for the whole page is enough, and a headless library should not put a button inside a heading, so the library holds
5
+ // the switch and the site places the button (`usePauseLoops`). While paused, `<html>` carries
6
+ // `data-sx-loops-paused`, which CSS-only loops read. Plain module: safe to import on the server (it does nothing there).
7
+ let paused = false;
8
+ const listeners = new Set();
9
+ /** Whether the page's text loops are paused. */
10
+ export function loopsPaused() {
11
+ return paused;
12
+ }
13
+ /** Pause (`true`) or resume (`false`) every `WordCycle` and `Typewriter` on the page. */
14
+ export function setLoopsPaused(next) {
15
+ if (next === paused)
16
+ return;
17
+ paused = next;
18
+ if (typeof document !== "undefined")
19
+ document.documentElement.toggleAttribute("data-sx-loops-paused", next);
20
+ for (const cb of listeners)
21
+ cb(next);
22
+ }
23
+ /** Calls `cb` whenever the switch changes. Returns what stops it. */
24
+ export function onLoopsPaused(cb) {
25
+ listeners.add(cb);
26
+ return () => listeners.delete(cb);
27
+ }
@@ -0,0 +1,6 @@
1
+ /** Calls `cb(true)` when `el` comes on screen and `cb(false)` when it leaves. Returns what stops it. */
2
+ export declare function watchOnScreen(el: Element, cb: (on: boolean) => void, threshold?: number): () => void;
3
+ /** The visitor asked for less motion. */
4
+ export declare const reducedMotion: () => boolean;
5
+ /** CSS that keeps `target` hidden while the component waits for its script (`:not([live])`), with a fail-safe. */
6
+ export declare function holdUntilLive(host: string, target: string, name: string): string;
@@ -0,0 +1,20 @@
1
+ // Small browser helpers the text components share.
2
+ /** Calls `cb(true)` when `el` comes on screen and `cb(false)` when it leaves. Returns what stops it. */
3
+ export function watchOnScreen(el, cb, threshold = 0) {
4
+ if (typeof IntersectionObserver === "undefined") {
5
+ cb(true);
6
+ return () => { };
7
+ }
8
+ const io = new IntersectionObserver(([entry]) => cb(!!entry?.isIntersecting), { threshold });
9
+ io.observe(el);
10
+ return () => io.disconnect();
11
+ }
12
+ /** The visitor asked for less motion. */
13
+ export const reducedMotion = () => typeof window !== "undefined" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
14
+ /** CSS that keeps `target` hidden while the component waits for its script (`:not([live])`), with a fail-safe. */
15
+ export function holdUntilLive(host, target, name) {
16
+ return ` @keyframes ${name} { from, to { opacity: 0; } }
17
+ @media (scripting: enabled) {
18
+ :where(${host}:not([data-sx-live]) ${target}) { animation: ${name} 3s step-end; }
19
+ }`;
20
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Writes `--sx-tw` / `--sx-th` (the whole text's size) on the show and `--sx-tx` / `--sx-ty` (each paint span's place in
3
+ * it) on the paint spans inside pieces, in px. Straight onto the DOM: React never renders these, so it never undoes them.
4
+ */
5
+ export declare function measurePaint(show: HTMLElement): void;