@stfrigerio/sito-template 0.1.107 → 0.1.109

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 (187) hide show
  1. package/dist/components/atoms/DateInput/DateInput.d.ts.map +1 -1
  2. package/dist/index.esm.js +13 -1
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +13 -1
  5. package/dist/index.js.map +1 -1
  6. package/package.json +1 -1
  7. package/storybook-static/assets/{ASCIIText.stories-B5NjB1q2.js → ASCIIText.stories-DmTdq95X.js} +1 -1
  8. package/storybook-static/assets/{AllAtoms.stories-DEVJcsRs.js → AllAtoms.stories-wlBYZaI-.js} +1 -1
  9. package/storybook-static/assets/{AnimatedContent.stories-BiIwOLhD.js → AnimatedContent.stories-Dqj2rhzq.js} +1 -1
  10. package/storybook-static/assets/{AnimatedList.stories-rU_7KA8I.js → AnimatedList.stories-BIY8Z1Zx.js} +1 -1
  11. package/storybook-static/assets/{Antigravity.stories-BcThss1O.js → Antigravity.stories-sDEEgiuY.js} +1 -1
  12. package/storybook-static/assets/{ArrayInput.stories-BAgx8kgF.js → ArrayInput.stories-CTUemzhT.js} +1 -1
  13. package/storybook-static/assets/{Aurora.stories-Bf7u9cEl.js → Aurora.stories-D4ZjchWV.js} +1 -1
  14. package/storybook-static/assets/{Beams.stories-DJBcTy0N.js → Beams.stories-DBJqRHCD.js} +1 -1
  15. package/storybook-static/assets/{BlobCursor.stories-DJR8iTfE.js → BlobCursor.stories-BbklZsyn.js} +1 -1
  16. package/storybook-static/assets/{BlurText.stories-C-6aGuUP.js → BlurText.stories-DluO26Xf.js} +1 -1
  17. package/storybook-static/assets/{BooleansHeatmap.stories-DMTEgEzn.js → BooleansHeatmap.stories-DPTeP6dH.js} +1 -1
  18. package/storybook-static/assets/{BorderGlow.stories-B_C7HsuC.js → BorderGlow.stories-PetCHhAd.js} +1 -1
  19. package/storybook-static/assets/{BubbleMenu.stories-C8_pr_wb.js → BubbleMenu.stories-KDBUJK19.js} +1 -1
  20. package/storybook-static/assets/{Button-Cm5GsHji.js → Button-C2j3CL44.js} +1 -1
  21. package/storybook-static/assets/{Button.stories-br32IhaR.js → Button.stories-DaTalgjt.js} +1 -1
  22. package/storybook-static/assets/{Calendar.stories-CYnzumuA.js → Calendar.stories-CAySL71_.js} +1 -1
  23. package/storybook-static/assets/{Card-DZkVkZLY.js → Card-3enonRc2.js} +1 -1
  24. package/storybook-static/assets/{Card.stories-Djis1a9u.js → Card.stories-C4ldB6ab.js} +1 -1
  25. package/storybook-static/assets/{CardNav.stories-oAO5X7sB.js → CardNav.stories-CEJwVDBX.js} +1 -1
  26. package/storybook-static/assets/{Carousel.stories-C8bONK-L.js → Carousel.stories-CbL2r9mS.js} +1 -1
  27. package/storybook-static/assets/{Checkbox-CNgPnFgE.js → Checkbox-BDZ03X9c.js} +1 -1
  28. package/storybook-static/assets/{Checkbox.stories-hMF__1ZF.js → Checkbox.stories-B6pqCdxx.js} +1 -1
  29. package/storybook-static/assets/{ChordDiagram.stories-B27nyh8s.js → ChordDiagram.stories-ByfabHn4.js} +1 -1
  30. package/storybook-static/assets/{ChromaGrid.stories-_fVqsHrt.js → ChromaGrid.stories-BX-HuH-t.js} +1 -1
  31. package/storybook-static/assets/{CircularGallery.stories-BgXWONHI.js → CircularGallery.stories-LwQxMpwJ.js} +1 -1
  32. package/storybook-static/assets/{CircularText.stories-DwHPtWlm.js → CircularText.stories-CvI0tWG3.js} +1 -1
  33. package/storybook-static/assets/{ClickSpark.stories-x591_PsC.js → ClickSpark.stories-RbD8nvev.js} +1 -1
  34. package/storybook-static/assets/{ColorBends.stories-DMzvCY-L.js → ColorBends.stories-B12Hwkxj.js} +1 -1
  35. package/storybook-static/assets/{CountUp.stories-BLeu4sZk.js → CountUp.stories-V3JMImRL.js} +1 -1
  36. package/storybook-static/assets/{Counter.stories-abU3MNUD.js → Counter.stories-B4NrAr1j.js} +1 -1
  37. package/storybook-static/assets/{Crosshair.stories-CYcOHIbY.js → Crosshair.stories-Dugqphse.js} +1 -1
  38. package/storybook-static/assets/{Cubes.stories-CwGjiOC_.js → Cubes.stories-wVWF4keD.js} +1 -1
  39. package/storybook-static/assets/{CurvedLoop.stories-CxOlcnce.js → CurvedLoop.stories-BBOKkmtV.js} +1 -1
  40. package/storybook-static/assets/{DarkVeil.stories-J7BQR3rx.js → DarkVeil.stories-BeRSiSns.js} +1 -1
  41. package/storybook-static/assets/DateInput-Dy24rBhK.js +23 -0
  42. package/storybook-static/assets/{DateInput.stories-Dftv5gDC.js → DateInput.stories-BdHHU6ua.js} +1 -1
  43. package/storybook-static/assets/{DecayCard.stories-C4WSFQb7.js → DecayCard.stories-QDoKicv3.js} +1 -1
  44. package/storybook-static/assets/{DecryptedText.stories-DQq7M2G4.js → DecryptedText.stories-Bx6_o6R9.js} +1 -1
  45. package/storybook-static/assets/{Dither.stories-2f9oMw7C.js → Dither.stories-hKVpF-L8.js} +1 -1
  46. package/storybook-static/assets/{Dock.stories-mz3um3sV.js → Dock.stories-CRH4Mmfw.js} +1 -1
  47. package/storybook-static/assets/{EditFAB.stories-Df_h2ncm.js → EditFAB.stories-pFIdoAlM.js} +1 -1
  48. package/storybook-static/assets/{EvilEye.stories-YcWoafs5.js → EvilEye.stories-Bmh0kB-F.js} +1 -1
  49. package/storybook-static/assets/{FadeContent.stories-g1s2DwIK.js → FadeContent.stories-UTdh8s_S.js} +1 -1
  50. package/storybook-static/assets/{FaultyTerminal.stories-BNvT9ckQ.js → FaultyTerminal.stories-BVVnw1m-.js} +1 -1
  51. package/storybook-static/assets/{Fbo-CO4EhkKg.js → Fbo-BfjEKTvH.js} +1 -1
  52. package/storybook-static/assets/{FloatingLines.stories-DDjKNV3s.js → FloatingLines.stories-WhLX2pGY.js} +1 -1
  53. package/storybook-static/assets/{FlowingMenu.stories-CtSdxo4R.js → FlowingMenu.stories-DRN3hW1q.js} +1 -1
  54. package/storybook-static/assets/{FluidGlass.stories-36EauljY.js → FluidGlass.stories-DCx5a47V.js} +1 -1
  55. package/storybook-static/assets/{Folder.stories-DM21ju4X.js → Folder.stories-oV-wF4MX.js} +1 -1
  56. package/storybook-static/assets/{FuzzyText.stories-rP1v1F7U.js → FuzzyText.stories-BDBpC3Eo.js} +1 -1
  57. package/storybook-static/assets/{Galaxy.stories-Cc49OCSu.js → Galaxy.stories-B8An_PTC.js} +1 -1
  58. package/storybook-static/assets/{GhostCursor.stories-DUbttLcK.js → GhostCursor.stories-DpzHaQ5v.js} +1 -1
  59. package/storybook-static/assets/{GlareHover.stories-DzY4Mmde.js → GlareHover.stories-C3DvNYHp.js} +1 -1
  60. package/storybook-static/assets/{GlassSurface.stories-6p0SanP0.js → GlassSurface.stories-BWxKbSgr.js} +1 -1
  61. package/storybook-static/assets/{GlitchText.stories-DMn-qtnE.js → GlitchText.stories-OatJ57J0.js} +1 -1
  62. package/storybook-static/assets/{GooeyNav.stories-CB9PEigs.js → GooeyNav.stories-Cmi5dEBk.js} +1 -1
  63. package/storybook-static/assets/{GradientBlinds.stories-sVGa433f.js → GradientBlinds.stories-Dgu0Gp0H.js} +1 -1
  64. package/storybook-static/assets/{GradientText.stories-DU_ALqs5.js → GradientText.stories-CjDZcUAz.js} +1 -1
  65. package/storybook-static/assets/{Grainient.stories-nUWJ4qgX.js → Grainient.stories-B5ccpwUU.js} +1 -1
  66. package/storybook-static/assets/{GridMotion.stories-BdUPFQ79.js → GridMotion.stories-BYmJs0PQ.js} +1 -1
  67. package/storybook-static/assets/{HabitTimeOfDayChart.stories-F3oxO5hq.js → HabitTimeOfDayChart.stories-C-bGsOp1.js} +1 -1
  68. package/storybook-static/assets/{ImageSlideshow.stories-ZYeg5sX3.js → ImageSlideshow.stories-Nl8bu338.js} +1 -1
  69. package/storybook-static/assets/{Iridescence.stories-BpwWDx93.js → Iridescence.stories-Cny_1UdK.js} +1 -1
  70. package/storybook-static/assets/{LaserFlow.stories-CN_nDz2G.js → LaserFlow.stories-wtBpFJDA.js} +1 -1
  71. package/storybook-static/assets/{LetterGlitch.stories-DIHejTib.js → LetterGlitch.stories-zl_qoqUw.js} +1 -1
  72. package/storybook-static/assets/{LightPillar.stories-BRAbOuUK.js → LightPillar.stories-DFFlYLbl.js} +1 -1
  73. package/storybook-static/assets/{LightRays.stories-CaQx9Ufk.js → LightRays.stories-DM8H7R0f.js} +1 -1
  74. package/storybook-static/assets/{Lightning.stories-C0rU6yf6.js → Lightning.stories-CAYC_p-Z.js} +1 -1
  75. package/storybook-static/assets/{LineWaves.stories-BVE2z-ae.js → LineWaves.stories-BAyLtqYH.js} +1 -1
  76. package/storybook-static/assets/{LiquidChrome.stories-Db0fM_Fe.js → LiquidChrome.stories-Ba3X62wD.js} +1 -1
  77. package/storybook-static/assets/{LiquidEther.stories-CO0LbAi5.js → LiquidEther.stories-5HCoB8EM.js} +1 -1
  78. package/storybook-static/assets/{LoadingSpinner-jywYTAEN.js → LoadingSpinner-CI_5Q6BC.js} +1 -1
  79. package/storybook-static/assets/{LoadingSpinner.stories-wDFcxkTF.js → LoadingSpinner.stories-DvYwj-am.js} +1 -1
  80. package/storybook-static/assets/{MagicRings.stories-Bd86yqmn.js → MagicRings.stories-rday6euZ.js} +1 -1
  81. package/storybook-static/assets/{Magnet.stories-B0ymabXH.js → Magnet.stories-DbjuR98S.js} +1 -1
  82. package/storybook-static/assets/{MagnetLines.stories-BX0zqP77.js → MagnetLines.stories-DX0MNWrn.js} +1 -1
  83. package/storybook-static/assets/{Masonry.stories-CQ-iudTE.js → Masonry.stories-CAUZoiBb.js} +1 -1
  84. package/storybook-static/assets/{MetaBalls.stories-DRtAUYTw.js → MetaBalls.stories-BbjLyPnM.js} +1 -1
  85. package/storybook-static/assets/{MetallicPaint.stories-BO_eHV1U.js → MetallicPaint.stories-BiePti2F.js} +1 -1
  86. package/storybook-static/assets/{MoodChart.stories-DhR4p3y_.js → MoodChart.stories-D7w63nAm.js} +1 -1
  87. package/storybook-static/assets/{MotionConfigContext-CT5IMbAV.js → MotionConfigContext-CObwzCp1.js} +1 -1
  88. package/storybook-static/assets/{Navbar.stories-6D-s_aE3.js → Navbar.stories-Ccs-1VzB.js} +1 -1
  89. package/storybook-static/assets/{Noise.stories-o8VO-aFk.js → Noise.stories-awrwZOUp.js} +1 -1
  90. package/storybook-static/assets/{NumberStepper-CBmHB1Ek.js → NumberStepper-Tych2S24.js} +1 -1
  91. package/storybook-static/assets/{NumberStepper.stories-DqAeQqfy.js → NumberStepper.stories-DNxfpuqR.js} +1 -1
  92. package/storybook-static/assets/{Orb.stories-DGl5_O4a.js → Orb.stories-Co8n3u0V.js} +1 -1
  93. package/storybook-static/assets/{OrbitImages.stories-KXEol-Nl.js → OrbitImages.stories-DdkOoaWj.js} +1 -1
  94. package/storybook-static/assets/{PieChart.stories-BY1n9cPF.js → PieChart.stories-DeRAMn_i.js} +1 -1
  95. package/storybook-static/assets/{PixelBlast.stories-DtC6gAbZ.js → PixelBlast.stories-CKEM07Ht.js} +1 -1
  96. package/storybook-static/assets/{PixelCard.stories-CVURZbUf.js → PixelCard.stories-Br6KROhz.js} +1 -1
  97. package/storybook-static/assets/{PixelSnow.stories-v-dVY-lf.js → PixelSnow.stories-DFkWSHE6.js} +1 -1
  98. package/storybook-static/assets/{PixelTransition.stories-C9Ty9KkJ.js → PixelTransition.stories-b99wXIBm.js} +1 -1
  99. package/storybook-static/assets/{Plasma.stories-BSjjJFIJ.js → Plasma.stories-D07aruv_.js} +1 -1
  100. package/storybook-static/assets/{PolarHeatmap.stories-6bpm0gDe.js → PolarHeatmap.stories-Tl3NZaG7.js} +1 -1
  101. package/storybook-static/assets/{Prism.stories-CKytcbqj.js → Prism.stories-D1LoJpN4.js} +1 -1
  102. package/storybook-static/assets/{PrismaticBurst.stories-CKa-PPQ0.js → PrismaticBurst.stories-DxB4nAVx.js} +1 -1
  103. package/storybook-static/assets/{ProfileCard.stories-DLts3khz.js → ProfileCard.stories-A-ai2WOh.js} +1 -1
  104. package/storybook-static/assets/{ProgressRings.stories-Chckh-on.js → ProgressRings.stories-CQsFBIeo.js} +1 -1
  105. package/storybook-static/assets/{QuantifiableHabitsChart.stories-B5Zb8qqa.js → QuantifiableHabitsChart.stories-B7MBdN1k.js} +1 -1
  106. package/storybook-static/assets/{Radar.stories-DS1aP6fF.js → Radar.stories-D6GrUqGg.js} +1 -1
  107. package/storybook-static/assets/{RadialDayChart.stories-s1bCHgJt.js → RadialDayChart.stories-BfbytANt.js} +1 -1
  108. package/storybook-static/assets/{RecurrencePicker.stories-b_irmNFg.js → RecurrencePicker.stories-DWEBp8BQ.js} +1 -1
  109. package/storybook-static/assets/{Ribbons.stories-wef48s9Y.js → Ribbons.stories-duFtNBso.js} +1 -1
  110. package/storybook-static/assets/{RippleGrid.stories-_tveYVPF.js → RippleGrid.stories-RKmShftZ.js} +1 -1
  111. package/storybook-static/assets/{RotatingText.stories-CSTuLB_I.js → RotatingText.stories-r3ZPErwj.js} +1 -1
  112. package/storybook-static/assets/{ScrollFloat.stories-D8Zuvl-4.js → ScrollFloat.stories-CHKbF0bL.js} +1 -1
  113. package/storybook-static/assets/{ScrollReveal.stories-CymFvgtq.js → ScrollReveal.stories-JOF8zBI8.js} +1 -1
  114. package/storybook-static/assets/{ScrollVelocity.stories-DOJ24idz.js → ScrollVelocity.stories-B_kojxHJ.js} +1 -1
  115. package/storybook-static/assets/{SearchBar.stories-uhG9r7Ey.js → SearchBar.stories-Ba1WcLoN.js} +1 -1
  116. package/storybook-static/assets/{SearchableDropdown-DhVYfVte.js → SearchableDropdown-DqnaAfid.js} +1 -1
  117. package/storybook-static/assets/{SearchableDropdown.stories-wqWbl9Wa.js → SearchableDropdown.stories-B41DcIC8.js} +1 -1
  118. package/storybook-static/assets/{SelectInput-DAfUBVWw.js → SelectInput-DqJCgoTj.js} +1 -1
  119. package/storybook-static/assets/{SelectInput.stories-CmstGyZO.js → SelectInput.stories-qaJA1mYM.js} +1 -1
  120. package/storybook-static/assets/{ShapeBlur.stories-Ca2TpPqv.js → ShapeBlur.stories-CClZPxCN.js} +1 -1
  121. package/storybook-static/assets/{ShapeGrid.stories-DofdIOB1.js → ShapeGrid.stories-DICN7QN8.js} +1 -1
  122. package/storybook-static/assets/{ShinyText.stories-D4tVRed3.js → ShinyText.stories-Dg1-0iJI.js} +1 -1
  123. package/storybook-static/assets/{Silk.stories-DI3DRjtg.js → Silk.stories-CtldxOYp.js} +1 -1
  124. package/storybook-static/assets/{SleepChart.stories-yin-cmiu.js → SleepChart.stories-CDqAOURX.js} +1 -1
  125. package/storybook-static/assets/{Slider-AlX5WHPL.js → Slider-B7My5kfZ.js} +1 -1
  126. package/storybook-static/assets/{Slider.stories-DMp4V8ZH.js → Slider.stories-B3XTS8Qh.js} +1 -1
  127. package/storybook-static/assets/{SoftAurora.stories-DjskiJuH.js → SoftAurora.stories-CmWy9dXY.js} +1 -1
  128. package/storybook-static/assets/{SoundDemo.stories-DOZOeM8a.js → SoundDemo.stories-B11Dh6yJ.js} +1 -1
  129. package/storybook-static/assets/{SplashCursor.stories-DiGCEHt0.js → SplashCursor.stories-DUyltBXf.js} +1 -1
  130. package/storybook-static/assets/{SpotlightCard.stories-C1WEaD66.js → SpotlightCard.stories-rFfCRKt5.js} +1 -1
  131. package/storybook-static/assets/{Stack.stories-CWvUsHA6.js → Stack.stories-BUF7Tbu7.js} +1 -1
  132. package/storybook-static/assets/{StaggeredMenu.stories-DG7e_uSe.js → StaggeredMenu.stories-Bej1C0ts.js} +1 -1
  133. package/storybook-static/assets/{StarBorder.stories-Cij2N8XM.js → StarBorder.stories-DlGxeW_V.js} +1 -1
  134. package/storybook-static/assets/{SunburstChart.stories-DW0siWHg.js → SunburstChart.stories-BiK0Vw4v.js} +1 -1
  135. package/storybook-static/assets/{Table.stories-DCEXAz2X.js → Table.stories-oJ6EJhVl.js} +1 -1
  136. package/storybook-static/assets/{Tabs.stories-B7-o-sWU.js → Tabs.stories-CgcAbr7F.js} +1 -1
  137. package/storybook-static/assets/{TargetCursor.stories-fpzaDRtU.js → TargetCursor.stories-Dq-4319D.js} +1 -1
  138. package/storybook-static/assets/{TextArea-Bb7yptXN.js → TextArea-CwUEmj7Y.js} +1 -1
  139. package/storybook-static/assets/{TextArea.stories-BG-70gTT.js → TextArea.stories-DCUwIuLZ.js} +1 -1
  140. package/storybook-static/assets/{TextCursor.stories-B8Fgsltq.js → TextCursor.stories-BU-nSs_T.js} +1 -1
  141. package/storybook-static/assets/{TextInput-C0X4sBJc.js → TextInput-D8YJBH39.js} +1 -1
  142. package/storybook-static/assets/{TextInput.stories-DNyGQ4mR.js → TextInput.stories-OVMRWuJJ.js} +1 -1
  143. package/storybook-static/assets/{TextPressure.stories-CQ0AL2Xz.js → TextPressure.stories-By4BBsnx.js} +1 -1
  144. package/storybook-static/assets/{TextType.stories-CpWP1RIr.js → TextType.stories-C9gw9Bbl.js} +1 -1
  145. package/storybook-static/assets/{ThemeSwitcher.stories-BMO9BNim.js → ThemeSwitcher.stories-DeLly0kQ.js} +1 -1
  146. package/storybook-static/assets/{Threads.stories-At6gLyNE.js → Threads.stories-ChfysJ3o.js} +1 -1
  147. package/storybook-static/assets/{TimeInput.stories-i6EYsZCh.js → TimeInput.stories-BywlsJnC.js} +1 -1
  148. package/storybook-static/assets/{Toggle-BlZhKV1m.js → Toggle-FmSI0TWa.js} +1 -1
  149. package/storybook-static/assets/{Toggle.stories-YwF7ppwp.js → Toggle.stories-C_TcDC-2.js} +1 -1
  150. package/storybook-static/assets/{ToggleButton-C4yPm5sq.js → ToggleButton-C41Gux1A.js} +1 -1
  151. package/storybook-static/assets/{ToggleButton.stories-Bp7Icgr-.js → ToggleButton.stories-B-7x8iPQ.js} +1 -1
  152. package/storybook-static/assets/{TrueFocus.stories-D27oovFy.js → TrueFocus.stories-D9jkSCtU.js} +1 -1
  153. package/storybook-static/assets/{VariableProximity.stories-D6VrJXV9.js → VariableProximity.stories-CxY1I5n8.js} +1 -1
  154. package/storybook-static/assets/{Waves.stories-DeMdDGhS.js → Waves.stories-DFm4f2h7.js} +1 -1
  155. package/storybook-static/assets/{calendar-AYW9MMYR.js → calendar-D9tPo0dA.js} +1 -1
  156. package/storybook-static/assets/{chart-column-CvnqmJ3s.js → chart-column-D1jEhjNY.js} +1 -1
  157. package/storybook-static/assets/{check-3mB-qVki.js → check-C9koYCPG.js} +1 -1
  158. package/storybook-static/assets/{chevron-down-CF2I61vV.js → chevron-down-DjIP53gR.js} +1 -1
  159. package/storybook-static/assets/{chevron-right-CDz0Y2f2.js → chevron-right-DV9sP3Yh.js} +1 -1
  160. package/storybook-static/assets/client-miYxJrYb.js +1 -0
  161. package/storybook-static/assets/{createLucideIcon-D-7CW_CD.js → createLucideIcon-Eef1gHXG.js} +1 -1
  162. package/storybook-static/assets/{download-S4EmNFiJ.js → download-Gd274Ccr.js} +1 -1
  163. package/storybook-static/assets/{folder-DwnZuxYv.js → folder-CkgPJFVu.js} +1 -1
  164. package/storybook-static/assets/{iconBase-CJWpRS45.js → iconBase-DPRuw3KJ.js} +1 -1
  165. package/storybook-static/assets/{iframe-CsNMSmaZ.js → iframe-CkohLb6O.js} +3 -3
  166. package/storybook-static/assets/{index-M_Boe6P4.js → index-4lRKUS3k.js} +1 -1
  167. package/storybook-static/assets/{index-Dd9tQS6E.js → index-BAny5-Af.js} +1 -1
  168. package/storybook-static/assets/{index-CnhxZRKH.js → index-BCMSla8x.js} +1 -1
  169. package/storybook-static/assets/{proxy-CmCG226X.js → proxy-CJ5T0tHE.js} +1 -1
  170. package/storybook-static/assets/{react-18-Cq_6iGPB.js → react-18-DhQN-nor.js} +1 -1
  171. package/storybook-static/assets/{react-three-fiber.esm-t0b1IYeW.js → react-three-fiber.esm-O55kGMTZ.js} +1 -1
  172. package/storybook-static/assets/{search-B4IFIUTJ.js → search-DA2s4Omg.js} +1 -1
  173. package/storybook-static/assets/{settings-CSxAGxMS.js → settings-Da1sn6o-.js} +1 -1
  174. package/storybook-static/assets/{sun-C4frepWu.js → sun-kr4rll74.js} +1 -1
  175. package/storybook-static/assets/{trash-2-DPPfHWSY.js → trash-2-BMH0p9wW.js} +1 -1
  176. package/storybook-static/assets/{use-animation-frame-DPUMdwYG.js → use-animation-frame-CmyfydLh.js} +1 -1
  177. package/storybook-static/assets/{use-in-view-D4fbJhxP.js → use-in-view-gqYpeCyH.js} +1 -1
  178. package/storybook-static/assets/{use-motion-value-Cd-kGXsq.js → use-motion-value-Br-6Hhvk.js} +1 -1
  179. package/storybook-static/assets/{use-spring-BB7O7aEL.js → use-spring-DesH8ycC.js} +1 -1
  180. package/storybook-static/assets/{use-transform-LYq5i14s.js → use-transform-C-uFIUqH.js} +1 -1
  181. package/storybook-static/assets/{useSound-za8WR_2r.js → useSound-D0EfxGkN.js} +1 -1
  182. package/storybook-static/assets/{users-CYKnT111.js → users-JDNge99T.js} +1 -1
  183. package/storybook-static/assets/{x-BnheTmJW.js → x-Cd-dhga8.js} +1 -1
  184. package/storybook-static/iframe.html +1 -1
  185. package/storybook-static/project.json +1 -1
  186. package/storybook-static/assets/DateInput-OzK7vkKX.js +0 -23
  187. package/storybook-static/assets/client-CdERhRkf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as l,j as m}from"./iframe-CsNMSmaZ.js";import{m as T}from"./proxy-CmCG226X.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-CT5IMbAV.js";const E={"variable-proximity":"_variable-proximity_14yrm_3","sr-only":"_sr-only_14yrm_7"};function W(e){l.useEffect(()=>{let r;const c=()=>{e(),r=requestAnimationFrame(c)};return r=requestAnimationFrame(c),()=>cancelAnimationFrame(r)},[e])}function O(e){const r=l.useRef({x:0,y:0});return l.useEffect(()=>{const c=(n,a)=>{if(e!=null&&e.current){const y=e.current.getBoundingClientRect();r.current={x:n-y.left,y:a-y.top}}else r.current={x:n,y:a}},p=n=>c(n.clientX,n.clientY),d=n=>{const a=n.touches[0];c(a.clientX,a.clientY)};return window.addEventListener("mousemove",p),window.addEventListener("touchmove",d),()=>{window.removeEventListener("mousemove",p),window.removeEventListener("touchmove",d)}},[e]),r}const x=l.forwardRef((e,r)=>{const{label:c,fromFontVariationSettings:p,toFontVariationSettings:d,containerRef:n,radius:a=50,falloff:y="linear",className:C="",onClick:z,style:A,...L}=e,V=l.useRef([]),b=l.useRef([]),h=O(n),w=l.useRef({x:null,y:null}),N=l.useMemo(()=>{const s=t=>new Map(t.split(",").map(i=>i.trim()).map(i=>{const[f,S]=i.split(" ");return[f.replace(/['"]/g,""),parseFloat(S)]})),o=s(p),u=s(d);return Array.from(o.entries()).map(([t,i])=>({axis:t,fromValue:i,toValue:u.get(t)??i}))},[p,d]),$=(s,o,u,t)=>Math.sqrt((u-s)**2+(t-o)**2),k=s=>{const o=Math.min(Math.max(1-s/a,0),1);switch(y){case"exponential":return o**2;case"gaussian":return Math.exp(-((s/(a/2))**2)/2);case"linear":default:return o}};W(()=>{if(!(n!=null&&n.current))return;const s=n.current.getBoundingClientRect(),{x:o,y:u}=h.current;w.current.x===o&&w.current.y===u||(w.current={x:o,y:u},V.current.forEach((t,i)=>{if(!t)return;const f=t.getBoundingClientRect(),S=f.left+f.width/2-s.left,I=f.top+f.height/2-s.top,P=$(h.current.x,h.current.y,S,I);if(P>=a){t.style.fontVariationSettings=p;return}const q=k(P),j=N.map(({axis:D,fromValue:F,toValue:X})=>{const Y=F+(X-F)*q;return`'${D}' ${Y}`}).join(", ");b.current[i]=j,t.style.fontVariationSettings=j}))});const v=c.split(" ");let B=0;return m.jsxs("span",{ref:r,className:`${C} ${E["variable-proximity"]}`,onClick:z,style:{display:"inline",...A},...L,children:[v.map((s,o)=>m.jsxs("span",{style:{display:"inline-block",whiteSpace:"nowrap"},children:[s.split("").map(u=>{const t=B++;return m.jsx(T.span,{ref:i=>{V.current[t]=i},style:{display:"inline-block",fontVariationSettings:b.current[t]},"aria-hidden":"true",children:u},t)}),o<v.length-1&&m.jsx("span",{style:{display:"inline-block"},children:" "})]},o)),m.jsx("span",{className:`${E["sr-only"]}`,children:c})]})});x.displayName="VariableProximity";x.__docgenInfo={description:"",methods:[],displayName:"VariableProximity"};const U={title:"ReactBits/TextAnimations/VariableProximity",component:x,parameters:{layout:"fullscreen"}},G=e=>{const r=l.useRef(null);return m.jsx("div",{ref:r,style:{position:"relative",width:"100%",height:"300px",display:"flex",alignItems:"center",justifyContent:"center",background:"#000"},children:m.jsx(x,{...e,containerRef:r})})},g={render:e=>m.jsx(G,{...e}),args:{label:"Variable Proximity",fromFontVariationSettings:"'wght' 400, 'opsz' 9",toFontVariationSettings:"'wght' 900, 'opsz' 40",radius:150,falloff:"linear",style:{fontSize:"3rem",color:"#fff"}}};var M,_,R;g.parameters={...g.parameters,docs:{...(M=g.parameters)==null?void 0:M.docs,source:{originalSource:`{
1
+ import{r as l,j as m}from"./iframe-CkohLb6O.js";import{m as T}from"./proxy-CJ5T0tHE.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-CObwzCp1.js";const E={"variable-proximity":"_variable-proximity_14yrm_3","sr-only":"_sr-only_14yrm_7"};function W(e){l.useEffect(()=>{let r;const c=()=>{e(),r=requestAnimationFrame(c)};return r=requestAnimationFrame(c),()=>cancelAnimationFrame(r)},[e])}function O(e){const r=l.useRef({x:0,y:0});return l.useEffect(()=>{const c=(n,a)=>{if(e!=null&&e.current){const y=e.current.getBoundingClientRect();r.current={x:n-y.left,y:a-y.top}}else r.current={x:n,y:a}},p=n=>c(n.clientX,n.clientY),d=n=>{const a=n.touches[0];c(a.clientX,a.clientY)};return window.addEventListener("mousemove",p),window.addEventListener("touchmove",d),()=>{window.removeEventListener("mousemove",p),window.removeEventListener("touchmove",d)}},[e]),r}const x=l.forwardRef((e,r)=>{const{label:c,fromFontVariationSettings:p,toFontVariationSettings:d,containerRef:n,radius:a=50,falloff:y="linear",className:C="",onClick:z,style:A,...L}=e,V=l.useRef([]),b=l.useRef([]),h=O(n),w=l.useRef({x:null,y:null}),N=l.useMemo(()=>{const s=t=>new Map(t.split(",").map(i=>i.trim()).map(i=>{const[f,S]=i.split(" ");return[f.replace(/['"]/g,""),parseFloat(S)]})),o=s(p),u=s(d);return Array.from(o.entries()).map(([t,i])=>({axis:t,fromValue:i,toValue:u.get(t)??i}))},[p,d]),$=(s,o,u,t)=>Math.sqrt((u-s)**2+(t-o)**2),k=s=>{const o=Math.min(Math.max(1-s/a,0),1);switch(y){case"exponential":return o**2;case"gaussian":return Math.exp(-((s/(a/2))**2)/2);case"linear":default:return o}};W(()=>{if(!(n!=null&&n.current))return;const s=n.current.getBoundingClientRect(),{x:o,y:u}=h.current;w.current.x===o&&w.current.y===u||(w.current={x:o,y:u},V.current.forEach((t,i)=>{if(!t)return;const f=t.getBoundingClientRect(),S=f.left+f.width/2-s.left,I=f.top+f.height/2-s.top,P=$(h.current.x,h.current.y,S,I);if(P>=a){t.style.fontVariationSettings=p;return}const q=k(P),j=N.map(({axis:D,fromValue:F,toValue:X})=>{const Y=F+(X-F)*q;return`'${D}' ${Y}`}).join(", ");b.current[i]=j,t.style.fontVariationSettings=j}))});const v=c.split(" ");let B=0;return m.jsxs("span",{ref:r,className:`${C} ${E["variable-proximity"]}`,onClick:z,style:{display:"inline",...A},...L,children:[v.map((s,o)=>m.jsxs("span",{style:{display:"inline-block",whiteSpace:"nowrap"},children:[s.split("").map(u=>{const t=B++;return m.jsx(T.span,{ref:i=>{V.current[t]=i},style:{display:"inline-block",fontVariationSettings:b.current[t]},"aria-hidden":"true",children:u},t)}),o<v.length-1&&m.jsx("span",{style:{display:"inline-block"},children:" "})]},o)),m.jsx("span",{className:`${E["sr-only"]}`,children:c})]})});x.displayName="VariableProximity";x.__docgenInfo={description:"",methods:[],displayName:"VariableProximity"};const U={title:"ReactBits/TextAnimations/VariableProximity",component:x,parameters:{layout:"fullscreen"}},G=e=>{const r=l.useRef(null);return m.jsx("div",{ref:r,style:{position:"relative",width:"100%",height:"300px",display:"flex",alignItems:"center",justifyContent:"center",background:"#000"},children:m.jsx(x,{...e,containerRef:r})})},g={render:e=>m.jsx(G,{...e}),args:{label:"Variable Proximity",fromFontVariationSettings:"'wght' 400, 'opsz' 9",toFontVariationSettings:"'wght' 900, 'opsz' 40",radius:150,falloff:"linear",style:{fontSize:"3rem",color:"#fff"}}};var M,_,R;g.parameters={...g.parameters,docs:{...(M=g.parameters)==null?void 0:M.docs,source:{originalSource:`{
2
2
  render: args => <VariableProximityWrapper {...args} />,
3
3
  args: {
4
4
  label: 'Variable Proximity',
@@ -1 +1 @@
1
- import{r as i,j as J}from"./iframe-CsNMSmaZ.js";import"./preload-helper-C1FmrZbK.js";const le="_waves_vgm9y_1",K={waves:le,"waves-canvas":"_waves-canvas_vgm9y_25"};class l{constructor(s,r,o){this.x=s,this.y=r,this.z=o}dot2(s,r){return this.x*s+this.y*r}}class ie{constructor(s=0){this.grad3=[new l(1,1,0),new l(-1,1,0),new l(1,-1,0),new l(-1,-1,0),new l(1,0,1),new l(-1,0,1),new l(1,0,-1),new l(-1,0,-1),new l(0,1,1),new l(0,-1,1),new l(0,1,-1),new l(0,-1,-1)],this.p=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],this.perm=new Array(512),this.gradP=new Array(512),this.seed(s)}seed(s){s>0&&s<1&&(s*=65536),s=Math.floor(s),s<256&&(s|=s<<8);for(let r=0;r<256;r++){let o=r&1?this.p[r]^s&255:this.p[r]^s>>8&255;this.perm[r]=this.perm[r+256]=o,this.gradP[r]=this.gradP[r+256]=this.grad3[o%12]}}fade(s){return s*s*s*(s*(s*6-15)+10)}lerp(s,r,o){return(1-o)*s+o*r}perlin2(s,r){let o=Math.floor(s),f=Math.floor(r);s-=o,r-=f,o&=255,f&=255;const g=this.gradP[o+this.perm[f]].dot2(s,r),M=this.gradP[o+this.perm[f+1]].dot2(s,r-1),R=this.gradP[o+1+this.perm[f]].dot2(s-1,r),q=this.gradP[o+1+this.perm[f+1]].dot2(s-1,r-1),x=this.fade(s);return this.lerp(this.lerp(g,R,x),this.lerp(M,q,x),this.fade(r))}}const ee=({lineColor:p="black",backgroundColor:s="transparent",waveSpeedX:r=.0125,waveSpeedY:o=.005,waveAmpX:f=32,waveAmpY:g=16,xGap:M=10,yGap:R=32,friction:q=.925,tension:x=.005,maxCursorMove:A=100,style:te={},className:se=""})=>{const X=i.useRef(null),Y=i.useRef(null),$=i.useRef(null),w=i.useRef({width:0,height:0,left:0,top:0}),re=i.useRef(new ie(Math.random())),E=i.useRef([]),S=i.useRef({x:-10,y:0,lx:0,ly:0,sx:0,sy:0,v:0,vs:0,a:0,set:!1}),V=i.useRef({lineColor:p,waveSpeedX:r,waveSpeedY:o,waveAmpX:f,waveAmpY:g,friction:q,tension:x,maxCursorMove:A,xGap:M,yGap:R}),b=i.useRef(null);return i.useEffect(()=>{V.current={lineColor:p,waveSpeedX:r,waveSpeedY:o,waveAmpX:f,waveAmpY:g,friction:q,tension:x,maxCursorMove:A,xGap:M,yGap:R}},[p,r,o,f,g,q,x,A,M,R]),i.useEffect(()=>{console.log("Waves mounted");const j=Y.current,z=X.current;$.current=j.getContext("2d");function T(){w.current=z.getBoundingClientRect(),j.width=w.current.width,j.height=w.current.height}function B(){const{width:n,height:e}=w.current;E.current=[];const t=n+200,c=e+30,{xGap:u,yGap:v}=V.current,m=Math.ceil(t/u),d=Math.ceil(c/v),y=(n-u*m)/2,P=(e-v*d)/2;for(let h=0;h<=m;h++){const L=[];for(let a=0;a<=d;a++)L.push({x:y+u*h,y:P+v*a,wave:{x:0,y:0},cursor:{x:0,y:0,vx:0,vy:0}});E.current.push(L)}}function ae(n){const e=E.current,t=S.current,c=re.current,{waveSpeedX:u,waveSpeedY:v,waveAmpX:m,waveAmpY:d,friction:y,tension:P,maxCursorMove:h}=V.current;e.forEach(L=>{L.forEach(a=>{const I=c.perlin2((a.x+n*u)*.002,(a.y+n*v)*.0015)*12;a.wave.x=Math.cos(I)*m,a.wave.y=Math.sin(I)*d;const oe=a.x-t.sx,ce=a.y-t.sy,W=Math.hypot(oe,ce),_=Math.max(175,t.vs);if(W<_){const ue=1-W/_,O=Math.cos(W*.001)*ue;a.cursor.vx+=Math.cos(t.a)*O*_*t.vs*65e-5,a.cursor.vy+=Math.sin(t.a)*O*_*t.vs*65e-5}a.cursor.vx+=(0-a.cursor.x)*P,a.cursor.vy+=(0-a.cursor.y)*P,a.cursor.vx*=y,a.cursor.vy*=y,a.cursor.x+=a.cursor.vx*2,a.cursor.y+=a.cursor.vy*2,a.cursor.x=Math.min(h,Math.max(-h,a.cursor.x)),a.cursor.y=Math.min(h,Math.max(-h,a.cursor.y))})})}function N(n,e=!0){const t=n.x+n.wave.x+(e?n.cursor.x:0),c=n.y+n.wave.y+(e?n.cursor.y:0);return{x:Math.round(t*10)/10,y:Math.round(c*10)/10}}function ne(){const{width:n,height:e}=w.current,t=$.current;t.clearRect(0,0,n,e),t.beginPath(),t.strokeStyle=V.current.lineColor,E.current.forEach(c=>{let u=N(c[0],!1);t.moveTo(u.x,u.y),c.forEach((v,m)=>{const d=m===c.length-1;u=N(v,!d);const y=N(c[m+1]||c[c.length-1],!d);t.lineTo(u.x,u.y),d&&t.moveTo(y.x,y.y)})}),t.stroke()}function C(n){const e=S.current;e.sx+=(e.x-e.sx)*.1,e.sy+=(e.y-e.sy)*.1;const t=e.x-e.lx,c=e.y-e.ly,u=Math.hypot(t,c);e.v=u,e.vs+=(u-e.vs)*.1,e.vs=Math.min(100,e.vs),e.lx=e.x,e.ly=e.y,e.a=Math.atan2(c,t),z.style.setProperty("--x",`${e.sx}px`),z.style.setProperty("--y",`${e.sy}px`),ae(n),ne(),b.current=requestAnimationFrame(C)}function F(){T(),B()}function G(n){H(n.clientX,n.clientY)}function D(n){const e=n.touches[0];H(e.clientX,e.clientY)}function H(n,e){const t=S.current,c=w.current;t.x=n-c.left,t.y=e-c.top,t.set||(t.sx=t.x,t.sy=t.y,t.lx=t.x,t.ly=t.y,t.set=!0)}return T(),B(),b.current=requestAnimationFrame(C),window.addEventListener("resize",F),window.addEventListener("mousemove",G),window.addEventListener("touchmove",D,{passive:!1}),()=>{window.removeEventListener("resize",F),window.removeEventListener("mousemove",G),window.removeEventListener("touchmove",D),cancelAnimationFrame(b.current)}},[]),J.jsx("div",{ref:X,className:`${K.waves} ${se}`,style:{position:"relative",margin:0,padding:0,width:"100%",minHeight:"100vh",overflow:"hidden",backgroundColor:s,...te},children:J.jsx("canvas",{ref:Y,className:`${K["waves-canvas"]}`})})};ee.__docgenInfo={description:"",methods:[],displayName:"Waves",props:{lineColor:{defaultValue:{value:"'black'",computed:!1},required:!1},backgroundColor:{defaultValue:{value:"'transparent'",computed:!1},required:!1},waveSpeedX:{defaultValue:{value:"0.0125",computed:!1},required:!1},waveSpeedY:{defaultValue:{value:"0.005",computed:!1},required:!1},waveAmpX:{defaultValue:{value:"32",computed:!1},required:!1},waveAmpY:{defaultValue:{value:"16",computed:!1},required:!1},xGap:{defaultValue:{value:"10",computed:!1},required:!1},yGap:{defaultValue:{value:"32",computed:!1},required:!1},friction:{defaultValue:{value:"0.925",computed:!1},required:!1},tension:{defaultValue:{value:"0.005",computed:!1},required:!1},maxCursorMove:{defaultValue:{value:"100",computed:!1},required:!1},style:{defaultValue:{value:"{}",computed:!1},required:!1},className:{defaultValue:{value:"''",computed:!1},required:!1}}};const he={title:"ReactBits/Backgrounds/Waves",component:ee,parameters:{layout:"fullscreen"}},k={};var Q,U,Z;k.parameters={...k.parameters,docs:{...(Q=k.parameters)==null?void 0:Q.docs,source:{originalSource:"{}",...(Z=(U=k.parameters)==null?void 0:U.docs)==null?void 0:Z.source}}};const ve=["Default"];export{k as Default,ve as __namedExportsOrder,he as default};
1
+ import{r as i,j as J}from"./iframe-CkohLb6O.js";import"./preload-helper-C1FmrZbK.js";const le="_waves_vgm9y_1",K={waves:le,"waves-canvas":"_waves-canvas_vgm9y_25"};class l{constructor(s,r,o){this.x=s,this.y=r,this.z=o}dot2(s,r){return this.x*s+this.y*r}}class ie{constructor(s=0){this.grad3=[new l(1,1,0),new l(-1,1,0),new l(1,-1,0),new l(-1,-1,0),new l(1,0,1),new l(-1,0,1),new l(1,0,-1),new l(-1,0,-1),new l(0,1,1),new l(0,-1,1),new l(0,1,-1),new l(0,-1,-1)],this.p=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],this.perm=new Array(512),this.gradP=new Array(512),this.seed(s)}seed(s){s>0&&s<1&&(s*=65536),s=Math.floor(s),s<256&&(s|=s<<8);for(let r=0;r<256;r++){let o=r&1?this.p[r]^s&255:this.p[r]^s>>8&255;this.perm[r]=this.perm[r+256]=o,this.gradP[r]=this.gradP[r+256]=this.grad3[o%12]}}fade(s){return s*s*s*(s*(s*6-15)+10)}lerp(s,r,o){return(1-o)*s+o*r}perlin2(s,r){let o=Math.floor(s),f=Math.floor(r);s-=o,r-=f,o&=255,f&=255;const g=this.gradP[o+this.perm[f]].dot2(s,r),M=this.gradP[o+this.perm[f+1]].dot2(s,r-1),R=this.gradP[o+1+this.perm[f]].dot2(s-1,r),q=this.gradP[o+1+this.perm[f+1]].dot2(s-1,r-1),x=this.fade(s);return this.lerp(this.lerp(g,R,x),this.lerp(M,q,x),this.fade(r))}}const ee=({lineColor:p="black",backgroundColor:s="transparent",waveSpeedX:r=.0125,waveSpeedY:o=.005,waveAmpX:f=32,waveAmpY:g=16,xGap:M=10,yGap:R=32,friction:q=.925,tension:x=.005,maxCursorMove:A=100,style:te={},className:se=""})=>{const X=i.useRef(null),Y=i.useRef(null),$=i.useRef(null),w=i.useRef({width:0,height:0,left:0,top:0}),re=i.useRef(new ie(Math.random())),E=i.useRef([]),S=i.useRef({x:-10,y:0,lx:0,ly:0,sx:0,sy:0,v:0,vs:0,a:0,set:!1}),V=i.useRef({lineColor:p,waveSpeedX:r,waveSpeedY:o,waveAmpX:f,waveAmpY:g,friction:q,tension:x,maxCursorMove:A,xGap:M,yGap:R}),b=i.useRef(null);return i.useEffect(()=>{V.current={lineColor:p,waveSpeedX:r,waveSpeedY:o,waveAmpX:f,waveAmpY:g,friction:q,tension:x,maxCursorMove:A,xGap:M,yGap:R}},[p,r,o,f,g,q,x,A,M,R]),i.useEffect(()=>{console.log("Waves mounted");const j=Y.current,z=X.current;$.current=j.getContext("2d");function T(){w.current=z.getBoundingClientRect(),j.width=w.current.width,j.height=w.current.height}function B(){const{width:n,height:e}=w.current;E.current=[];const t=n+200,c=e+30,{xGap:u,yGap:v}=V.current,m=Math.ceil(t/u),d=Math.ceil(c/v),y=(n-u*m)/2,P=(e-v*d)/2;for(let h=0;h<=m;h++){const L=[];for(let a=0;a<=d;a++)L.push({x:y+u*h,y:P+v*a,wave:{x:0,y:0},cursor:{x:0,y:0,vx:0,vy:0}});E.current.push(L)}}function ae(n){const e=E.current,t=S.current,c=re.current,{waveSpeedX:u,waveSpeedY:v,waveAmpX:m,waveAmpY:d,friction:y,tension:P,maxCursorMove:h}=V.current;e.forEach(L=>{L.forEach(a=>{const I=c.perlin2((a.x+n*u)*.002,(a.y+n*v)*.0015)*12;a.wave.x=Math.cos(I)*m,a.wave.y=Math.sin(I)*d;const oe=a.x-t.sx,ce=a.y-t.sy,W=Math.hypot(oe,ce),_=Math.max(175,t.vs);if(W<_){const ue=1-W/_,O=Math.cos(W*.001)*ue;a.cursor.vx+=Math.cos(t.a)*O*_*t.vs*65e-5,a.cursor.vy+=Math.sin(t.a)*O*_*t.vs*65e-5}a.cursor.vx+=(0-a.cursor.x)*P,a.cursor.vy+=(0-a.cursor.y)*P,a.cursor.vx*=y,a.cursor.vy*=y,a.cursor.x+=a.cursor.vx*2,a.cursor.y+=a.cursor.vy*2,a.cursor.x=Math.min(h,Math.max(-h,a.cursor.x)),a.cursor.y=Math.min(h,Math.max(-h,a.cursor.y))})})}function N(n,e=!0){const t=n.x+n.wave.x+(e?n.cursor.x:0),c=n.y+n.wave.y+(e?n.cursor.y:0);return{x:Math.round(t*10)/10,y:Math.round(c*10)/10}}function ne(){const{width:n,height:e}=w.current,t=$.current;t.clearRect(0,0,n,e),t.beginPath(),t.strokeStyle=V.current.lineColor,E.current.forEach(c=>{let u=N(c[0],!1);t.moveTo(u.x,u.y),c.forEach((v,m)=>{const d=m===c.length-1;u=N(v,!d);const y=N(c[m+1]||c[c.length-1],!d);t.lineTo(u.x,u.y),d&&t.moveTo(y.x,y.y)})}),t.stroke()}function C(n){const e=S.current;e.sx+=(e.x-e.sx)*.1,e.sy+=(e.y-e.sy)*.1;const t=e.x-e.lx,c=e.y-e.ly,u=Math.hypot(t,c);e.v=u,e.vs+=(u-e.vs)*.1,e.vs=Math.min(100,e.vs),e.lx=e.x,e.ly=e.y,e.a=Math.atan2(c,t),z.style.setProperty("--x",`${e.sx}px`),z.style.setProperty("--y",`${e.sy}px`),ae(n),ne(),b.current=requestAnimationFrame(C)}function F(){T(),B()}function G(n){H(n.clientX,n.clientY)}function D(n){const e=n.touches[0];H(e.clientX,e.clientY)}function H(n,e){const t=S.current,c=w.current;t.x=n-c.left,t.y=e-c.top,t.set||(t.sx=t.x,t.sy=t.y,t.lx=t.x,t.ly=t.y,t.set=!0)}return T(),B(),b.current=requestAnimationFrame(C),window.addEventListener("resize",F),window.addEventListener("mousemove",G),window.addEventListener("touchmove",D,{passive:!1}),()=>{window.removeEventListener("resize",F),window.removeEventListener("mousemove",G),window.removeEventListener("touchmove",D),cancelAnimationFrame(b.current)}},[]),J.jsx("div",{ref:X,className:`${K.waves} ${se}`,style:{position:"relative",margin:0,padding:0,width:"100%",minHeight:"100vh",overflow:"hidden",backgroundColor:s,...te},children:J.jsx("canvas",{ref:Y,className:`${K["waves-canvas"]}`})})};ee.__docgenInfo={description:"",methods:[],displayName:"Waves",props:{lineColor:{defaultValue:{value:"'black'",computed:!1},required:!1},backgroundColor:{defaultValue:{value:"'transparent'",computed:!1},required:!1},waveSpeedX:{defaultValue:{value:"0.0125",computed:!1},required:!1},waveSpeedY:{defaultValue:{value:"0.005",computed:!1},required:!1},waveAmpX:{defaultValue:{value:"32",computed:!1},required:!1},waveAmpY:{defaultValue:{value:"16",computed:!1},required:!1},xGap:{defaultValue:{value:"10",computed:!1},required:!1},yGap:{defaultValue:{value:"32",computed:!1},required:!1},friction:{defaultValue:{value:"0.925",computed:!1},required:!1},tension:{defaultValue:{value:"0.005",computed:!1},required:!1},maxCursorMove:{defaultValue:{value:"100",computed:!1},required:!1},style:{defaultValue:{value:"{}",computed:!1},required:!1},className:{defaultValue:{value:"''",computed:!1},required:!1}}};const he={title:"ReactBits/Backgrounds/Waves",component:ee,parameters:{layout:"fullscreen"}},k={};var Q,U,Z;k.parameters={...k.parameters,docs:{...(Q=k.parameters)==null?void 0:Q.docs,source:{originalSource:"{}",...(Z=(U=k.parameters)==null?void 0:U.docs)==null?void 0:Z.source}}};const ve=["Default"];export{k as Default,ve as __namedExportsOrder,he as default};
@@ -1,4 +1,4 @@
1
- import{c as e}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as e}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as t}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as t}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as o}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as o}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as o}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as o}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1 @@
1
+ import{r}from"./index-BAny5-Af.js";var t,o=r;t=o.createRoot,o.hydrateRoot;export{t as c};
@@ -1,4 +1,4 @@
1
- import{r as s}from"./iframe-CsNMSmaZ.js";/**
1
+ import{r as s}from"./iframe-CkohLb6O.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as o}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as o}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as o}from"./createLucideIcon-D-7CW_CD.js";/**
1
+ import{c as o}from"./createLucideIcon-Eef1gHXG.js";/**
2
2
  * @license lucide-react v0.539.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{R as i}from"./iframe-CsNMSmaZ.js";var y={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},f=i.createContext&&i.createContext(y),g=["attr","size","title"];function p(e,r){if(e==null)return{};var t,n,o=O(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function O(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},u.apply(null,arguments)}function m(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?m(Object(t),!0).forEach(function(n){d(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function d(e,r,t){return(r=j(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function j(e){var r=P(e,"string");return typeof r=="symbol"?r:r+""}function P(e,r){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function b(e){return e&&e.map((r,t)=>i.createElement(r.tag,c({key:t},r.attr),b(r.child)))}function x(e){return r=>i.createElement(h,u({attr:c({},e.attr)},r),b(e.child))}function h(e){var r=t=>{var{attr:n,size:o,title:a}=e,v=p(e,g),s=o||t.size||"1em",l;return t.className&&(l=t.className),e.className&&(l=(l?l+" ":"")+e.className),i.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,v,{className:l,style:c(c({color:e.color||t.color},t.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),e.children)};return f!==void 0?i.createElement(f.Consumer,null,t=>r(t)):r(y)}export{x as G};
1
+ import{R as i}from"./iframe-CkohLb6O.js";var y={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},f=i.createContext&&i.createContext(y),g=["attr","size","title"];function p(e,r){if(e==null)return{};var t,n,o=O(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function O(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},u.apply(null,arguments)}function m(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?m(Object(t),!0).forEach(function(n){d(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function d(e,r,t){return(r=j(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function j(e){var r=P(e,"string");return typeof r=="symbol"?r:r+""}function P(e,r){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function b(e){return e&&e.map((r,t)=>i.createElement(r.tag,c({key:t},r.attr),b(r.child)))}function x(e){return r=>i.createElement(h,u({attr:c({},e.attr)},r),b(e.child))}function h(e){var r=t=>{var{attr:n,size:o,title:a}=e,v=p(e,g),s=o||t.size||"1em",l;return t.className&&(l=t.className),e.className&&(l=(l?l+" ":"")+e.className),i.createElement("svg",u({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,v,{className:l,style:c(c({color:e.color||t.color},t.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&i.createElement("title",null,a),e.children)};return f!==void 0?i.createElement(f.Consumer,null,t=>r(t)):r(y)}export{x as G};