@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.
- package/LICENSE +21 -0
- package/README.md +511 -2
- package/dist/backgrounds/config.d.ts +23 -0
- package/dist/backgrounds/config.js +19 -0
- package/dist/backgrounds/effects/canvasKit.d.ts +22 -0
- package/dist/backgrounds/effects/canvasKit.js +40 -0
- package/dist/backgrounds/effects/cursor/cursorGlow.d.ts +13 -0
- package/dist/backgrounds/effects/cursor/cursorGlow.js +42 -0
- package/dist/backgrounds/effects/cursor/cursorGlow.schema.d.ts +1 -0
- package/dist/backgrounds/effects/cursor/cursorGlow.schema.js +14 -0
- package/dist/backgrounds/effects/cursor/fluidCursor.d.ts +33 -0
- package/dist/backgrounds/effects/cursor/fluidCursor.js +322 -0
- package/dist/backgrounds/effects/cursor/fluidCursor.schema.d.ts +1 -0
- package/dist/backgrounds/effects/cursor/fluidCursor.schema.js +17 -0
- package/dist/backgrounds/effects/cursor/proximityMask.d.ts +14 -0
- package/dist/backgrounds/effects/cursor/proximityMask.js +104 -0
- package/dist/backgrounds/effects/cursor/proximityMask.schema.d.ts +1 -0
- package/dist/backgrounds/effects/cursor/proximityMask.schema.js +15 -0
- package/dist/backgrounds/effects/cursor/waterRipple.d.ts +30 -0
- package/dist/backgrounds/effects/cursor/waterRipple.js +239 -0
- package/dist/backgrounds/effects/cursor/waterRipple.schema.d.ts +1 -0
- package/dist/backgrounds/effects/cursor/waterRipple.schema.js +22 -0
- package/dist/backgrounds/effects/define.d.ts +75 -0
- package/dist/backgrounds/effects/define.js +137 -0
- package/dist/backgrounds/effects/glass/isometricLayers.d.ts +14 -0
- package/dist/backgrounds/effects/glass/isometricLayers.js +57 -0
- package/dist/backgrounds/effects/glass/isometricLayers.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glass/isometricLayers.schema.js +16 -0
- package/dist/backgrounds/effects/glass/liquidSculpture.d.ts +24 -0
- package/dist/backgrounds/effects/glass/liquidSculpture.js +154 -0
- package/dist/backgrounds/effects/glass/liquidSculpture.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glass/liquidSculpture.schema.js +15 -0
- package/dist/backgrounds/effects/glitch/asciiArt.d.ts +29 -0
- package/dist/backgrounds/effects/glitch/asciiArt.js +132 -0
- package/dist/backgrounds/effects/glitch/asciiArt.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/asciiArt.schema.js +17 -0
- package/dist/backgrounds/effects/glitch/asciiArtGl.d.ts +19 -0
- package/dist/backgrounds/effects/glitch/asciiArtGl.js +92 -0
- package/dist/backgrounds/effects/glitch/crtScanlines.d.ts +16 -0
- package/dist/backgrounds/effects/glitch/crtScanlines.js +51 -0
- package/dist/backgrounds/effects/glitch/crtScanlines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/crtScanlines.schema.js +15 -0
- package/dist/backgrounds/effects/glitch/digitalGlitch.d.ts +15 -0
- package/dist/backgrounds/effects/glitch/digitalGlitch.js +65 -0
- package/dist/backgrounds/effects/glitch/digitalGlitch.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/digitalGlitch.schema.js +16 -0
- package/dist/backgrounds/effects/glitch/ditherWave.d.ts +12 -0
- package/dist/backgrounds/effects/glitch/ditherWave.js +52 -0
- package/dist/backgrounds/effects/glitch/ditherWave.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/ditherWave.schema.js +14 -0
- package/dist/backgrounds/effects/glitch/matrixRain.d.ts +15 -0
- package/dist/backgrounds/effects/glitch/matrixRain.js +58 -0
- package/dist/backgrounds/effects/glitch/matrixRain.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/matrixRain.schema.js +15 -0
- package/dist/backgrounds/effects/glitch/retroScreen.d.ts +12 -0
- package/dist/backgrounds/effects/glitch/retroScreen.js +50 -0
- package/dist/backgrounds/effects/glitch/retroScreen.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/retroScreen.schema.js +13 -0
- package/dist/backgrounds/effects/glitch/rgbShift.d.ts +13 -0
- package/dist/backgrounds/effects/glitch/rgbShift.js +58 -0
- package/dist/backgrounds/effects/glitch/rgbShift.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/rgbShift.schema.js +14 -0
- package/dist/backgrounds/effects/glitch/vhsStatic.d.ts +12 -0
- package/dist/backgrounds/effects/glitch/vhsStatic.js +48 -0
- package/dist/backgrounds/effects/glitch/vhsStatic.schema.d.ts +1 -0
- package/dist/backgrounds/effects/glitch/vhsStatic.schema.js +14 -0
- package/dist/backgrounds/effects/grid/animatedGrid.d.ts +13 -0
- package/dist/backgrounds/effects/grid/animatedGrid.js +63 -0
- package/dist/backgrounds/effects/grid/animatedGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/animatedGrid.schema.js +15 -0
- package/dist/backgrounds/effects/grid/contourLines.d.ts +26 -0
- package/dist/backgrounds/effects/grid/contourLines.js +157 -0
- package/dist/backgrounds/effects/grid/contourLines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/contourLines.schema.js +18 -0
- package/dist/backgrounds/effects/grid/contourLinesGl.d.ts +11 -0
- package/dist/backgrounds/effects/grid/contourLinesGl.js +57 -0
- package/dist/backgrounds/effects/grid/dataGrid.d.ts +15 -0
- package/dist/backgrounds/effects/grid/dataGrid.js +73 -0
- package/dist/backgrounds/effects/grid/dataGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/dataGrid.schema.js +17 -0
- package/dist/backgrounds/effects/grid/dotPattern.d.ts +11 -0
- package/dist/backgrounds/effects/grid/dotPattern.js +27 -0
- package/dist/backgrounds/effects/grid/dotPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/dotPattern.schema.js +13 -0
- package/dist/backgrounds/effects/grid/fadingGrid.d.ts +13 -0
- package/dist/backgrounds/effects/grid/fadingGrid.js +41 -0
- package/dist/backgrounds/effects/grid/fadingGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/fadingGrid.schema.js +15 -0
- package/dist/backgrounds/effects/grid/geometricVectors.d.ts +15 -0
- package/dist/backgrounds/effects/grid/geometricVectors.js +136 -0
- package/dist/backgrounds/effects/grid/geometricVectors.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/geometricVectors.schema.js +16 -0
- package/dist/backgrounds/effects/grid/gradientGrid.d.ts +15 -0
- package/dist/backgrounds/effects/grid/gradientGrid.js +37 -0
- package/dist/backgrounds/effects/grid/gradientGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/gradientGrid.schema.js +15 -0
- package/dist/backgrounds/effects/grid/gridHero.d.ts +15 -0
- package/dist/backgrounds/effects/grid/gridHero.js +75 -0
- package/dist/backgrounds/effects/grid/gridHero.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/gridHero.schema.js +16 -0
- package/dist/backgrounds/effects/grid/gridHover.d.ts +16 -0
- package/dist/backgrounds/effects/grid/gridHover.js +46 -0
- package/dist/backgrounds/effects/grid/gridHover.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/gridHover.schema.js +16 -0
- package/dist/backgrounds/effects/grid/layeredGridCards.d.ts +18 -0
- package/dist/backgrounds/effects/grid/layeredGridCards.js +78 -0
- package/dist/backgrounds/effects/grid/layeredGridCards.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/layeredGridCards.schema.js +18 -0
- package/dist/backgrounds/effects/grid/lines.d.ts +5 -0
- package/dist/backgrounds/effects/grid/lines.js +14 -0
- package/dist/backgrounds/effects/grid/magnetLines.d.ts +13 -0
- package/dist/backgrounds/effects/grid/magnetLines.js +61 -0
- package/dist/backgrounds/effects/grid/magnetLines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/magnetLines.schema.js +15 -0
- package/dist/backgrounds/effects/grid/meltyLines.d.ts +15 -0
- package/dist/backgrounds/effects/grid/meltyLines.js +67 -0
- package/dist/backgrounds/effects/grid/meltyLines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/meltyLines.schema.js +16 -0
- package/dist/backgrounds/effects/grid/morphGrid.d.ts +14 -0
- package/dist/backgrounds/effects/grid/morphGrid.js +74 -0
- package/dist/backgrounds/effects/grid/morphGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/morphGrid.schema.js +15 -0
- package/dist/backgrounds/effects/grid/neonGridTrail.d.ts +13 -0
- package/dist/backgrounds/effects/grid/neonGridTrail.js +70 -0
- package/dist/backgrounds/effects/grid/neonGridTrail.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/neonGridTrail.schema.js +14 -0
- package/dist/backgrounds/effects/grid/quantumGrid.d.ts +13 -0
- package/dist/backgrounds/effects/grid/quantumGrid.js +73 -0
- package/dist/backgrounds/effects/grid/quantumGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/quantumGrid.schema.js +15 -0
- package/dist/backgrounds/effects/grid/triangleGrid.d.ts +15 -0
- package/dist/backgrounds/effects/grid/triangleGrid.js +67 -0
- package/dist/backgrounds/effects/grid/triangleGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/grid/triangleGrid.schema.js +15 -0
- package/dist/backgrounds/effects/media/image.schema.d.ts +1 -0
- package/dist/backgrounds/effects/media/image.schema.js +17 -0
- package/dist/backgrounds/effects/media/media.d.ts +30 -0
- package/dist/backgrounds/effects/media/media.js +53 -0
- package/dist/backgrounds/effects/media/video.schema.d.ts +1 -0
- package/dist/backgrounds/effects/media/video.schema.js +15 -0
- package/dist/backgrounds/effects/palette.d.ts +10 -0
- package/dist/backgrounds/effects/palette.js +21 -0
- package/dist/backgrounds/effects/particle/bokeh.d.ts +13 -0
- package/dist/backgrounds/effects/particle/bokeh.js +58 -0
- package/dist/backgrounds/effects/particle/bokeh.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/bokeh.schema.js +15 -0
- package/dist/backgrounds/effects/particle/constellation.d.ts +25 -0
- package/dist/backgrounds/effects/particle/constellation.js +119 -0
- package/dist/backgrounds/effects/particle/constellation.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/constellation.schema.js +15 -0
- package/dist/backgrounds/effects/particle/cursorDots.d.ts +17 -0
- package/dist/backgrounds/effects/particle/cursorDots.js +47 -0
- package/dist/backgrounds/effects/particle/cursorDots.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/cursorDots.schema.js +16 -0
- package/dist/backgrounds/effects/particle/fallingParticles.d.ts +15 -0
- package/dist/backgrounds/effects/particle/fallingParticles.js +96 -0
- package/dist/backgrounds/effects/particle/fallingParticles.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/fallingParticles.schema.js +16 -0
- package/dist/backgrounds/effects/particle/meteors.d.ts +13 -0
- package/dist/backgrounds/effects/particle/meteors.js +63 -0
- package/dist/backgrounds/effects/particle/meteors.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/meteors.schema.js +15 -0
- package/dist/backgrounds/effects/particle/particleHover.d.ts +16 -0
- package/dist/backgrounds/effects/particle/particleHover.js +73 -0
- package/dist/backgrounds/effects/particle/particleHover.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/particleHover.schema.js +15 -0
- package/dist/backgrounds/effects/particle/particleOrb.d.ts +14 -0
- package/dist/backgrounds/effects/particle/particleOrb.js +95 -0
- package/dist/backgrounds/effects/particle/particleOrb.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/particleOrb.schema.js +15 -0
- package/dist/backgrounds/effects/particle/particles.d.ts +23 -0
- package/dist/backgrounds/effects/particle/particles.js +63 -0
- package/dist/backgrounds/effects/particle/particles.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/particles.schema.js +15 -0
- package/dist/backgrounds/effects/particle/starfield.d.ts +12 -0
- package/dist/backgrounds/effects/particle/starfield.js +88 -0
- package/dist/backgrounds/effects/particle/starfield.schema.d.ts +1 -0
- package/dist/backgrounds/effects/particle/starfield.schema.js +14 -0
- package/dist/backgrounds/effects/pattern/circlesPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/pattern/circlesPattern.schema.js +12 -0
- package/dist/backgrounds/effects/pattern/diamondsPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/pattern/diamondsPattern.schema.js +12 -0
- package/dist/backgrounds/effects/pattern/leatherPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/pattern/leatherPattern.schema.js +12 -0
- package/dist/backgrounds/effects/pattern/patterns.d.ts +22 -0
- package/dist/backgrounds/effects/pattern/patterns.js +120 -0
- package/dist/backgrounds/effects/pattern/scalesPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/pattern/scalesPattern.schema.js +12 -0
- package/dist/backgrounds/effects/pattern/strangePattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/pattern/strangePattern.schema.js +12 -0
- package/dist/backgrounds/effects/scroll/cinematicReveal.d.ts +13 -0
- package/dist/backgrounds/effects/scroll/cinematicReveal.js +82 -0
- package/dist/backgrounds/effects/scroll/cinematicReveal.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/cinematicReveal.schema.js +14 -0
- package/dist/backgrounds/effects/scroll/parallax.d.ts +14 -0
- package/dist/backgrounds/effects/scroll/parallax.js +60 -0
- package/dist/backgrounds/effects/scroll/parallax.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/parallax.schema.js +15 -0
- package/dist/backgrounds/effects/scroll/scrollColor.d.ts +10 -0
- package/dist/backgrounds/effects/scroll/scrollColor.js +41 -0
- package/dist/backgrounds/effects/scroll/scrollColor.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/scrollColor.schema.js +25 -0
- package/dist/backgrounds/effects/scroll/scrollMorph.d.ts +13 -0
- package/dist/backgrounds/effects/scroll/scrollMorph.js +104 -0
- package/dist/backgrounds/effects/scroll/scrollMorph.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/scrollMorph.schema.js +14 -0
- package/dist/backgrounds/effects/scroll/scrollTimeline.d.ts +10 -0
- package/dist/backgrounds/effects/scroll/scrollTimeline.js +104 -0
- package/dist/backgrounds/effects/scroll/scrollTimeline.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/scrollTimeline.schema.js +13 -0
- package/dist/backgrounds/effects/scroll/videoScrub.d.ts +22 -0
- package/dist/backgrounds/effects/scroll/videoScrub.js +53 -0
- package/dist/backgrounds/effects/scroll/videoScrub.schema.d.ts +1 -0
- package/dist/backgrounds/effects/scroll/videoScrub.schema.js +16 -0
- package/dist/backgrounds/effects/shader/aether.d.ts +12 -0
- package/dist/backgrounds/effects/shader/aether.js +46 -0
- package/dist/backgrounds/effects/shader/aether.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/aether.schema.js +14 -0
- package/dist/backgrounds/effects/shader/animatedGradient.d.ts +14 -0
- package/dist/backgrounds/effects/shader/animatedGradient.js +45 -0
- package/dist/backgrounds/effects/shader/animatedGradient.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/animatedGradient.schema.js +15 -0
- package/dist/backgrounds/effects/shader/aurora.d.ts +21 -0
- package/dist/backgrounds/effects/shader/aurora.js +64 -0
- package/dist/backgrounds/effects/shader/aurora.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/aurora.schema.js +15 -0
- package/dist/backgrounds/effects/shader/auroraGl.d.ts +8 -0
- package/dist/backgrounds/effects/shader/auroraGl.js +47 -0
- package/dist/backgrounds/effects/shader/caustics.d.ts +12 -0
- package/dist/backgrounds/effects/shader/caustics.js +68 -0
- package/dist/backgrounds/effects/shader/caustics.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/caustics.schema.js +14 -0
- package/dist/backgrounds/effects/shader/chromaticSine.d.ts +14 -0
- package/dist/backgrounds/effects/shader/chromaticSine.js +54 -0
- package/dist/backgrounds/effects/shader/chromaticSine.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/chromaticSine.schema.js +15 -0
- package/dist/backgrounds/effects/shader/godRays.d.ts +14 -0
- package/dist/backgrounds/effects/shader/godRays.js +51 -0
- package/dist/backgrounds/effects/shader/godRays.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/godRays.schema.js +15 -0
- package/dist/backgrounds/effects/shader/gooeyBlobs.d.ts +13 -0
- package/dist/backgrounds/effects/shader/gooeyBlobs.js +84 -0
- package/dist/backgrounds/effects/shader/gooeyBlobs.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/gooeyBlobs.schema.js +15 -0
- package/dist/backgrounds/effects/shader/gradientBars.d.ts +13 -0
- package/dist/backgrounds/effects/shader/gradientBars.js +57 -0
- package/dist/backgrounds/effects/shader/gradientBars.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/gradientBars.schema.js +15 -0
- package/dist/backgrounds/effects/shader/grainGradient.d.ts +12 -0
- package/dist/backgrounds/effects/shader/grainGradient.js +42 -0
- package/dist/backgrounds/effects/shader/grainGradient.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/grainGradient.schema.js +14 -0
- package/dist/backgrounds/effects/shader/iridescent.d.ts +19 -0
- package/dist/backgrounds/effects/shader/iridescent.js +64 -0
- package/dist/backgrounds/effects/shader/iridescent.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/iridescent.schema.js +14 -0
- package/dist/backgrounds/effects/shader/iridescentGl.d.ts +6 -0
- package/dist/backgrounds/effects/shader/iridescentGl.js +42 -0
- package/dist/backgrounds/effects/shader/liquid.d.ts +12 -0
- package/dist/backgrounds/effects/shader/liquid.js +44 -0
- package/dist/backgrounds/effects/shader/liquid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/liquid.schema.js +14 -0
- package/dist/backgrounds/effects/shader/meshGradient.d.ts +12 -0
- package/dist/backgrounds/effects/shader/meshGradient.js +51 -0
- package/dist/backgrounds/effects/shader/meshGradient.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/meshGradient.schema.js +23 -0
- package/dist/backgrounds/effects/shader/plasmaGrid.d.ts +14 -0
- package/dist/backgrounds/effects/shader/plasmaGrid.js +51 -0
- package/dist/backgrounds/effects/shader/plasmaGrid.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/plasmaGrid.schema.js +15 -0
- package/dist/backgrounds/effects/shader/rainbow.d.ts +13 -0
- package/dist/backgrounds/effects/shader/rainbow.js +41 -0
- package/dist/backgrounds/effects/shader/rainbow.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/rainbow.schema.js +14 -0
- package/dist/backgrounds/effects/shader/shaderLines.d.ts +12 -0
- package/dist/backgrounds/effects/shader/shaderLines.js +52 -0
- package/dist/backgrounds/effects/shader/shaderLines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/shaderLines.schema.js +14 -0
- package/dist/backgrounds/effects/shader/shaderRipples.d.ts +14 -0
- package/dist/backgrounds/effects/shader/shaderRipples.js +54 -0
- package/dist/backgrounds/effects/shader/shaderRipples.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/shaderRipples.schema.js +15 -0
- package/dist/backgrounds/effects/shader/smoothMesh.d.ts +12 -0
- package/dist/backgrounds/effects/shader/smoothMesh.js +45 -0
- package/dist/backgrounds/effects/shader/smoothMesh.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/smoothMesh.schema.js +14 -0
- package/dist/backgrounds/effects/shader/waveDistortion.d.ts +12 -0
- package/dist/backgrounds/effects/shader/waveDistortion.js +47 -0
- package/dist/backgrounds/effects/shader/waveDistortion.schema.d.ts +1 -0
- package/dist/backgrounds/effects/shader/waveDistortion.schema.js +14 -0
- package/dist/backgrounds/effects/shaderKit.d.ts +24 -0
- package/dist/backgrounds/effects/shaderKit.js +90 -0
- package/dist/backgrounds/effects/svgKit.d.ts +26 -0
- package/dist/backgrounds/effects/svgKit.js +50 -0
- package/dist/backgrounds/effects/texture/filmGrain.d.ts +18 -0
- package/dist/backgrounds/effects/texture/filmGrain.js +63 -0
- package/dist/backgrounds/effects/texture/filmGrain.schema.d.ts +1 -0
- package/dist/backgrounds/effects/texture/filmGrain.schema.js +13 -0
- package/dist/backgrounds/effects/texture/foggyGlass.schema.d.ts +1 -0
- package/dist/backgrounds/effects/texture/foggyGlass.schema.js +14 -0
- package/dist/backgrounds/effects/texture/frozenGlass.schema.d.ts +1 -0
- package/dist/backgrounds/effects/texture/frozenGlass.schema.js +14 -0
- package/dist/backgrounds/effects/texture/glass.d.ts +26 -0
- package/dist/backgrounds/effects/texture/glass.js +82 -0
- package/dist/backgrounds/effects/texture/halftone.d.ts +13 -0
- package/dist/backgrounds/effects/texture/halftone.js +49 -0
- package/dist/backgrounds/effects/texture/halftone.schema.d.ts +1 -0
- package/dist/backgrounds/effects/texture/halftone.schema.js +15 -0
- package/dist/backgrounds/effects/three/chrome.d.ts +14 -0
- package/dist/backgrounds/effects/three/chrome.js +50 -0
- package/dist/backgrounds/effects/three/chrome.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/chrome.schema.js +15 -0
- package/dist/backgrounds/effects/three/glassShapes.d.ts +9 -0
- package/dist/backgrounds/effects/three/glassShapes.js +47 -0
- package/dist/backgrounds/effects/three/glassShapes.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/glassShapes.schema.js +14 -0
- package/dist/backgrounds/effects/three/kit.d.ts +50 -0
- package/dist/backgrounds/effects/three/kit.js +126 -0
- package/dist/backgrounds/effects/three/liquidGlass.d.ts +11 -0
- package/dist/backgrounds/effects/three/liquidGlass.js +55 -0
- package/dist/backgrounds/effects/three/liquidGlass.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/liquidGlass.schema.js +15 -0
- package/dist/backgrounds/effects/three/metas.d.ts +7 -0
- package/dist/backgrounds/effects/three/metas.js +66 -0
- package/dist/backgrounds/effects/three/neonTubes.d.ts +29 -0
- package/dist/backgrounds/effects/three/neonTubes.js +162 -0
- package/dist/backgrounds/effects/three/neonTubes.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/neonTubes.schema.js +17 -0
- package/dist/backgrounds/effects/three/spectralGhost.d.ts +11 -0
- package/dist/backgrounds/effects/three/spectralGhost.js +145 -0
- package/dist/backgrounds/effects/three/spectralGhost.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/spectralGhost.schema.js +15 -0
- package/dist/backgrounds/effects/three/stage.d.ts +13 -0
- package/dist/backgrounds/effects/three/stage.js +45 -0
- package/dist/backgrounds/effects/three/wovenLight.d.ts +19 -0
- package/dist/backgrounds/effects/three/wovenLight.js +131 -0
- package/dist/backgrounds/effects/three/wovenLight.schema.d.ts +1 -0
- package/dist/backgrounds/effects/three/wovenLight.schema.js +16 -0
- package/dist/backgrounds/effects/wave/drawingLines.d.ts +13 -0
- package/dist/backgrounds/effects/wave/drawingLines.js +70 -0
- package/dist/backgrounds/effects/wave/drawingLines.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/drawingLines.schema.js +15 -0
- package/dist/backgrounds/effects/wave/flowField.d.ts +15 -0
- package/dist/backgrounds/effects/wave/flowField.js +93 -0
- package/dist/backgrounds/effects/wave/flowField.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/flowField.schema.js +16 -0
- package/dist/backgrounds/effects/wave/liquidWave.d.ts +10 -0
- package/dist/backgrounds/effects/wave/liquidWave.js +50 -0
- package/dist/backgrounds/effects/wave/liquidWave.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/liquidWave.schema.js +13 -0
- package/dist/backgrounds/effects/wave/moireDots.d.ts +12 -0
- package/dist/backgrounds/effects/wave/moireDots.js +45 -0
- package/dist/backgrounds/effects/wave/moireDots.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/moireDots.schema.js +14 -0
- package/dist/backgrounds/effects/wave/mountains.d.ts +21 -0
- package/dist/backgrounds/effects/wave/mountains.js +87 -0
- package/dist/backgrounds/effects/wave/mountains.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/mountains.schema.js +18 -0
- package/dist/backgrounds/effects/wave/ripples.d.ts +16 -0
- package/dist/backgrounds/effects/wave/ripples.js +52 -0
- package/dist/backgrounds/effects/wave/ripples.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/ripples.schema.js +16 -0
- package/dist/backgrounds/effects/wave/svgColorWave.d.ts +14 -0
- package/dist/backgrounds/effects/wave/svgColorWave.js +97 -0
- package/dist/backgrounds/effects/wave/svgColorWave.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/svgColorWave.schema.js +15 -0
- package/dist/backgrounds/effects/wave/svgWave.d.ts +15 -0
- package/dist/backgrounds/effects/wave/svgWave.js +72 -0
- package/dist/backgrounds/effects/wave/svgWave.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/svgWave.schema.js +17 -0
- package/dist/backgrounds/effects/wave/wavyPattern.d.ts +16 -0
- package/dist/backgrounds/effects/wave/wavyPattern.js +50 -0
- package/dist/backgrounds/effects/wave/wavyPattern.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/wavyPattern.schema.js +16 -0
- package/dist/backgrounds/effects/wave/wireframeOcean.d.ts +32 -0
- package/dist/backgrounds/effects/wave/wireframeOcean.js +145 -0
- package/dist/backgrounds/effects/wave/wireframeOcean.schema.d.ts +1 -0
- package/dist/backgrounds/effects/wave/wireframeOcean.schema.js +17 -0
- package/dist/backgrounds/hosts/CanvasHost.d.ts +13 -0
- package/dist/backgrounds/hosts/CanvasHost.js +116 -0
- package/dist/backgrounds/hosts/CssHost.d.ts +22 -0
- package/dist/backgrounds/hosts/CssHost.js +39 -0
- package/dist/backgrounds/hosts/MediaHost.d.ts +6 -0
- package/dist/backgrounds/hosts/MediaHost.js +202 -0
- package/dist/backgrounds/hosts/SvgHost.d.ts +12 -0
- package/dist/backgrounds/hosts/SvgHost.js +21 -0
- package/dist/backgrounds/hosts/WebglHost.d.ts +19 -0
- package/dist/backgrounds/hosts/WebglHost.js +181 -0
- package/dist/backgrounds/hosts/svgElement.d.ts +7 -0
- package/dist/backgrounds/hosts/svgElement.js +19 -0
- package/dist/backgrounds/hosts/useLayerNeeds.d.ts +10 -0
- package/dist/backgrounds/hosts/useLayerNeeds.js +33 -0
- package/dist/backgrounds/parts/Layer.d.ts +11 -0
- package/dist/backgrounds/parts/Layer.js +38 -0
- package/dist/backgrounds/parts/Root.d.ts +17 -0
- package/dist/backgrounds/parts/Root.js +25 -0
- package/dist/backgrounds/parts/index.d.ts +21 -0
- package/dist/backgrounds/parts/index.js +16 -0
- package/dist/backgrounds/registry.d.ts +5 -0
- package/dist/backgrounds/registry.js +190 -0
- package/dist/backgrounds/runtime/clock.d.ts +8 -0
- package/dist/backgrounds/runtime/clock.js +43 -0
- package/dist/backgrounds/runtime/color.d.ts +22 -0
- package/dist/backgrounds/runtime/color.js +68 -0
- package/dist/backgrounds/runtime/context.d.ts +43 -0
- package/dist/backgrounds/runtime/context.js +11 -0
- package/dist/backgrounds/runtime/hooks.d.ts +57 -0
- package/dist/backgrounds/runtime/hooks.js +240 -0
- package/dist/backgrounds/runtime/nativeScroll.d.ts +8 -0
- package/dist/backgrounds/runtime/nativeScroll.js +20 -0
- package/dist/backgrounds/runtime/noise.d.ts +4 -0
- package/dist/backgrounds/runtime/noise.js +38 -0
- package/dist/backgrounds/runtime/rng.d.ts +10 -0
- package/dist/backgrounds/runtime/rng.js +29 -0
- package/dist/backgrounds/runtime/rootCss.d.ts +3 -0
- package/dist/backgrounds/runtime/rootCss.js +66 -0
- package/dist/backgrounds/runtime/scroll.d.ts +25 -0
- package/dist/backgrounds/runtime/scroll.js +25 -0
- package/dist/backgrounds/runtime/tier.d.ts +26 -0
- package/dist/backgrounds/runtime/tier.js +72 -0
- package/dist/backgrounds/runtime/webgl.d.ts +81 -0
- package/dist/backgrounds/runtime/webgl.js +250 -0
- package/dist/backgrounds/types.d.ts +295 -0
- package/dist/backgrounds/types.js +20 -0
- package/dist/buttons/Button.d.ts +46 -0
- package/dist/buttons/Button.js +136 -0
- package/dist/buttons/base.d.ts +1 -0
- package/dist/buttons/base.js +162 -0
- package/dist/buttons/claims.d.ts +8 -0
- package/dist/buttons/claims.js +9 -0
- package/dist/buttons/effects/border/borderAnts.d.ts +15 -0
- package/dist/buttons/effects/border/borderAnts.js +30 -0
- package/dist/buttons/effects/border/borderAnts.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderAnts.schema.js +13 -0
- package/dist/buttons/effects/border/borderBeam.d.ts +13 -0
- package/dist/buttons/effects/border/borderBeam.js +19 -0
- package/dist/buttons/effects/border/borderBeam.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderBeam.schema.js +12 -0
- package/dist/buttons/effects/border/borderConic.d.ts +15 -0
- package/dist/buttons/effects/border/borderConic.js +30 -0
- package/dist/buttons/effects/border/borderConic.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderConic.schema.js +13 -0
- package/dist/buttons/effects/border/borderDraw.d.ts +13 -0
- package/dist/buttons/effects/border/borderDraw.js +27 -0
- package/dist/buttons/effects/border/borderDraw.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderDraw.schema.js +12 -0
- package/dist/buttons/effects/border/borderElectric.d.ts +16 -0
- package/dist/buttons/effects/border/borderElectric.js +68 -0
- package/dist/buttons/effects/border/borderElectric.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderElectric.schema.js +12 -0
- package/dist/buttons/effects/border/borderOutline.d.ts +13 -0
- package/dist/buttons/effects/border/borderOutline.js +45 -0
- package/dist/buttons/effects/border/borderOutline.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderOutline.schema.js +12 -0
- package/dist/buttons/effects/border/borderRound.d.ts +9 -0
- package/dist/buttons/effects/border/borderRound.js +18 -0
- package/dist/buttons/effects/border/borderRound.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderRound.schema.js +10 -0
- package/dist/buttons/effects/border/borderRunner.d.ts +13 -0
- package/dist/buttons/effects/border/borderRunner.js +37 -0
- package/dist/buttons/effects/border/borderRunner.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderRunner.schema.js +12 -0
- package/dist/buttons/effects/border/borderSpread.d.ts +12 -0
- package/dist/buttons/effects/border/borderSpread.js +28 -0
- package/dist/buttons/effects/border/borderSpread.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderSpread.schema.js +12 -0
- package/dist/buttons/effects/border/borderStar.d.ts +11 -0
- package/dist/buttons/effects/border/borderStar.js +36 -0
- package/dist/buttons/effects/border/borderStar.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderStar.schema.js +11 -0
- package/dist/buttons/effects/border/borderUnderline.d.ts +13 -0
- package/dist/buttons/effects/border/borderUnderline.js +26 -0
- package/dist/buttons/effects/border/borderUnderline.schema.d.ts +1 -0
- package/dist/buttons/effects/border/borderUnderline.schema.js +12 -0
- package/dist/buttons/effects/border/ring.d.ts +4 -0
- package/dist/buttons/effects/border/ring.js +29 -0
- package/dist/buttons/effects/cursor/cursorBlob.d.ts +13 -0
- package/dist/buttons/effects/cursor/cursorBlob.js +30 -0
- package/dist/buttons/effects/cursor/cursorBlob.schema.d.ts +1 -0
- package/dist/buttons/effects/cursor/cursorBlob.schema.js +12 -0
- package/dist/buttons/effects/cursor/cursorMagnet.d.ts +11 -0
- package/dist/buttons/effects/cursor/cursorMagnet.js +25 -0
- package/dist/buttons/effects/cursor/cursorMagnet.schema.d.ts +1 -0
- package/dist/buttons/effects/cursor/cursorMagnet.schema.js +11 -0
- package/dist/buttons/effects/depth/depthCube.d.ts +11 -0
- package/dist/buttons/effects/depth/depthCube.js +32 -0
- package/dist/buttons/effects/depth/depthCube.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthCube.schema.js +11 -0
- package/dist/buttons/effects/depth/depthFlip.d.ts +17 -0
- package/dist/buttons/effects/depth/depthFlip.js +42 -0
- package/dist/buttons/effects/depth/depthFlip.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthFlip.schema.js +14 -0
- package/dist/buttons/effects/depth/depthFloat.d.ts +11 -0
- package/dist/buttons/effects/depth/depthFloat.js +24 -0
- package/dist/buttons/effects/depth/depthFloat.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthFloat.schema.js +11 -0
- package/dist/buttons/effects/depth/depthGrow.d.ts +11 -0
- package/dist/buttons/effects/depth/depthGrow.js +30 -0
- package/dist/buttons/effects/depth/depthGrow.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthGrow.schema.js +11 -0
- package/dist/buttons/effects/depth/depthJiggle.d.ts +11 -0
- package/dist/buttons/effects/depth/depthJiggle.js +36 -0
- package/dist/buttons/effects/depth/depthJiggle.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthJiggle.schema.js +11 -0
- package/dist/buttons/effects/depth/depthNeumorph.d.ts +13 -0
- package/dist/buttons/effects/depth/depthNeumorph.js +42 -0
- package/dist/buttons/effects/depth/depthNeumorph.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthNeumorph.schema.js +12 -0
- package/dist/buttons/effects/depth/depthPushable.d.ts +13 -0
- package/dist/buttons/effects/depth/depthPushable.js +50 -0
- package/dist/buttons/effects/depth/depthPushable.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthPushable.schema.js +12 -0
- package/dist/buttons/effects/depth/depthTilt.d.ts +11 -0
- package/dist/buttons/effects/depth/depthTilt.js +22 -0
- package/dist/buttons/effects/depth/depthTilt.schema.d.ts +1 -0
- package/dist/buttons/effects/depth/depthTilt.schema.js +11 -0
- package/dist/buttons/effects/fill/fillDirectional.d.ts +5 -0
- package/dist/buttons/effects/fill/fillDirectional.js +21 -0
- package/dist/buttons/effects/fill/fillDirectional.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillDirectional.schema.js +8 -0
- package/dist/buttons/effects/fill/fillFade.d.ts +5 -0
- package/dist/buttons/effects/fill/fillFade.js +15 -0
- package/dist/buttons/effects/fill/fillFade.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillFade.schema.js +8 -0
- package/dist/buttons/effects/fill/fillGoo.d.ts +11 -0
- package/dist/buttons/effects/fill/fillGoo.js +74 -0
- package/dist/buttons/effects/fill/fillGoo.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillGoo.schema.js +11 -0
- package/dist/buttons/effects/fill/fillGradient.d.ts +14 -0
- package/dist/buttons/effects/fill/fillGradient.js +34 -0
- package/dist/buttons/effects/fill/fillGradient.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillGradient.schema.js +13 -0
- package/dist/buttons/effects/fill/fillRadial.d.ts +8 -0
- package/dist/buttons/effects/fill/fillRadial.js +36 -0
- package/dist/buttons/effects/fill/fillRadial.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillRadial.schema.js +11 -0
- package/dist/buttons/effects/fill/fillShutter.d.ts +10 -0
- package/dist/buttons/effects/fill/fillShutter.js +43 -0
- package/dist/buttons/effects/fill/fillShutter.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillShutter.schema.js +12 -0
- package/dist/buttons/effects/fill/fillSlash.d.ts +10 -0
- package/dist/buttons/effects/fill/fillSlash.js +26 -0
- package/dist/buttons/effects/fill/fillSlash.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillSlash.schema.js +12 -0
- package/dist/buttons/effects/fill/fillSpotlight.d.ts +11 -0
- package/dist/buttons/effects/fill/fillSpotlight.js +22 -0
- package/dist/buttons/effects/fill/fillSpotlight.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillSpotlight.schema.js +11 -0
- package/dist/buttons/effects/fill/fillSweep.d.ts +8 -0
- package/dist/buttons/effects/fill/fillSweep.js +26 -0
- package/dist/buttons/effects/fill/fillSweep.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillSweep.schema.js +11 -0
- package/dist/buttons/effects/fill/fillWave.d.ts +10 -0
- package/dist/buttons/effects/fill/fillWave.js +47 -0
- package/dist/buttons/effects/fill/fillWave.schema.d.ts +1 -0
- package/dist/buttons/effects/fill/fillWave.schema.js +12 -0
- package/dist/buttons/effects/fill/kit.d.ts +14 -0
- package/dist/buttons/effects/fill/kit.js +16 -0
- package/dist/buttons/effects/glass/glassBlur.d.ts +8 -0
- package/dist/buttons/effects/glass/glassBlur.js +11 -0
- package/dist/buttons/effects/glass/glassBlur.schema.d.ts +1 -0
- package/dist/buttons/effects/glass/glassBlur.schema.js +12 -0
- package/dist/buttons/effects/glass/glassDistort.d.ts +12 -0
- package/dist/buttons/effects/glass/glassDistort.js +49 -0
- package/dist/buttons/effects/glass/glassDistort.schema.d.ts +1 -0
- package/dist/buttons/effects/glass/glassDistort.schema.js +10 -0
- package/dist/buttons/effects/glass/glassLiquid.d.ts +12 -0
- package/dist/buttons/effects/glass/glassLiquid.js +53 -0
- package/dist/buttons/effects/glass/glassLiquid.schema.d.ts +1 -0
- package/dist/buttons/effects/glass/glassLiquid.schema.js +13 -0
- package/dist/buttons/effects/glass/glassNative.d.ts +8 -0
- package/dist/buttons/effects/glass/glassNative.js +22 -0
- package/dist/buttons/effects/glass/glassNative.schema.d.ts +1 -0
- package/dist/buttons/effects/glass/glassNative.schema.js +12 -0
- package/dist/buttons/effects/glass/glassRefract.d.ts +16 -0
- package/dist/buttons/effects/glass/glassRefract.js +55 -0
- package/dist/buttons/effects/glass/glassRefract.schema.d.ts +1 -0
- package/dist/buttons/effects/glass/glassRefract.schema.js +11 -0
- package/dist/buttons/effects/glass/kit.d.ts +20 -0
- package/dist/buttons/effects/glass/kit.js +39 -0
- package/dist/buttons/effects/glow/glowAura.d.ts +14 -0
- package/dist/buttons/effects/glow/glowAura.js +36 -0
- package/dist/buttons/effects/glow/glowAura.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowAura.schema.js +14 -0
- package/dist/buttons/effects/glow/glowGlare.d.ts +11 -0
- package/dist/buttons/effects/glow/glowGlare.js +22 -0
- package/dist/buttons/effects/glow/glowGlare.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowGlare.schema.js +11 -0
- package/dist/buttons/effects/glow/glowHover.d.ts +11 -0
- package/dist/buttons/effects/glow/glowHover.js +20 -0
- package/dist/buttons/effects/glow/glowHover.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowHover.schema.js +11 -0
- package/dist/buttons/effects/glow/glowLift.d.ts +11 -0
- package/dist/buttons/effects/glow/glowLift.js +25 -0
- package/dist/buttons/effects/glow/glowLift.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowLift.schema.js +11 -0
- package/dist/buttons/effects/glow/glowNeon.d.ts +12 -0
- package/dist/buttons/effects/glow/glowNeon.js +46 -0
- package/dist/buttons/effects/glow/glowNeon.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowNeon.schema.js +11 -0
- package/dist/buttons/effects/glow/glowRainbow.d.ts +14 -0
- package/dist/buttons/effects/glow/glowRainbow.js +44 -0
- package/dist/buttons/effects/glow/glowRainbow.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowRainbow.schema.js +13 -0
- package/dist/buttons/effects/glow/glowShimmer.d.ts +11 -0
- package/dist/buttons/effects/glow/glowShimmer.js +25 -0
- package/dist/buttons/effects/glow/glowShimmer.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowShimmer.schema.js +11 -0
- package/dist/buttons/effects/glow/glowShine.d.ts +16 -0
- package/dist/buttons/effects/glow/glowShine.js +41 -0
- package/dist/buttons/effects/glow/glowShine.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowShine.schema.js +13 -0
- package/dist/buttons/effects/glow/glowShiny.d.ts +12 -0
- package/dist/buttons/effects/glow/glowShiny.js +30 -0
- package/dist/buttons/effects/glow/glowShiny.schema.d.ts +1 -0
- package/dist/buttons/effects/glow/glowShiny.schema.js +11 -0
- package/dist/buttons/effects/icon/iconExpand.d.ts +7 -0
- package/dist/buttons/effects/icon/iconExpand.js +33 -0
- package/dist/buttons/effects/icon/iconExpand.schema.d.ts +1 -0
- package/dist/buttons/effects/icon/iconExpand.schema.js +9 -0
- package/dist/buttons/effects/icon/iconMorph.d.ts +15 -0
- package/dist/buttons/effects/icon/iconMorph.js +38 -0
- package/dist/buttons/effects/icon/iconMorph.schema.d.ts +1 -0
- package/dist/buttons/effects/icon/iconMorph.schema.js +10 -0
- package/dist/buttons/effects/icon/iconNudge.d.ts +11 -0
- package/dist/buttons/effects/icon/iconNudge.js +21 -0
- package/dist/buttons/effects/icon/iconNudge.schema.d.ts +1 -0
- package/dist/buttons/effects/icon/iconNudge.schema.js +11 -0
- package/dist/buttons/effects/icon/iconReveal.d.ts +9 -0
- package/dist/buttons/effects/icon/iconReveal.js +37 -0
- package/dist/buttons/effects/icon/iconReveal.schema.d.ts +1 -0
- package/dist/buttons/effects/icon/iconReveal.schema.js +10 -0
- package/dist/buttons/effects/icon/icons.d.ts +4 -0
- package/dist/buttons/effects/icon/icons.js +11 -0
- package/dist/buttons/effects/idle/idleBreathe.d.ts +13 -0
- package/dist/buttons/effects/idle/idleBreathe.js +28 -0
- package/dist/buttons/effects/idle/idleBreathe.schema.d.ts +1 -0
- package/dist/buttons/effects/idle/idleBreathe.schema.js +12 -0
- package/dist/buttons/effects/idle/idleGrain.d.ts +13 -0
- package/dist/buttons/effects/idle/idleGrain.js +53 -0
- package/dist/buttons/effects/idle/idleGrain.schema.d.ts +1 -0
- package/dist/buttons/effects/idle/idleGrain.schema.js +12 -0
- package/dist/buttons/effects/idle/idlePing.d.ts +13 -0
- package/dist/buttons/effects/idle/idlePing.js +29 -0
- package/dist/buttons/effects/idle/idlePing.schema.d.ts +1 -0
- package/dist/buttons/effects/idle/idlePing.schema.js +12 -0
- package/dist/buttons/effects/idle/idleWiggle.d.ts +9 -0
- package/dist/buttons/effects/idle/idleWiggle.js +28 -0
- package/dist/buttons/effects/idle/idleWiggle.schema.d.ts +1 -0
- package/dist/buttons/effects/idle/idleWiggle.schema.js +10 -0
- package/dist/buttons/effects/kit.d.ts +74 -0
- package/dist/buttons/effects/kit.js +87 -0
- package/dist/buttons/effects/label/labelFall.d.ts +9 -0
- package/dist/buttons/effects/label/labelFall.js +22 -0
- package/dist/buttons/effects/label/labelFall.schema.d.ts +1 -0
- package/dist/buttons/effects/label/labelFall.schema.js +10 -0
- package/dist/buttons/effects/label/labelRoll.d.ts +9 -0
- package/dist/buttons/effects/label/labelRoll.js +29 -0
- package/dist/buttons/effects/label/labelRoll.schema.d.ts +1 -0
- package/dist/buttons/effects/label/labelRoll.schema.js +10 -0
- package/dist/buttons/effects/label/labelScramble.d.ts +13 -0
- package/dist/buttons/effects/label/labelScramble.js +39 -0
- package/dist/buttons/effects/label/labelScramble.schema.d.ts +1 -0
- package/dist/buttons/effects/label/labelScramble.schema.js +11 -0
- package/dist/buttons/effects/label/labelShiny.d.ts +9 -0
- package/dist/buttons/effects/label/labelShiny.js +26 -0
- package/dist/buttons/effects/label/labelShiny.schema.d.ts +1 -0
- package/dist/buttons/effects/label/labelShiny.schema.js +10 -0
- package/dist/buttons/effects/label/labelSwap.d.ts +9 -0
- package/dist/buttons/effects/label/labelSwap.js +27 -0
- package/dist/buttons/effects/label/labelSwap.schema.d.ts +1 -0
- package/dist/buttons/effects/label/labelSwap.schema.js +10 -0
- package/dist/buttons/effects/press/pressBurst.d.ts +13 -0
- package/dist/buttons/effects/press/pressBurst.js +13 -0
- package/dist/buttons/effects/press/pressBurst.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressBurst.schema.js +13 -0
- package/dist/buttons/effects/press/pressConfetti.d.ts +15 -0
- package/dist/buttons/effects/press/pressConfetti.js +14 -0
- package/dist/buttons/effects/press/pressConfetti.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressConfetti.schema.js +14 -0
- package/dist/buttons/effects/press/pressJelly.d.ts +9 -0
- package/dist/buttons/effects/press/pressJelly.js +26 -0
- package/dist/buttons/effects/press/pressJelly.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressJelly.schema.js +10 -0
- package/dist/buttons/effects/press/pressRipple.d.ts +9 -0
- package/dist/buttons/effects/press/pressRipple.js +32 -0
- package/dist/buttons/effects/press/pressRipple.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressRipple.schema.js +10 -0
- package/dist/buttons/effects/press/pressScale.d.ts +9 -0
- package/dist/buttons/effects/press/pressScale.js +12 -0
- package/dist/buttons/effects/press/pressScale.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressScale.schema.js +10 -0
- package/dist/buttons/effects/press/pressSpark.d.ts +13 -0
- package/dist/buttons/effects/press/pressSpark.js +13 -0
- package/dist/buttons/effects/press/pressSpark.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressSpark.schema.js +12 -0
- package/dist/buttons/effects/press/pressSpray.d.ts +16 -0
- package/dist/buttons/effects/press/pressSpray.js +69 -0
- package/dist/buttons/effects/press/pressSpray.schema.d.ts +1 -0
- package/dist/buttons/effects/press/pressSpray.schema.js +13 -0
- package/dist/buttons/effects/press/stateShake.d.ts +12 -0
- package/dist/buttons/effects/press/stateShake.js +30 -0
- package/dist/buttons/effects/press/stateShake.schema.d.ts +1 -0
- package/dist/buttons/effects/press/stateShake.schema.js +10 -0
- package/dist/buttons/effects/press/throw.d.ts +10 -0
- package/dist/buttons/effects/press/throw.js +40 -0
- package/dist/buttons/effects/state/icons.d.ts +9 -0
- package/dist/buttons/effects/state/icons.js +35 -0
- package/dist/buttons/effects/state/kit.d.ts +2 -0
- package/dist/buttons/effects/state/kit.js +21 -0
- package/dist/buttons/effects/state/stateCopy.d.ts +14 -0
- package/dist/buttons/effects/state/stateCopy.js +28 -0
- package/dist/buttons/effects/state/stateCopy.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateCopy.schema.js +9 -0
- package/dist/buttons/effects/state/stateHold.d.ts +12 -0
- package/dist/buttons/effects/state/stateHold.js +36 -0
- package/dist/buttons/effects/state/stateHold.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateHold.schema.js +10 -0
- package/dist/buttons/effects/state/stateMorph.d.ts +14 -0
- package/dist/buttons/effects/state/stateMorph.js +62 -0
- package/dist/buttons/effects/state/stateMorph.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateMorph.schema.js +11 -0
- package/dist/buttons/effects/state/stateProgress.d.ts +12 -0
- package/dist/buttons/effects/state/stateProgress.js +38 -0
- package/dist/buttons/effects/state/stateProgress.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateProgress.schema.js +10 -0
- package/dist/buttons/effects/state/stateRing.d.ts +7 -0
- package/dist/buttons/effects/state/stateRing.js +32 -0
- package/dist/buttons/effects/state/stateRing.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateRing.schema.js +9 -0
- package/dist/buttons/effects/state/stateSpinner.d.ts +7 -0
- package/dist/buttons/effects/state/stateSpinner.js +17 -0
- package/dist/buttons/effects/state/stateSpinner.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateSpinner.schema.js +9 -0
- package/dist/buttons/effects/state/stateSwap.d.ts +10 -0
- package/dist/buttons/effects/state/stateSwap.js +29 -0
- package/dist/buttons/effects/state/stateSwap.schema.d.ts +1 -0
- package/dist/buttons/effects/state/stateSwap.schema.js +9 -0
- package/dist/buttons/pick.d.ts +5 -0
- package/dist/buttons/pick.js +16 -0
- package/dist/buttons/registry.d.ts +4 -0
- package/dist/buttons/registry.js +91 -0
- package/dist/buttons/runtime/attachPointer.d.ts +2 -0
- package/dist/buttons/runtime/attachPointer.js +59 -0
- package/dist/buttons/runtime/attachPress.d.ts +4 -0
- package/dist/buttons/runtime/attachPress.js +94 -0
- package/dist/buttons/runtime/burst.d.ts +3 -0
- package/dist/buttons/runtime/burst.js +76 -0
- package/dist/buttons/runtime/dev.d.ts +2 -0
- package/dist/buttons/runtime/dev.js +8 -0
- package/dist/buttons/runtime/particles.d.ts +55 -0
- package/dist/buttons/runtime/particles.js +98 -0
- package/dist/buttons/runtime/playLabel.d.ts +8 -0
- package/dist/buttons/runtime/playLabel.js +49 -0
- package/dist/buttons/runtime/pointer.d.ts +13 -0
- package/dist/buttons/runtime/pointer.js +30 -0
- package/dist/buttons/runtime/press.d.ts +8 -0
- package/dist/buttons/runtime/press.js +13 -0
- package/dist/buttons/runtime/refract.d.ts +8 -0
- package/dist/buttons/runtime/refract.js +222 -0
- package/dist/buttons/runtime/split.d.ts +1 -0
- package/dist/buttons/runtime/split.js +3 -0
- package/dist/buttons/runtime/state.d.ts +8 -0
- package/dist/buttons/runtime/state.js +17 -0
- package/dist/buttons/runtime/useButtonAction.d.ts +26 -0
- package/dist/buttons/runtime/useButtonAction.js +83 -0
- package/dist/buttons/runtime/useButtonPointer.d.ts +6 -0
- package/dist/buttons/runtime/useButtonPointer.js +23 -0
- package/dist/buttons/runtime/useButtonPress.d.ts +6 -0
- package/dist/buttons/runtime/useButtonPress.js +23 -0
- package/dist/buttons/runtime/useButtonTier.d.ts +7 -0
- package/dist/buttons/runtime/useButtonTier.js +30 -0
- package/dist/buttons/runtime/useIdlePause.d.ts +6 -0
- package/dist/buttons/runtime/useIdlePause.js +32 -0
- package/dist/buttons/types.d.ts +127 -0
- package/dist/buttons/types.js +7 -0
- package/dist/carousel/config.d.ts +120 -0
- package/dist/carousel/config.js +61 -0
- package/dist/carousel/config.schema.d.ts +21 -0
- package/dist/carousel/config.schema.js +95 -0
- package/dist/carousel/engine/handle.d.ts +154 -0
- package/dist/carousel/engine/handle.js +114 -0
- package/dist/carousel/engine/math.d.ts +1 -0
- package/dist/carousel/engine/math.js +1 -0
- package/dist/carousel/engine/morph.d.ts +55 -0
- package/dist/carousel/engine/morph.js +95 -0
- package/dist/carousel/engine/presence.d.ts +27 -0
- package/dist/carousel/engine/presence.js +41 -0
- package/dist/carousel/engine/ring.d.ts +72 -0
- package/dist/carousel/engine/ring.js +105 -0
- package/dist/carousel/engine/types.d.ts +115 -0
- package/dist/carousel/engine/types.js +53 -0
- package/dist/carousel/engine/useCarouselEngine.d.ts +10 -0
- package/dist/carousel/engine/useCarouselEngine.js +543 -0
- package/dist/carousel/engine/useMetrics.d.ts +35 -0
- package/dist/carousel/engine/useMetrics.js +120 -0
- package/dist/carousel/engine/viewSwap.d.ts +15 -0
- package/dist/carousel/engine/viewSwap.js +45 -0
- package/dist/carousel/input/useAutoplay.d.ts +16 -0
- package/dist/carousel/input/useAutoplay.js +43 -0
- package/dist/carousel/input/useDrag.d.ts +19 -0
- package/dist/carousel/input/useDrag.js +125 -0
- package/dist/carousel/input/useScrollLink.d.ts +37 -0
- package/dist/carousel/input/useScrollLink.js +69 -0
- package/dist/carousel/layout/curve.d.ts +23 -0
- package/dist/carousel/layout/curve.js +35 -0
- package/dist/carousel/layout/modifiers/converge.d.ts +33 -0
- package/dist/carousel/layout/modifiers/converge.js +34 -0
- package/dist/carousel/layout/modifiers/curve.d.ts +20 -0
- package/dist/carousel/layout/modifiers/curve.js +19 -0
- package/dist/carousel/layout/modifiers/pack.d.ts +24 -0
- package/dist/carousel/layout/modifiers/pack.js +35 -0
- package/dist/carousel/layout/modifiers/place3d.d.ts +54 -0
- package/dist/carousel/layout/modifiers/place3d.js +102 -0
- package/dist/carousel/layout/modifiers/scaleCurve.d.ts +10 -0
- package/dist/carousel/layout/modifiers/scaleCurve.js +24 -0
- package/dist/carousel/layout/modifiers/speed.d.ts +37 -0
- package/dist/carousel/layout/modifiers/speed.js +52 -0
- package/dist/carousel/layout/modifiers/speed.schema.d.ts +2 -0
- package/dist/carousel/layout/modifiers/speed.schema.js +21 -0
- package/dist/carousel/layout/modifiers/stack.d.ts +30 -0
- package/dist/carousel/layout/modifiers/stack.js +40 -0
- package/dist/carousel/layout/modifiers/track.d.ts +21 -0
- package/dist/carousel/layout/modifiers/track.js +22 -0
- package/dist/carousel/layout/open.d.ts +67 -0
- package/dist/carousel/layout/open.js +118 -0
- package/dist/carousel/layout/open.schema.d.ts +3 -0
- package/dist/carousel/layout/open.schema.js +38 -0
- package/dist/carousel/layout/presence.d.ts +64 -0
- package/dist/carousel/layout/presence.js +102 -0
- package/dist/carousel/layout/presence.schema.d.ts +5 -0
- package/dist/carousel/layout/presence.schema.js +49 -0
- package/dist/carousel/layout/presets/barrel.d.ts +33 -0
- package/dist/carousel/layout/presets/barrel.js +62 -0
- package/dist/carousel/layout/presets/barrel.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/barrel.schema.js +17 -0
- package/dist/carousel/layout/presets/coverflow.d.ts +26 -0
- package/dist/carousel/layout/presets/coverflow.js +31 -0
- package/dist/carousel/layout/presets/coverflow.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/coverflow.schema.js +12 -0
- package/dist/carousel/layout/presets/deck.d.ts +14 -0
- package/dist/carousel/layout/presets/deck.js +19 -0
- package/dist/carousel/layout/presets/deck.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/deck.schema.js +10 -0
- package/dist/carousel/layout/presets/expo.d.ts +16 -0
- package/dist/carousel/layout/presets/expo.js +25 -0
- package/dist/carousel/layout/presets/expo.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/expo.schema.js +11 -0
- package/dist/carousel/layout/presets/fallAway.d.ts +28 -0
- package/dist/carousel/layout/presets/fallAway.js +45 -0
- package/dist/carousel/layout/presets/fallAway.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/fallAway.schema.js +16 -0
- package/dist/carousel/layout/presets/fan.d.ts +17 -0
- package/dist/carousel/layout/presets/fan.js +20 -0
- package/dist/carousel/layout/presets/fan.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/fan.schema.js +12 -0
- package/dist/carousel/layout/presets/helix.d.ts +32 -0
- package/dist/carousel/layout/presets/helix.js +62 -0
- package/dist/carousel/layout/presets/helix.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/helix.schema.js +14 -0
- package/dist/carousel/layout/presets/material.d.ts +19 -0
- package/dist/carousel/layout/presets/material.js +50 -0
- package/dist/carousel/layout/presets/material.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/material.schema.js +11 -0
- package/dist/carousel/layout/presets/panorama.d.ts +28 -0
- package/dist/carousel/layout/presets/panorama.js +57 -0
- package/dist/carousel/layout/presets/panorama.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/panorama.schema.js +11 -0
- package/dist/carousel/layout/presets/ring.d.ts +33 -0
- package/dist/carousel/layout/presets/ring.js +58 -0
- package/dist/carousel/layout/presets/ring.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/ring.schema.js +17 -0
- package/dist/carousel/layout/presets/scale.d.ts +18 -0
- package/dist/carousel/layout/presets/scale.js +23 -0
- package/dist/carousel/layout/presets/scale.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/scale.schema.js +12 -0
- package/dist/carousel/layout/presets/sphere.d.ts +78 -0
- package/dist/carousel/layout/presets/sphere.js +167 -0
- package/dist/carousel/layout/presets/sphere.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/sphere.schema.js +14 -0
- package/dist/carousel/layout/presets/spotlight.d.ts +15 -0
- package/dist/carousel/layout/presets/spotlight.js +21 -0
- package/dist/carousel/layout/presets/spotlight.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/spotlight.schema.js +11 -0
- package/dist/carousel/layout/presets/staircase.d.ts +33 -0
- package/dist/carousel/layout/presets/staircase.js +50 -0
- package/dist/carousel/layout/presets/staircase.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/staircase.schema.js +17 -0
- package/dist/carousel/layout/presets/superFlow.d.ts +20 -0
- package/dist/carousel/layout/presets/superFlow.js +45 -0
- package/dist/carousel/layout/presets/superFlow.schema.d.ts +1 -0
- package/dist/carousel/layout/presets/superFlow.schema.js +12 -0
- package/dist/carousel/layout/presets/wave.d.ts +19 -0
- package/dist/carousel/layout/presets/wave.js +23 -0
- package/dist/carousel/layout/presets/wave.schema.d.ts +2 -0
- package/dist/carousel/layout/presets/wave.schema.js +8 -0
- package/dist/carousel/layout/types.d.ts +103 -0
- package/dist/carousel/layout/types.js +91 -0
- package/dist/carousel/parts/Panel.d.ts +19 -0
- package/dist/carousel/parts/Panel.js +53 -0
- package/dist/carousel/parts/Parallax.d.ts +22 -0
- package/dist/carousel/parts/Parallax.js +18 -0
- package/dist/carousel/parts/Root.d.ts +41 -0
- package/dist/carousel/parts/Root.js +115 -0
- package/dist/carousel/parts/Shader.d.ts +32 -0
- package/dist/carousel/parts/Shader.js +63 -0
- package/dist/carousel/parts/Slot.d.ts +59 -0
- package/dist/carousel/parts/Slot.js +93 -0
- package/dist/carousel/parts/Track.d.ts +21 -0
- package/dist/carousel/parts/Track.js +26 -0
- package/dist/carousel/parts/Viewport.d.ts +33 -0
- package/dist/carousel/parts/Viewport.js +53 -0
- package/dist/carousel/parts/Window.d.ts +28 -0
- package/dist/carousel/parts/Window.js +53 -0
- package/dist/carousel/parts/index.d.ts +34 -0
- package/dist/carousel/parts/index.js +26 -0
- package/dist/carousel/physics/landing.d.ts +16 -0
- package/dist/carousel/physics/landing.js +25 -0
- package/dist/carousel/physics/policies.d.ts +43 -0
- package/dist/carousel/physics/policies.js +60 -0
- package/dist/carousel/physics/policies.schema.d.ts +9 -0
- package/dist/carousel/physics/policies.schema.js +41 -0
- package/dist/carousel/physics/rubberband.d.ts +10 -0
- package/dist/carousel/physics/rubberband.js +18 -0
- package/dist/carousel/physics/types.d.ts +52 -0
- package/dist/carousel/physics/types.js +1 -0
- package/dist/carousel/slot/context.d.ts +42 -0
- package/dist/carousel/slot/context.js +69 -0
- package/dist/carousel/slot/useSlotWriter.d.ts +65 -0
- package/dist/carousel/slot/useSlotWriter.js +163 -0
- package/dist/carousel/types.d.ts +25 -0
- package/dist/carousel/types.js +20 -0
- package/dist/gpu/surface.d.ts +46 -0
- package/dist/gpu/surface.js +127 -0
- package/dist/grid/Grid.schema.d.ts +6 -0
- package/dist/grid/Grid.schema.js +66 -0
- package/dist/grid/Panel.d.ts +19 -0
- package/dist/grid/Panel.js +32 -0
- package/dist/grid/Root.d.ts +17 -0
- package/dist/grid/Root.js +14 -0
- package/dist/grid/Viewport.d.ts +49 -0
- package/dist/grid/Viewport.js +479 -0
- package/dist/grid/context.d.ts +26 -0
- package/dist/grid/context.js +21 -0
- package/dist/grid/defaults.d.ts +21 -0
- package/dist/grid/defaults.js +23 -0
- package/dist/grid/index.d.ts +17 -0
- package/dist/grid/index.js +10 -0
- package/dist/grid/math.d.ts +107 -0
- package/dist/grid/math.js +265 -0
- package/dist/grid/modifiers.d.ts +25 -0
- package/dist/grid/modifiers.js +35 -0
- package/dist/grid/open.d.ts +66 -0
- package/dist/grid/open.js +121 -0
- package/dist/grid/open.schema.d.ts +3 -0
- package/dist/grid/open.schema.js +31 -0
- package/dist/grid/pose.d.ts +35 -0
- package/dist/grid/pose.js +41 -0
- package/dist/grid/types.d.ts +50 -0
- package/dist/grid/types.js +1 -0
- package/dist/grid/useGridEngine.d.ts +126 -0
- package/dist/grid/useGridEngine.js +270 -0
- package/dist/index.d.ts +697 -0
- package/dist/index.js +373 -0
- package/dist/schema/backgrounds.d.ts +2 -0
- package/dist/schema/backgrounds.js +187 -0
- package/dist/schema/buttons.d.ts +3 -0
- package/dist/schema/buttons.js +158 -0
- package/dist/schema/carousel.d.ts +14 -0
- package/dist/schema/carousel.js +73 -0
- package/dist/schema/common.d.ts +41 -0
- package/dist/schema/common.js +109 -0
- package/dist/schema/define.d.ts +29 -0
- package/dist/schema/define.js +27 -0
- package/dist/schema/grid.d.ts +5 -0
- package/dist/schema/grid.js +12 -0
- package/dist/schema/helpers.d.ts +34 -0
- package/dist/schema/helpers.js +183 -0
- package/dist/schema/index.d.ts +41 -0
- package/dist/schema/index.js +61 -0
- package/dist/schema/scroll.d.ts +2 -0
- package/dist/schema/scroll.js +16 -0
- package/dist/schema/text.d.ts +3 -0
- package/dist/schema/text.js +150 -0
- package/dist/schema/textParts.d.ts +4 -0
- package/dist/schema/textParts.js +8 -0
- package/dist/schema/ticker.d.ts +3 -0
- package/dist/schema/ticker.js +3 -0
- package/dist/schema/transitions.d.ts +5 -0
- package/dist/schema/transitions.js +96 -0
- package/dist/schema/types.d.ts +182 -0
- package/dist/schema/types.js +27 -0
- package/dist/sections/about/About.d.ts +54 -0
- package/dist/sections/about/About.js +56 -0
- package/dist/sections/about/index.d.ts +16 -0
- package/dist/sections/about/index.js +10 -0
- package/dist/sections/about/layouts.d.ts +3 -0
- package/dist/sections/about/layouts.js +3 -0
- package/dist/sections/contact/Contact.d.ts +60 -0
- package/dist/sections/contact/Contact.js +51 -0
- package/dist/sections/contact/index.d.ts +17 -0
- package/dist/sections/contact/index.js +10 -0
- package/dist/sections/contact/layouts.d.ts +3 -0
- package/dist/sections/contact/layouts.js +3 -0
- package/dist/sections/hero/Hero.d.ts +58 -0
- package/dist/sections/hero/Hero.js +55 -0
- package/dist/sections/hero/index.d.ts +20 -0
- package/dist/sections/hero/index.js +14 -0
- package/dist/sections/hero/layouts.d.ts +3 -0
- package/dist/sections/hero/layouts.js +3 -0
- package/dist/sections/services/Services.d.ts +55 -0
- package/dist/sections/services/Services.js +38 -0
- package/dist/sections/services/index.d.ts +15 -0
- package/dist/sections/services/index.js +10 -0
- package/dist/sections/services/layouts.d.ts +3 -0
- package/dist/sections/services/layouts.js +3 -0
- package/dist/sections/shared/Heading.d.ts +15 -0
- package/dist/sections/shared/Heading.js +13 -0
- package/dist/sections/shared/MediaView.d.ts +6 -0
- package/dist/sections/shared/MediaView.js +12 -0
- package/dist/sections/shared/attrs.d.ts +7 -0
- package/dist/sections/shared/attrs.js +21 -0
- package/dist/sections/shared/context.d.ts +66 -0
- package/dist/sections/shared/context.js +57 -0
- package/dist/sections/shared/reveal.d.ts +55 -0
- package/dist/sections/shared/reveal.js +59 -0
- package/dist/sections/shared/stat.d.ts +18 -0
- package/dist/sections/shared/stat.js +47 -0
- package/dist/sections/shared/types.d.ts +46 -0
- package/dist/sections/shared/types.js +1 -0
- package/dist/text/Text.d.ts +36 -0
- package/dist/text/Text.js +246 -0
- package/dist/text/base.d.ts +1 -0
- package/dist/text/base.js +86 -0
- package/dist/text/cycle/WordCycle.d.ts +40 -0
- package/dist/text/cycle/WordCycle.js +179 -0
- package/dist/text/cycle/WordCycle.schema.d.ts +1 -0
- package/dist/text/cycle/WordCycle.schema.js +28 -0
- package/dist/text/cycle/css.d.ts +5 -0
- package/dist/text/cycle/css.js +158 -0
- package/dist/text/effects/decode/decodeBinary.d.ts +5 -0
- package/dist/text/effects/decode/decodeBinary.js +5 -0
- package/dist/text/effects/decode/decodeBinary.schema.d.ts +1 -0
- package/dist/text/effects/decode/decodeBinary.schema.js +11 -0
- package/dist/text/effects/decode/decodeHover.d.ts +8 -0
- package/dist/text/effects/decode/decodeHover.js +8 -0
- package/dist/text/effects/decode/decodeHover.schema.d.ts +1 -0
- package/dist/text/effects/decode/decodeHover.schema.js +12 -0
- package/dist/text/effects/decode/decodeReveal.d.ts +11 -0
- package/dist/text/effects/decode/decodeReveal.js +9 -0
- package/dist/text/effects/decode/decodeReveal.schema.d.ts +1 -0
- package/dist/text/effects/decode/decodeReveal.schema.js +13 -0
- package/dist/text/effects/decode/frame.d.ts +10 -0
- package/dist/text/effects/decode/frame.js +40 -0
- package/dist/text/effects/decode/kit.d.ts +23 -0
- package/dist/text/effects/decode/kit.js +34 -0
- package/dist/text/effects/decode/play.d.ts +13 -0
- package/dist/text/effects/decode/play.js +79 -0
- package/dist/text/effects/enter/enterAssemble.d.ts +12 -0
- package/dist/text/effects/enter/enterAssemble.js +15 -0
- package/dist/text/effects/enter/enterAssemble.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterAssemble.schema.js +15 -0
- package/dist/text/effects/enter/enterBlur.d.ts +8 -0
- package/dist/text/effects/enter/enterBlur.js +13 -0
- package/dist/text/effects/enter/enterBlur.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterBlur.schema.js +13 -0
- package/dist/text/effects/enter/enterBounce.d.ts +8 -0
- package/dist/text/effects/enter/enterBounce.js +8 -0
- package/dist/text/effects/enter/enterBounce.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterBounce.schema.js +13 -0
- package/dist/text/effects/enter/enterBox.d.ts +8 -0
- package/dist/text/effects/enter/enterBox.js +23 -0
- package/dist/text/effects/enter/enterBox.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterBox.schema.js +11 -0
- package/dist/text/effects/enter/enterFlip.d.ts +10 -0
- package/dist/text/effects/enter/enterFlip.js +20 -0
- package/dist/text/effects/enter/enterFlip.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterFlip.schema.js +14 -0
- package/dist/text/effects/enter/enterMask.d.ts +5 -0
- package/dist/text/effects/enter/enterMask.js +15 -0
- package/dist/text/effects/enter/enterMask.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterMask.schema.js +11 -0
- package/dist/text/effects/enter/enterPop.d.ts +5 -0
- package/dist/text/effects/enter/enterPop.js +8 -0
- package/dist/text/effects/enter/enterPop.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterPop.schema.js +12 -0
- package/dist/text/effects/enter/enterRandom.d.ts +8 -0
- package/dist/text/effects/enter/enterRandom.js +9 -0
- package/dist/text/effects/enter/enterRandom.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterRandom.schema.js +12 -0
- package/dist/text/effects/enter/enterRedact.d.ts +8 -0
- package/dist/text/effects/enter/enterRedact.js +22 -0
- package/dist/text/effects/enter/enterRedact.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterRedact.schema.js +13 -0
- package/dist/text/effects/enter/enterRise.d.ts +8 -0
- package/dist/text/effects/enter/enterRise.js +8 -0
- package/dist/text/effects/enter/enterRise.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterRise.schema.js +13 -0
- package/dist/text/effects/enter/enterSkeleton.d.ts +8 -0
- package/dist/text/effects/enter/enterSkeleton.js +24 -0
- package/dist/text/effects/enter/enterSkeleton.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterSkeleton.schema.js +13 -0
- package/dist/text/effects/enter/enterStamp.d.ts +8 -0
- package/dist/text/effects/enter/enterStamp.js +15 -0
- package/dist/text/effects/enter/enterStamp.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterStamp.schema.js +13 -0
- package/dist/text/effects/enter/enterTracking.d.ts +8 -0
- package/dist/text/effects/enter/enterTracking.js +11 -0
- package/dist/text/effects/enter/enterTracking.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterTracking.schema.js +11 -0
- package/dist/text/effects/enter/enterWords.d.ts +5 -0
- package/dist/text/effects/enter/enterWords.js +9 -0
- package/dist/text/effects/enter/enterWords.schema.d.ts +1 -0
- package/dist/text/effects/enter/enterWords.schema.js +12 -0
- package/dist/text/effects/enter/kit.d.ts +33 -0
- package/dist/text/effects/enter/kit.js +19 -0
- package/dist/text/effects/ink/inkAurora.d.ts +11 -0
- package/dist/text/effects/ink/inkAurora.js +41 -0
- package/dist/text/effects/ink/inkAurora.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkAurora.schema.js +12 -0
- package/dist/text/effects/ink/inkColourful.d.ts +9 -0
- package/dist/text/effects/ink/inkColourful.js +17 -0
- package/dist/text/effects/ink/inkColourful.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkColourful.schema.js +10 -0
- package/dist/text/effects/ink/inkDots.d.ts +9 -0
- package/dist/text/effects/ink/inkDots.js +13 -0
- package/dist/text/effects/ink/inkDots.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkDots.schema.js +10 -0
- package/dist/text/effects/ink/inkFoil.d.ts +7 -0
- package/dist/text/effects/ink/inkFoil.js +26 -0
- package/dist/text/effects/ink/inkFoil.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkFoil.schema.js +9 -0
- package/dist/text/effects/ink/inkGradient.d.ts +9 -0
- package/dist/text/effects/ink/inkGradient.js +21 -0
- package/dist/text/effects/ink/inkGradient.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkGradient.schema.js +11 -0
- package/dist/text/effects/ink/inkGrain.d.ts +7 -0
- package/dist/text/effects/ink/inkGrain.js +16 -0
- package/dist/text/effects/ink/inkGrain.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkGrain.schema.js +10 -0
- package/dist/text/effects/ink/inkImage.d.ts +9 -0
- package/dist/text/effects/ink/inkImage.js +21 -0
- package/dist/text/effects/ink/inkImage.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkImage.schema.js +10 -0
- package/dist/text/effects/ink/inkLineShadow.d.ts +11 -0
- package/dist/text/effects/ink/inkLineShadow.js +32 -0
- package/dist/text/effects/ink/inkLineShadow.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkLineShadow.schema.js +11 -0
- package/dist/text/effects/ink/inkLines.d.ts +13 -0
- package/dist/text/effects/ink/inkLines.js +14 -0
- package/dist/text/effects/ink/inkLines.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkLines.schema.js +13 -0
- package/dist/text/effects/ink/inkNeon.d.ts +9 -0
- package/dist/text/effects/ink/inkNeon.js +26 -0
- package/dist/text/effects/ink/inkNeon.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkNeon.schema.js +10 -0
- package/dist/text/effects/ink/inkProgress.d.ts +9 -0
- package/dist/text/effects/ink/inkProgress.js +25 -0
- package/dist/text/effects/ink/inkProgress.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkProgress.schema.js +10 -0
- package/dist/text/effects/ink/inkShiny.d.ts +13 -0
- package/dist/text/effects/ink/inkShiny.js +27 -0
- package/dist/text/effects/ink/inkShiny.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkShiny.schema.js +12 -0
- package/dist/text/effects/ink/inkSparkles.d.ts +11 -0
- package/dist/text/effects/ink/inkSparkles.js +39 -0
- package/dist/text/effects/ink/inkSparkles.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkSparkles.schema.js +12 -0
- package/dist/text/effects/ink/inkSweep.d.ts +13 -0
- package/dist/text/effects/ink/inkSweep.js +33 -0
- package/dist/text/effects/ink/inkSweep.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkSweep.schema.js +13 -0
- package/dist/text/effects/ink/inkVideo.d.ts +11 -0
- package/dist/text/effects/ink/inkVideo.js +23 -0
- package/dist/text/effects/ink/inkVideo.schema.d.ts +1 -0
- package/dist/text/effects/ink/inkVideo.schema.js +11 -0
- package/dist/text/effects/ink/kit.d.ts +26 -0
- package/dist/text/effects/ink/kit.js +47 -0
- package/dist/text/effects/ink/lines.d.ts +8 -0
- package/dist/text/effects/ink/lines.js +123 -0
- package/dist/text/effects/kit.d.ts +115 -0
- package/dist/text/effects/kit.js +144 -0
- package/dist/text/effects/pointer/hit.d.ts +6 -0
- package/dist/text/effects/pointer/hit.js +34 -0
- package/dist/text/effects/pointer/kit.d.ts +15 -0
- package/dist/text/effects/pointer/kit.js +22 -0
- package/dist/text/effects/pointer/near.d.ts +18 -0
- package/dist/text/effects/pointer/near.js +89 -0
- package/dist/text/effects/pointer/pointerJello.d.ts +12 -0
- package/dist/text/effects/pointer/pointerJello.js +30 -0
- package/dist/text/effects/pointer/pointerJello.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerJello.schema.js +10 -0
- package/dist/text/effects/pointer/pointerPressure.d.ts +14 -0
- package/dist/text/effects/pointer/pointerPressure.js +38 -0
- package/dist/text/effects/pointer/pointerPressure.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerPressure.schema.js +11 -0
- package/dist/text/effects/pointer/pointerProximity.d.ts +18 -0
- package/dist/text/effects/pointer/pointerProximity.js +40 -0
- package/dist/text/effects/pointer/pointerProximity.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerProximity.schema.js +18 -0
- package/dist/text/effects/pointer/pointerRipple.d.ts +14 -0
- package/dist/text/effects/pointer/pointerRipple.js +63 -0
- package/dist/text/effects/pointer/pointerRipple.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerRipple.schema.js +11 -0
- package/dist/text/effects/pointer/pointerRoll.d.ts +9 -0
- package/dist/text/effects/pointer/pointerRoll.js +27 -0
- package/dist/text/effects/pointer/pointerRoll.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerRoll.schema.js +10 -0
- package/dist/text/effects/pointer/pointerShadow.d.ts +11 -0
- package/dist/text/effects/pointer/pointerShadow.js +33 -0
- package/dist/text/effects/pointer/pointerShadow.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerShadow.schema.js +11 -0
- package/dist/text/effects/pointer/pointerSpotlight.d.ts +11 -0
- package/dist/text/effects/pointer/pointerSpotlight.js +33 -0
- package/dist/text/effects/pointer/pointerSpotlight.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerSpotlight.schema.js +11 -0
- package/dist/text/effects/pointer/pointerTilt.d.ts +9 -0
- package/dist/text/effects/pointer/pointerTilt.js +21 -0
- package/dist/text/effects/pointer/pointerTilt.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerTilt.schema.js +10 -0
- package/dist/text/effects/pointer/pointerTrail.d.ts +18 -0
- package/dist/text/effects/pointer/pointerTrail.js +83 -0
- package/dist/text/effects/pointer/pointerTrail.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerTrail.schema.js +13 -0
- package/dist/text/effects/pointer/pointerWave.d.ts +11 -0
- package/dist/text/effects/pointer/pointerWave.js +23 -0
- package/dist/text/effects/pointer/pointerWave.schema.d.ts +1 -0
- package/dist/text/effects/pointer/pointerWave.schema.js +11 -0
- package/dist/text/effects/scrub/scrubCylinder.d.ts +11 -0
- package/dist/text/effects/scrub/scrubCylinder.js +24 -0
- package/dist/text/effects/scrub/scrubCylinder.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubCylinder.schema.js +11 -0
- package/dist/text/effects/scrub/scrubFloat.d.ts +9 -0
- package/dist/text/effects/scrub/scrubFloat.js +14 -0
- package/dist/text/effects/scrub/scrubFloat.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubFloat.schema.js +10 -0
- package/dist/text/effects/scrub/scrubHighlight.d.ts +11 -0
- package/dist/text/effects/scrub/scrubHighlight.js +22 -0
- package/dist/text/effects/scrub/scrubHighlight.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubHighlight.schema.js +11 -0
- package/dist/text/effects/scrub/scrubMarker.d.ts +13 -0
- package/dist/text/effects/scrub/scrubMarker.js +29 -0
- package/dist/text/effects/scrub/scrubMarker.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubMarker.schema.js +12 -0
- package/dist/text/effects/scrub/scrubParallax.d.ts +7 -0
- package/dist/text/effects/scrub/scrubParallax.js +15 -0
- package/dist/text/effects/scrub/scrubParallax.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubParallax.schema.js +9 -0
- package/dist/text/effects/scrub/scrubPin.d.ts +11 -0
- package/dist/text/effects/scrub/scrubPin.js +39 -0
- package/dist/text/effects/scrub/scrubPin.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubPin.schema.js +11 -0
- package/dist/text/effects/scrub/scrubSkew.d.ts +9 -0
- package/dist/text/effects/scrub/scrubSkew.js +37 -0
- package/dist/text/effects/scrub/scrubSkew.schema.d.ts +1 -0
- package/dist/text/effects/scrub/scrubSkew.schema.js +10 -0
- package/dist/text/effects/solid/fall.d.ts +26 -0
- package/dist/text/effects/solid/fall.js +91 -0
- package/dist/text/effects/solid/particles.d.ts +7 -0
- package/dist/text/effects/solid/particles.js +137 -0
- package/dist/text/effects/solid/solidEcho.d.ts +15 -0
- package/dist/text/effects/solid/solidEcho.js +44 -0
- package/dist/text/effects/solid/solidEcho.schema.d.ts +1 -0
- package/dist/text/effects/solid/solidEcho.schema.js +13 -0
- package/dist/text/effects/solid/solidFall.d.ts +16 -0
- package/dist/text/effects/solid/solidFall.js +23 -0
- package/dist/text/effects/solid/solidFall.schema.d.ts +1 -0
- package/dist/text/effects/solid/solidFall.schema.js +11 -0
- package/dist/text/effects/solid/solidLayers.d.ts +13 -0
- package/dist/text/effects/solid/solidLayers.js +41 -0
- package/dist/text/effects/solid/solidLayers.schema.d.ts +1 -0
- package/dist/text/effects/solid/solidLayers.schema.js +12 -0
- package/dist/text/effects/solid/solidParticles.d.ts +12 -0
- package/dist/text/effects/solid/solidParticles.js +23 -0
- package/dist/text/effects/solid/solidParticles.schema.d.ts +1 -0
- package/dist/text/effects/solid/solidParticles.schema.js +10 -0
- package/dist/text/effects/solid/solidShadow.d.ts +13 -0
- package/dist/text/effects/solid/solidShadow.js +39 -0
- package/dist/text/effects/solid/solidShadow.schema.d.ts +1 -0
- package/dist/text/effects/solid/solidShadow.schema.js +12 -0
- package/dist/text/effects/stroke/strokeComic.d.ts +13 -0
- package/dist/text/effects/stroke/strokeComic.js +26 -0
- package/dist/text/effects/stroke/strokeComic.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeComic.schema.js +12 -0
- package/dist/text/effects/stroke/strokeDraw.d.ts +13 -0
- package/dist/text/effects/stroke/strokeDraw.js +38 -0
- package/dist/text/effects/stroke/strokeDraw.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeDraw.schema.js +12 -0
- package/dist/text/effects/stroke/strokeFill.d.ts +11 -0
- package/dist/text/effects/stroke/strokeFill.js +31 -0
- package/dist/text/effects/stroke/strokeFill.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeFill.schema.js +11 -0
- package/dist/text/effects/stroke/strokeGradient.d.ts +13 -0
- package/dist/text/effects/stroke/strokeGradient.js +35 -0
- package/dist/text/effects/stroke/strokeGradient.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeGradient.schema.js +12 -0
- package/dist/text/effects/stroke/strokeHandwrite.d.ts +17 -0
- package/dist/text/effects/stroke/strokeHandwrite.js +47 -0
- package/dist/text/effects/stroke/strokeHandwrite.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeHandwrite.schema.js +14 -0
- package/dist/text/effects/stroke/strokeNote.d.ts +18 -0
- package/dist/text/effects/stroke/strokeNote.js +79 -0
- package/dist/text/effects/stroke/strokeNote.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeNote.schema.js +15 -0
- package/dist/text/effects/stroke/strokeUnderline.d.ts +16 -0
- package/dist/text/effects/stroke/strokeUnderline.js +56 -0
- package/dist/text/effects/stroke/strokeUnderline.schema.d.ts +1 -0
- package/dist/text/effects/stroke/strokeUnderline.schema.js +11 -0
- package/dist/text/effects/warp/ascii.d.ts +9 -0
- package/dist/text/effects/warp/ascii.js +83 -0
- package/dist/text/effects/warp/fuzz.d.ts +8 -0
- package/dist/text/effects/warp/fuzz.js +62 -0
- package/dist/text/effects/warp/kit.d.ts +14 -0
- package/dist/text/effects/warp/kit.js +14 -0
- package/dist/text/effects/warp/shader.d.ts +7 -0
- package/dist/text/effects/warp/shader.js +177 -0
- package/dist/text/effects/warp/warpAscii.d.ts +14 -0
- package/dist/text/effects/warp/warpAscii.js +22 -0
- package/dist/text/effects/warp/warpAscii.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpAscii.schema.js +11 -0
- package/dist/text/effects/warp/warpFuzz.d.ts +14 -0
- package/dist/text/effects/warp/warpFuzz.js +32 -0
- package/dist/text/effects/warp/warpFuzz.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpFuzz.schema.js +11 -0
- package/dist/text/effects/warp/warpGlitch.d.ts +13 -0
- package/dist/text/effects/warp/warpGlitch.js +59 -0
- package/dist/text/effects/warp/warpGlitch.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpGlitch.schema.js +12 -0
- package/dist/text/effects/warp/warpGoo.d.ts +11 -0
- package/dist/text/effects/warp/warpGoo.js +46 -0
- package/dist/text/effects/warp/warpGoo.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpGoo.schema.js +13 -0
- package/dist/text/effects/warp/warpRgb.d.ts +11 -0
- package/dist/text/effects/warp/warpRgb.js +32 -0
- package/dist/text/effects/warp/warpRgb.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpRgb.schema.js +11 -0
- package/dist/text/effects/warp/warpShader.d.ts +12 -0
- package/dist/text/effects/warp/warpShader.js +27 -0
- package/dist/text/effects/warp/warpShader.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpShader.schema.js +10 -0
- package/dist/text/effects/warp/warpSquiggle.d.ts +12 -0
- package/dist/text/effects/warp/warpSquiggle.js +47 -0
- package/dist/text/effects/warp/warpSquiggle.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpSquiggle.schema.js +10 -0
- package/dist/text/effects/warp/warpWave.d.ts +14 -0
- package/dist/text/effects/warp/warpWave.js +36 -0
- package/dist/text/effects/warp/warpWave.schema.d.ts +1 -0
- package/dist/text/effects/warp/warpWave.schema.js +12 -0
- package/dist/text/number/NumberRoll.d.ts +49 -0
- package/dist/text/number/NumberRoll.js +198 -0
- package/dist/text/number/NumberRoll.schema.d.ts +1 -0
- package/dist/text/number/NumberRoll.schema.js +24 -0
- package/dist/text/number/css.d.ts +6 -0
- package/dist/text/number/css.js +38 -0
- package/dist/text/number/format.d.ts +28 -0
- package/dist/text/number/format.js +66 -0
- package/dist/text/order.d.ts +8 -0
- package/dist/text/order.js +35 -0
- package/dist/text/path/TextPath.d.ts +38 -0
- package/dist/text/path/TextPath.js +116 -0
- package/dist/text/registry.d.ts +4 -0
- package/dist/text/registry.js +87 -0
- package/dist/text/runtime/attachPointer.d.ts +6 -0
- package/dist/text/runtime/attachPointer.js +48 -0
- package/dist/text/runtime/canvasText.d.ts +45 -0
- package/dist/text/runtime/canvasText.js +108 -0
- package/dist/text/runtime/fit.d.ts +8 -0
- package/dist/text/runtime/fit.js +32 -0
- package/dist/text/runtime/loops.d.ts +8 -0
- package/dist/text/runtime/loops.js +27 -0
- package/dist/text/runtime/onScreen.d.ts +6 -0
- package/dist/text/runtime/onScreen.js +20 -0
- package/dist/text/runtime/paint.d.ts +5 -0
- package/dist/text/runtime/paint.js +25 -0
- package/dist/text/runtime/scrub.d.ts +8 -0
- package/dist/text/runtime/scrub.js +81 -0
- package/dist/text/runtime/slots.d.ts +9 -0
- package/dist/text/runtime/slots.js +4 -0
- package/dist/text/runtime/tier.d.ts +2 -0
- package/dist/text/runtime/tier.js +11 -0
- package/dist/text/runtime/useOnScreen.d.ts +6 -0
- package/dist/text/runtime/useOnScreen.js +42 -0
- package/dist/text/runtime/usePauseLoops.d.ts +13 -0
- package/dist/text/runtime/usePauseLoops.js +20 -0
- package/dist/text/runtime/useTextPointer.d.ts +6 -0
- package/dist/text/runtime/useTextPointer.js +15 -0
- package/dist/text/split.d.ts +22 -0
- package/dist/text/split.js +84 -0
- package/dist/text/three/Text3D.d.ts +34 -0
- package/dist/text/three/Text3D.js +158 -0
- package/dist/text/type/Typewriter.d.ts +42 -0
- package/dist/text/type/Typewriter.js +107 -0
- package/dist/text/type/Typewriter.schema.d.ts +1 -0
- package/dist/text/type/Typewriter.schema.js +33 -0
- package/dist/text/type/css.d.ts +9 -0
- package/dist/text/type/css.js +66 -0
- package/dist/text/type/timeline.d.ts +24 -0
- package/dist/text/type/timeline.js +41 -0
- package/dist/text/types.d.ts +142 -0
- package/dist/text/types.js +5 -0
- package/dist/three.d.ts +16 -0
- package/dist/three.js +17 -0
- package/dist/ticker/Ticker.d.ts +62 -0
- package/dist/ticker/Ticker.js +226 -0
- package/dist/ticker/Ticker.schema.d.ts +9 -0
- package/dist/ticker/Ticker.schema.js +31 -0
- package/dist/ticker/defaults.d.ts +14 -0
- package/dist/ticker/defaults.js +7 -0
- package/dist/ticker/math.d.ts +27 -0
- package/dist/ticker/math.js +46 -0
- package/dist/transitions/effects/css/blinds.schema.d.ts +1 -0
- package/dist/transitions/effects/css/blinds.schema.js +11 -0
- package/dist/transitions/effects/css/blurFade.schema.d.ts +1 -0
- package/dist/transitions/effects/css/blurFade.schema.js +10 -0
- package/dist/transitions/effects/css/blurSharp.d.ts +11 -0
- package/dist/transitions/effects/css/blurSharp.js +21 -0
- package/dist/transitions/effects/css/blurSharp.schema.d.ts +1 -0
- package/dist/transitions/effects/css/blurSharp.schema.js +9 -0
- package/dist/transitions/effects/css/colorBlock.d.ts +9 -0
- package/dist/transitions/effects/css/colorBlock.js +22 -0
- package/dist/transitions/effects/css/colorBlock.schema.d.ts +1 -0
- package/dist/transitions/effects/css/colorBlock.schema.js +10 -0
- package/dist/transitions/effects/css/columnWave.schema.d.ts +1 -0
- package/dist/transitions/effects/css/columnWave.schema.js +11 -0
- package/dist/transitions/effects/css/diagonal.d.ts +9 -0
- package/dist/transitions/effects/css/diagonal.js +17 -0
- package/dist/transitions/effects/css/diagonal.schema.d.ts +1 -0
- package/dist/transitions/effects/css/diagonal.schema.js +10 -0
- package/dist/transitions/effects/css/fadeUp.schema.d.ts +1 -0
- package/dist/transitions/effects/css/fadeUp.schema.js +10 -0
- package/dist/transitions/effects/css/gooey.schema.d.ts +1 -0
- package/dist/transitions/effects/css/gooey.schema.js +11 -0
- package/dist/transitions/effects/css/gradientMask.d.ts +10 -0
- package/dist/transitions/effects/css/gradientMask.js +17 -0
- package/dist/transitions/effects/css/gradientMask.schema.d.ts +1 -0
- package/dist/transitions/effects/css/gradientMask.schema.js +10 -0
- package/dist/transitions/effects/css/ink.schema.d.ts +1 -0
- package/dist/transitions/effects/css/ink.schema.js +21 -0
- package/dist/transitions/effects/css/iris.d.ts +13 -0
- package/dist/transitions/effects/css/iris.js +23 -0
- package/dist/transitions/effects/css/iris.schema.d.ts +1 -0
- package/dist/transitions/effects/css/iris.schema.js +9 -0
- package/dist/transitions/effects/css/kit.d.ts +39 -0
- package/dist/transitions/effects/css/kit.js +57 -0
- package/dist/transitions/effects/css/paint.d.ts +46 -0
- package/dist/transitions/effects/css/paint.js +160 -0
- package/dist/transitions/effects/css/pixelGrid.d.ts +21 -0
- package/dist/transitions/effects/css/pixelGrid.js +45 -0
- package/dist/transitions/effects/css/pixelGrid.schema.d.ts +1 -0
- package/dist/transitions/effects/css/pixelGrid.schema.js +13 -0
- package/dist/transitions/effects/css/randomGrid.schema.d.ts +1 -0
- package/dist/transitions/effects/css/randomGrid.schema.js +12 -0
- package/dist/transitions/effects/css/reveals.d.ts +23 -0
- package/dist/transitions/effects/css/reveals.js +47 -0
- package/dist/transitions/effects/css/shapes.d.ts +49 -0
- package/dist/transitions/effects/css/shapes.js +139 -0
- package/dist/transitions/effects/css/shutters.d.ts +13 -0
- package/dist/transitions/effects/css/shutters.js +24 -0
- package/dist/transitions/effects/css/shutters.schema.d.ts +1 -0
- package/dist/transitions/effects/css/shutters.schema.js +10 -0
- package/dist/transitions/effects/css/slicer.d.ts +14 -0
- package/dist/transitions/effects/css/slicer.js +47 -0
- package/dist/transitions/effects/css/slicer.schema.d.ts +1 -0
- package/dist/transitions/effects/css/slicer.schema.js +10 -0
- package/dist/transitions/effects/css/splitCurtain.d.ts +13 -0
- package/dist/transitions/effects/css/splitCurtain.js +39 -0
- package/dist/transitions/effects/css/splitCurtain.schema.d.ts +1 -0
- package/dist/transitions/effects/css/splitCurtain.schema.js +10 -0
- package/dist/transitions/effects/css/wipe.d.ts +8 -0
- package/dist/transitions/effects/css/wipe.js +16 -0
- package/dist/transitions/effects/css/wipe.schema.d.ts +1 -0
- package/dist/transitions/effects/css/wipe.schema.js +9 -0
- package/dist/transitions/effects/css/zoomOut.schema.d.ts +1 -0
- package/dist/transitions/effects/css/zoomOut.schema.js +9 -0
- package/dist/transitions/effects/shader/chromaticShift.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/chromaticShift.schema.js +12 -0
- package/dist/transitions/effects/shader/collection.d.ts +53 -0
- package/dist/transitions/effects/shader/collection.js +143 -0
- package/dist/transitions/effects/shader/crossZoom.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/crossZoom.schema.js +11 -0
- package/dist/transitions/effects/shader/directionalWarp.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/directionalWarp.schema.js +12 -0
- package/dist/transitions/effects/shader/displacement.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/displacement.schema.js +13 -0
- package/dist/transitions/effects/shader/dissolves.d.ts +20 -0
- package/dist/transitions/effects/shader/dissolves.js +52 -0
- package/dist/transitions/effects/shader/dreamy.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/dreamy.schema.js +12 -0
- package/dist/transitions/effects/shader/gridFlip.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/gridFlip.schema.js +13 -0
- package/dist/transitions/effects/shader/kit.d.ts +32 -0
- package/dist/transitions/effects/shader/kit.js +60 -0
- package/dist/transitions/effects/shader/liquidMorph.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/liquidMorph.schema.js +12 -0
- package/dist/transitions/effects/shader/morph.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/morph.schema.js +11 -0
- package/dist/transitions/effects/shader/noiseBurn.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/noiseBurn.schema.js +13 -0
- package/dist/transitions/effects/shader/pageCurl.d.ts +19 -0
- package/dist/transitions/effects/shader/pageCurl.js +82 -0
- package/dist/transitions/effects/shader/pageCurl.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/pageCurl.schema.js +14 -0
- package/dist/transitions/effects/shader/pixelDissolve.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/pixelDissolve.schema.js +11 -0
- package/dist/transitions/effects/shader/ripple.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/ripple.schema.js +13 -0
- package/dist/transitions/effects/shader/scrollDistort.d.ts +9 -0
- package/dist/transitions/effects/shader/scrollDistort.js +43 -0
- package/dist/transitions/effects/shader/stretchWarp.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/stretchWarp.schema.js +13 -0
- package/dist/transitions/effects/shader/swirl.schema.d.ts +1 -0
- package/dist/transitions/effects/shader/swirl.schema.js +11 -0
- package/dist/transitions/effects/shader/warps.d.ts +60 -0
- package/dist/transitions/effects/shader/warps.js +141 -0
- package/dist/transitions/effects/stage/cardStack.d.ts +26 -0
- package/dist/transitions/effects/stage/cardStack.js +46 -0
- package/dist/transitions/effects/stage/cardStack.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/cardStack.schema.js +14 -0
- package/dist/transitions/effects/stage/cards.d.ts +22 -0
- package/dist/transitions/effects/stage/cards.js +38 -0
- package/dist/transitions/effects/stage/cards.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/cards.schema.js +13 -0
- package/dist/transitions/effects/stage/creative.d.ts +36 -0
- package/dist/transitions/effects/stage/creative.js +54 -0
- package/dist/transitions/effects/stage/creative.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/creative.schema.js +34 -0
- package/dist/transitions/effects/stage/cube.d.ts +28 -0
- package/dist/transitions/effects/stage/cube.js +49 -0
- package/dist/transitions/effects/stage/cube.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/cube.schema.js +11 -0
- package/dist/transitions/effects/stage/fade.d.ts +11 -0
- package/dist/transitions/effects/stage/fade.js +15 -0
- package/dist/transitions/effects/stage/fade.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/fade.schema.js +9 -0
- package/dist/transitions/effects/stage/flip.d.ts +15 -0
- package/dist/transitions/effects/stage/flip.js +30 -0
- package/dist/transitions/effects/stage/flip.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/flip.schema.js +10 -0
- package/dist/transitions/effects/stage/kit.d.ts +20 -0
- package/dist/transitions/effects/stage/kit.js +52 -0
- package/dist/transitions/effects/stage/push.d.ts +15 -0
- package/dist/transitions/effects/stage/push.js +28 -0
- package/dist/transitions/effects/stage/push.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/push.schema.js +11 -0
- package/dist/transitions/effects/stage/tinder.d.ts +13 -0
- package/dist/transitions/effects/stage/tinder.js +32 -0
- package/dist/transitions/effects/stage/tinder.schema.d.ts +1 -0
- package/dist/transitions/effects/stage/tinder.schema.js +10 -0
- package/dist/transitions/hosts/ShaderStage.d.ts +30 -0
- package/dist/transitions/hosts/ShaderStage.js +268 -0
- package/dist/transitions/hosts/shared.d.ts +27 -0
- package/dist/transitions/hosts/shared.js +59 -0
- package/dist/transitions/progress.d.ts +15 -0
- package/dist/transitions/progress.js +109 -0
- package/dist/transitions/registry.d.ts +5 -0
- package/dist/transitions/registry.js +67 -0
- package/dist/transitions/reveal/Reveal.d.ts +71 -0
- package/dist/transitions/reveal/Reveal.js +154 -0
- package/dist/transitions/reveal/Reveal.schema.d.ts +2 -0
- package/dist/transitions/reveal/Reveal.schema.js +37 -0
- package/dist/transitions/reveal/ScrollDistort.d.ts +26 -0
- package/dist/transitions/reveal/ScrollDistort.js +27 -0
- package/dist/transitions/reveal/inView.d.ts +5 -0
- package/dist/transitions/reveal/inView.js +31 -0
- package/dist/transitions/reveal/index.d.ts +7 -0
- package/dist/transitions/reveal/index.js +11 -0
- package/dist/transitions/scroll/Curtain.d.ts +31 -0
- package/dist/transitions/scroll/Curtain.js +46 -0
- package/dist/transitions/scroll/Curtain.schema.d.ts +2 -0
- package/dist/transitions/scroll/Curtain.schema.js +9 -0
- package/dist/transitions/scroll/PinnedExpand.d.ts +32 -0
- package/dist/transitions/scroll/PinnedExpand.js +67 -0
- package/dist/transitions/scroll/PinnedExpand.schema.d.ts +1 -0
- package/dist/transitions/scroll/PinnedExpand.schema.js +17 -0
- package/dist/transitions/scroll/SplitText.d.ts +39 -0
- package/dist/transitions/scroll/SplitText.js +83 -0
- package/dist/transitions/scroll/SplitText.schema.d.ts +1 -0
- package/dist/transitions/scroll/SplitText.schema.js +26 -0
- package/dist/transitions/scroll/StackCards.d.ts +37 -0
- package/dist/transitions/scroll/StackCards.js +70 -0
- package/dist/transitions/scroll/StackCards.schema.d.ts +1 -0
- package/dist/transitions/scroll/StackCards.schema.js +14 -0
- package/dist/transitions/scroll/TextMaskZoom.d.ts +35 -0
- package/dist/transitions/scroll/TextMaskZoom.js +58 -0
- package/dist/transitions/scroll/TextMaskZoom.schema.d.ts +1 -0
- package/dist/transitions/scroll/TextMaskZoom.schema.js +12 -0
- package/dist/transitions/scroll/css.d.ts +17 -0
- package/dist/transitions/scroll/css.js +192 -0
- package/dist/transitions/scroll/progress.d.ts +14 -0
- package/dist/transitions/scroll/progress.js +31 -0
- package/dist/transitions/scroll/split.d.ts +2 -0
- package/dist/transitions/scroll/split.js +2 -0
- package/dist/transitions/scroll/useScrub.d.ts +31 -0
- package/dist/transitions/scroll/useScrub.js +90 -0
- package/dist/transitions/shader/program.d.ts +56 -0
- package/dist/transitions/shader/program.js +132 -0
- package/dist/transitions/shader/scrollSpeed.d.ts +11 -0
- package/dist/transitions/shader/scrollSpeed.js +76 -0
- package/dist/transitions/shader/textures.d.ts +40 -0
- package/dist/transitions/shader/textures.js +134 -0
- package/dist/transitions/stage.d.ts +25 -0
- package/dist/transitions/stage.js +42 -0
- package/dist/transitions/types.d.ts +97 -0
- package/dist/transitions/types.js +4 -0
- package/guides/README.md +61 -0
- package/guides/about.md +80 -0
- package/guides/backgrounds.md +107 -0
- package/guides/buttons.md +84 -0
- package/guides/contact.md +84 -0
- package/guides/gallery.md +97 -0
- package/guides/hero.md +114 -0
- package/guides/services.md +79 -0
- package/guides/text.md +93 -0
- package/guides/transitions.md +112 -0
- package/package.json +82 -4
- package/styles/about.css +94 -0
- package/styles/base.css +145 -0
- package/styles/button.css +48 -0
- package/styles/contact.css +87 -0
- package/styles/hero.css +108 -0
- package/styles/sections.css +22 -0
- package/styles/services.css +111 -0
- package/theme.css +83 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Buttons
|
|
2
|
+
|
|
3
|
+
`Button` is a button or a link that wears any number of effects at once: a fill, a border, a glow, a lift, a magnet,
|
|
4
|
+
a label that rolls, a ripple, a loading state. Each effect is a plain description (`glowShine()`), so they stack and
|
|
5
|
+
cost nothing until mounted.
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { Button, glowShine, cursorMagnet } from "@sharedex/ui";
|
|
9
|
+
|
|
10
|
+
// module level: an effect made during render would be a new object every render
|
|
11
|
+
const primary = [glowShine(), cursorMagnet()];
|
|
12
|
+
|
|
13
|
+
<Button effect={primary}>Book a table</Button>
|
|
14
|
+
<Button as="a" href="/menu" variant="outline">See the menu</Button>
|
|
15
|
+
<Button as={Link} href="/shop" effect={primary}>Shop</Button> // a framework Link works too
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
In a project generated by the sharedex Design System Builder, the design's effects are ready as
|
|
19
|
+
`primaryButtonEffects` in `design/effects.ts`, and `.claude/rules/design-system.md` gives the class recipe for the
|
|
20
|
+
button's face. Use those; don't pick new effects.
|
|
21
|
+
|
|
22
|
+
## How it is built
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
<button data-sx-btn="glowShine cursorMagnet" class={hitClassName}> still: takes hover, press and focus
|
|
26
|
+
<span data-sx-btn-body> moves (magnet, lift, tilt)
|
|
27
|
+
<span data-sx-btn-face class={className}> what you see
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- **`className` styles what you see** (background, padding, radius); **`hitClassName`** the still outer element
|
|
31
|
+
(`w-full`, `self-start`, `group`).
|
|
32
|
+
- **Hover belongs to the outer element.** The face never receives `:hover` itself, so Tailwind's `hover:` on
|
|
33
|
+
`className` does nothing. Put `group` in `hitClassName` and use `group-hover:` / `group-focus-visible:` on the face.
|
|
34
|
+
- `variant`: `"solid"` (default), `"outline"`, `"ghost"`: a default look from the `sx-*` tokens. `unstyled` drops it,
|
|
35
|
+
for a face styled entirely by `className`.
|
|
36
|
+
- Corners follow `--radius-sx-button` (the control radius, unless the design gives buttons their own shape).
|
|
37
|
+
- `press={false}` turns off the small press every button gets.
|
|
38
|
+
|
|
39
|
+
## Picking effects
|
|
40
|
+
|
|
41
|
+
- **One moving thing per button, one always-moving button per screen.** Effects that would write the same motion
|
|
42
|
+
(two that move the button, two that resize it) fight: the last wins, and dev builds warn in the console.
|
|
43
|
+
- Hover effects show only where hover exists (mouse, trackpad); on a phone, prefer press and state effects.
|
|
44
|
+
- Effects marked mid or high (goo, electric border, liquid glass, refraction) wear a lighter version on weaker
|
|
45
|
+
devices, during server rendering and on the first paint. That is expected.
|
|
46
|
+
- Reduced motion turns every effect off; the button still works and keeps its focus ring.
|
|
47
|
+
|
|
48
|
+
## Loading, success, error
|
|
49
|
+
|
|
50
|
+
```tsx
|
|
51
|
+
import { Button, useButtonAction, stateSwap } from "@sharedex/ui";
|
|
52
|
+
|
|
53
|
+
const save = useButtonAction(async () => { await saveForm(); }, { resetAfter: 2000 });
|
|
54
|
+
|
|
55
|
+
<Button {...save} effect={stateSwap()} labels={{ loading: "Saving", success: "Saved", error: "Try again" }}>
|
|
56
|
+
Save
|
|
57
|
+
</Button>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- While loading the button keeps its focus, ignores a second click (`aria-busy`, `aria-disabled`, never
|
|
61
|
+
`disabled`) and keeps its width. `labels` are shown in place of the label and announced to screen readers.
|
|
62
|
+
- `progress` (0 to 1) feeds `stateProgress` and `stateRing`.
|
|
63
|
+
|
|
64
|
+
## Server Components (Next.js App Router)
|
|
65
|
+
|
|
66
|
+
Almost every effect is plain data: `<Button effect={glowShine()}>` works from a Server Component. Six carry code
|
|
67
|
+
and need a client page or component (`"use client"`): `pressSpark`, `pressBurst`, `pressConfetti`, `pressSpray`,
|
|
68
|
+
`labelScramble`, `glassRefract`. `onClick` and `useButtonAction` need one anyway.
|
|
69
|
+
|
|
70
|
+
## In sections
|
|
71
|
+
|
|
72
|
+
`actionEffect` on `Hero.Root` turns its actions into `Button`s: the first wears the effects, the others become
|
|
73
|
+
outline buttons with none. Left out, the actions stay plain links.
|
|
74
|
+
|
|
75
|
+
```tsx
|
|
76
|
+
<Hero.Root layout="split" content={content} actionEffect={primaryButtonEffects} />
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Don't
|
|
80
|
+
|
|
81
|
+
- Don't call effect factories during render or inline in JSX props of a component that re-renders often.
|
|
82
|
+
- Don't put `hover:` classes on `className`; use `group` + `group-hover:`.
|
|
83
|
+
- Don't set `outline: none` on a button or its face; the focus ring is drawn on the face.
|
|
84
|
+
- Don't use `disabled` for a button that is busy; use `state="loading"`.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Contact
|
|
2
|
+
|
|
3
|
+
How to reach the client: details, the project's own form, and an optional map.
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
import { Contact } from "@sharedex/ui";
|
|
7
|
+
|
|
8
|
+
<Contact.Root
|
|
9
|
+
layout="split-info"
|
|
10
|
+
content={{
|
|
11
|
+
title: "Come by or get in touch",
|
|
12
|
+
description: "We answer emails within a day.",
|
|
13
|
+
details: [
|
|
14
|
+
{ label: "Address", value: "Rua das Flores 12, Lisbon", href: "https://maps.app.goo.gl/…" },
|
|
15
|
+
{ label: "Phone", value: "+351 21 000 0000", href: "tel:+351210000000" },
|
|
16
|
+
{ label: "Email", value: "hello@example.com", href: "mailto:hello@example.com" },
|
|
17
|
+
{ label: "Opening hours", value: "Tue–Sun, 7:00–19:00" },
|
|
18
|
+
],
|
|
19
|
+
map: { src: "https://www.openstreetmap.org/export/embed.html?…", title: "Map of our shop" },
|
|
20
|
+
}}
|
|
21
|
+
>
|
|
22
|
+
<Contact.Info />
|
|
23
|
+
<Contact.Form>
|
|
24
|
+
<ContactForm /> {/* the project's form: fields, validation, sending */}
|
|
25
|
+
</Contact.Form>
|
|
26
|
+
<Contact.Map />
|
|
27
|
+
</Contact.Root>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`Contact.Form` is only a slot in the layout. Build the form in the project with
|
|
31
|
+
the project's form conventions and input recipe. Without children, the default
|
|
32
|
+
composition is `Contact.Info` + `Contact.Map` (no form).
|
|
33
|
+
|
|
34
|
+
## Layouts
|
|
35
|
+
|
|
36
|
+
| `layout` | Use when |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `split-info` | The standard: details beside the form, map full width below. |
|
|
39
|
+
| `centered` | A short page or no map: one narrow centred column, details in a row. |
|
|
40
|
+
| `map` | Location matters (shop, venue): details and form beside a tall map. |
|
|
41
|
+
|
|
42
|
+
## Content
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
interface ContactContent {
|
|
46
|
+
eyebrow?: string;
|
|
47
|
+
title: string; // <h2>
|
|
48
|
+
description?: string;
|
|
49
|
+
details?: { label: string; value: string; href?: string }[]; // rendered as a <dl>
|
|
50
|
+
map?: { src: string; title: string }; // an embeddable map URL; title is required for the iframe
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Parts
|
|
55
|
+
|
|
56
|
+
`Contact.Root` › `Contact.Info` (`Contact.Eyebrow`, `Contact.Title`,
|
|
57
|
+
`Contact.Description`, `Contact.Details`) · `Contact.Form` (slot) ·
|
|
58
|
+
`Contact.Map`.
|
|
59
|
+
|
|
60
|
+
## Background
|
|
61
|
+
|
|
62
|
+
`<Contact.Root background={<Background.Root effect={dotPattern()} />}>` draws a decorative layer behind
|
|
63
|
+
the content (the section is its stacking context, so the content needs no z-index). Any effect from
|
|
64
|
+
`@sharedex/ui` works, or from `@sharedex/ui/three` for the Three.js ones. Keep it still or nearly still: people are reading and typing here. Read
|
|
65
|
+
`node_modules/@sharedex/ui/guides/backgrounds.md` before picking one.
|
|
66
|
+
|
|
67
|
+
## Reveal
|
|
68
|
+
|
|
69
|
+
`reveal` on `Root` plays a transition on the main parts as the section scrolls into view, once:
|
|
70
|
+
the info, then the form, then the map. `reveal` alone is `fadeUp()`, 0.12 s apart; `reveal={blurFade()}` picks the transition;
|
|
71
|
+
`reveal={{ effect, stagger, delay, duration }}` sets the timing. See
|
|
72
|
+
`node_modules/@sharedex/ui/guides/transitions.md`.
|
|
73
|
+
|
|
74
|
+
## Text effects
|
|
75
|
+
|
|
76
|
+
`titleEffect` and `eyebrowEffect` on `Root` put text effects on the title and the eyebrow (one, or a list that
|
|
77
|
+
stacks): they render as `Text` wearing them. Left out, they stay plain elements. In a project the sharedex Design
|
|
78
|
+
System Builder generated, pass the configured constants: `titleEffect={titleEffects}`, `eyebrowEffect={eyebrowEffects}`
|
|
79
|
+
from `design/effects.ts`. Read `node_modules/@sharedex/ui/guides/text.md`.
|
|
80
|
+
|
|
81
|
+
## Don't
|
|
82
|
+
|
|
83
|
+
- Don't put the form's submit logic in the section; it lives with the form.
|
|
84
|
+
- Don't embed a map without the client's address confirmed.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Galleries: 3D carousels, the Ticker and the Grid (for Claude Code)
|
|
2
|
+
|
|
3
|
+
Three ways to show a collection of cards that move:
|
|
4
|
+
|
|
5
|
+
| You want | Use |
|
|
6
|
+
|---|---|
|
|
7
|
+
| A row of cards, one in focus, prev / next / drag | `<Carousel.Root>` with a layout preset |
|
|
8
|
+
| Cards in a 3D shape (cylinder, spiral, globe …) | the same carousel with `barrel`, `helix`, `ring`, `staircase`, `fallAway`, `sphere` |
|
|
9
|
+
| A strip that runs forever (logos, words, quotes) | `<Ticker>` |
|
|
10
|
+
| A wall of cards you pan in every direction | `<Grid.Root>` + `<Grid.Viewport>` |
|
|
11
|
+
|
|
12
|
+
Cards are always your markup. The package positions them; it never draws them.
|
|
13
|
+
|
|
14
|
+
## Carousel shapes
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import { Carousel, barrel, helix, sphere } from "@sharedex/ui";
|
|
18
|
+
|
|
19
|
+
const CONFIG = { layout: barrel(), autoplay: { enabled: false } }; // module level, or useMemo
|
|
20
|
+
|
|
21
|
+
<Carousel.Root items={looks} config={CONFIG} slotClassName="w-[150px] h-[200px] mt-[150px]">
|
|
22
|
+
<Carousel.Viewport className="h-[520px]">
|
|
23
|
+
<Carousel.Track>
|
|
24
|
+
<Carousel.Window>{(slot) => <Carousel.Slot {...slot}><Card item={slot.item} /></Carousel.Slot>}</Carousel.Window>
|
|
25
|
+
</Carousel.Track>
|
|
26
|
+
</Carousel.Viewport>
|
|
27
|
+
</Carousel.Root>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- **Keep layouts in module constants or `useMemo`.** A new layout object every render starts a morph.
|
|
31
|
+
- 3D shapes reach past one card's box: give the Viewport a height, and push cards inside it with a margin
|
|
32
|
+
in `slotClassName` (`mt-[150px]`, `ml-[calc(50%-55px)]`).
|
|
33
|
+
- `helix` is vertical with `engine: { axis: "y" }`; `barrel` / `ring` without an `angle` and `sphere` are
|
|
34
|
+
closed rings (every card mounted, the ring turns forever).
|
|
35
|
+
|
|
36
|
+
## Gallery behaviours
|
|
37
|
+
|
|
38
|
+
| Want | Write |
|
|
39
|
+
|---|---|
|
|
40
|
+
| A wave or a lean while it moves | `layout: modify(scale(), speedWave())`, `modify(barrel(), speedTilt())` |
|
|
41
|
+
| The page scroll turns it | `useScrollLink(engine, { pxPerCard: 330, target: sectionRef })` + `physics: { drag: false }` |
|
|
42
|
+
| Switch shapes with a morph | change `config.layout` (between module constants) |
|
|
43
|
+
| Cards fly in / out | `engine: { enter: presence.contract(), exit: presence.scatter() }`; `await engine.hide()` / `show()` |
|
|
44
|
+
| Open a card | `engine: { open: openView.detail() }` (or `panel()` + `<Carousel.Panel>`, `inline()`); a card's `onClick={() => engine.open(slot.itemIndex)}` |
|
|
45
|
+
| Swipe cards off a deck | `config={stage(cardStack({ exit: "throw" }))}` (one-card mode: the Viewport sets the card size) |
|
|
46
|
+
| Colour the page by the focused card | read `engine.position` with `useTransform` (it is the card index, fractional while moving) |
|
|
47
|
+
|
|
48
|
+
## Ticker
|
|
49
|
+
|
|
50
|
+
```tsx
|
|
51
|
+
import { Ticker } from "@sharedex/ui";
|
|
52
|
+
|
|
53
|
+
<Ticker items={logos} velocity={60} gap={32} fade={64} hoverSpeed={0} aria-label="Clients">
|
|
54
|
+
{(logo) => <img src={logo.src} alt={logo.name} className="h-8" />}
|
|
55
|
+
</Ticker>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- `velocity` px/s: positive runs towards the reading start, negative the other way, `0` stops time.
|
|
59
|
+
- Scroll bands: `velocity={0} offset={scrollY}` and `offset={useTransform(scrollY, (v) => -v)}` for the
|
|
60
|
+
opposite band (`useScroll` from `motion/react`).
|
|
61
|
+
- `axis="y"` for columns (give it a height); `drag` to push it; `hoverSpeed={0}` to pause under the pointer
|
|
62
|
+
and keyboard focus (moving content needs a pause: WCAG 2.2.2).
|
|
63
|
+
- Items can be any size. Copies are `aria-hidden` and `inert`; reduced motion keeps it still.
|
|
64
|
+
|
|
65
|
+
## Grid
|
|
66
|
+
|
|
67
|
+
```tsx
|
|
68
|
+
import { Grid, gridOpen, type GridCell } from "@sharedex/ui";
|
|
69
|
+
|
|
70
|
+
<Grid.Root items={pieces} columns={6} gap={24} cellClassName="w-[180px] h-[230px]"
|
|
71
|
+
tilt={{ x: 24, z: -8 }} bulge={140} fog snap open={gridOpen.panel()}
|
|
72
|
+
onActivate={(piece) => track(piece)} itemLabel={(piece) => piece.title}>
|
|
73
|
+
<Grid.Viewport className="h-[80vh]" aria-label="Collection">
|
|
74
|
+
{(cell: GridCell<Piece>) => <Card item={cell.item} />}
|
|
75
|
+
</Grid.Viewport>
|
|
76
|
+
<Grid.Panel>{(piece: Piece) => <Notes piece={piece} />}</Grid.Panel>
|
|
77
|
+
</Grid.Root>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
- **Annotate the cell** (`(cell: GridCell<Piece>)`): the Viewport can't see the Root's item type.
|
|
81
|
+
- **No links or buttons inside cards.** The plane repeats every card forever; the Viewport is the one tab
|
|
82
|
+
stop. Use `onActivate` (a click that isn't a drag, or Enter) and `open`; put real controls in `Grid.Panel`.
|
|
83
|
+
- **`draggable={false}` on images**, or the browser's image drag steals the pan.
|
|
84
|
+
- Flat with no `bulge` / `fog` / `modifiers` is the cheapest (one transform for the whole plane). `wheel`
|
|
85
|
+
(pan with the mouse wheel) and `drift` (idle pan) are opt-in.
|
|
86
|
+
- Open views: `gridOpen.zoom()`, `strip()` (big card + thumbnail strip), `panel()` (room for `Grid.Panel`).
|
|
87
|
+
Esc, a drag or a click beside the cards closes; `useGridCell()` tells a card if it is the open one.
|
|
88
|
+
- The plane takes every touch gesture inside it (`touch-action: none`): on phones, leave page around it to
|
|
89
|
+
scroll by.
|
|
90
|
+
|
|
91
|
+
## Don't
|
|
92
|
+
|
|
93
|
+
- Don't rebuild a 3D carousel with a CSS `preserve-3d` wrapper around the Track: the Track's opacity
|
|
94
|
+
flattens it. The shapes place each card in 3D on their own.
|
|
95
|
+
- Don't recreate layout, presence or open-view objects in render.
|
|
96
|
+
- Don't put a `Ticker` or `Grid` inside an element with `overflow: hidden` and no height and expect it to
|
|
97
|
+
size itself: give the box a height (columns, grids) or a width (horizontal tickers fill it).
|
package/guides/hero.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Hero
|
|
2
|
+
|
|
3
|
+
The opening section of a page. Its title renders the page's only `<h1>`, so
|
|
4
|
+
use one Hero per page, first.
|
|
5
|
+
|
|
6
|
+
```tsx
|
|
7
|
+
import { Hero } from "@sharedex/ui";
|
|
8
|
+
|
|
9
|
+
<Hero.Root
|
|
10
|
+
layout="split"
|
|
11
|
+
content={{
|
|
12
|
+
eyebrow: "Since 1998",
|
|
13
|
+
title: "Fresh bread every morning",
|
|
14
|
+
description: "Order by 6 pm, pick up from 7 am.",
|
|
15
|
+
actions: [
|
|
16
|
+
{ label: "Order for tomorrow", href: "/order" },
|
|
17
|
+
{ label: "See the menu", href: "/menu" },
|
|
18
|
+
],
|
|
19
|
+
media: { kind: "image", src: "/hero.jpg", alt: "Loaves cooling on a rack" },
|
|
20
|
+
}}
|
|
21
|
+
/>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Layouts
|
|
25
|
+
|
|
26
|
+
| `layout` | Use when |
|
|
27
|
+
|---|---|
|
|
28
|
+
| `split` | A strong photo or illustration supports the message. Text beside media from 44rem section width, stacked below. |
|
|
29
|
+
| `centered` | The message carries the page; media is secondary (16:9 below the text). |
|
|
30
|
+
| `media-background` | The image IS the brand (a venue, a product shot). Media fills the section behind the text, with a scrim. Needs a photo with a calm area for text. |
|
|
31
|
+
|
|
32
|
+
## Content
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
interface HeroContent {
|
|
36
|
+
eyebrow?: string; // short context line above the title
|
|
37
|
+
title: string; // the page's <h1>: one clear promise, not the company name
|
|
38
|
+
description?: string; // one or two sentences
|
|
39
|
+
actions?: { label: string; href: string }[]; // first = primary, rest = secondary
|
|
40
|
+
media?:
|
|
41
|
+
| { kind: "image"; src: string; alt: string }
|
|
42
|
+
| { kind: "video"; src: string; label: string; poster?: string; autoPlay?: boolean }
|
|
43
|
+
| { kind: "node"; node: ReactNode }; // anything, e.g. a <Carousel.Root>
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Parts
|
|
48
|
+
|
|
49
|
+
`Hero.Root` (`<section aria-labelledby>`) › `Hero.Text` › `Hero.Eyebrow`,
|
|
50
|
+
`Hero.Title` (`<h1>`), `Hero.Description`, `Hero.Actions` (links with
|
|
51
|
+
`data-sx-variant="primary" | "secondary"`, or `Button`s with `actionEffect`) · `Hero.Media`.
|
|
52
|
+
|
|
53
|
+
Every part takes `className` and `children` (children replace its default
|
|
54
|
+
content).
|
|
55
|
+
|
|
56
|
+
## Background
|
|
57
|
+
|
|
58
|
+
`<Hero.Root background={<Background.Root effect={aurora()} />}>` draws a decorative layer behind the
|
|
59
|
+
content (the section is its stacking context, so the content needs no z-index). Any effect from
|
|
60
|
+
`@sharedex/ui` works, or from `@sharedex/ui/three` for the Three.js ones. With `layout="media-background"` the media covers the section above the background layer; use one or the other, or a transparent image over an effect. Read
|
|
61
|
+
`node_modules/@sharedex/ui/guides/backgrounds.md` before picking one.
|
|
62
|
+
|
|
63
|
+
## Reveal
|
|
64
|
+
|
|
65
|
+
`reveal` on `Root` plays a transition on the main parts as the section scrolls into view, once:
|
|
66
|
+
the text, then the media (not in `media-background`: the picture is already there and the text appears over it). With `reveal` the default rise of the text is off. `reveal` alone is `fadeUp()`, 0.12 s apart; `reveal={blurFade()}` picks the transition;
|
|
67
|
+
`reveal={{ effect, stagger, delay, duration }}` sets the timing. See
|
|
68
|
+
`node_modules/@sharedex/ui/guides/transitions.md`.
|
|
69
|
+
|
|
70
|
+
## Text effects
|
|
71
|
+
|
|
72
|
+
`titleEffect` and `eyebrowEffect` on `Root` put text effects on the title and the eyebrow (one, or a list that
|
|
73
|
+
stacks): they render as `Text` wearing them. Left out, they stay plain elements. In a project the sharedex Design
|
|
74
|
+
System Builder generated, pass the configured constants: `titleEffect={titleEffects}`, `eyebrowEffect={eyebrowEffects}`
|
|
75
|
+
from `design/effects.ts`.
|
|
76
|
+
|
|
77
|
+
**A cycling word.** `content.titleWords` take turns after the title (`title: "We build"`, `titleWords: ["websites",
|
|
78
|
+
"apps"]`); `titleCycle` on `Root` sets how they change (`{ look: "flip", interval: 3 }`). Every word is in the HTML,
|
|
79
|
+
and the space is the longest word's. The title's effects go on its fixed words. Read `node_modules/@sharedex/ui/guides/text.md`.
|
|
80
|
+
|
|
81
|
+
## Button effects
|
|
82
|
+
|
|
83
|
+
`actionEffect` on `Root` renders the actions as `Button`s: the first wears the effects (one, or a list that stacks),
|
|
84
|
+
the others become outline buttons with none. Left out, they stay plain links. In a project the sharedex Design System
|
|
85
|
+
Builder generated, pass the configured constant: `actionEffect={primaryButtonEffects}` from `design/effects.ts`.
|
|
86
|
+
Effects that carry code (`pressConfetti`, `labelScramble` …) need a client page. Read
|
|
87
|
+
`node_modules/@sharedex/ui/guides/buttons.md`.
|
|
88
|
+
|
|
89
|
+
## Restyling in a client project
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
<Hero.Root layout="split" content={content}>
|
|
93
|
+
<Hero.Text>
|
|
94
|
+
<Hero.Eyebrow className="text-accent" />
|
|
95
|
+
<Hero.Title className="text-display text-foreground" />
|
|
96
|
+
<Hero.Description />
|
|
97
|
+
<Hero.Actions />
|
|
98
|
+
</Hero.Text>
|
|
99
|
+
<Hero.Media className="rounded-card shadow-card" />
|
|
100
|
+
</Hero.Root>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
- Action links use the project's button recipe automatically through the sx
|
|
104
|
+
tokens (corners from `--radius-sx-button`). To use the exact recipe classes
|
|
105
|
+
instead, render your own links (or `<Button>`s) inside `<Hero.Actions>`.
|
|
106
|
+
- The hero text rises in once on load (the page's one entrance animation). It
|
|
107
|
+
is off under reduced motion and removed by `unstyled`.
|
|
108
|
+
|
|
109
|
+
## Don't
|
|
110
|
+
|
|
111
|
+
- Don't render a second `<h1>` elsewhere on the page.
|
|
112
|
+
- Don't put the company name in `title`; it belongs in the header.
|
|
113
|
+
- Don't use `media-background` with a busy photo and no `description` check:
|
|
114
|
+
read the text against the image at narrow width.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Services
|
|
2
|
+
|
|
3
|
+
What the client offers, as a list of items.
|
|
4
|
+
|
|
5
|
+
```tsx
|
|
6
|
+
import { Services } from "@sharedex/ui";
|
|
7
|
+
|
|
8
|
+
<Services.Root
|
|
9
|
+
layout="cards-grid"
|
|
10
|
+
content={{
|
|
11
|
+
eyebrow: "What we bake",
|
|
12
|
+
title: "From the oven",
|
|
13
|
+
description: "Everything is made on site, the same day.",
|
|
14
|
+
items: [
|
|
15
|
+
{ title: "Sourdough", description: "Crusty loaves with a 36-hour rise.", icon: <BreadIcon /> },
|
|
16
|
+
{ title: "Catering", description: "Bread baskets for events.", href: "/catering" },
|
|
17
|
+
],
|
|
18
|
+
}}
|
|
19
|
+
/>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Layouts
|
|
23
|
+
|
|
24
|
+
| `layout` | Use when |
|
|
25
|
+
|---|---|
|
|
26
|
+
| `cards-grid` | 3–9 comparable items. As many columns as fit (each ≥ 16rem). An item image leads its card. |
|
|
27
|
+
| `list` | Many items, or items that are mostly text. One row each, icon at the start; images are hidden. |
|
|
28
|
+
| `alternating` | 2–4 key services that each deserve a photo. Image beside text, switching sides. Give every item `media`. |
|
|
29
|
+
|
|
30
|
+
## Content
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
interface ServicesContent {
|
|
34
|
+
eyebrow?: string;
|
|
35
|
+
title: string; // <h2>
|
|
36
|
+
description?: string;
|
|
37
|
+
items: {
|
|
38
|
+
title: string; // <h3>; becomes a link when href is set
|
|
39
|
+
description: string; // one sentence
|
|
40
|
+
href?: string;
|
|
41
|
+
icon?: ReactNode; // decorative, rendered aria-hidden
|
|
42
|
+
media?: SectionMedia;
|
|
43
|
+
}[];
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Parts
|
|
48
|
+
|
|
49
|
+
`Services.Root` › `Services.Header` (`Services.Eyebrow`, `Services.Title`,
|
|
50
|
+
`Services.Description`) · `Services.Items` (`<ul>`; takes a render function
|
|
51
|
+
`(item, index) => ReactNode` to render one item yourself while keeping the list
|
|
52
|
+
and layout).
|
|
53
|
+
|
|
54
|
+
## Background
|
|
55
|
+
|
|
56
|
+
`<Services.Root background={<Background.Root effect={dotPattern()} />}>` draws a decorative layer behind
|
|
57
|
+
the content (the section is its stacking context, so the content needs no z-index). Any effect from
|
|
58
|
+
`@sharedex/ui` works, or from `@sharedex/ui/three` for the Three.js ones. Cards sit on top of it; prefer a low-contrast pattern so card edges stay readable. Read
|
|
59
|
+
`node_modules/@sharedex/ui/guides/backgrounds.md` before picking one.
|
|
60
|
+
|
|
61
|
+
## Reveal
|
|
62
|
+
|
|
63
|
+
`reveal` on `Root` plays a transition on the main parts as the section scrolls into view, once:
|
|
64
|
+
the header, then every item one by one. `reveal` alone is `fadeUp()`, 0.12 s apart; `reveal={blurFade()}` picks the transition;
|
|
65
|
+
`reveal={{ effect, stagger, delay, duration }}` sets the timing. See
|
|
66
|
+
`node_modules/@sharedex/ui/guides/transitions.md`.
|
|
67
|
+
|
|
68
|
+
## Text effects
|
|
69
|
+
|
|
70
|
+
`titleEffect` and `eyebrowEffect` on `Root` put text effects on the title and the eyebrow (one, or a list that
|
|
71
|
+
stacks): they render as `Text` wearing them. Left out, they stay plain elements. In a project the sharedex Design
|
|
72
|
+
System Builder generated, pass the configured constants: `titleEffect={titleEffects}`, `eyebrowEffect={eyebrowEffects}`
|
|
73
|
+
from `design/effects.ts`. Read `node_modules/@sharedex/ui/guides/text.md`.
|
|
74
|
+
|
|
75
|
+
## Don't
|
|
76
|
+
|
|
77
|
+
- Don't mix items with and without images in `alternating`.
|
|
78
|
+
- Don't use emoji as icons in a professional or minimal voice; use the
|
|
79
|
+
project's icon set.
|
package/guides/text.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Text
|
|
2
|
+
|
|
3
|
+
`Text` is a heading or a paragraph that wears any number of text effects: an entrance, a fill, an outline, a hover, a
|
|
4
|
+
glitch. Each effect is a plain description (`enterRise()`), so they stack. `Typewriter`, `WordCycle`, `NumberRoll` and
|
|
5
|
+
`TextPath` cover text that changes or follows a shape.
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import { Text, enterRise, inkGradient, WordCycle, NumberRoll } from "@sharedex/ui";
|
|
9
|
+
|
|
10
|
+
// module level: an effect made during render would be a new object every render
|
|
11
|
+
const title = [enterRise({ by: "chars" }), inkGradient()];
|
|
12
|
+
|
|
13
|
+
<Text as="h2" effect={title}>Fresh bread, every morning</Text>
|
|
14
|
+
<h1>We bake <WordCycle words={["bread", "cakes", "pies"]} look="flip" /></h1>
|
|
15
|
+
<NumberRoll value={1250} format={{ style: "currency", currency: "EUR" }} />
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
In a project generated by the sharedex Design System Builder, the design's effects are ready in `design/effects.ts`:
|
|
19
|
+
`titleEffects` for headings, `eyebrowEffects` for the short line above them. Use those; don't pick new ones.
|
|
20
|
+
|
|
21
|
+
## How it is built
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
<h2 data-sx-text="enterRise inkGradient">
|
|
25
|
+
<span data-sx-text-read>Fresh bread, every morning</span> what screen readers and search engines read, once
|
|
26
|
+
<span data-sx-text-show aria-hidden>…letters…</span> what moves; hidden from screen readers
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
- **The words are in the HTML.** Words and letters are cut on the server; lines are measured in the browser once the
|
|
30
|
+
fonts have loaded. Without scripts, or under reduced motion, the text shows as it is, in its look.
|
|
31
|
+
- **Children must be plain text** for effects that move letters, words or lines. Anything else moves as one piece.
|
|
32
|
+
- `as` picks the element (`h1`, `h2`, `p`, `span` …); `className` and every other prop go on it.
|
|
33
|
+
- Letters are cut only where they stand alone: Arabic and other joined scripts move word by word, and past 120 letters
|
|
34
|
+
a letter effect drops to words.
|
|
35
|
+
|
|
36
|
+
## Picking effects
|
|
37
|
+
|
|
38
|
+
- **One entrance per text, and effects only on headings.** One moving thing at a time reads; ten don't.
|
|
39
|
+
- Effects stack when they write different things: an entrance (`enter*`) with a fill (`ink*`) or a hover
|
|
40
|
+
(`pointer*`) is fine. Two that write the same thing (two fills, two entrances) fight: the last wins, and dev builds
|
|
41
|
+
warn in the console.
|
|
42
|
+
- The groups: `enter*` (arrive once in view), `ink*` (fills, shine, gradients), `stroke*` (outlines, underlines,
|
|
43
|
+
hand-drawn notes), `decode*` (scramble), `scrub*` (tied to the scroll), `pointer*` (under the mouse),
|
|
44
|
+
`warp*` (glitch, waves), `solid*` (depth, echo, particles, falling letters).
|
|
45
|
+
- Hover effects show only where hover exists (mouse, trackpad). Mid and high effects (`warpShader`, `warpAscii`,
|
|
46
|
+
`warpGoo` …) wear a lighter version on weaker devices, during server rendering and on the first paint.
|
|
47
|
+
|
|
48
|
+
## Server Components (Next.js App Router)
|
|
49
|
+
|
|
50
|
+
Most effects are plain data and work from a Server Component. These need a client page or component
|
|
51
|
+
(`"use client"`), because they carry code or pick a lighter version by device: `decodeHover`, `decodeReveal`,
|
|
52
|
+
`decodeBinary`, `scrubSkew`, `inkLines`, `pointerProximity`, `pointerPressure`, `pointerJello`, `pointerTrail`,
|
|
53
|
+
`pointerRipple`, `warpShader`, `warpFuzz`, `warpAscii`, `warpSquiggle`, `warpGoo`, `solidParticles`, `solidFall`.
|
|
54
|
+
|
|
55
|
+
## In sections
|
|
56
|
+
|
|
57
|
+
Every section's `Root` takes `titleEffect` and `eyebrowEffect`: set, the title and the eyebrow render as `Text`
|
|
58
|
+
wearing them; left out, they stay plain elements.
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
<Hero.Root layout="split" content={content} titleEffect={titleEffects} eyebrowEffect={eyebrowEffects} />
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**A cycling word in the Hero's title.** `content.titleWords` take turns after the title, and `titleCycle` (WordCycle's
|
|
65
|
+
settings) sets how. The title is the start of the sentence; the title's effects go on its fixed words.
|
|
66
|
+
|
|
67
|
+
```tsx
|
|
68
|
+
<Hero.Root content={{ title: "We build", titleWords: ["websites", "apps", "brands"] }} titleCycle={{ look: "flip" }} />
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**About's figures roll.** `statRoll` (`true`, or NumberRoll's settings) makes each figure written as one number roll to
|
|
72
|
+
it once in view, keeping what surrounds it: `"40+"` rolls to 40 and keeps its `+`; `"4.9/5"` rolls to 4.9. A figure
|
|
73
|
+
that isn't one plain number (`"1 000"`, `"24h"` is fine) stays as written. The final value is in the HTML.
|
|
74
|
+
|
|
75
|
+
```tsx
|
|
76
|
+
<About.Root content={content} statRoll={{ look: "spin" }} />
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Don't
|
|
80
|
+
|
|
81
|
+
- Don't call effect factories during render.
|
|
82
|
+
- Don't put effects on body copy, links or buttons (buttons have their own: see `buttons.md`).
|
|
83
|
+
- Don't set `letter-spacing` or `text-transform: uppercase` on Arabic text: it breaks the joins.
|
|
84
|
+
- A `WordCycle` or `Typewriter` that keeps looping needs a way to pause it (WCAG 2.2.2: motion past 5 s). One control
|
|
85
|
+
for the whole page is enough: `usePauseLoops()` gives `[paused, setPaused]` for your own button, and every loop on
|
|
86
|
+
the page obeys it. Put the button somewhere stable (the header or footer), never inside the heading:
|
|
87
|
+
|
|
88
|
+
```tsx
|
|
89
|
+
const [paused, setPaused] = usePauseLoops();
|
|
90
|
+
<button type="button" aria-pressed={paused} onClick={() => setPaused(!paused)}>
|
|
91
|
+
{paused ? "Play animations" : "Pause animations"}
|
|
92
|
+
</button>
|
|
93
|
+
```
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Transitions (for Claude Code)
|
|
2
|
+
|
|
3
|
+
Effects that play at a moment: a one-card carousel changing card, a section appearing as it scrolls
|
|
4
|
+
into view, a part of the page tied to the scroll. Every transition is a factory returning a plain
|
|
5
|
+
description (`wipe({ from: "start" })`); the host that plays it handles timing, device tiers and
|
|
6
|
+
reduced motion.
|
|
7
|
+
|
|
8
|
+
The idea behind all of them: **a transition is a function of one number, `p`** (0 = hidden,
|
|
9
|
+
1 = shown). In a carousel `p` comes from the card's position, so dragging scrubs the transition; in a
|
|
10
|
+
reveal it goes from 0 to 1 once the element is on screen.
|
|
11
|
+
|
|
12
|
+
## Pick the right tool
|
|
13
|
+
|
|
14
|
+
| You want | Use |
|
|
15
|
+
|---|---|
|
|
16
|
+
| A section's content to appear as it scrolls in | `reveal` on the section's `Root` |
|
|
17
|
+
| Any other element to appear as it scrolls in | `<Reveal effect={fadeUp()}>` / `<Reveal.Group>` |
|
|
18
|
+
| A full-width slideshow, one slide at a time | `<Carousel.Root config={stage(look)}>` |
|
|
19
|
+
| A slideshow of photos blending with WebGL | `stage(fade({ crossFade: true }))` + `<Carousel.Shader>` |
|
|
20
|
+
| A row of cards with a look | a layout preset: `scale`, `coverflow`, `panorama`, `expo`, `material`, `superFlow` … |
|
|
21
|
+
| A section tied to the scroll (sticky, pinned, zooming) | `Curtain`, `StackCards`, `PinnedExpand`, `TextMaskZoom`, `SplitText` |
|
|
22
|
+
|
|
23
|
+
## Section reveals
|
|
24
|
+
|
|
25
|
+
```tsx
|
|
26
|
+
import { Services, About, blurFade } from "@sharedex/ui";
|
|
27
|
+
|
|
28
|
+
<Services.Root content={services} reveal /> // fadeUp, parts 0.12 s apart
|
|
29
|
+
<About.Root content={about} reveal={blurFade()} />
|
|
30
|
+
<Services.Root content={services} reveal={{ effect: blurFade(), stagger: 0.1, delay: 0.2 }} />
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The main parts play in order: Hero text then media (not the `media-background` backdrop), About
|
|
34
|
+
text / stats / media, Services header then every card, Contact info / form / map. Options:
|
|
35
|
+
`effect` (any CSS transition, default `fadeUp()`), `stagger`, `delay`, `duration`, `once` (true),
|
|
36
|
+
`threshold` (0.15). Your own elements inside a section do not play: wrap them in `<Reveal>`.
|
|
37
|
+
|
|
38
|
+
## Reveal anything else
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { Reveal, fadeUp, wipe } from "@sharedex/ui";
|
|
42
|
+
|
|
43
|
+
<Reveal effect={fadeUp()}><h2>Our work</h2></Reveal>
|
|
44
|
+
<Reveal effect={wipe({ from: "start" })} delay={0.2}><img src="/team.jpg" alt="The team" /></Reveal>
|
|
45
|
+
<Reveal.Group effect={fadeUp()} stagger={0.08} className="grid gap-6 sm:grid-cols-3">
|
|
46
|
+
{cards}
|
|
47
|
+
</Reveal.Group>
|
|
48
|
+
<Reveal effect={fadeUp()} trigger="scroll">…follows the scroll, forwards and back…</Reveal>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
`Reveal.Group` wraps each child in one element: put grid classes on the group, sizing classes on
|
|
52
|
+
`itemClassName`.
|
|
53
|
+
|
|
54
|
+
## The transitions
|
|
55
|
+
|
|
56
|
+
- **Everyday reveals**: `fadeUp`, `blurFade`, `zoomOut`.
|
|
57
|
+
- **Masks** (both places): `wipe`, `iris`, `diagonal`, `splitCurtain`, `colorBlock`, `gradientMask`,
|
|
58
|
+
`blurSharp`, `pixelGrid`, `shutters`, `slicer` (needs a picture), `blinds`, `randomGrid`,
|
|
59
|
+
`columnWave`, `ink`, `gooey`.
|
|
60
|
+
- **One-card carousel only**: `fade`, `cube`, `flip`, `push`, `cards`, `cardStack`, `tinder`,
|
|
61
|
+
`creative` (you set the leaving and coming states).
|
|
62
|
+
- **Shaders** (WebGL, pictures only): `noiseBurn`, `ripple`, `displacement`, `stretchWarp`,
|
|
63
|
+
`pixelDissolve`, `chromaticShift`, `liquidMorph`, `crossZoom`, `swirl`, `dreamy`,
|
|
64
|
+
`directionalWarp`, `morph`, `gridFlip`, `pageCurl` (carousel only). Use them with
|
|
65
|
+
`<Carousel.Shader effect={…} image={(item) => item.src} />` or `<Reveal effect={…} image="/x.jpg">`.
|
|
66
|
+
A section inside a shader `Reveal` drops its own background colour: the picture is its backdrop and the
|
|
67
|
+
section's content sits on top (check the text stays readable on it). A section `background` effect would
|
|
68
|
+
still cover the picture, so pick one or the other.
|
|
69
|
+
|
|
70
|
+
The docs site shows every one live, with its options.
|
|
71
|
+
|
|
72
|
+
## One-card carousel
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
import { Carousel, stage, cube, wipe } from "@sharedex/ui";
|
|
76
|
+
|
|
77
|
+
const CONFIG = stage(cube()); // or stage(wipe()), stage() for a plain slide
|
|
78
|
+
<Carousel.Root items={slides} config={CONFIG}>…Viewport › Track › Window › Slot…</Carousel.Root>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Keep `config` a module-level constant (a new object every render re-resolves the engine).
|
|
82
|
+
`Carousel.Parallax` makes a layer of a card lag behind it (`amount`), in any look.
|
|
83
|
+
|
|
84
|
+
## Multi-card looks and filters
|
|
85
|
+
|
|
86
|
+
`layout: panorama()` (curved wall), `expo()` (the active card opens, the others make room),
|
|
87
|
+
`material()` (Android's hero carousel: clipped strips beside one large card), `superFlow()` (cards
|
|
88
|
+
lean while moving). `engine: { filterTransition: "view" }` makes a filter click move the cards that
|
|
89
|
+
stay to their new place with the browser's View Transitions API, instead of fading everything.
|
|
90
|
+
|
|
91
|
+
## Rules
|
|
92
|
+
|
|
93
|
+
- **Default to CSS transitions.** They cost almost nothing and run on every device. Shaders have a
|
|
94
|
+
tier (`mid`, `high`): weaker devices, server rendering and WebGL failures show their CSS fallback.
|
|
95
|
+
You don't need to handle this.
|
|
96
|
+
- **One shader carousel per page**, and pictures from the same origin (or served with CORS).
|
|
97
|
+
- **Reduced motion is handled**: reveals become a short fade, carousel looks a fade, scroll parts
|
|
98
|
+
their end state. Don't add your own `prefers-reduced-motion` branches.
|
|
99
|
+
- **RTL is handled**: "start" / "end" follow the reading direction.
|
|
100
|
+
- **Content is in the HTML** before the transition plays (search engines read it); it is only
|
|
101
|
+
hidden until it is on screen.
|
|
102
|
+
- **Sticky scroll parts** (`Curtain`, `StackCards`, `PinnedExpand`, `TextMaskZoom`) stop working
|
|
103
|
+
inside a parent with `overflow: hidden`. Use `overflow: clip` for rounded corners.
|
|
104
|
+
|
|
105
|
+
## Don't
|
|
106
|
+
|
|
107
|
+
- Don't reveal everything. One reveal per section, a short stagger; the Hero already has its own
|
|
108
|
+
entrance.
|
|
109
|
+
- Don't put a shader transition on a section (`reveal` takes CSS transitions only).
|
|
110
|
+
- Don't animate with your own `useEffect` + scroll listener: `Reveal trigger="scroll"` and the
|
|
111
|
+
scroll parts already use native scroll timelines, with a fallback.
|
|
112
|
+
- Don't add GSAP or another animation library for these effects.
|