@tarsis/toolkit 0.7.3 → 0.7.5

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.
Files changed (492) hide show
  1. package/dist/{Container-BVX2MW1U.cjs → Container-DBXALrl1.cjs} +1 -1
  2. package/dist/{SelectBase-BC6WKZVF.cjs → SelectBase-CKsJgF0R.cjs} +3 -7
  3. package/dist/{SelectBase-DPcXvMTa.js → SelectBase-CdQKpIjl.js} +2 -6
  4. package/dist/components/Accordions/Expand/Expand.d.ts +8 -0
  5. package/dist/components/Accordions/GridAccordion/GridAccordion.d.ts +1 -0
  6. package/dist/components/Accordions/MinimalisticAccordion/MinimalisticAccordion.d.ts +10 -0
  7. package/dist/components/Accordions/index.d.ts +3 -0
  8. package/dist/components/Backgrounds/BackgroundCircles/BackgroundCircles.d.ts +1 -0
  9. package/dist/components/Backgrounds/ComplexGradient/ComplexGradient.d.ts +1 -0
  10. package/dist/components/Backgrounds/RaysBackground/RaysBackground.d.ts +1 -0
  11. package/dist/components/Backgrounds/Texture/Texture.d.ts +5 -0
  12. package/dist/components/Backgrounds/WebGLSmoke/WebGLSmoke.d.ts +1 -0
  13. package/dist/components/Backgrounds/index.d.ts +5 -0
  14. package/dist/components/Badges/ComingSoonBadge/ComingSoonBadge.d.ts +1 -0
  15. package/dist/components/Badges/index.d.ts +1 -0
  16. package/dist/components/Buttons/ActivateButton/ActivateButton.d.ts +1 -0
  17. package/dist/components/Buttons/AirplaneAnimation/AirplaneAnimation.d.ts +1 -0
  18. package/dist/components/Buttons/AnimatedHoverButton/AnimatedHoverButton.d.ts +7 -0
  19. package/dist/components/Buttons/AnimatedHoverGlowButton/AnimatedHoverGlowButton.d.ts +1 -0
  20. package/dist/components/Buttons/AuroraButton/AuroraButton.d.ts +1 -0
  21. package/dist/components/Buttons/BubblyParticlesButton/BubblyParticlesButton.d.ts +1 -0
  22. package/dist/components/Buttons/BurningButton/BurningButton.d.ts +1 -0
  23. package/dist/components/Buttons/ButtonBase/ButtonBase.d.ts +25 -0
  24. package/dist/components/Buttons/ButtonHoverFill/ButtonHoverFill.d.ts +1 -0
  25. package/dist/components/Buttons/ButtonShimmer/ButtonShimmer.d.ts +1 -0
  26. package/dist/components/Buttons/ButtonWithDot/ButtonWithDot.d.ts +1 -0
  27. package/dist/components/Buttons/ClaymorphicHeart/ClaymorphicHeart.d.ts +5 -0
  28. package/dist/components/Buttons/ClickButtonParticles/ClickButtonParticles.d.ts +1 -0
  29. package/dist/components/Buttons/ColorfulButtons/ColorfulButtons.d.ts +1 -0
  30. package/dist/components/Buttons/ConfettiButton/ConfettiButton.d.ts +7 -0
  31. package/dist/components/Buttons/DDDButton/DDDButton.d.ts +8 -0
  32. package/dist/components/Buttons/DarkMatterButton/DarkMatterButton.d.ts +1 -0
  33. package/dist/components/Buttons/DockButton/DockButton.d.ts +8 -0
  34. package/dist/components/Buttons/DoubleArrowButton/DoubleArrowButton.d.ts +1 -0
  35. package/dist/components/Buttons/DoubleArrowCollabButton/DoubleArrowCollabButton.d.ts +7 -0
  36. package/dist/components/Buttons/DoubleStateButton/DoubleStateButton.d.ts +8 -0
  37. package/dist/components/Buttons/DynamicIconButton/DynamicIconButton.d.ts +1 -0
  38. package/dist/components/Buttons/EchoClickButton/EchoClickButton.d.ts +1 -0
  39. package/dist/components/Buttons/ElectrifiedButton/ElectrifiedButton.d.ts +1 -0
  40. package/dist/components/Buttons/ElectrifiedButtonGS/ElectrifiedButtonGS.d.ts +1 -0
  41. package/dist/components/Buttons/FailedDownloadButton/FailedDownloadButton.d.ts +1 -0
  42. package/dist/components/Buttons/FootprintButton/FootprintButton.d.ts +1 -0
  43. package/dist/components/Buttons/GalaxyButton/GalaxyButton.d.ts +1 -0
  44. package/dist/components/Buttons/GlassToolbar/GlassToolbar.d.ts +11 -0
  45. package/dist/components/Buttons/GlowButton/GlowButton.d.ts +7 -0
  46. package/dist/components/Buttons/GoHoverButton/GoHoverButton.d.ts +1 -0
  47. package/dist/components/Buttons/GodRaysButton/GodRaysButton.d.ts +1 -0
  48. package/dist/components/Buttons/GooeyButton/GooeyButton.d.ts +1 -0
  49. package/dist/components/Buttons/GravityButton/GravityButton.d.ts +1 -0
  50. package/dist/components/Buttons/HeartFoldButton/HeartFoldButton.d.ts +1 -0
  51. package/dist/components/Buttons/HoldSubmitButton/HoldSubmitButton.d.ts +1 -0
  52. package/dist/components/Buttons/HoverGlowButton/HoverGlowButton.d.ts +7 -0
  53. package/dist/components/Buttons/HoverGlowButton/HoverGlowButton.utils.d.ts +1 -0
  54. package/dist/components/Buttons/Ios15Button/Ios15Button.d.ts +1 -0
  55. package/dist/components/Buttons/MagneticButton/MagneticButton.d.ts +1 -0
  56. package/dist/components/Buttons/MinimalisticGlassButton/MinimalisticGlassButton.d.ts +1 -0
  57. package/dist/components/Buttons/MorphingSubmitButton/MorphingSubmitButton.d.ts +1 -0
  58. package/dist/components/Buttons/MultiStageButton/MultiStageButton.d.ts +1 -0
  59. package/dist/components/Buttons/NeonButton/NeonButton.d.ts +7 -0
  60. package/dist/components/Buttons/NoisyButton/NoisyButton.d.ts +1 -0
  61. package/dist/components/Buttons/OrbitalSubmitButton/OrbitalSubmitButton.d.ts +1 -0
  62. package/dist/components/Buttons/PaperPlanButton/PaperPlanButton.d.ts +1 -0
  63. package/dist/components/Buttons/PlayPauseButton/PlayPauseButton.d.ts +1 -0
  64. package/dist/components/Buttons/PlayPauseMusicButton/PlayPauseMusicButton.d.ts +1 -0
  65. package/dist/components/Buttons/PositionHover/PositionHover.d.ts +1 -0
  66. package/dist/components/Buttons/PredictionButton/PredictionButton.d.ts +1 -0
  67. package/dist/components/Buttons/PredictionButton/PredictionButton.helpers.d.ts +5 -0
  68. package/dist/components/Buttons/ProgressButton/ProgressButton.d.ts +7 -0
  69. package/dist/components/Buttons/PsychedelicButton/PsychedelicButton.d.ts +5 -0
  70. package/dist/components/Buttons/ReflectiveButton/MacCursor.d.ts +1 -0
  71. package/dist/components/Buttons/ReflectiveButton/ReflectiveButton.d.ts +23 -0
  72. package/dist/components/Buttons/ReflectiveButton/ReflectiveButton.helpers.d.ts +2 -0
  73. package/dist/components/Buttons/ReflectiveButton/reflectiveButtonTestUtils.d.ts +2 -0
  74. package/dist/components/Buttons/ReflectiveButton/useUserMediaVideo.d.ts +12 -0
  75. package/dist/components/Buttons/RepostButton/RepostButton.d.ts +1 -0
  76. package/dist/components/Buttons/RubberButton/RubberButton.d.ts +1 -0
  77. package/dist/components/Buttons/RunningButton/RunningButton.d.ts +1 -0
  78. package/dist/components/Buttons/ShimmerButton/ShimmerButton.d.ts +1 -0
  79. package/dist/components/Buttons/ShimmeringBorderGradient/ShimmeringBorderGradient.d.ts +1 -0
  80. package/dist/components/Buttons/ShinyCtaButton/ShinyCtaButton.d.ts +7 -0
  81. package/dist/components/Buttons/SkeuomorphicLikeButton/SkeuomorphicLikeButton.d.ts +1 -0
  82. package/dist/components/Buttons/SlidingButton/SlidingButton.d.ts +1 -0
  83. package/dist/components/Buttons/SlidingStepper/SlidingStepper.d.ts +1 -0
  84. package/dist/components/Buttons/SparkleButton/SparkleButton.d.ts +1 -0
  85. package/dist/components/Buttons/SparklyButton/SparklyButton.d.ts +1 -0
  86. package/dist/components/Buttons/SquishButton/SquishButton.d.ts +7 -0
  87. package/dist/components/Buttons/SuccessLoadingButton/SuccessLoadingButton.d.ts +10 -0
  88. package/dist/components/Buttons/ThreadsLikeButton/ThreadsLikeButton.d.ts +1 -0
  89. package/dist/components/Buttons/ThumbsUpButton/ThumbsUpButton.d.ts +1 -0
  90. package/dist/components/Buttons/TicklishButton/TicklishButton.d.ts +1 -0
  91. package/dist/components/Buttons/TrickButton/TrickButton.d.ts +1 -0
  92. package/dist/components/Buttons/index.d.ts +70 -0
  93. package/dist/components/Cards/AccentShardCard/AccentShardCard.d.ts +1 -0
  94. package/dist/components/Cards/AnimatedBlendedCard/AnimatedBlendedCard.d.ts +1 -0
  95. package/dist/components/Cards/BrandCard/BrandCard.d.ts +10 -0
  96. package/dist/components/Cards/BrandCard/FigmaLogo/FigmaLogo.d.ts +1 -0
  97. package/dist/components/Cards/CaptionCard/CaptionCard.d.ts +10 -0
  98. package/dist/components/Cards/CardGlow/CardGlow.d.ts +1 -0
  99. package/dist/components/Cards/CardTile/CardTile.d.ts +8 -0
  100. package/dist/components/Cards/ChequeredCard/ChequeredCard.d.ts +1 -0
  101. package/dist/components/Cards/DDDHoverCard/DDDHoverCard.d.ts +1 -0
  102. package/dist/components/Cards/EnvelopeTile/EnvelopeTile.d.ts +8 -0
  103. package/dist/components/Cards/GlowingTile/GlowingTile.d.ts +1 -0
  104. package/dist/components/Cards/GradientGlowingTile/GradientGlowingTile.d.ts +1 -0
  105. package/dist/components/Cards/HoverTile/HoverTile.d.ts +8 -0
  106. package/dist/components/Cards/Hoverable3DCard/Hoverable3DCard.d.ts +1 -0
  107. package/dist/components/Cards/ImageCard/ImageCard.d.ts +1 -0
  108. package/dist/components/Cards/InvertedRadius/InvertedRadius.d.ts +9 -0
  109. package/dist/components/Cards/PhotoCard/PhotoCard.d.ts +1 -0
  110. package/dist/components/Cards/ProductTile/ProductTile.d.ts +8 -0
  111. package/dist/components/Cards/ProfileCard/ProfileCard.d.ts +1 -0
  112. package/dist/components/Cards/ShineAnimation/ShineAnimation.d.ts +1 -0
  113. package/dist/components/Cards/ShineCard/ShineCard.d.ts +17 -0
  114. package/dist/components/Cards/StackingCards/StackingCards.d.ts +1 -0
  115. package/dist/components/Cards/index.d.ts +22 -0
  116. package/dist/components/Carousels/BulletsCarousel/BulletsCarousel.d.ts +1 -0
  117. package/dist/components/Carousels/CardCarousel/CardCarousel.d.ts +6 -0
  118. package/dist/components/Carousels/CardCarousel/CardCarousel.helpers.d.ts +10 -0
  119. package/dist/components/Carousels/CardCarousel/CardCarouselItem.d.ts +6 -0
  120. package/dist/components/Carousels/CoverFlowGallery/CoverFlowGallery.d.ts +1 -0
  121. package/dist/components/Carousels/FullScreenImageCarousel/FullScreenImageCarousel.d.ts +1 -0
  122. package/dist/components/Carousels/GalleryReverseScroll/GalleryReverseScroll.d.ts +1 -0
  123. package/dist/components/Carousels/GlideImageGallery/GlideImageGallery.d.ts +1 -0
  124. package/dist/components/Carousels/ListItemHover/ListItemHover.d.ts +1 -0
  125. package/dist/components/Carousels/RotatedCardsCarousel/RotatedCardsCarousel.d.ts +1 -0
  126. package/dist/components/Carousels/RotatedCardsCarousel/RotatedCardsCarousel.helpers.d.ts +6 -0
  127. package/dist/components/Carousels/Scroller/Scroller.d.ts +9 -0
  128. package/dist/components/Carousels/Scroller/Scroller.utils.d.ts +1 -0
  129. package/dist/components/Carousels/ShadowedCardsList/ShadowedCardsList.d.ts +1 -0
  130. package/dist/components/Carousels/SlidingImages/SlidingImages.d.ts +1 -0
  131. package/dist/components/Carousels/index.d.ts +11 -0
  132. package/dist/components/Checkboxes/Checkbox/Checkbox.d.ts +10 -0
  133. package/dist/components/Checkboxes/CheckboxBase/CheckboxBase.d.ts +23 -0
  134. package/dist/components/Checkboxes/IndeterminateCheckboxes/IndeterminateCheckboxes.d.ts +1 -0
  135. package/dist/components/Checkboxes/StrikethroughCheckboxes/StrikethroughCheckbox.d.ts +8 -0
  136. package/dist/components/Checkboxes/StrikethroughCheckboxes/StrikethroughCheckboxes.d.ts +1 -0
  137. package/dist/components/Checkboxes/index.d.ts +5 -0
  138. package/dist/components/Chipses/Chips/Chips.d.ts +1 -0
  139. package/dist/components/Chipses/FlipChips/Chip.d.ts +7 -0
  140. package/dist/components/Chipses/FlipChips/FlipChips.d.ts +1 -0
  141. package/dist/components/Chipses/index.d.ts +2 -0
  142. package/dist/components/Clocks/DailClock/DailClock.d.ts +1 -0
  143. package/dist/components/Clocks/MotionClock/MotionClock.d.ts +1 -0
  144. package/dist/components/Clocks/NeumorphicAnalogClock/NeumorphicAnalogClock.d.ts +5 -0
  145. package/dist/components/Clocks/index.d.ts +3 -0
  146. package/dist/components/Cursors/CircleTextHover/CircleTextHover.d.ts +1 -0
  147. package/dist/components/Cursors/ClickSpark/ClickSpark.d.ts +1 -0
  148. package/dist/components/Cursors/DarkMatterMouseEffect/DarkMatterMouseEffect.d.ts +1 -0
  149. package/dist/components/Cursors/ElasticCursor/ElasticCursor.d.ts +1 -0
  150. package/dist/components/Cursors/MagicMouseEffect/MagicMouseEffect.d.ts +1 -0
  151. package/dist/components/Cursors/SplashCursor/SplashCursor.d.ts +5 -0
  152. package/dist/components/Cursors/index.d.ts +6 -0
  153. package/dist/components/Dials/DialControl/DialControl.d.ts +5 -0
  154. package/dist/components/Dials/DialFuturistic/DialFuturistic.d.ts +1 -0
  155. package/dist/components/Dials/MetalCircleController/MetalCircleController.d.ts +1 -0
  156. package/dist/components/Dials/index.d.ts +3 -0
  157. package/dist/components/Docks/Dock/Dock.d.ts +1 -0
  158. package/dist/components/Docks/DockHas/DockHas.d.ts +1 -0
  159. package/dist/components/Docks/DockMotion/DockMotion.d.ts +17 -0
  160. package/dist/components/Docks/DockMotion/DockMotionDivider.d.ts +1 -0
  161. package/dist/components/Docks/DockMotion/DockMotionEmbedded.d.ts +4 -0
  162. package/dist/components/Docks/DockMotion/DockMotionItem.d.ts +55 -0
  163. package/dist/components/Docks/DockMotion/audioCache.d.ts +2 -0
  164. package/dist/components/Docks/DockMotion/index.d.ts +140 -0
  165. package/dist/components/Docks/index.d.ts +3 -0
  166. package/dist/components/Grids/AutoMasonryGrid/AutoMasonryGrid.d.ts +1 -0
  167. package/dist/components/Grids/DenseGrid/DenseGrid.d.ts +1 -0
  168. package/dist/components/Grids/Grid3DCards/Grid3DCards.d.ts +1 -0
  169. package/dist/components/Grids/Grid3DCards/PhotoCard.d.ts +6 -0
  170. package/dist/components/Grids/GridHover/GridHover.d.ts +1 -0
  171. package/dist/components/Grids/GridViewTransition/GridViewTransition.d.ts +1 -0
  172. package/dist/components/Grids/LeaningCards/LeaningCards.d.ts +1 -0
  173. package/dist/components/Grids/index.d.ts +6 -0
  174. package/dist/components/Hamburgers/BoldHamburger/BoldHamburger.d.ts +1 -0
  175. package/dist/components/Hamburgers/HamburgerMusic/HamburgerMusic.d.ts +1 -0
  176. package/dist/components/Hamburgers/HamburgerX/HamburgerX.d.ts +7 -0
  177. package/dist/components/Hamburgers/index.d.ts +3 -0
  178. package/dist/components/Headers/Header/Header.d.ts +8 -0
  179. package/dist/components/Headers/StickyHeader/StickyHeader.d.ts +1 -0
  180. package/dist/components/Headers/index.d.ts +2 -0
  181. package/dist/components/Heros/AnimatedHeroTitle/AnimatedHeroTitle.d.ts +1 -0
  182. package/dist/components/Heros/ContrastBackgroundText/ContrastBackgroundText.d.ts +1 -0
  183. package/dist/components/Heros/FluidGooeyTextBackground/FluidGooeyTextBackground.d.ts +1 -0
  184. package/dist/components/Heros/index.d.ts +3 -0
  185. package/dist/components/Icons/GlassIcon/GlassIcon.d.ts +1 -0
  186. package/dist/components/Icons/NeumorphicLogo/NeumorphicLogo.d.ts +1 -0
  187. package/dist/components/Icons/SlidingIcon/SlidingIcon.d.ts +1 -0
  188. package/dist/components/Icons/SquircleAvatar/SquircleAvatar.d.ts +1 -0
  189. package/dist/components/Icons/index.d.ts +4 -0
  190. package/dist/components/Inputs/ClearInput/ClearInput.d.ts +1 -0
  191. package/dist/components/Inputs/EmailInput/EmailInput.d.ts +1 -0
  192. package/dist/components/Inputs/FloatingLabelInput/FloatingLabelInput.d.ts +1 -0
  193. package/dist/components/Inputs/GlowingInput/GlowingInput.d.ts +1 -0
  194. package/dist/components/Inputs/InputBase/InputBase.d.ts +21 -0
  195. package/dist/components/Inputs/InputFirework/InputFirework.d.ts +1 -0
  196. package/dist/components/Inputs/NewsletterInput/NewsletterInput.d.ts +1 -0
  197. package/dist/components/Inputs/PasswordInput/PasswordInput.d.ts +1 -0
  198. package/dist/components/Inputs/SearchInput/SearchInput.d.ts +1 -0
  199. package/dist/components/Inputs/ShadowedClick/ShadowedClick.d.ts +1 -0
  200. package/dist/components/Inputs/SignatureAnimation/SignatureAnimation.d.ts +6 -0
  201. package/dist/components/Inputs/SignatureAnimation/SignatureAnimation.letters.d.ts +20 -0
  202. package/dist/components/Inputs/index.d.ts +12 -0
  203. package/dist/components/Links/BorderLink/BorderLink.d.ts +4 -0
  204. package/dist/components/Links/CircleLink/CircleLink.d.ts +4 -0
  205. package/dist/components/Links/ForwardArrowLink/ForwardArrowLink.d.ts +1 -0
  206. package/dist/components/Links/PaintedLink/PaintedLink.d.ts +1 -0
  207. package/dist/components/Links/RegularLink/RegularLink.d.ts +6 -0
  208. package/dist/components/Links/ShakyLine/ShakyLine.d.ts +1 -0
  209. package/dist/components/Links/UnderlinedLink/UnderlinedLink.d.ts +6 -0
  210. package/dist/components/Links/UnderlinedLink2/UnderlinedLink2.d.ts +1 -0
  211. package/dist/components/Links/index.d.ts +8 -0
  212. package/dist/components/Loaders/AcrobaticPreloader/AcrobaticPreloader.d.ts +1 -0
  213. package/dist/components/Loaders/AlienSkeuomorphicLoaders/AlienSkeuomorphicLoaders.d.ts +1 -0
  214. package/dist/components/Loaders/CanOfDigits/CanOfDigits.d.ts +7 -0
  215. package/dist/components/Loaders/ChaseLoader/ChaseLoader.d.ts +1 -0
  216. package/dist/components/Loaders/CircleDotsLoader/CircleDotsLoader.d.ts +5 -0
  217. package/dist/components/Loaders/CubeLoader/CubeLoader.d.ts +1 -0
  218. package/dist/components/Loaders/EndlessLoader/EndlessLoader.d.ts +5 -0
  219. package/dist/components/Loaders/EndlessLoader/gl.d.ts +30 -0
  220. package/dist/components/Loaders/EndlessLoader/shaders.d.ts +2 -0
  221. package/dist/components/Loaders/InfiniteLoader/InfiniteLoader.d.ts +1 -0
  222. package/dist/components/Loaders/LoaderGenerator/LoaderGenerator.d.ts +1 -0
  223. package/dist/components/Loaders/LoadingBook/LoadingBook.d.ts +1 -0
  224. package/dist/components/Loaders/LoadingWave/LoadingWave.d.ts +1 -0
  225. package/dist/components/Loaders/LoadingWave/LoadingWave.utils.d.ts +1 -0
  226. package/dist/components/Loaders/OffTrackPreloader/OffTrackPreloader.d.ts +1 -0
  227. package/dist/components/Loaders/PieLoader/PieLoader.d.ts +1 -0
  228. package/dist/components/Loaders/PulseInLoader/PulseInLoader.d.ts +1 -0
  229. package/dist/components/Loaders/PulseOutLoader/PulseOutLoader.d.ts +1 -0
  230. package/dist/components/Loaders/RingLoader/RingLoader.d.ts +6 -0
  231. package/dist/components/Loaders/RoundScaleLoader/RoundScaleLoader.d.ts +1 -0
  232. package/dist/components/Loaders/SkateboardPreloader/SkateboardPreloader.d.ts +1 -0
  233. package/dist/components/Loaders/SmileyPreloader/SmileyPreloader.d.ts +1 -0
  234. package/dist/components/Loaders/SnowballPreloader/SnowballPreloader.d.ts +1 -0
  235. package/dist/components/Loaders/SpinningClickAnimation/SpinningClickAnimation.d.ts +8 -0
  236. package/dist/components/Loaders/StretchyLoader/StretchyLoader.d.ts +1 -0
  237. package/dist/components/Loaders/StuntPreloader/StuntPreloader.d.ts +1 -0
  238. package/dist/components/Loaders/SubtleBorderAnimation/SubtleBorderAnimation.d.ts +1 -0
  239. package/dist/components/Loaders/SuccessLoader/SuccessLoader.d.ts +5 -0
  240. package/dist/components/Loaders/ThreeDotsLoader/ThreeDotsLoader.d.ts +1 -0
  241. package/dist/components/Loaders/TimeCirclesLoader/TimeCirclesLoader.d.ts +1 -0
  242. package/dist/components/Loaders/index.d.ts +27 -0
  243. package/dist/components/Marquees/CardMarquee/CardMarquee.d.ts +1 -0
  244. package/dist/components/Marquees/Ticker/Ticker.d.ts +1 -0
  245. package/dist/components/Marquees/index.d.ts +2 -0
  246. package/dist/components/Menus/AnimatedIconsNav/AnimatedIconsNav.d.ts +1 -0
  247. package/dist/components/Menus/AnimatedShareMenu/AnimatedShareMenu.d.ts +1 -0
  248. package/dist/components/Menus/CurtainRevealMenu/CurtainRevealMenu.d.ts +5 -0
  249. package/dist/components/Menus/DetachedMenu/DetachedMenu.d.ts +1 -0
  250. package/dist/components/Menus/DropdownMenu/DropdownMenu.d.ts +11 -0
  251. package/dist/components/Menus/Futuristic3DHoverMenu/Futuristic3DHoverMenu.d.ts +1 -0
  252. package/dist/components/Menus/GlowingDropdown/GlowingDropdown.d.ts +1 -0
  253. package/dist/components/Menus/GlowingDropdown/GlowingSelect.d.ts +6 -0
  254. package/dist/components/Menus/GlowingTabs/GlowingTab.d.ts +9 -0
  255. package/dist/components/Menus/GlowingTabs/GlowingTabs.d.ts +1 -0
  256. package/dist/components/Menus/GlowingTabs2/GlowingTab2.d.ts +10 -0
  257. package/dist/components/Menus/GlowingTabs2/GlowingTabs2.d.ts +1 -0
  258. package/dist/components/Menus/MagnifiedNavItems/MagnifiedNavItems.d.ts +1 -0
  259. package/dist/components/Menus/MobileNavBar/MobileNavBar.d.ts +1 -0
  260. package/dist/components/Menus/NavigationMenu/NavigationMenu.d.ts +1 -0
  261. package/dist/components/Menus/ParallaxMenu/ParallaxMenu.d.ts +1 -0
  262. package/dist/components/Menus/PianoNav/PianoNav.d.ts +1 -0
  263. package/dist/components/Menus/PinDropdown/PinDropdown.d.ts +1 -0
  264. package/dist/components/Menus/RadialMenu/RadialMenu.d.ts +1 -0
  265. package/dist/components/Menus/RadialNavigation/RadialNavigation.d.ts +18 -0
  266. package/dist/components/Menus/SinglePopoverMenu/SinglePopoverMenu.d.ts +1 -0
  267. package/dist/components/Menus/TabBarAnimation/TabBarAnimation.d.ts +14 -0
  268. package/dist/components/Menus/WavyMenu/WavyMenu.d.ts +1 -0
  269. package/dist/components/Menus/WavyMenu/WavyMenuItem.d.ts +10 -0
  270. package/dist/components/Menus/index.d.ts +20 -0
  271. package/dist/components/Pages/BugsPage/BugsPage.d.ts +7 -0
  272. package/dist/components/Pages/RedirectPage/RedirectPage.d.ts +1 -0
  273. package/dist/components/Pages/index.d.ts +2 -0
  274. package/dist/components/Parallax/ParallaxEmoji/ParallaxEmoji.d.ts +7 -0
  275. package/dist/components/Parallax/index.d.ts +1 -0
  276. package/dist/components/Players/ApertureVideo/ApertureVideo.d.ts +1 -0
  277. package/dist/components/Players/GlassMusicPlayer/GlassMusicPlayer.d.ts +13 -0
  278. package/dist/components/Players/index.d.ts +2 -0
  279. package/dist/components/Radios/RadioHopping/RadioHopping.d.ts +1 -0
  280. package/dist/components/Radios/RadioParticles/RadioParticles.d.ts +1 -0
  281. package/dist/components/Radios/RadioRolling/RadioRolling.d.ts +1 -0
  282. package/dist/components/Radios/RadioSlidingFocus/RadioSlidingFocus.d.ts +13 -0
  283. package/dist/components/Radios/index.d.ts +4 -0
  284. package/dist/components/Scrolls/ScrollCountdown/ScrollCountdown.d.ts +1 -0
  285. package/dist/components/Scrolls/ScrollDrivenTextBlowOut/ScrollDrivenTextBlowOut.d.ts +1 -0
  286. package/dist/components/Scrolls/ScrollTextHighlight/ScrollTextHighlight.d.ts +1 -0
  287. package/dist/components/Scrolls/ScrollTimeline/ScrollTimeline.d.ts +1 -0
  288. package/dist/components/Scrolls/ScrollWithLight/ScrollWithLight.d.ts +1 -0
  289. package/dist/components/Scrolls/ScrollingTextReveal/ScrollingTextReveal.d.ts +1 -0
  290. package/dist/components/Scrolls/index.d.ts +6 -0
  291. package/dist/components/Sliders/DDDRangeSlider/DDDRangeSlider.d.ts +1 -0
  292. package/dist/components/Sliders/GlowSlider/GlowSlider.d.ts +1 -0
  293. package/dist/components/Sliders/NeumorphicSlider/NeumorphicSlider.d.ts +1 -0
  294. package/dist/components/Sliders/index.d.ts +3 -0
  295. package/dist/components/Stars/FeedbackReactions/FeedbackReactions.d.ts +1 -0
  296. package/dist/components/Stars/index.d.ts +1 -0
  297. package/dist/components/Switches/DaySwitch/DaySwitch.d.ts +1 -0
  298. package/dist/components/Switches/GlassSwitch/GlassSwitch.d.ts +1 -0
  299. package/dist/components/Switches/IosSwitch/IosSwitch.d.ts +6 -0
  300. package/dist/components/Switches/NeonToggleSwitch/NeonToggleSwitch.d.ts +1 -0
  301. package/dist/components/Switches/NeuromorphicToggle/NeuromorphicToggle.d.ts +5 -0
  302. package/dist/components/Switches/SegmentedToggle/SegmentedToggle.d.ts +1 -0
  303. package/dist/components/Switches/StretchToggle/StretchToggle.d.ts +1 -0
  304. package/dist/components/Switches/SwitchBase/SwitchBase.d.ts +21 -0
  305. package/dist/components/Switches/TippingSwitch/TippingSwitch.d.ts +5 -0
  306. package/dist/components/Switches/ToggleBubble/ToggleBubble.d.ts +1 -0
  307. package/dist/components/Switches/ToggleClipPath/ToggleClipPath.d.ts +1 -0
  308. package/dist/components/Switches/index.d.ts +11 -0
  309. package/dist/components/Texts/EnlightenedText/EnlightenedText.d.ts +6 -0
  310. package/dist/components/Texts/GlowingText/GlowingText.d.ts +1 -0
  311. package/dist/components/Texts/GrainyGradientText/GrainyGradientText.d.ts +1 -0
  312. package/dist/components/Texts/JellyText/JellyText.d.ts +6 -0
  313. package/dist/components/Texts/MagicalText/MagicalText.d.ts +5 -0
  314. package/dist/components/Texts/ScrambledText/ScrambledText.d.ts +6 -0
  315. package/dist/components/Texts/ScrambledText/ScrambledText.helpers.d.ts +1 -0
  316. package/dist/components/Texts/ScramblingLetters/ScramblingLetters.d.ts +1 -0
  317. package/dist/components/Texts/ShakingText/ShakingText.d.ts +5 -0
  318. package/dist/components/Texts/ShiningText/ShiningText.d.ts +6 -0
  319. package/dist/components/Texts/SpiralLoadingText/SpiralLoadingText.d.ts +6 -0
  320. package/dist/components/Texts/TextMorphing/TextMorphing.d.ts +1 -0
  321. package/dist/components/Texts/TextOutline/TextOutline.d.ts +1 -0
  322. package/dist/components/Texts/TextShadow/TextShadow.d.ts +1 -0
  323. package/dist/components/Texts/WeightText/WeightText.d.ts +5 -0
  324. package/dist/components/Texts/index.d.ts +14 -0
  325. package/dist/components/Toasts/Toast.d.ts +6 -0
  326. package/dist/components/Toasts/Toasts.d.ts +6 -0
  327. package/dist/components/Tooltips/Tooltip/Tooltip.d.ts +15 -0
  328. package/dist/components/Tooltips/TooltipRangeSlider/TooltipRangeSlider.d.ts +1 -0
  329. package/dist/components/Tooltips/index.d.ts +2 -0
  330. package/dist/components/index.d.ts +123 -0
  331. package/dist/components/primitives/Cluster/Cluster.d.ts +14 -0
  332. package/dist/components/primitives/Container/Container.d.ts +13 -0
  333. package/dist/components/primitives/DialogBase/DialogBase.d.ts +18 -0
  334. package/dist/components/primitives/FormField/FormField.d.ts +33 -0
  335. package/dist/components/primitives/FormField/FormFieldContext.d.ts +4 -0
  336. package/dist/components/primitives/PopoverBase/PopoverBase.d.ts +18 -0
  337. package/dist/components/primitives/Portal/Portal.d.ts +8 -0
  338. package/dist/components/primitives/SelectBase/SelectBase.d.ts +23 -0
  339. package/dist/components/primitives/Slot/Slot.d.ts +12 -0
  340. package/dist/components/primitives/Stack/Stack.d.ts +14 -0
  341. package/dist/components/primitives/ThemeProvider/ThemeContext.d.ts +12 -0
  342. package/dist/components/primitives/ThemeProvider/ThemeProvider.d.ts +18 -0
  343. package/dist/components/primitives/ThemeProvider/themeDom.d.ts +11 -0
  344. package/dist/components/primitives/TooltipBase/TooltipBase.d.ts +17 -0
  345. package/dist/components/primitives/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  346. package/dist/components/shared/contracts.d.ts +4 -0
  347. package/dist/components/shared/polymorphic.d.ts +6 -0
  348. package/dist/components/unsorted/AdjoinedFilters/AdjoinedFilters.d.ts +1 -0
  349. package/dist/components/unsorted/Appearance/Appearance.d.ts +5 -0
  350. package/dist/components/unsorted/AreaLight/AreaLight.d.ts +1 -0
  351. package/dist/components/unsorted/AvatarHover/AvatarHover.d.ts +1 -0
  352. package/dist/components/unsorted/BackgroundSlider/BackgroundSlider.d.ts +2 -0
  353. package/dist/components/unsorted/BlurVignette/BlurVignette.d.ts +10 -0
  354. package/dist/components/unsorted/BlurredBackground/BlurredBackground.d.ts +1 -0
  355. package/dist/components/unsorted/BorderGradient/BorderGradient.d.ts +1 -0
  356. package/dist/components/unsorted/BouncyClock/BouncyClock.d.ts +1 -0
  357. package/dist/components/unsorted/BreakingProgress/BreakingProgress.d.ts +5 -0
  358. package/dist/components/unsorted/BrownianMotion/BrownianMotion.d.ts +1 -0
  359. package/dist/components/unsorted/CardDetails/CardDetails.d.ts +1 -0
  360. package/dist/components/unsorted/ChromaticAberration/ChromaticAberration.d.ts +1 -0
  361. package/dist/components/unsorted/CircleLinesAnimation/CircleLinesAnimation.d.ts +1 -0
  362. package/dist/components/unsorted/CircleParticles/CircleParticles.d.ts +1 -0
  363. package/dist/components/unsorted/CollapseAnimation/CollapseAnimation.d.ts +1 -0
  364. package/dist/components/unsorted/ContactList/ContactList.d.ts +1 -0
  365. package/dist/components/unsorted/CookieBanner/CookieBanner.d.ts +1 -0
  366. package/dist/components/unsorted/Counter/Counter.d.ts +1 -0
  367. package/dist/components/unsorted/DissolveElementEffect/DissolveElementEffect.d.ts +11 -0
  368. package/dist/components/unsorted/Duck/Duck.d.ts +1 -0
  369. package/dist/components/unsorted/DynamicIsland/DynamicIsland.d.ts +5 -0
  370. package/dist/components/unsorted/FadeUp/FadeUp.d.ts +7 -0
  371. package/dist/components/unsorted/FileIcons/FileIcons.d.ts +1 -0
  372. package/dist/components/unsorted/Fingerprint/Fingerprint.d.ts +5 -0
  373. package/dist/components/unsorted/GlidingReveal/GlidingReveal.d.ts +1 -0
  374. package/dist/components/unsorted/GlitterCard/GlitterCard.d.ts +1 -0
  375. package/dist/components/unsorted/GlowingShadows/GlowingShadows.d.ts +1 -0
  376. package/dist/components/unsorted/GradientBorder/GradientBorder.d.ts +1 -0
  377. package/dist/components/unsorted/Illumination/Illumination.d.ts +1 -0
  378. package/dist/components/unsorted/ImageClipping/ImageClipping.d.ts +1 -0
  379. package/dist/components/unsorted/LandingXYScroll/LandingXYScroll.d.ts +1 -0
  380. package/dist/components/unsorted/LayeredComponents/LayeredComponents.d.ts +1 -0
  381. package/dist/components/unsorted/Lock/Lock.d.ts +3 -0
  382. package/dist/components/unsorted/LoveGlow/LoveGlow.d.ts +1 -0
  383. package/dist/components/unsorted/Mathober/Mathober.d.ts +1 -0
  384. package/dist/components/unsorted/MotionDigits/MotionDigits.d.ts +1 -0
  385. package/dist/components/unsorted/MouseMoveGallery/MouseMoveGallery.d.ts +1 -0
  386. package/dist/components/unsorted/MouseMoveGallery/MouseMoveGallery.helpers.d.ts +1 -0
  387. package/dist/components/unsorted/MultiGradientBackground/MultiGradientBackground.d.ts +1 -0
  388. package/dist/components/unsorted/MultipathSvgAnimation/MultipathSvgAnimation.d.ts +1 -0
  389. package/dist/components/unsorted/NamedPointer/NamedPointer.d.ts +6 -0
  390. package/dist/components/unsorted/NotificationBell/NotificationBell.d.ts +1 -0
  391. package/dist/components/unsorted/PhotoZoom/PhotoZoom.d.ts +1 -0
  392. package/dist/components/unsorted/PolaroidStack/PolaroidStack.d.ts +1 -0
  393. package/dist/components/unsorted/QuickTimeClock/QuickTimeClock.d.ts +1 -0
  394. package/dist/components/unsorted/RealisticSmoke/RealisticSmoke.d.ts +1 -0
  395. package/dist/components/unsorted/RevealImageAnimation/RevealImageAnimation.d.ts +1 -0
  396. package/dist/components/unsorted/RhombusGallery/RhombusGallery.d.ts +1 -0
  397. package/dist/components/unsorted/SchrodingerFormControls/SchrodingerFormControls.d.ts +1 -0
  398. package/dist/components/unsorted/SegmentedControls/SegmentedControls.d.ts +12 -0
  399. package/dist/components/unsorted/ShapeSelection/ShapeSelection.d.ts +6 -0
  400. package/dist/components/unsorted/SlideIn/SlideIn.d.ts +18 -0
  401. package/dist/components/unsorted/SmokeTextDisappearance/SmokeTextDisappearance.d.ts +5 -0
  402. package/dist/components/unsorted/SmoothScroll/SmoothScroll.d.ts +1 -0
  403. package/dist/components/unsorted/SolarEclipse/BaileysBead.d.ts +15 -0
  404. package/dist/components/unsorted/SolarEclipse/SolarEclipse.d.ts +1 -0
  405. package/dist/components/unsorted/SolarEclipse/SolarEclipse.helpers.d.ts +12 -0
  406. package/dist/components/unsorted/SpeechToText/SpeechToText.d.ts +22 -0
  407. package/dist/components/unsorted/StaticSolarEclipse/StaticSolarEclipse.d.ts +1 -0
  408. package/dist/components/unsorted/StickyList/StickyList.d.ts +1 -0
  409. package/dist/components/unsorted/TextImageHover/TextImageHover.d.ts +1 -0
  410. package/dist/components/unsorted/ThanosDisappearEffect/ThanosDisappearEffect.d.ts +6 -0
  411. package/dist/components/unsorted/ThanosDisappearEffectList/ThanosDisappearEffectList.d.ts +1 -0
  412. package/dist/components/unsorted/ThanosDissolve/ThanosDissolve.d.ts +9 -0
  413. package/dist/components/unsorted/TranslucentBackdrop/TranslucentBackdrop.d.ts +1 -0
  414. package/dist/components/unsorted/TurbulenceFilter/TurbulenceFilter.d.ts +1 -0
  415. package/dist/components/unsorted/ViewTransitionAddToCard/ViewTransitionAddToCard.d.ts +1 -0
  416. package/dist/components/unsorted/ViewTransitionImageGallery/ViewTransitionImageGallery.d.ts +1 -0
  417. package/dist/components/unsorted/VoiceAnimation/VoiceAnimation.d.ts +1 -0
  418. package/dist/dat.gui.module-C-Oxsf3K.cjs +2198 -0
  419. package/dist/dat.gui.module-DscbDI-N.js +2198 -0
  420. package/dist/{gl-B0NhVYRl.cjs → gl-DEE7rq9M.cjs} +5 -5
  421. package/dist/global.d.ts +87 -0
  422. package/dist/hooks/index.d.ts +20 -0
  423. package/dist/hooks/useAnimatedText/index.d.ts +1 -0
  424. package/dist/hooks/useAnimatedText/useAnimatedText.d.ts +1 -0
  425. package/dist/hooks/useBowser.d.ts +11 -0
  426. package/dist/hooks/useControllableState.d.ts +2 -0
  427. package/dist/hooks/useDebounce.d.ts +50 -0
  428. package/dist/hooks/useEffectEvent.d.ts +16 -0
  429. package/dist/hooks/useFormField.d.ts +36 -0
  430. package/dist/hooks/useGsapContext.d.ts +20 -0
  431. package/dist/hooks/useInterval.d.ts +25 -0
  432. package/dist/hooks/useLiveRef.d.ts +1 -0
  433. package/dist/hooks/useMatchMedia.d.ts +1 -0
  434. package/dist/hooks/useMergeRefs.d.ts +5 -0
  435. package/dist/hooks/useOklch.d.ts +1 -0
  436. package/dist/hooks/useOutsideClick.d.ts +22 -0
  437. package/dist/hooks/usePrevious.d.ts +2 -0
  438. package/dist/hooks/useRaf.d.ts +24 -0
  439. package/dist/hooks/useReducedMotion.d.ts +2 -0
  440. package/dist/hooks/useThrottle.d.ts +20 -0
  441. package/dist/hooks/useTimeout.d.ts +25 -0
  442. package/dist/hooks/useWindowReady.d.ts +1 -0
  443. package/dist/hooks.cjs +21 -35
  444. package/dist/hooks.js +19 -33
  445. package/dist/index.cjs +317 -2807
  446. package/dist/index.d.ts +5 -2588
  447. package/dist/index.js +310 -2800
  448. package/dist/internal/assets.d.ts +18 -0
  449. package/dist/layout.cjs +1 -1
  450. package/dist/layout.d.ts +7 -45
  451. package/dist/primitives.cjs +1 -1
  452. package/dist/primitives.d.ts +18 -178
  453. package/dist/primitives.js +1 -1
  454. package/dist/server.d.ts +5 -70
  455. package/dist/styles.css +483 -483
  456. package/dist/test/a11y.d.ts +5 -0
  457. package/dist/test/setup.d.ts +2 -0
  458. package/dist/tokens/animation.d.ts +38 -0
  459. package/dist/tokens/colorValidation.d.ts +18 -0
  460. package/dist/tokens/index.d.ts +8 -0
  461. package/dist/tokens/spring.d.ts +39 -0
  462. package/dist/tokens/tokens.d.ts +333 -0
  463. package/dist/tokens.d.ts +2 -436
  464. package/dist/utils/array/index.d.ts +2 -0
  465. package/dist/utils/array/move.d.ts +1 -0
  466. package/dist/utils/array/times.d.ts +1 -0
  467. package/dist/utils/collections/BoundedMap.d.ts +19 -0
  468. package/dist/utils/collections/index.d.ts +2 -0
  469. package/dist/utils/common/index.d.ts +2 -0
  470. package/dist/utils/common/logger.d.ts +36 -0
  471. package/dist/utils/common/noop.d.ts +1 -0
  472. package/dist/utils/conditional/index.d.ts +3 -0
  473. package/dist/utils/conditional/is.d.ts +3 -0
  474. package/dist/utils/conditional/isNonNullable.d.ts +1 -0
  475. package/dist/utils/conditional/notReachable.d.ts +1 -0
  476. package/dist/utils/error.d.ts +6 -0
  477. package/dist/utils/format.d.ts +10 -0
  478. package/dist/utils/index.d.ts +14 -0
  479. package/dist/utils/math.d.ts +6 -0
  480. package/dist/utils/object/index.d.ts +2 -0
  481. package/dist/utils/object/keys.d.ts +1 -0
  482. package/dist/utils/object/values.d.ts +1 -0
  483. package/dist/utils/presence.d.ts +16 -0
  484. package/dist/utils/promise.d.ts +2 -0
  485. package/dist/utils/svg.d.ts +1 -0
  486. package/dist/utils/ui/chain.d.ts +2 -0
  487. package/dist/utils/ui/index.d.ts +1 -0
  488. package/dist/utils/viewTransition.d.ts +17 -0
  489. package/package.json +25 -25
  490. package/dist/hooks.d.ts +0 -291
  491. package/dist/utils.d.ts +0 -165
  492. /package/dist/{gl-BipoEx9s.js → gl-D6wtjXIm.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarsis/toolkit",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,21 +30,21 @@
30
30
  },
