@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,20 @@
|
|
|
1
|
+
import { Root, Text, Eyebrow, Title, Description, Actions, Media } from "./Hero.js";
|
|
2
|
+
export { HERO_LAYOUTS } from "./layouts.js";
|
|
3
|
+
export type { HeroLayout } from "./layouts.js";
|
|
4
|
+
/**
|
|
5
|
+
* The opening section of a page: a headline (the page's `<h1>`), supporting
|
|
6
|
+
* text, calls to action and one piece of media.
|
|
7
|
+
*
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Hero.Root layout="split" content={{ title: "Fresh bread daily", actions: [{ label: "Order", href: "/order" }] }} />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const Hero: {
|
|
13
|
+
Root: typeof Root;
|
|
14
|
+
Text: typeof Text;
|
|
15
|
+
Eyebrow: typeof Eyebrow;
|
|
16
|
+
Title: typeof Title;
|
|
17
|
+
Description: typeof Description;
|
|
18
|
+
Actions: typeof Actions;
|
|
19
|
+
Media: typeof Media;
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// A plain module (no "use client"), like grid/index.ts and the carousel's parts/index.ts. The compound object is
|
|
2
|
+
// built here so a Server Component can render <Hero.Root>: built inside the client module, it reaches the server
|
|
3
|
+
// as an opaque client reference, and Hero.Root is undefined there (found by the Next.js end-to-end check).
|
|
4
|
+
import { Root, Text, Eyebrow, Title, Description, Actions, Media } from "./Hero.js";
|
|
5
|
+
export { HERO_LAYOUTS } from "./layouts.js";
|
|
6
|
+
/**
|
|
7
|
+
* The opening section of a page: a headline (the page's `<h1>`), supporting
|
|
8
|
+
* text, calls to action and one piece of media.
|
|
9
|
+
*
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Hero.Root layout="split" content={{ title: "Fresh bread daily", actions: [{ label: "Order", href: "/order" }] }} />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export const Hero = { Root, Text, Eyebrow, Title, Description, Actions, Media };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type SectionRevealOption } from "../shared/reveal.js";
|
|
3
|
+
import type { SectionMedia, SectionPartProps, SectionTextEffect } from "../shared/types.js";
|
|
4
|
+
import type { ServicesLayout } from "./layouts.js";
|
|
5
|
+
export interface ServiceItem {
|
|
6
|
+
readonly title: string;
|
|
7
|
+
readonly description: string;
|
|
8
|
+
/** Turns the item title into a link. */
|
|
9
|
+
readonly href?: string;
|
|
10
|
+
/** Decorative: rendered `aria-hidden`. */
|
|
11
|
+
readonly icon?: ReactNode;
|
|
12
|
+
/** Used by the `alternating` layout; optional elsewhere. */
|
|
13
|
+
readonly media?: SectionMedia;
|
|
14
|
+
}
|
|
15
|
+
export interface ServicesContent {
|
|
16
|
+
readonly eyebrow?: string;
|
|
17
|
+
readonly title: string;
|
|
18
|
+
readonly description?: string;
|
|
19
|
+
readonly items: readonly ServiceItem[];
|
|
20
|
+
}
|
|
21
|
+
export interface ServicesRootProps {
|
|
22
|
+
readonly content: ServicesContent;
|
|
23
|
+
readonly layout?: ServicesLayout;
|
|
24
|
+
readonly unstyled?: boolean;
|
|
25
|
+
/** A decorative layer behind the content, usually `<Background.Root effect={…} />`. */
|
|
26
|
+
readonly background?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Reveal the main parts one after another when the section scrolls into view:
|
|
29
|
+
* `true` (`fadeUp()`), a CSS transition (`blurFade()` …), or
|
|
30
|
+
* `{ effect, stagger, delay, duration, once, threshold }`.
|
|
31
|
+
*/
|
|
32
|
+
readonly reveal?: SectionRevealOption;
|
|
33
|
+
/**
|
|
34
|
+
* Text effects for the title (`enterRise()`, or a list that stacks): set, it renders as `Text` wearing them; left
|
|
35
|
+
* out, a plain heading.
|
|
36
|
+
*/
|
|
37
|
+
readonly titleEffect?: SectionTextEffect;
|
|
38
|
+
/** Text effects for the eyebrow, the same way. */
|
|
39
|
+
readonly eyebrowEffect?: SectionTextEffect;
|
|
40
|
+
readonly className?: string;
|
|
41
|
+
/** Replaces the default composition (`<Services.Header />` + `<Services.Items />`). */
|
|
42
|
+
readonly children?: ReactNode;
|
|
43
|
+
}
|
|
44
|
+
export interface ServicesItemsProps {
|
|
45
|
+
readonly className?: string;
|
|
46
|
+
/** Render one item yourself; the list and its layout stay. */
|
|
47
|
+
readonly children?: (item: ServiceItem, index: number) => ReactNode;
|
|
48
|
+
}
|
|
49
|
+
declare function Root({ content, layout, unstyled, className, background, reveal, titleEffect, eyebrowEffect, children, }: ServicesRootProps): import("react").JSX.Element;
|
|
50
|
+
declare function Header({ className, children }: SectionPartProps): import("react").JSX.Element;
|
|
51
|
+
declare function Eyebrow({ className, children }: SectionPartProps): import("react").JSX.Element | null;
|
|
52
|
+
declare function Title({ className, children }: SectionPartProps): import("react").JSX.Element;
|
|
53
|
+
declare function Description({ className, children }: SectionPartProps): import("react").JSX.Element | null;
|
|
54
|
+
declare function Items({ className, children }: ServicesItemsProps): import("react").JSX.Element;
|
|
55
|
+
export { Root, Header, Eyebrow, Title, Description, Items };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { partAttrs } from "../shared/attrs.js";
|
|
4
|
+
import { Heading } from "../shared/Heading.js";
|
|
5
|
+
import { createSectionContext, SectionShell } from "../shared/context.js";
|
|
6
|
+
import { revealAttrs } from "../shared/reveal.js";
|
|
7
|
+
import { MediaView } from "../shared/MediaView.js";
|
|
8
|
+
const { Provider, useSection } = createSectionContext("Services");
|
|
9
|
+
function Root({ content, layout = "cards-grid", unstyled = false, className, background, reveal, titleEffect, eyebrowEffect, children, }) {
|
|
10
|
+
return (_jsx(Provider, { layout: layout, content: content, reveal: reveal, titleEffect: titleEffect, eyebrowEffect: eyebrowEffect, children: (titleId, shellReveal) => (_jsx(SectionShell, { section: "services", layout: layout, unstyled: unstyled, titleId: titleId, className: className, background: background, reveal: shellReveal, children: children ?? (_jsxs(_Fragment, { children: [_jsx(Header, {}), _jsx(Items, {})] })) })) }));
|
|
11
|
+
}
|
|
12
|
+
function Header({ className, children }) {
|
|
13
|
+
const { reveal } = useSection("Header");
|
|
14
|
+
return (_jsx("div", { ...partAttrs("services", "header"), ...revealAttrs(reveal, 0), className: className, children: children ?? (_jsxs(_Fragment, { children: [_jsx(Eyebrow, {}), _jsx(Title, {}), _jsx(Description, {})] })) }));
|
|
15
|
+
}
|
|
16
|
+
function Eyebrow({ className, children }) {
|
|
17
|
+
const { content, eyebrowEffect } = useSection("Eyebrow");
|
|
18
|
+
const text = children ?? content.eyebrow;
|
|
19
|
+
return text ? _jsx(Heading, { as: "p", attrs: partAttrs("services", "eyebrow"), className: className, effect: eyebrowEffect, children: text }) : null;
|
|
20
|
+
}
|
|
21
|
+
function Title({ className, children }) {
|
|
22
|
+
const { content, titleId, titleEffect } = useSection("Title");
|
|
23
|
+
return (_jsx(Heading, { as: "h2", attrs: partAttrs("services", "title"), id: titleId, className: className, effect: titleEffect, children: children ?? content.title }));
|
|
24
|
+
}
|
|
25
|
+
function Description({ className, children }) {
|
|
26
|
+
const { content } = useSection("Description");
|
|
27
|
+
const text = children ?? content.description;
|
|
28
|
+
return text ? _jsx("p", { ...partAttrs("services", "description"), className: className, children: text }) : null;
|
|
29
|
+
}
|
|
30
|
+
function DefaultItem({ item }) {
|
|
31
|
+
return (_jsxs(_Fragment, { children: [item.icon ? _jsx("span", { ...partAttrs("services", "item-icon"), "aria-hidden": "true", children: item.icon }) : null, item.media ? (_jsx("div", { ...partAttrs("services", "item-media"), children: _jsx(MediaView, { media: item.media }) })) : null, _jsxs("div", { ...partAttrs("services", "item-text"), children: [_jsx("h3", { ...partAttrs("services", "item-title"), children: item.href ? _jsx("a", { href: item.href, children: item.title }) : item.title }), _jsx("p", { ...partAttrs("services", "item-description"), children: item.description })] })] }));
|
|
32
|
+
}
|
|
33
|
+
function Items({ className, children }) {
|
|
34
|
+
const { content, reveal } = useSection("Items");
|
|
35
|
+
return (_jsx("ul", { ...partAttrs("services", "items"), className: className, children: content.items.map((item, i) => (_jsx("li", { ...partAttrs("services", "item"), ...revealAttrs(reveal, 1 + i), children: children ? children(item, i) : _jsx(DefaultItem, { item: item }) }, item.title))) }));
|
|
36
|
+
}
|
|
37
|
+
// The parts. Services, the compound object, is assembled in ./index.ts, outside this client module.
|
|
38
|
+
export { Root, Header, Eyebrow, Title, Description, Items };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Root, Header, Eyebrow, Title, Description, Items } from "./Services.js";
|
|
2
|
+
export { SERVICES_LAYOUTS } from "./layouts.js";
|
|
3
|
+
export type { ServicesLayout } from "./layouts.js";
|
|
4
|
+
/**
|
|
5
|
+
* What you offer, as a list of items. Each item is a title, a sentence, and
|
|
6
|
+
* optionally an icon, a link and an image.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Services: {
|
|
9
|
+
Root: typeof Root;
|
|
10
|
+
Header: typeof Header;
|
|
11
|
+
Eyebrow: typeof Eyebrow;
|
|
12
|
+
Title: typeof Title;
|
|
13
|
+
Description: typeof Description;
|
|
14
|
+
Items: typeof Items;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// A plain module (no "use client"), like grid/index.ts and the carousel's parts/index.ts. The compound object is
|
|
2
|
+
// built here so a Server Component can render <Services.Root>: built inside the client module, it reaches the server
|
|
3
|
+
// as an opaque client reference, and Services.Root is undefined there (found by the Next.js end-to-end check).
|
|
4
|
+
import { Root, Header, Eyebrow, Title, Description, Items } from "./Services.js";
|
|
5
|
+
export { SERVICES_LAYOUTS } from "./layouts.js";
|
|
6
|
+
/**
|
|
7
|
+
* What you offer, as a list of items. Each item is a title, a sentence, and
|
|
8
|
+
* optionally an icon, a link and an image.
|
|
9
|
+
*/
|
|
10
|
+
export const Services = { Root, Header, Eyebrow, Title, Description, Items };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { SectionAttrs } from "./attrs.js";
|
|
3
|
+
import type { SectionTextEffect } from "./types.js";
|
|
4
|
+
/**
|
|
5
|
+
* A section's title or eyebrow: its plain element, or, given text effects, `Text` rendering the same element with the
|
|
6
|
+
* same attributes and wearing them. Unset, the markup is exactly the plain element's (tested).
|
|
7
|
+
*/
|
|
8
|
+
export declare function Heading({ as: Tag, attrs, id, className, effect, children, }: {
|
|
9
|
+
readonly as: "h1" | "h2" | "p" | "span";
|
|
10
|
+
readonly attrs: SectionAttrs;
|
|
11
|
+
readonly id?: string | undefined;
|
|
12
|
+
readonly className: string | undefined;
|
|
13
|
+
readonly effect: SectionTextEffect | undefined;
|
|
14
|
+
readonly children: ReactNode;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Text } from "../../text/Text.js";
|
|
4
|
+
/**
|
|
5
|
+
* A section's title or eyebrow: its plain element, or, given text effects, `Text` rendering the same element with the
|
|
6
|
+
* same attributes and wearing them. Unset, the markup is exactly the plain element's (tested).
|
|
7
|
+
*/
|
|
8
|
+
export function Heading({ as: Tag, attrs, id, className, effect, children, }) {
|
|
9
|
+
if (effect === undefined) {
|
|
10
|
+
return (_jsx(Tag, { ...attrs, id: id, className: className, children: children }));
|
|
11
|
+
}
|
|
12
|
+
return (_jsx(Text, { as: Tag, ...attrs, id: id, className: className, effect: effect, children: children }));
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SectionMedia } from "./types.js";
|
|
2
|
+
/** Renders a section's media slot. `priority` for above-the-fold media (a hero). */
|
|
3
|
+
export declare function MediaView({ media, priority }: {
|
|
4
|
+
readonly media: SectionMedia;
|
|
5
|
+
readonly priority?: boolean;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/** Renders a section's media slot. `priority` for above-the-fold media (a hero). */
|
|
3
|
+
export function MediaView({ media, priority = false }) {
|
|
4
|
+
switch (media.kind) {
|
|
5
|
+
case "image":
|
|
6
|
+
return (_jsx("img", { src: media.src, alt: media.alt, loading: priority ? "eager" : "lazy", decoding: "async", fetchPriority: priority ? "high" : undefined }));
|
|
7
|
+
case "video":
|
|
8
|
+
return media.autoPlay ? (_jsx("video", { src: media.src, poster: media.poster, "aria-label": media.label, autoPlay: true, muted: true, loop: true, playsInline: true })) : (_jsx("video", { src: media.src, poster: media.poster, "aria-label": media.label, controls: true, playsInline: true, preload: "metadata" }));
|
|
9
|
+
case "node":
|
|
10
|
+
return _jsx(_Fragment, { children: media.node });
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type SectionAttrs = Readonly<Record<string, string>>;
|
|
2
|
+
export declare function sectionRootAttrs(options: {
|
|
3
|
+
readonly section: string;
|
|
4
|
+
readonly layout: string;
|
|
5
|
+
readonly unstyled?: boolean;
|
|
6
|
+
}): SectionAttrs;
|
|
7
|
+
export declare function partAttrs(section: string, part: string): SectionAttrs;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// ---------------------------------------------------------------------------
|
|
2
|
+
// The data attributes section defaults hang on. Pure: no React, testable.
|
|
3
|
+
//
|
|
4
|
+
// data-sx-section="hero" which section (layout + visual rules)
|
|
5
|
+
// data-sx-layout="split" which layout preset (layout rules)
|
|
6
|
+
// data-sx-styled present unless `unstyled` (visual rules only)
|
|
7
|
+
// data-sx-part="hero-title" which part (both)
|
|
8
|
+
//
|
|
9
|
+
// packages/ui/styles/<section>.css keys every rule on these, so restyling never
|
|
10
|
+
// needs a class the consumer can't see.
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
export function sectionRootAttrs(options) {
|
|
13
|
+
return {
|
|
14
|
+
"data-sx-section": options.section,
|
|
15
|
+
"data-sx-layout": options.layout,
|
|
16
|
+
...(options.unstyled ? {} : { "data-sx-styled": "" }),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function partAttrs(section, part) {
|
|
20
|
+
return { "data-sx-part": `${section}-${part}` };
|
|
21
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type PartReveal, type SectionRevealOption } from "./reveal.js";
|
|
3
|
+
import type { SectionActionEffect, SectionStatRoll, SectionTextEffect, SectionTitleCycle } from "./types.js";
|
|
4
|
+
export interface SectionState<TContent, TLayout extends string> {
|
|
5
|
+
readonly layout: TLayout;
|
|
6
|
+
readonly content: TContent;
|
|
7
|
+
/** The title part's id; the section is `aria-labelledby` it. */
|
|
8
|
+
readonly titleId: string;
|
|
9
|
+
/** The `reveal` prop, resolved: what the main parts play (`revealAttrs`). Null = no reveal. */
|
|
10
|
+
readonly reveal: PartReveal | null;
|
|
11
|
+
/** `Root`'s `unstyled`, for a part that renders a component with a look of its own (a `Button`). */
|
|
12
|
+
readonly unstyled: boolean;
|
|
13
|
+
/** `Root`'s `actionEffect`: set, the actions render as `Button`s and the first one wears it. */
|
|
14
|
+
readonly actionEffect: SectionActionEffect | undefined;
|
|
15
|
+
/** `Root`'s `titleEffect`: set, the title renders as `Text` wearing it. */
|
|
16
|
+
readonly titleEffect: SectionTextEffect | undefined;
|
|
17
|
+
/** `Root`'s `eyebrowEffect`: set, the eyebrow renders as `Text` wearing it. */
|
|
18
|
+
readonly eyebrowEffect: SectionTextEffect | undefined;
|
|
19
|
+
/** The Hero's `titleCycle`: how its cycling word (`content.titleWords`) changes. */
|
|
20
|
+
readonly titleCycle: SectionTitleCycle | undefined;
|
|
21
|
+
/** About's `statRoll`: set, the figures roll to their values. */
|
|
22
|
+
readonly statRoll: SectionStatRoll | undefined;
|
|
23
|
+
}
|
|
24
|
+
/** What `SectionShell` needs to run a section's reveal. */
|
|
25
|
+
export interface ShellReveal extends PartReveal {
|
|
26
|
+
readonly once: boolean;
|
|
27
|
+
readonly threshold: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* One context per section type, so `<About.Title>` can never read a Hero's
|
|
31
|
+
* content. `name` only feeds the error message.
|
|
32
|
+
*/
|
|
33
|
+
export declare function createSectionContext<TContent, TLayout extends string>(name: string): {
|
|
34
|
+
Provider: ({ layout, content, reveal: revealOption, unstyled, actionEffect, titleEffect, eyebrowEffect, titleCycle, statRoll, children, }: {
|
|
35
|
+
readonly layout: TLayout;
|
|
36
|
+
readonly content: TContent;
|
|
37
|
+
readonly reveal?: SectionRevealOption | undefined;
|
|
38
|
+
readonly unstyled?: boolean;
|
|
39
|
+
readonly actionEffect?: SectionActionEffect | undefined;
|
|
40
|
+
readonly titleEffect?: SectionTextEffect | undefined;
|
|
41
|
+
readonly eyebrowEffect?: SectionTextEffect | undefined;
|
|
42
|
+
readonly titleCycle?: SectionTitleCycle | undefined;
|
|
43
|
+
readonly statRoll?: SectionStatRoll | undefined;
|
|
44
|
+
readonly children: (titleId: string, reveal: ShellReveal | null) => ReactNode;
|
|
45
|
+
}) => import("react").JSX.Element;
|
|
46
|
+
useSection: (part: string) => SectionState<TContent, TLayout>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The `<section>` every section renders, plus the inner box that holds its
|
|
50
|
+
* layout grid. Container queries measure the `<section>`, so layouts respond
|
|
51
|
+
* to the space they get, not to the viewport. `background` (usually a
|
|
52
|
+
* `<Background.Root>`) is rendered first; the section is its stacking context
|
|
53
|
+
* (`isolation: isolate`), so it paints above the section colour and below
|
|
54
|
+
* the content, with no z-index on the content.
|
|
55
|
+
*/
|
|
56
|
+
export declare function SectionShell({ section, layout, unstyled, titleId, className, background, reveal, children, }: {
|
|
57
|
+
readonly section: string;
|
|
58
|
+
readonly layout: string;
|
|
59
|
+
readonly unstyled: boolean;
|
|
60
|
+
readonly titleId: string;
|
|
61
|
+
readonly className: string | undefined;
|
|
62
|
+
readonly background?: ReactNode;
|
|
63
|
+
/** From the Provider: the inner box is observed and its parts reveal once it is in view. */
|
|
64
|
+
readonly reveal?: ShellReveal | null;
|
|
65
|
+
readonly children: ReactNode;
|
|
66
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { createContext, useContext, useId, useMemo, useRef } from "react";
|
|
4
|
+
import { partAttrs, sectionRootAttrs } from "./attrs.js";
|
|
5
|
+
import { resolveReveal, SECTION_REVEAL_CSS } from "./reveal.js";
|
|
6
|
+
import { fadeUp } from "../../transitions/effects/css/reveals.js";
|
|
7
|
+
import { TransitionStyle, useTransition } from "../../transitions/hosts/shared.js";
|
|
8
|
+
import { useInView } from "../../transitions/reveal/Reveal.js";
|
|
9
|
+
import { styleHref } from "../../backgrounds/hosts/CssHost.js";
|
|
10
|
+
const DEFAULT_REVEAL = fadeUp();
|
|
11
|
+
/**
|
|
12
|
+
* One context per section type, so `<About.Title>` can never read a Hero's
|
|
13
|
+
* content. `name` only feeds the error message.
|
|
14
|
+
*/
|
|
15
|
+
export function createSectionContext(name) {
|
|
16
|
+
const Context = createContext(null);
|
|
17
|
+
function useSection(part) {
|
|
18
|
+
const value = useContext(Context);
|
|
19
|
+
if (!value) {
|
|
20
|
+
throw new Error(`[@sharedex/ui] <${name}.${part}> must be rendered inside <${name}.Root>.`);
|
|
21
|
+
}
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
function Provider({ layout, content, reveal: revealOption, unstyled = false, actionEffect, titleEffect, eyebrowEffect, titleCycle, statRoll, children, }) {
|
|
25
|
+
const titleId = useId();
|
|
26
|
+
const reveal = useShellReveal(revealOption);
|
|
27
|
+
const value = useMemo(() => ({ layout, content, titleId, reveal, unstyled, actionEffect, titleEffect, eyebrowEffect, titleCycle, statRoll }), [layout, content, titleId, reveal, unstyled, actionEffect, titleEffect, eyebrowEffect, titleCycle, statRoll]);
|
|
28
|
+
return _jsx(Context.Provider, { value: value, children: children(titleId, reveal) });
|
|
29
|
+
}
|
|
30
|
+
return { Provider, useSection };
|
|
31
|
+
}
|
|
32
|
+
/** The `reveal` prop as the shell and the parts use it, with the device's pick of the transition. */
|
|
33
|
+
function useShellReveal(option) {
|
|
34
|
+
const resolved = resolveReveal(option);
|
|
35
|
+
const transition = useTransition(resolved ? (resolved.effect ?? DEFAULT_REVEAL) : undefined);
|
|
36
|
+
const key = resolved && JSON.stringify([resolved.stagger, resolved.delay, resolved.duration, resolved.once, resolved.threshold]);
|
|
37
|
+
return useMemo(() => {
|
|
38
|
+
if (!resolved || !transition)
|
|
39
|
+
return null;
|
|
40
|
+
const { stagger, delay, duration, once, threshold } = resolved;
|
|
41
|
+
return { transition, stagger, delay, duration, once, threshold };
|
|
42
|
+
// the resolved timing by value: an inline `reveal={{ stagger: 0.2 }}` is a new object every render
|
|
43
|
+
}, [transition, key]);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The `<section>` every section renders, plus the inner box that holds its
|
|
47
|
+
* layout grid. Container queries measure the `<section>`, so layouts respond
|
|
48
|
+
* to the space they get, not to the viewport. `background` (usually a
|
|
49
|
+
* `<Background.Root>`) is rendered first; the section is its stacking context
|
|
50
|
+
* (`isolation: isolate`), so it paints above the section colour and below
|
|
51
|
+
* the content, with no z-index on the content.
|
|
52
|
+
*/
|
|
53
|
+
export function SectionShell({ section, layout, unstyled, titleId, className, background, reveal = null, children, }) {
|
|
54
|
+
const inner = useRef(null);
|
|
55
|
+
useInView(inner, "data-sx-in", reveal?.once ?? true, reveal?.threshold ?? 0, reveal !== null);
|
|
56
|
+
return (_jsxs("section", { ...sectionRootAttrs({ section, layout, unstyled }), "aria-labelledby": titleId, className: className, children: [background, _jsxs("div", { ref: inner, ...partAttrs(section, "inner"), children: [reveal ? (_jsxs(_Fragment, { children: [_jsx(TransitionStyle, { transition: reveal.transition }), _jsx("style", { href: styleHref("section-reveal", SECTION_REVEAL_CSS), precedence: "sx", children: SECTION_REVEAL_CSS })] })) : null, children] })] }));
|
|
57
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { CSSProperties } from "react";
|
|
2
|
+
import type { CssTransition } from "../../transitions/types.js";
|
|
3
|
+
export interface SectionReveal {
|
|
4
|
+
/** The transition each part plays. Default `fadeUp()`. Generated nodes (pixelGrid, slicer …) are not rendered. */
|
|
5
|
+
readonly effect?: CssTransition;
|
|
6
|
+
/** Seconds between one part and the next. Default `0.12`. */
|
|
7
|
+
readonly stagger?: number;
|
|
8
|
+
/** Seconds before the first part starts. Default `0`. */
|
|
9
|
+
readonly delay?: number;
|
|
10
|
+
/** Seconds each part takes. Default: the transition's own (`0.9`). */
|
|
11
|
+
readonly duration?: number;
|
|
12
|
+
/** Play once (default) or every time the section comes back into view. */
|
|
13
|
+
readonly once?: boolean;
|
|
14
|
+
/** How much of the section must be on screen before it plays, 0–1. Default `0.15`. */
|
|
15
|
+
readonly threshold?: number;
|
|
16
|
+
}
|
|
17
|
+
/** `true` = `fadeUp()` with the defaults; a transition = that one with the defaults. */
|
|
18
|
+
export type SectionRevealOption = boolean | CssTransition | SectionReveal;
|
|
19
|
+
export interface ResolvedReveal {
|
|
20
|
+
readonly effect: CssTransition | undefined;
|
|
21
|
+
readonly stagger: number;
|
|
22
|
+
readonly delay: number;
|
|
23
|
+
readonly duration: number | undefined;
|
|
24
|
+
readonly once: boolean;
|
|
25
|
+
readonly threshold: number;
|
|
26
|
+
}
|
|
27
|
+
/** Null when the section does not reveal. `effect` undefined = the default (`fadeUp()`, filled in by the host). */
|
|
28
|
+
export declare function resolveReveal(option: SectionRevealOption | undefined): ResolvedReveal | null;
|
|
29
|
+
/** What a section hands its parts: the tier-picked transition and the timing. */
|
|
30
|
+
export interface PartReveal {
|
|
31
|
+
readonly transition: CssTransition;
|
|
32
|
+
readonly stagger: number;
|
|
33
|
+
readonly delay: number;
|
|
34
|
+
readonly duration: number | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface RevealAttrs {
|
|
37
|
+
readonly "data-sx-tr"?: string;
|
|
38
|
+
readonly "data-sx-tr-mode"?: "reveal";
|
|
39
|
+
readonly "data-sx-sr"?: "";
|
|
40
|
+
readonly style?: CSSProperties;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The attributes a part spreads to play the reveal as the `order`-th part
|
|
44
|
+
* (0 = first). Nothing when the section does not reveal.
|
|
45
|
+
*/
|
|
46
|
+
export declare function revealAttrs(reveal: PartReveal | null, order: number): RevealAttrs;
|
|
47
|
+
/**
|
|
48
|
+
* The reveals that fade their content, not their element (a carousel slot owns
|
|
49
|
+
* its element's opacity). A section part is often a box of its own (a Services
|
|
50
|
+
* card's border and background), which would sit there empty while its content
|
|
51
|
+
* faded in: for these the part fades as a whole.
|
|
52
|
+
*/
|
|
53
|
+
export declare const FADING_REVEALS: readonly ["fadeUp", "blurFade", "zoomOut"];
|
|
54
|
+
/** Shows every revealing part once its section is in view (see the note at the top). */
|
|
55
|
+
export declare const SECTION_REVEAL_CSS: string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// A section's `reveal` prop: its main parts play a CSS transition one after
|
|
2
|
+
// another when the section scrolls into view. Pure: no React, testable.
|
|
3
|
+
//
|
|
4
|
+
// The parts themselves play it (they are the layout's grid items, so a wrapper
|
|
5
|
+
// would break the layout). The section's inner box is observed and gets
|
|
6
|
+
// `data-sx-in`; every part that plays carries `data-sx-sr`, and the rule below
|
|
7
|
+
// shows it once any ancestor is in. A descendant rule, not the base sheet's
|
|
8
|
+
// child rule, so the Services cards (inside their list) play too.
|
|
9
|
+
import { LAYER_ORDER } from "../../backgrounds/runtime/rootCss.js";
|
|
10
|
+
const isTransition = (v) => typeof v === "object" && "kind" in v;
|
|
11
|
+
/** Null when the section does not reveal. `effect` undefined = the default (`fadeUp()`, filled in by the host). */
|
|
12
|
+
export function resolveReveal(option) {
|
|
13
|
+
if (!option)
|
|
14
|
+
return null;
|
|
15
|
+
const o = option === true ? {} : isTransition(option) ? { effect: option } : option;
|
|
16
|
+
return {
|
|
17
|
+
effect: o.effect,
|
|
18
|
+
stagger: o.stagger ?? 0.12,
|
|
19
|
+
delay: o.delay ?? 0,
|
|
20
|
+
duration: o.duration,
|
|
21
|
+
once: o.once ?? true,
|
|
22
|
+
threshold: o.threshold ?? 0.15,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const seconds = (n) => `${Number(n.toFixed(3))}s`;
|
|
26
|
+
/**
|
|
27
|
+
* The attributes a part spreads to play the reveal as the `order`-th part
|
|
28
|
+
* (0 = first). Nothing when the section does not reveal.
|
|
29
|
+
*/
|
|
30
|
+
export function revealAttrs(reveal, order) {
|
|
31
|
+
if (!reveal)
|
|
32
|
+
return {};
|
|
33
|
+
const { transition, stagger, delay, duration } = reveal;
|
|
34
|
+
const style = { ...transition.vars, "--sx-tr-delay": seconds(delay + order * stagger) };
|
|
35
|
+
if (duration !== undefined)
|
|
36
|
+
style["--sx-tr-duration"] = seconds(duration);
|
|
37
|
+
return { "data-sx-tr": transition.id, "data-sx-tr-mode": "reveal", "data-sx-sr": "", style: style };
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The reveals that fade their content, not their element (a carousel slot owns
|
|
41
|
+
* its element's opacity). A section part is often a box of its own (a Services
|
|
42
|
+
* card's border and background), which would sit there empty while its content
|
|
43
|
+
* faded in: for these the part fades as a whole.
|
|
44
|
+
*/
|
|
45
|
+
export const FADING_REVEALS = ["fadeUp", "blurFade", "zoomOut"];
|
|
46
|
+
const fading = `[data-sx-sr]:is(${FADING_REVEALS.map((id) => `[data-sx-tr="${id}"]`).join(", ")})`;
|
|
47
|
+
/** Shows every revealing part once its section is in view (see the note at the top). */
|
|
48
|
+
export const SECTION_REVEAL_CSS = `${LAYER_ORDER}
|
|
49
|
+
@layer components {
|
|
50
|
+
[data-sx-in] [data-sx-sr] {
|
|
51
|
+
--sx-p: 1;
|
|
52
|
+
}
|
|
53
|
+
${fading} {
|
|
54
|
+
opacity: var(--sx-p);
|
|
55
|
+
}
|
|
56
|
+
${fading} > * {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
}`;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ParsedStat {
|
|
2
|
+
/** What sits before the number ("€", "~"). */
|
|
3
|
+
readonly prefix: string;
|
|
4
|
+
readonly value: number;
|
|
5
|
+
/** What follows it ("+", "%", "k+", "/5"). */
|
|
6
|
+
readonly suffix: string;
|
|
7
|
+
/** Picked so the number formats back to exactly how it was written. */
|
|
8
|
+
readonly locale: string;
|
|
9
|
+
readonly format: Intl.NumberFormatOptions;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* `text` as a prefix, one number and a suffix, with the locale and format that write the number back exactly as it
|
|
13
|
+
* stands (`1,250` keeps its comma, `4,9` its decimal comma); `null` when it isn't one.
|
|
14
|
+
*
|
|
15
|
+
* A separator followed by exactly three digits groups thousands (`10,000`, `1.500`); otherwise it is the decimal point
|
|
16
|
+
* (`4.9`, `4,9`). When both kinds appear, the last one is the decimal point.
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseStat(text: string): ParsedStat | null;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// About's figures as numbers NumberRoll can roll to: "40+" is 40 with a "+" after it, "€1.2M" is 1.2 between "€" and
|
|
2
|
+
// "M". Pure; tested. A figure that isn't one number written plainly ("24/7" is fine, "1 000" is not) stays text.
|
|
3
|
+
import { formatNumber } from "../../text/number/format.js";
|
|
4
|
+
// the number ends where the text stops being part of it: "1 000" and "1’000" group with a space or a quote, and stay text
|
|
5
|
+
const FIGURE = /^(\D*?)(\d(?:[\d.,]*\d)?)(?![\s '’]\d)(\D.*)?$/s;
|
|
6
|
+
/**
|
|
7
|
+
* `text` as a prefix, one number and a suffix, with the locale and format that write the number back exactly as it
|
|
8
|
+
* stands (`1,250` keeps its comma, `4,9` its decimal comma); `null` when it isn't one.
|
|
9
|
+
*
|
|
10
|
+
* A separator followed by exactly three digits groups thousands (`10,000`, `1.500`); otherwise it is the decimal point
|
|
11
|
+
* (`4.9`, `4,9`). When both kinds appear, the last one is the decimal point.
|
|
12
|
+
*/
|
|
13
|
+
export function parseStat(text) {
|
|
14
|
+
const m = FIGURE.exec(text.trim());
|
|
15
|
+
if (!m)
|
|
16
|
+
return null;
|
|
17
|
+
const [, prefix = "", number = "", suffix = ""] = m;
|
|
18
|
+
const seps = [...number.matchAll(/[.,]/g)].map((s) => ({ char: s[0], at: s.index }));
|
|
19
|
+
let decimal;
|
|
20
|
+
let group;
|
|
21
|
+
if (seps.length > 0) {
|
|
22
|
+
const kinds = new Set(seps.map((s) => s.char));
|
|
23
|
+
const last = seps[seps.length - 1];
|
|
24
|
+
if (kinds.size > 1) {
|
|
25
|
+
decimal = last.char;
|
|
26
|
+
group = decimal === "." ? "," : ".";
|
|
27
|
+
}
|
|
28
|
+
else if (seps.length === 1 && number.length - last.at - 1 !== 3) {
|
|
29
|
+
decimal = last.char;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
group = last.char;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const plain = number.split(group ?? "\u0000").join("").replace(decimal ?? "\u0000", ".");
|
|
36
|
+
const value = Number(plain);
|
|
37
|
+
if (!Number.isFinite(value))
|
|
38
|
+
return null;
|
|
39
|
+
const decimals = decimal ? number.length - number.lastIndexOf(decimal) - 1 : 0;
|
|
40
|
+
// a decimal comma or a grouping point reads as German; everything else as US English
|
|
41
|
+
const locale = decimal === "," || group === "." ? "de-DE" : "en-US";
|
|
42
|
+
const format = { useGrouping: group !== undefined, minimumFractionDigits: decimals, maximumFractionDigits: decimals };
|
|
43
|
+
// only when it writes back exactly as it stands (a misplaced separator, "1,50,000", doesn't)
|
|
44
|
+
if (formatNumber(value, locale, format) !== number)
|
|
45
|
+
return null;
|
|
46
|
+
return { prefix, value, suffix, locale, format };
|
|
47
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { ButtonEffect } from "../../buttons/types.js";
|
|
3
|
+
import type { WordCycleProps } from "../../text/cycle/WordCycle.js";
|
|
4
|
+
import type { NumberRollProps } from "../../text/number/NumberRoll.js";
|
|
5
|
+
import type { TextEffect } from "../../text/types.js";
|
|
6
|
+
/** A link rendered as a call to action. The first one in a list is the primary. */
|
|
7
|
+
export interface SectionAction {
|
|
8
|
+
readonly label: string;
|
|
9
|
+
readonly href: string;
|
|
10
|
+
}
|
|
11
|
+
/** The button effects a section's primary action wears (`actionEffect`): one, or a list that stacks. */
|
|
12
|
+
export type SectionActionEffect = ButtonEffect | readonly ButtonEffect[];
|
|
13
|
+
/** The text effects a section's title or eyebrow wears (`titleEffect`, `eyebrowEffect`): one, or a list that stacks. */
|
|
14
|
+
export type SectionTextEffect = TextEffect | readonly TextEffect[];
|
|
15
|
+
/** How the Hero's cycling word changes (`titleCycle`): `WordCycle`'s props, without the words (they are content). */
|
|
16
|
+
export type SectionTitleCycle = Omit<WordCycleProps, "words" | "as" | "className" | "style">;
|
|
17
|
+
/**
|
|
18
|
+
* How About's figures roll (`statRoll`): `NumberRoll`'s props, without the value and its format (both are read from
|
|
19
|
+
* each stat's text: `"40+"` rolls to 40 and keeps its `+`).
|
|
20
|
+
*/
|
|
21
|
+
export type SectionStatRoll = Omit<NumberRollProps, "value" | "to" | "clock" | "format" | "locale" | "units" | "timeZone" | "as" | "className" | "style">;
|
|
22
|
+
/**
|
|
23
|
+
* What fills a section's media slot. `node` is the escape hatch: any element,
|
|
24
|
+
* including a `<Carousel.Root>`.
|
|
25
|
+
*/
|
|
26
|
+
export type SectionMedia = {
|
|
27
|
+
readonly kind: "image";
|
|
28
|
+
readonly src: string;
|
|
29
|
+
readonly alt: string;
|
|
30
|
+
} | {
|
|
31
|
+
readonly kind: "video";
|
|
32
|
+
readonly src: string;
|
|
33
|
+
/** Read out instead of the video. Required: a video has no alt text. */
|
|
34
|
+
readonly label: string;
|
|
35
|
+
readonly poster?: string;
|
|
36
|
+
/** Muted, looping, no controls. Off by default; only for decorative footage. */
|
|
37
|
+
readonly autoPlay?: boolean;
|
|
38
|
+
} | {
|
|
39
|
+
readonly kind: "node";
|
|
40
|
+
readonly node: ReactNode;
|
|
41
|
+
};
|
|
42
|
+
/** Props every section part takes. `children` replaces the part's default content. */
|
|
43
|
+
export interface SectionPartProps {
|
|
44
|
+
readonly className?: string;
|
|
45
|
+
readonly children?: ReactNode;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|