@stfrigerio/sito-template 0.1.87 → 0.1.90

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 (199) hide show
  1. package/dist/components/atoms/Button/Button.d.ts +1 -1
  2. package/dist/components/atoms/Button/Button.d.ts.map +1 -1
  3. package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts +1 -1
  4. package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts.map +1 -1
  5. package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts.map +1 -1
  6. package/dist/index.esm.js +20 -10
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +19 -9
  9. package/dist/index.js.map +1 -1
  10. package/dist/styles.css +1 -1
  11. package/dist/styles.css.map +1 -1
  12. package/package.json +1 -1
  13. package/storybook-static/assets/{ASCIIText.stories-B8RWNnlP.js → ASCIIText.stories-Dtgo6j7L.js} +1 -1
  14. package/storybook-static/assets/AllAtoms.stories-D25vSZu7.js +109 -0
  15. package/storybook-static/assets/{AnimatedContent.stories-Dj-clC7A.js → AnimatedContent.stories-DeO_pq9C.js} +1 -1
  16. package/storybook-static/assets/{AnimatedList.stories-2A8KQvHb.js → AnimatedList.stories-kFWHPJB0.js} +1 -1
  17. package/storybook-static/assets/{Antigravity.stories-DGZButWX.js → Antigravity.stories-C8qkRemU.js} +1 -1
  18. package/storybook-static/assets/{ArrayInput.stories-DMY81mz8.js → ArrayInput.stories-DbCmDKln.js} +1 -1
  19. package/storybook-static/assets/{Aurora.stories-Cew2p4oN.js → Aurora.stories-BO8xwmRR.js} +1 -1
  20. package/storybook-static/assets/{Beams.stories-BbXiw7sj.js → Beams.stories-D9Vss8VE.js} +1 -1
  21. package/storybook-static/assets/{BlobCursor.stories-DEYcVo2S.js → BlobCursor.stories-COOoDd0_.js} +1 -1
  22. package/storybook-static/assets/{BlurText.stories-CyEHztB3.js → BlurText.stories-C8NJIAOg.js} +1 -1
  23. package/storybook-static/assets/{BooleansHeatmap.stories-Bq4sX7xA.js → BooleansHeatmap.stories-BJ0MknpB.js} +1 -1
  24. package/storybook-static/assets/{BorderGlow.stories-DfeM2qWZ.js → BorderGlow.stories-DAvcL6FM.js} +1 -1
  25. package/storybook-static/assets/{BubbleMenu.stories-DFzci-hw.js → BubbleMenu.stories-I3n83GuJ.js} +1 -1
  26. package/storybook-static/assets/Button-Bl2CH-vl.css +1 -0
  27. package/storybook-static/assets/Button-CH9liQ2J.js +37 -0
  28. package/storybook-static/assets/{Button.stories-DAXH1kBW.js → Button.stories-DK6pmeSm.js} +1 -1
  29. package/storybook-static/assets/{Calendar.stories-CVsYYT3_.js → Calendar.stories-kMM0mFaT.js} +1 -1
  30. package/storybook-static/assets/{Card-Ch19Z9Ml.js → Card-Czl0DYJm.js} +1 -1
  31. package/storybook-static/assets/{Card.stories-BrklfhWT.js → Card.stories-4DF9DMcg.js} +1 -1
  32. package/storybook-static/assets/{CardNav.stories-BCqLQ4ri.js → CardNav.stories-BgVfBv3z.js} +1 -1
  33. package/storybook-static/assets/{Carousel.stories-JueaqCHX.js → Carousel.stories-DjYpfF2j.js} +1 -1
  34. package/storybook-static/assets/{Checkbox-nvnYBusW.js → Checkbox-DiC2uUR-.js} +1 -1
  35. package/storybook-static/assets/{Checkbox.stories-BSH5kSeM.js → Checkbox.stories-CU5aTVfE.js} +1 -1
  36. package/storybook-static/assets/{ChromaGrid.stories-BAi7KYEd.js → ChromaGrid.stories-DtK6Qt71.js} +1 -1
  37. package/storybook-static/assets/{CircularGallery.stories-yaLvN4jl.js → CircularGallery.stories-Jrm_Za8Y.js} +1 -1
  38. package/storybook-static/assets/{CircularText.stories-ByKDIjAk.js → CircularText.stories-DKh57xFD.js} +1 -1
  39. package/storybook-static/assets/{ClickSpark.stories-CAOOYgZg.js → ClickSpark.stories-DOJ5LkAX.js} +1 -1
  40. package/storybook-static/assets/{ColorBends.stories-r944bmlL.js → ColorBends.stories-tjfC5kRF.js} +1 -1
  41. package/storybook-static/assets/{CountUp.stories-BsGweeR_.js → CountUp.stories-BsTf98hU.js} +1 -1
  42. package/storybook-static/assets/{Counter.stories-CFSscU3f.js → Counter.stories-B3nP4IGl.js} +1 -1
  43. package/storybook-static/assets/{Crosshair.stories-C59SEdPS.js → Crosshair.stories-ClhSUEC6.js} +1 -1
  44. package/storybook-static/assets/{Cubes.stories-DnfmbK9a.js → Cubes.stories-D9prtcng.js} +1 -1
  45. package/storybook-static/assets/{CurvedLoop.stories-DIfO-R6F.js → CurvedLoop.stories-DhjmFtAk.js} +1 -1
  46. package/storybook-static/assets/{DarkVeil.stories-C_B8qGw3.js → DarkVeil.stories-BY7yhqM-.js} +1 -1
  47. package/storybook-static/assets/DateInput-CbIGBy1T.js +33 -0
  48. package/storybook-static/assets/DateInput.stories-1YAXLO4f.js +51 -0
  49. package/storybook-static/assets/{DecayCard.stories-DAfiVDJo.js → DecayCard.stories-Ce63KFLI.js} +1 -1
  50. package/storybook-static/assets/{DecryptedText.stories-BFQqLZom.js → DecryptedText.stories-Ce_tec4x.js} +1 -1
  51. package/storybook-static/assets/{Dither.stories-pYoIjt1W.js → Dither.stories-CTsWIlO_.js} +1 -1
  52. package/storybook-static/assets/{Dock.stories-DId8unUm.js → Dock.stories-CEkG3zE8.js} +1 -1
  53. package/storybook-static/assets/{EditFAB.stories-DdXJT2Ey.js → EditFAB.stories-BnVYkstI.js} +1 -1
  54. package/storybook-static/assets/{EvilEye.stories-B78l-JlO.js → EvilEye.stories-BWpnRBSc.js} +1 -1
  55. package/storybook-static/assets/{FadeContent.stories-DSYRU32z.js → FadeContent.stories-TA6cYvHn.js} +1 -1
  56. package/storybook-static/assets/{FaultyTerminal.stories-Bhho_FyM.js → FaultyTerminal.stories-ClN73HXo.js} +1 -1
  57. package/storybook-static/assets/{Fbo-CA8Cugqs.js → Fbo-DOZvED_P.js} +1 -1
  58. package/storybook-static/assets/{FloatingLines.stories-DIvV-AYZ.js → FloatingLines.stories-CMhbUA4X.js} +1 -1
  59. package/storybook-static/assets/{FlowingMenu.stories-CxjRJuNG.js → FlowingMenu.stories-_rPOV7hz.js} +1 -1
  60. package/storybook-static/assets/{FluidGlass.stories-B6ubplry.js → FluidGlass.stories-mdZC8neT.js} +1 -1
  61. package/storybook-static/assets/{Folder.stories-BhHE7ak6.js → Folder.stories-CXpfkmPT.js} +1 -1
  62. package/storybook-static/assets/{FuzzyText.stories-BFPLmDNh.js → FuzzyText.stories-D-pNnzE3.js} +1 -1
  63. package/storybook-static/assets/{Galaxy.stories-N6XWjdrt.js → Galaxy.stories-CPZBrZzX.js} +1 -1
  64. package/storybook-static/assets/{GhostCursor.stories-CU2PH1pt.js → GhostCursor.stories-3SmTW1ph.js} +1 -1
  65. package/storybook-static/assets/{GlareHover.stories-DifFj1HZ.js → GlareHover.stories-DBRoiaUD.js} +1 -1
  66. package/storybook-static/assets/{GlassSurface.stories-DXYOGkmX.js → GlassSurface.stories-CZ3l4nWW.js} +1 -1
  67. package/storybook-static/assets/{GlitchText.stories-Cmpvl2vz.js → GlitchText.stories-DNWiu7Fx.js} +1 -1
  68. package/storybook-static/assets/{GooeyNav.stories-BOyECO_g.js → GooeyNav.stories-CKF4hZWb.js} +1 -1
  69. package/storybook-static/assets/{GradientBlinds.stories-D7xA00Rd.js → GradientBlinds.stories-CSOH2WWW.js} +1 -1
  70. package/storybook-static/assets/{GradientText.stories-D4vR7tCq.js → GradientText.stories-bDFLossY.js} +1 -1
  71. package/storybook-static/assets/{Grainient.stories-Cl3kQ9aP.js → Grainient.stories-DHMvGyuS.js} +1 -1
  72. package/storybook-static/assets/{GridMotion.stories-BU9Lfsce.js → GridMotion.stories-1HSsVsM3.js} +1 -1
  73. package/storybook-static/assets/{HabitTimeOfDayChart.stories-CJ7KDfkC.js → HabitTimeOfDayChart.stories-DhM5q3e3.js} +6 -11
  74. package/storybook-static/assets/{ImageSlideshow.stories-RqoQL8yF.js → ImageSlideshow.stories-BBcbaAvU.js} +1 -1
  75. package/storybook-static/assets/{Iridescence.stories-BG_i0J0Z.js → Iridescence.stories-B4tScPDX.js} +1 -1
  76. package/storybook-static/assets/{LaserFlow.stories-BhMyQ1qt.js → LaserFlow.stories-De7IVbOP.js} +1 -1
  77. package/storybook-static/assets/{LetterGlitch.stories-BvdwV5_E.js → LetterGlitch.stories-BrF0jwDu.js} +1 -1
  78. package/storybook-static/assets/{LightPillar.stories-BPp_Ag-Y.js → LightPillar.stories-D45WMXjS.js} +1 -1
  79. package/storybook-static/assets/{LightRays.stories-dch_JRlb.js → LightRays.stories-CMlDOp18.js} +1 -1
  80. package/storybook-static/assets/{Lightning.stories-DwMh9GPf.js → Lightning.stories-o8H7rlwB.js} +1 -1
  81. package/storybook-static/assets/{LineWaves.stories-AqiMM0Ls.js → LineWaves.stories-8113h6S0.js} +1 -1
  82. package/storybook-static/assets/{LiquidChrome.stories-CHphvyVd.js → LiquidChrome.stories-B0UHGP5e.js} +1 -1
  83. package/storybook-static/assets/{LiquidEther.stories-LA0heskA.js → LiquidEther.stories-BqdSo4-f.js} +1 -1
  84. package/storybook-static/assets/{LoadingSpinner-Y9Z3DeEK.js → LoadingSpinner-ZFb06sXS.js} +1 -1
  85. package/storybook-static/assets/{LoadingSpinner.stories-CME438c5.js → LoadingSpinner.stories-kT6xR4AR.js} +1 -1
  86. package/storybook-static/assets/{MagicRings.stories-CEszTJL9.js → MagicRings.stories-BqDiebja.js} +1 -1
  87. package/storybook-static/assets/{Magnet.stories-CjGVTw3S.js → Magnet.stories-r6A_xV-6.js} +1 -1
  88. package/storybook-static/assets/{MagnetLines.stories-ahvkL9SY.js → MagnetLines.stories-CtqLWARm.js} +1 -1
  89. package/storybook-static/assets/{Masonry.stories-Bc3kTpwh.js → Masonry.stories-VQgDAQ6b.js} +1 -1
  90. package/storybook-static/assets/{MetaBalls.stories-CjszCimV.js → MetaBalls.stories-B8PPf2oU.js} +1 -1
  91. package/storybook-static/assets/{MetallicPaint.stories-DBJfpHWq.js → MetallicPaint.stories-HbUCBlZl.js} +1 -1
  92. package/storybook-static/assets/{MoodChart.stories-B-mIiG6S.js → MoodChart.stories-RuoGQy_Y.js} +1 -1
  93. package/storybook-static/assets/{MotionConfigContext-ej6g39cv.js → MotionConfigContext-DmG3b6sP.js} +1 -1
  94. package/storybook-static/assets/{Navbar.stories-QmXtlqhy.js → Navbar.stories-1sz4gJK2.js} +1 -1
  95. package/storybook-static/assets/{Noise.stories-DzgN3MWd.js → Noise.stories-CvW3HE_J.js} +1 -1
  96. package/storybook-static/assets/{NumberStepper-DVpOvggK.js → NumberStepper-C5_c-PuE.js} +1 -1
  97. package/storybook-static/assets/{NumberStepper.stories-DjiSsncP.js → NumberStepper.stories-CkVNPMk7.js} +1 -1
  98. package/storybook-static/assets/{Orb.stories-PL0Leb0V.js → Orb.stories-DSzFUVyh.js} +1 -1
  99. package/storybook-static/assets/{OrbitImages.stories-Ct7kFkO8.js → OrbitImages.stories-E4yCVa6-.js} +1 -1
  100. package/storybook-static/assets/{PieChart.stories-D1k8xoHn.js → PieChart.stories-C-c5JGx-.js} +1 -1
  101. package/storybook-static/assets/{PixelBlast.stories-DWr7zhSY.js → PixelBlast.stories-DgyTTYDm.js} +1 -1
  102. package/storybook-static/assets/{PixelCard.stories-CBNsvoWF.js → PixelCard.stories-C2Rzkm3U.js} +1 -1
  103. package/storybook-static/assets/{PixelSnow.stories-CibmTFVc.js → PixelSnow.stories-BPE2uOnE.js} +1 -1
  104. package/storybook-static/assets/{PixelTransition.stories-HeKQCyZU.js → PixelTransition.stories-RK1HE4v1.js} +1 -1
  105. package/storybook-static/assets/{Plasma.stories-DRkfw_SH.js → Plasma.stories-Di49S5X0.js} +1 -1
  106. package/storybook-static/assets/{Prism.stories-D5hsr7bf.js → Prism.stories-CIq91AtJ.js} +1 -1
  107. package/storybook-static/assets/{PrismaticBurst.stories-BSURP5pW.js → PrismaticBurst.stories-CYSWNcsb.js} +1 -1
  108. package/storybook-static/assets/{ProfileCard.stories-Bf0IPDE7.js → ProfileCard.stories-BjbrUMx6.js} +1 -1
  109. package/storybook-static/assets/QuantifiableHabitsChart-JSu1fVKW.css +1 -0
  110. package/storybook-static/assets/QuantifiableHabitsChart.stories-CrNt7SAD.js +125 -0
  111. package/storybook-static/assets/{Radar.stories-BvOZJPcs.js → Radar.stories-ITyCDqa9.js} +1 -1
  112. package/storybook-static/assets/{Ribbons.stories-gxmZ1o6j.js → Ribbons.stories-CIzJ1Y5B.js} +1 -1
  113. package/storybook-static/assets/{RippleGrid.stories-DUv5tTLR.js → RippleGrid.stories-k4Bp2R3M.js} +1 -1
  114. package/storybook-static/assets/{RotatingText.stories--zZCwdj0.js → RotatingText.stories-D6WBMedg.js} +1 -1
  115. package/storybook-static/assets/{ScrollFloat.stories-BAQkGt4u.js → ScrollFloat.stories-D2zhBLXq.js} +1 -1
  116. package/storybook-static/assets/{ScrollReveal.stories-D8v2-KSO.js → ScrollReveal.stories-GWJOqmYd.js} +1 -1
  117. package/storybook-static/assets/{ScrollVelocity.stories-CgYbZ2me.js → ScrollVelocity.stories-Cs7cThjP.js} +1 -1
  118. package/storybook-static/assets/{SearchBar.stories-DErg4W0Z.js → SearchBar.stories-B88TEe37.js} +1 -1
  119. package/storybook-static/assets/{SearchableDropdown-Gc-plVss.js → SearchableDropdown-DG8q7YcB.js} +1 -1
  120. package/storybook-static/assets/{SearchableDropdown.stories-CF98LHIA.js → SearchableDropdown.stories-B-2MmFCL.js} +1 -1
  121. package/storybook-static/assets/{SelectInput-weMQrv1H.js → SelectInput-DyW16_Lj.js} +1 -1
  122. package/storybook-static/assets/{SelectInput.stories-DFEPS00c.js → SelectInput.stories-DR3BA0cv.js} +1 -1
  123. package/storybook-static/assets/{ShapeBlur.stories-CLJf-eGQ.js → ShapeBlur.stories-BFwpsWko.js} +1 -1
  124. package/storybook-static/assets/{ShapeGrid.stories-B4tRqjit.js → ShapeGrid.stories-BE6bP-kP.js} +1 -1
  125. package/storybook-static/assets/{ShinyText.stories-nODOhFpc.js → ShinyText.stories-CUmeSSqJ.js} +1 -1
  126. package/storybook-static/assets/{Silk.stories-hK-hAkGr.js → Silk.stories-DzmTXBSA.js} +1 -1
  127. package/storybook-static/assets/{SleepChart.stories-Dhk97VZ2.js → SleepChart.stories-Ch1nZ-V8.js} +1 -1
  128. package/storybook-static/assets/{Slider-BQQGQnnC.js → Slider-Bxy6stWE.js} +1 -1
  129. package/storybook-static/assets/{Slider.stories-DXg1IclV.js → Slider.stories-5J_D3Iog.js} +1 -1
  130. package/storybook-static/assets/{SoftAurora.stories-Bxt4IudL.js → SoftAurora.stories-CPIaRUy7.js} +1 -1
  131. package/storybook-static/assets/{SoundDemo.stories-D78IcwX2.js → SoundDemo.stories-DmO_2FTG.js} +1 -1
  132. package/storybook-static/assets/{SplashCursor.stories-Cdnlvghg.js → SplashCursor.stories-D5fSCerb.js} +1 -1
  133. package/storybook-static/assets/{SpotlightCard.stories-DhXeXKct.js → SpotlightCard.stories-Dxs4DFE1.js} +1 -1
  134. package/storybook-static/assets/{Stack.stories-Dr_tAl9c.js → Stack.stories-CumKo7dB.js} +1 -1
  135. package/storybook-static/assets/{StaggeredMenu.stories-CI4Z8v_T.js → StaggeredMenu.stories-DsUEe8Yn.js} +1 -1
  136. package/storybook-static/assets/{StarBorder.stories-OYm48Xwl.js → StarBorder.stories-C3mugHuX.js} +1 -1
  137. package/storybook-static/assets/{SunburstChart.stories-DIg4CtSd.js → SunburstChart.stories-B54fidVc.js} +1 -1
  138. package/storybook-static/assets/{Table.stories-wu_XBMsB.js → Table.stories-CVhhLXG7.js} +1 -1
  139. package/storybook-static/assets/{Tabs.stories-Bbq7lutx.js → Tabs.stories-D-fKtbxC.js} +1 -1
  140. package/storybook-static/assets/{TargetCursor.stories-CXjfHbiQ.js → TargetCursor.stories-oq0VXBYh.js} +1 -1
  141. package/storybook-static/assets/{TextArea-B4dx0-GZ.js → TextArea-1d9fTMQA.js} +1 -1
  142. package/storybook-static/assets/{TextArea.stories-CUoma4q4.js → TextArea.stories-Bw6wxgmm.js} +1 -1
  143. package/storybook-static/assets/{TextCursor.stories-DrHqGdoB.js → TextCursor.stories-CtA5sWqx.js} +1 -1
  144. package/storybook-static/assets/{TextInput-vzJb5S9G.js → TextInput-CrimGnzT.js} +1 -1
  145. package/storybook-static/assets/{TextInput.stories-DA17HvCl.js → TextInput.stories-DzQfpDJ8.js} +1 -1
  146. package/storybook-static/assets/{TextPressure.stories-b2f8dOId.js → TextPressure.stories-BhxHheKQ.js} +1 -1
  147. package/storybook-static/assets/{TextType.stories-8fsi62No.js → TextType.stories-DwxfGvwL.js} +1 -1
  148. package/storybook-static/assets/ThemeSwitcher-DWTmXKK8.css +1 -0
  149. package/storybook-static/assets/ThemeSwitcher.stories-BNJg7_9m.js +47 -0
  150. package/storybook-static/assets/{Threads.stories-C7_zvrfb.js → Threads.stories-Bw0886o-.js} +1 -1
  151. package/storybook-static/assets/{TimeInput.stories-WFbT0Wqk.js → TimeInput.stories-BxamR08w.js} +1 -1
  152. package/storybook-static/assets/{Toggle-BplZnrXA.js → Toggle-jOuha7Sk.js} +1 -1
  153. package/storybook-static/assets/{Toggle.stories-BvoI_JPS.js → Toggle.stories-CF9pqCg0.js} +1 -1
  154. package/storybook-static/assets/{ToggleButton-D6UxL2BW.js → ToggleButton-CTkPvZnV.js} +1 -1
  155. package/storybook-static/assets/{ToggleButton.stories-C56NQ0vt.js → ToggleButton.stories-CeXb5rUl.js} +1 -1
  156. package/storybook-static/assets/{TrueFocus.stories-C5puxF0U.js → TrueFocus.stories-Bm7TL5KQ.js} +1 -1
  157. package/storybook-static/assets/{VariableProximity.stories-BxLhsUUt.js → VariableProximity.stories-C70WTtQL.js} +1 -1
  158. package/storybook-static/assets/{Waves.stories-BcNpqLux.js → Waves.stories-CF2H3iDi.js} +1 -1
  159. package/storybook-static/assets/calendar-Cd0jjGTB.js +6 -0
  160. package/storybook-static/assets/chart-column-y4_eOm9M.js +6 -0
  161. package/storybook-static/assets/{check-CR9a77oQ.js → check-DYCN1rMI.js} +1 -1
  162. package/storybook-static/assets/{chevron-down-CKSuQQRN.js → chevron-down-Cez0JhwR.js} +1 -1
  163. package/storybook-static/assets/{chevron-right-ds1xZi3C.js → chevron-right-ZKw3Q8fo.js} +1 -1
  164. package/storybook-static/assets/client-CJngPBlk.js +1 -0
  165. package/storybook-static/assets/{createLucideIcon-CrHgDpuU.js → createLucideIcon-cR6vPm-0.js} +1 -1
  166. package/storybook-static/assets/{download-BeoqTvSy.js → download-BvrKyit1.js} +1 -1
  167. package/storybook-static/assets/{folder-BHA3voKu.js → folder-CMZ97bzz.js} +1 -1
  168. package/storybook-static/assets/{iconBase-B_uptLfL.js → iconBase-CKhBbYSX.js} +1 -1
  169. package/storybook-static/assets/{iframe-zy5fIh42.js → iframe-CIPCI8YY.js} +3 -3
  170. package/storybook-static/assets/{index-DRj5Sqdq.js → index-C0XHKMMq.js} +1 -1
  171. package/storybook-static/assets/{index-CtGjEf3g.js → index-CrErqZXh.js} +1 -1
  172. package/storybook-static/assets/{index-DJjHRi0h.js → index-DmhvyDTp.js} +1 -1
  173. package/storybook-static/assets/{proxy-CPPwweV0.js → proxy-9S6fbfB7.js} +1 -1
  174. package/storybook-static/assets/{react-18-nleSC2lJ.js → react-18-DXe0Gps3.js} +1 -1
  175. package/storybook-static/assets/{react-three-fiber.esm-CgMr3Oln.js → react-three-fiber.esm-BFvrKjZG.js} +1 -1
  176. package/storybook-static/assets/{search-DMsFQVtb.js → search-cjQCtruM.js} +1 -1
  177. package/storybook-static/assets/{settings-CaeoBL2V.js → settings-CMotCA-b.js} +1 -1
  178. package/storybook-static/assets/{sun-j_wDVUAd.js → sun-C5B4RuMV.js} +1 -1
  179. package/storybook-static/assets/{trash-2-CFV2VbGB.js → trash-2-Iwuu7dT8.js} +1 -1
  180. package/storybook-static/assets/{use-animation-frame-CJ4LJccZ.js → use-animation-frame-DYHusn_U.js} +1 -1
  181. package/storybook-static/assets/{use-in-view-BYqN4HOb.js → use-in-view-D1DBV2Cv.js} +1 -1
  182. package/storybook-static/assets/{use-motion-value-Bd5F4Q1X.js → use-motion-value-_XBVGGSc.js} +1 -1
  183. package/storybook-static/assets/{use-spring-y2nlsCu3.js → use-spring-B9JKYdRs.js} +1 -1
  184. package/storybook-static/assets/{use-transform-Cdf8113N.js → use-transform-CzY9Cwyq.js} +1 -1
  185. package/storybook-static/assets/{useSound-CQEaCYuh.js → useSound-ExVNLINO.js} +1 -1
  186. package/storybook-static/assets/{users-D86bmf3J.js → users-CQQR1tzz.js} +1 -1
  187. package/storybook-static/assets/{x-DL7PRtd7.js → x-CbRfyd3C.js} +1 -1
  188. package/storybook-static/iframe.html +1 -1
  189. package/storybook-static/project.json +1 -1
  190. package/storybook-static/assets/AllAtoms.stories-BeZBc0RJ.js +0 -109
  191. package/storybook-static/assets/Button-C-a8mtOA.js +0 -37
  192. package/storybook-static/assets/Button-DMczctyZ.css +0 -1
  193. package/storybook-static/assets/DateInput-BcmeICjH.js +0 -38
  194. package/storybook-static/assets/DateInput.stories-CsuBNd7o.js +0 -51
  195. package/storybook-static/assets/QuantifiableHabitsChart-ClF-TBgP.css +0 -1
  196. package/storybook-static/assets/QuantifiableHabitsChart.stories-DlkEZwYa.js +0 -115
  197. package/storybook-static/assets/ThemeSwitcher-XCVQ6hhy.css +0 -1
  198. package/storybook-static/assets/ThemeSwitcher.stories-DbrfPqUY.js +0 -47
  199. package/storybook-static/assets/client-BLhnv49m.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as e,r as o}from"./iframe-zy5fIh42.js";import{T as t}from"./ToggleButton-D6UxL2BW.js";import"./preload-helper-C1FmrZbK.js";import"./useSound-CQEaCYuh.js";import"./proxy-CPPwweV0.js";import"./MotionConfigContext-ej6g39cv.js";import"./index-DJjHRi0h.js";const J={title:"Atoms/ToggleButton",component:t,parameters:{layout:"centered"},argTypes:{active:{control:"boolean"},onClick:{action:"clicked"},icon:{control:"text"},label:{control:"text"},disabled:{control:"boolean"},size:{control:{type:"select"},options:["small","medium","large"]},variant:{control:{type:"select"},options:["default","outlined","filled","ghost"]},activeColor:{control:{type:"select"},options:["primary","secondary","success","danger","warning"]},color:{control:"color"},showCheckmark:{control:"boolean"},animation:{control:{type:"select"},options:["scale","rotate","flip","none"]},tooltip:{control:"text"},hideLabelOnMobile:{control:"boolean"}}},L=a=>{const[l,i]=o.useState(a.active||!1);return e.jsx(t,{...a,active:l,onClick:()=>{var s;i(!l),(s=a.onClick)==null||s.call(a)}})},u={render:a=>e.jsx(L,{...a}),args:{active:!1,icon:"🦷",label:"Teeth"}},m={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1),[r,p]=o.useState(!1),[d,g]=o.useState(!1),[x,O]=o.useState(!1),[k,M]=o.useState(!1),[h,W]=o.useState(!1),[C,A]=o.useState(!1);return e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Variants"}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🎨",label:"Default",variant:"default"}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"📝",label:"Outlined",variant:"outlined"}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🎯",label:"Filled",variant:"filled"}),e.jsx(t,{active:r,onClick:()=>p(!r),icon:"👻",label:"Ghost",variant:"ghost"})]})]}),e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Sizes"}),e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(t,{active:d,onClick:()=>g(!d),icon:"🐁",label:"Small",size:"small"}),e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🐕",label:"Medium",size:"medium"}),e.jsx(t,{active:x,onClick:()=>O(!x),icon:"🐘",label:"Large",size:"large"})]})]}),e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Animations"}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap"},children:[e.jsx(t,{active:k,onClick:()=>M(!k),icon:"🎈",label:"Scale",animation:"scale"}),e.jsx(t,{active:h,onClick:()=>W(!h),icon:"🌀",label:"Rotate",animation:"rotate"}),e.jsx(t,{active:C,onClick:()=>A(!C),icon:"🔄",label:"Flip",animation:"flip"})]})]})]})}},v={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1),[r,p]=o.useState(!1),[d,g]=o.useState(!1);return e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(120px, 1fr))",gap:"12px",maxWidth:"400px"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🦷",label:"Teeth",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"🚿",label:"Shower",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🧘",label:"Meditate",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:r,onClick:()=>p(!r),icon:"💊",label:"Vitamins",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:d,onClick:()=>g(!d),icon:"💪",label:"Exercise",variant:"outlined",activeColor:"success",showCheckmark:!0})]})}},f={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1);return e.jsxs("div",{style:{display:"flex",gap:"12px"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"❤️",tooltip:"Add to favorites",activeColor:"danger",animation:"scale"}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"🔖",tooltip:"Bookmark",activeColor:"primary",animation:"flip"}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🔔",tooltip:"Enable notifications",activeColor:"warning",animation:"rotate"})]})}};var S,b,y;u.parameters={...u.parameters,docs:{...(S=u.parameters)==null?void 0:S.docs,source:{originalSource:`{
1
+ import{j as e,r as o}from"./iframe-CIPCI8YY.js";import{T as t}from"./ToggleButton-CTkPvZnV.js";import"./preload-helper-C1FmrZbK.js";import"./useSound-ExVNLINO.js";import"./proxy-9S6fbfB7.js";import"./MotionConfigContext-DmG3b6sP.js";import"./index-DmhvyDTp.js";const J={title:"Atoms/ToggleButton",component:t,parameters:{layout:"centered"},argTypes:{active:{control:"boolean"},onClick:{action:"clicked"},icon:{control:"text"},label:{control:"text"},disabled:{control:"boolean"},size:{control:{type:"select"},options:["small","medium","large"]},variant:{control:{type:"select"},options:["default","outlined","filled","ghost"]},activeColor:{control:{type:"select"},options:["primary","secondary","success","danger","warning"]},color:{control:"color"},showCheckmark:{control:"boolean"},animation:{control:{type:"select"},options:["scale","rotate","flip","none"]},tooltip:{control:"text"},hideLabelOnMobile:{control:"boolean"}}},L=a=>{const[l,i]=o.useState(a.active||!1);return e.jsx(t,{...a,active:l,onClick:()=>{var s;i(!l),(s=a.onClick)==null||s.call(a)}})},u={render:a=>e.jsx(L,{...a}),args:{active:!1,icon:"🦷",label:"Teeth"}},m={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1),[r,p]=o.useState(!1),[d,g]=o.useState(!1),[x,O]=o.useState(!1),[k,M]=o.useState(!1),[h,W]=o.useState(!1),[C,A]=o.useState(!1);return e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Variants"}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🎨",label:"Default",variant:"default"}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"📝",label:"Outlined",variant:"outlined"}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🎯",label:"Filled",variant:"filled"}),e.jsx(t,{active:r,onClick:()=>p(!r),icon:"👻",label:"Ghost",variant:"ghost"})]})]}),e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Sizes"}),e.jsxs("div",{style:{display:"flex",gap:"16px",alignItems:"center"},children:[e.jsx(t,{active:d,onClick:()=>g(!d),icon:"🐁",label:"Small",size:"small"}),e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🐕",label:"Medium",size:"medium"}),e.jsx(t,{active:x,onClick:()=>O(!x),icon:"🐘",label:"Large",size:"large"})]})]}),e.jsxs("div",{children:[e.jsx("h4",{style:{marginBottom:12},children:"Animations"}),e.jsxs("div",{style:{display:"flex",gap:"16px",flexWrap:"wrap"},children:[e.jsx(t,{active:k,onClick:()=>M(!k),icon:"🎈",label:"Scale",animation:"scale"}),e.jsx(t,{active:h,onClick:()=>W(!h),icon:"🌀",label:"Rotate",animation:"rotate"}),e.jsx(t,{active:C,onClick:()=>A(!C),icon:"🔄",label:"Flip",animation:"flip"})]})]})]})}},v={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1),[r,p]=o.useState(!1),[d,g]=o.useState(!1);return e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(120px, 1fr))",gap:"12px",maxWidth:"400px"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"🦷",label:"Teeth",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"🚿",label:"Shower",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🧘",label:"Meditate",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:r,onClick:()=>p(!r),icon:"💊",label:"Vitamins",variant:"outlined",activeColor:"success",showCheckmark:!0}),e.jsx(t,{active:d,onClick:()=>g(!d),icon:"💪",label:"Exercise",variant:"outlined",activeColor:"success",showCheckmark:!0})]})}},f={render:()=>{const[a,l]=o.useState(!1),[i,s]=o.useState(!1),[n,c]=o.useState(!1);return e.jsxs("div",{style:{display:"flex",gap:"12px"},children:[e.jsx(t,{active:a,onClick:()=>l(!a),icon:"❤️",tooltip:"Add to favorites",activeColor:"danger",animation:"scale"}),e.jsx(t,{active:i,onClick:()=>s(!i),icon:"🔖",tooltip:"Bookmark",activeColor:"primary",animation:"flip"}),e.jsx(t,{active:n,onClick:()=>c(!n),icon:"🔔",tooltip:"Enable notifications",activeColor:"warning",animation:"rotate"})]})}};var S,b,y;u.parameters={...u.parameters,docs:{...(S=u.parameters)==null?void 0:S.docs,source:{originalSource:`{
2
2
  render: args => <ToggleButtonWrapper {...args} />,
3
3
  args: {
4
4
  active: false,
@@ -1,4 +1,4 @@
1
- import{r as a,j as n}from"./iframe-zy5fIh42.js";import{m as T}from"./proxy-CPPwweV0.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-ej6g39cv.js";const V="_active_ngfrk_24",C="_corner_ngfrk_37",e={"focus-container":"_focus-container_ngfrk_1","focus-word":"_focus-word_ngfrk_12",active:V,"focus-frame":"_focus-frame_ngfrk_28",corner:C,"top-left":"_top-left_ngfrk_47","top-right":"_top-right_ngfrk_54","bottom-left":"_bottom-left_ngfrk_61","bottom-right":"_bottom-right_ngfrk_68"},$=({sentence:R="True Focus",separator:y=" ",manualMode:s=!1,blurAmount:g=5,borderColor:_="green",glowColor:h="rgba(0, 255, 0, 0.6)",animationDuration:l=.5,pauseBetweenAnimations:v=1})=>{const u=R.split(y),[o,i]=a.useState(0),[j,k]=a.useState(null),d=a.useRef(null),p=a.useRef([]),[c,q]=a.useState({x:0,y:0,width:0,height:0});a.useEffect(()=>{if(!s){const r=setInterval(()=>{i(t=>(t+1)%u.length)},(l+v)*1e3);return()=>clearInterval(r)}},[s,l,v,u.length]),a.useEffect(()=>{if(o===null||o===-1||!p.current[o]||!d.current)return;const r=d.current.getBoundingClientRect(),t=p.current[o].getBoundingClientRect();q({x:t.left-r.left,y:t.top-r.top,width:t.width,height:t.height})},[o,u.length]);const A=r=>{s&&(k(r),i(r))},F=()=>{s&&i(j)};return n.jsxs("div",{className:`${e["focus-container"]}`,ref:d,children:[u.map((r,t)=>{const m=t===o;return n.jsx("span",{ref:N=>p.current[t]=N,className:`${e["focus-word"]} ${s?"manual":""} ${m&&!s?e.active:""}`,style:{filter:s?m?"blur(0px)":`blur(${g}px)`:m?"blur(0px)":`blur(${g}px)`,"--border-color":_,"--glow-color":h,transition:`filter ${l}s ease`},onMouseEnter:()=>A(t),onMouseLeave:F,children:r},t)}),n.jsxs(T.div,{className:`${e["focus-frame"]}`,animate:{x:c.x,y:c.y,width:c.width,height:c.height,opacity:o>=0?1:0},transition:{duration:l},style:{"--border-color":_,"--glow-color":h},children:[n.jsx("span",{className:`${e.corner} ${e["top-left"]}`}),n.jsx("span",{className:`${e.corner} ${e["top-right"]}`}),n.jsx("span",{className:`${e.corner} ${e["bottom-left"]}`}),n.jsx("span",{className:`${e.corner} ${e["bottom-right"]}`})]})]})};$.__docgenInfo={description:"",methods:[],displayName:"TrueFocus",props:{sentence:{defaultValue:{value:"'True Focus'",computed:!1},required:!1},separator:{defaultValue:{value:"' '",computed:!1},required:!1},manualMode:{defaultValue:{value:"false",computed:!1},required:!1},blurAmount:{defaultValue:{value:"5",computed:!1},required:!1},borderColor:{defaultValue:{value:"'green'",computed:!1},required:!1},glowColor:{defaultValue:{value:"'rgba(0, 255, 0, 0.6)'",computed:!1},required:!1},animationDuration:{defaultValue:{value:"0.5",computed:!1},required:!1},pauseBetweenAnimations:{defaultValue:{value:"1",computed:!1},required:!1}}};const L={title:"ReactBits/TextAnimations/TrueFocus",component:$,parameters:{layout:"fullscreen"}},f={args:{sentence:"True Focus",separator:" ",manualMode:!1,blurAmount:5,borderColor:"green",glowColor:"rgba(0, 255, 0, 0.6)",animationDuration:.5,pauseBetweenAnimations:1}};var x,b,w;f.parameters={...f.parameters,docs:{...(x=f.parameters)==null?void 0:x.docs,source:{originalSource:`{
1
+ import{r as a,j as n}from"./iframe-CIPCI8YY.js";import{m as T}from"./proxy-9S6fbfB7.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-DmG3b6sP.js";const V="_active_ngfrk_24",C="_corner_ngfrk_37",e={"focus-container":"_focus-container_ngfrk_1","focus-word":"_focus-word_ngfrk_12",active:V,"focus-frame":"_focus-frame_ngfrk_28",corner:C,"top-left":"_top-left_ngfrk_47","top-right":"_top-right_ngfrk_54","bottom-left":"_bottom-left_ngfrk_61","bottom-right":"_bottom-right_ngfrk_68"},$=({sentence:R="True Focus",separator:y=" ",manualMode:s=!1,blurAmount:g=5,borderColor:_="green",glowColor:h="rgba(0, 255, 0, 0.6)",animationDuration:l=.5,pauseBetweenAnimations:v=1})=>{const u=R.split(y),[o,i]=a.useState(0),[j,k]=a.useState(null),d=a.useRef(null),p=a.useRef([]),[c,q]=a.useState({x:0,y:0,width:0,height:0});a.useEffect(()=>{if(!s){const r=setInterval(()=>{i(t=>(t+1)%u.length)},(l+v)*1e3);return()=>clearInterval(r)}},[s,l,v,u.length]),a.useEffect(()=>{if(o===null||o===-1||!p.current[o]||!d.current)return;const r=d.current.getBoundingClientRect(),t=p.current[o].getBoundingClientRect();q({x:t.left-r.left,y:t.top-r.top,width:t.width,height:t.height})},[o,u.length]);const A=r=>{s&&(k(r),i(r))},F=()=>{s&&i(j)};return n.jsxs("div",{className:`${e["focus-container"]}`,ref:d,children:[u.map((r,t)=>{const m=t===o;return n.jsx("span",{ref:N=>p.current[t]=N,className:`${e["focus-word"]} ${s?"manual":""} ${m&&!s?e.active:""}`,style:{filter:s?m?"blur(0px)":`blur(${g}px)`:m?"blur(0px)":`blur(${g}px)`,"--border-color":_,"--glow-color":h,transition:`filter ${l}s ease`},onMouseEnter:()=>A(t),onMouseLeave:F,children:r},t)}),n.jsxs(T.div,{className:`${e["focus-frame"]}`,animate:{x:c.x,y:c.y,width:c.width,height:c.height,opacity:o>=0?1:0},transition:{duration:l},style:{"--border-color":_,"--glow-color":h},children:[n.jsx("span",{className:`${e.corner} ${e["top-left"]}`}),n.jsx("span",{className:`${e.corner} ${e["top-right"]}`}),n.jsx("span",{className:`${e.corner} ${e["bottom-left"]}`}),n.jsx("span",{className:`${e.corner} ${e["bottom-right"]}`})]})]})};$.__docgenInfo={description:"",methods:[],displayName:"TrueFocus",props:{sentence:{defaultValue:{value:"'True Focus'",computed:!1},required:!1},separator:{defaultValue:{value:"' '",computed:!1},required:!1},manualMode:{defaultValue:{value:"false",computed:!1},required:!1},blurAmount:{defaultValue:{value:"5",computed:!1},required:!1},borderColor:{defaultValue:{value:"'green'",computed:!1},required:!1},glowColor:{defaultValue:{value:"'rgba(0, 255, 0, 0.6)'",computed:!1},required:!1},animationDuration:{defaultValue:{value:"0.5",computed:!1},required:!1},pauseBetweenAnimations:{defaultValue:{value:"1",computed:!1},required:!1}}};const L={title:"ReactBits/TextAnimations/TrueFocus",component:$,parameters:{layout:"fullscreen"}},f={args:{sentence:"True Focus",separator:" ",manualMode:!1,blurAmount:5,borderColor:"green",glowColor:"rgba(0, 255, 0, 0.6)",animationDuration:.5,pauseBetweenAnimations:1}};var x,b,w;f.parameters={...f.parameters,docs:{...(x=f.parameters)==null?void 0:x.docs,source:{originalSource:`{
2
2
  args: {
3
3
  sentence: 'True Focus',
4
4
  separator: ' ',
@@ -1,4 +1,4 @@
1
- import{r as l,j as m}from"./iframe-zy5fIh42.js";import{m as T}from"./proxy-CPPwweV0.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-ej6g39cv.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-CIPCI8YY.js";import{m as T}from"./proxy-9S6fbfB7.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-DmG3b6sP.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-zy5fIh42.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-CIPCI8YY.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};
@@ -0,0 +1,6 @@
1
+ import{c as e}from"./createLucideIcon-cR6vPm-0.js";/**
2
+ * @license lucide-react v0.539.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const t=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],a=e("calendar",t);export{a as C};
@@ -0,0 +1,6 @@
1
+ import{c as t}from"./createLucideIcon-cR6vPm-0.js";/**
2
+ * @license lucide-react v0.539.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const a=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],o=t("chart-column",a);export{o as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./createLucideIcon-CrHgDpuU.js";/**
1
+ import{c}from"./createLucideIcon-cR6vPm-0.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-CrHgDpuU.js";/**
1
+ import{c as o}from"./createLucideIcon-cR6vPm-0.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-CrHgDpuU.js";/**
1
+ import{c as o}from"./createLucideIcon-cR6vPm-0.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-CrErqZXh.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-zy5fIh42.js";/**
1
+ import{r as s}from"./iframe-CIPCI8YY.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-CrHgDpuU.js";/**
1
+ import{c as o}from"./createLucideIcon-cR6vPm-0.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-CrHgDpuU.js";/**
1
+ import{c as o}from"./createLucideIcon-cR6vPm-0.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-zy5fIh42.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-CIPCI8YY.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};