31
31
  "./hooks": {
32
32
  "import": {
33
- "types": "./dist/hooks.d.ts",
33
+ "types": "./dist/hooks/index.d.ts",
34
34
  "default": "./dist/hooks.js"
35
35
  },
36
36
  "require": {
37
- "types": "./dist/hooks.d.ts",
37
+ "types": "./dist/hooks/index.d.ts",
38
38
  "default": "./dist/hooks.cjs"
39
39
  }
40
40
  },
41
41
  "./utils": {
42
42
  "import": {
43
- "types": "./dist/utils.d.ts",
43
+ "types": "./dist/utils/index.d.ts",
44
44
  "default": "./dist/utils.js"
45
45
  },
46
46
  "require": {
47
- "types": "./dist/utils.d.ts",
47
+ "types": "./dist/utils/index.d.ts",
48
48
  "default": "./dist/utils.cjs"
49
49
  }
50
50
  },
@@ -101,7 +101,7 @@
101
101
  "test:coverage": "vitest run --coverage",
102
102
  "test:visual": "npx --yes chromatic --build-script-name build:storybook --exit-zero-on-changes",
103
103
  "build:storybook": "storybook build",
104
- "build": "yarn docs && tsc && vite build",
104
+ "build": "yarn docs && yarn typecheck && vite build && node scripts/build-types.mjs",
105
105
  "package:smoke": "yarn build && node scripts/package-smoke.mjs",
