@stfrigerio/sito-template 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/organisms/Navbar/Navbar.d.ts +3 -3
- package/dist/components/organisms/Navbar/Navbar.d.ts.map +1 -1
- package/dist/index.esm.js +6 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/storybook-static/assets/{ASCIIText.stories-CwjgEuJ9.js → ASCIIText.stories-BJyiZESR.js} +1 -1
- package/storybook-static/assets/{AllAtoms.stories-Bpi44HYZ.js → AllAtoms.stories-CgOD8m3f.js} +1 -1
- package/storybook-static/assets/{AnimatedContent.stories-1u-UFi17.js → AnimatedContent.stories-DH-SARB9.js} +1 -1
- package/storybook-static/assets/{AnimatedList.stories-mVUmPCqf.js → AnimatedList.stories-Ry_skUA3.js} +1 -1
- package/storybook-static/assets/{Antigravity.stories-C9HwWmUN.js → Antigravity.stories-BicJnuw8.js} +1 -1
- package/storybook-static/assets/{ArrayInput.stories-CzRUNpFC.js → ArrayInput.stories-DYpCCBNb.js} +1 -1
- package/storybook-static/assets/{Aurora.stories-CZ6tOyDw.js → Aurora.stories-DPq2ByaS.js} +1 -1
- package/storybook-static/assets/{Beams.stories-DUSSkxn2.js → Beams.stories-C-BOpddV.js} +1 -1
- package/storybook-static/assets/{BlobCursor.stories-B3Czye_F.js → BlobCursor.stories-DD-byYja.js} +1 -1
- package/storybook-static/assets/{BlurText.stories-zTCdk18T.js → BlurText.stories-CI-bIIKc.js} +1 -1
- package/storybook-static/assets/{BooleansHeatmap.stories-BnWEPNxI.js → BooleansHeatmap.stories-CEV0eftd.js} +1 -1
- package/storybook-static/assets/{BorderGlow.stories-BmubU4F3.js → BorderGlow.stories-BE-ilp94.js} +1 -1
- package/storybook-static/assets/{BubbleMenu.stories-B04jjIcf.js → BubbleMenu.stories-D30td5QP.js} +1 -1
- package/storybook-static/assets/{Button-wfSXrxMx.js → Button-B8IhEFx4.js} +1 -1
- package/storybook-static/assets/{Button.stories-DQQco2EQ.js → Button.stories-DE36U0Qh.js} +1 -1
- package/storybook-static/assets/{Calendar.stories-B9TCGcuy.js → Calendar.stories-BgzQTcGv.js} +1 -1
- package/storybook-static/assets/{Card-HMstO9S4.js → Card-BBPiO_B4.js} +1 -1
- package/storybook-static/assets/{Card.stories-BBmi_0dh.js → Card.stories-TNOJS00N.js} +1 -1
- package/storybook-static/assets/{CardNav.stories-CGO2YKaJ.js → CardNav.stories-t1Bp6iKB.js} +1 -1
- package/storybook-static/assets/{Carousel.stories-BEpnw6MT.js → Carousel.stories-D3TV54aM.js} +1 -1
- package/storybook-static/assets/{Checkbox-rs6CCDd2.js → Checkbox-5p-zbzmi.js} +1 -1
- package/storybook-static/assets/{Checkbox.stories-1Mc2aGyk.js → Checkbox.stories-8znsCJhi.js} +1 -1
- package/storybook-static/assets/{ChromaGrid.stories-5FjIXfBn.js → ChromaGrid.stories-o3p8Qdx1.js} +1 -1
- package/storybook-static/assets/{CircularGallery.stories-Cdl8_A0h.js → CircularGallery.stories-BEcnb56N.js} +1 -1
- package/storybook-static/assets/{CircularText.stories-DEk-mBMO.js → CircularText.stories-Cac0HQ7O.js} +1 -1
- package/storybook-static/assets/{ClickSpark.stories-iH0P_EV-.js → ClickSpark.stories-DS6RKm32.js} +1 -1
- package/storybook-static/assets/{ColorBends.stories-Cg44QQwN.js → ColorBends.stories-BLXOpDDP.js} +1 -1
- package/storybook-static/assets/{CountUp.stories-CG5OXs9u.js → CountUp.stories-D0hVlNjf.js} +1 -1
- package/storybook-static/assets/{Counter.stories-1O7sZDnW.js → Counter.stories-D-AgJaFb.js} +1 -1
- package/storybook-static/assets/{Crosshair.stories-tBs2EYfR.js → Crosshair.stories-DuRxpkAA.js} +1 -1
- package/storybook-static/assets/{Cubes.stories-DbIJO8oV.js → Cubes.stories-B2K-6Pv7.js} +1 -1
- package/storybook-static/assets/{CurvedLoop.stories-u03ebWkS.js → CurvedLoop.stories-EBWj-ut7.js} +1 -1
- package/storybook-static/assets/{DarkVeil.stories-CAAtsFI_.js → DarkVeil.stories-BJfxCPIF.js} +1 -1
- package/storybook-static/assets/{DateInput-Dgzr5qdd.js → DateInput-Bl7y2Kqk.js} +1 -1
- package/storybook-static/assets/{DateInput.stories-BHCR5Xz2.js → DateInput.stories-C2Lar4bv.js} +1 -1
- package/storybook-static/assets/{DecayCard.stories-DpjieBuP.js → DecayCard.stories-DS3y0loD.js} +1 -1
- package/storybook-static/assets/{DecryptedText.stories-BAeQcHOZ.js → DecryptedText.stories-B5vYLMUi.js} +1 -1
- package/storybook-static/assets/{Dither.stories-DsPwfT6w.js → Dither.stories-CmPrb3rv.js} +1 -1
- package/storybook-static/assets/{Dock.stories-OLc2U4Pk.js → Dock.stories-CakFuVyb.js} +1 -1
- package/storybook-static/assets/{EditFAB.stories-Bu2i-7vg.js → EditFAB.stories-CFhxg94J.js} +1 -1
- package/storybook-static/assets/{EvilEye.stories-COGE55Ue.js → EvilEye.stories-BleX83nU.js} +1 -1
- package/storybook-static/assets/{FadeContent.stories-0x4yHbgt.js → FadeContent.stories-D2-4qOlC.js} +1 -1
- package/storybook-static/assets/{FaultyTerminal.stories-DUwLvxvp.js → FaultyTerminal.stories-CFARBPp4.js} +1 -1
- package/storybook-static/assets/{Fbo-Dk75jk9m.js → Fbo-CfnU58r6.js} +1 -1
- package/storybook-static/assets/{FloatingLines.stories-CrEOCrVc.js → FloatingLines.stories-Bc0U4qae.js} +1 -1
- package/storybook-static/assets/{FlowingMenu.stories-Bu7zY6aB.js → FlowingMenu.stories-BKmUrbe6.js} +1 -1
- package/storybook-static/assets/{FluidGlass.stories-8jDsRsqD.js → FluidGlass.stories-BLJOG8Vu.js} +1 -1
- package/storybook-static/assets/{Folder.stories-DWG4wwet.js → Folder.stories-Cxdi_wWi.js} +1 -1
- package/storybook-static/assets/{FuzzyText.stories-CetTWIj7.js → FuzzyText.stories-CUpUQ6nZ.js} +1 -1
- package/storybook-static/assets/{Galaxy.stories-DAUpNReC.js → Galaxy.stories-D7DFTFa9.js} +1 -1
- package/storybook-static/assets/{GhostCursor.stories-CUdsrtdF.js → GhostCursor.stories-7NVzAeAI.js} +1 -1
- package/storybook-static/assets/{GlareHover.stories-De-n7zae.js → GlareHover.stories-DZiYzLd8.js} +1 -1
- package/storybook-static/assets/{GlassSurface.stories-DUNqzwbj.js → GlassSurface.stories-CGVfI4xp.js} +1 -1
- package/storybook-static/assets/{GlitchText.stories-CFzxhfho.js → GlitchText.stories-DHeDmX4A.js} +1 -1
- package/storybook-static/assets/{GooeyNav.stories-BJuZ0PKJ.js → GooeyNav.stories-CM8SswAh.js} +1 -1
- package/storybook-static/assets/{GradientBlinds.stories-Byla9NI-.js → GradientBlinds.stories-dLv1UfQ7.js} +1 -1
- package/storybook-static/assets/{GradientText.stories-DRV-F3rp.js → GradientText.stories-1BJgOxi2.js} +1 -1
- package/storybook-static/assets/{Grainient.stories-A3xVF0CI.js → Grainient.stories-CzG5cjll.js} +1 -1
- package/storybook-static/assets/{GridMotion.stories-k5rGv9Ew.js → GridMotion.stories-ItIwnA44.js} +1 -1
- package/storybook-static/assets/{ImageSlideshow.stories-CI-E0hQG.js → ImageSlideshow.stories-C-_yjmyr.js} +1 -1
- package/storybook-static/assets/{Iridescence.stories-B9kRy59B.js → Iridescence.stories-B1aSL1Oh.js} +1 -1
- package/storybook-static/assets/{LaserFlow.stories-DnhxtQsq.js → LaserFlow.stories-CRvKzX4a.js} +1 -1
- package/storybook-static/assets/{LetterGlitch.stories-BS3tgTot.js → LetterGlitch.stories-iTeRYMuB.js} +1 -1
- package/storybook-static/assets/{LightPillar.stories-Ch6iDPPI.js → LightPillar.stories-XpkpeiMs.js} +1 -1
- package/storybook-static/assets/{LightRays.stories-96j1kh6q.js → LightRays.stories-lQANYMqj.js} +1 -1
- package/storybook-static/assets/{Lightning.stories-B1X3GI94.js → Lightning.stories-ChKmI-y_.js} +1 -1
- package/storybook-static/assets/{LineWaves.stories-3yb-Gtwr.js → LineWaves.stories-DhGVNsQB.js} +1 -1
- package/storybook-static/assets/{LiquidChrome.stories-WTpyqW7K.js → LiquidChrome.stories-CnkZ7Wr3.js} +1 -1
- package/storybook-static/assets/{LiquidEther.stories-d3WyZQDd.js → LiquidEther.stories-BU1_utEW.js} +1 -1
- package/storybook-static/assets/{LoadingSpinner-j0OUWyjZ.js → LoadingSpinner-j8Mi9qAD.js} +1 -1
- package/storybook-static/assets/{LoadingSpinner.stories-V5Mfbr_A.js → LoadingSpinner.stories-D_3FCjkK.js} +1 -1
- package/storybook-static/assets/{MagicRings.stories-nxTUbOEQ.js → MagicRings.stories-mxBWDoWy.js} +1 -1
- package/storybook-static/assets/{Magnet.stories-CCc47Jka.js → Magnet.stories-Dz0t_1eS.js} +1 -1
- package/storybook-static/assets/{MagnetLines.stories-D-uxaOJV.js → MagnetLines.stories-Jy4OaYyY.js} +1 -1
- package/storybook-static/assets/{Masonry.stories-vW2knxde.js → Masonry.stories-BRjBN5H3.js} +1 -1
- package/storybook-static/assets/{MetaBalls.stories-tVKhRgBG.js → MetaBalls.stories-Dfk1k_wH.js} +1 -1
- package/storybook-static/assets/{MetallicPaint.stories-CRyFkVKF.js → MetallicPaint.stories-C1bMxsZM.js} +1 -1
- package/storybook-static/assets/{MoodChart.stories-DcdCTegz.js → MoodChart.stories-C324AbEU.js} +1 -1
- package/storybook-static/assets/{MotionConfigContext-gtuPlUge.js → MotionConfigContext-BgQoFUhc.js} +1 -1
- package/storybook-static/assets/Navbar.stories-sGOUKXXC.js +186 -0
- package/storybook-static/assets/{Noise.stories-DyJIJUI1.js → Noise.stories-_7O9uBP8.js} +1 -1
- package/storybook-static/assets/{NumberStepper-Dn0f_CGn.js → NumberStepper-DMw68Bdj.js} +1 -1
- package/storybook-static/assets/{NumberStepper.stories-DM6nY1u9.js → NumberStepper.stories-C34Q1o9V.js} +1 -1
- package/storybook-static/assets/{Orb.stories-DouEXJAu.js → Orb.stories-Dy5JbOzp.js} +1 -1
- package/storybook-static/assets/{OrbitImages.stories-DjRyNXD-.js → OrbitImages.stories-FfsyN9Iu.js} +1 -1
- package/storybook-static/assets/{PieChart.stories-BY1dJDRv.js → PieChart.stories-OHDVp0RT.js} +1 -1
- package/storybook-static/assets/{PixelBlast.stories-CvztMISj.js → PixelBlast.stories-DFKSutAz.js} +1 -1
- package/storybook-static/assets/{PixelCard.stories-czcj-4NC.js → PixelCard.stories-CTsY_vyI.js} +1 -1
- package/storybook-static/assets/{PixelSnow.stories-CqxqR746.js → PixelSnow.stories-BlJBcWYF.js} +1 -1
- package/storybook-static/assets/{PixelTransition.stories-Dc8UkKjn.js → PixelTransition.stories-CmBbK0DM.js} +1 -1
- package/storybook-static/assets/{Plasma.stories-Dg2AZLjZ.js → Plasma.stories-QX3D_L78.js} +1 -1
- package/storybook-static/assets/{Prism.stories-BeDFq0RV.js → Prism.stories-D48sGYp7.js} +1 -1
- package/storybook-static/assets/{PrismaticBurst.stories-BoKU6BsE.js → PrismaticBurst.stories-Dn2F2mIk.js} +1 -1
- package/storybook-static/assets/{ProfileCard.stories-CTN6lHX_.js → ProfileCard.stories-Ct8ww3Sq.js} +1 -1
- package/storybook-static/assets/{QuantifiableHabitsChart.stories-DCEv5Jlh.js → QuantifiableHabitsChart.stories-DuL527Qx.js} +1 -1
- package/storybook-static/assets/{Radar.stories-Bj0WRDFi.js → Radar.stories-ClTlR1N5.js} +1 -1
- package/storybook-static/assets/{Ribbons.stories-BZ0-6WXQ.js → Ribbons.stories-R7WgM-S8.js} +1 -1
- package/storybook-static/assets/{RippleGrid.stories-CA8fhglD.js → RippleGrid.stories-DhMFo-nj.js} +1 -1
- package/storybook-static/assets/{RotatingText.stories-GRgWk8wg.js → RotatingText.stories-BDF0Yr7Z.js} +1 -1
- package/storybook-static/assets/{ScrollFloat.stories-DQAep0xZ.js → ScrollFloat.stories-Cyf50ogn.js} +1 -1
- package/storybook-static/assets/{ScrollReveal.stories-DESnpDqF.js → ScrollReveal.stories-DzCw2cHi.js} +1 -1
- package/storybook-static/assets/{ScrollVelocity.stories-Fqg6LSc8.js → ScrollVelocity.stories-BofLpgQE.js} +1 -1
- package/storybook-static/assets/{SearchBar.stories-Cg0kSrHc.js → SearchBar.stories-B5r2LH16.js} +1 -1
- package/storybook-static/assets/{SearchableDropdown-DogKMXhj.js → SearchableDropdown-B6k12izZ.js} +1 -1
- package/storybook-static/assets/{SearchableDropdown.stories-Di_rWviF.js → SearchableDropdown.stories-Bopbhioo.js} +1 -1
- package/storybook-static/assets/{SelectInput-CFam5JrL.js → SelectInput-DRue6-AH.js} +1 -1
- package/storybook-static/assets/{SelectInput.stories-B7ay2ZL3.js → SelectInput.stories-BTJwfB38.js} +1 -1
- package/storybook-static/assets/{ShapeBlur.stories-BcxnlVe4.js → ShapeBlur.stories-DT3G8P3a.js} +1 -1
- package/storybook-static/assets/{ShapeGrid.stories-DAu9WmFu.js → ShapeGrid.stories-DlmncXQS.js} +1 -1
- package/storybook-static/assets/{ShinyText.stories-B_gTwT7Y.js → ShinyText.stories-D2oMmZfL.js} +1 -1
- package/storybook-static/assets/{Silk.stories-CzbXwYWf.js → Silk.stories-Dxqi0p3h.js} +1 -1
- package/storybook-static/assets/{SleepChart.stories-Di_C26sX.js → SleepChart.stories-DotKmS0C.js} +1 -1
- package/storybook-static/assets/{Slider-B9WJhWgF.js → Slider-DeiM0g6-.js} +1 -1
- package/storybook-static/assets/{Slider.stories-BJHwcAMF.js → Slider.stories-D88AA3EG.js} +1 -1
- package/storybook-static/assets/{SoftAurora.stories-kbH9cSpO.js → SoftAurora.stories-BEnpasA2.js} +1 -1
- package/storybook-static/assets/{SoundDemo.stories-B6S10F7a.js → SoundDemo.stories-C11x2srG.js} +1 -1
- package/storybook-static/assets/{SplashCursor.stories-DAxK6t9E.js → SplashCursor.stories-Cwszrlxd.js} +1 -1
- package/storybook-static/assets/{SpotlightCard.stories-CciSkBEv.js → SpotlightCard.stories-DCt3hEip.js} +1 -1
- package/storybook-static/assets/{Stack.stories-DFViIB7q.js → Stack.stories-By_aMVjW.js} +1 -1
- package/storybook-static/assets/{StaggeredMenu.stories-YcuPVZPt.js → StaggeredMenu.stories-eF4uJ1MS.js} +1 -1
- package/storybook-static/assets/{StarBorder.stories-1-Oyd_5O.js → StarBorder.stories-2kJPpjuh.js} +1 -1
- package/storybook-static/assets/{SunburstChart.stories-CZT9Ph7a.js → SunburstChart.stories-DwZaIIku.js} +1 -1
- package/storybook-static/assets/{Table.stories-C4M5zwtP.js → Table.stories-pZd9DvuZ.js} +1 -1
- package/storybook-static/assets/{Tabs.stories-DNaVR-eu.js → Tabs.stories-DQtCc0JU.js} +1 -1
- package/storybook-static/assets/{TargetCursor.stories-N4remRSz.js → TargetCursor.stories-KNijJURB.js} +1 -1
- package/storybook-static/assets/{TextArea-CeqAZ5AD.js → TextArea-BsBttKqQ.js} +1 -1
- package/storybook-static/assets/{TextArea.stories-B04MM0KP.js → TextArea.stories-oB8MzoXg.js} +1 -1
- package/storybook-static/assets/{TextCursor.stories-BLN2feY_.js → TextCursor.stories-D67PSwe-.js} +1 -1
- package/storybook-static/assets/{TextInput-DCOr-Btn.js → TextInput-CjoPiwWi.js} +1 -1
- package/storybook-static/assets/{TextInput.stories-BQwVwClB.js → TextInput.stories-B8VwO9KM.js} +1 -1
- package/storybook-static/assets/{TextPressure.stories-Q4lRye5j.js → TextPressure.stories-0-6_dNGJ.js} +1 -1
- package/storybook-static/assets/{TextType.stories-Cn3KiZYs.js → TextType.stories-D7wi-Xoy.js} +1 -1
- package/storybook-static/assets/{ThemeSwitcher.stories--EaDJTJ0.js → ThemeSwitcher.stories-DEUFGF9B.js} +1 -1
- package/storybook-static/assets/{Threads.stories-CgVgk4xS.js → Threads.stories-BYTbEuF6.js} +1 -1
- package/storybook-static/assets/{TimeInput.stories-DC3oRpuG.js → TimeInput.stories-_1M5i4X_.js} +1 -1
- package/storybook-static/assets/{Toggle-DviTJSME.js → Toggle-CaV_CmDs.js} +1 -1
- package/storybook-static/assets/{Toggle.stories-B-kk79ff.js → Toggle.stories-DBdNHwn1.js} +1 -1
- package/storybook-static/assets/{ToggleButton-D-6-qBo1.js → ToggleButton-jv6c5ezW.js} +1 -1
- package/storybook-static/assets/{ToggleButton.stories-B2jNcd_g.js → ToggleButton.stories-D6AsjlA7.js} +1 -1
- package/storybook-static/assets/{TrueFocus.stories-CznLWB93.js → TrueFocus.stories-CKc72PLP.js} +1 -1
- package/storybook-static/assets/{VariableProximity.stories-DF54x2j1.js → VariableProximity.stories-fbDCLDLp.js} +1 -1
- package/storybook-static/assets/{Waves.stories-TgNpPUFH.js → Waves.stories-C_VysexU.js} +1 -1
- package/storybook-static/assets/{check-Clr1SyVQ.js → check-CV4xXNXR.js} +1 -1
- package/storybook-static/assets/{chevron-down-9dE_f7KJ.js → chevron-down-CkJFLecG.js} +1 -1
- package/storybook-static/assets/{chevron-right-BoBXGDdh.js → chevron-right-BpRTWC1z.js} +1 -1
- package/storybook-static/assets/client-Cor4ozso.js +1 -0
- package/storybook-static/assets/{createLucideIcon-BYma-pZP.js → createLucideIcon-CltDwvOP.js} +1 -1
- package/storybook-static/assets/{download-CZActf1i.js → download-SJcs72V4.js} +1 -1
- package/storybook-static/assets/{folder-hxUWwa0z.js → folder-6SjOmErA.js} +1 -1
- package/storybook-static/assets/{iconBase-nw2ic-VZ.js → iconBase-DtvD0saU.js} +1 -1
- package/storybook-static/assets/{iframe-DeUB-sow.js → iframe-Bipsh9dY.js} +3 -3
- package/storybook-static/assets/{index-Ddbt8J-4.js → index-BEA1mHaT.js} +1 -1
- package/storybook-static/assets/{index-BouVZTao.js → index-CTm0VtvQ.js} +1 -1
- package/storybook-static/assets/{index-B91nm_hV.js → index-Cia0c3io.js} +1 -1
- package/storybook-static/assets/{proxy-CGOWLFI9.js → proxy-D9bljBhB.js} +1 -1
- package/storybook-static/assets/{react-18-aOUg2FhO.js → react-18-JTQzpdif.js} +1 -1
- package/storybook-static/assets/{react-three-fiber.esm-CEXLtOZY.js → react-three-fiber.esm-Dc5EQDgd.js} +1 -1
- package/storybook-static/assets/{search-B02YiHrH.js → search-DH8smCRL.js} +1 -1
- package/storybook-static/assets/{settings-KaeFuAWM.js → settings-D99Exe-t.js} +1 -1
- package/storybook-static/assets/{sun-Byq_SlmS.js → sun-B6fJHO8-.js} +1 -1
- package/storybook-static/assets/{trash-2-k8BZtDWO.js → trash-2-Bc-vtAZE.js} +1 -1
- package/storybook-static/assets/{use-animation-frame-smxOqIvj.js → use-animation-frame-CD6uZr8a.js} +1 -1
- package/storybook-static/assets/{use-in-view-BcwWANRX.js → use-in-view-DrFhenAa.js} +1 -1
- package/storybook-static/assets/{use-motion-value-StM-uKCi.js → use-motion-value-wsIqdv-r.js} +1 -1
- package/storybook-static/assets/{use-spring-P5hwkYBq.js → use-spring-C6saxCCT.js} +1 -1
- package/storybook-static/assets/{use-transform-D3sLak7o.js → use-transform-DuAStHvG.js} +1 -1
- package/storybook-static/assets/{useSound-K12Qio3c.js → useSound-BwsWxODM.js} +1 -1
- package/storybook-static/assets/{users-_rOO1DQg.js → users-GH_nMWDP.js} +1 -1
- package/storybook-static/assets/{x-jCtIZ166.js → x-DwbjixG_.js} +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/project.json +1 -1
- package/storybook-static/assets/Navbar.stories-BORRPKgI.js +0 -186
- package/storybook-static/assets/client-fkBkqlp7.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{R as Su,a as Na,P as La,S as Ma,b as Yl,V as Ta,c as Ia,B as Oa,N as ja,A as Fa,W as Da,C as Ua,d as wu,e as jn,f as Ha,L as Kl,g as Aa,U as Ba,T as Wa}from"./three.module--_vTUKhS.js";import{r as B,g as Qa,j as je}from"./iframe-
|
|
1
|
+
import{R as Su,a as Na,P as La,S as Ma,b as Yl,V as Ta,c as Ia,B as Oa,N as ja,A as Fa,W as Da,C as Ua,d as wu,e as jn,f as Ha,L as Kl,g as Aa,U as Ba,T as Wa}from"./three.module--_vTUKhS.js";import{r as B,g as Qa,j as je}from"./iframe-Bipsh9dY.js";var Eu={exports:{}},Wt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-reconciler-constants.production.min.js
|
|
4
4
|
*
|
package/storybook-static/assets/{use-animation-frame-smxOqIvj.js → use-animation-frame-CD6uZr8a.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./iframe-
|
|
1
|
+
import{r as e}from"./iframe-Bipsh9dY.js";import{V as a,f as u,I as c}from"./MotionConfigContext-BgQoFUhc.js";function p(r){const t=e.useRef(0),{isStatic:o}=e.useContext(a);e.useEffect(()=>{if(o)return;const n=({timestamp:i,delta:s})=>{t.current||(t.current=i),r(i-t.current,s)};return u.update(n,!0),()=>c(n)},[r])}export{p as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as g}from"./iframe-
|
|
1
|
+
import{r as g}from"./iframe-Bipsh9dY.js";import{H as p}from"./MotionConfigContext-BgQoFUhc.js";const E={some:0,all:1};function I(s,r,{root:c,margin:f,amount:t="some"}={}){const a=p(s),n=new WeakMap,u=i=>{i.forEach(e=>{const l=n.get(e.target);if(e.isIntersecting!==!!l)if(e.isIntersecting){const d=r(e.target,e);typeof d=="function"?n.set(e.target,d):o.unobserve(e.target)}else typeof l=="function"&&(l(e),n.delete(e.target))})},o=new IntersectionObserver(u,{root:c,rootMargin:f,threshold:typeof t=="number"?t:E[t]});return a.forEach(i=>o.observe(i)),()=>o.disconnect()}function m(s,{root:r,margin:c,amount:f,once:t=!1,initial:a=!1}={}){const[n,u]=g.useState(a);return g.useEffect(()=>{if(!s.current||t&&n)return;const o=()=>(u(!0),t?void 0:()=>u(!1)),i={root:r&&r.current||void 0,margin:c,amount:f};return I(s.current,o,i)},[r,s,c,t,f]),n}export{m as u};
|
package/storybook-static/assets/{use-motion-value-StM-uKCi.js → use-motion-value-wsIqdv-r.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./iframe-
|
|
1
|
+
import{r as t}from"./iframe-Bipsh9dY.js";import{U as a,V as u,o as r}from"./MotionConfigContext-BgQoFUhc.js";function i(o){const e=a(()=>r(o)),{isStatic:s}=t.useContext(u);if(s){const[,n]=t.useState(o);t.useEffect(()=>e.on("change",n),[])}return e}export{i as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as g}from"./iframe-
|
|
1
|
+
import{r as g}from"./iframe-Bipsh9dY.js";import{f as h,q as y,J as x,V as A}from"./MotionConfigContext-BgQoFUhc.js";import{u as C}from"./use-motion-value-wsIqdv-r.js";import{u as F}from"./use-transform-DuAStHvG.js";function k(t,e,a={}){const r=t.get();let n=null,c=r,l;const u=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,f=()=>{n&&(n.stop(),n=null),t.animation=void 0},V=()=>{const o=d(t.get()),i=d(c);if(o===i){f();return}const s=n?n.getGeneratorVelocity():t.getVelocity();f(),n=new x({keyframes:[o,i],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...a,onUpdate:l})},S=()=>{var o;V(),t.animation=n??void 0,(o=t.events.animationStart)==null||o.notify(),n==null||n.then(()=>{var i;t.animation=void 0,(i=t.events.animationComplete)==null||i.notify()})};if(t.attach((o,i)=>{c=o,l=s=>i(m(s,u)),h.postRender(S)},f),y(e)){let o=a.skipInitialAnimation===!0;const i=e.on("change",p=>{o?(o=!1,t.jump(m(p,u),!1)):t.set(m(p,u))}),s=t.on("destroy",i);return()=>{i(),s()}}return f}function m(t,e){return e?t+e:t}function d(t){return typeof t=="number"?t:parseFloat(t)}function w(t,e={}){const{isStatic:a}=g.useContext(A),r=()=>y(t)?t.get():t;if(a)return F(r);const n=C(r());return g.useInsertionEffect(()=>k(n,t,e),[n,JSON.stringify(e)]),n}function b(t,e={}){return w(t,{type:"spring",...e})}export{b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as d,u as A,f as h,I as V,Z as f,U as l}from"./MotionConfigContext-
|
|
1
|
+
import{Y as d,u as A,f as h,I as V,Z as f,U as l}from"./MotionConfigContext-BgQoFUhc.js";import{u as k}from"./use-motion-value-wsIqdv-r.js";function C(...e){const s=!Array.isArray(e[0]),t=s?0:-1,r=e[0+t],c=e[1+t],u=e[2+t],n=e[3+t],o=d(c,u,n);return s?o(r):o}function i(e,s){const t=k(s()),r=()=>t.set(s());return r(),A(()=>{const c=()=>h.preRender(r,!1,!0),u=e.map(n=>n.on("change",c));return()=>{u.forEach(n=>n()),V(r)}}),t}function I(e){f.current=[],e();const s=i(f.current,e);return f.current=void 0,s}function b(e,s,t,r){if(typeof e=="function")return I(e);if(t!==void 0&&!Array.isArray(t)&&typeof s!="function")return E(e,s,t,r);const n=typeof s=="function"?s:C(s,t,r),o=Array.isArray(e)?y(e,n):y([e],([m])=>n(m)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&typeof s!="function"&&Array.isArray(t)&&(r==null?void 0:r.clamp)!==!1&&(o.accelerate={...a,times:s,keyframes:t,isTransformed:!0,...r!=null&&r.ease?{ease:r.ease}:{}}),o}function y(e,s){const t=l(()=>[]);return i(e,()=>{t.length=0;const r=e.length;for(let c=0;c<r;c++)t[c]=e[c].get();return s(t)})}function E(e,s,t,r){const c=l(()=>Object.keys(t)),u=l(()=>({}));for(const n of c)u[n]=b(e,s,t[n],r);return u}export{b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./iframe-
|
|
1
|
+
import{r as s}from"./iframe-Bipsh9dY.js";const d={digital:{click:{tones:[{freq:440,duration:.1,type:"sine",volume:.4}]},hover:{tones:[{freq:880,duration:.04,type:"sine",volume:.3}]},success:{tones:[{freq:523.25,duration:.15,type:"sine",delay:0},{freq:659.25,duration:.15,type:"sine",delay:.1},{freq:783.99,duration:.2,type:"sine",delay:.2}]},error:{tones:[{freq:329.63,duration:.2,type:"sawtooth",volume:.4},{freq:246.94,duration:.25,type:"sawtooth",volume:.3,delay:.15}]},warning:{tones:[{freq:554.37,duration:.15,type:"triangle"},{freq:554.37,duration:.15,type:"triangle",delay:.2}]},toggle:{tones:[{freq:493.88,duration:.12,type:"sine"},{freq:587.33,duration:.1,type:"sine",delay:.08}]},type:{tones:[{freq:()=>800+Math.random()*400,duration:.08,type:"square",volume:.5},{freq:1600,duration:.03,type:"sine",volume:.3,delay:.02}]},delete:{tones:[{freq:350,duration:.08,type:"triangle",volume:.3}]},celebration:{tones:[{freq:523.25,duration:.2,type:"sine",delay:0},{freq:659.25,duration:.2,type:"sine",delay:.15},{freq:783.99,duration:.2,type:"sine",delay:.3},{freq:1046.5,duration:.3,type:"sine",delay:.45}]},milestone:{tones:[{freq:698.46,duration:.2,type:"triangle"},{freq:880,duration:.25,type:"triangle",delay:.15}]}},fantasy:{click:{tones:[{freq:1174.66,duration:.15,type:"triangle",volume:.3},{freq:1567.98,duration:.1,type:"sine",volume:.2,delay:.05},{freq:2093,duration:.08,type:"sine",volume:.15,delay:.08}]},hover:{tones:[{freq:2637.02,duration:.03,type:"sine",volume:.2},{freq:3135.96,duration:.025,type:"sine",volume:.15,delay:.02}]},success:{tones:[{freq:523.25,duration:.2,type:"triangle",delay:0},{freq:659.25,duration:.2,type:"triangle",delay:.15},{freq:783.99,duration:.2,type:"triangle",delay:.3},{freq:1046.5,duration:.35,type:"sine",delay:.45},{freq:1318.51,duration:.15,type:"sine",volume:.3,delay:.6}]},error:{tones:[{freq:138.59,duration:.3,type:"sawtooth",volume:.4},{freq:103.83,duration:.4,type:"sawtooth",volume:.3,delay:.2},{freq:87.31,duration:.2,type:"triangle",volume:.2,delay:.4}]},warning:{tones:[{freq:466.16,duration:.2,type:"triangle",volume:.5},{freq:622.25,duration:.15,type:"sine",delay:.15},{freq:466.16,duration:.2,type:"triangle",volume:.4,delay:.25}]},toggle:{tones:[{freq:698.46,duration:.15,type:"sine"},{freq:1046.5,duration:.12,type:"triangle",delay:.1},{freq:1396.91,duration:.08,type:"sine",volume:.3,delay:.18}]},type:{tones:[{freq:()=>2e3+Math.random()*500,duration:.04,type:"triangle",volume:.3},{freq:()=>3e3+Math.random()*200,duration:.02,type:"sine",volume:.2,delay:.01}]},delete:{tones:[{freq:880,duration:.1,type:"triangle",volume:.3},{freq:440,duration:.08,type:"sine",volume:.2,delay:.05}]},celebration:{tones:[{freq:392,duration:.25,type:"triangle",delay:0},{freq:523.25,duration:.25,type:"triangle",delay:.2},{freq:659.25,duration:.25,type:"triangle",delay:.4},{freq:783.99,duration:.25,type:"sine",delay:.6},{freq:1046.5,duration:.4,type:"sine",delay:.8},{freq:1318.51,duration:.2,type:"sine",volume:.4,delay:1}]},milestone:{tones:[{freq:523.25,duration:.2,type:"triangle"},{freq:783.99,duration:.2,type:"triangle",delay:.15},{freq:1046.5,duration:.3,type:"sine",delay:.3}]}},retro:{click:{tones:[{freq:800,duration:.05,type:"square",volume:.4},{freq:400,duration:.03,type:"square",volume:.3,delay:.03}]},hover:{tones:[{freq:1200,duration:.03,type:"square",volume:.2}]},success:{tones:[{freq:440,duration:.1,type:"square",delay:0},{freq:554.37,duration:.1,type:"square",delay:.1},{freq:659.25,duration:.1,type:"square",delay:.2},{freq:880,duration:.2,type:"square",delay:.3}]},error:{tones:[{freq:200,duration:.3,type:"square",volume:.5},{freq:150,duration:.4,type:"square",volume:.4,delay:.2}]},warning:{tones:[{freq:600,duration:.1,type:"square"},{freq:600,duration:.1,type:"square",delay:.15},{freq:600,duration:.1,type:"square",delay:.3}]},toggle:{tones:[{freq:400,duration:.08,type:"square"},{freq:800,duration:.08,type:"square",delay:.06}]},type:{tones:[{freq:()=>500+Math.random()*100,duration:.04,type:"square",volume:.3}]},delete:{tones:[{freq:300,duration:.06,type:"square",volume:.3}]},celebration:{tones:[{freq:659.25,duration:.1,type:"square",delay:0},{freq:783.99,duration:.1,type:"square",delay:.1},{freq:987.77,duration:.1,type:"square",delay:.2},{freq:1318.51,duration:.3,type:"square",delay:.3}]},milestone:{tones:[{freq:523.25,duration:.15,type:"square"},{freq:1046.5,duration:.2,type:"square",delay:.1}]}},minimal:{click:{tones:[{freq:1e3,duration:.03,type:"sine",volume:.3}]},hover:{tones:[{freq:1500,duration:.02,type:"sine",volume:.15}]},success:{tones:[{freq:800,duration:.15,type:"sine",volume:.3},{freq:1200,duration:.1,type:"sine",volume:.2,delay:.1}]},error:{tones:[{freq:300,duration:.2,type:"sine",volume:.3}]},warning:{tones:[{freq:600,duration:.15,type:"sine",volume:.35}]},toggle:{tones:[{freq:700,duration:.08,type:"sine",volume:.3}]},type:{tones:[{freq:1800,duration:.02,type:"sine",volume:.2}]},delete:{tones:[{freq:400,duration:.05,type:"sine",volume:.25}]},celebration:{tones:[{freq:800,duration:.2,type:"sine",volume:.3},{freq:1200,duration:.2,type:"sine",volume:.25,delay:.15}]},milestone:{tones:[{freq:1e3,duration:.2,type:"sine",volume:.3}]}},mechanical:{click:{tones:[{freq:4e3,duration:.01,type:"square",volume:.3},{freq:800,duration:.04,type:"sawtooth",volume:.4,delay:.01},{freq:200,duration:.03,type:"triangle",volume:.2,delay:.02}]},hover:{tones:[{freq:3e3,duration:.02,type:"sawtooth",volume:.1}]},success:{tones:[{freq:200,duration:.05,type:"sawtooth",delay:0},{freq:400,duration:.05,type:"sawtooth",delay:.05},{freq:600,duration:.05,type:"sawtooth",delay:.1},{freq:800,duration:.15,type:"triangle",delay:.15}]},error:{tones:[{freq:150,duration:.2,type:"sawtooth",volume:.5},{freq:100,duration:.15,type:"square",volume:.3,delay:.1},{freq:80,duration:.1,type:"sawtooth",volume:.2,delay:.2}]},warning:{tones:[{freq:800,duration:.3,type:"sawtooth",volume:.4},{freq:1200,duration:.2,type:"triangle",volume:.3,delay:0}]},toggle:{tones:[{freq:600,duration:.02,type:"square",volume:.5},{freq:300,duration:.05,type:"triangle",delay:.02},{freq:150,duration:.03,type:"sawtooth",volume:.3,delay:.05}]},type:{tones:[{freq:()=>3e3+Math.random()*1e3,duration:.01,type:"square",volume:.4},{freq:()=>400+Math.random()*200,duration:.03,type:"sawtooth",volume:.3,delay:.01}]},delete:{tones:[{freq:250,duration:.08,type:"sawtooth",volume:.35}]},celebration:{tones:[{freq:100,duration:.1,type:"sawtooth",delay:0},{freq:200,duration:.1,type:"sawtooth",delay:.1},{freq:400,duration:.1,type:"sawtooth",delay:.2},{freq:800,duration:.1,type:"triangle",delay:.3},{freq:1200,duration:.2,type:"sine",delay:.4}]},milestone:{tones:[{freq:3e3,duration:.05,type:"sawtooth",volume:.3},{freq:1e3,duration:.15,type:"triangle",delay:.05},{freq:500,duration:.1,type:"sine",delay:.15}]}}};class l{constructor(){this.audioContext=null,this.config={enabled:!1,volume:.5,soundPack:"digital"},this.init()}static getInstance(){return l.instance||(l.instance=new l),l.instance}init(){try{this.audioContext=null}catch(e){console.warn("Audio not supported:",e),this.config.enabled=!1}}ensureAudioContext(){if(!this.audioContext&&this.config.enabled)try{this.audioContext=new(window.AudioContext||window.webkitAudioContext)}catch(e){console.warn("Could not create audio context:",e),this.config.enabled=!1}}playTone(e,t,a="sine",r,f=0){if(!this.config.enabled||(this.ensureAudioContext(),!this.audioContext))return;const q=(r??this.config.volume??.5)*.2;try{const n=this.audioContext.createOscillator(),i=this.audioContext.createGain();n.connect(i),i.connect(this.audioContext.destination),n.frequency.value=e,n.type=a;const u=this.audioContext.currentTime+f;i.gain.setValueAtTime(0,u),i.gain.linearRampToValueAtTime(q,u+.01),i.gain.exponentialRampToValueAtTime(.001,u+t),n.start(u),n.stop(u+t)}catch(n){console.debug("Could not play sound:",n)}}playFromDefinition(e){e.tones.forEach(t=>{const a=typeof t.freq=="function"?t.freq():t.freq;this.playTone(a,t.duration,t.type,t.volume,t.delay||0)})}play(e){if(!this.config.enabled)return;const a=d[this.config.soundPack||"digital"][e];if(a)this.playFromDefinition(a);else{const r=d.digital[e];r&&this.playFromDefinition(r)}}celebration(){if(!this.config.enabled)return;const e=d[this.config.soundPack||"digital"];this.playFromDefinition(e.celebration)}milestone(){if(!this.config.enabled)return;const e=d[this.config.soundPack||"digital"];this.playFromDefinition(e.milestone)}configure(e){this.config={...this.config,...e}}getConfig(){return this.config}setVolume(e){this.config.volume=Math.max(0,Math.min(1,e))}setEnabled(e){this.config.enabled=e,e&&this.ensureAudioContext()}setSoundPack(e){this.config.soundPack=e}getSoundPack(){return this.config.soundPack||"digital"}isEnabled(){return this.config.enabled||!1}getAvailablePacks(){return["digital","fantasy","retro","minimal","mechanical"]}}const y=l.getInstance();function p(o){const e=s.useRef({}),t=50;s.useEffect(()=>{},[o==null?void 0:o.enabled,o==null?void 0:o.volume]);const a=s.useCallback(n=>{const i=Date.now(),u=e.current[n]||0;i-u>t&&(y.play(n),e.current[n]=i)},[t]),r=s.useCallback(()=>y.isEnabled(),[]),f=s.useCallback(n=>y.setEnabled(n),[]),q=s.useCallback(n=>y.setVolume(n),[]);return{playSound:a,isEnabled:r,setEnabled:f,setVolume:q}}function m(o,e){const{playSound:t}=p(e),a={};return o!=null&&o.onClick&&(a.onClick=()=>{const r=typeof o.onClick=="string"?o.onClick:"click";t(r)}),o!=null&&o.onHover&&(a.onMouseEnter=()=>{const r=typeof o.onHover=="string"?o.onHover:"hover";t(r)}),{handlers:a,playSound:t}}export{y as s,m as u};
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
}
|
|
536
536
|
</style>
|
|
537
537
|
|
|
538
|
-
<script type="module" crossorigin src="./assets/iframe-
|
|
538
|
+
<script type="module" crossorigin src="./assets/iframe-Bipsh9dY.js"></script>
|
|
539
539
|
<link rel="modulepreload" crossorigin href="./assets/preload-helper-C1FmrZbK.js">
|
|
540
540
|
<link rel="stylesheet" crossorigin href="./assets/iframe-CU5nRRrn.css">
|
|
541
541
|
</head>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1776165430798,"userSince":1751553154248,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@chromatic-com/storybook":"4.1.0","@testing-library/jest-dom":"6.9.1","@testing-library/react":"16.3.2","@testing-library/user-event":null,"vitest":"4.1.4"},"hasRouterPackage":true,"packageManager":{"type":"npm","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":0,"storybookVersion":"9.1.2","language":"typescript","storybookPackages":{"@chromatic-com/storybook":{"version":"4.1.0"},"@storybook/addon-docs":{"version":"9.1.2"},"@storybook/addon-onboarding":{"version":"9.1.2"},"@storybook/react-vite":{"version":"9.1.2"},"eslint-plugin-storybook":{"version":"9.1.2"},"storybook":{"version":"9.1.2"}},"addons":{"@storybook/addon-links":{"version":"9.1.2"}}}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import{r as v,j as e}from"./iframe-DeUB-sow.js";import{u as de}from"./useSound-K12Qio3c.js";import{m as i}from"./proxy-CGOWLFI9.js";import{X as ve}from"./x-jCtIZ166.js";import{c as l}from"./createLucideIcon-BYma-pZP.js";import{A as P}from"./index-B91nm_hV.js";import{F as K}from"./folder-hxUWwa0z.js";import{U as $}from"./users-_rOO1DQg.js";import{S as Z}from"./settings-KaeFuAWM.js";import{S as me}from"./search-B02YiHrH.js";import"./preload-helper-C1FmrZbK.js";import"./MotionConfigContext-gtuPlUge.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 ue=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ge=l("circle-question-mark",ue);/**
|
|
7
|
-
* @license lucide-react v0.539.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const pe=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],be=l("heart",pe);/**
|
|
12
|
-
* @license lucide-react v0.539.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const _e=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],S=l("house",_e);/**
|
|
17
|
-
* @license lucide-react v0.539.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const he=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ye=l("layers",he);/**
|
|
22
|
-
* @license lucide-react v0.539.0 - ISC
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the ISC license.
|
|
25
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const xe=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],fe=l("mail",xe);/**
|
|
27
|
-
* @license lucide-react v0.539.0 - ISC
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the ISC license.
|
|
30
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const Ne=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],ke=l("menu",Ne);/**
|
|
32
|
-
* @license lucide-react v0.539.0 - ISC
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the ISC license.
|
|
35
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const we=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],Ie=l("shopping-cart",we);/**
|
|
37
|
-
* @license lucide-react v0.539.0 - ISC
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the ISC license.
|
|
40
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const je=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Te=l("trending-up",je),Me="_navbar_1cr4i_1",$e="_navbarSidebar_1cr4i_12",Se="_navbarTop_1cr4i_24",qe="_navList_1cr4i_35",Le="_navItem_1cr4i_41",Ce="_navbarMinimal_1cr4i_46",Ae="_navLogo_1cr4i_59",Be="_logoContainer_1cr4i_68",Pe="_logoImage_1cr4i_74",Ee="_logoPlaceholder_1cr4i_81",Fe="_logoContent_1cr4i_94",Oe="_logoText_1cr4i_99",He="_logoSubtitle_1cr4i_106",ze="_subNavItem_1cr4i_133",Re="_navLink_1cr4i_137",De="_activeBackground_1cr4i_155",Ue="_navIcon_1cr4i_166",Ve="_activeIcon_1cr4i_175",Ye="_navText_1cr4i_178",Xe="_activeText_1cr4i_186",We="_navBadge_1cr4i_189",Qe="_chevron_1cr4i_201",Ge="_subNavList_1cr4i_210",Je="_navFooter_1cr4i_223",Ke="_mobileMenuButton_1cr4i_229",Ze="_mobileBackdrop_1cr4i_256",en="_mobileMenuOpen_1cr4i_276",nn={navbar:Me,navbarSidebar:$e,navbarTop:Se,navList:qe,navItem:Le,navbarMinimal:Ce,navLogo:Ae,logoContainer:Be,logoImage:Pe,logoPlaceholder:Ee,logoContent:Fe,logoText:Oe,logoSubtitle:He,subNavItem:ze,navLink:Re,activeBackground:De,navIcon:Ue,activeIcon:Ve,navText:Ye,activeText:Xe,navBadge:We,chevron:Qe,subNavList:Ge,navFooter:Je,mobileMenuButton:Ke,mobileBackdrop:Ze,mobileMenuOpen:en},an="_navbar_cwgqa_4",tn="_navLogo_cwgqa_20",on="_logoContainer_cwgqa_24",sn="_logoImage_cwgqa_30",rn="_logoPlaceholder_cwgqa_37",cn="_logoContent_cwgqa_50",ln="_logoText_cwgqa_55",dn="_logoSubtitle_cwgqa_62",vn="_mobileMenuButton_cwgqa_67",mn="_menuOpen_cwgqa_82",un="_mobileBackdrop_cwgqa_87",gn="_navList_cwgqa_108",pn="_navItem_cwgqa_120",bn="_subNavItem_cwgqa_125",_n="_navLink_cwgqa_129",hn="_active_cwgqa_152",yn="_activeBackground_cwgqa_156",xn="_navIcon_cwgqa_160",fn="_activeIcon_cwgqa_169",Nn="_navText_cwgqa_173",kn="_activeText_cwgqa_179",wn="_navBadge_cwgqa_183",In="_chevron_cwgqa_194",jn="_subNavList_cwgqa_195",Tn="_navActions_cwgqa_200",Mn="_navFooter_cwgqa_207",$n="_navbarSidebar_cwgqa_211",Sn="_navbarTop_cwgqa_214",qn="_navbarMinimal_cwgqa_217",Ln="_mobileMenuOpen_cwgqa_220",Cn={navbar:an,navLogo:tn,logoContainer:on,logoImage:sn,logoPlaceholder:rn,logoContent:cn,logoText:ln,logoSubtitle:dn,mobileMenuButton:vn,menuOpen:mn,mobileBackdrop:un,navList:gn,navItem:pn,subNavItem:bn,navLink:_n,active:hn,activeBackground:yn,navIcon:xn,activeIcon:fn,navText:Nn,activeText:kn,navBadge:wn,chevron:In,subNavList:jn,navActions:Tn,navFooter:Mn,navbarSidebar:$n,navbarTop:Sn,navbarMinimal:qn,mobileMenuOpen:Ln},ee=({items:_,logo:t,onItemClick:L,variant:m="sidebar",isMobile:c=!1,footer:h,className:j="",soundConfig:ne,colorfulIcons:ae=!1})=>{var A,B;const y=ae?"true":void 0,a=v.useMemo(()=>c?Cn:nn,[c]),[d,u]=v.useState(!1),[te,oe]=v.useState(new Set),{handlers:g,playSound:T}=de(ne);v.useEffect(()=>{c||u(!1)},[c]);const p=v.useRef(null);v.useEffect(()=>{if(!c)return;const n=s=>{const r=s.touches[0];r.clientX<30&&(p.current={x:r.clientX,y:r.clientY})},o=s=>{if(!p.current)return;const r=s.changedTouches[0],b=r.clientX-p.current.x,x=Math.abs(r.clientY-p.current.y);p.current=null,b>60&&x<b&&(u(!0),T("toggle"))};return document.addEventListener("touchstart",n,{passive:!0}),document.addEventListener("touchend",o,{passive:!0}),()=>{document.removeEventListener("touchstart",n),document.removeEventListener("touchend",o)}},[c,T]),v.useEffect(()=>{if(d){const n=window.scrollY;document.body.style.position="fixed",document.body.style.top=`-${n}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.overflow="hidden"}else{const n=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.overflow="",n&&window.scrollTo(0,parseInt(n,10)*-1)}return()=>{document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.overflow=""}},[d]);const ie=()=>{T("toggle"),u(!d)},se=n=>{oe(o=>{const s=new Set(o);return s.has(n)?s.delete(n):s.add(n),s})},re=n=>{var o;(o=g.onClick)==null||o.call(g),n.children&&n.children.length>0?se(n.id):(n.onClick&&n.onClick(),L&&L(n),(c||d)&&u(!1))},M=(n,o,s=0)=>{const r=n.icon,b=te.has(n.id),x=n.children&&n.children.length>0;return e.jsxs(i.li,{className:`${a.navItem} ${s>0?a.subNavItem:""}`,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:o*.05},children:[e.jsxs(i.button,{className:`${a.navLink} ${n.isActive?a.active:""}`,onClick:()=>re(n),onMouseEnter:g.onMouseEnter,whileHover:{x:5},whileTap:{scale:.98},children:[n.isActive&&e.jsx(i.div,{className:a.activeBackground,layoutId:"activeNavBackground",initial:!1,transition:{type:"spring",stiffness:500,damping:35}}),r&&e.jsx(r,{className:`${a.navIcon} ${n.isActive?a.activeIcon:""}`}),e.jsx("span",{className:`${a.navText} ${n.isActive?a.activeText:""}`,children:n.label}),n.badge&&e.jsx("span",{className:a.navBadge,children:n.badge}),x&&e.jsx(i.span,{className:a.chevron,animate:{rotate:b?180:0},transition:{duration:.2},children:"▼"})]}),x&&e.jsx(P,{children:b&&e.jsx(i.ul,{className:a.subNavList,initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:n.children.map((ce,le)=>M(ce,le,s+1))})})]},n.id)},C=e.jsxs(e.Fragment,{children:[t&&e.jsx(i.div,{className:a.navLogo,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{delay:.1},children:e.jsxs("div",{className:a.logoContainer,children:[t.src?e.jsx(i.img,{src:t.src,alt:t.alt||"Logo",className:a.logoImage,onMouseEnter:g.onMouseEnter,whileHover:{scale:1.05},transition:{type:"spring",stiffness:400}}):e.jsx("div",{className:a.logoPlaceholder,children:((A=t.text)==null?void 0:A.charAt(0))||"L"}),(t.text||t.subtitle)&&e.jsxs("div",{className:a.logoContent,children:[t.text&&e.jsx("span",{className:a.logoText,children:t.text}),t.subtitle&&e.jsx("span",{className:a.logoSubtitle,children:t.subtitle})]})]})}),e.jsx("ul",{className:a.navList,children:_.map((n,o)=>M(n,o))}),h&&e.jsx(i.div,{className:a.navFooter,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},children:h})]});return m==="top"?e.jsx(i.nav,{className:`${a.navbar} ${a.navbarTop} ${j}`,"data-colored-icons":y,initial:{y:-100},animate:{y:0},transition:{type:"spring",stiffness:300,damping:30},children:C}):c?e.jsxs(e.Fragment,{children:[e.jsxs("nav",{className:`${a.navbar} ${j}`,"data-colored-icons":y,children:[t&&e.jsx("div",{className:a.navLogo,children:e.jsxs("div",{className:a.logoContainer,children:[t.src?e.jsx("img",{src:t.src,alt:t.alt||"Logo",className:a.logoImage}):e.jsx("div",{className:a.logoPlaceholder,children:((B=t.text)==null?void 0:B.charAt(0))||"L"}),t.text&&e.jsx("div",{className:a.logoContent,children:e.jsx("span",{className:a.logoText,children:t.text})})]})}),e.jsxs("div",{className:a.navActions,children:[h&&e.jsx("div",{className:a.navFooter,children:h}),e.jsx("button",{className:`${a.mobileMenuButton} ${d?a.menuOpen:""}`,onClick:ie,"aria-label":"Toggle navigation menu",children:d?e.jsx(ve,{}):e.jsx(ke,{})})]})]}),e.jsx(P,{children:d&&e.jsx(i.div,{className:a.mobileBackdrop,"data-colored-icons":y,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:()=>u(!1),children:e.jsx(i.div,{initial:{y:-20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.2},onClick:n=>n.stopPropagation(),children:e.jsx("ul",{className:a.navList,children:_.map((n,o)=>M(n,o))})})})})]}):e.jsx(e.Fragment,{children:e.jsx(i.nav,{className:`${a.navbar} ${a[`navbar${m.charAt(0).toUpperCase()+m.slice(1)}`]} ${j}`,"data-colored-icons":y,initial:m==="sidebar"?{x:-300}:{opacity:0},animate:m==="sidebar"?{x:0}:{opacity:1},transition:{type:"spring",stiffness:300,damping:30},children:C})})};ee.__docgenInfo={description:"",methods:[],displayName:"Navbar",props:{items:{required:!0,tsType:{name:"Array",elements:[{name:"NavItem"}],raw:"NavItem[]"},description:""},logo:{required:!1,tsType:{name:"signature",type:"object",raw:`{
|
|
42
|
-
src?: string;
|
|
43
|
-
alt?: string;
|
|
44
|
-
text?: string;
|
|
45
|
-
subtitle?: string;
|
|
46
|
-
}`,signature:{properties:[{key:"src",value:{name:"string",required:!1}},{key:"alt",value:{name:"string",required:!1}},{key:"text",value:{name:"string",required:!1}},{key:"subtitle",value:{name:"string",required:!1}}]}},description:""},onItemClick:{required:!1,tsType:{name:"signature",type:"function",raw:"(item: NavItem) => void",signature:{arguments:[{type:{name:"NavItem"},name:"item"}],return:{name:"void"}}},description:""},variant:{required:!1,tsType:{name:"union",raw:"'sidebar' | 'top' | 'minimal'",elements:[{name:"literal",value:"'sidebar'"},{name:"literal",value:"'top'"},{name:"literal",value:"'minimal'"}]},description:"",defaultValue:{value:"'sidebar'",computed:!1}},isMobile:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},footer:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"''",computed:!1}},soundConfig:{required:!1,tsType:{name:"ComponentSoundConfig"},description:""},colorfulIcons:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}}}};const Yn={title:"Organisms/Navbar",component:ee,parameters:{layout:"fullscreen"},argTypes:{variant:{control:{type:"select"},options:["sidebar","top","minimal"]},isMobile:{control:{type:"boolean"}}}},q=[{id:"home",label:"Home",icon:S,isActive:!0},{id:"projects",label:"Projects",icon:K,badge:3},{id:"team",label:"Team",icon:$},{id:"settings",label:"Settings",icon:Z,children:[{id:"profile",label:"Profile"},{id:"account",label:"Account"},{id:"security",label:"Security"}]},{id:"help",label:"Help",icon:ge}],f={args:{items:q,variant:"sidebar",logo:{text:"MyApp",subtitle:"Dashboard"}}},N={args:{items:q.slice(0,5),variant:"top",logo:{text:"TopNav"}}},k={args:{items:q.map(_=>({..._,icon:void 0})),variant:"minimal"}},w={args:{items:[{id:"overview",label:"Overview",icon:S,isActive:!0},{id:"analytics",label:"Analytics",icon:Te},{id:"projects",label:"Projects",icon:K,badge:12,children:[{id:"active",label:"Active Projects",badge:8},{id:"archived",label:"Archived",badge:4},{id:"drafts",label:"Drafts"}]},{id:"team",label:"Team",icon:$,children:[{id:"members",label:"Members"},{id:"roles",label:"Roles"},{id:"invites",label:"Invitations",badge:2}]},{id:"messages",label:"Messages",icon:fe,badge:7},{id:"integrations",label:"Integrations",icon:ye},{id:"settings",label:"Settings",icon:Z}],variant:"sidebar",logo:{text:"AdminPro",subtitle:"Control Panel"},footer:e.jsxs("div",{style:{padding:"var(--spacing-md)",background:"var(--color-background-secondary)",borderRadius:"var(--radius-md)",textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"var(--font-size-sm)",color:"var(--color-text-secondary)"},children:"Version 2.1.0"}),e.jsx("div",{style:{fontSize:"var(--font-size-xs)",color:"var(--color-text-tertiary)",marginTop:"4px"},children:"© 2024 AdminPro"})]})}},I={args:{items:[{id:"home",label:"Home",icon:S,isActive:!0},{id:"search",label:"Search",icon:me},{id:"cart",label:"Cart",icon:Ie,badge:2},{id:"favorites",label:"Favorites",icon:be},{id:"profile",label:"Profile",icon:$}],variant:"sidebar",isMobile:!0,soundConfig:{onClick:"click",onHover:"hover"}}};var E,F,O;f.parameters={...f.parameters,docs:{...(E=f.parameters)==null?void 0:E.docs,source:{originalSource:`{
|
|
47
|
-
args: {
|
|
48
|
-
items: sampleItems,
|
|
49
|
-
variant: 'sidebar',
|
|
50
|
-
logo: {
|
|
51
|
-
text: 'MyApp',
|
|
52
|
-
subtitle: 'Dashboard'
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}`,...(O=(F=f.parameters)==null?void 0:F.docs)==null?void 0:O.source}}};var H,z,R;N.parameters={...N.parameters,docs:{...(H=N.parameters)==null?void 0:H.docs,source:{originalSource:`{
|
|
56
|
-
args: {
|
|
57
|
-
items: sampleItems.slice(0, 5),
|
|
58
|
-
variant: 'top',
|
|
59
|
-
logo: {
|
|
60
|
-
text: 'TopNav'
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}`,...(R=(z=N.parameters)==null?void 0:z.docs)==null?void 0:R.source}}};var D,U,V;k.parameters={...k.parameters,docs:{...(D=k.parameters)==null?void 0:D.docs,source:{originalSource:`{
|
|
64
|
-
args: {
|
|
65
|
-
items: sampleItems.map(item => ({
|
|
66
|
-
...item,
|
|
67
|
-
icon: undefined
|
|
68
|
-
})),
|
|
69
|
-
variant: 'minimal'
|
|
70
|
-
}
|
|
71
|
-
}`,...(V=(U=k.parameters)==null?void 0:U.docs)==null?void 0:V.source}}};var Y,X,W;w.parameters={...w.parameters,docs:{...(Y=w.parameters)==null?void 0:Y.docs,source:{originalSource:`{
|
|
72
|
-
args: {
|
|
73
|
-
items: [{
|
|
74
|
-
id: 'overview',
|
|
75
|
-
label: 'Overview',
|
|
76
|
-
icon: Home,
|
|
77
|
-
isActive: true
|
|
78
|
-
}, {
|
|
79
|
-
id: 'analytics',
|
|
80
|
-
label: 'Analytics',
|
|
81
|
-
icon: TrendingUp
|
|
82
|
-
}, {
|
|
83
|
-
id: 'projects',
|
|
84
|
-
label: 'Projects',
|
|
85
|
-
icon: Folder,
|
|
86
|
-
badge: 12,
|
|
87
|
-
children: [{
|
|
88
|
-
id: 'active',
|
|
89
|
-
label: 'Active Projects',
|
|
90
|
-
badge: 8
|
|
91
|
-
}, {
|
|
92
|
-
id: 'archived',
|
|
93
|
-
label: 'Archived',
|
|
94
|
-
badge: 4
|
|
95
|
-
}, {
|
|
96
|
-
id: 'drafts',
|
|
97
|
-
label: 'Drafts'
|
|
98
|
-
}]
|
|
99
|
-
}, {
|
|
100
|
-
id: 'team',
|
|
101
|
-
label: 'Team',
|
|
102
|
-
icon: Users,
|
|
103
|
-
children: [{
|
|
104
|
-
id: 'members',
|
|
105
|
-
label: 'Members'
|
|
106
|
-
}, {
|
|
107
|
-
id: 'roles',
|
|
108
|
-
label: 'Roles'
|
|
109
|
-
}, {
|
|
110
|
-
id: 'invites',
|
|
111
|
-
label: 'Invitations',
|
|
112
|
-
badge: 2
|
|
113
|
-
}]
|
|
114
|
-
}, {
|
|
115
|
-
id: 'messages',
|
|
116
|
-
label: 'Messages',
|
|
117
|
-
icon: Mail,
|
|
118
|
-
badge: 7
|
|
119
|
-
}, {
|
|
120
|
-
id: 'integrations',
|
|
121
|
-
label: 'Integrations',
|
|
122
|
-
icon: Layers
|
|
123
|
-
}, {
|
|
124
|
-
id: 'settings',
|
|
125
|
-
label: 'Settings',
|
|
126
|
-
icon: Settings
|
|
127
|
-
}],
|
|
128
|
-
variant: 'sidebar',
|
|
129
|
-
logo: {
|
|
130
|
-
text: 'AdminPro',
|
|
131
|
-
subtitle: 'Control Panel'
|
|
132
|
-
},
|
|
133
|
-
footer: <div style={{
|
|
134
|
-
padding: 'var(--spacing-md)',
|
|
135
|
-
background: 'var(--color-background-secondary)',
|
|
136
|
-
borderRadius: 'var(--radius-md)',
|
|
137
|
-
textAlign: 'center'
|
|
138
|
-
}}>
|
|
139
|
-
<div style={{
|
|
140
|
-
fontSize: 'var(--font-size-sm)',
|
|
141
|
-
color: 'var(--color-text-secondary)'
|
|
142
|
-
}}>
|
|
143
|
-
Version 2.1.0
|
|
144
|
-
</div>
|
|
145
|
-
<div style={{
|
|
146
|
-
fontSize: 'var(--font-size-xs)',
|
|
147
|
-
color: 'var(--color-text-tertiary)',
|
|
148
|
-
marginTop: '4px'
|
|
149
|
-
}}>
|
|
150
|
-
© 2024 AdminPro
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
}
|
|
154
|
-
}`,...(W=(X=w.parameters)==null?void 0:X.docs)==null?void 0:W.source}}};var Q,G,J;I.parameters={...I.parameters,docs:{...(Q=I.parameters)==null?void 0:Q.docs,source:{originalSource:`{
|
|
155
|
-
args: {
|
|
156
|
-
items: [{
|
|
157
|
-
id: 'home',
|
|
158
|
-
label: 'Home',
|
|
159
|
-
icon: Home,
|
|
160
|
-
isActive: true
|
|
161
|
-
}, {
|
|
162
|
-
id: 'search',
|
|
163
|
-
label: 'Search',
|
|
164
|
-
icon: Search
|
|
165
|
-
}, {
|
|
166
|
-
id: 'cart',
|
|
167
|
-
label: 'Cart',
|
|
168
|
-
icon: ShoppingCart,
|
|
169
|
-
badge: 2
|
|
170
|
-
}, {
|
|
171
|
-
id: 'favorites',
|
|
172
|
-
label: 'Favorites',
|
|
173
|
-
icon: Heart
|
|
174
|
-
}, {
|
|
175
|
-
id: 'profile',
|
|
176
|
-
label: 'Profile',
|
|
177
|
-
icon: Users
|
|
178
|
-
}],
|
|
179
|
-
variant: 'sidebar',
|
|
180
|
-
isMobile: true,
|
|
181
|
-
soundConfig: {
|
|
182
|
-
onClick: 'click',
|
|
183
|
-
onHover: 'hover'
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}`,...(J=(G=I.parameters)==null?void 0:G.docs)==null?void 0:J.source}}};const Xn=["SidebarDefault","TopNavigation","MinimalNavigation","DashboardNav","MobileWithSounds"];export{w as DashboardNav,k as MinimalNavigation,I as MobileWithSounds,f as SidebarDefault,N as TopNavigation,Xn as __namedExportsOrder,Yn as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r}from"./index-BouVZTao.js";var t,o=r;t=o.createRoot,o.hydrateRoot;export{t as c};
|