@sharedex/ui 0.0.0-stage → 0.10.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 +546 -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 +18 -0
- package/dist/backgrounds/hosts/CssHost.js +25 -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/styleHref.d.ts +6 -0
- package/dist/backgrounds/hosts/styleHref.js +20 -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 +11 -0
- package/dist/buttons/pick.js +19 -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/forms/base.d.ts +1 -0
- package/dist/forms/base.js +224 -0
- package/dist/forms/buddy.d.ts +6 -0
- package/dist/forms/buddy.js +150 -0
- package/dist/forms/chips.d.ts +1 -0
- package/dist/forms/chips.js +140 -0
- package/dist/forms/choice.d.ts +1 -0
- package/dist/forms/choice.js +208 -0
- package/dist/forms/controls/CheckGroup.d.ts +65 -0
- package/dist/forms/controls/CheckGroup.js +99 -0
- package/dist/forms/controls/Checkbox.d.ts +43 -0
- package/dist/forms/controls/Checkbox.js +67 -0
- package/dist/forms/controls/ChipGroup.d.ts +50 -0
- package/dist/forms/controls/ChipGroup.js +56 -0
- package/dist/forms/controls/Combobox.d.ts +75 -0
- package/dist/forms/controls/Combobox.js +249 -0
- package/dist/forms/controls/ErrorSummary.d.ts +29 -0
- package/dist/forms/controls/ErrorSummary.js +79 -0
- package/dist/forms/controls/Field.d.ts +92 -0
- package/dist/forms/controls/Field.js +219 -0
- package/dist/forms/controls/FileDrop.d.ts +81 -0
- package/dist/forms/controls/FileDrop.js +328 -0
- package/dist/forms/controls/FormBuddy.d.ts +22 -0
- package/dist/forms/controls/FormBuddy.js +143 -0
- package/dist/forms/controls/FormReveal.d.ts +21 -0
- package/dist/forms/controls/FormReveal.js +19 -0
- package/dist/forms/controls/FormSteps.d.ts +75 -0
- package/dist/forms/controls/FormSteps.js +205 -0
- package/dist/forms/controls/FormSwap.d.ts +27 -0
- package/dist/forms/controls/FormSwap.js +38 -0
- package/dist/forms/controls/InlineEdit.d.ts +50 -0
- package/dist/forms/controls/InlineEdit.js +136 -0
- package/dist/forms/controls/NumberField.d.ts +43 -0
- package/dist/forms/controls/NumberField.js +205 -0
- package/dist/forms/controls/OtpField.d.ts +46 -0
- package/dist/forms/controls/OtpField.js +195 -0
- package/dist/forms/controls/PasswordRules.d.ts +31 -0
- package/dist/forms/controls/PasswordRules.js +85 -0
- package/dist/forms/controls/RadioGroup.d.ts +69 -0
- package/dist/forms/controls/RadioGroup.js +95 -0
- package/dist/forms/controls/Range.d.ts +60 -0
- package/dist/forms/controls/Range.js +169 -0
- package/dist/forms/controls/SaveStatus.d.ts +25 -0
- package/dist/forms/controls/SaveStatus.js +88 -0
- package/dist/forms/controls/Select.d.ts +46 -0
- package/dist/forms/controls/Select.js +35 -0
- package/dist/forms/controls/Switch.d.ts +54 -0
- package/dist/forms/controls/Switch.js +91 -0
- package/dist/forms/controls/TagsField.d.ts +68 -0
- package/dist/forms/controls/TagsField.js +0 -0
- package/dist/forms/controls/choiceChecks.d.ts +11 -0
- package/dist/forms/controls/choiceChecks.js +19 -0
- package/dist/forms/controls/choiceParts.d.ts +40 -0
- package/dist/forms/controls/choiceParts.js +49 -0
- package/dist/forms/controls/fieldChecks.d.ts +17 -0
- package/dist/forms/controls/fieldChecks.js +34 -0
- package/dist/forms/controls/fieldTools.d.ts +62 -0
- package/dist/forms/controls/fieldTools.js +54 -0
- package/dist/forms/controls/pickerChecks.d.ts +10 -0
- package/dist/forms/controls/pickerChecks.js +27 -0
- package/dist/forms/controls/rangeChecks.d.ts +11 -0
- package/dist/forms/controls/rangeChecks.js +23 -0
- package/dist/forms/controls/shared.d.ts +8 -0
- package/dist/forms/controls/shared.js +18 -0
- package/dist/forms/effects/cards.d.ts +11 -0
- package/dist/forms/effects/cards.js +52 -0
- package/dist/forms/effects/check/checkCard.d.ts +10 -0
- package/dist/forms/effects/check/checkCard.js +15 -0
- package/dist/forms/effects/check/checkCard.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkCard.schema.js +9 -0
- package/dist/forms/effects/check/checkConfetti.d.ts +18 -0
- package/dist/forms/effects/check/checkConfetti.js +38 -0
- package/dist/forms/effects/check/checkConfetti.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkConfetti.schema.js +13 -0
- package/dist/forms/effects/check/checkDraw.d.ts +7 -0
- package/dist/forms/effects/check/checkDraw.js +12 -0
- package/dist/forms/effects/check/checkDraw.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkDraw.schema.js +9 -0
- package/dist/forms/effects/check/checkHeart.d.ts +9 -0
- package/dist/forms/effects/check/checkHeart.js +84 -0
- package/dist/forms/effects/check/checkHeart.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkHeart.schema.js +10 -0
- package/dist/forms/effects/check/checkJelly.d.ts +9 -0
- package/dist/forms/effects/check/checkJelly.js +23 -0
- package/dist/forms/effects/check/checkJelly.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkJelly.schema.js +10 -0
- package/dist/forms/effects/check/checkMerge.d.ts +9 -0
- package/dist/forms/effects/check/checkMerge.js +37 -0
- package/dist/forms/effects/check/checkMerge.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkMerge.schema.js +10 -0
- package/dist/forms/effects/check/checkMixed.d.ts +7 -0
- package/dist/forms/effects/check/checkMixed.js +25 -0
- package/dist/forms/effects/check/checkMixed.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkMixed.schema.js +9 -0
- package/dist/forms/effects/check/checkMorph.d.ts +9 -0
- package/dist/forms/effects/check/checkMorph.js +53 -0
- package/dist/forms/effects/check/checkMorph.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkMorph.schema.js +10 -0
- package/dist/forms/effects/check/checkPop.d.ts +9 -0
- package/dist/forms/effects/check/checkPop.js +27 -0
- package/dist/forms/effects/check/checkPop.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkPop.schema.js +10 -0
- package/dist/forms/effects/check/checkRipple.d.ts +7 -0
- package/dist/forms/effects/check/checkRipple.js +33 -0
- package/dist/forms/effects/check/checkRipple.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkRipple.schema.js +9 -0
- package/dist/forms/effects/check/checkScribble.d.ts +11 -0
- package/dist/forms/effects/check/checkScribble.js +42 -0
- package/dist/forms/effects/check/checkScribble.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkScribble.schema.js +11 -0
- package/dist/forms/effects/check/checkStrike.d.ts +9 -0
- package/dist/forms/effects/check/checkStrike.js +54 -0
- package/dist/forms/effects/check/checkStrike.schema.d.ts +1 -0
- package/dist/forms/effects/check/checkStrike.schema.js +10 -0
- package/dist/forms/effects/chip/chipCheck.d.ts +7 -0
- package/dist/forms/effects/chip/chipCheck.js +26 -0
- package/dist/forms/effects/chip/chipCheck.schema.d.ts +1 -0
- package/dist/forms/effects/chip/chipCheck.schema.js +9 -0
- package/dist/forms/effects/chip/chipMerge.d.ts +9 -0
- package/dist/forms/effects/chip/chipMerge.js +63 -0
- package/dist/forms/effects/chip/chipMerge.schema.d.ts +1 -0
- package/dist/forms/effects/chip/chipMerge.schema.js +10 -0
- package/dist/forms/effects/file/fileButton.d.ts +7 -0
- package/dist/forms/effects/file/fileButton.js +28 -0
- package/dist/forms/effects/file/fileButton.schema.d.ts +1 -0
- package/dist/forms/effects/file/fileButton.schema.js +9 -0
- package/dist/forms/effects/file/fileCards.d.ts +7 -0
- package/dist/forms/effects/file/fileCards.js +38 -0
- package/dist/forms/effects/file/fileCards.schema.d.ts +1 -0
- package/dist/forms/effects/file/fileCards.schema.js +9 -0
- package/dist/forms/effects/file/fileDrag.d.ts +9 -0
- package/dist/forms/effects/file/fileDrag.js +45 -0
- package/dist/forms/effects/file/fileDrag.schema.d.ts +1 -0
- package/dist/forms/effects/file/fileDrag.schema.js +10 -0
- package/dist/forms/effects/file/filePage.d.ts +7 -0
- package/dist/forms/effects/file/filePage.js +46 -0
- package/dist/forms/effects/file/filePage.schema.d.ts +1 -0
- package/dist/forms/effects/file/filePage.schema.js +9 -0
- package/dist/forms/effects/file/filePreview.d.ts +7 -0
- package/dist/forms/effects/file/filePreview.js +17 -0
- package/dist/forms/effects/file/filePreview.schema.d.ts +1 -0
- package/dist/forms/effects/file/filePreview.schema.js +9 -0
- package/dist/forms/effects/file/fileProgress.d.ts +9 -0
- package/dist/forms/effects/file/fileProgress.js +92 -0
- package/dist/forms/effects/file/fileProgress.schema.d.ts +1 -0
- package/dist/forms/effects/file/fileProgress.schema.js +10 -0
- package/dist/forms/effects/file/fileReject.d.ts +7 -0
- package/dist/forms/effects/file/fileReject.js +24 -0
- package/dist/forms/effects/file/fileReject.schema.d.ts +1 -0
- package/dist/forms/effects/file/fileReject.schema.js +9 -0
- package/dist/forms/effects/input/inputAside.d.ts +11 -0
- package/dist/forms/effects/input/inputAside.js +42 -0
- package/dist/forms/effects/input/inputAside.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputAside.schema.js +11 -0
- package/dist/forms/effects/input/inputBeam.d.ts +14 -0
- package/dist/forms/effects/input/inputBeam.js +51 -0
- package/dist/forms/effects/input/inputBeam.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputBeam.schema.js +18 -0
- package/dist/forms/effects/input/inputCaret.d.ts +13 -0
- package/dist/forms/effects/input/inputCaret.js +33 -0
- package/dist/forms/effects/input/inputCaret.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputCaret.schema.js +26 -0
- package/dist/forms/effects/input/inputCounter.d.ts +16 -0
- package/dist/forms/effects/input/inputCounter.js +84 -0
- package/dist/forms/effects/input/inputCounter.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputCounter.schema.js +12 -0
- package/dist/forms/effects/input/inputCycle.d.ts +19 -0
- package/dist/forms/effects/input/inputCycle.js +93 -0
- package/dist/forms/effects/input/inputCycle.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputCycle.schema.js +11 -0
- package/dist/forms/effects/input/inputDepth.d.ts +11 -0
- package/dist/forms/effects/input/inputDepth.js +31 -0
- package/dist/forms/effects/input/inputDepth.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputDepth.schema.js +11 -0
- package/dist/forms/effects/input/inputDraw.d.ts +13 -0
- package/dist/forms/effects/input/inputDraw.js +27 -0
- package/dist/forms/effects/input/inputDraw.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputDraw.schema.js +12 -0
- package/dist/forms/effects/input/inputFlap.d.ts +9 -0
- package/dist/forms/effects/input/inputFlap.js +24 -0
- package/dist/forms/effects/input/inputFlap.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputFlap.schema.js +10 -0
- package/dist/forms/effects/input/inputFloat.d.ts +12 -0
- package/dist/forms/effects/input/inputFloat.js +46 -0
- package/dist/forms/effects/input/inputFloat.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputFloat.schema.js +10 -0
- package/dist/forms/effects/input/inputFlood.d.ts +11 -0
- package/dist/forms/effects/input/inputFlood.js +30 -0
- package/dist/forms/effects/input/inputFlood.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputFlood.schema.js +11 -0
- package/dist/forms/effects/input/inputFrame.d.ts +18 -0
- package/dist/forms/effects/input/inputFrame.js +77 -0
- package/dist/forms/effects/input/inputFrame.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputFrame.schema.js +13 -0
- package/dist/forms/effects/input/inputIcon.d.ts +11 -0
- package/dist/forms/effects/input/inputIcon.js +18 -0
- package/dist/forms/effects/input/inputIcon.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputIcon.schema.js +11 -0
- package/dist/forms/effects/input/inputNotch.d.ts +9 -0
- package/dist/forms/effects/input/inputNotch.js +70 -0
- package/dist/forms/effects/input/inputNotch.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputNotch.schema.js +10 -0
- package/dist/forms/effects/input/inputReveal.d.ts +15 -0
- package/dist/forms/effects/input/inputReveal.js +56 -0
- package/dist/forms/effects/input/inputReveal.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputReveal.schema.js +16 -0
- package/dist/forms/effects/input/inputRing.d.ts +13 -0
- package/dist/forms/effects/input/inputRing.js +27 -0
- package/dist/forms/effects/input/inputRing.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputRing.schema.js +12 -0
- package/dist/forms/effects/input/inputRise.d.ts +9 -0
- package/dist/forms/effects/input/inputRise.js +22 -0
- package/dist/forms/effects/input/inputRise.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputRise.schema.js +10 -0
- package/dist/forms/effects/input/inputSearch.d.ts +9 -0
- package/dist/forms/effects/input/inputSearch.js +37 -0
- package/dist/forms/effects/input/inputSearch.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputSearch.schema.js +10 -0
- package/dist/forms/effects/input/inputSkeleton.d.ts +7 -0
- package/dist/forms/effects/input/inputSkeleton.js +41 -0
- package/dist/forms/effects/input/inputSkeleton.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputSkeleton.schema.js +9 -0
- package/dist/forms/effects/input/inputSpotlight.d.ts +9 -0
- package/dist/forms/effects/input/inputSpotlight.js +20 -0
- package/dist/forms/effects/input/inputSpotlight.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputSpotlight.schema.js +10 -0
- package/dist/forms/effects/input/inputStrength.d.ts +9 -0
- package/dist/forms/effects/input/inputStrength.js +29 -0
- package/dist/forms/effects/input/inputStrength.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputStrength.schema.js +10 -0
- package/dist/forms/effects/input/inputSwap.d.ts +11 -0
- package/dist/forms/effects/input/inputSwap.js +39 -0
- package/dist/forms/effects/input/inputSwap.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputSwap.schema.js +11 -0
- package/dist/forms/effects/input/inputUnderline.d.ts +13 -0
- package/dist/forms/effects/input/inputUnderline.js +36 -0
- package/dist/forms/effects/input/inputUnderline.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputUnderline.schema.js +18 -0
- package/dist/forms/effects/input/inputWave.d.ts +11 -0
- package/dist/forms/effects/input/inputWave.js +23 -0
- package/dist/forms/effects/input/inputWave.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputWave.schema.js +11 -0
- package/dist/forms/effects/input/inputWavy.d.ts +11 -0
- package/dist/forms/effects/input/inputWavy.js +53 -0
- package/dist/forms/effects/input/inputWavy.schema.d.ts +1 -0
- package/dist/forms/effects/input/inputWavy.schema.js +11 -0
- package/dist/forms/effects/kit.d.ts +213 -0
- package/dist/forms/effects/kit.js +226 -0
- package/dist/forms/effects/picker/chipPop.d.ts +7 -0
- package/dist/forms/effects/picker/chipPop.js +28 -0
- package/dist/forms/effects/picker/chipPop.schema.d.ts +1 -0
- package/dist/forms/effects/picker/chipPop.schema.js +9 -0
- package/dist/forms/effects/picker/listHighlight.d.ts +9 -0
- package/dist/forms/effects/picker/listHighlight.js +42 -0
- package/dist/forms/effects/picker/listHighlight.schema.d.ts +1 -0
- package/dist/forms/effects/picker/listHighlight.schema.js +10 -0
- package/dist/forms/effects/picker/listMatch.d.ts +7 -0
- package/dist/forms/effects/picker/listMatch.js +21 -0
- package/dist/forms/effects/picker/listMatch.schema.d.ts +1 -0
- package/dist/forms/effects/picker/listMatch.schema.js +9 -0
- package/dist/forms/effects/picker/pickerArrow.d.ts +9 -0
- package/dist/forms/effects/picker/pickerArrow.js +17 -0
- package/dist/forms/effects/picker/pickerArrow.schema.d.ts +1 -0
- package/dist/forms/effects/picker/pickerArrow.schema.js +10 -0
- package/dist/forms/effects/picker/pickerCheck.d.ts +7 -0
- package/dist/forms/effects/picker/pickerCheck.js +31 -0
- package/dist/forms/effects/picker/pickerCheck.schema.d.ts +1 -0
- package/dist/forms/effects/picker/pickerCheck.schema.js +9 -0
- package/dist/forms/effects/picker/pickerOpen.d.ts +12 -0
- package/dist/forms/effects/picker/pickerOpen.js +34 -0
- package/dist/forms/effects/picker/pickerOpen.schema.d.ts +1 -0
- package/dist/forms/effects/picker/pickerOpen.schema.js +16 -0
- package/dist/forms/effects/picker/pickerSheet.d.ts +9 -0
- package/dist/forms/effects/picker/pickerSheet.js +47 -0
- package/dist/forms/effects/picker/pickerSheet.schema.d.ts +1 -0
- package/dist/forms/effects/picker/pickerSheet.schema.js +10 -0
- package/dist/forms/effects/picker/pickerStagger.d.ts +9 -0
- package/dist/forms/effects/picker/pickerStagger.js +31 -0
- package/dist/forms/effects/picker/pickerStagger.schema.d.ts +1 -0
- package/dist/forms/effects/picker/pickerStagger.schema.js +10 -0
- package/dist/forms/effects/radio/radioCard.d.ts +10 -0
- package/dist/forms/effects/radio/radioCard.js +15 -0
- package/dist/forms/effects/radio/radioCard.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioCard.schema.js +9 -0
- package/dist/forms/effects/radio/radioCircle.d.ts +9 -0
- package/dist/forms/effects/radio/radioCircle.js +49 -0
- package/dist/forms/effects/radio/radioCircle.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioCircle.schema.js +10 -0
- package/dist/forms/effects/radio/radioDot.d.ts +7 -0
- package/dist/forms/effects/radio/radioDot.js +10 -0
- package/dist/forms/effects/radio/radioDot.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioDot.schema.js +9 -0
- package/dist/forms/effects/radio/radioEmoji.d.ts +9 -0
- package/dist/forms/effects/radio/radioEmoji.js +94 -0
- package/dist/forms/effects/radio/radioEmoji.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioEmoji.schema.js +10 -0
- package/dist/forms/effects/radio/radioPulse.d.ts +9 -0
- package/dist/forms/effects/radio/radioPulse.js +24 -0
- package/dist/forms/effects/radio/radioPulse.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioPulse.schema.js +10 -0
- package/dist/forms/effects/radio/radioScale.d.ts +9 -0
- package/dist/forms/effects/radio/radioScale.js +73 -0
- package/dist/forms/effects/radio/radioScale.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioScale.schema.js +10 -0
- package/dist/forms/effects/radio/radioSegment.d.ts +7 -0
- package/dist/forms/effects/radio/radioSegment.js +52 -0
- package/dist/forms/effects/radio/radioSegment.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioSegment.schema.js +9 -0
- package/dist/forms/effects/radio/radioStars.d.ts +15 -0
- package/dist/forms/effects/radio/radioStars.js +125 -0
- package/dist/forms/effects/radio/radioStars.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioStars.schema.js +13 -0
- package/dist/forms/effects/radio/radioTravel.d.ts +9 -0
- package/dist/forms/effects/radio/radioTravel.js +49 -0
- package/dist/forms/effects/radio/radioTravel.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioTravel.schema.js +10 -0
- package/dist/forms/effects/radio/radioUnderline.d.ts +9 -0
- package/dist/forms/effects/radio/radioUnderline.js +61 -0
- package/dist/forms/effects/radio/radioUnderline.schema.d.ts +1 -0
- package/dist/forms/effects/radio/radioUnderline.schema.js +10 -0
- package/dist/forms/effects/radio/shape.d.ts +13 -0
- package/dist/forms/effects/radio/shape.js +61 -0
- package/dist/forms/effects/range/rangeBubble.d.ts +9 -0
- package/dist/forms/effects/range/rangeBubble.js +54 -0
- package/dist/forms/effects/range/rangeBubble.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeBubble.schema.js +10 -0
- package/dist/forms/effects/range/rangeElastic.d.ts +9 -0
- package/dist/forms/effects/range/rangeElastic.js +101 -0
- package/dist/forms/effects/range/rangeElastic.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeElastic.schema.js +10 -0
- package/dist/forms/effects/range/rangeFace.d.ts +11 -0
- package/dist/forms/effects/range/rangeFace.js +68 -0
- package/dist/forms/effects/range/rangeFace.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeFace.schema.js +11 -0
- package/dist/forms/effects/range/rangeFill.d.ts +7 -0
- package/dist/forms/effects/range/rangeFill.js +29 -0
- package/dist/forms/effects/range/rangeFill.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeFill.schema.js +9 -0
- package/dist/forms/effects/range/rangeHistogram.d.ts +14 -0
- package/dist/forms/effects/range/rangeHistogram.js +65 -0
- package/dist/forms/effects/range/rangeHistogram.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeHistogram.schema.js +11 -0
- package/dist/forms/effects/range/rangeThumb.d.ts +9 -0
- package/dist/forms/effects/range/rangeThumb.js +39 -0
- package/dist/forms/effects/range/rangeThumb.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeThumb.schema.js +10 -0
- package/dist/forms/effects/range/rangeTicks.d.ts +9 -0
- package/dist/forms/effects/range/rangeTicks.js +44 -0
- package/dist/forms/effects/range/rangeTicks.schema.d.ts +1 -0
- package/dist/forms/effects/range/rangeTicks.schema.js +18 -0
- package/dist/forms/effects/ring.d.ts +5 -0
- package/dist/forms/effects/ring.js +12 -0
- package/dist/forms/effects/step/stepProgress.d.ts +9 -0
- package/dist/forms/effects/step/stepProgress.js +35 -0
- package/dist/forms/effects/step/stepProgress.schema.d.ts +1 -0
- package/dist/forms/effects/step/stepProgress.schema.js +10 -0
- package/dist/forms/effects/step/stepSlide.d.ts +9 -0
- package/dist/forms/effects/step/stepSlide.js +50 -0
- package/dist/forms/effects/step/stepSlide.schema.d.ts +1 -0
- package/dist/forms/effects/step/stepSlide.schema.js +10 -0
- package/dist/forms/effects/switch/switchBulb.d.ts +9 -0
- package/dist/forms/effects/switch/switchBulb.js +70 -0
- package/dist/forms/effects/switch/switchBulb.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchBulb.schema.js +10 -0
- package/dist/forms/effects/switch/switchDayNight.d.ts +15 -0
- package/dist/forms/effects/switch/switchDayNight.js +96 -0
- package/dist/forms/effects/switch/switchDayNight.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchDayNight.schema.js +13 -0
- package/dist/forms/effects/switch/switchFace.d.ts +7 -0
- package/dist/forms/effects/switch/switchFace.js +75 -0
- package/dist/forms/effects/switch/switchFace.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchFace.schema.js +9 -0
- package/dist/forms/effects/switch/switchFlip.d.ts +7 -0
- package/dist/forms/effects/switch/switchFlip.js +45 -0
- package/dist/forms/effects/switch/switchFlip.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchFlip.schema.js +9 -0
- package/dist/forms/effects/switch/switchGoo.d.ts +7 -0
- package/dist/forms/effects/switch/switchGoo.js +95 -0
- package/dist/forms/effects/switch/switchGoo.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchGoo.schema.js +9 -0
- package/dist/forms/effects/switch/switchIcon.d.ts +9 -0
- package/dist/forms/effects/switch/switchIcon.js +63 -0
- package/dist/forms/effects/switch/switchIcon.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchIcon.schema.js +10 -0
- package/dist/forms/effects/switch/switchLabels.d.ts +11 -0
- package/dist/forms/effects/switch/switchLabels.js +55 -0
- package/dist/forms/effects/switch/switchLabels.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchLabels.schema.js +11 -0
- package/dist/forms/effects/switch/switchMorph.d.ts +9 -0
- package/dist/forms/effects/switch/switchMorph.js +22 -0
- package/dist/forms/effects/switch/switchMorph.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchMorph.schema.js +10 -0
- package/dist/forms/effects/switch/switchNeon.d.ts +11 -0
- package/dist/forms/effects/switch/switchNeon.js +53 -0
- package/dist/forms/effects/switch/switchNeon.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchNeon.schema.js +11 -0
- package/dist/forms/effects/switch/switchSlide.d.ts +7 -0
- package/dist/forms/effects/switch/switchSlide.js +11 -0
- package/dist/forms/effects/switch/switchSlide.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchSlide.schema.js +9 -0
- package/dist/forms/effects/switch/switchStretch.d.ts +9 -0
- package/dist/forms/effects/switch/switchStretch.js +21 -0
- package/dist/forms/effects/switch/switchStretch.schema.d.ts +1 -0
- package/dist/forms/effects/switch/switchStretch.schema.js +10 -0
- package/dist/forms/effects/valid/validAsync.d.ts +7 -0
- package/dist/forms/effects/valid/validAsync.js +36 -0
- package/dist/forms/effects/valid/validAsync.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validAsync.schema.js +9 -0
- package/dist/forms/effects/valid/validBubble.d.ts +7 -0
- package/dist/forms/effects/valid/validBubble.js +61 -0
- package/dist/forms/effects/valid/validBubble.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validBubble.schema.js +9 -0
- package/dist/forms/effects/valid/validCheck.d.ts +9 -0
- package/dist/forms/effects/valid/validCheck.js +50 -0
- package/dist/forms/effects/valid/validCheck.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validCheck.schema.js +10 -0
- package/dist/forms/effects/valid/validColor.d.ts +11 -0
- package/dist/forms/effects/valid/validColor.js +28 -0
- package/dist/forms/effects/valid/validColor.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validColor.schema.js +11 -0
- package/dist/forms/effects/valid/validFlash.d.ts +9 -0
- package/dist/forms/effects/valid/validFlash.js +36 -0
- package/dist/forms/effects/valid/validFlash.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validFlash.schema.js +10 -0
- package/dist/forms/effects/valid/validMessage.d.ts +7 -0
- package/dist/forms/effects/valid/validMessage.js +24 -0
- package/dist/forms/effects/valid/validMessage.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validMessage.schema.js +9 -0
- package/dist/forms/effects/valid/validShake.d.ts +9 -0
- package/dist/forms/effects/valid/validShake.js +37 -0
- package/dist/forms/effects/valid/validShake.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validShake.schema.js +10 -0
- package/dist/forms/effects/valid/validSwap.d.ts +7 -0
- package/dist/forms/effects/valid/validSwap.js +33 -0
- package/dist/forms/effects/valid/validSwap.schema.d.ts +1 -0
- package/dist/forms/effects/valid/validSwap.schema.js +9 -0
- package/dist/forms/errors.d.ts +12 -0
- package/dist/forms/errors.js +20 -0
- package/dist/forms/file.d.ts +1 -0
- package/dist/forms/file.js +268 -0
- package/dist/forms/files.d.ts +7 -0
- package/dist/forms/files.js +29 -0
- package/dist/forms/formSteps.d.ts +9 -0
- package/dist/forms/formSteps.js +6 -0
- package/dist/forms/ids.d.ts +17 -0
- package/dist/forms/ids.js +13 -0
- package/dist/forms/inline.d.ts +3 -0
- package/dist/forms/inline.js +128 -0
- package/dist/forms/number.d.ts +1 -0
- package/dist/forms/number.js +67 -0
- package/dist/forms/otp.d.ts +4 -0
- package/dist/forms/otp.js +171 -0
- package/dist/forms/picker.d.ts +1 -0
- package/dist/forms/picker.js +303 -0
- package/dist/forms/range.d.ts +3 -0
- package/dist/forms/range.js +223 -0
- package/dist/forms/registry.d.ts +4 -0
- package/dist/forms/registry.js +133 -0
- package/dist/forms/reveal.d.ts +6 -0
- package/dist/forms/reveal.js +51 -0
- package/dist/forms/runtime/focus.d.ts +16 -0
- package/dist/forms/runtime/focus.js +55 -0
- package/dist/forms/runtime/listMatch.d.ts +2 -0
- package/dist/forms/runtime/listMatch.js +33 -0
- package/dist/forms/runtime/origin.d.ts +10 -0
- package/dist/forms/runtime/origin.js +25 -0
- package/dist/forms/runtime/placePopup.d.ts +10 -0
- package/dist/forms/runtime/placePopup.js +55 -0
- package/dist/forms/runtime/useFlip.d.ts +7 -0
- package/dist/forms/runtime/useFlip.js +38 -0
- package/dist/forms/runtime/useMorph.d.ts +8 -0
- package/dist/forms/runtime/useMorph.js +56 -0
- package/dist/forms/runtime/useOffScreen.d.ts +3 -0
- package/dist/forms/runtime/useOffScreen.js +16 -0
- package/dist/forms/runtime/useSwitchDrag.d.ts +8 -0
- package/dist/forms/runtime/useSwitchDrag.js +83 -0
- package/dist/forms/runtime/vanish.d.ts +6 -0
- package/dist/forms/runtime/vanish.js +185 -0
- package/dist/forms/steps.d.ts +1 -0
- package/dist/forms/steps.js +149 -0
- package/dist/forms/swap.d.ts +7 -0
- package/dist/forms/swap.js +149 -0
- package/dist/forms/switch.d.ts +1 -0
- package/dist/forms/switch.js +99 -0
- package/dist/forms/tools.d.ts +3 -0
- package/dist/forms/tools.js +248 -0
- package/dist/forms/types.d.ts +161 -0
- package/dist/forms/types.js +5 -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 +931 -0
- package/dist/index.js +492 -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/forms.d.ts +3 -0
- package/dist/schema/forms.js +194 -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 +42 -0
- package/dist/schema/index.js +63 -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 +28 -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 +62 -0
- package/guides/about.md +80 -0
- package/guides/backgrounds.md +107 -0
- package/guides/buttons.md +84 -0
- package/guides/contact.md +107 -0
- package/guides/forms.md +105 -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/form.css +594 -0
- package/styles/hero.css +108 -0
- package/styles/sections.css +22 -0
- package/styles/services.css +111 -0
- package/theme.css +88 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useId, useRef } from "react";
|
|
4
|
+
import { styleHref } from "../../backgrounds/hosts/CssHost.js";
|
|
5
|
+
import { pickEffect } from "../../buttons/pick.js";
|
|
6
|
+
import { useButtonTier } from "../../buttons/runtime/useButtonTier.js";
|
|
7
|
+
import { CHOICE_BASE_CSS } from "../choice.js";
|
|
8
|
+
import { fieldDescribedBy, fieldIds } from "../ids.js";
|
|
9
|
+
import { useSwitchDrag } from "../runtime/useSwitchDrag.js";
|
|
10
|
+
import { SWITCH_BASE_CSS } from "../switch.js";
|
|
11
|
+
import { checkChoice } from "./choiceChecks.js";
|
|
12
|
+
import { ChoiceItem, EffectSheets, usePrograms } from "./choiceParts.js";
|
|
13
|
+
import { effectList, filled, withUid } from "./shared.js";
|
|
14
|
+
/**
|
|
15
|
+
* A switch that wears any number of effects: a real checkbox with `role="switch"` on top of the drawn track, at opacity
|
|
16
|
+
* 0, the same size. It takes the click, Space and the focus; screen readers hear "switch, on".
|
|
17
|
+
*
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <Switch label="Email me" effect={[switchSlide(), switchIcon()]} pending={saving} {...register("news")} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export function Switch(props) {
|
|
23
|
+
const { label, description, error, invalid, pending, drag, haptics, labelFirst, effect, native, unstyled, labels, className, rootClassName, labelClassName, style, id: ownId, ...rest } = props;
|
|
24
|
+
const wanted = native ? [] : effectList(effect);
|
|
25
|
+
// a heavy effect starts on its fallback and moves up once the device is known (no hydration mismatch)
|
|
26
|
+
const device = useButtonTier(wanted.some((e) => e.tier !== "all"));
|
|
27
|
+
const effects = wanted.map((e) => pickEffect(e, device));
|
|
28
|
+
const auto = useId();
|
|
29
|
+
const id = ownId ?? `sx-switch${auto.replace(/[^\w-]/g, "")}`;
|
|
30
|
+
const uid = `sx${auto.replace(/[^\w-]/g, "")}`;
|
|
31
|
+
const ids = fieldIds(id);
|
|
32
|
+
const hasError = filled(error);
|
|
33
|
+
const ownInvalid = rest["aria-invalid"];
|
|
34
|
+
const isInvalid = hasError || invalid === true || ownInvalid === true || ownInvalid === "true";
|
|
35
|
+
const describedBy = fieldDescribedBy(ids, { error: hasError, description: filled(description), own: rest["aria-describedby"] });
|
|
36
|
+
if (process.env.NODE_ENV !== "production") {
|
|
37
|
+
checkChoice({
|
|
38
|
+
control: "switch",
|
|
39
|
+
effects,
|
|
40
|
+
labelled: filled(label) || !!rest["aria-label"] || !!rest["aria-labelledby"],
|
|
41
|
+
nativeWithEffects: !!native && !!effect && effectList(effect).length > 0,
|
|
42
|
+
invalidWithoutWords: invalid === true && !hasError,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
const root = useRef(null);
|
|
46
|
+
usePrograms(root, effects);
|
|
47
|
+
useSwitchDrag(root, !!drag && !native);
|
|
48
|
+
// While it saves, a click must change nothing, and React must not hear one: it reports a checkbox's change from the
|
|
49
|
+
// click itself, so stopping the default in onClick still let onChange through. Stopped at the input, before React.
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
const input = root.current?.querySelector("[data-sx-choice-control]");
|
|
52
|
+
if (!pending || !input)
|
|
53
|
+
return;
|
|
54
|
+
const hold = (e) => {
|
|
55
|
+
e.preventDefault();
|
|
56
|
+
e.stopPropagation();
|
|
57
|
+
};
|
|
58
|
+
input.addEventListener("click", hold);
|
|
59
|
+
return () => input.removeEventListener("click", hold);
|
|
60
|
+
}, [pending]);
|
|
61
|
+
const ownChange = rest.onChange;
|
|
62
|
+
const vars = { ...withUid(Object.assign({}, ...effects.map((e) => e.vars)), uid), ...style };
|
|
63
|
+
return (_jsxs(_Fragment, { children: [_jsx("style", { href: styleHref("form-choice", CHOICE_BASE_CSS), precedence: "sx", children: CHOICE_BASE_CSS }), _jsx(EffectSheets, { name: "form-switch", base: SWITCH_BASE_CSS, effects: effects }), _jsxs(ChoiceItem, { kind: "switch", effects: effects, uid: uid, label: label, description: description, descriptionId: ids.description, boxClassName: className, labelClassName: labelClassName, thumb: pending ? _jsx("span", { "data-sx-switch-spinner": "" }) : null, root: {
|
|
64
|
+
ref: root,
|
|
65
|
+
"data-sx-choice": "",
|
|
66
|
+
"data-sx-switch": effects.map((e) => e.id).join(" "),
|
|
67
|
+
"data-sx-kind": "switch",
|
|
68
|
+
"data-sx-styled": unstyled ? undefined : "",
|
|
69
|
+
"data-sx-native": native ? "" : undefined,
|
|
70
|
+
"data-sx-pending": pending ? "" : undefined,
|
|
71
|
+
"data-sx-drag": drag && !native ? "" : undefined,
|
|
72
|
+
"data-sx-label-first": labelFirst ? "" : undefined,
|
|
73
|
+
className: rootClassName,
|
|
74
|
+
style: vars,
|
|
75
|
+
}, control: {
|
|
76
|
+
...rest,
|
|
77
|
+
id,
|
|
78
|
+
type: "checkbox",
|
|
79
|
+
role: "switch",
|
|
80
|
+
// Safari draws its own switch with this, and on an iPhone gives the haptic tick when it flips
|
|
81
|
+
...(native || haptics ? { switch: "" } : {}),
|
|
82
|
+
"aria-invalid": isInvalid || undefined,
|
|
83
|
+
"aria-describedby": describedBy,
|
|
84
|
+
"aria-busy": pending || undefined,
|
|
85
|
+
onChange: (e) => {
|
|
86
|
+
if (haptics && typeof navigator !== "undefined")
|
|
87
|
+
navigator.vibrate?.(8);
|
|
88
|
+
ownChange?.(e);
|
|
89
|
+
},
|
|
90
|
+
}, children: [pending === undefined ? null : (_jsx("span", { "data-sx-choice-sr": "", role: "status", children: pending ? (labels?.pending ?? "Saving…") : "" })), _jsx("div", { "data-sx-choice-message": "", children: _jsx("p", { "data-sx-choice-error": "", id: ids.error, role: "alert", children: hasError ? (_jsx("span", { "data-sx-choice-says": "", children: error }, typeof error === "string" ? error : undefined)) : null }) })] })] }));
|
|
91
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type CSSProperties, type FocusEvent, type ReactNode, type Ref } from "react";
|
|
2
|
+
import type { FormEffect } from "../types.js";
|
|
3
|
+
/** The words a TagsField says, for your language. `{label}` is a tag, `{n}` a number. */
|
|
4
|
+
export interface TagsFieldLabels {
|
|
5
|
+
readonly remove?: string;
|
|
6
|
+
readonly added?: string;
|
|
7
|
+
readonly removed?: string;
|
|
8
|
+
readonly again?: string;
|
|
9
|
+
readonly full?: string;
|
|
10
|
+
readonly refused?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TagsFieldProps {
|
|
13
|
+
/** The visible label: a real `<label for>` on the text box. */
|
|
14
|
+
readonly label?: ReactNode;
|
|
15
|
+
readonly description?: ReactNode;
|
|
16
|
+
/** The error message. While set, the text box is `aria-invalid` and points at it. */
|
|
17
|
+
readonly error?: ReactNode;
|
|
18
|
+
readonly invalid?: boolean;
|
|
19
|
+
/** The tags, when you hold them (React Hook Form's `Controller` passes `field.value`). */
|
|
20
|
+
readonly value?: readonly string[];
|
|
21
|
+
readonly defaultValue?: readonly string[];
|
|
22
|
+
/** Called with every tag after a change: `field.onChange` fits. */
|
|
23
|
+
readonly onChange?: (tags: string[]) => void;
|
|
24
|
+
readonly onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
25
|
+
/** Called with the words typed so far (to suggest, or to count). */
|
|
26
|
+
readonly onInputChange?: (text: string) => void;
|
|
27
|
+
/** Submitted with a plain form: one hidden input per tag. */
|
|
28
|
+
readonly name?: string;
|
|
29
|
+
/** The most tags; past it, a new one is refused and the field says so. */
|
|
30
|
+
readonly max?: number;
|
|
31
|
+
/** Keys besides Enter that end a tag. Default `[","]`. A paste is cut at each of these, and at new lines. */
|
|
32
|
+
readonly separators?: readonly string[];
|
|
33
|
+
/** Whether a tag may be added (a format, a length). A refused one stays in the box to be fixed. */
|
|
34
|
+
readonly allow?: (tag: string, tags: readonly string[]) => boolean;
|
|
35
|
+
/** The same words twice, ignoring case: refused, and the tag already there flashes. Default `false`. */
|
|
36
|
+
readonly duplicates?: boolean;
|
|
37
|
+
/** Typed words become a tag when the box loses the focus. Default `true`. */
|
|
38
|
+
readonly addOnBlur?: boolean;
|
|
39
|
+
readonly placeholder?: string;
|
|
40
|
+
readonly disabled?: boolean;
|
|
41
|
+
readonly required?: boolean;
|
|
42
|
+
readonly autoFocus?: boolean;
|
|
43
|
+
/** Goes on the text box (React Hook Form focuses it on an error). */
|
|
44
|
+
readonly ref?: Ref<HTMLInputElement>;
|
|
45
|
+
readonly id?: string;
|
|
46
|
+
/** `chipPop`: tags pop in and shrink away, the others glide into place. */
|
|
47
|
+
readonly effect?: FormEffect | readonly FormEffect[];
|
|
48
|
+
readonly labels?: TagsFieldLabels;
|
|
49
|
+
readonly unstyled?: boolean;
|
|
50
|
+
/** Goes on the box (border, background). */
|
|
51
|
+
readonly className?: string;
|
|
52
|
+
readonly rootClassName?: string;
|
|
53
|
+
readonly labelClassName?: string;
|
|
54
|
+
readonly style?: CSSProperties;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Free-text tags in one box: type and press Enter (or a comma) to add a tag, Backspace in the empty box removes the last,
|
|
58
|
+
* and a paste of "red, green, blue" adds three. Each tag has a named remove button. The tags are the value: hold them
|
|
59
|
+
* with `value` / `onChange` (React Hook Form's `Controller`), and `name` submits them with a plain form, one hidden
|
|
60
|
+
* input each. Suggestions to pick from are a `Combobox` with `multiple` and `creatable`.
|
|
61
|
+
*
|
|
62
|
+
* ```tsx
|
|
63
|
+
* <Controller name="skills" control={control} render={({ field }) => (
|
|
64
|
+
* <TagsField label="Skills" max={8} effect={chipPop()} {...field} />
|
|
65
|
+
* )} />
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare function TagsField(props: TagsFieldProps): import("react").JSX.Element;
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FormControl, FormEffect } from "../types.js";
|
|
2
|
+
export interface ChoiceCheck {
|
|
3
|
+
readonly control: Extract<FormControl, "checkbox" | "radio" | "switch">;
|
|
4
|
+
readonly effects: readonly FormEffect[];
|
|
5
|
+
/** It has words, or an `aria-label`. */
|
|
6
|
+
readonly labelled: boolean;
|
|
7
|
+
/** `native` with effects: they have nothing to paint on. */
|
|
8
|
+
readonly nativeWithEffects: boolean;
|
|
9
|
+
readonly invalidWithoutWords: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function checkChoice(c: ChoiceCheck): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Warnings for the developer about checkboxes and radio groups. The controls call this only outside production,
|
|
2
|
+
// behind a check bundlers turn into `if (false)`, so a production build drops this module and its messages.
|
|
3
|
+
import { claimConflicts } from "../../buttons/claims.js";
|
|
4
|
+
import { warnOnce } from "../../buttons/runtime/dev.js";
|
|
5
|
+
export function checkChoice(c) {
|
|
6
|
+
const what = c.control === "radio" ? "radio group" : c.control;
|
|
7
|
+
for (const { claim, ids } of claimConflicts(c.effects)) {
|
|
8
|
+
warnOnce(`${what} effects ${ids.join(" and ")} both write the "${claim}" channel: the last one wins. Keep one of them.`);
|
|
9
|
+
}
|
|
10
|
+
for (const e of c.effects)
|
|
11
|
+
if (!e.fits.includes(c.control))
|
|
12
|
+
warnOnce(`the effect ${e.id} is not made for a ${what}: it fits ${e.fits.join(", ")}.`);
|
|
13
|
+
if (!c.labelled)
|
|
14
|
+
warnOnce(`a ${what} has no label: give it \`label\`, or an \`aria-label\`.`);
|
|
15
|
+
if (c.nativeWithEffects)
|
|
16
|
+
warnOnce(`a native ${what} shows the browser's own control: its effects have nothing to paint on.`);
|
|
17
|
+
if (c.invalidWithoutWords)
|
|
18
|
+
warnOnce(`a ${what} marked invalid needs an \`error\` that says why.`);
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode, type Ref, type RefObject } from "react";
|
|
2
|
+
import type { FormEffect, FormSlot } from "../types.js";
|
|
3
|
+
/** The base sheet first, then each effect's motion (dropped under reduced motion) and its states. */
|
|
4
|
+
export declare function EffectSheets({ name, base, effects }: {
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly base: string;
|
|
7
|
+
readonly effects: readonly FormEffect[];
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
/** Starts the effects' programs (confetti) on the control's root; restarts them only when their options change. */
|
|
10
|
+
export declare function usePrograms(root: RefObject<HTMLElement | null>, effects: readonly FormEffect[]): void;
|
|
11
|
+
/** Every layer of these effects in one slot, in the effects' order. */
|
|
12
|
+
export declare function choiceLayers(effects: readonly FormEffect[], slot: FormSlot, uid: string): ReactNode[];
|
|
13
|
+
export interface ChoiceItemProps {
|
|
14
|
+
readonly kind: "checkbox" | "radio" | "switch";
|
|
15
|
+
/** The effects whose option layers this option wears (a checkbox's own, or its radio group's). */
|
|
16
|
+
readonly effects: readonly FormEffect[];
|
|
17
|
+
readonly uid: string;
|
|
18
|
+
readonly label: ReactNode;
|
|
19
|
+
readonly description?: ReactNode;
|
|
20
|
+
readonly descriptionId?: string;
|
|
21
|
+
/** Everything the real input gets: its type, the developer's props, the ids it points at. */
|
|
22
|
+
readonly control: Record<string, unknown>;
|
|
23
|
+
/** The option's root: data attributes, the class, the style. */
|
|
24
|
+
readonly root: Record<string, unknown> & {
|
|
25
|
+
readonly ref?: Ref<HTMLDivElement>;
|
|
26
|
+
readonly style?: CSSProperties;
|
|
27
|
+
};
|
|
28
|
+
readonly boxClassName?: string;
|
|
29
|
+
readonly labelClassName?: string;
|
|
30
|
+
/** After the option: its error row. */
|
|
31
|
+
readonly children?: ReactNode;
|
|
32
|
+
/** A switch's thumb, drawn over the track's layers. */
|
|
33
|
+
readonly thumb?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* One option. The whole row is a real `<label>` around the real input, so a click anywhere on it, the words included,
|
|
37
|
+
* toggles it, and its name is the words. The help sits inside too, for a card to hold it, so it is hidden from the name
|
|
38
|
+
* and read as the description instead.
|
|
39
|
+
*/
|
|
40
|
+
export declare function ChoiceItem({ kind, effects, uid, label, description, descriptionId, control, root, boxClassName, labelClassName, children, thumb }: ChoiceItemProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
// What a checkbox and a radio share: one option's markup (the drawn box under the real input, the mark, the words and
|
|
4
|
+
// the help, all inside a real label), the effects' layers by slot, the stylesheets, and the effects' programs.
|
|
5
|
+
import { useEffect } from "react";
|
|
6
|
+
import { styleHref } from "../../backgrounds/hosts/CssHost.js";
|
|
7
|
+
import { renderSvgElement } from "../../backgrounds/hosts/svgElement.js";
|
|
8
|
+
import { motionOnly } from "../../transitions/progress.js";
|
|
9
|
+
/** The base sheet first, then each effect's motion (dropped under reduced motion) and its states. */
|
|
10
|
+
export function EffectSheets({ name, base, effects }) {
|
|
11
|
+
return (_jsxs(_Fragment, { children: [_jsx("style", { href: styleHref(name, base), precedence: "sx", children: base }), effects.filter((e) => e.css).map((e) => {
|
|
12
|
+
const css = motionOnly(e.css);
|
|
13
|
+
return (_jsx("style", { href: styleHref(`form-${e.id}`, css), precedence: "sx", children: css }, e.id));
|
|
14
|
+
}), effects.filter((e) => e.stateCss).map((e) => (_jsx("style", { href: styleHref(`form-${e.id}-state`, e.stateCss), precedence: "sx", children: e.stateCss }, e.id)))] }));
|
|
15
|
+
}
|
|
16
|
+
/** Starts the effects' programs (confetti) on the control's root; restarts them only when their options change. */
|
|
17
|
+
export function usePrograms(root, effects) {
|
|
18
|
+
const programs = effects.filter((e) => e.program);
|
|
19
|
+
const key = programs.map((e) => `${e.id}:${e.program.signature}`).join(" ");
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const el = root.current;
|
|
22
|
+
if (!el || programs.length === 0)
|
|
23
|
+
return;
|
|
24
|
+
const stops = programs.map((e) => e.program.attach(el));
|
|
25
|
+
return () => stops.forEach((stop) => stop());
|
|
26
|
+
// a factory called during render makes a new program every time: only its options restart it
|
|
27
|
+
}, [key]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
28
|
+
}
|
|
29
|
+
function ChoiceLayer({ effect, layer, uid }) {
|
|
30
|
+
return (_jsxs("span", { "data-sx-choice-layer": effect.id, "data-sx-choice-part": layer.part, "data-sx-choice-slot": layer.slot, "data-sx-choice-keep": layer.keep ? "" : undefined, "aria-hidden": true, children: [layer.svg ? (_jsx("svg", { viewBox: layer.svg.viewBox, preserveAspectRatio: layer.svg.preserveAspectRatio, focusable: "false", children: layer.svg.children.map((el, i) => renderSvgElement(el, uid, i, "data-sx-choice-svg")) })) : null, layer.children?.map((part) => _jsx("span", { "data-sx-choice-part": part }, part)), layer.text] }));
|
|
31
|
+
}
|
|
32
|
+
/** Every layer of these effects in one slot, in the effects' order. */
|
|
33
|
+
export function choiceLayers(effects, slot, uid) {
|
|
34
|
+
return effects.flatMap((effect) => effect.layers.filter((l) => l.slot === slot).map((layer, i) => _jsx(ChoiceLayer, { effect: effect, layer: layer, uid: uid }, `${effect.id}-${i}`)));
|
|
35
|
+
}
|
|
36
|
+
/** The mark a checked option shows: a tick and a dash for a checkbox (one drawn at a time), a dot for a radio. */
|
|
37
|
+
function Mark({ kind }) {
|
|
38
|
+
if (kind === "radio")
|
|
39
|
+
return _jsx("span", { "data-sx-mark": "dot" });
|
|
40
|
+
return (_jsxs("svg", { "data-sx-choice-mark": "", viewBox: "0 0 24 24", focusable: "false", children: [_jsx("path", { "data-sx-mark": "tick", d: "m5.5 12.5 4.25 4.25L18.5 7.5", pathLength: 1 }), _jsx("path", { "data-sx-mark": "dash", d: "M6.5 12h11", pathLength: 1 })] }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* One option. The whole row is a real `<label>` around the real input, so a click anywhere on it, the words included,
|
|
44
|
+
* toggles it, and its name is the words. The help sits inside too, for a card to hold it, so it is hidden from the name
|
|
45
|
+
* and read as the description instead.
|
|
46
|
+
*/
|
|
47
|
+
export function ChoiceItem({ kind, effects, uid, label, description, descriptionId, control, root, boxClassName, labelClassName, children, thumb }) {
|
|
48
|
+
return (_jsxs("div", { ...root, children: [_jsxs("label", { "data-sx-choice-row": "", children: [choiceLayers(effects, "row", uid), choiceLayers(effects, "halo", uid), _jsx("span", { "data-sx-choice-box": "", "aria-hidden": true, className: boxClassName, children: kind === "switch" ? (_jsxs(_Fragment, { children: [choiceLayers(effects, "box", uid), _jsxs("span", { "data-sx-switch-thumb": "", children: [thumb, choiceLayers(effects, "thumb", uid)] })] })) : (_jsxs(_Fragment, { children: [_jsx(Mark, { kind: kind }), choiceLayers(effects, "box", uid)] })) }), _jsx("input", { "data-sx-choice-control": "", ...control }), _jsxs("span", { "data-sx-choice-text": "", className: labelClassName, children: [label, choiceLayers(effects, "text", uid)] }), description === undefined || description === null || description === false || description === "" ? null : (_jsx("span", { "data-sx-choice-description": "", id: descriptionId, "aria-hidden": true, children: description }))] }), children] }));
|
|
49
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FormEffect, FormLabelPlan } from "../types.js";
|
|
2
|
+
export interface FieldCheck {
|
|
3
|
+
readonly effects: readonly FormEffect[];
|
|
4
|
+
readonly labelled: boolean;
|
|
5
|
+
readonly labelIsText: boolean;
|
|
6
|
+
readonly plan: FormLabelPlan | undefined;
|
|
7
|
+
readonly as: string | undefined;
|
|
8
|
+
readonly type: string | undefined;
|
|
9
|
+
readonly hasError: boolean;
|
|
10
|
+
readonly status: string | undefined;
|
|
11
|
+
readonly reveal: boolean | undefined;
|
|
12
|
+
readonly counter: boolean | number | undefined;
|
|
13
|
+
readonly limit: number | undefined;
|
|
14
|
+
readonly grow: boolean | number | undefined;
|
|
15
|
+
readonly focusRing: "auto" | "always" | "none" | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare function checkField(c: FieldCheck): void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// The field's warnings for the developer. `Field` calls this only outside production, behind a check bundlers turn into
|
|
2
|
+
// `if (false)`, so a production build drops this module and every message in it.
|
|
3
|
+
import { claimConflicts } from "../../buttons/claims.js";
|
|
4
|
+
import { warnOnce } from "../../buttons/runtime/dev.js";
|
|
5
|
+
export function checkField(c) {
|
|
6
|
+
for (const { claim, ids } of claimConflicts(c.effects)) {
|
|
7
|
+
warnOnce(`field effects ${ids.join(" and ")} both write the "${claim}" channel: the last one wins. Keep one of them.`);
|
|
8
|
+
}
|
|
9
|
+
for (const e of c.effects) {
|
|
10
|
+
if (!e.fits.includes("field"))
|
|
11
|
+
warnOnce(`the effect ${e.id} is not made for a text field: it fits ${e.fits.join(", ")}.`);
|
|
12
|
+
if (e.needs.tool === "counter" && !c.counter)
|
|
13
|
+
warnOnce(`${e.id} draws the character counter: turn it on with \`counter\`.`);
|
|
14
|
+
if (e.needs.tool === "reveal" && !c.reveal)
|
|
15
|
+
warnOnce(`${e.id} styles the show-password button: turn it on with \`reveal\`.`);
|
|
16
|
+
}
|
|
17
|
+
if (!c.labelled)
|
|
18
|
+
warnOnce("a field has no label: give it `label`, or an `aria-label`. A placeholder is not a label: it goes away as you type.");
|
|
19
|
+
if (c.plan?.split && !c.labelIsText)
|
|
20
|
+
warnOnce("a field effect that moves the label's letters needs a plain text label: with anything else, the letters stay still.");
|
|
21
|
+
if (c.effects.some((e) => e.layers.some((l) => l.legend)) && !c.labelled)
|
|
22
|
+
warnOnce("inputNotch cuts its gap to fit the label: it needs one.");
|
|
23
|
+
if (c.status === "invalid" && !c.hasError)
|
|
24
|
+
warnOnce('a field with status="invalid" needs an `error` that says why: a red mark alone is not enough.');
|
|
25
|
+
if (c.reveal && c.type !== "password")
|
|
26
|
+
warnOnce('`reveal` shows a password: the field needs type="password".');
|
|
27
|
+
if (c.grow && c.as !== "textarea")
|
|
28
|
+
warnOnce('`grow` makes a textarea grow with its text: give the field as="textarea".');
|
|
29
|
+
if (c.focusRing === "none" && !c.effects.some((e) => e.marksFocus)) {
|
|
30
|
+
warnOnce('focusRing="none" leaves no sign of the focus: give the field an effect that marks it (inputUnderline, inputRing …) or style :focus-within yourself.');
|
|
31
|
+
}
|
|
32
|
+
if (c.counter === true && c.limit === undefined)
|
|
33
|
+
warnOnce("`counter` counts against `maxLength`: give the field one, or pass the limit as `counter={280}`.");
|
|
34
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/** The words a field's own buttons and notes use. Pass yours for another language; anything left out stays English. */
|
|
3
|
+
export interface FieldLabels {
|
|
4
|
+
/** The clear button's name. */
|
|
5
|
+
readonly clear?: string;
|
|
6
|
+
/** The show-password button's name (it is a toggle: pressed while the password shows). */
|
|
7
|
+
readonly show?: string;
|
|
8
|
+
/** Shown under a password field while Caps Lock is on. */
|
|
9
|
+
readonly capsLock?: string;
|
|
10
|
+
/** Read out near the counter's limit. `{n}` is the number. */
|
|
11
|
+
readonly left?: string;
|
|
12
|
+
/** Read out past a soft limit. `{n}` is the number. */
|
|
13
|
+
readonly over?: string;
|
|
14
|
+
/** Beside the strength meter. `{level}` is one of `levels`. */
|
|
15
|
+
readonly strength?: string;
|
|
16
|
+
/** The strength levels, 0 to 4. */
|
|
17
|
+
readonly levels?: readonly [string, string, string, string, string];
|
|
18
|
+
/** Read out while an async check runs (`status="checking"`). */
|
|
19
|
+
readonly checking?: string;
|
|
20
|
+
/** Read out when it passes (`status="valid"`). */
|
|
21
|
+
readonly valid?: string;
|
|
22
|
+
/** The hint button's name. */
|
|
23
|
+
readonly hint?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const FIELD_LABELS: Required<FieldLabels>;
|
|
26
|
+
/**
|
|
27
|
+
* Sets a value the way typing does: through the element's own setter, which React's change tracking doesn't see, then an
|
|
28
|
+
* `input` event, so a controlled field's `onChange` and React Hook Form both hear it.
|
|
29
|
+
*/
|
|
30
|
+
export declare function setNativeValue(el: HTMLInputElement | HTMLTextAreaElement, value: string): void;
|
|
31
|
+
interface ToolProps {
|
|
32
|
+
readonly label: string;
|
|
33
|
+
/** The input's id. */
|
|
34
|
+
readonly controls: string;
|
|
35
|
+
readonly onClick: () => void;
|
|
36
|
+
}
|
|
37
|
+
export declare function ClearButton({ label, controls, onClick }: ToolProps): import("react").JSX.Element;
|
|
38
|
+
/** Shows the action: an open eye while the password is hidden, a crossed-out one while it shows. */
|
|
39
|
+
export declare function RevealButton({ label, controls, onClick, pressed }: ToolProps & {
|
|
40
|
+
readonly pressed: boolean;
|
|
41
|
+
}): import("react").JSX.Element;
|
|
42
|
+
/** Opens the hint popover. Anchor positioning places it; the field moves it by hand where that is missing. */
|
|
43
|
+
export declare function HintButton({ label, target, anchor }: {
|
|
44
|
+
readonly label: string;
|
|
45
|
+
readonly target: string;
|
|
46
|
+
readonly anchor: string;
|
|
47
|
+
}): import("react").JSX.Element;
|
|
48
|
+
/** The async check's mark: a ring that spins, then a check or a cross. */
|
|
49
|
+
export declare function StatusMark(): import("react").JSX.Element;
|
|
50
|
+
/** "12/280", or "12" with no limit. `inputCounter` draws its ring in `children` and shows what is left near the end. */
|
|
51
|
+
export declare function Counter({ used, limit, children }: {
|
|
52
|
+
readonly used: number;
|
|
53
|
+
readonly limit: number | undefined;
|
|
54
|
+
readonly children: ReactNode;
|
|
55
|
+
}): import("react").JSX.Element;
|
|
56
|
+
/** Four bars and a word. The word is a live region: a new level is read out. */
|
|
57
|
+
export declare function Strength({ level, text }: {
|
|
58
|
+
readonly level: number;
|
|
59
|
+
readonly text: string;
|
|
60
|
+
}): import("react").JSX.Element;
|
|
61
|
+
export declare function CapsIcon(): import("react").JSX.Element;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const FIELD_LABELS = {
|
|
3
|
+
clear: "Clear",
|
|
4
|
+
show: "Show password",
|
|
5
|
+
capsLock: "Caps Lock is on",
|
|
6
|
+
left: "{n} characters left",
|
|
7
|
+
over: "{n} characters too many",
|
|
8
|
+
strength: "Strength: {level}",
|
|
9
|
+
levels: ["Very weak", "Weak", "Fair", "Good", "Strong"],
|
|
10
|
+
checking: "Checking…",
|
|
11
|
+
valid: "Looks good",
|
|
12
|
+
hint: "More about this field",
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Sets a value the way typing does: through the element's own setter, which React's change tracking doesn't see, then an
|
|
16
|
+
* `input` event, so a controlled field's `onChange` and React Hook Form both hear it.
|
|
17
|
+
*/
|
|
18
|
+
export function setNativeValue(el, value) {
|
|
19
|
+
const set = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(el), "value")?.set;
|
|
20
|
+
if (set)
|
|
21
|
+
set.call(el, value);
|
|
22
|
+
else
|
|
23
|
+
el.value = value;
|
|
24
|
+
el.dispatchEvent(new Event("input", { bubbles: true }));
|
|
25
|
+
}
|
|
26
|
+
const Icon = ({ children }) => (_jsx("svg", { viewBox: "0 0 24 24", "aria-hidden": true, focusable: "false", children: children }));
|
|
27
|
+
export function ClearButton({ label, controls, onClick }) {
|
|
28
|
+
return (_jsx("button", { type: "button", "data-sx-field-tool": "", "data-sx-field-clear": "", "aria-label": label, "aria-controls": controls, onClick: onClick, children: _jsx(Icon, { children: _jsx("path", { d: "m7 7 10 10M17 7 7 17" }) }) }));
|
|
29
|
+
}
|
|
30
|
+
/** Shows the action: an open eye while the password is hidden, a crossed-out one while it shows. */
|
|
31
|
+
export function RevealButton({ label, controls, onClick, pressed }) {
|
|
32
|
+
return (_jsx("button", { type: "button", "data-sx-field-tool": "", "data-sx-field-reveal": "", "aria-label": label, "aria-pressed": pressed, "aria-controls": controls,
|
|
33
|
+
// a press keeps the focus (and a phone's keyboard) in the field: Safari would otherwise drop it on the page
|
|
34
|
+
onPointerDown: (e) => e.preventDefault(), onClick: onClick, children: _jsxs(Icon, { children: [_jsx("path", { "data-sx-tool-eye": "lid", d: "M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z" }), _jsx("circle", { "data-sx-tool-eye": "pupil", cx: "12", cy: "12", r: "3" }), _jsx("path", { "data-sx-tool-part": "slash", d: "m4 4 16 16", pathLength: 1 })] }) }));
|
|
35
|
+
}
|
|
36
|
+
/** Opens the hint popover. Anchor positioning places it; the field moves it by hand where that is missing. */
|
|
37
|
+
export function HintButton({ label, target, anchor }) {
|
|
38
|
+
return (_jsx("button", { type: "button", "data-sx-field-tool": "", "data-sx-field-hint-button": "", "aria-label": label, popoverTarget: target, style: { anchorName: anchor }, children: _jsxs(Icon, { children: [_jsx("circle", { cx: "12", cy: "12", r: "9" }), _jsx("path", { d: "M12 11v5M12 8h.01" })] }) }));
|
|
39
|
+
}
|
|
40
|
+
/** The async check's mark: a ring that spins, then a check or a cross. */
|
|
41
|
+
export function StatusMark() {
|
|
42
|
+
return (_jsx("span", { "data-sx-field-status": "", "aria-hidden": true, children: _jsxs(Icon, { children: [_jsx("circle", { "data-sx-tool-part": "ring", cx: "12", cy: "12", r: "9", pathLength: 1 }), _jsx("path", { "data-sx-tool-part": "check", d: "m8 12.5 2.75 2.75L16 9.5", pathLength: 1 }), _jsx("path", { "data-sx-tool-part": "cross", d: "m9 9 6 6m0-6-6 6", pathLength: 1 })] }) }));
|
|
43
|
+
}
|
|
44
|
+
/** "12/280", or "12" with no limit. `inputCounter` draws its ring in `children` and shows what is left near the end. */
|
|
45
|
+
export function Counter({ used, limit, children }) {
|
|
46
|
+
return (_jsxs("span", { "data-sx-field-counter": "", "aria-hidden": true, children: [children, _jsx("span", { "data-sx-field-used": "", children: limit === undefined ? used : `${used}/${limit}` }), limit === undefined ? null : _jsx("span", { "data-sx-field-left": "", children: limit - used })] }));
|
|
47
|
+
}
|
|
48
|
+
/** Four bars and a word. The word is a live region: a new level is read out. */
|
|
49
|
+
export function Strength({ level, text }) {
|
|
50
|
+
return (_jsxs("div", { "data-sx-field-strength": "", children: [_jsx("span", { "data-sx-field-bars": "", "aria-hidden": true, children: [0, 1, 2, 3].map((i) => (_jsx("span", { "data-sx-field-bar": "", style: { "--sx-field-i": i }, children: _jsx("span", {}) }, i))) }), _jsx("span", { "data-sx-field-level": "", role: "status", children: _jsx("span", { children: text }, level) })] }));
|
|
51
|
+
}
|
|
52
|
+
export function CapsIcon() {
|
|
53
|
+
return (_jsxs(Icon, { children: [_jsx("path", { d: "M12 4 5 11h4v5h6v-5h4Z" }), _jsx("path", { d: "M9 20h6" })] }));
|
|
54
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FormEffect } from "../types.js";
|
|
2
|
+
export interface PickerCheck {
|
|
3
|
+
readonly control: "Select" | "Combobox" | "TagsField";
|
|
4
|
+
readonly effects: readonly FormEffect[];
|
|
5
|
+
readonly labelled: boolean;
|
|
6
|
+
readonly count: number;
|
|
7
|
+
/** Options whose label is not plain text and that have no `text` to filter and show by. */
|
|
8
|
+
readonly wordless?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function checkPicker(c: PickerCheck): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Warnings for the developer about Select and Combobox. Called only outside production, behind a check bundlers turn
|
|
2
|
+
// into `if (false)`, so a production build drops this module and its messages.
|
|
3
|
+
import { claimConflicts } from "../../buttons/claims.js";
|
|
4
|
+
import { warnOnce } from "../../buttons/runtime/dev.js";
|
|
5
|
+
/** Effects that need the Combobox's own markup: a highlight layer, marked words, chips. */
|
|
6
|
+
const COMBOBOX_ONLY = ["listHighlight", "listMatch", "chipPop"];
|
|
7
|
+
/** Past this many options a list without virtual scrolling gets slow to filter and to read. */
|
|
8
|
+
const MANY = 500;
|
|
9
|
+
export function checkPicker(c) {
|
|
10
|
+
for (const { claim, ids } of claimConflicts(c.effects)) {
|
|
11
|
+
warnOnce(`${c.control} effects ${ids.join(" and ")} both write the "${claim}" channel: the last one wins. Keep one of them.`);
|
|
12
|
+
}
|
|
13
|
+
for (const e of c.effects) {
|
|
14
|
+
if (!e.fits.includes("picker"))
|
|
15
|
+
warnOnce(`the effect ${e.id} is not made for a ${c.control}: it fits ${e.fits.join(", ")}.`);
|
|
16
|
+
else if (c.control === "TagsField" && e.id !== "chipPop")
|
|
17
|
+
warnOnce(`the effect ${e.id} reaches only a Select or a Combobox: a TagsField has no list.`);
|
|
18
|
+
else if (c.control === "Select" && COMBOBOX_ONLY.includes(e.id))
|
|
19
|
+
warnOnce(`the effect ${e.id} reaches only a Combobox: a <select> has no ${e.id === "chipPop" ? "chips" : "room for it in its list"}.`);
|
|
20
|
+
}
|
|
21
|
+
if (!c.labelled)
|
|
22
|
+
warnOnce(`a ${c.control} has no label: give it \`label\`, or an \`aria-label\`.`);
|
|
23
|
+
if (c.count > MANY)
|
|
24
|
+
warnOnce(`a ${c.control} with ${c.count} options: past ${MANY}, filter on the server and pass the matches.`);
|
|
25
|
+
if (c.wordless)
|
|
26
|
+
warnOnce(`${c.wordless} Combobox options have a label that is not plain text and no \`text\`: give them \`text\` to filter and show by.`);
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FormEffect } from "../types.js";
|
|
2
|
+
export interface RangeCheck {
|
|
3
|
+
readonly effects: readonly FormEffect[];
|
|
4
|
+
readonly labelled: boolean;
|
|
5
|
+
readonly min: number;
|
|
6
|
+
readonly max: number;
|
|
7
|
+
readonly step: number;
|
|
8
|
+
readonly vertical: boolean;
|
|
9
|
+
readonly dual: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function checkRange(c: RangeCheck): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Warnings for the developer about Range. Called only outside production, behind a check bundlers turn into
|
|
2
|
+
// `if (false)`, so a production build drops this module and its messages.
|
|
3
|
+
import { claimConflicts } from "../../buttons/claims.js";
|
|
4
|
+
import { warnOnce } from "../../buttons/runtime/dev.js";
|
|
5
|
+
/** Effects drawn along a rail that lies across: they don't stand a Range upright. */
|
|
6
|
+
const ACROSS_ONLY = ["rangeHistogram"];
|
|
7
|
+
export function checkRange(c) {
|
|
8
|
+
for (const { claim, ids } of claimConflicts(c.effects)) {
|
|
9
|
+
warnOnce(`Range effects ${ids.join(" and ")} both write the "${claim}" channel: the last one wins. Keep one of them.`);
|
|
10
|
+
}
|
|
11
|
+
for (const e of c.effects) {
|
|
12
|
+
if (!e.fits.includes("range"))
|
|
13
|
+
warnOnce(`the effect ${e.id} is not made for a Range: it fits ${e.fits.join(", ")}.`);
|
|
14
|
+
else if (c.vertical && ACROSS_ONLY.includes(e.id))
|
|
15
|
+
warnOnce(`the effect ${e.id} draws along a rail that lies across: an upright Range doesn't show it.`);
|
|
16
|
+
}
|
|
17
|
+
if (!c.labelled)
|
|
18
|
+
warnOnce("a Range has no label: give it `label`, or an `aria-label`.");
|
|
19
|
+
if (!(c.max > c.min))
|
|
20
|
+
warnOnce(`a Range's max (${c.max}) must be above its min (${c.min}).`);
|
|
21
|
+
if (!(c.step > 0))
|
|
22
|
+
warnOnce(`a Range's step must be above 0 (it is ${c.step}).`);
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { FormEffect } from "../types.js";
|
|
3
|
+
/** The effects as a list, each id once (the last one wins). */
|
|
4
|
+
export declare function effectList(effect: FormEffect | readonly FormEffect[] | undefined): readonly FormEffect[];
|
|
5
|
+
/** `{uid}` in a var's value becomes this control's id prefix (an anchor name, `url(#{uid}-goo)` for a filter). */
|
|
6
|
+
export declare function withUid(vars: Record<string, unknown>, uid: string): Record<string, unknown>;
|
|
7
|
+
/** The node shows something. */
|
|
8
|
+
export declare const filled: (node: ReactNode) => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Small pure helpers every form control shares: the effects as a list, `{uid}` in their vars, whether a node shows
|
|
2
|
+
// anything. No React state, no "use client": a plain module.
|
|
3
|
+
/** The effects as a list, each id once (the last one wins). */
|
|
4
|
+
export function effectList(effect) {
|
|
5
|
+
if (!effect)
|
|
6
|
+
return [];
|
|
7
|
+
const list = Array.isArray(effect) ? effect : [effect];
|
|
8
|
+
return [...new Map(list.map((e) => [e.id, e])).values()];
|
|
9
|
+
}
|
|
10
|
+
/** `{uid}` in a var's value becomes this control's id prefix (an anchor name, `url(#{uid}-goo)` for a filter). */
|
|
11
|
+
export function withUid(vars, uid) {
|
|
12
|
+
const out = {};
|
|
13
|
+
for (const [k, value] of Object.entries(vars))
|
|
14
|
+
out[k] = typeof value === "string" ? value.split("{uid}").join(uid) : value;
|
|
15
|
+
return out;
|
|
16
|
+
}
|
|
17
|
+
/** The node shows something. */
|
|
18
|
+
export const filled = (node) => node !== undefined && node !== null && node !== false && node !== "";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** The card's states (they hold under reduced motion) for an effect's root (`choiceOf` or `radiosOf`). */
|
|
2
|
+
export declare function cardState(root: string, id: string): string;
|
|
3
|
+
/** The card's motion: the light fades in, the border turns, and a mouse lifts it a little. */
|
|
4
|
+
export declare function cardMotion(root: string, id: string): string;
|
|
5
|
+
/** The card's layer: the panel, with the light inside it. It shows a state, so it stays under reduced motion. */
|
|
6
|
+
export declare const CARD_LAYER: {
|
|
7
|
+
readonly slot: "row";
|
|
8
|
+
readonly part: "card";
|
|
9
|
+
readonly children: readonly ["tint"];
|
|
10
|
+
readonly keep: true;
|
|
11
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// The card both `checkCard` and `radioCard` turn each option into: a bordered panel holding the box, the words and the
|
|
2
|
+
// help, lit when chosen. The panel is a `row` layer, so the option's real label stays the whole card.
|
|
3
|
+
import { at, inItem, choiceLayer, choiceChild, CHECKED, KEYED, ROW, timed, whenItemHover } from "./kit.js";
|
|
4
|
+
/** The card's states (they hold under reduced motion) for an effect's root (`choiceOf` or `radiosOf`). */
|
|
5
|
+
export function cardState(root, id) {
|
|
6
|
+
const CARD = choiceLayer(id, "card");
|
|
7
|
+
const TINT = choiceChild(id, "tint", "card");
|
|
8
|
+
return ` ${at(`${root} ${ROW}`)} {
|
|
9
|
+
padding: 0.875rem 1rem;
|
|
10
|
+
}
|
|
11
|
+
${at(inItem(root, "", CARD))} {
|
|
12
|
+
border: 1px solid var(--color-sx-border, currentColor);
|
|
13
|
+
border-radius: var(--radius-sx-card, 0.75rem);
|
|
14
|
+
background: var(--color-sx-secondary, Canvas);
|
|
15
|
+
}
|
|
16
|
+
${at(inItem(root, "", TINT))} {
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset: 0;
|
|
19
|
+
border-radius: inherit;
|
|
20
|
+
background: color-mix(in oklab, var(--color-sx-primary) 7%, transparent);
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
${at(inItem(root, CHECKED, CARD))} {
|
|
24
|
+
border-color: var(--color-sx-primary, currentColor);
|
|
25
|
+
outline: 1px solid var(--color-sx-primary, currentColor);
|
|
26
|
+
outline-offset: -2px;
|
|
27
|
+
}
|
|
28
|
+
${at(inItem(root, CHECKED, TINT))} {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
${at(inItem(root, KEYED, CARD))} {
|
|
32
|
+
outline: 2px solid var(--color-sx-primary, currentColor);
|
|
33
|
+
outline-offset: 2px;
|
|
34
|
+
}`;
|
|
35
|
+
}
|
|
36
|
+
/** The card's motion: the light fades in, the border turns, and a mouse lifts it a little. */
|
|
37
|
+
export function cardMotion(root, id) {
|
|
38
|
+
const CARD = choiceLayer(id, "card");
|
|
39
|
+
const TINT = choiceChild(id, "tint", "card");
|
|
40
|
+
return ` ${at(inItem(root, "", CARD))} {
|
|
41
|
+
${timed(id, "border-color")}
|
|
42
|
+
}
|
|
43
|
+
${at(inItem(root, "", TINT))} {
|
|
44
|
+
${timed(id, "opacity")}
|
|
45
|
+
}
|
|
46
|
+
${at(inItem(root, "", ROW))} {
|
|
47
|
+
${timed(id, "translate")}
|
|
48
|
+
}
|
|
49
|
+
${whenItemHover(root, ROW, "translate: 0 -2px;")}`;
|
|
50
|
+
}
|
|
51
|
+
/** The card's layer: the panel, with the light inside it. It shows a state, so it stays under reduced motion. */
|
|
52
|
+
export const CARD_LAYER = { slot: "row", part: "card", children: ["tint"], keep: true };
|