106
106
  "typecheck": "tsc --noEmit",
107
107
  "typecheck:stories": "tsc -p tsconfig.stories.json --noEmit",
@@ -145,15 +145,15 @@
145
145
  "@changesets/changelog-github": "0.6.0",
146
146
  "@changesets/cli": "2.30.0",
147
147
  "@chromatic-com/storybook": "5.1.1",
148
- "@eslint/compat": "2.0.4",
148
+ "@eslint/compat": "2.0.5",
149
149
  "@eslint/eslintrc": "3.3.5",
150
150
  "@eslint/js": "10.0.1",
151
151
  "@faker-js/faker": "10.4.0",
152
- "@storybook/addon-a11y": "10.3.4",
153
- "@storybook/addon-docs": "10.3.4",
154
- "@storybook/addon-links": "10.3.4",
155
- "@storybook/addon-onboarding": "10.3.4",
156
- "@storybook/react-vite": "10.3.4",
152
+ "@storybook/addon-a11y": "10.3.5",
153
+ "@storybook/addon-docs": "10.3.5",
154
+ "@storybook/addon-links": "10.3.5",
155
+ "@storybook/addon-onboarding": "10.3.5",
156
+ "@storybook/react-vite": "10.3.5",
157
157
  "@testing-library/dom": "10.4.1",
