@tarsis/toolkit 0.7.4 → 0.7.6
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/dist/{Container-BVX2MW1U.cjs → Container-DBXALrl1.cjs} +1 -1
- package/dist/{SelectBase-BC6WKZVF.cjs → SelectBase-CKsJgF0R.cjs} +3 -7
- package/dist/{SelectBase-DPcXvMTa.js → SelectBase-CdQKpIjl.js} +2 -6
- package/dist/components/Accordions/Expand/Expand.d.ts +8 -0
- package/dist/components/Accordions/GridAccordion/GridAccordion.d.ts +1 -0
- package/dist/components/Accordions/MinimalisticAccordion/MinimalisticAccordion.d.ts +10 -0
- package/dist/components/Accordions/index.d.ts +3 -0
- package/dist/components/Backgrounds/BackgroundCircles/BackgroundCircles.d.ts +1 -0
- package/dist/components/Backgrounds/ComplexGradient/ComplexGradient.d.ts +1 -0
- package/dist/components/Backgrounds/RaysBackground/RaysBackground.d.ts +1 -0
- package/dist/components/Backgrounds/Texture/Texture.d.ts +5 -0
- package/dist/components/Backgrounds/WebGLSmoke/WebGLSmoke.d.ts +1 -0
- package/dist/components/Backgrounds/index.d.ts +5 -0
- package/dist/components/Badges/ComingSoonBadge/ComingSoonBadge.d.ts +1 -0
- package/dist/components/Badges/index.d.ts +1 -0
- package/dist/components/Buttons/ActivateButton/ActivateButton.d.ts +1 -0
- package/dist/components/Buttons/AirplaneAnimation/AirplaneAnimation.d.ts +1 -0
- package/dist/components/Buttons/AnimatedHoverButton/AnimatedHoverButton.d.ts +7 -0
- package/dist/components/Buttons/AnimatedHoverGlowButton/AnimatedHoverGlowButton.d.ts +1 -0
- package/dist/components/Buttons/AuroraButton/AuroraButton.d.ts +1 -0
- package/dist/components/Buttons/BubblyParticlesButton/BubblyParticlesButton.d.ts +1 -0
- package/dist/components/Buttons/BurningButton/BurningButton.d.ts +1 -0
- package/dist/components/Buttons/ButtonBase/ButtonBase.d.ts +25 -0
- package/dist/components/Buttons/ButtonHoverFill/ButtonHoverFill.d.ts +1 -0
- package/dist/components/Buttons/ButtonShimmer/ButtonShimmer.d.ts +1 -0
- package/dist/components/Buttons/ButtonWithDot/ButtonWithDot.d.ts +1 -0
- package/dist/components/Buttons/ClaymorphicHeart/ClaymorphicHeart.d.ts +5 -0
- package/dist/components/Buttons/ClickButtonParticles/ClickButtonParticles.d.ts +1 -0
- package/dist/components/Buttons/ColorfulButtons/ColorfulButtons.d.ts +1 -0
- package/dist/components/Buttons/ConfettiButton/ConfettiButton.d.ts +7 -0
- package/dist/components/Buttons/DDDButton/DDDButton.d.ts +8 -0
- package/dist/components/Buttons/DarkMatterButton/DarkMatterButton.d.ts +1 -0
- package/dist/components/Buttons/DockButton/DockButton.d.ts +8 -0
- package/dist/components/Buttons/DoubleArrowButton/DoubleArrowButton.d.ts +1 -0
- package/dist/components/Buttons/DoubleArrowCollabButton/DoubleArrowCollabButton.d.ts +7 -0
- package/dist/components/Buttons/DoubleStateButton/DoubleStateButton.d.ts +8 -0
- package/dist/components/Buttons/DynamicIconButton/DynamicIconButton.d.ts +1 -0
- package/dist/components/Buttons/EchoClickButton/EchoClickButton.d.ts +1 -0
- package/dist/components/Buttons/ElectrifiedButton/ElectrifiedButton.d.ts +1 -0
- package/dist/components/Buttons/ElectrifiedButtonGS/ElectrifiedButtonGS.d.ts +1 -0
- package/dist/components/Buttons/FailedDownloadButton/FailedDownloadButton.d.ts +1 -0
- package/dist/components/Buttons/FootprintButton/FootprintButton.d.ts +1 -0
- package/dist/components/Buttons/GalaxyButton/GalaxyButton.d.ts +1 -0
- package/dist/components/Buttons/GlassToolbar/GlassToolbar.d.ts +11 -0
- package/dist/components/Buttons/GlowButton/GlowButton.d.ts +7 -0
- package/dist/components/Buttons/GoHoverButton/GoHoverButton.d.ts +1 -0
- package/dist/components/Buttons/GodRaysButton/GodRaysButton.d.ts +1 -0
- package/dist/components/Buttons/GooeyButton/GooeyButton.d.ts +1 -0
- package/dist/components/Buttons/GravityButton/GravityButton.d.ts +1 -0
- package/dist/components/Buttons/HeartFoldButton/HeartFoldButton.d.ts +1 -0
- package/dist/components/Buttons/HoldSubmitButton/HoldSubmitButton.d.ts +1 -0
- package/dist/components/Buttons/HoverGlowButton/HoverGlowButton.d.ts +7 -0
- package/dist/components/Buttons/HoverGlowButton/HoverGlowButton.utils.d.ts +1 -0
- package/dist/components/Buttons/Ios15Button/Ios15Button.d.ts +1 -0
- package/dist/components/Buttons/MagneticButton/MagneticButton.d.ts +1 -0
- package/dist/components/Buttons/MinimalisticGlassButton/MinimalisticGlassButton.d.ts +1 -0
- package/dist/components/Buttons/MorphingSubmitButton/MorphingSubmitButton.d.ts +1 -0
- package/dist/components/Buttons/MultiStageButton/MultiStageButton.d.ts +1 -0
- package/dist/components/Buttons/NeonButton/NeonButton.d.ts +7 -0
- package/dist/components/Buttons/NoisyButton/NoisyButton.d.ts +1 -0
- package/dist/components/Buttons/OrbitalSubmitButton/OrbitalSubmitButton.d.ts +1 -0
- package/dist/components/Buttons/PaperPlanButton/PaperPlanButton.d.ts +1 -0
- package/dist/components/Buttons/PlayPauseButton/PlayPauseButton.d.ts +1 -0
- package/dist/components/Buttons/PlayPauseMusicButton/PlayPauseMusicButton.d.ts +1 -0
- package/dist/components/Buttons/PositionHover/PositionHover.d.ts +1 -0
- package/dist/components/Buttons/PredictionButton/PredictionButton.d.ts +1 -0
- package/dist/components/Buttons/PredictionButton/PredictionButton.helpers.d.ts +5 -0
- package/dist/components/Buttons/ProgressButton/ProgressButton.d.ts +7 -0
- package/dist/components/Buttons/PsychedelicButton/PsychedelicButton.d.ts +5 -0
- package/dist/components/Buttons/ReflectiveButton/MacCursor.d.ts +1 -0
- package/dist/components/Buttons/ReflectiveButton/ReflectiveButton.d.ts +23 -0
- package/dist/components/Buttons/ReflectiveButton/ReflectiveButton.helpers.d.ts +2 -0
- package/dist/components/Buttons/ReflectiveButton/reflectiveButtonTestUtils.d.ts +2 -0
- package/dist/components/Buttons/ReflectiveButton/useUserMediaVideo.d.ts +12 -0
- package/dist/components/Buttons/RepostButton/RepostButton.d.ts +1 -0
- package/dist/components/Buttons/RubberButton/RubberButton.d.ts +1 -0
- package/dist/components/Buttons/RunningButton/RunningButton.d.ts +1 -0
- package/dist/components/Buttons/ShimmerButton/ShimmerButton.d.ts +1 -0
- package/dist/components/Buttons/ShimmeringBorderGradient/ShimmeringBorderGradient.d.ts +1 -0
- package/dist/components/Buttons/ShinyCtaButton/ShinyCtaButton.d.ts +7 -0
- package/dist/components/Buttons/SkeuomorphicLikeButton/SkeuomorphicLikeButton.d.ts +1 -0
- package/dist/components/Buttons/SlidingButton/SlidingButton.d.ts +1 -0
- package/dist/components/Buttons/SlidingStepper/SlidingStepper.d.ts +1 -0
- package/dist/components/Buttons/SparkleButton/SparkleButton.d.ts +1 -0
- package/dist/components/Buttons/SparklyButton/SparklyButton.d.ts +1 -0
- package/dist/components/Buttons/SquishButton/SquishButton.d.ts +7 -0
- package/dist/components/Buttons/SuccessLoadingButton/SuccessLoadingButton.d.ts +10 -0
- package/dist/components/Buttons/ThreadsLikeButton/ThreadsLikeButton.d.ts +1 -0
- package/dist/components/Buttons/ThumbsUpButton/ThumbsUpButton.d.ts +1 -0
- package/dist/components/Buttons/TicklishButton/TicklishButton.d.ts +1 -0
- package/dist/components/Buttons/TrickButton/TrickButton.d.ts +1 -0
- package/dist/components/Buttons/index.d.ts +70 -0
- package/dist/components/Cards/AccentShardCard/AccentShardCard.d.ts +1 -0
- package/dist/components/Cards/AnimatedBlendedCard/AnimatedBlendedCard.d.ts +1 -0
- package/dist/components/Cards/BrandCard/BrandCard.d.ts +10 -0
- package/dist/components/Cards/BrandCard/FigmaLogo/FigmaLogo.d.ts +1 -0
- package/dist/components/Cards/CaptionCard/CaptionCard.d.ts +10 -0
- package/dist/components/Cards/CardGlow/CardGlow.d.ts +1 -0
- package/dist/components/Cards/CardTile/CardTile.d.ts +8 -0
- package/dist/components/Cards/ChequeredCard/ChequeredCard.d.ts +1 -0
- package/dist/components/Cards/DDDHoverCard/DDDHoverCard.d.ts +1 -0
- package/dist/components/Cards/EnvelopeTile/EnvelopeTile.d.ts +8 -0
- package/dist/components/Cards/GlowingTile/GlowingTile.d.ts +1 -0
- package/dist/components/Cards/GradientGlowingTile/GradientGlowingTile.d.ts +1 -0
- package/dist/components/Cards/HoverTile/HoverTile.d.ts +8 -0
- package/dist/components/Cards/Hoverable3DCard/Hoverable3DCard.d.ts +1 -0
- package/dist/components/Cards/ImageCard/ImageCard.d.ts +1 -0
- package/dist/components/Cards/InvertedRadius/InvertedRadius.d.ts +9 -0
- package/dist/components/Cards/PhotoCard/PhotoCard.d.ts +1 -0
- package/dist/components/Cards/ProductTile/ProductTile.d.ts +8 -0
- package/dist/components/Cards/ProfileCard/ProfileCard.d.ts +1 -0
- package/dist/components/Cards/ShineAnimation/ShineAnimation.d.ts +1 -0
- package/dist/components/Cards/ShineCard/ShineCard.d.ts +17 -0
- package/dist/components/Cards/StackingCards/StackingCards.d.ts +1 -0
- package/dist/components/Cards/index.d.ts +22 -0
- package/dist/components/Carousels/BulletsCarousel/BulletsCarousel.d.ts +1 -0
- package/dist/components/Carousels/CardCarousel/CardCarousel.d.ts +6 -0
- package/dist/components/Carousels/CardCarousel/CardCarousel.helpers.d.ts +10 -0
- package/dist/components/Carousels/CardCarousel/CardCarouselItem.d.ts +6 -0
- package/dist/components/Carousels/CoverFlowGallery/CoverFlowGallery.d.ts +1 -0
- package/dist/components/Carousels/FullScreenImageCarousel/FullScreenImageCarousel.d.ts +1 -0
- package/dist/components/Carousels/GalleryReverseScroll/GalleryReverseScroll.d.ts +1 -0
- package/dist/components/Carousels/GlideImageGallery/GlideImageGallery.d.ts +1 -0
- package/dist/components/Carousels/ListItemHover/ListItemHover.d.ts +1 -0
- package/dist/components/Carousels/RotatedCardsCarousel/RotatedCardsCarousel.d.ts +1 -0
- package/dist/components/Carousels/RotatedCardsCarousel/RotatedCardsCarousel.helpers.d.ts +6 -0
- package/dist/components/Carousels/Scroller/Scroller.d.ts +9 -0
- package/dist/components/Carousels/Scroller/Scroller.utils.d.ts +1 -0
- package/dist/components/Carousels/ShadowedCardsList/ShadowedCardsList.d.ts +1 -0
- package/dist/components/Carousels/SlidingImages/SlidingImages.d.ts +1 -0
- package/dist/components/Carousels/index.d.ts +11 -0
- package/dist/components/Checkboxes/Checkbox/Checkbox.d.ts +10 -0
- package/dist/components/Checkboxes/CheckboxBase/CheckboxBase.d.ts +23 -0
- package/dist/components/Checkboxes/IndeterminateCheckboxes/IndeterminateCheckboxes.d.ts +1 -0
- package/dist/components/Checkboxes/StrikethroughCheckboxes/StrikethroughCheckbox.d.ts +8 -0
- package/dist/components/Checkboxes/StrikethroughCheckboxes/StrikethroughCheckboxes.d.ts +1 -0
- package/dist/components/Checkboxes/index.d.ts +5 -0
- package/dist/components/Chipses/Chips/Chips.d.ts +1 -0
- package/dist/components/Chipses/FlipChips/Chip.d.ts +7 -0
- package/dist/components/Chipses/FlipChips/FlipChips.d.ts +1 -0
- package/dist/components/Chipses/index.d.ts +2 -0
- package/dist/components/Clocks/DailClock/DailClock.d.ts +1 -0
- package/dist/components/Clocks/MotionClock/MotionClock.d.ts +1 -0
- package/dist/components/Clocks/NeumorphicAnalogClock/NeumorphicAnalogClock.d.ts +5 -0
- package/dist/components/Clocks/index.d.ts +3 -0
- package/dist/components/Cursors/CircleTextHover/CircleTextHover.d.ts +1 -0
- package/dist/components/Cursors/ClickSpark/ClickSpark.d.ts +1 -0
- package/dist/components/Cursors/DarkMatterMouseEffect/DarkMatterMouseEffect.d.ts +1 -0
- package/dist/components/Cursors/ElasticCursor/ElasticCursor.d.ts +1 -0
- package/dist/components/Cursors/MagicMouseEffect/MagicMouseEffect.d.ts +1 -0
- package/dist/components/Cursors/SplashCursor/SplashCursor.d.ts +5 -0
- package/dist/components/Cursors/index.d.ts +6 -0
- package/dist/components/Dials/DialControl/DialControl.d.ts +5 -0
- package/dist/components/Dials/DialFuturistic/DialFuturistic.d.ts +1 -0
- package/dist/components/Dials/MetalCircleController/MetalCircleController.d.ts +1 -0
- package/dist/components/Dials/index.d.ts +3 -0
- package/dist/components/Docks/Dock/Dock.d.ts +1 -0
- package/dist/components/Docks/DockHas/DockHas.d.ts +1 -0
- package/dist/components/Docks/DockMotion/DockMotion.d.ts +17 -0
- package/dist/components/Docks/DockMotion/DockMotionDivider.d.ts +1 -0
- package/dist/components/Docks/DockMotion/DockMotionEmbedded.d.ts +4 -0
- package/dist/components/Docks/DockMotion/DockMotionItem.d.ts +55 -0
- package/dist/components/Docks/DockMotion/audioCache.d.ts +2 -0
- package/dist/components/Docks/DockMotion/index.d.ts +140 -0
- package/dist/components/Docks/index.d.ts +3 -0
- package/dist/components/Grids/AutoMasonryGrid/AutoMasonryGrid.d.ts +1 -0
- package/dist/components/Grids/DenseGrid/DenseGrid.d.ts +1 -0
- package/dist/components/Grids/Grid3DCards/Grid3DCards.d.ts +1 -0
- package/dist/components/Grids/Grid3DCards/PhotoCard.d.ts +6 -0
- package/dist/components/Grids/GridHover/GridHover.d.ts +1 -0
- package/dist/components/Grids/GridViewTransition/GridViewTransition.d.ts +1 -0
- package/dist/components/Grids/LeaningCards/LeaningCards.d.ts +1 -0
- package/dist/components/Grids/index.d.ts +6 -0
- package/dist/components/Hamburgers/BoldHamburger/BoldHamburger.d.ts +1 -0
- package/dist/components/Hamburgers/HamburgerMusic/HamburgerMusic.d.ts +1 -0
- package/dist/components/Hamburgers/HamburgerX/HamburgerX.d.ts +7 -0
- package/dist/components/Hamburgers/index.d.ts +3 -0
- package/dist/components/Headers/Header/Header.d.ts +8 -0
- package/dist/components/Headers/StickyHeader/StickyHeader.d.ts +1 -0
- package/dist/components/Headers/index.d.ts +2 -0
- package/dist/components/Heros/AnimatedHeroTitle/AnimatedHeroTitle.d.ts +1 -0
- package/dist/components/Heros/ContrastBackgroundText/ContrastBackgroundText.d.ts +1 -0
- package/dist/components/Heros/FluidGooeyTextBackground/FluidGooeyTextBackground.d.ts +1 -0
- package/dist/components/Heros/index.d.ts +3 -0
- package/dist/components/Icons/GlassIcon/GlassIcon.d.ts +1 -0
- package/dist/components/Icons/NeumorphicLogo/NeumorphicLogo.d.ts +1 -0
- package/dist/components/Icons/SlidingIcon/SlidingIcon.d.ts +1 -0
- package/dist/components/Icons/SquircleAvatar/SquircleAvatar.d.ts +1 -0
- package/dist/components/Icons/index.d.ts +4 -0
- package/dist/components/Inputs/ClearInput/ClearInput.d.ts +1 -0
- package/dist/components/Inputs/EmailInput/EmailInput.d.ts +1 -0
- package/dist/components/Inputs/FloatingLabelInput/FloatingLabelInput.d.ts +1 -0
- package/dist/components/Inputs/GlowingInput/GlowingInput.d.ts +1 -0
- package/dist/components/Inputs/InputBase/InputBase.d.ts +21 -0
- package/dist/components/Inputs/InputFirework/InputFirework.d.ts +1 -0
- package/dist/components/Inputs/NewsletterInput/NewsletterInput.d.ts +1 -0
- package/dist/components/Inputs/PasswordInput/PasswordInput.d.ts +1 -0
- package/dist/components/Inputs/SearchInput/SearchInput.d.ts +1 -0
- package/dist/components/Inputs/ShadowedClick/ShadowedClick.d.ts +1 -0
- package/dist/components/Inputs/SignatureAnimation/SignatureAnimation.d.ts +6 -0
- package/dist/components/Inputs/SignatureAnimation/SignatureAnimation.letters.d.ts +20 -0
- package/dist/components/Inputs/index.d.ts +12 -0
- package/dist/components/Links/BorderLink/BorderLink.d.ts +4 -0
- package/dist/components/Links/CircleLink/CircleLink.d.ts +4 -0
- package/dist/components/Links/ForwardArrowLink/ForwardArrowLink.d.ts +1 -0
- package/dist/components/Links/PaintedLink/PaintedLink.d.ts +1 -0
- package/dist/components/Links/RegularLink/RegularLink.d.ts +6 -0
- package/dist/components/Links/ShakyLine/ShakyLine.d.ts +1 -0
- package/dist/components/Links/UnderlinedLink/UnderlinedLink.d.ts +6 -0
- package/dist/components/Links/UnderlinedLink2/UnderlinedLink2.d.ts +1 -0
- package/dist/components/Links/index.d.ts +8 -0
- package/dist/components/Loaders/AcrobaticPreloader/AcrobaticPreloader.d.ts +1 -0
- package/dist/components/Loaders/AlienSkeuomorphicLoaders/AlienSkeuomorphicLoaders.d.ts +1 -0
- package/dist/components/Loaders/CanOfDigits/CanOfDigits.d.ts +7 -0
- package/dist/components/Loaders/ChaseLoader/ChaseLoader.d.ts +1 -0
- package/dist/components/Loaders/CircleDotsLoader/CircleDotsLoader.d.ts +5 -0
- package/dist/components/Loaders/CubeLoader/CubeLoader.d.ts +1 -0
- package/dist/components/Loaders/EndlessLoader/EndlessLoader.d.ts +5 -0
- package/dist/components/Loaders/EndlessLoader/gl.d.ts +30 -0
- package/dist/components/Loaders/EndlessLoader/shaders.d.ts +2 -0
- package/dist/components/Loaders/InfiniteLoader/InfiniteLoader.d.ts +1 -0
- package/dist/components/Loaders/LoaderGenerator/LoaderGenerator.d.ts +1 -0
- package/dist/components/Loaders/LoadingBook/LoadingBook.d.ts +1 -0
- package/dist/components/Loaders/LoadingWave/LoadingWave.d.ts +1 -0
- package/dist/components/Loaders/LoadingWave/LoadingWave.utils.d.ts +1 -0
- package/dist/components/Loaders/OffTrackPreloader/OffTrackPreloader.d.ts +1 -0
- package/dist/components/Loaders/PieLoader/PieLoader.d.ts +1 -0
- package/dist/components/Loaders/PulseInLoader/PulseInLoader.d.ts +1 -0
- package/dist/components/Loaders/PulseOutLoader/PulseOutLoader.d.ts +1 -0
- package/dist/components/Loaders/RingLoader/RingLoader.d.ts +6 -0
- package/dist/components/Loaders/RoundScaleLoader/RoundScaleLoader.d.ts +1 -0
- package/dist/components/Loaders/SkateboardPreloader/SkateboardPreloader.d.ts +1 -0
- package/dist/components/Loaders/SmileyPreloader/SmileyPreloader.d.ts +1 -0
- package/dist/components/Loaders/SnowballPreloader/SnowballPreloader.d.ts +1 -0
- package/dist/components/Loaders/SpinningClickAnimation/SpinningClickAnimation.d.ts +8 -0
- package/dist/components/Loaders/StretchyLoader/StretchyLoader.d.ts +1 -0
- package/dist/components/Loaders/StuntPreloader/StuntPreloader.d.ts +1 -0
- package/dist/components/Loaders/SubtleBorderAnimation/SubtleBorderAnimation.d.ts +1 -0
- package/dist/components/Loaders/SuccessLoader/SuccessLoader.d.ts +5 -0
- package/dist/components/Loaders/ThreeDotsLoader/ThreeDotsLoader.d.ts +1 -0
- package/dist/components/Loaders/TimeCirclesLoader/TimeCirclesLoader.d.ts +1 -0
- package/dist/components/Loaders/index.d.ts +27 -0
- package/dist/components/Marquees/CardMarquee/CardMarquee.d.ts +1 -0
- package/dist/components/Marquees/Ticker/Ticker.d.ts +1 -0
- package/dist/components/Marquees/index.d.ts +2 -0
- package/dist/components/Menus/AnimatedIconsNav/AnimatedIconsNav.d.ts +1 -0
- package/dist/components/Menus/AnimatedShareMenu/AnimatedShareMenu.d.ts +1 -0
- package/dist/components/Menus/CurtainRevealMenu/CurtainRevealMenu.d.ts +5 -0
- package/dist/components/Menus/DetachedMenu/DetachedMenu.d.ts +1 -0
- package/dist/components/Menus/DropdownMenu/DropdownMenu.d.ts +11 -0
- package/dist/components/Menus/Futuristic3DHoverMenu/Futuristic3DHoverMenu.d.ts +1 -0
- package/dist/components/Menus/GlowingDropdown/GlowingDropdown.d.ts +1 -0
- package/dist/components/Menus/GlowingDropdown/GlowingSelect.d.ts +6 -0
- package/dist/components/Menus/GlowingTabs/GlowingTab.d.ts +9 -0
- package/dist/components/Menus/GlowingTabs/GlowingTabs.d.ts +1 -0
- package/dist/components/Menus/GlowingTabs2/GlowingTab2.d.ts +10 -0
- package/dist/components/Menus/GlowingTabs2/GlowingTabs2.d.ts +1 -0
- package/dist/components/Menus/MagnifiedNavItems/MagnifiedNavItems.d.ts +1 -0
- package/dist/components/Menus/MobileNavBar/MobileNavBar.d.ts +1 -0
- package/dist/components/Menus/NavigationMenu/NavigationMenu.d.ts +1 -0
- package/dist/components/Menus/ParallaxMenu/ParallaxMenu.d.ts +1 -0
- package/dist/components/Menus/PianoNav/PianoNav.d.ts +1 -0
- package/dist/components/Menus/PinDropdown/PinDropdown.d.ts +1 -0
- package/dist/components/Menus/RadialMenu/RadialMenu.d.ts +1 -0
- package/dist/components/Menus/RadialNavigation/RadialNavigation.d.ts +18 -0
- package/dist/components/Menus/SinglePopoverMenu/SinglePopoverMenu.d.ts +1 -0
- package/dist/components/Menus/TabBarAnimation/TabBarAnimation.d.ts +14 -0
- package/dist/components/Menus/WavyMenu/WavyMenu.d.ts +1 -0
- package/dist/components/Menus/WavyMenu/WavyMenuItem.d.ts +10 -0
- package/dist/components/Menus/index.d.ts +20 -0
- package/dist/components/Pages/BugsPage/BugsPage.d.ts +7 -0
- package/dist/components/Pages/RedirectPage/RedirectPage.d.ts +1 -0
- package/dist/components/Pages/index.d.ts +2 -0
- package/dist/components/Parallax/ParallaxEmoji/ParallaxEmoji.d.ts +7 -0
- package/dist/components/Parallax/index.d.ts +1 -0
- package/dist/components/Players/ApertureVideo/ApertureVideo.d.ts +1 -0
- package/dist/components/Players/GlassMusicPlayer/GlassMusicPlayer.d.ts +13 -0
- package/dist/components/Players/index.d.ts +2 -0
- package/dist/components/Radios/RadioHopping/RadioHopping.d.ts +1 -0
- package/dist/components/Radios/RadioParticles/RadioParticles.d.ts +1 -0
- package/dist/components/Radios/RadioRolling/RadioRolling.d.ts +1 -0
- package/dist/components/Radios/RadioSlidingFocus/RadioSlidingFocus.d.ts +13 -0
- package/dist/components/Radios/index.d.ts +4 -0
- package/dist/components/Scrolls/ScrollCountdown/ScrollCountdown.d.ts +1 -0
- package/dist/components/Scrolls/ScrollDrivenTextBlowOut/ScrollDrivenTextBlowOut.d.ts +1 -0
- package/dist/components/Scrolls/ScrollTextHighlight/ScrollTextHighlight.d.ts +1 -0
- package/dist/components/Scrolls/ScrollTimeline/ScrollTimeline.d.ts +1 -0
- package/dist/components/Scrolls/ScrollWithLight/ScrollWithLight.d.ts +1 -0
- package/dist/components/Scrolls/ScrollingTextReveal/ScrollingTextReveal.d.ts +1 -0
- package/dist/components/Scrolls/index.d.ts +6 -0
- package/dist/components/Sliders/DDDRangeSlider/DDDRangeSlider.d.ts +1 -0
- package/dist/components/Sliders/GlowSlider/GlowSlider.d.ts +1 -0
- package/dist/components/Sliders/NeumorphicSlider/NeumorphicSlider.d.ts +1 -0
- package/dist/components/Sliders/index.d.ts +3 -0
- package/dist/components/Stars/FeedbackReactions/FeedbackReactions.d.ts +1 -0
- package/dist/components/Stars/index.d.ts +1 -0
- package/dist/components/Switches/DaySwitch/DaySwitch.d.ts +1 -0
- package/dist/components/Switches/GlassSwitch/GlassSwitch.d.ts +1 -0
- package/dist/components/Switches/IosSwitch/IosSwitch.d.ts +6 -0
- package/dist/components/Switches/NeonToggleSwitch/NeonToggleSwitch.d.ts +1 -0
- package/dist/components/Switches/NeuromorphicToggle/NeuromorphicToggle.d.ts +5 -0
- package/dist/components/Switches/SegmentedToggle/SegmentedToggle.d.ts +1 -0
- package/dist/components/Switches/StretchToggle/StretchToggle.d.ts +1 -0
- package/dist/components/Switches/SwitchBase/SwitchBase.d.ts +21 -0
- package/dist/components/Switches/TippingSwitch/TippingSwitch.d.ts +5 -0
- package/dist/components/Switches/ToggleBubble/ToggleBubble.d.ts +1 -0
- package/dist/components/Switches/ToggleClipPath/ToggleClipPath.d.ts +1 -0
- package/dist/components/Switches/index.d.ts +11 -0
- package/dist/components/Texts/EnlightenedText/EnlightenedText.d.ts +6 -0
- package/dist/components/Texts/GlowingText/GlowingText.d.ts +1 -0
- package/dist/components/Texts/GrainyGradientText/GrainyGradientText.d.ts +1 -0
- package/dist/components/Texts/JellyText/JellyText.d.ts +6 -0
- package/dist/components/Texts/MagicalText/MagicalText.d.ts +5 -0
- package/dist/components/Texts/ScrambledText/ScrambledText.d.ts +6 -0
- package/dist/components/Texts/ScrambledText/ScrambledText.helpers.d.ts +1 -0
- package/dist/components/Texts/ScramblingLetters/ScramblingLetters.d.ts +1 -0
- package/dist/components/Texts/ShakingText/ShakingText.d.ts +5 -0
- package/dist/components/Texts/ShiningText/ShiningText.d.ts +6 -0
- package/dist/components/Texts/SpiralLoadingText/SpiralLoadingText.d.ts +6 -0
- package/dist/components/Texts/TextMorphing/TextMorphing.d.ts +1 -0
- package/dist/components/Texts/TextOutline/TextOutline.d.ts +1 -0
- package/dist/components/Texts/TextShadow/TextShadow.d.ts +1 -0
- package/dist/components/Texts/WeightText/WeightText.d.ts +5 -0
- package/dist/components/Texts/index.d.ts +14 -0
- package/dist/components/Toasts/Toast.d.ts +6 -0
- package/dist/components/Toasts/Toasts.d.ts +6 -0
- package/dist/components/Tooltips/Tooltip/Tooltip.d.ts +15 -0
- package/dist/components/Tooltips/TooltipRangeSlider/TooltipRangeSlider.d.ts +1 -0
- package/dist/components/Tooltips/index.d.ts +2 -0
- package/dist/components/index.d.ts +123 -0
- package/dist/components/primitives/Cluster/Cluster.d.ts +14 -0
- package/dist/components/primitives/Container/Container.d.ts +13 -0
- package/dist/components/primitives/DialogBase/DialogBase.d.ts +18 -0
- package/dist/components/primitives/FormField/FormField.d.ts +33 -0
- package/dist/components/primitives/FormField/FormFieldContext.d.ts +4 -0
- package/dist/components/primitives/PopoverBase/PopoverBase.d.ts +18 -0
- package/dist/components/primitives/Portal/Portal.d.ts +8 -0
- package/dist/components/primitives/SelectBase/SelectBase.d.ts +23 -0
- package/dist/components/primitives/Slot/Slot.d.ts +12 -0
- package/dist/components/primitives/Stack/Stack.d.ts +14 -0
- package/dist/components/primitives/ThemeProvider/ThemeContext.d.ts +12 -0
- package/dist/components/primitives/ThemeProvider/ThemeProvider.d.ts +18 -0
- package/dist/components/primitives/ThemeProvider/themeDom.d.ts +11 -0
- package/dist/components/primitives/TooltipBase/TooltipBase.d.ts +17 -0
- package/dist/components/primitives/VisuallyHidden/VisuallyHidden.d.ts +7 -0
- package/dist/components/shared/contracts.d.ts +4 -0
- package/dist/components/shared/polymorphic.d.ts +6 -0
- package/dist/components/unsorted/AdjoinedFilters/AdjoinedFilters.d.ts +1 -0
- package/dist/components/unsorted/Appearance/Appearance.d.ts +5 -0
- package/dist/components/unsorted/AreaLight/AreaLight.d.ts +1 -0
- package/dist/components/unsorted/AvatarHover/AvatarHover.d.ts +1 -0
- package/dist/components/unsorted/BackgroundSlider/BackgroundSlider.d.ts +2 -0
- package/dist/components/unsorted/BlurVignette/BlurVignette.d.ts +10 -0
- package/dist/components/unsorted/BlurredBackground/BlurredBackground.d.ts +1 -0
- package/dist/components/unsorted/BorderGradient/BorderGradient.d.ts +1 -0
- package/dist/components/unsorted/BouncyClock/BouncyClock.d.ts +1 -0
- package/dist/components/unsorted/BreakingProgress/BreakingProgress.d.ts +5 -0
- package/dist/components/unsorted/BrownianMotion/BrownianMotion.d.ts +1 -0
- package/dist/components/unsorted/CardDetails/CardDetails.d.ts +1 -0
- package/dist/components/unsorted/ChromaticAberration/ChromaticAberration.d.ts +1 -0
- package/dist/components/unsorted/CircleLinesAnimation/CircleLinesAnimation.d.ts +1 -0
- package/dist/components/unsorted/CircleParticles/CircleParticles.d.ts +1 -0
- package/dist/components/unsorted/CollapseAnimation/CollapseAnimation.d.ts +1 -0
- package/dist/components/unsorted/ContactList/ContactList.d.ts +1 -0
- package/dist/components/unsorted/CookieBanner/CookieBanner.d.ts +1 -0
- package/dist/components/unsorted/Counter/Counter.d.ts +1 -0
- package/dist/components/unsorted/DissolveElementEffect/DissolveElementEffect.d.ts +11 -0
- package/dist/components/unsorted/Duck/Duck.d.ts +1 -0
- package/dist/components/unsorted/DynamicIsland/DynamicIsland.d.ts +5 -0
- package/dist/components/unsorted/FadeUp/FadeUp.d.ts +7 -0
- package/dist/components/unsorted/FileIcons/FileIcons.d.ts +1 -0
- package/dist/components/unsorted/Fingerprint/Fingerprint.d.ts +5 -0
- package/dist/components/unsorted/GlidingReveal/GlidingReveal.d.ts +1 -0
- package/dist/components/unsorted/GlitterCard/GlitterCard.d.ts +1 -0
- package/dist/components/unsorted/GlowingShadows/GlowingShadows.d.ts +1 -0
- package/dist/components/unsorted/GradientBorder/GradientBorder.d.ts +1 -0
- package/dist/components/unsorted/Illumination/Illumination.d.ts +1 -0
- package/dist/components/unsorted/ImageClipping/ImageClipping.d.ts +1 -0
- package/dist/components/unsorted/LandingXYScroll/LandingXYScroll.d.ts +1 -0
- package/dist/components/unsorted/LayeredComponents/LayeredComponents.d.ts +1 -0
- package/dist/components/unsorted/Lock/Lock.d.ts +3 -0
- package/dist/components/unsorted/LoveGlow/LoveGlow.d.ts +1 -0
- package/dist/components/unsorted/Mathober/Mathober.d.ts +1 -0
- package/dist/components/unsorted/MotionDigits/MotionDigits.d.ts +1 -0
- package/dist/components/unsorted/MouseMoveGallery/MouseMoveGallery.d.ts +1 -0
- package/dist/components/unsorted/MouseMoveGallery/MouseMoveGallery.helpers.d.ts +1 -0
- package/dist/components/unsorted/MultiGradientBackground/MultiGradientBackground.d.ts +1 -0
- package/dist/components/unsorted/MultipathSvgAnimation/MultipathSvgAnimation.d.ts +1 -0
- package/dist/components/unsorted/NamedPointer/NamedPointer.d.ts +6 -0
- package/dist/components/unsorted/NotificationBell/NotificationBell.d.ts +1 -0
- package/dist/components/unsorted/PhotoZoom/PhotoZoom.d.ts +1 -0
- package/dist/components/unsorted/PolaroidStack/PolaroidStack.d.ts +1 -0
- package/dist/components/unsorted/QuickTimeClock/QuickTimeClock.d.ts +1 -0
- package/dist/components/unsorted/RealisticSmoke/RealisticSmoke.d.ts +1 -0
- package/dist/components/unsorted/RevealImageAnimation/RevealImageAnimation.d.ts +1 -0
- package/dist/components/unsorted/RhombusGallery/RhombusGallery.d.ts +1 -0
- package/dist/components/unsorted/SchrodingerFormControls/SchrodingerFormControls.d.ts +1 -0
- package/dist/components/unsorted/SegmentedControls/SegmentedControls.d.ts +12 -0
- package/dist/components/unsorted/ShapeSelection/ShapeSelection.d.ts +6 -0
- package/dist/components/unsorted/SlideIn/SlideIn.d.ts +18 -0
- package/dist/components/unsorted/SmokeTextDisappearance/SmokeTextDisappearance.d.ts +5 -0
- package/dist/components/unsorted/SmoothScroll/SmoothScroll.d.ts +1 -0
- package/dist/components/unsorted/SolarEclipse/BaileysBead.d.ts +15 -0
- package/dist/components/unsorted/SolarEclipse/SolarEclipse.d.ts +1 -0
- package/dist/components/unsorted/SolarEclipse/SolarEclipse.helpers.d.ts +12 -0
- package/dist/components/unsorted/SpeechToText/SpeechToText.d.ts +22 -0
- package/dist/components/unsorted/StaticSolarEclipse/StaticSolarEclipse.d.ts +1 -0
- package/dist/components/unsorted/StickyList/StickyList.d.ts +1 -0
- package/dist/components/unsorted/TextImageHover/TextImageHover.d.ts +1 -0
- package/dist/components/unsorted/ThanosDisappearEffect/ThanosDisappearEffect.d.ts +6 -0
- package/dist/components/unsorted/ThanosDisappearEffectList/ThanosDisappearEffectList.d.ts +1 -0
- package/dist/components/unsorted/ThanosDissolve/ThanosDissolve.d.ts +9 -0
- package/dist/components/unsorted/TranslucentBackdrop/TranslucentBackdrop.d.ts +1 -0
- package/dist/components/unsorted/TurbulenceFilter/TurbulenceFilter.d.ts +1 -0
- package/dist/components/unsorted/ViewTransitionAddToCard/ViewTransitionAddToCard.d.ts +1 -0
- package/dist/components/unsorted/ViewTransitionImageGallery/ViewTransitionImageGallery.d.ts +1 -0
- package/dist/components/unsorted/VoiceAnimation/VoiceAnimation.d.ts +1 -0
- package/dist/{gl-CyEFDXce.cjs → gl-DEE7rq9M.cjs} +5 -5
- package/dist/global.d.ts +87 -0
- package/dist/hooks/index.d.ts +20 -0
- package/dist/hooks/useAnimatedText/index.d.ts +1 -0
- package/dist/hooks/useAnimatedText/useAnimatedText.d.ts +1 -0
- package/dist/hooks/useBowser.d.ts +11 -0
- package/dist/hooks/useControllableState.d.ts +2 -0
- package/dist/hooks/useDebounce.d.ts +50 -0
- package/dist/hooks/useEffectEvent.d.ts +16 -0
- package/dist/hooks/useFormField.d.ts +36 -0
- package/dist/hooks/useGsapContext.d.ts +20 -0
- package/dist/hooks/useInterval.d.ts +25 -0
- package/dist/hooks/useLiveRef.d.ts +1 -0
- package/dist/hooks/useMatchMedia.d.ts +1 -0
- package/dist/hooks/useMergeRefs.d.ts +5 -0
- package/dist/hooks/useOklch.d.ts +1 -0
- package/dist/hooks/useOutsideClick.d.ts +22 -0
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/hooks/useRaf.d.ts +24 -0
- package/dist/hooks/useReducedMotion.d.ts +2 -0
- package/dist/hooks/useThrottle.d.ts +20 -0
- package/dist/hooks/useTimeout.d.ts +25 -0
- package/dist/hooks/useWindowReady.d.ts +1 -0
- package/dist/hooks.cjs +3 -3
- package/dist/index.cjs +291 -596
- package/dist/index.d.ts +5 -1
- package/dist/index.js +283 -588
- package/dist/internal/assets.d.ts +18 -0
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +7 -1
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.d.ts +18 -1
- package/dist/primitives.js +1 -1
- package/dist/server.d.ts +5 -1
- package/dist/styles.css +483 -483
- package/dist/test/a11y.d.ts +5 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/tokens/animation.d.ts +38 -0
- package/dist/tokens/colorValidation.d.ts +18 -0
- package/dist/tokens/index.d.ts +8 -0
- package/dist/tokens/spring.d.ts +39 -0
- package/dist/tokens/tokens.d.ts +333 -0
- package/dist/tokens.d.ts +2 -1
- package/dist/utils/array/index.d.ts +2 -0
- package/dist/utils/array/move.d.ts +1 -0
- package/dist/utils/array/times.d.ts +1 -0
- package/dist/utils/collections/BoundedMap.d.ts +19 -0
- package/dist/utils/collections/index.d.ts +2 -0
- package/dist/utils/common/index.d.ts +2 -0
- package/dist/utils/common/logger.d.ts +36 -0
- package/dist/utils/common/noop.d.ts +1 -0
- package/dist/utils/conditional/index.d.ts +3 -0
- package/dist/utils/conditional/is.d.ts +3 -0
- package/dist/utils/conditional/isNonNullable.d.ts +1 -0
- package/dist/utils/conditional/notReachable.d.ts +1 -0
- package/dist/utils/error.d.ts +6 -0
- package/dist/utils/format.d.ts +10 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/math.d.ts +6 -0
- package/dist/utils/object/index.d.ts +2 -0
- package/dist/utils/object/keys.d.ts +1 -0
- package/dist/utils/object/values.d.ts +1 -0
- package/dist/utils/presence.d.ts +16 -0
- package/dist/utils/promise.d.ts +2 -0
- package/dist/utils/svg.d.ts +1 -0
- package/dist/utils/ui/chain.d.ts +2 -0
- package/dist/utils/ui/index.d.ts +1 -0
- package/dist/utils/viewTransition.d.ts +17 -0
- package/package.json +25 -25
- package/dist/hooks.d.ts +0 -1
- package/dist/utils.d.ts +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare enum SlideDirection {
|
|
3
|
+
TOP = "top",
|
|
4
|
+
TOP_LEFT = "top-left",
|
|
5
|
+
TOP_RIGHT = "top-right",
|
|
6
|
+
BOTTOM = "bottom",
|
|
7
|
+
BOTTOM_LEFT = "bottom-left",
|
|
8
|
+
BOTTOM_RIGHT = "bottom-right",
|
|
9
|
+
LEFT = "left",
|
|
10
|
+
RIGHT = "right"
|
|
11
|
+
}
|
|
12
|
+
type Props = {
|
|
13
|
+
direction: SlideDirection;
|
|
14
|
+
delay?: number;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export declare const SlideIn: ({ children, direction, delay }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SmoothScroll: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface BaileysBeadProps {
|
|
2
|
+
theta: number;
|
|
3
|
+
offset?: number;
|
|
4
|
+
opa: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The Baily's beads effect or diamond ring effect is a feature of total and annular solar eclipses.
|
|
8
|
+
* As the Moon covers the Sun during a solar eclipse, the rugged topography of the lunar limb allows
|
|
9
|
+
* beads of sunlight to shine through in some places while not in others.
|
|
10
|
+
* The effect is named after Francis Baily, who explained the phenomenon in 1836.
|
|
11
|
+
*
|
|
12
|
+
* (Source: Wikipedia)
|
|
13
|
+
*/
|
|
14
|
+
export declare const BaileysBead: ({ theta, offset, opa }: BaileysBeadProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SolarEclipse: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface Coordinate {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}
|
|
5
|
+
export declare function normalize(value: number, min: number, max: number): number;
|
|
6
|
+
export declare function calculateDistance(coordinates1: Coordinate, coordinates2: Coordinate): number;
|
|
7
|
+
export declare function calculateAngle(coordinates1: Coordinate, coordinates2: Coordinate): number;
|
|
8
|
+
export declare function getGlowLayers(factor: number, intensity: number): {
|
|
9
|
+
radius: number;
|
|
10
|
+
opacity: number;
|
|
11
|
+
}[];
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
webkitSpeechRecognition: new () => {
|
|
4
|
+
continuous: boolean;
|
|
5
|
+
interimResults: boolean;
|
|
6
|
+
lang: string;
|
|
7
|
+
start(): void;
|
|
8
|
+
stop(): void;
|
|
9
|
+
onresult: ((event: SpeechRecognitionEvent) => void) | null;
|
|
10
|
+
onerror: ((event: SpeechRecognitionErrorEvent) => void) | null;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
interface SpeechRecognitionEvent extends Event {
|
|
15
|
+
results: SpeechRecognitionResultList;
|
|
16
|
+
}
|
|
17
|
+
interface SpeechRecognitionErrorEvent extends Event {
|
|
18
|
+
error: string;
|
|
19
|
+
message: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const SpeechToText: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StaticSolarEclipse: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StickyList: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextImageHover: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ThanosDisappearEffectList: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
images?: string[];
|
|
3
|
+
duration?: number;
|
|
4
|
+
maxScale?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
onDelete?: VoidFunction;
|
|
7
|
+
};
|
|
8
|
+
export declare const ThanosDissolve: ({ images, duration, maxScale, className, onDelete, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TranslucentBackdrop: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TurbulenceFilter: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ViewTransitionAddToCard: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ViewTransitionImageGallery: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VoiceAnimation: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
2
|
const require_assets = require("./assets-BMqH4phf.cjs");
|
|
3
3
|
let three = require("three");
|
|
4
|
-
three = require_chunk.__toESM(three);
|
|
4
|
+
three = require_chunk.__toESM(three, 1);
|
|
5
5
|
let load_bmfont = require("load-bmfont");
|
|
6
|
-
load_bmfont = require_chunk.__toESM(load_bmfont);
|
|
6
|
+
load_bmfont = require_chunk.__toESM(load_bmfont, 1);
|
|
7
7
|
let three_bmfont_text = require("three-bmfont-text");
|
|
8
|
-
three_bmfont_text = require_chunk.__toESM(three_bmfont_text);
|
|
8
|
+
three_bmfont_text = require_chunk.__toESM(three_bmfont_text, 1);
|
|
9
9
|
let three_bmfont_text_shaders_msdf = require("three-bmfont-text/shaders/msdf");
|
|
10
|
-
three_bmfont_text_shaders_msdf = require_chunk.__toESM(three_bmfont_text_shaders_msdf);
|
|
10
|
+
three_bmfont_text_shaders_msdf = require_chunk.__toESM(three_bmfont_text_shaders_msdf, 1);
|
|
11
11
|
let three_orbit_controls = require("three-orbit-controls");
|
|
12
|
-
three_orbit_controls = require_chunk.__toESM(three_orbit_controls);
|
|
12
|
+
three_orbit_controls = require_chunk.__toESM(three_orbit_controls, 1);
|
|
13
13
|
//#region src/components/Loaders/EndlessLoader/shaders.ts
|
|
14
14
|
var vertexShader = `
|
|
15
15
|
varying vec2 vUv;
|
package/dist/global.d.ts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare module '*.css' {
|
|
2
|
+
const src: string
|
|
3
|
+
export default src
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module '*.module.css' {
|
|
7
|
+
const classes: { [key: string]: string }
|
|
8
|
+
export default classes
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.module.scss' {
|
|
12
|
+
const classes: { [key: string]: string }
|
|
13
|
+
export default classes
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '*.svg' {
|
|
17
|
+
const src: string
|
|
18
|
+
export default src
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare module '*.png' {
|
|
22
|
+
const src: string
|
|
23
|
+
export default src
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare module '*.wav' {
|
|
27
|
+
const src: string
|
|
28
|
+
export default src
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare module '*.mp3' {
|
|
32
|
+
const src: string
|
|
33
|
+
export default src
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare module '*.ogg' {
|
|
37
|
+
const src: string
|
|
38
|
+
export default src
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare module '*.fnt' {
|
|
42
|
+
const src: string
|
|
43
|
+
export default src
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare module '*?url' {
|
|
47
|
+
const src: string
|
|
48
|
+
export default src
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare module 'three-orbit-controls' {
|
|
52
|
+
const value: any
|
|
53
|
+
export default value
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare module 'load-bmfont' {
|
|
57
|
+
const value: any
|
|
58
|
+
export default value
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare module 'three-bmfont-text' {
|
|
62
|
+
const value: any
|
|
63
|
+
export default value
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare module 'three-bmfont-text/shaders/msdf' {
|
|
67
|
+
const value: any
|
|
68
|
+
export default value
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare module 'swiper/css'
|
|
72
|
+
|
|
73
|
+
declare module 'p5' {
|
|
74
|
+
interface P5Instance {
|
|
75
|
+
[key: string]: any
|
|
76
|
+
}
|
|
77
|
+
type p5 = P5Instance
|
|
78
|
+
const p5: {
|
|
79
|
+
new (
|
|
80
|
+
sketch: (p: P5Instance) => void,
|
|
81
|
+
node?: HTMLElement | null,
|
|
82
|
+
): {
|
|
83
|
+
remove: VoidFunction
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export default p5
|
|
87
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference path="../global.d.ts" />
|
|
2
|
+
export * from './useAnimatedText';
|
|
3
|
+
export * from './useControllableState';
|
|
4
|
+
export * from './useMergeRefs';
|
|
5
|
+
export * from './useBowser';
|
|
6
|
+
export * from './useDebounce';
|
|
7
|
+
export * from './useEffectEvent';
|
|
8
|
+
export * from './useInterval';
|
|
9
|
+
export * from './useLiveRef';
|
|
10
|
+
export * from './useMatchMedia';
|
|
11
|
+
export * from './useOklch';
|
|
12
|
+
export * from './useOutsideClick';
|
|
13
|
+
export * from './usePrevious';
|
|
14
|
+
export * from './useRaf';
|
|
15
|
+
export * from './useThrottle';
|
|
16
|
+
export * from './useTimeout';
|
|
17
|
+
export * from './useWindowReady';
|
|
18
|
+
export * from './useReducedMotion';
|
|
19
|
+
export * from './useGsapContext';
|
|
20
|
+
export * from './useFormField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useAnimatedText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useAnimatedText(text: string, delimiter?: 'letter' | 'word'): string;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hook that debounces a callback function to delay its execution until after
|
|
3
|
+
* a specified wait time has elapsed since the last time it was invoked.
|
|
4
|
+
*
|
|
5
|
+
* Debouncing ensures that the callback is only executed once after a series of rapid calls,
|
|
6
|
+
* waiting for a pause in the calls before executing.
|
|
7
|
+
*
|
|
8
|
+
* @param callback - The function to debounce
|
|
9
|
+
* @param delay - The delay time (in milliseconds) to wait before executing the callback
|
|
10
|
+
* @param options - Optional configuration object
|
|
11
|
+
* @param options.maxWait - Maximum time before function must be invoked
|
|
12
|
+
* @param options.leading - If true, invoke on the leading edge
|
|
13
|
+
* @returns A debounced version of the callback function with a `cancel` method
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const debouncedSearch = useDebounce((query: string) => {
|
|
18
|
+
* console.log('Searching for:', query)
|
|
19
|
+
* }, 300)
|
|
20
|
+
*
|
|
21
|
+
* return <input onChange={(e) => debouncedSearch(e.target.value)} />
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* // With maxWait and leading options
|
|
27
|
+
* const debouncedSearch = useDebounce(
|
|
28
|
+
* (query: string) => console.log('Searching for:', query),
|
|
29
|
+
* 300,
|
|
30
|
+
* { maxWait: 1000, leading: true }
|
|
31
|
+
* )
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```tsx
|
|
36
|
+
* // Cancel pending debounced call
|
|
37
|
+
* const debouncedSearch = useDebounce((query: string) => {
|
|
38
|
+
* console.log('Searching for:', query)
|
|
39
|
+
* }, 300)
|
|
40
|
+
*
|
|
41
|
+
* debouncedSearch('test')
|
|
42
|
+
* debouncedSearch.cancel() // Cancels the pending call
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const useDebounce: <T extends (...args: any[]) => any>(callback: T, delay: number, { maxWait, leading }?: {
|
|
46
|
+
maxWait?: number;
|
|
47
|
+
leading?: boolean;
|
|
48
|
+
}) => T & {
|
|
49
|
+
cancel: VoidFunction;
|
|
50
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Universal layout effect that uses useLayoutEffect in browser environments
|
|
4
|
+
* and falls back to useEffect in SSR environments
|
|
5
|
+
*/
|
|
6
|
+
export declare const useUniversalLayoutEffect: typeof React.useEffect;
|
|
7
|
+
/**
|
|
8
|
+
* A React hook that implements the useEffectEvent pattern from React RFC.
|
|
9
|
+
* This hook allows you to define an event handler that can access the latest props/state
|
|
10
|
+
* without triggering effect dependency lists when the handler changes.
|
|
11
|
+
* @see https://github.com/reactjs/rfcs/blob/useevent/text/0000-useevent.md#internal-implementation
|
|
12
|
+
* @react https://react.dev/learn/separating-events-from-effects
|
|
13
|
+
*/
|
|
14
|
+
export declare function useEffectEvent<TArgs extends any[], TReturn extends undefined>(callback: undefined): (...args: TArgs) => TReturn;
|
|
15
|
+
export declare function useEffectEvent<TArgs extends any[], TReturn>(callback: (...args: TArgs) => TReturn): (...args: TArgs) => TReturn;
|
|
16
|
+
export declare function useEffectEvent<TArgs extends any[], TReturn>(callback: ((...args: TArgs) => TReturn) | undefined): (...args: TArgs) => TReturn | undefined;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type FormFieldIds = {
|
|
2
|
+
fieldId: string;
|
|
3
|
+
labelId: string;
|
|
4
|
+
errorId: string;
|
|
5
|
+
hintId: string;
|
|
6
|
+
descriptionId: string;
|
|
7
|
+
};
|
|
8
|
+
type FormFieldAria = {
|
|
9
|
+
'aria-describedby'?: string;
|
|
10
|
+
'aria-invalid'?: boolean;
|
|
11
|
+
'aria-errormessage'?: string;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
type UseFormFieldOptions = {
|
|
15
|
+
id?: string;
|
|
16
|
+
hasError?: boolean;
|
|
17
|
+
hasHint?: boolean;
|
|
18
|
+
};
|
|
19
|
+
type UseFormFieldReturn = {
|
|
20
|
+
ids: FormFieldIds;
|
|
21
|
+
labelProps: {
|
|
22
|
+
htmlFor: string;
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
fieldProps: FormFieldAria;
|
|
26
|
+
errorProps: {
|
|
27
|
+
id: string;
|
|
28
|
+
role: 'alert';
|
|
29
|
+
};
|
|
30
|
+
hintProps: {
|
|
31
|
+
id: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
declare function useFormField(options?: UseFormFieldOptions): UseFormFieldReturn;
|
|
35
|
+
export { useFormField };
|
|
36
|
+
export type { UseFormFieldReturn, UseFormFieldOptions, FormFieldIds };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
type GsapCallable = (...args: unknown[]) => unknown;
|
|
3
|
+
type GsapContextLike = {
|
|
4
|
+
add(methodName: string, func: GsapCallable, scope?: Element | string | object): GsapCallable;
|
|
5
|
+
add<T extends GsapCallable>(func: T, scope?: Element | string | object): ReturnType<T>;
|
|
6
|
+
ignore(func: GsapCallable): void;
|
|
7
|
+
kill(revert?: boolean): void;
|
|
8
|
+
revert(config?: object): void;
|
|
9
|
+
clear(): void;
|
|
10
|
+
isReverted: boolean;
|
|
11
|
+
};
|
|
12
|
+
type GsapCleanup = () => void;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a GSAP context scoped to the given ref.
|
|
15
|
+
* All animations created inside the callback are automatically
|
|
16
|
+
* reverted on unmount — preventing DOM leak bugs.
|
|
17
|
+
*/
|
|
18
|
+
declare function useGsapContext(scope: RefObject<HTMLElement | null>, callback: (ctx: GsapContextLike) => void | GsapCleanup, deps?: unknown[]): RefObject<GsapContextLike | null>;
|
|
19
|
+
export { useGsapContext };
|
|
20
|
+
export type { GsapContextLike };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DependencyList } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook that manages an interval with automatic cleanup.
|
|
4
|
+
* Provides a reliable way to handle intervals that are properly cleaned up
|
|
5
|
+
* on component unmount or when dependencies change.
|
|
6
|
+
*
|
|
7
|
+
* @param callback - The function to execute on each interval
|
|
8
|
+
* @param delay - The delay in milliseconds (null to clear the interval)
|
|
9
|
+
* @param deps - Optional dependency array. If provided, interval restarts when deps change.
|
|
10
|
+
* If not provided, callback updates via ref without restarting interval.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // Runs continuously, callback updates via ref
|
|
15
|
+
* useInterval(() => {
|
|
16
|
+
* console.log('This runs every second')
|
|
17
|
+
* }, 1000)
|
|
18
|
+
*
|
|
19
|
+
* // Restarts interval when count changes
|
|
20
|
+
* useInterval(() => {
|
|
21
|
+
* console.log('Count:', count)
|
|
22
|
+
* }, 1000, [count])
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare const useInterval: (callback: VoidFunction, delay?: number | null, deps?: DependencyList) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useLiveRef: <T>(value: T) => import("react").RefObject<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useMatchMedia: (query: string) => boolean | null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type Ref, type RefCallback } from 'react';
|
|
2
|
+
type PossibleRef<T> = Ref<T> | undefined | null;
|
|
3
|
+
export declare function mergeRefs<T>(...refs: PossibleRef<T>[]): RefCallback<T>;
|
|
4
|
+
export declare function useMergeRefs<T>(...refs: PossibleRef<T>[]): RefCallback<T>;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useOklch: () => void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook that detects clicks outside of a specified element and triggers a callback.
|
|
4
|
+
*
|
|
5
|
+
* Useful for implementing dropdown menus, modals, or any component that should close
|
|
6
|
+
* when the user clicks outside of it.
|
|
7
|
+
*
|
|
8
|
+
* @param ref - React ref object pointing to the element to monitor
|
|
9
|
+
* @param callback - Function to call when a click occurs outside the element
|
|
10
|
+
* @param isActive - Whether the outside click detection should be active (default: true)
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* const ref = useRef<HTMLDivElement>(null)
|
|
15
|
+
* const [isOpen, setIsOpen] = useState(false)
|
|
16
|
+
*
|
|
17
|
+
* useOutsideClick(ref, () => setIsOpen(false), isOpen)
|
|
18
|
+
*
|
|
19
|
+
* return <div ref={ref}>...</div>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, callback: VoidFunction, isActive?: boolean) => void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hook that provides a requestAnimationFrame-based callback execution.
|
|
3
|
+
* Useful for performance-critical animations and continuous updates that should
|
|
4
|
+
* be synchronized with the browser's refresh rate.
|
|
5
|
+
*
|
|
6
|
+
* The callback will be executed on the next animation frame, and can be
|
|
7
|
+
* controlled with an enabled flag for conditional execution.
|
|
8
|
+
*
|
|
9
|
+
* @param callback - The function to execute on each animation frame
|
|
10
|
+
* @param enabled - Whether the animation loop should be active (default: true)
|
|
11
|
+
* @returns A function to manually trigger the animation frame callback
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const animate = useRaf(() => {
|
|
16
|
+
* // Animation logic here
|
|
17
|
+
* console.log('Animation frame')
|
|
18
|
+
* }, isAnimating)
|
|
19
|
+
*
|
|
20
|
+
* // Manually trigger
|
|
21
|
+
* animate()
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare const useRaf: (callback: VoidFunction, enabled?: boolean) => VoidFunction;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hook that throttles a callback function to limit how often it can be invoked.
|
|
3
|
+
*
|
|
4
|
+
* Throttling ensures that the callback is executed at most once per specified time interval,
|
|
5
|
+
* regardless of how many times the throttled function is called.
|
|
6
|
+
*
|
|
7
|
+
* @param callback - The function to throttle
|
|
8
|
+
* @param delay - The minimum time interval (in milliseconds) between executions
|
|
9
|
+
* @returns A throttled version of the callback function
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const throttledClick = useThrottle(() => {
|
|
14
|
+
* console.log('Button clicked')
|
|
15
|
+
* }, 500)
|
|
16
|
+
*
|
|
17
|
+
* return <button onClick={throttledClick}>Click me</button>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const useThrottle: <T extends (...args: any[]) => any>(callback: T, delay: number) => T;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DependencyList } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook that manages a timeout with automatic cleanup.
|
|
4
|
+
* Provides a reliable way to handle timeouts that are properly cleaned up
|
|
5
|
+
* on component unmount or when dependencies change.
|
|
6
|
+
*
|
|
7
|
+
* @param callback - The function to execute after the delay
|
|
8
|
+
* @param delay - The delay in milliseconds (null to clear the timeout)
|
|
9
|
+
* @param deps - Optional dependency array. If provided, timeout restarts when deps change.
|
|
10
|
+
* If not provided, callback updates via ref without restarting timeout.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // Runs once, callback updates via ref
|
|
15
|
+
* useTimeout(() => {
|
|
16
|
+
* console.log('This runs after 1 second')
|
|
17
|
+
* }, 1000)
|
|
18
|
+
*
|
|
19
|
+
* // Restarts timeout when count changes
|
|
20
|
+
* useTimeout(() => {
|
|
21
|
+
* console.log('Count:', count)
|
|
22
|
+
* }, 1000, [count])
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare const useTimeout: (callback: VoidFunction, delay?: number | null, deps?: DependencyList) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useWindowReady: () => boolean;
|
package/dist/hooks.cjs
CHANGED
|
@@ -2,12 +2,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_useMergeRefs = require("./useMergeRefs-C_l6omwU.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
|
-
react = require_chunk.__toESM(react);
|
|
5
|
+
react = require_chunk.__toESM(react, 1);
|
|
6
6
|
let gsap = require("gsap");
|
|
7
|
-
gsap = require_chunk.__toESM(gsap);
|
|
7
|
+
gsap = require_chunk.__toESM(gsap, 1);
|
|
8
8
|
let motion_react = require("motion/react");
|
|
9
9
|
let bowser = require("bowser");
|
|
10
|
-
bowser = require_chunk.__toESM(bowser);
|
|
10
|
+
bowser = require_chunk.__toESM(bowser, 1);
|
|
11
11
|
//#region src/hooks/usePrevious.ts
|
|
12
12
|
var usePreviousState = (value) => {
|
|
13
13
|
const previousRef = (0, react.useRef)(void 0);
|