fancy-ui-svelte 0.2.1
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 +198 -0
- package/dist/fancy-ui/_template/Component.svelte +110 -0
- package/dist/fancy-ui/_template/Component.svelte.d.ts +16 -0
- package/dist/fancy-ui/_template/README.md +279 -0
- package/dist/fancy-ui/_template/index.d.ts +13 -0
- package/dist/fancy-ui/_template/index.js +27 -0
- package/dist/fancy-ui/_template/types.d.ts +53 -0
- package/dist/fancy-ui/_template/types.js +12 -0
- package/dist/fancy-ui/animated-beam/AnimatedBeam.svelte +166 -0
- package/dist/fancy-ui/animated-beam/AnimatedBeam.svelte.d.ts +4 -0
- package/dist/fancy-ui/animated-beam/AnimatedBeam.test.d.ts +1 -0
- package/dist/fancy-ui/animated-beam/AnimatedBeam.test.js +49 -0
- package/dist/fancy-ui/animated-beam/README.md +38 -0
- package/dist/fancy-ui/animated-beam/index.d.ts +2 -0
- package/dist/fancy-ui/animated-beam/index.js +1 -0
- package/dist/fancy-ui/animated-beam/types.d.ts +19 -0
- package/dist/fancy-ui/animated-beam/types.js +1 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.svelte +196 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.svelte.d.ts +29 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.test.d.ts +1 -0
- package/dist/fancy-ui/animated-testimonials/AnimatedTestimonials.test.js +92 -0
- package/dist/fancy-ui/animated-testimonials/index.d.ts +2 -0
- package/dist/fancy-ui/animated-testimonials/index.js +1 -0
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.svelte +97 -0
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.svelte.d.ts +15 -0
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.test.d.ts +1 -0
- package/dist/fancy-ui/animated-tooltip/AnimatedTooltip.test.js +67 -0
- package/dist/fancy-ui/animated-tooltip/index.d.ts +2 -0
- package/dist/fancy-ui/animated-tooltip/index.js +1 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCard.svelte +226 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCard.svelte.d.ts +27 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.svelte +49 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.svelte.d.ts +11 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.test.d.ts +1 -0
- package/dist/fancy-ui/apple-card-carousel/AppleCardCarousel.test.js +85 -0
- package/dist/fancy-ui/apple-card-carousel/index.d.ts +3 -0
- package/dist/fancy-ui/apple-card-carousel/index.js +2 -0
- package/dist/fancy-ui/bento-grid/BentoGrid.svelte +21 -0
- package/dist/fancy-ui/bento-grid/BentoGrid.svelte.d.ts +7 -0
- package/dist/fancy-ui/bento-grid/BentoGridCard.svelte +70 -0
- package/dist/fancy-ui/bento-grid/BentoGridCard.svelte.d.ts +12 -0
- package/dist/fancy-ui/bento-grid/BentoGridItem.svelte +39 -0
- package/dist/fancy-ui/bento-grid/BentoGridItem.svelte.d.ts +10 -0
- package/dist/fancy-ui/bento-grid/README.md +51 -0
- package/dist/fancy-ui/bento-grid/index.d.ts +3 -0
- package/dist/fancy-ui/bento-grid/index.js +3 -0
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.svelte +163 -0
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.svelte.d.ts +11 -0
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.test.d.ts +1 -0
- package/dist/fancy-ui/bg-falling-stars/FallingStarsBg.test.js +50 -0
- package/dist/fancy-ui/bg-falling-stars/README.md +22 -0
- package/dist/fancy-ui/bg-falling-stars/index.d.ts +2 -0
- package/dist/fancy-ui/bg-falling-stars/index.js +1 -0
- package/dist/fancy-ui/bg-stars/README.md +41 -0
- package/dist/fancy-ui/bg-stars/StarsBackground.svelte +205 -0
- package/dist/fancy-ui/bg-stars/StarsBackground.svelte.d.ts +33 -0
- package/dist/fancy-ui/bg-stars/StarsBackground.test.d.ts +1 -0
- package/dist/fancy-ui/bg-stars/StarsBackground.test.js +46 -0
- package/dist/fancy-ui/bg-stars/index.d.ts +1 -0
- package/dist/fancy-ui/bg-stars/index.js +1 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.svelte +126 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.svelte.d.ts +18 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.test.d.ts +1 -0
- package/dist/fancy-ui/blur-reveal/BlurReveal.test.js +47 -0
- package/dist/fancy-ui/blur-reveal/README.md +41 -0
- package/dist/fancy-ui/blur-reveal/index.d.ts +2 -0
- package/dist/fancy-ui/blur-reveal/index.js +2 -0
- package/dist/fancy-ui/book/Book.svelte +89 -0
- package/dist/fancy-ui/book/Book.svelte.d.ts +15 -0
- package/dist/fancy-ui/book/Book.test.d.ts +1 -0
- package/dist/fancy-ui/book/Book.test.js +47 -0
- package/dist/fancy-ui/book/BookDescription.svelte +17 -0
- package/dist/fancy-ui/book/BookDescription.svelte.d.ts +8 -0
- package/dist/fancy-ui/book/BookHeader.svelte +17 -0
- package/dist/fancy-ui/book/BookHeader.svelte.d.ts +8 -0
- package/dist/fancy-ui/book/BookTitle.svelte +17 -0
- package/dist/fancy-ui/book/BookTitle.svelte.d.ts +8 -0
- package/dist/fancy-ui/book/README.md +34 -0
- package/dist/fancy-ui/book/index.d.ts +128 -0
- package/dist/fancy-ui/book/index.js +46 -0
- package/dist/fancy-ui/border-beam/BorderBeam.svelte +85 -0
- package/dist/fancy-ui/border-beam/BorderBeam.svelte.d.ts +27 -0
- package/dist/fancy-ui/border-beam/BorderBeam.test.d.ts +1 -0
- package/dist/fancy-ui/border-beam/BorderBeam.test.js +64 -0
- package/dist/fancy-ui/border-beam/index.d.ts +2 -0
- package/dist/fancy-ui/border-beam/index.js +2 -0
- package/dist/fancy-ui/box-reveal/BoxReveal.svelte +73 -0
- package/dist/fancy-ui/box-reveal/BoxReveal.svelte.d.ts +24 -0
- package/dist/fancy-ui/box-reveal/BoxReveal.test.d.ts +1 -0
- package/dist/fancy-ui/box-reveal/BoxReveal.test.js +66 -0
- package/dist/fancy-ui/box-reveal/README.md +24 -0
- package/dist/fancy-ui/box-reveal/index.d.ts +2 -0
- package/dist/fancy-ui/box-reveal/index.js +2 -0
- package/dist/fancy-ui/card-3d/CardBody.svelte +16 -0
- package/dist/fancy-ui/card-3d/CardBody.svelte.d.ts +7 -0
- package/dist/fancy-ui/card-3d/CardContainer.svelte +53 -0
- package/dist/fancy-ui/card-3d/CardContainer.svelte.d.ts +8 -0
- package/dist/fancy-ui/card-3d/CardItem.svelte +49 -0
- package/dist/fancy-ui/card-3d/CardItem.svelte.d.ts +14 -0
- package/dist/fancy-ui/card-3d/README.md +52 -0
- package/dist/fancy-ui/card-3d/index.d.ts +3 -0
- package/dist/fancy-ui/card-3d/index.js +3 -0
- package/dist/fancy-ui/card-spotlight/CardSpotlight.svelte +59 -0
- package/dist/fancy-ui/card-spotlight/CardSpotlight.svelte.d.ts +11 -0
- package/dist/fancy-ui/card-spotlight/README.md +24 -0
- package/dist/fancy-ui/card-spotlight/index.d.ts +1 -0
- package/dist/fancy-ui/card-spotlight/index.js +1 -0
- package/dist/fancy-ui/colourful-text/ColourfulText.svelte +78 -0
- package/dist/fancy-ui/colourful-text/ColourfulText.svelte.d.ts +22 -0
- package/dist/fancy-ui/colourful-text/ColourfulText.test.d.ts +1 -0
- package/dist/fancy-ui/colourful-text/ColourfulText.test.js +53 -0
- package/dist/fancy-ui/colourful-text/README.md +21 -0
- package/dist/fancy-ui/colourful-text/index.d.ts +2 -0
- package/dist/fancy-ui/colourful-text/index.js +2 -0
- package/dist/fancy-ui/compare/Compare.svelte +304 -0
- package/dist/fancy-ui/compare/Compare.svelte.d.ts +25 -0
- package/dist/fancy-ui/compare/Compare.test.d.ts +1 -0
- package/dist/fancy-ui/compare/Compare.test.js +57 -0
- package/dist/fancy-ui/compare/README.md +97 -0
- package/dist/fancy-ui/compare/StarField.svelte +108 -0
- package/dist/fancy-ui/compare/StarField.svelte.d.ts +7 -0
- package/dist/fancy-ui/compare/index.d.ts +2 -0
- package/dist/fancy-ui/compare/index.js +2 -0
- package/dist/fancy-ui/confetti/Confetti.svelte +60 -0
- package/dist/fancy-ui/confetti/Confetti.svelte.d.ts +14 -0
- package/dist/fancy-ui/confetti/Confetti.test.d.ts +1 -0
- package/dist/fancy-ui/confetti/Confetti.test.js +39 -0
- package/dist/fancy-ui/confetti/ConfettiButton.svelte +41 -0
- package/dist/fancy-ui/confetti/ConfettiButton.svelte.d.ts +9 -0
- package/dist/fancy-ui/confetti/README.md +22 -0
- package/dist/fancy-ui/confetti/index.d.ts +2 -0
- package/dist/fancy-ui/confetti/index.js +2 -0
- package/dist/fancy-ui/container-scroll/ContainerScroll.svelte +82 -0
- package/dist/fancy-ui/container-scroll/ContainerScroll.svelte.d.ts +9 -0
- package/dist/fancy-ui/container-scroll/ContainerScroll.test.d.ts +1 -0
- package/dist/fancy-ui/container-scroll/ContainerScroll.test.js +34 -0
- package/dist/fancy-ui/container-scroll/README.md +28 -0
- package/dist/fancy-ui/container-scroll/index.d.ts +1 -0
- package/dist/fancy-ui/container-scroll/index.js +1 -0
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.svelte +78 -0
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.svelte.d.ts +10 -0
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.test.d.ts +1 -0
- package/dist/fancy-ui/container-text-flip/ContainerTextFlip.test.js +46 -0
- package/dist/fancy-ui/container-text-flip/README.md +22 -0
- package/dist/fancy-ui/container-text-flip/index.d.ts +1 -0
- package/dist/fancy-ui/container-text-flip/index.js +1 -0
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.svelte +232 -0
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.svelte.d.ts +11 -0
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.test.d.ts +1 -0
- package/dist/fancy-ui/direction-aware-hover/DirectionAwareHover.test.js +78 -0
- package/dist/fancy-ui/direction-aware-hover/README.md +47 -0
- package/dist/fancy-ui/direction-aware-hover/index.d.ts +1 -0
- package/dist/fancy-ui/direction-aware-hover/index.js +1 -0
- package/dist/fancy-ui/displacement-text/DisplacementText.svelte +224 -0
- package/dist/fancy-ui/displacement-text/DisplacementText.svelte.d.ts +19 -0
- package/dist/fancy-ui/displacement-text/DisplacementText.test.d.ts +1 -0
- package/dist/fancy-ui/displacement-text/DisplacementText.test.js +144 -0
- package/dist/fancy-ui/displacement-text/index.d.ts +2 -0
- package/dist/fancy-ui/displacement-text/index.js +1 -0
- package/dist/fancy-ui/dock/Dock.svelte +87 -0
- package/dist/fancy-ui/dock/Dock.svelte.d.ts +12 -0
- package/dist/fancy-ui/dock/Dock.test.d.ts +1 -0
- package/dist/fancy-ui/dock/Dock.test.js +51 -0
- package/dist/fancy-ui/dock/DockIcon.svelte +50 -0
- package/dist/fancy-ui/dock/DockIcon.svelte.d.ts +7 -0
- package/dist/fancy-ui/dock/DockSeparator.svelte +21 -0
- package/dist/fancy-ui/dock/DockSeparator.svelte.d.ts +6 -0
- package/dist/fancy-ui/dock/README.md +57 -0
- package/dist/fancy-ui/dock/index.d.ts +4 -0
- package/dist/fancy-ui/dock/index.js +4 -0
- package/dist/fancy-ui/dock/types.d.ts +14 -0
- package/dist/fancy-ui/dock/types.js +1 -0
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.svelte +154 -0
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.svelte.d.ts +27 -0
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.test.d.ts +1 -0
- package/dist/fancy-ui/flickering-grid/FlickeringGrid.test.js +34 -0
- package/dist/fancy-ui/flickering-grid/README.md +24 -0
- package/dist/fancy-ui/flickering-grid/index.d.ts +2 -0
- package/dist/fancy-ui/flickering-grid/index.js +2 -0
- package/dist/fancy-ui/flip-card/FlipCard.svelte +48 -0
- package/dist/fancy-ui/flip-card/FlipCard.svelte.d.ts +10 -0
- package/dist/fancy-ui/flip-card/FlipCard.test.d.ts +1 -0
- package/dist/fancy-ui/flip-card/FlipCard.test.js +36 -0
- package/dist/fancy-ui/flip-card/README.md +26 -0
- package/dist/fancy-ui/flip-card/index.d.ts +1 -0
- package/dist/fancy-ui/flip-card/index.js +1 -0
- package/dist/fancy-ui/flip-words/FlipWords.svelte +135 -0
- package/dist/fancy-ui/flip-words/FlipWords.svelte.d.ts +18 -0
- package/dist/fancy-ui/flip-words/FlipWords.test.d.ts +1 -0
- package/dist/fancy-ui/flip-words/FlipWords.test.js +50 -0
- package/dist/fancy-ui/flip-words/README.md +17 -0
- package/dist/fancy-ui/flip-words/index.d.ts +2 -0
- package/dist/fancy-ui/flip-words/index.js +2 -0
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte +1378 -0
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte.d.ts +25 -0
- package/dist/fancy-ui/fluid-cursor/FluidCursor.test.d.ts +1 -0
- package/dist/fancy-ui/fluid-cursor/FluidCursor.test.js +41 -0
- package/dist/fancy-ui/fluid-cursor/README.md +34 -0
- package/dist/fancy-ui/fluid-cursor/index.d.ts +1 -0
- package/dist/fancy-ui/fluid-cursor/index.js +1 -0
- package/dist/fancy-ui/focus/Focus.svelte +177 -0
- package/dist/fancy-ui/focus/Focus.svelte.d.ts +12 -0
- package/dist/fancy-ui/focus/Focus.test.d.ts +1 -0
- package/dist/fancy-ui/focus/Focus.test.js +48 -0
- package/dist/fancy-ui/focus/README.md +21 -0
- package/dist/fancy-ui/focus/index.d.ts +1 -0
- package/dist/fancy-ui/focus/index.js +1 -0
- package/dist/fancy-ui/glare-card/GlareCard.svelte +133 -0
- package/dist/fancy-ui/glare-card/GlareCard.svelte.d.ts +8 -0
- package/dist/fancy-ui/glare-card/GlareCard.test.d.ts +1 -0
- package/dist/fancy-ui/glare-card/GlareCard.test.js +40 -0
- package/dist/fancy-ui/glare-card/README.md +24 -0
- package/dist/fancy-ui/glare-card/index.d.ts +1 -0
- package/dist/fancy-ui/glare-card/index.js +1 -0
- package/dist/fancy-ui/glow-border/GlowBorder.svelte +67 -0
- package/dist/fancy-ui/glow-border/GlowBorder.svelte.d.ts +10 -0
- package/dist/fancy-ui/glow-border/GlowBorder.test.d.ts +1 -0
- package/dist/fancy-ui/glow-border/GlowBorder.test.js +57 -0
- package/dist/fancy-ui/glow-border/README.md +54 -0
- package/dist/fancy-ui/glow-border/index.d.ts +1 -0
- package/dist/fancy-ui/glow-border/index.js +1 -0
- package/dist/fancy-ui/glowing-effect/GlowingEffect.svelte +182 -0
- package/dist/fancy-ui/glowing-effect/GlowingEffect.svelte.d.ts +15 -0
- package/dist/fancy-ui/glowing-effect/GlowingEffect.test.d.ts +1 -0
- package/dist/fancy-ui/glowing-effect/GlowingEffect.test.js +68 -0
- package/dist/fancy-ui/glowing-effect/README.md +29 -0
- package/dist/fancy-ui/glowing-effect/index.d.ts +1 -0
- package/dist/fancy-ui/glowing-effect/index.js +1 -0
- package/dist/fancy-ui/gradient-button/GradientButton.svelte +103 -0
- package/dist/fancy-ui/gradient-button/GradientButton.svelte.d.ts +24 -0
- package/dist/fancy-ui/gradient-button/GradientButton.test.d.ts +1 -0
- package/dist/fancy-ui/gradient-button/GradientButton.test.js +65 -0
- package/dist/fancy-ui/gradient-button/README.md +10 -0
- package/dist/fancy-ui/gradient-button/index.d.ts +2 -0
- package/dist/fancy-ui/gradient-button/index.js +2 -0
- package/dist/fancy-ui/hyper-text/HyperText.svelte +112 -0
- package/dist/fancy-ui/hyper-text/HyperText.svelte.d.ts +20 -0
- package/dist/fancy-ui/hyper-text/HyperText.test.d.ts +1 -0
- package/dist/fancy-ui/hyper-text/HyperText.test.js +39 -0
- package/dist/fancy-ui/hyper-text/README.md +19 -0
- package/dist/fancy-ui/hyper-text/index.d.ts +2 -0
- package/dist/fancy-ui/hyper-text/index.js +2 -0
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.svelte +89 -0
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.svelte.d.ts +9 -0
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.d.ts +1 -0
- package/dist/fancy-ui/image-trail-cursor/ImageTrailCursor.test.js +60 -0
- package/dist/fancy-ui/image-trail-cursor/README.md +36 -0
- package/dist/fancy-ui/image-trail-cursor/index.d.ts +3 -0
- package/dist/fancy-ui/image-trail-cursor/index.js +1 -0
- package/dist/fancy-ui/image-trail-cursor/trail-variants.d.ts +107 -0
- package/dist/fancy-ui/image-trail-cursor/trail-variants.js +703 -0
- package/dist/fancy-ui/index.d.ts +52 -0
- package/dist/fancy-ui/index.js +64 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte +71 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.svelte.d.ts +15 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.d.ts +1 -0
- package/dist/fancy-ui/interactive-grid-pattern/InteractiveGridPattern.test.js +47 -0
- package/dist/fancy-ui/interactive-grid-pattern/README.md +30 -0
- package/dist/fancy-ui/interactive-grid-pattern/index.d.ts +2 -0
- package/dist/fancy-ui/interactive-grid-pattern/index.js +2 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.svelte +75 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.svelte.d.ts +14 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.test.d.ts +1 -0
- package/dist/fancy-ui/interactive-hover-button/InteractiveHoverButton.test.js +64 -0
- package/dist/fancy-ui/interactive-hover-button/README.md +28 -0
- package/dist/fancy-ui/interactive-hover-button/index.d.ts +2 -0
- package/dist/fancy-ui/interactive-hover-button/index.js +2 -0
- package/dist/fancy-ui/letter-pullup/LetterPullup.svelte +58 -0
- package/dist/fancy-ui/letter-pullup/LetterPullup.svelte.d.ts +17 -0
- package/dist/fancy-ui/letter-pullup/LetterPullup.test.d.ts +1 -0
- package/dist/fancy-ui/letter-pullup/LetterPullup.test.js +49 -0
- package/dist/fancy-ui/letter-pullup/README.md +18 -0
- package/dist/fancy-ui/letter-pullup/index.d.ts +2 -0
- package/dist/fancy-ui/letter-pullup/index.js +2 -0
- package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte +450 -0
- package/dist/fancy-ui/line-hover-link/LineHoverLink.svelte.d.ts +35 -0
- package/dist/fancy-ui/line-hover-link/LineHoverLink.test.d.ts +1 -0
- package/dist/fancy-ui/line-hover-link/LineHoverLink.test.js +55 -0
- package/dist/fancy-ui/line-hover-link/index.d.ts +2 -0
- package/dist/fancy-ui/line-hover-link/index.js +1 -0
- package/dist/fancy-ui/line-shadow-text/LineShadowText.svelte +63 -0
- package/dist/fancy-ui/line-shadow-text/LineShadowText.svelte.d.ts +9 -0
- package/dist/fancy-ui/line-shadow-text/LineShadowText.test.d.ts +1 -0
- package/dist/fancy-ui/line-shadow-text/LineShadowText.test.js +59 -0
- package/dist/fancy-ui/line-shadow-text/README.md +12 -0
- package/dist/fancy-ui/line-shadow-text/index.d.ts +2 -0
- package/dist/fancy-ui/line-shadow-text/index.js +1 -0
- package/dist/fancy-ui/liquid-glass/LiquidGlass.svelte +204 -0
- package/dist/fancy-ui/liquid-glass/LiquidGlass.svelte.d.ts +23 -0
- package/dist/fancy-ui/liquid-glass/LiquidGlass.test.d.ts +1 -0
- package/dist/fancy-ui/liquid-glass/LiquidGlass.test.js +48 -0
- package/dist/fancy-ui/liquid-glass/README.md +34 -0
- package/dist/fancy-ui/liquid-glass/index.d.ts +1 -0
- package/dist/fancy-ui/liquid-glass/index.js +1 -0
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.svelte +61 -0
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.svelte.d.ts +15 -0
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.test.d.ts +1 -0
- package/dist/fancy-ui/logo-cloud/AnimatedLogoCloud.test.js +59 -0
- package/dist/fancy-ui/logo-cloud/IconLogoCloud.svelte +31 -0
- package/dist/fancy-ui/logo-cloud/IconLogoCloud.svelte.d.ts +11 -0
- package/dist/fancy-ui/logo-cloud/README.md +41 -0
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte +31 -0
- package/dist/fancy-ui/logo-cloud/StaticLogoCloud.svelte.d.ts +11 -0
- package/dist/fancy-ui/logo-cloud/index.d.ts +4 -0
- package/dist/fancy-ui/logo-cloud/index.js +4 -0
- package/dist/fancy-ui/marquee/Marquee.svelte +70 -0
- package/dist/fancy-ui/marquee/Marquee.svelte.d.ts +11 -0
- package/dist/fancy-ui/marquee/Marquee.test.d.ts +1 -0
- package/dist/fancy-ui/marquee/Marquee.test.js +46 -0
- package/dist/fancy-ui/marquee/ReviewCard.svelte +25 -0
- package/dist/fancy-ui/marquee/ReviewCard.svelte.d.ts +9 -0
- package/dist/fancy-ui/marquee/index.d.ts +2 -0
- package/dist/fancy-ui/marquee/index.js +2 -0
- package/dist/fancy-ui/meteors/Meteors.svelte +59 -0
- package/dist/fancy-ui/meteors/Meteors.svelte.d.ts +15 -0
- package/dist/fancy-ui/meteors/Meteors.test.d.ts +1 -0
- package/dist/fancy-ui/meteors/Meteors.test.js +48 -0
- package/dist/fancy-ui/meteors/README.md +18 -0
- package/dist/fancy-ui/meteors/index.d.ts +2 -0
- package/dist/fancy-ui/meteors/index.js +2 -0
- package/dist/fancy-ui/neon-border/NeonBorder.svelte +135 -0
- package/dist/fancy-ui/neon-border/NeonBorder.svelte.d.ts +24 -0
- package/dist/fancy-ui/neon-border/NeonBorder.test.d.ts +1 -0
- package/dist/fancy-ui/neon-border/NeonBorder.test.js +80 -0
- package/dist/fancy-ui/neon-border/README.md +27 -0
- package/dist/fancy-ui/neon-border/index.d.ts +2 -0
- package/dist/fancy-ui/neon-border/index.js +2 -0
- package/dist/fancy-ui/number-ticker/NumberTicker.svelte +126 -0
- package/dist/fancy-ui/number-ticker/NumberTicker.svelte.d.ts +24 -0
- package/dist/fancy-ui/number-ticker/NumberTicker.test.d.ts +1 -0
- package/dist/fancy-ui/number-ticker/NumberTicker.test.js +64 -0
- package/dist/fancy-ui/number-ticker/README.md +22 -0
- package/dist/fancy-ui/number-ticker/index.d.ts +2 -0
- package/dist/fancy-ui/number-ticker/index.js +2 -0
- package/dist/fancy-ui/rainbow-button/RainbowButton.svelte +96 -0
- package/dist/fancy-ui/rainbow-button/RainbowButton.svelte.d.ts +18 -0
- package/dist/fancy-ui/rainbow-button/RainbowButton.test.d.ts +1 -0
- package/dist/fancy-ui/rainbow-button/RainbowButton.test.js +51 -0
- package/dist/fancy-ui/rainbow-button/index.d.ts +2 -0
- package/dist/fancy-ui/rainbow-button/index.js +2 -0
- package/dist/fancy-ui/registry.d.ts +72 -0
- package/dist/fancy-ui/registry.js +643 -0
- package/dist/fancy-ui/ripple/README.md +16 -0
- package/dist/fancy-ui/ripple/Ripple.svelte +64 -0
- package/dist/fancy-ui/ripple/Ripple.svelte.d.ts +13 -0
- package/dist/fancy-ui/ripple/Ripple.test.d.ts +1 -0
- package/dist/fancy-ui/ripple/Ripple.test.js +81 -0
- package/dist/fancy-ui/ripple/index.d.ts +1 -0
- package/dist/fancy-ui/ripple/index.js +1 -0
- package/dist/fancy-ui/ripple-button/RippleButton.svelte +111 -0
- package/dist/fancy-ui/ripple-button/RippleButton.svelte.d.ts +15 -0
- package/dist/fancy-ui/ripple-button/RippleButton.test.d.ts +1 -0
- package/dist/fancy-ui/ripple-button/RippleButton.test.js +44 -0
- package/dist/fancy-ui/ripple-button/index.d.ts +2 -0
- package/dist/fancy-ui/ripple-button/index.js +2 -0
- package/dist/fancy-ui/shimmer-button/README.md +10 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte +115 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte.d.ts +22 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.test.d.ts +1 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.test.js +69 -0
- package/dist/fancy-ui/shimmer-button/index.d.ts +2 -0
- package/dist/fancy-ui/shimmer-button/index.js +2 -0
- package/dist/fancy-ui/smooth-cursor/README.md +23 -0
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.svelte +224 -0
- package/dist/fancy-ui/smooth-cursor/SmoothCursor.svelte.d.ts +20 -0
- package/dist/fancy-ui/smooth-cursor/index.d.ts +2 -0
- package/dist/fancy-ui/smooth-cursor/index.js +1 -0
- package/dist/fancy-ui/sparkles/README.md +15 -0
- package/dist/fancy-ui/sparkles/Sparkles.svelte +123 -0
- package/dist/fancy-ui/sparkles/Sparkles.svelte.d.ts +12 -0
- package/dist/fancy-ui/sparkles/Sparkles.test.d.ts +1 -0
- package/dist/fancy-ui/sparkles/Sparkles.test.js +66 -0
- package/dist/fancy-ui/sparkles/index.d.ts +1 -0
- package/dist/fancy-ui/sparkles/index.js +1 -0
- package/dist/fancy-ui/sparkles-text/README.md +19 -0
- package/dist/fancy-ui/sparkles-text/SparklesText.svelte +112 -0
- package/dist/fancy-ui/sparkles-text/SparklesText.svelte.d.ts +22 -0
- package/dist/fancy-ui/sparkles-text/SparklesText.test.d.ts +1 -0
- package/dist/fancy-ui/sparkles-text/SparklesText.test.js +54 -0
- package/dist/fancy-ui/sparkles-text/index.d.ts +2 -0
- package/dist/fancy-ui/sparkles-text/index.js +2 -0
- package/dist/fancy-ui/tailwind.css +3 -0
- package/dist/fancy-ui/text-generate-effect/README.md +14 -0
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.svelte +66 -0
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.svelte.d.ts +11 -0
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.test.d.ts +1 -0
- package/dist/fancy-ui/text-generate-effect/TextGenerateEffect.test.js +73 -0
- package/dist/fancy-ui/text-generate-effect/index.d.ts +2 -0
- package/dist/fancy-ui/text-generate-effect/index.js +1 -0
- package/dist/fancy-ui/text-reveal-card/README.md +36 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.svelte +112 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.svelte.d.ts +12 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.test.d.ts +1 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealCard.test.js +34 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealStars.svelte +76 -0
- package/dist/fancy-ui/text-reveal-card/TextRevealStars.svelte.d.ts +7 -0
- package/dist/fancy-ui/text-reveal-card/index.d.ts +2 -0
- package/dist/fancy-ui/text-reveal-card/index.js +2 -0
- package/dist/fancy-ui/timeline/README.md +56 -0
- package/dist/fancy-ui/timeline/Timeline.svelte +141 -0
- package/dist/fancy-ui/timeline/Timeline.svelte.d.ts +20 -0
- package/dist/fancy-ui/timeline/Timeline.test.d.ts +1 -0
- package/dist/fancy-ui/timeline/Timeline.test.js +63 -0
- package/dist/fancy-ui/timeline/index.d.ts +2 -0
- package/dist/fancy-ui/timeline/index.js +2 -0
- package/dist/fancy-ui/tracing-beam/README.md +24 -0
- package/dist/fancy-ui/tracing-beam/TracingBeam.svelte +156 -0
- package/dist/fancy-ui/tracing-beam/TracingBeam.svelte.d.ts +8 -0
- package/dist/fancy-ui/tracing-beam/TracingBeam.test.d.ts +1 -0
- package/dist/fancy-ui/tracing-beam/TracingBeam.test.js +61 -0
- package/dist/fancy-ui/tracing-beam/index.d.ts +1 -0
- package/dist/fancy-ui/tracing-beam/index.js +1 -0
- package/dist/types.d.ts +87 -0
- package/dist/types.js +6 -0
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +5 -0
- package/package.json +105 -0
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
import { gsap } from "gsap";
|
|
2
|
+
// =============================================================================
|
|
3
|
+
// Helpers
|
|
4
|
+
// =============================================================================
|
|
5
|
+
function lerp(a, b, n) {
|
|
6
|
+
return (1 - n) * a + n * b;
|
|
7
|
+
}
|
|
8
|
+
function getLocalPointerPos(e, rect) {
|
|
9
|
+
let clientX = 0;
|
|
10
|
+
let clientY = 0;
|
|
11
|
+
if ("touches" in e && e.touches.length > 0) {
|
|
12
|
+
clientX = e.touches[0].clientX;
|
|
13
|
+
clientY = e.touches[0].clientY;
|
|
14
|
+
}
|
|
15
|
+
else if ("clientX" in e) {
|
|
16
|
+
clientX = e.clientX;
|
|
17
|
+
clientY = e.clientY;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
x: clientX - rect.left,
|
|
21
|
+
y: clientY - rect.top,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function getMouseDistance(p1, p2) {
|
|
25
|
+
const dx = p1.x - p2.x;
|
|
26
|
+
const dy = p1.y - p2.y;
|
|
27
|
+
return Math.hypot(dx, dy);
|
|
28
|
+
}
|
|
29
|
+
function getNewPosition(position, offset, arr) {
|
|
30
|
+
const realOffset = Math.abs(offset) % arr.length;
|
|
31
|
+
if (position - realOffset >= 0) {
|
|
32
|
+
return position - realOffset;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return arr.length - (realOffset - position);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
// =============================================================================
|
|
39
|
+
// ImageItem
|
|
40
|
+
// =============================================================================
|
|
41
|
+
export class ImageItem {
|
|
42
|
+
DOM = {
|
|
43
|
+
el: null,
|
|
44
|
+
inner: null,
|
|
45
|
+
};
|
|
46
|
+
defaultStyle = { scale: 1, x: 0, y: 0, opacity: 0 };
|
|
47
|
+
rect = null;
|
|
48
|
+
resizeHandler = null;
|
|
49
|
+
constructor(DOM_el) {
|
|
50
|
+
this.DOM.el = DOM_el;
|
|
51
|
+
this.DOM.inner = this.DOM.el.querySelector(".content__img-inner");
|
|
52
|
+
this.getRect();
|
|
53
|
+
this.initEvents();
|
|
54
|
+
}
|
|
55
|
+
initEvents() {
|
|
56
|
+
this.resizeHandler = () => {
|
|
57
|
+
gsap.set(this.DOM.el, this.defaultStyle);
|
|
58
|
+
this.getRect();
|
|
59
|
+
};
|
|
60
|
+
window.addEventListener("resize", this.resizeHandler);
|
|
61
|
+
}
|
|
62
|
+
getRect() {
|
|
63
|
+
this.rect = this.DOM.el.getBoundingClientRect();
|
|
64
|
+
}
|
|
65
|
+
destroy() {
|
|
66
|
+
if (this.resizeHandler) {
|
|
67
|
+
window.removeEventListener("resize", this.resizeHandler);
|
|
68
|
+
this.resizeHandler = null;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// =============================================================================
|
|
73
|
+
// Base class for shared variant logic
|
|
74
|
+
// =============================================================================
|
|
75
|
+
class BaseVariant {
|
|
76
|
+
container;
|
|
77
|
+
DOM;
|
|
78
|
+
images;
|
|
79
|
+
imagesTotal;
|
|
80
|
+
imgPosition;
|
|
81
|
+
zIndexVal;
|
|
82
|
+
activeImagesCount;
|
|
83
|
+
isIdle;
|
|
84
|
+
mousePos;
|
|
85
|
+
lastMousePos;
|
|
86
|
+
cacheMousePos;
|
|
87
|
+
touchActive = false;
|
|
88
|
+
positionHistory = [];
|
|
89
|
+
static HISTORY_MAX_AGE = 100; // ms
|
|
90
|
+
static HISTORY_MAX_LEN = 5;
|
|
91
|
+
rafId = null;
|
|
92
|
+
rafStarted = false;
|
|
93
|
+
destroyed = false;
|
|
94
|
+
handlePointerMove = null;
|
|
95
|
+
initRender = null;
|
|
96
|
+
handleTouchStart = null;
|
|
97
|
+
handleTouchEnd = null;
|
|
98
|
+
constructor(container) {
|
|
99
|
+
this.container = container;
|
|
100
|
+
this.DOM = { el: container };
|
|
101
|
+
this.images = [...container.querySelectorAll(".content__img")].map((img) => new ImageItem(img));
|
|
102
|
+
this.imagesTotal = this.images.length;
|
|
103
|
+
this.imgPosition = 0;
|
|
104
|
+
this.zIndexVal = 1;
|
|
105
|
+
this.activeImagesCount = 0;
|
|
106
|
+
this.isIdle = true;
|
|
107
|
+
this.mousePos = { x: 0, y: 0 };
|
|
108
|
+
this.lastMousePos = { x: 0, y: 0 };
|
|
109
|
+
this.cacheMousePos = { x: 0, y: 0 };
|
|
110
|
+
this.handlePointerMove = (ev) => {
|
|
111
|
+
if ("touches" in ev)
|
|
112
|
+
ev.preventDefault();
|
|
113
|
+
const rect = this.container.getBoundingClientRect();
|
|
114
|
+
this.mousePos = getLocalPointerPos(ev, rect);
|
|
115
|
+
if (this.touchActive) {
|
|
116
|
+
this.pushPositionHistory(this.mousePos.x, this.mousePos.y);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
container.addEventListener("mousemove", this.handlePointerMove);
|
|
120
|
+
container.addEventListener("touchmove", this.handlePointerMove, { passive: false });
|
|
121
|
+
this.initRender = (ev) => {
|
|
122
|
+
if ("touches" in ev)
|
|
123
|
+
ev.preventDefault();
|
|
124
|
+
const rect = this.container.getBoundingClientRect();
|
|
125
|
+
this.mousePos = getLocalPointerPos(ev, rect);
|
|
126
|
+
this.cacheMousePos = { ...this.mousePos };
|
|
127
|
+
this.startRafLoop();
|
|
128
|
+
container.removeEventListener("mousemove", this.initRender);
|
|
129
|
+
container.removeEventListener("touchmove", this.initRender);
|
|
130
|
+
};
|
|
131
|
+
container.addEventListener("mousemove", this.initRender);
|
|
132
|
+
container.addEventListener("touchmove", this.initRender, { passive: false });
|
|
133
|
+
// Touch lifecycle handlers
|
|
134
|
+
this.handleTouchStart = (ev) => {
|
|
135
|
+
ev.preventDefault();
|
|
136
|
+
this.touchActive = true;
|
|
137
|
+
const rect = this.container.getBoundingClientRect();
|
|
138
|
+
const pos = getLocalPointerPos(ev, rect);
|
|
139
|
+
this.mousePos = pos;
|
|
140
|
+
this.cacheMousePos = { ...pos };
|
|
141
|
+
this.lastMousePos = { ...pos };
|
|
142
|
+
this.positionHistory = [];
|
|
143
|
+
this.pushPositionHistory(pos.x, pos.y);
|
|
144
|
+
this.startRafLoop();
|
|
145
|
+
};
|
|
146
|
+
container.addEventListener("touchstart", this.handleTouchStart, { passive: false });
|
|
147
|
+
this.handleTouchEnd = () => {
|
|
148
|
+
this.touchActive = false;
|
|
149
|
+
this.lastMousePos = { ...this.mousePos };
|
|
150
|
+
this.cacheMousePos = { ...this.mousePos };
|
|
151
|
+
this.positionHistory = [];
|
|
152
|
+
};
|
|
153
|
+
container.addEventListener("touchend", this.handleTouchEnd);
|
|
154
|
+
container.addEventListener("touchcancel", this.handleTouchEnd);
|
|
155
|
+
}
|
|
156
|
+
startRafLoop() {
|
|
157
|
+
if (this.rafStarted)
|
|
158
|
+
return;
|
|
159
|
+
this.rafStarted = true;
|
|
160
|
+
// Remove initRender listeners since we're starting the loop
|
|
161
|
+
if (this.initRender) {
|
|
162
|
+
this.container.removeEventListener("mousemove", this.initRender);
|
|
163
|
+
this.container.removeEventListener("touchmove", this.initRender);
|
|
164
|
+
}
|
|
165
|
+
this.rafId = requestAnimationFrame(() => this.render());
|
|
166
|
+
}
|
|
167
|
+
pushPositionHistory(x, y) {
|
|
168
|
+
const now = performance.now();
|
|
169
|
+
this.positionHistory.push({ x, y, t: now });
|
|
170
|
+
// Trim by age and length
|
|
171
|
+
const cutoff = now - BaseVariant.HISTORY_MAX_AGE;
|
|
172
|
+
while (this.positionHistory.length > BaseVariant.HISTORY_MAX_LEN ||
|
|
173
|
+
(this.positionHistory.length > 1 && this.positionHistory[0].t < cutoff)) {
|
|
174
|
+
this.positionHistory.shift();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
getTouchVelocity() {
|
|
178
|
+
if (!this.touchActive || this.positionHistory.length < 2) {
|
|
179
|
+
// Mouse fallback: same as original behavior
|
|
180
|
+
return {
|
|
181
|
+
dx: this.mousePos.x - this.cacheMousePos.x,
|
|
182
|
+
dy: this.mousePos.y - this.cacheMousePos.y,
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
// Cumulative displacement over the buffer
|
|
186
|
+
let dx = 0;
|
|
187
|
+
let dy = 0;
|
|
188
|
+
for (let i = 1; i < this.positionHistory.length; i++) {
|
|
189
|
+
dx += this.positionHistory[i].x - this.positionHistory[i - 1].x;
|
|
190
|
+
dy += this.positionHistory[i].y - this.positionHistory[i - 1].y;
|
|
191
|
+
}
|
|
192
|
+
return { dx, dy };
|
|
193
|
+
}
|
|
194
|
+
get threshold() {
|
|
195
|
+
return this.touchActive ? 40 : 80;
|
|
196
|
+
}
|
|
197
|
+
render() {
|
|
198
|
+
if (this.destroyed)
|
|
199
|
+
return;
|
|
200
|
+
const distance = getMouseDistance(this.mousePos, this.lastMousePos);
|
|
201
|
+
this.updateCache();
|
|
202
|
+
if (distance > this.threshold) {
|
|
203
|
+
this.showNextImage();
|
|
204
|
+
this.lastMousePos = { ...this.mousePos };
|
|
205
|
+
}
|
|
206
|
+
if (this.isIdle && this.zIndexVal !== 1) {
|
|
207
|
+
this.zIndexVal = 1;
|
|
208
|
+
}
|
|
209
|
+
this.rafId = requestAnimationFrame(() => this.render());
|
|
210
|
+
}
|
|
211
|
+
updateCache() {
|
|
212
|
+
this.cacheMousePos.x = lerp(this.cacheMousePos.x, this.mousePos.x, 0.1);
|
|
213
|
+
this.cacheMousePos.y = lerp(this.cacheMousePos.y, this.mousePos.y, 0.1);
|
|
214
|
+
}
|
|
215
|
+
onImageActivated() {
|
|
216
|
+
this.activeImagesCount++;
|
|
217
|
+
this.isIdle = false;
|
|
218
|
+
}
|
|
219
|
+
onImageDeactivated() {
|
|
220
|
+
this.activeImagesCount--;
|
|
221
|
+
if (this.activeImagesCount === 0) {
|
|
222
|
+
this.isIdle = true;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
destroy() {
|
|
226
|
+
this.destroyed = true;
|
|
227
|
+
if (this.rafId !== null) {
|
|
228
|
+
cancelAnimationFrame(this.rafId);
|
|
229
|
+
this.rafId = null;
|
|
230
|
+
}
|
|
231
|
+
if (this.handlePointerMove) {
|
|
232
|
+
this.container.removeEventListener("mousemove", this.handlePointerMove);
|
|
233
|
+
this.container.removeEventListener("touchmove", this.handlePointerMove);
|
|
234
|
+
}
|
|
235
|
+
if (this.initRender) {
|
|
236
|
+
this.container.removeEventListener("mousemove", this.initRender);
|
|
237
|
+
this.container.removeEventListener("touchmove", this.initRender);
|
|
238
|
+
}
|
|
239
|
+
if (this.handleTouchStart) {
|
|
240
|
+
this.container.removeEventListener("touchstart", this.handleTouchStart);
|
|
241
|
+
}
|
|
242
|
+
if (this.handleTouchEnd) {
|
|
243
|
+
this.container.removeEventListener("touchend", this.handleTouchEnd);
|
|
244
|
+
this.container.removeEventListener("touchcancel", this.handleTouchEnd);
|
|
245
|
+
}
|
|
246
|
+
this.positionHistory = [];
|
|
247
|
+
for (const img of this.images) {
|
|
248
|
+
gsap.killTweensOf(img.DOM.el);
|
|
249
|
+
if (img.DOM.inner)
|
|
250
|
+
gsap.killTweensOf(img.DOM.inner);
|
|
251
|
+
img.destroy();
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
// =============================================================================
|
|
256
|
+
// Variant 1 — Basic fade & scale trail
|
|
257
|
+
// =============================================================================
|
|
258
|
+
export class ImageTrailVariant1 extends BaseVariant {
|
|
259
|
+
showNextImage() {
|
|
260
|
+
++this.zIndexVal;
|
|
261
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
262
|
+
const img = this.images[this.imgPosition];
|
|
263
|
+
gsap.killTweensOf(img.DOM.el);
|
|
264
|
+
gsap
|
|
265
|
+
.timeline({
|
|
266
|
+
onStart: () => this.onImageActivated(),
|
|
267
|
+
onComplete: () => this.onImageDeactivated(),
|
|
268
|
+
})
|
|
269
|
+
.fromTo(img.DOM.el, {
|
|
270
|
+
opacity: 1,
|
|
271
|
+
scale: 1,
|
|
272
|
+
zIndex: this.zIndexVal,
|
|
273
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
274
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
275
|
+
}, {
|
|
276
|
+
duration: 0.4,
|
|
277
|
+
ease: "power1",
|
|
278
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
279
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
280
|
+
}, 0)
|
|
281
|
+
.to(img.DOM.el, {
|
|
282
|
+
duration: 0.4,
|
|
283
|
+
ease: "power3",
|
|
284
|
+
opacity: 0,
|
|
285
|
+
scale: 0.2,
|
|
286
|
+
}, 0.4);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
// =============================================================================
|
|
290
|
+
// Variant 2 — Scale-up with brightness burst
|
|
291
|
+
// =============================================================================
|
|
292
|
+
export class ImageTrailVariant2 extends BaseVariant {
|
|
293
|
+
showNextImage() {
|
|
294
|
+
++this.zIndexVal;
|
|
295
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
296
|
+
const img = this.images[this.imgPosition];
|
|
297
|
+
gsap.killTweensOf(img.DOM.el);
|
|
298
|
+
gsap
|
|
299
|
+
.timeline({
|
|
300
|
+
onStart: () => this.onImageActivated(),
|
|
301
|
+
onComplete: () => this.onImageDeactivated(),
|
|
302
|
+
})
|
|
303
|
+
.fromTo(img.DOM.el, {
|
|
304
|
+
opacity: 1,
|
|
305
|
+
scale: 0,
|
|
306
|
+
zIndex: this.zIndexVal,
|
|
307
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
308
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
309
|
+
}, {
|
|
310
|
+
duration: 0.4,
|
|
311
|
+
ease: "power1",
|
|
312
|
+
scale: 1,
|
|
313
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
314
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
315
|
+
}, 0)
|
|
316
|
+
.fromTo(img.DOM.inner, { scale: 2.8, filter: "brightness(250%)" }, {
|
|
317
|
+
duration: 0.4,
|
|
318
|
+
ease: "power1",
|
|
319
|
+
scale: 1,
|
|
320
|
+
filter: "brightness(100%)",
|
|
321
|
+
}, 0)
|
|
322
|
+
.to(img.DOM.el, {
|
|
323
|
+
duration: 0.4,
|
|
324
|
+
ease: "power2",
|
|
325
|
+
opacity: 0,
|
|
326
|
+
scale: 0.2,
|
|
327
|
+
}, 0.45);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
// =============================================================================
|
|
331
|
+
// Variant 3 — Float-up exit with random x drift
|
|
332
|
+
// =============================================================================
|
|
333
|
+
export class ImageTrailVariant3 extends BaseVariant {
|
|
334
|
+
showNextImage() {
|
|
335
|
+
++this.zIndexVal;
|
|
336
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
337
|
+
const img = this.images[this.imgPosition];
|
|
338
|
+
gsap.killTweensOf(img.DOM.el);
|
|
339
|
+
gsap
|
|
340
|
+
.timeline({
|
|
341
|
+
onStart: () => this.onImageActivated(),
|
|
342
|
+
onComplete: () => this.onImageDeactivated(),
|
|
343
|
+
})
|
|
344
|
+
.fromTo(img.DOM.el, {
|
|
345
|
+
opacity: 1,
|
|
346
|
+
scale: 0,
|
|
347
|
+
zIndex: this.zIndexVal,
|
|
348
|
+
xPercent: 0,
|
|
349
|
+
yPercent: 0,
|
|
350
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
351
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
352
|
+
}, {
|
|
353
|
+
duration: 0.4,
|
|
354
|
+
ease: "power1",
|
|
355
|
+
scale: 1,
|
|
356
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
357
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
358
|
+
}, 0)
|
|
359
|
+
.fromTo(img.DOM.inner, { scale: 1.2 }, {
|
|
360
|
+
duration: 0.4,
|
|
361
|
+
ease: "power1",
|
|
362
|
+
scale: 1,
|
|
363
|
+
}, 0)
|
|
364
|
+
.to(img.DOM.el, {
|
|
365
|
+
duration: 0.6,
|
|
366
|
+
ease: "power2",
|
|
367
|
+
opacity: 0,
|
|
368
|
+
scale: 0.2,
|
|
369
|
+
xPercent: () => gsap.utils.random(-30, 30),
|
|
370
|
+
yPercent: -200,
|
|
371
|
+
}, 0.6);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
// =============================================================================
|
|
375
|
+
// Variant 4 — Momentum-based drift with brightness/contrast
|
|
376
|
+
// =============================================================================
|
|
377
|
+
export class ImageTrailVariant4 extends BaseVariant {
|
|
378
|
+
showNextImage() {
|
|
379
|
+
++this.zIndexVal;
|
|
380
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
381
|
+
const img = this.images[this.imgPosition];
|
|
382
|
+
gsap.killTweensOf(img.DOM.el);
|
|
383
|
+
const vel = this.getTouchVelocity();
|
|
384
|
+
let dx = vel.dx;
|
|
385
|
+
let dy = vel.dy;
|
|
386
|
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
|
387
|
+
if (distance !== 0) {
|
|
388
|
+
dx /= distance;
|
|
389
|
+
dy /= distance;
|
|
390
|
+
}
|
|
391
|
+
dx *= distance / 100;
|
|
392
|
+
dy *= distance / 100;
|
|
393
|
+
gsap
|
|
394
|
+
.timeline({
|
|
395
|
+
onStart: () => this.onImageActivated(),
|
|
396
|
+
onComplete: () => this.onImageDeactivated(),
|
|
397
|
+
})
|
|
398
|
+
.fromTo(img.DOM.el, {
|
|
399
|
+
opacity: 1,
|
|
400
|
+
scale: 0,
|
|
401
|
+
zIndex: this.zIndexVal,
|
|
402
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
403
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
404
|
+
}, {
|
|
405
|
+
duration: 0.4,
|
|
406
|
+
ease: "power1",
|
|
407
|
+
scale: 1,
|
|
408
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
409
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
410
|
+
}, 0)
|
|
411
|
+
.fromTo(img.DOM.inner, {
|
|
412
|
+
scale: 2,
|
|
413
|
+
filter: `brightness(${Math.max((400 * distance) / 100, 100)}%) contrast(${Math.max((400 * distance) / 100, 100)}%)`,
|
|
414
|
+
}, {
|
|
415
|
+
duration: 0.4,
|
|
416
|
+
ease: "power1",
|
|
417
|
+
scale: 1,
|
|
418
|
+
filter: "brightness(100%) contrast(100%)",
|
|
419
|
+
}, 0)
|
|
420
|
+
.to(img.DOM.el, {
|
|
421
|
+
duration: 0.4,
|
|
422
|
+
ease: "power3",
|
|
423
|
+
opacity: 0,
|
|
424
|
+
}, 0.4)
|
|
425
|
+
.to(img.DOM.el, {
|
|
426
|
+
duration: 1.5,
|
|
427
|
+
ease: "power4",
|
|
428
|
+
x: `+=${dx * 110}`,
|
|
429
|
+
y: `+=${dy * 110}`,
|
|
430
|
+
}, 0.05);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
// =============================================================================
|
|
434
|
+
// Variant 5 — Rotation + momentum fling
|
|
435
|
+
// =============================================================================
|
|
436
|
+
export class ImageTrailVariant5 extends BaseVariant {
|
|
437
|
+
lastAngle = 0;
|
|
438
|
+
showNextImage() {
|
|
439
|
+
const vel = this.getTouchVelocity();
|
|
440
|
+
let dx = vel.dx;
|
|
441
|
+
let dy = vel.dy;
|
|
442
|
+
let angle = Math.atan2(dy, dx) * (180 / Math.PI);
|
|
443
|
+
if (angle < 0)
|
|
444
|
+
angle += 360;
|
|
445
|
+
if (angle > 90 && angle <= 270)
|
|
446
|
+
angle += 180;
|
|
447
|
+
const isMovingClockwise = angle >= this.lastAngle;
|
|
448
|
+
this.lastAngle = angle;
|
|
449
|
+
const startAngle = isMovingClockwise ? angle - 10 : angle + 10;
|
|
450
|
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
|
451
|
+
if (distance !== 0) {
|
|
452
|
+
dx /= distance;
|
|
453
|
+
dy /= distance;
|
|
454
|
+
}
|
|
455
|
+
dx *= distance / 150;
|
|
456
|
+
dy *= distance / 150;
|
|
457
|
+
++this.zIndexVal;
|
|
458
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
459
|
+
const img = this.images[this.imgPosition];
|
|
460
|
+
gsap.killTweensOf(img.DOM.el);
|
|
461
|
+
gsap
|
|
462
|
+
.timeline({
|
|
463
|
+
onStart: () => this.onImageActivated(),
|
|
464
|
+
onComplete: () => this.onImageDeactivated(),
|
|
465
|
+
})
|
|
466
|
+
.fromTo(img.DOM.el, {
|
|
467
|
+
opacity: 1,
|
|
468
|
+
filter: "brightness(80%)",
|
|
469
|
+
scale: 0.1,
|
|
470
|
+
zIndex: this.zIndexVal,
|
|
471
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
472
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
473
|
+
rotation: startAngle,
|
|
474
|
+
}, {
|
|
475
|
+
duration: 1,
|
|
476
|
+
ease: "power2",
|
|
477
|
+
scale: 1,
|
|
478
|
+
filter: "brightness(100%)",
|
|
479
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2 + dx * 70,
|
|
480
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2 + dy * 70,
|
|
481
|
+
rotation: this.lastAngle,
|
|
482
|
+
}, 0)
|
|
483
|
+
.to(img.DOM.el, {
|
|
484
|
+
duration: 0.4,
|
|
485
|
+
ease: "expo",
|
|
486
|
+
opacity: 0,
|
|
487
|
+
}, 0.5)
|
|
488
|
+
.to(img.DOM.el, {
|
|
489
|
+
duration: 1.5,
|
|
490
|
+
ease: "power4",
|
|
491
|
+
x: `+=${dx * 120}`,
|
|
492
|
+
y: `+=${dy * 120}`,
|
|
493
|
+
}, 0.05);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
// =============================================================================
|
|
497
|
+
// Variant 6 — Speed-reactive size, blur, grayscale
|
|
498
|
+
// =============================================================================
|
|
499
|
+
export class ImageTrailVariant6 extends BaseVariant {
|
|
500
|
+
updateCache() {
|
|
501
|
+
this.cacheMousePos.x = lerp(this.cacheMousePos.x, this.mousePos.x, 0.3);
|
|
502
|
+
this.cacheMousePos.y = lerp(this.cacheMousePos.y, this.mousePos.y, 0.3);
|
|
503
|
+
}
|
|
504
|
+
mapSpeedToSize(speed, minSize, maxSize) {
|
|
505
|
+
const maxSpeed = 200;
|
|
506
|
+
return minSize + (maxSize - minSize) * Math.min(speed / maxSpeed, 1);
|
|
507
|
+
}
|
|
508
|
+
mapSpeedToBrightness(speed, minB, maxB) {
|
|
509
|
+
const maxSpeed = 70;
|
|
510
|
+
return minB + (maxB - minB) * Math.min(speed / maxSpeed, 1);
|
|
511
|
+
}
|
|
512
|
+
mapSpeedToBlur(speed, minBlur, maxBlur) {
|
|
513
|
+
const maxSpeed = 90;
|
|
514
|
+
return minBlur + (maxBlur - minBlur) * Math.min(speed / maxSpeed, 1);
|
|
515
|
+
}
|
|
516
|
+
mapSpeedToGrayscale(speed, minG, maxG) {
|
|
517
|
+
const maxSpeed = 90;
|
|
518
|
+
return minG + (maxG - minG) * Math.min(speed / maxSpeed, 1);
|
|
519
|
+
}
|
|
520
|
+
showNextImage() {
|
|
521
|
+
const vel = this.getTouchVelocity();
|
|
522
|
+
const speed = Math.sqrt(vel.dx * vel.dx + vel.dy * vel.dy);
|
|
523
|
+
++this.zIndexVal;
|
|
524
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
525
|
+
const img = this.images[this.imgPosition];
|
|
526
|
+
const scaleFactor = this.mapSpeedToSize(speed, 0.3, 2);
|
|
527
|
+
const brightnessValue = this.mapSpeedToBrightness(speed, 0, 1.3);
|
|
528
|
+
const blurValue = this.mapSpeedToBlur(speed, 20, 0);
|
|
529
|
+
const grayscaleValue = this.mapSpeedToGrayscale(speed, 600, 0);
|
|
530
|
+
gsap.killTweensOf(img.DOM.el);
|
|
531
|
+
gsap
|
|
532
|
+
.timeline({
|
|
533
|
+
onStart: () => this.onImageActivated(),
|
|
534
|
+
onComplete: () => this.onImageDeactivated(),
|
|
535
|
+
})
|
|
536
|
+
.fromTo(img.DOM.el, {
|
|
537
|
+
opacity: 1,
|
|
538
|
+
scale: 0,
|
|
539
|
+
zIndex: this.zIndexVal,
|
|
540
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
541
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
542
|
+
}, {
|
|
543
|
+
duration: 0.8,
|
|
544
|
+
ease: "power3",
|
|
545
|
+
scale: scaleFactor,
|
|
546
|
+
filter: `grayscale(${grayscaleValue * 100}%) brightness(${brightnessValue * 100}%) blur(${blurValue}px)`,
|
|
547
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
548
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
549
|
+
}, 0)
|
|
550
|
+
.fromTo(img.DOM.inner, { scale: 2 }, {
|
|
551
|
+
duration: 0.8,
|
|
552
|
+
ease: "power3",
|
|
553
|
+
scale: 1,
|
|
554
|
+
}, 0)
|
|
555
|
+
.to(img.DOM.el, {
|
|
556
|
+
duration: 0.4,
|
|
557
|
+
ease: "power3.in",
|
|
558
|
+
opacity: 0,
|
|
559
|
+
scale: 0.2,
|
|
560
|
+
}, 0.45);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
// =============================================================================
|
|
564
|
+
// Variant 7 — Stacking trail with visible queue
|
|
565
|
+
// =============================================================================
|
|
566
|
+
export class ImageTrailVariant7 extends BaseVariant {
|
|
567
|
+
visibleImagesCount;
|
|
568
|
+
visibleImagesTotal;
|
|
569
|
+
constructor(container) {
|
|
570
|
+
super(container);
|
|
571
|
+
this.visibleImagesCount = 0;
|
|
572
|
+
this.visibleImagesTotal = 9;
|
|
573
|
+
this.visibleImagesTotal = Math.min(this.visibleImagesTotal, this.imagesTotal - 1);
|
|
574
|
+
}
|
|
575
|
+
updateCache() {
|
|
576
|
+
this.cacheMousePos.x = lerp(this.cacheMousePos.x, this.mousePos.x, 0.3);
|
|
577
|
+
this.cacheMousePos.y = lerp(this.cacheMousePos.y, this.mousePos.y, 0.3);
|
|
578
|
+
}
|
|
579
|
+
showNextImage() {
|
|
580
|
+
++this.zIndexVal;
|
|
581
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
582
|
+
const img = this.images[this.imgPosition];
|
|
583
|
+
++this.visibleImagesCount;
|
|
584
|
+
gsap.killTweensOf(img.DOM.el);
|
|
585
|
+
const scaleValue = gsap.utils.random(0.5, 1.6);
|
|
586
|
+
gsap
|
|
587
|
+
.timeline({
|
|
588
|
+
onStart: () => this.onImageActivated(),
|
|
589
|
+
onComplete: () => this.onImageDeactivated(),
|
|
590
|
+
})
|
|
591
|
+
.fromTo(img.DOM.el, {
|
|
592
|
+
scale: scaleValue - Math.max(gsap.utils.random(0.2, 0.6), 0),
|
|
593
|
+
rotationZ: 0,
|
|
594
|
+
opacity: 1,
|
|
595
|
+
zIndex: this.zIndexVal,
|
|
596
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
597
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
598
|
+
}, {
|
|
599
|
+
duration: 0.4,
|
|
600
|
+
ease: "power3",
|
|
601
|
+
scale: scaleValue,
|
|
602
|
+
rotationZ: gsap.utils.random(-3, 3),
|
|
603
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
604
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
605
|
+
}, 0);
|
|
606
|
+
if (this.visibleImagesCount >= this.visibleImagesTotal) {
|
|
607
|
+
const lastInQueue = getNewPosition(this.imgPosition, this.visibleImagesTotal, this.images);
|
|
608
|
+
const oldImg = this.images[lastInQueue];
|
|
609
|
+
gsap.to(oldImg.DOM.el, {
|
|
610
|
+
duration: 0.4,
|
|
611
|
+
ease: "power4",
|
|
612
|
+
opacity: 0,
|
|
613
|
+
scale: 1.3,
|
|
614
|
+
onComplete: () => {
|
|
615
|
+
if (this.activeImagesCount === 0) {
|
|
616
|
+
this.isIdle = true;
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
// =============================================================================
|
|
624
|
+
// Variant 8 — 3D perspective based on cursor position
|
|
625
|
+
// =============================================================================
|
|
626
|
+
export class ImageTrailVariant8 extends BaseVariant {
|
|
627
|
+
rotation;
|
|
628
|
+
cachedRotation;
|
|
629
|
+
zValue;
|
|
630
|
+
cachedZValue;
|
|
631
|
+
constructor(container) {
|
|
632
|
+
super(container);
|
|
633
|
+
this.rotation = { x: 0, y: 0 };
|
|
634
|
+
this.cachedRotation = { x: 0, y: 0 };
|
|
635
|
+
this.zValue = 0;
|
|
636
|
+
this.cachedZValue = 0;
|
|
637
|
+
}
|
|
638
|
+
showNextImage() {
|
|
639
|
+
const rect = this.container.getBoundingClientRect();
|
|
640
|
+
const centerX = rect.width / 2;
|
|
641
|
+
const centerY = rect.height / 2;
|
|
642
|
+
const relX = this.mousePos.x - centerX;
|
|
643
|
+
const relY = this.mousePos.y - centerY;
|
|
644
|
+
this.rotation.x = -(relY / centerY) * 30;
|
|
645
|
+
this.rotation.y = (relX / centerX) * 30;
|
|
646
|
+
this.cachedRotation = { ...this.rotation };
|
|
647
|
+
const distanceFromCenter = Math.sqrt(relX * relX + relY * relY);
|
|
648
|
+
const maxDistance = Math.sqrt(centerX * centerX + centerY * centerY);
|
|
649
|
+
const proportion = distanceFromCenter / maxDistance;
|
|
650
|
+
this.zValue = proportion * 1200 - 600;
|
|
651
|
+
this.cachedZValue = this.zValue;
|
|
652
|
+
const normalizedZ = (this.zValue + 600) / 1200;
|
|
653
|
+
const brightness = 0.2 + normalizedZ * 2.3;
|
|
654
|
+
++this.zIndexVal;
|
|
655
|
+
this.imgPosition = this.imgPosition < this.imagesTotal - 1 ? this.imgPosition + 1 : 0;
|
|
656
|
+
const img = this.images[this.imgPosition];
|
|
657
|
+
gsap.killTweensOf(img.DOM.el);
|
|
658
|
+
gsap
|
|
659
|
+
.timeline({
|
|
660
|
+
onStart: () => this.onImageActivated(),
|
|
661
|
+
onComplete: () => this.onImageDeactivated(),
|
|
662
|
+
})
|
|
663
|
+
.set(this.DOM.el, { perspective: 1000 }, 0)
|
|
664
|
+
.fromTo(img.DOM.el, {
|
|
665
|
+
opacity: 1,
|
|
666
|
+
z: 0,
|
|
667
|
+
scale: 1 + this.cachedZValue / 1000,
|
|
668
|
+
zIndex: this.zIndexVal,
|
|
669
|
+
x: this.cacheMousePos.x - (img.rect?.width ?? 0) / 2,
|
|
670
|
+
y: this.cacheMousePos.y - (img.rect?.height ?? 0) / 2,
|
|
671
|
+
rotationX: this.cachedRotation.x,
|
|
672
|
+
rotationY: this.cachedRotation.y,
|
|
673
|
+
filter: `brightness(${brightness})`,
|
|
674
|
+
}, {
|
|
675
|
+
duration: 1,
|
|
676
|
+
ease: "expo",
|
|
677
|
+
scale: 1 + this.zValue / 1000,
|
|
678
|
+
x: this.mousePos.x - (img.rect?.width ?? 0) / 2,
|
|
679
|
+
y: this.mousePos.y - (img.rect?.height ?? 0) / 2,
|
|
680
|
+
rotationX: this.rotation.x,
|
|
681
|
+
rotationY: this.rotation.y,
|
|
682
|
+
}, 0)
|
|
683
|
+
.to(img.DOM.el, {
|
|
684
|
+
duration: 0.4,
|
|
685
|
+
ease: "power2",
|
|
686
|
+
opacity: 0,
|
|
687
|
+
z: -800,
|
|
688
|
+
}, 0.3);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
// =============================================================================
|
|
692
|
+
// Variant Map
|
|
693
|
+
// =============================================================================
|
|
694
|
+
export const variantMap = {
|
|
695
|
+
type1: ImageTrailVariant1,
|
|
696
|
+
type2: ImageTrailVariant2,
|
|
697
|
+
type3: ImageTrailVariant3,
|
|
698
|
+
type4: ImageTrailVariant4,
|
|
699
|
+
type5: ImageTrailVariant5,
|
|
700
|
+
type6: ImageTrailVariant6,
|
|
701
|
+
type7: ImageTrailVariant7,
|
|
702
|
+
type8: ImageTrailVariant8,
|
|
703
|
+
};
|