158
158
  "@testing-library/jest-dom": "6.9.1",
159
159
  "@testing-library/react": "16.3.2",
@@ -165,8 +165,8 @@
165
165
  "@types/node": "22.19.15",
166
166
  "@types/react": "19.2.14",
167
167
  "@types/react-dom": "19.2.3",
168
- "@typescript-eslint/eslint-plugin": "8.58.0",
169
- "@typescript-eslint/parser": "8.58.0",
168
+ "@typescript-eslint/eslint-plugin": "8.58.1",
169
+ "@typescript-eslint/parser": "8.58.1",
170
170
  "@vitejs/plugin-react": "6.0.1",
171
171
  "@vitest/coverage-v8": "3.2.4",
172
172
  "@vitest/ui": "3.2.4",
@@ -178,29 +178,29 @@
178
178
  "eslint-plugin-react": "7.37.5",
179
179
  "eslint-plugin-react-hooks": "7.0.1",
180
180
  "eslint-plugin-react-refresh": "0.5.2",
181
- "eslint-plugin-storybook": "10.3.3",
181
+ "eslint-plugin-storybook": "10.3.5",
182
182
  "expect-type": "1.3.0",
183
183
  "globals": "15.14.0",
184
184
  "husky": "9.1.7",
185
- "jsdom": "29.0.1",
186
- "postcss": "8.5.8",
185
+ "jsdom": "29.0.2",
186
+ "postcss": "8.5.9",
187
187
  "postcss-preset-env": "11.2.0",
188
- "prettier": "3.8.1",
189
- "react": "19.2.4",
190
- "react-dom": "19.2.4",
191
- "sass": "1.98.0",
192
- "storybook": "10.3.4",
188
+ "prettier": "3.8.2",
189
+ "react": "19.2.5",
190
+ "react-dom": "19.2.5",
191
+ "sass": "1.99.0",
192
+ "storybook": "10.3.5",
193
193
  "tsx": "4.21.0",
194
194
  "typescript": "6.0.2",
195
- "vite": "8.0.5",
195
+ "vite": "8.0.8",
196
196
  "vite-plugin-dts": "4.5.4",
197
197
  "vite-plugin-static-copy": "4.0.1",
198
198
  "vitest": "3.2.4",
199
199
  "vitest-axe": "1.0.0-pre.5"
200
200
  },
201
201
  "peerDependencies": {
202
- "react": "^19.2.4",
203
- "react-dom": "^19.2.4"
202
+ "react": "^19.2.5",
203
+ "react-dom": "^19.2.5"
204
204
  },
205
205
  "resolutions": {
206
206
  "parse5": "7.3.0"
package/dist/hooks.d.ts DELETED
@@ -1,291 +0,0 @@
1
- import { default as default_2 } from 'react';
2
- import { DependencyList } from 'react';
3
- import { Ref } from 'react';
4
- import { RefCallback } from 'react';
5
- import { RefObject } from 'react';
6
-
7
- declare type FormFieldAria = {
8
- 'aria-describedby'?: string;
9
- 'aria-invalid'?: boolean;
10
- 'aria-errormessage'?: string;
11
- id: string;
12
- };
13
-
14
- export declare type FormFieldIds = {
15
- fieldId: string;
16
- labelId: string;
17
- errorId: string;
18
- hintId: string;
19
- descriptionId: string;
20
- };
21
-
22
- declare type GsapCallable = (...args: unknown[]) => unknown;
23
-
24
- declare type GsapCleanup = () => void;
25
-
26
- export declare type GsapContextLike = {
27
- add(methodName: string, func: GsapCallable, scope?: Element | string | object): GsapCallable;
28
- add<T extends GsapCallable>(func: T, scope?: Element | string | object): ReturnType<T>;
29
- ignore(func: GsapCallable): void;
30
- kill(revert?: boolean): void;
31
- revert(config?: object): void;
32
- clear(): void;
33
- isReverted: boolean;
34
- };
35
-
36
- export declare function mergeRefs<T>(...refs: PossibleRef<T>[]): RefCallback<T>;
37
-
38
- declare type PossibleRef<T> = Ref<T> | undefined | null;
39
-
40
- export declare function useAnimatedText(text: string, delimiter?: 'letter' | 'word'): string;
41
-
42
- export declare const useBowser: () => UseBowserResult | null;
43
-
44
- declare interface UseBowserResult {
45
- isMobile: boolean;
46
- isDesktop: boolean;
47
- isMacOS: boolean;
48
- isIOS: boolean;
49
- isSafari: boolean;
50
- isFirefox: boolean;
51
- isChrome: boolean;
52
- }
53
-
54
- export declare function useControllableState<T>(controlledValue: T | undefined, defaultValue: T, onChange?: (value: T) => void): [T, (next: T | ((prev: T) => T)) => void];
55
-
56
- /**
57
- * Custom hook that debounces a callback function to delay its execution until after
58
- * a specified wait time has elapsed since the last time it was invoked.
59
- *
60
- * Debouncing ensures that the callback is only executed once after a series of rapid calls,
61
- * waiting for a pause in the calls before executing.
62
- *
63
- * @param callback - The function to debounce
64
- * @param delay - The delay time (in milliseconds) to wait before executing the callback
65
- * @param options - Optional configuration object
66
- * @param options.maxWait - Maximum time before function must be invoked
67
- * @param options.leading - If true, invoke on the leading edge
68
- * @returns A debounced version of the callback function with a `cancel` method
69
- *
70
- * @example
71
- * ```tsx
72
- * const debouncedSearch = useDebounce((query: string) => {
73
- * console.log('Searching for:', query)
74
- * }, 300)
75
- *
76
- * return <input onChange={(e) => debouncedSearch(e.target.value)} />
77
- * ```
78
- *
79
- * @example
80
- * ```tsx
81
- * // With maxWait and leading options
82
- * const debouncedSearch = useDebounce(
83
- * (query: string) => console.log('Searching for:', query),
84
- * 300,
85
- * { maxWait: 1000, leading: true }
86
- * )
87
- * ```
88
- *
89
- * @example
90
- * ```tsx
91
- * // Cancel pending debounced call
92
- * const debouncedSearch = useDebounce((query: string) => {
93
- * console.log('Searching for:', query)
94
- * }, 300)
95
- *
96
- * debouncedSearch('test')
97
- * debouncedSearch.cancel() // Cancels the pending call
98
- * ```
99
- */
100
- export declare const useDebounce: <T extends (...args: any[]) => any>(callback: T, delay: number, { maxWait, leading }?: {
101
- maxWait?: number;
102
- leading?: boolean;
103
- }) => T & {
104
- cancel: VoidFunction;
105
- };
106
-
107
- /**
108
- * A React hook that implements the useEffectEvent pattern from React RFC.
109
- * This hook allows you to define an event handler that can access the latest props/state
110
- * without triggering effect dependency lists when the handler changes.
111
- * @see https://github.com/reactjs/rfcs/blob/useevent/text/0000-useevent.md#internal-implementation
112
- * @react https://react.dev/learn/separating-events-from-effects
113
- */
114
- export declare function useEffectEvent<TArgs extends any[], TReturn extends undefined>(callback: undefined): (...args: TArgs) => TReturn;
115
-
116
- export declare function useEffectEvent<TArgs extends any[], TReturn>(callback: (...args: TArgs) => TReturn): (...args: TArgs) => TReturn;
117
-
118
- export declare function useEffectEvent<TArgs extends any[], TReturn>(callback: ((...args: TArgs) => TReturn) | undefined): (...args: TArgs) => TReturn | undefined;
119
-
120
- export declare function useFormField(options?: UseFormFieldOptions): UseFormFieldReturn;
121
-
122
- export declare type UseFormFieldOptions = {
123
- id?: string;
124
- hasError?: boolean;
125
- hasHint?: boolean;
126
- };
127
-
128
- export declare type UseFormFieldReturn = {
129
- ids: FormFieldIds;
130
- labelProps: {
131
- htmlFor: string;
132
- id: string;
133
- };
134
- fieldProps: FormFieldAria;
135
- errorProps: {
136
- id: string;
137
- role: 'alert';
138
- };
139
- hintProps: {
140
- id: string;
141
- };
142
- };
143
-
144
- /**
145
- * Creates a GSAP context scoped to the given ref.
146
- * All animations created inside the callback are automatically
147
- * reverted on unmount — preventing DOM leak bugs.
148
- */
149
- export declare function useGsapContext(scope: RefObject<HTMLElement | null>, callback: (ctx: GsapContextLike) => void | GsapCleanup, deps?: unknown[]): RefObject<GsapContextLike | null>;
150
-
151
- /**
152
- * Custom hook that manages an interval with automatic cleanup.
153
- * Provides a reliable way to handle intervals that are properly cleaned up
154
- * on component unmount or when dependencies change.
155
- *
156
- * @param callback - The function to execute on each interval
157
- * @param delay - The delay in milliseconds (null to clear the interval)
158
- * @param deps - Optional dependency array. If provided, interval restarts when deps change.
159
- * If not provided, callback updates via ref without restarting interval.
160
- *
161
- * @example
162
- * ```tsx
163
- * // Runs continuously, callback updates via ref
164
- * useInterval(() => {
165
- * console.log('This runs every second')
166
- * }, 1000)
167
- *
168
- * // Restarts interval when count changes
169
- * useInterval(() => {
170
- * console.log('Count:', count)
171
- * }, 1000, [count])
172
- * ```
173
- */
174
- export declare const useInterval: (callback: VoidFunction, delay?: number | null, deps?: DependencyList) => void;
175
-
176
- export declare const useLiveRef: <T>(value: T) => RefObject<T>;
177
-
178
- export declare const useMatchMedia: (query: string) => boolean | null;
179
-
180
- export declare function useMergeRefs<T>(...refs: PossibleRef<T>[]): RefCallback<T>;
181
-
182
- export declare const useOklch: () => void;
183
-
184
- /**
185
- * Custom hook that detects clicks outside of a specified element and triggers a callback.
186
- *
187
- * Useful for implementing dropdown menus, modals, or any component that should close
188
- * when the user clicks outside of it.
189
- *
190
- * @param ref - React ref object pointing to the element to monitor
191
- * @param callback - Function to call when a click occurs outside the element
192
- * @param isActive - Whether the outside click detection should be active (default: true)
193
- *
194
- * @example
195
- * ```tsx
196
- * const ref = useRef<HTMLDivElement>(null)
197
- * const [isOpen, setIsOpen] = useState(false)
198
- *
199
- * useOutsideClick(ref, () => setIsOpen(false), isOpen)
200
- *
201
- * return <div ref={ref}>...</div>
202
- * ```
203
- */
204
- export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, callback: VoidFunction, isActive?: boolean) => void;
205
-
206
- export declare const usePreviousRender: <T>(value: T) => T | undefined;
207
-
208
- export declare const usePreviousState: <T>(value: T) => T | undefined;
209
-
210
- /**
211
- * Custom hook that provides a requestAnimationFrame-based callback execution.
212
- * Useful for performance-critical animations and continuous updates that should
213
- * be synchronized with the browser's refresh rate.
214
- *
215
- * The callback will be executed on the next animation frame, and can be
216
- * controlled with an enabled flag for conditional execution.
217
- *
218
- * @param callback - The function to execute on each animation frame
219
- * @param enabled - Whether the animation loop should be active (default: true)
220
- * @returns A function to manually trigger the animation frame callback
221
- *
222
- * @example
223
- * ```tsx
224
- * const animate = useRaf(() => {
225
- * // Animation logic here
226
- * console.log('Animation frame')
227
- * }, isAnimating)
228
- *
229
- * // Manually trigger
230
- * animate()
231
- * ```
232
- */
233
- export declare const useRaf: (callback: VoidFunction, enabled?: boolean) => VoidFunction;
234
-
235
- export declare function useReducedMotion(): boolean;
236
-
237
- /**
238
- * Custom hook that throttles a callback function to limit how often it can be invoked.
239
- *
240
- * Throttling ensures that the callback is executed at most once per specified time interval,
241
- * regardless of how many times the throttled function is called.
242
- *
243
- * @param callback - The function to throttle
244
- * @param delay - The minimum time interval (in milliseconds) between executions
245
- * @returns A throttled version of the callback function
246
- *
247
- * @example
248
- * ```tsx
249
- * const throttledClick = useThrottle(() => {
250
- * console.log('Button clicked')
251
- * }, 500)
252
- *
253
- * return <button onClick={throttledClick}>Click me</button>
254
- * ```
255
- */
256
- export declare const useThrottle: <T extends (...args: any[]) => any>(callback: T, delay: number) => T;
257
-
258
- /**
259
- * Custom hook that manages a timeout with automatic cleanup.
260
- * Provides a reliable way to handle timeouts that are properly cleaned up
261
- * on component unmount or when dependencies change.
262
- *
263
- * @param callback - The function to execute after the delay
264
- * @param delay - The delay in milliseconds (null to clear the timeout)
265
- * @param deps - Optional dependency array. If provided, timeout restarts when deps change.
266
- * If not provided, callback updates via ref without restarting timeout.
267
- *
268
- * @example
269
- * ```tsx
270
- * // Runs once, callback updates via ref
271
- * useTimeout(() => {
272
- * console.log('This runs after 1 second')
273
- * }, 1000)
274
- *
275
- * // Restarts timeout when count changes
276
- * useTimeout(() => {
277
- * console.log('Count:', count)
278
- * }, 1000, [count])
279
- * ```
280
- */
281
- export declare const useTimeout: (callback: VoidFunction, delay?: number | null, deps?: DependencyList) => void;
282
-
283
- /**
284
- * Universal layout effect that uses useLayoutEffect in browser environments
285
- * and falls back to useEffect in SSR environments
286
- */
287
- export declare const useUniversalLayoutEffect: typeof default_2.useEffect;
288
-
289
- export declare const useWindowReady: () => boolean;
290
-
291
- export { }
package/dist/utils.d.ts DELETED
@@ -1,165 +0,0 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- export declare const animationLogger: BaseLogger;
5
-
6
- export declare const apiLogger: BaseLogger;
7
-
8
- export declare class BaseLogger {
9
- protected prefix: string;
10
- protected emoji: string;
11
- constructor(prefix: string, emoji: string);
12
- private log;
13
- info(msg: string, data?: unknown): void;
14
- debug(msg: string, data?: unknown): void;
15
- success(msg: string, data?: unknown): void;
16
- warn(msg: string, data?: unknown): void;
17
- error(msg: string, detail?: unknown): void;
18
- scope(msg: string, data?: unknown): void;
19
- dir<T>(data: T): void;
20
- time(label: string): {
21
- end: (data?: unknown) => void;
22
- };
23
- }
24
-
25
- export declare type BoundedMap<K, V> = ReturnType<typeof createBoundedMap<K, V>>;
26
-
27
- export declare type BoundedMapOptions = {
28
- maxSize: number;
29
- ttlMs?: number;
30
- };
31
-
32
- export declare const chain: (...elements: ReactNode[]) => JSX.Element[];
33
-
34
- export declare const clearSession: () => void;
35
-
36
- export declare const componentLogger: BaseLogger;
37
-
38
- declare type Constructor<T> = new (...args: any[]) => T;
39
-
40
- /**
41
- * LRU map with optional TTL. Evicts least-recently-used entries
42
- * when maxSize is exceeded, and expired entries on access.
43
- */
44
- export declare function createBoundedMap<K, V>(options: BoundedMapOptions): {
45
- get(key: K): V | undefined;
46
- has(key: K): boolean;
47
- set(key: K, value: V): void;
48
- delete(key: K): boolean;
49
- clear(): void;
50
- readonly size: number;
51
- };
52
-
53
- /**
54
- * Create standardized enter/exit motion variants using toolkit tokens.
55
- * Returns `{ initial, animate, exit }` for framer-motion / motion.
56
- */
57
- export declare const createPresenceVariants: (enter: Record<string, unknown>, exit: Record<string, unknown>, duration?: number, easingCurve?: readonly [number, number, number, number]) => PresenceVariants;
58
-
59
- export declare function delay(ms: number): Promise<unknown>;
60
-
61
- /**
62
- * Math utility functions for animations and interactions
63
- */
64
- export declare function distance(x1: number, x2: number, y1: number, y2: number): number;
65
-
66
- export declare const eventLogger: BaseLogger;
67
-
68
- export declare const fadePresence: PresenceVariants;
69
-
70
- /**
71
- * Formats seconds into MM:SS display string.
72
- */
73
- export declare function formatDuration(totalSeconds: number): string;
74
-
75
- /**
76
- * Formats milliseconds into MM:SS.ms display string.
77
- * Useful for timers and stopwatches.
78
- */
79
- export declare function formatTime(totalMs: number): string;
80
-
81
- export declare const getCurrentLogLevel: () => LogLevel;
82
-
83
- export declare function getPath(x: number, smoothing: number): string;
84
-
85
- export declare const hookLogger: BaseLogger;
86
-
87
- export declare const is: <T>(type: Constructor<T>) => (x: T) => boolean;
88
-
89
- export declare const isDebugEnabled: () => boolean;
90
-
91
- export declare const isNonNullable: <T>(value: T) => value is NonNullable<T>;
92
-
93
- export declare const keys: <T extends Record<string | number | symbol, any>>(value: T) => Array<`${keyof T & (string | number | boolean)}` | (keyof T & symbol)>;
94
-
95
- export declare function lerp(a: number, b: number, n: number): number;
96
-
97
- export declare function lineEq(y2: number, y1: number, x2: number, x1: number, currentVal: number): number;
98
-
99
- export declare const logger: BaseLogger;
100
-
101
- /**
102
- * Advanced logger utility for the toolkit
103
- * Provides consistent logging interface across components with emojis, session tracking, and performance timing
104
- */
105
- export declare type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug';
106
-
107
- export declare const move: <T>(source: T[], start: number, end: number) => T[];
108
-
109
- export declare const noop: (..._args: unknown[]) => void;
110
-
111
- /**
112
- * Normalises unknown thrown values into proper Error instances.
113
- * Preserves original Error objects; wraps strings and unknowns.
114
- */
115
- export declare function normalizeError(err: unknown): Error;
116
-
117
- export declare const notReachable: (arg: never) => never;
118
-
119
- export declare type PresenceVariants = {
120
- initial: Record<string, unknown>;
121
- animate: Record<string, unknown>;
122
- exit: Record<string, unknown>;
123
- };
124
-
125
- export declare const scalePresence: PresenceVariants;
126
-
127
- export declare const setLogLevel: (level: LogLevel) => void;
128
-
129
- export declare const setRequestId: (id: string) => void;
130
-
131
- export declare const setSessionId: (id: string) => void;
132
-
133
- export declare const slideDownPresence: PresenceVariants;
134
-
135
- export declare const slideUpPresence: PresenceVariants;
136
-
137
- /**
138
- * Wrapper around the View Transitions API.
139
- * Uses `document.startViewTransition` when available (Chrome 111+, Safari 18+),
140
- * falls back to calling the callback directly on unsupported browsers.
141
- */
142
- export declare const startViewTransition: (callback: () => void | Promise<void>) => ViewTransitionReturn;
143
-
144
- export declare const storageLogger: BaseLogger;
145
-
146
- /**
147
- * Check if the View Transitions API is supported in the current browser.
148
- */
149
- export declare const supportsViewTransitions: () => boolean;
150
-
151
- export declare const times: <T>(fn: (index: number) => T, size: number) => T[];
152
-
153
- export declare const utilsLogger: BaseLogger;
154
-
155
- export declare const values: <T extends Record<string | number | symbol, any>>(input: T) => Array<T[keyof T]>;
156
-
157
- export declare type ViewTransitionReturn = {
158
- finished: Promise<void>;
159
- ready: Promise<void>;
160
- updateCallbackDone: Promise<void>;
161
- };
162
-
163
- export declare const wait: (ms: number) => Promise<unknown>;
164
-
165
- export { }
File without changes