@stfrigerio/sito-template 0.1.81 → 0.1.83
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/charts/HabitTimeOfDayChart/HabitTimeOfDayChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts.map +1 -1
- package/dist/index.esm.js +62 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +61 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/storybook-static/assets/{ASCIIText.stories-CdJFsDcm.js → ASCIIText.stories-CLcJ0Cbc.js} +1 -1
- package/storybook-static/assets/{AllAtoms.stories-vADuLoia.js → AllAtoms.stories-Bh5woUyT.js} +1 -1
- package/storybook-static/assets/{AnimatedContent.stories-ewE7Jlyl.js → AnimatedContent.stories-CwcCPuwn.js} +1 -1
- package/storybook-static/assets/{AnimatedList.stories-CmT-fxZO.js → AnimatedList.stories-xyMLfpep.js} +1 -1
- package/storybook-static/assets/{Antigravity.stories-Bx-RRn4g.js → Antigravity.stories-CakFW85C.js} +1 -1
- package/storybook-static/assets/{ArrayInput.stories-H4cLlULb.js → ArrayInput.stories-BhVN3W4U.js} +1 -1
- package/storybook-static/assets/{Aurora.stories-CiKEkok2.js → Aurora.stories-Kktq_Cvd.js} +1 -1
- package/storybook-static/assets/{Beams.stories-CGfOm4ei.js → Beams.stories-CwnemFgk.js} +1 -1
- package/storybook-static/assets/{BlobCursor.stories-DiyecFOA.js → BlobCursor.stories-vKNpspTq.js} +1 -1
- package/storybook-static/assets/{BlurText.stories-C8Bnk1EX.js → BlurText.stories-WlC0K1BH.js} +1 -1
- package/storybook-static/assets/{BooleansHeatmap.stories-DI-Borh4.js → BooleansHeatmap.stories-DZMJ52hf.js} +1 -1
- package/storybook-static/assets/{BorderGlow.stories-DKuCmhDT.js → BorderGlow.stories-Dr5OCnhs.js} +1 -1
- package/storybook-static/assets/{BubbleMenu.stories-Nuwlv60z.js → BubbleMenu.stories-YQfp2AUw.js} +1 -1
- package/storybook-static/assets/{Button-BH8v2e05.js → Button-DlJcIcuM.js} +1 -1
- package/storybook-static/assets/{Button.stories-CL91avj4.js → Button.stories-grOMKTZD.js} +1 -1
- package/storybook-static/assets/{Calendar.stories-DL-qPwAm.js → Calendar.stories-BROrKR6q.js} +1 -1
- package/storybook-static/assets/{Card-CYbXBupP.js → Card-D78PUWGF.js} +1 -1
- package/storybook-static/assets/{Card.stories-CLdKZH7w.js → Card.stories-BrnxC9UA.js} +1 -1
- package/storybook-static/assets/{CardNav.stories-Bkq2eiuC.js → CardNav.stories-BdJQX6kq.js} +1 -1
- package/storybook-static/assets/{Carousel.stories-CgYPp8N9.js → Carousel.stories-BzkTHxu8.js} +1 -1
- package/storybook-static/assets/{Checkbox-C2Ftcw-B.js → Checkbox-B4u9vAxY.js} +1 -1
- package/storybook-static/assets/{Checkbox.stories-D0G0xUmz.js → Checkbox.stories-DaFjMoE1.js} +1 -1
- package/storybook-static/assets/{ChromaGrid.stories-CgLxe4qI.js → ChromaGrid.stories-DjYokgO-.js} +1 -1
- package/storybook-static/assets/{CircularGallery.stories-DCbGVf2c.js → CircularGallery.stories-CJTnGkTd.js} +1 -1
- package/storybook-static/assets/{CircularText.stories-Bmq7ZqfC.js → CircularText.stories-CG9VlqoC.js} +1 -1
- package/storybook-static/assets/{ClickSpark.stories-Dc7lLvwJ.js → ClickSpark.stories-CqhCk3b1.js} +1 -1
- package/storybook-static/assets/{ColorBends.stories-BWy7DYaP.js → ColorBends.stories-BENBc2ho.js} +1 -1
- package/storybook-static/assets/{CountUp.stories-CrEdXn4r.js → CountUp.stories-DaXNNXIt.js} +1 -1
- package/storybook-static/assets/{Counter.stories-xbB_rpHK.js → Counter.stories-Bwz8ckgc.js} +1 -1
- package/storybook-static/assets/{Crosshair.stories-jb2KMdHU.js → Crosshair.stories-Yi4ladGp.js} +1 -1
- package/storybook-static/assets/{Cubes.stories-VWgsinzf.js → Cubes.stories-hUkWxLfc.js} +1 -1
- package/storybook-static/assets/{CurvedLoop.stories-D4vzwgej.js → CurvedLoop.stories-WPDAk0t6.js} +1 -1
- package/storybook-static/assets/{DarkVeil.stories-nCCiwzbM.js → DarkVeil.stories-D3LsctyY.js} +1 -1
- package/storybook-static/assets/{DateInput-CC15k4Vf.js → DateInput-gWafUQGd.js} +1 -1
- package/storybook-static/assets/{DateInput.stories-B43zuCJK.js → DateInput.stories-BjYNYtSX.js} +1 -1
- package/storybook-static/assets/{DecayCard.stories-pvJh7W64.js → DecayCard.stories-CtzHBFna.js} +1 -1
- package/storybook-static/assets/{DecryptedText.stories-B1QFF8s1.js → DecryptedText.stories-Ctj_SnZk.js} +1 -1
- package/storybook-static/assets/{Dither.stories-pq4xjpKd.js → Dither.stories-EkMZ--eC.js} +1 -1
- package/storybook-static/assets/{Dock.stories-ihFTr5C5.js → Dock.stories-8aWbZA8C.js} +1 -1
- package/storybook-static/assets/{EditFAB.stories-Bs-9cRhd.js → EditFAB.stories-CS53G9_g.js} +1 -1
- package/storybook-static/assets/{EvilEye.stories-BWXnq24Y.js → EvilEye.stories-9LkgySOv.js} +1 -1
- package/storybook-static/assets/{FadeContent.stories-pXTU-JIQ.js → FadeContent.stories-oZ__karI.js} +1 -1
- package/storybook-static/assets/{FaultyTerminal.stories-BeQm-159.js → FaultyTerminal.stories-DXMtEpFr.js} +1 -1
- package/storybook-static/assets/{Fbo-VC2TXL_C.js → Fbo-DcGmvSkt.js} +1 -1
- package/storybook-static/assets/{FloatingLines.stories-XxLhow2j.js → FloatingLines.stories-BfYFty9B.js} +1 -1
- package/storybook-static/assets/{FlowingMenu.stories-CqZrs3Uu.js → FlowingMenu.stories-CIDR6uxs.js} +1 -1
- package/storybook-static/assets/{FluidGlass.stories-Drau1tiq.js → FluidGlass.stories-Ck79ZTu2.js} +1 -1
- package/storybook-static/assets/{Folder.stories-CjgFkSND.js → Folder.stories-CRPHDLCS.js} +1 -1
- package/storybook-static/assets/{FuzzyText.stories-Br4WpF-A.js → FuzzyText.stories-BxVlN6Qk.js} +1 -1
- package/storybook-static/assets/{Galaxy.stories-Crx5J_uS.js → Galaxy.stories-DLRch_Uu.js} +1 -1
- package/storybook-static/assets/{GhostCursor.stories-D0dTI4u7.js → GhostCursor.stories-BC5TPQae.js} +1 -1
- package/storybook-static/assets/{GlareHover.stories-BqC9e1Hb.js → GlareHover.stories-CiTwY0Or.js} +1 -1
- package/storybook-static/assets/{GlassSurface.stories-DZ024TSe.js → GlassSurface.stories-D8TDA2al.js} +1 -1
- package/storybook-static/assets/{GlitchText.stories-jFj-BUKV.js → GlitchText.stories-ZUm-zbmR.js} +1 -1
- package/storybook-static/assets/{GooeyNav.stories-CEqhFiE8.js → GooeyNav.stories-DJ1gzjRs.js} +1 -1
- package/storybook-static/assets/{GradientBlinds.stories-CW5kpxYL.js → GradientBlinds.stories-MxXs8DfX.js} +1 -1
- package/storybook-static/assets/{GradientText.stories-DbHZi99L.js → GradientText.stories-BD_KLij2.js} +1 -1
- package/storybook-static/assets/{Grainient.stories-Cly0yjqz.js → Grainient.stories-8GW-MvA1.js} +1 -1
- package/storybook-static/assets/{GridMotion.stories-Dv4czKOY.js → GridMotion.stories-v9HWAiP2.js} +1 -1
- package/storybook-static/assets/HabitTimeOfDayChart.stories-DNaCrMPI.js +54 -0
- package/storybook-static/assets/{ImageSlideshow.stories-AfRCXiFL.js → ImageSlideshow.stories-CV_9pz7q.js} +1 -1
- package/storybook-static/assets/{Iridescence.stories-BMZkeDOP.js → Iridescence.stories-CrsfUwpq.js} +1 -1
- package/storybook-static/assets/{LaserFlow.stories-Cjl7kx8X.js → LaserFlow.stories-UNmY1VdB.js} +1 -1
- package/storybook-static/assets/{LetterGlitch.stories-CDDQYcx4.js → LetterGlitch.stories-CsqbohgQ.js} +1 -1
- package/storybook-static/assets/{LightPillar.stories-DVy-RN5g.js → LightPillar.stories-VUtx3YZD.js} +1 -1
- package/storybook-static/assets/{LightRays.stories-B016QOBy.js → LightRays.stories-Cq7m0cqE.js} +1 -1
- package/storybook-static/assets/{Lightning.stories-Dzy1oJF2.js → Lightning.stories-Dp6w5DHk.js} +1 -1
- package/storybook-static/assets/{LineWaves.stories-BydARhov.js → LineWaves.stories-DZwthEvR.js} +1 -1
- package/storybook-static/assets/{LiquidChrome.stories-B9ZZjYRF.js → LiquidChrome.stories-BjG1KCsN.js} +1 -1
- package/storybook-static/assets/{LiquidEther.stories-BkDJmjtE.js → LiquidEther.stories-Bm21x4kh.js} +1 -1
- package/storybook-static/assets/{LoadingSpinner-DcwTWgcV.js → LoadingSpinner-BjxuokwC.js} +1 -1
- package/storybook-static/assets/{LoadingSpinner.stories-Dnj2jism.js → LoadingSpinner.stories-D3rXxzDB.js} +1 -1
- package/storybook-static/assets/{MagicRings.stories-BaCliiKo.js → MagicRings.stories-Qm__w6y6.js} +1 -1
- package/storybook-static/assets/{Magnet.stories-B11_Eo8J.js → Magnet.stories-DVnKLbK0.js} +1 -1
- package/storybook-static/assets/{MagnetLines.stories-Qt6rC6j8.js → MagnetLines.stories-DwSvh9tK.js} +1 -1
- package/storybook-static/assets/{Masonry.stories-1Zd-qIAf.js → Masonry.stories-DgXyjVGW.js} +1 -1
- package/storybook-static/assets/{MetaBalls.stories-BMw12NVI.js → MetaBalls.stories-C9p7o47E.js} +1 -1
- package/storybook-static/assets/{MetallicPaint.stories-DK_MQecd.js → MetallicPaint.stories-CbvpeFpr.js} +1 -1
- package/storybook-static/assets/{MoodChart.stories-BWVcU_OW.js → MoodChart.stories-Df2hRx7K.js} +1 -1
- package/storybook-static/assets/{MotionConfigContext-WWx21lsP.js → MotionConfigContext-78ZqsXO2.js} +1 -1
- package/storybook-static/assets/{Navbar.stories-DRsZCyOK.js → Navbar.stories-IPAgz8A2.js} +1 -1
- package/storybook-static/assets/{Noise.stories-CSagy7J1.js → Noise.stories-B5w0WQgN.js} +1 -1
- package/storybook-static/assets/{NumberStepper-DDKqilmB.js → NumberStepper-CUBwlK_a.js} +1 -1
- package/storybook-static/assets/{NumberStepper.stories-ta9bT43d.js → NumberStepper.stories-B5Y6LLfq.js} +1 -1
- package/storybook-static/assets/{Orb.stories-B27f_Mp5.js → Orb.stories-BYCKAzF3.js} +1 -1
- package/storybook-static/assets/{OrbitImages.stories-pbkZL0KD.js → OrbitImages.stories-BNgUtvuC.js} +1 -1
- package/storybook-static/assets/{PieChart.stories-DXibmyag.js → PieChart.stories-XWtgAVCl.js} +1 -1
- package/storybook-static/assets/{PixelBlast.stories-Cd7ELIox.js → PixelBlast.stories-h_zXroTV.js} +1 -1
- package/storybook-static/assets/{PixelCard.stories-QYg_f-kJ.js → PixelCard.stories-DEMhUUCg.js} +1 -1
- package/storybook-static/assets/{PixelSnow.stories-Cr9QWIrr.js → PixelSnow.stories-kWLq5Onm.js} +1 -1
- package/storybook-static/assets/{PixelTransition.stories-C-WOp_LR.js → PixelTransition.stories-C2xfia8G.js} +1 -1
- package/storybook-static/assets/{Plasma.stories-VHAR1xeQ.js → Plasma.stories-BP9Qd_Mg.js} +1 -1
- package/storybook-static/assets/{Prism.stories-DeyjYz66.js → Prism.stories-FjQDLOfi.js} +1 -1
- package/storybook-static/assets/{PrismaticBurst.stories-DvkfGTAr.js → PrismaticBurst.stories-CR7dLtth.js} +1 -1
- package/storybook-static/assets/{ProfileCard.stories-CcPQg-Hv.js → ProfileCard.stories-KM8iEgpp.js} +1 -1
- package/storybook-static/assets/QuantifiableHabitsChart.stories-Dd9rr2w1.js +115 -0
- package/storybook-static/assets/{Radar.stories--RY7R3OS.js → Radar.stories-Dkv2TX-N.js} +1 -1
- package/storybook-static/assets/{Ribbons.stories-C7n9tx_g.js → Ribbons.stories-DoAOtDOM.js} +1 -1
- package/storybook-static/assets/{RippleGrid.stories-3RXapYiy.js → RippleGrid.stories-DLokM_BZ.js} +1 -1
- package/storybook-static/assets/{RotatingText.stories-Bt6WA6FO.js → RotatingText.stories-CS-b_PRj.js} +1 -1
- package/storybook-static/assets/{ScrollFloat.stories-CWx8WGsN.js → ScrollFloat.stories-FSTVLtEf.js} +1 -1
- package/storybook-static/assets/{ScrollReveal.stories-BVMnOHDG.js → ScrollReveal.stories-iHdh0ukP.js} +1 -1
- package/storybook-static/assets/{ScrollVelocity.stories-DbhM6LsV.js → ScrollVelocity.stories-CcBhSXkQ.js} +1 -1
- package/storybook-static/assets/{SearchBar.stories-Cr7ZECC_.js → SearchBar.stories-CLvEmL36.js} +1 -1
- package/storybook-static/assets/{SearchableDropdown-B0i1ibfz.js → SearchableDropdown-BDcLrfmb.js} +1 -1
- package/storybook-static/assets/{SearchableDropdown.stories-CONyMSzp.js → SearchableDropdown.stories-B5rPv59p.js} +1 -1
- package/storybook-static/assets/{SelectInput-DM8VWb-H.js → SelectInput-CKnov7hA.js} +1 -1
- package/storybook-static/assets/{SelectInput.stories-DGlt60ll.js → SelectInput.stories-DoXI57Go.js} +1 -1
- package/storybook-static/assets/{ShapeBlur.stories-Crbv5z82.js → ShapeBlur.stories-CuxN6Pzi.js} +1 -1
- package/storybook-static/assets/{ShapeGrid.stories-Dj_OezwO.js → ShapeGrid.stories-DB_nQCOT.js} +1 -1
- package/storybook-static/assets/{ShinyText.stories-DJOeAHRl.js → ShinyText.stories-DygGT8Ue.js} +1 -1
- package/storybook-static/assets/{Silk.stories-BCgvZrfN.js → Silk.stories-DbiADaLM.js} +1 -1
- package/storybook-static/assets/{SleepChart.stories-ChSrLDUZ.js → SleepChart.stories-Cy8SLPV6.js} +1 -1
- package/storybook-static/assets/{Slider-BxUKJrvC.js → Slider-BibMr8BG.js} +1 -1
- package/storybook-static/assets/{Slider.stories-BIePmg36.js → Slider.stories-BFbEBS3T.js} +1 -1
- package/storybook-static/assets/{SoftAurora.stories-0Wf3E-ut.js → SoftAurora.stories-CrAcI_i2.js} +1 -1
- package/storybook-static/assets/{SoundDemo.stories-Bfcl6O8Y.js → SoundDemo.stories-CMAyhZl6.js} +1 -1
- package/storybook-static/assets/{SplashCursor.stories-BHfxyWxe.js → SplashCursor.stories-PZR3fOjb.js} +1 -1
- package/storybook-static/assets/{SpotlightCard.stories-BN6lbioi.js → SpotlightCard.stories-BjhoJegE.js} +1 -1
- package/storybook-static/assets/{Stack.stories-C8h__4aO.js → Stack.stories-DT_c0lN5.js} +1 -1
- package/storybook-static/assets/{StaggeredMenu.stories-n0x61Yxa.js → StaggeredMenu.stories-Dl8wex3f.js} +1 -1
- package/storybook-static/assets/{StarBorder.stories-CklXh7Cs.js → StarBorder.stories-N_5DOf2w.js} +1 -1
- package/storybook-static/assets/{SunburstChart.stories-BZAojE_q.js → SunburstChart.stories-BH5YJCUR.js} +1 -1
- package/storybook-static/assets/{Table.stories-DN7ZPpOO.js → Table.stories-CAhdi7Eu.js} +1 -1
- package/storybook-static/assets/{Tabs.stories-D8ioATag.js → Tabs.stories-DK7bagu6.js} +1 -1
- package/storybook-static/assets/{TargetCursor.stories-BVY9PBXD.js → TargetCursor.stories-DNzUSRQM.js} +1 -1
- package/storybook-static/assets/{TextArea-B91mTJ1S.js → TextArea-C15rOSzR.js} +1 -1
- package/storybook-static/assets/{TextArea.stories-BplQM96a.js → TextArea.stories-5Cmp4mxj.js} +1 -1
- package/storybook-static/assets/{TextCursor.stories-B9jN3Zaz.js → TextCursor.stories-ZB0-u0Yj.js} +1 -1
- package/storybook-static/assets/{TextInput-gkuohvRv.js → TextInput-BKLyYXL6.js} +1 -1
- package/storybook-static/assets/{TextInput.stories-DpR0x8bn.js → TextInput.stories-CnH10Z39.js} +1 -1
- package/storybook-static/assets/{TextPressure.stories-BacTH6b1.js → TextPressure.stories-BJIw-Cwk.js} +1 -1
- package/storybook-static/assets/{TextType.stories-lI_4US1N.js → TextType.stories-DA_CMsiN.js} +1 -1
- package/storybook-static/assets/{ThemeSwitcher.stories-CMRpdYba.js → ThemeSwitcher.stories-DX9peK5i.js} +1 -1
- package/storybook-static/assets/{Threads.stories-DClx4xSn.js → Threads.stories-NGvSY2xh.js} +1 -1
- package/storybook-static/assets/{TimeInput.stories-D4aYn8hp.js → TimeInput.stories-CowCxz3J.js} +1 -1
- package/storybook-static/assets/{Toggle-zzEIyGsL.js → Toggle-Dft5398l.js} +1 -1
- package/storybook-static/assets/{Toggle.stories-vK7n9Pn5.js → Toggle.stories-DLnygTp8.js} +1 -1
- package/storybook-static/assets/{ToggleButton-DNTCrVXy.js → ToggleButton-oUxtNYGc.js} +1 -1
- package/storybook-static/assets/{ToggleButton.stories-DwRnggIQ.js → ToggleButton.stories-DdWoxZaY.js} +1 -1
- package/storybook-static/assets/{TrueFocus.stories-D8oCteJV.js → TrueFocus.stories-AmwBQ1Wd.js} +1 -1
- package/storybook-static/assets/{VariableProximity.stories-BbgYWC7t.js → VariableProximity.stories-CBrR0DxY.js} +1 -1
- package/storybook-static/assets/{Waves.stories-5UKDofeV.js → Waves.stories-C7-88LJl.js} +1 -1
- package/storybook-static/assets/{check-BxYPpesN.js → check-BwmeyKAV.js} +1 -1
- package/storybook-static/assets/{chevron-down-B8zdRhXt.js → chevron-down-C-5r8S3R.js} +1 -1
- package/storybook-static/assets/{chevron-right-DbZQawrO.js → chevron-right-BGU-92uy.js} +1 -1
- package/storybook-static/assets/client-0lnMOQtD.js +1 -0
- package/storybook-static/assets/{createLucideIcon-DzdQJ9zJ.js → createLucideIcon-DMu8KViE.js} +1 -1
- package/storybook-static/assets/{download-CH9m89_W.js → download-Bd0rfKsF.js} +1 -1
- package/storybook-static/assets/{folder-CkfgXDdN.js → folder-BJU9ETF_.js} +1 -1
- package/storybook-static/assets/{iconBase-DbnMJ-eQ.js → iconBase-w3hxgNsY.js} +1 -1
- package/storybook-static/assets/{iframe-B6jx7rwj.js → iframe-P7asu-Li.js} +3 -3
- package/storybook-static/assets/{index-DSxCFvRi.js → index-CUas0FsV.js} +1 -1
- package/storybook-static/assets/{index-BUSbwJpV.js → index-CZwZeEI2.js} +1 -1
- package/storybook-static/assets/{index-Djn89Lc7.js → index-DbJ7Sa65.js} +1 -1
- package/storybook-static/assets/{proxy-DThijezB.js → proxy-CDAVFVqI.js} +1 -1
- package/storybook-static/assets/{react-18-CC2o_KTG.js → react-18-GLk-Gitd.js} +1 -1
- package/storybook-static/assets/{react-three-fiber.esm-CrZWbBn0.js → react-three-fiber.esm-DNr3n575.js} +1 -1
- package/storybook-static/assets/{search-DL4xWQAj.js → search-Bx8bdUAl.js} +1 -1
- package/storybook-static/assets/{settings-DnzSTmB8.js → settings-BrNCNuZ5.js} +1 -1
- package/storybook-static/assets/{sun-BWKcGhza.js → sun-B2St002d.js} +1 -1
- package/storybook-static/assets/{trash-2-CERNk2Wg.js → trash-2-CE76Er1p.js} +1 -1
- package/storybook-static/assets/{use-animation-frame-sEDY6GbM.js → use-animation-frame-DmI_PhRU.js} +1 -1
- package/storybook-static/assets/{use-in-view-DLwo7uun.js → use-in-view-DuMdrOWZ.js} +1 -1
- package/storybook-static/assets/{use-motion-value-Oa0ddXN-.js → use-motion-value-DmfqbQXL.js} +1 -1
- package/storybook-static/assets/{use-spring-BqiqYxMo.js → use-spring-Bp7x7VGF.js} +1 -1
- package/storybook-static/assets/{use-transform-D6NCQSqI.js → use-transform-D9Pnt9FQ.js} +1 -1
- package/storybook-static/assets/{useSound-Z19TqyCM.js → useSound-BoKKqA87.js} +1 -1
- package/storybook-static/assets/{users-BAv6filM.js → users-CiXGWJu_.js} +1 -1
- package/storybook-static/assets/{x-CxMBr8uV.js → x-T0xDfj72.js} +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/project.json +1 -1
- package/storybook-static/assets/HabitTimeOfDayChart.stories-BdnPRzWQ.js +0 -44
- package/storybook-static/assets/QuantifiableHabitsChart.stories-C6VWlFI0.js +0 -105
- package/storybook-static/assets/client-DHjvzCEB.js +0 -1
package/dist/index.js
CHANGED
|
@@ -4327,7 +4327,7 @@ const QuantifiableHabitsChart = ({ data, width = 800, height = 400, defaultViewT
|
|
|
4327
4327
|
quarterly: { icon: '📊', label: 'Quarterly' }
|
|
4328
4328
|
};
|
|
4329
4329
|
const shouldShowAggregationToggle = viewType !== 'daily';
|
|
4330
|
-
return (jsxRuntime.jsxs("div", { className: styles$8.container, children: [!hideControls && (jsxRuntime.jsxs("div", { className: styles$8.controls, children: [jsxRuntime.jsx("div", { className: styles$8.viewToggle, children: availableViewTypes.map(type => (jsxRuntime.jsxs("button", { className: `${styles$8.viewButton} ${viewType === type ? styles$8.active : ''}`, onClick: () => setViewType(type), title: viewTypeConfig[type].label, children: [jsxRuntime.jsx("span", { className: styles$8.viewIcon, children: viewTypeConfig[type].icon }), jsxRuntime.jsx("span", { className: styles$8.viewLabel, children: viewTypeConfig[type].label })] }, type))) }), shouldShowAggregationToggle && (jsxRuntime.jsxs("div", { className: styles$8.aggregationToggle, children: [jsxRuntime.jsxs("button", { className: `${styles$8.aggregationButton} ${aggregationMode === 'average' ? styles$8.active : ''}`, onClick: () => setAggregationMode('average'), title: "Show average values for each period", children: [jsxRuntime.jsx("span", { className: styles$8.aggregationIcon, children:
|
|
4330
|
+
return (jsxRuntime.jsxs("div", { className: styles$8.container, children: [!hideControls && (jsxRuntime.jsxs("div", { className: styles$8.controls, children: [jsxRuntime.jsx("div", { className: styles$8.viewToggle, children: availableViewTypes.map(type => (jsxRuntime.jsxs("button", { className: `${styles$8.viewButton} ${viewType === type ? styles$8.active : ''}`, onClick: () => setViewType(type), title: viewTypeConfig[type].label, children: [jsxRuntime.jsx("span", { className: styles$8.viewIcon, children: viewTypeConfig[type].icon }), jsxRuntime.jsx("span", { className: styles$8.viewLabel, children: viewTypeConfig[type].label })] }, type))) }), shouldShowAggregationToggle && (jsxRuntime.jsxs("div", { className: styles$8.aggregationToggle, children: [jsxRuntime.jsxs("button", { className: `${styles$8.aggregationButton} ${aggregationMode === 'average' ? styles$8.active : ''}`, onClick: () => setAggregationMode('average'), title: "Show average values for each period", children: [jsxRuntime.jsx("span", { className: styles$8.aggregationIcon, children: jsxRuntime.jsx(lucideReact.Divide, { size: 16 }) }), jsxRuntime.jsx("span", { className: styles$8.aggregationLabel, children: "Average" })] }), jsxRuntime.jsxs("button", { className: `${styles$8.aggregationButton} ${aggregationMode === 'sum' ? styles$8.active : ''}`, onClick: () => setAggregationMode('sum'), title: "Show total values for each period", children: [jsxRuntime.jsx("span", { className: styles$8.aggregationIcon, children: jsxRuntime.jsx(lucideReact.Sigma, { size: 16 }) }), jsxRuntime.jsx("span", { className: styles$8.aggregationLabel, children: "Sum" })] })] }))] })), jsxRuntime.jsx("div", { className: `${styles$8.legend}${compactLegend ? ` ${styles$8.compactLegend}` : ''}`, children: habits.map(habit => (jsxRuntime.jsxs("button", { className: `${styles$8.legendItem} ${!activeHabits.includes(habit) ? styles$8.inactive : ''}`, onClick: () => toggleHabit(habit), onMouseEnter: () => setHoveredHabit(habit), onMouseLeave: () => setHoveredHabit(null), children: [jsxRuntime.jsx("span", { className: styles$8.legendEmoji, children: customHabitEmojis[habit] || '📊' }), jsxRuntime.jsx("span", { className: styles$8.legendColor, style: { backgroundColor: getColor(habit) } }), jsxRuntime.jsx("span", { className: styles$8.legendLabel, children: habit })] }, habit))) }), jsxRuntime.jsx("svg", { ref: svgRef, viewBox: `0 0 ${width} ${height}`, preserveAspectRatio: "xMidYMid meet", className: styles$8.chart }), tooltipData && (jsxRuntime.jsxs("div", { ref: tooltipRef, className: `${styles$8.tooltip} ${tooltipData ? styles$8.visible : ''}`, style: {
|
|
4331
4331
|
left: `${tooltipData.x}px`,
|
|
4332
4332
|
top: `${tooltipData.y - 80}px`
|
|
4333
4333
|
}, children: [jsxRuntime.jsxs("div", { className: styles$8.tooltipHeader, children: [jsxRuntime.jsx("span", { className: styles$8.tooltipEmoji, children: customHabitEmojis[tooltipData.habit] || '📊' }), jsxRuntime.jsx("span", { className: styles$8.tooltipDot, style: { backgroundColor: getColor(tooltipData.habit) } }), jsxRuntime.jsx("span", { children: tooltipData.habit })] }), jsxRuntime.jsxs("div", { className: styles$8.tooltipInfo, children: [jsxRuntime.jsx("div", { className: styles$8.tooltipDate, children: formatTooltipDate(tooltipData.date, viewType) }), jsxRuntime.jsxs("div", { className: styles$8.tooltipValue, children: [jsxRuntime.jsx("strong", { children: Math.round(tooltipData.value * 10) / 10 }), jsxRuntime.jsx("span", { style: { fontSize: '12px', fontWeight: 'normal', opacity: 0.6 }, children: "units" })] })] })] }))] }));
|
|
@@ -4429,6 +4429,53 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4429
4429
|
const active = new Set(activeHabits);
|
|
4430
4430
|
return parsed.filter(e => active.has(e.habitKey));
|
|
4431
4431
|
}, [parsed, activeHabits]);
|
|
4432
|
+
// Group events that land on the same minute (same habit) into a single
|
|
4433
|
+
// cluster so overlapping dots become one sized/counted dot. Then, for any
|
|
4434
|
+
// (date, minute) coord with multiple habits, fan them out horizontally so
|
|
4435
|
+
// different-colored dots stop masking each other.
|
|
4436
|
+
const clusters = React.useMemo(() => {
|
|
4437
|
+
const byKey = new Map();
|
|
4438
|
+
filtered.forEach(e => {
|
|
4439
|
+
const bucketFraction = Math.round(e.hourFraction * 60) / 60;
|
|
4440
|
+
const bucketMinute = Math.round(bucketFraction * 60) % 60;
|
|
4441
|
+
const bucketHour = Math.floor(bucketFraction);
|
|
4442
|
+
const key = `${e.date}|${e.habitKey}|${bucketFraction}`;
|
|
4443
|
+
const existing = byKey.get(key);
|
|
4444
|
+
if (existing) {
|
|
4445
|
+
existing.count += 1;
|
|
4446
|
+
}
|
|
4447
|
+
else {
|
|
4448
|
+
byKey.set(key, {
|
|
4449
|
+
habitKey: e.habitKey,
|
|
4450
|
+
date: e.date,
|
|
4451
|
+
hour: bucketHour,
|
|
4452
|
+
minute: bucketMinute,
|
|
4453
|
+
hourFraction: bucketFraction,
|
|
4454
|
+
count: 1,
|
|
4455
|
+
xOffsetPx: 0,
|
|
4456
|
+
});
|
|
4457
|
+
}
|
|
4458
|
+
});
|
|
4459
|
+
const coordGroups = new Map();
|
|
4460
|
+
byKey.forEach(c => {
|
|
4461
|
+
const coordKey = `${c.date}|${c.hourFraction}`;
|
|
4462
|
+
const arr = coordGroups.get(coordKey);
|
|
4463
|
+
if (arr)
|
|
4464
|
+
arr.push(c);
|
|
4465
|
+
else
|
|
4466
|
+
coordGroups.set(coordKey, [c]);
|
|
4467
|
+
});
|
|
4468
|
+
const out = [];
|
|
4469
|
+
const spacing = 10;
|
|
4470
|
+
coordGroups.forEach(group => {
|
|
4471
|
+
group.sort((a, b) => a.habitKey.localeCompare(b.habitKey));
|
|
4472
|
+
const mid = (group.length - 1) / 2;
|
|
4473
|
+
group.forEach((c, i) => {
|
|
4474
|
+
out.push({ ...c, xOffsetPx: (i - mid) * spacing });
|
|
4475
|
+
});
|
|
4476
|
+
});
|
|
4477
|
+
return out;
|
|
4478
|
+
}, [filtered]);
|
|
4432
4479
|
const hourlyTotals = React.useMemo(() => {
|
|
4433
4480
|
const totals = Array.from({ length: 24 }, (_, hour) => ({
|
|
4434
4481
|
hour,
|
|
@@ -4482,15 +4529,16 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4482
4529
|
.attr('y2', chartHeight);
|
|
4483
4530
|
// Dots
|
|
4484
4531
|
const rowHeight = yScale.bandwidth();
|
|
4485
|
-
const
|
|
4532
|
+
const baseRadius = Math.min(5, Math.max(2, rowHeight / 2));
|
|
4533
|
+
const maxRadius = baseRadius * 2.2;
|
|
4486
4534
|
g.selectAll('circle.dot')
|
|
4487
|
-
.data(
|
|
4535
|
+
.data(clusters)
|
|
4488
4536
|
.enter()
|
|
4489
4537
|
.append('circle')
|
|
4490
4538
|
.attr('class', styles$7.dot)
|
|
4491
|
-
.attr('cx', d => xScale(d.hourFraction))
|
|
4539
|
+
.attr('cx', d => xScale(d.hourFraction) + d.xOffsetPx)
|
|
4492
4540
|
.attr('cy', d => (yScale(d.date) ?? 0) + rowHeight / 2)
|
|
4493
|
-
.attr('r',
|
|
4541
|
+
.attr('r', d => Math.min(maxRadius, baseRadius * Math.sqrt(d.count)))
|
|
4494
4542
|
.attr('fill', d => getColor(d.habitKey))
|
|
4495
4543
|
.attr('opacity', d => hoveredHabit && hoveredHabit !== d.habitKey ? 0.15 : 0.8)
|
|
4496
4544
|
.style('cursor', 'pointer')
|
|
@@ -4499,13 +4547,13 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4499
4547
|
if (!rect)
|
|
4500
4548
|
return;
|
|
4501
4549
|
setTooltipData({
|
|
4502
|
-
x: xScale(d.hourFraction) + margin.left + rect.left,
|
|
4550
|
+
x: xScale(d.hourFraction) + d.xOffsetPx + margin.left + rect.left,
|
|
4503
4551
|
y: (yScale(d.date) ?? 0) + margin.top + rect.top,
|
|
4504
4552
|
habit: d.habitKey,
|
|
4505
4553
|
hour: d.hour,
|
|
4506
4554
|
minute: d.minute,
|
|
4507
4555
|
date: d.date,
|
|
4508
|
-
count:
|
|
4556
|
+
count: d.count,
|
|
4509
4557
|
});
|
|
4510
4558
|
})
|
|
4511
4559
|
.on('mouseleave', () => setTooltipData(null));
|
|
@@ -4601,6 +4649,7 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4601
4649
|
}, [
|
|
4602
4650
|
view,
|
|
4603
4651
|
filtered,
|
|
4652
|
+
clusters,
|
|
4604
4653
|
hourlyTotals,
|
|
4605
4654
|
dateRange,
|
|
4606
4655
|
maxHourTotal,
|
|
@@ -4613,8 +4662,8 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4613
4662
|
getColor,
|
|
4614
4663
|
]);
|
|
4615
4664
|
const viewConfig = {
|
|
4616
|
-
scatter: { icon:
|
|
4617
|
-
totals: { icon:
|
|
4665
|
+
scatter: { icon: jsxRuntime.jsx(lucideReact.ScatterChart, { size: 16 }), label: 'Scatter' },
|
|
4666
|
+
totals: { icon: jsxRuntime.jsx(lucideReact.BarChart3, { size: 16 }), label: 'Totals' },
|
|
4618
4667
|
};
|
|
4619
4668
|
const formatTooltipDate = (date) => {
|
|
4620
4669
|
const [y, m, d] = date.split('-').map(Number);
|
|
@@ -4624,9 +4673,9 @@ const HabitTimeOfDayChart = ({ events, width = 800, height = 400, startDate, end
|
|
|
4624
4673
|
day: 'numeric',
|
|
4625
4674
|
});
|
|
4626
4675
|
};
|
|
4627
|
-
return (jsxRuntime.jsxs("div", { className: styles$7.container, children: [!hideControls && (jsxRuntime.jsx("div", { className: styles$7.controls, children: jsxRuntime.jsx("div", { className: styles$7.viewToggle, children: ['scatter', 'totals'].map(type => (jsxRuntime.jsxs("button", { className: `${styles$7.viewButton} ${view === type ? styles$7.active : ''}`, onClick: () => setView(type), title: viewConfig[type].label, children: [jsxRuntime.jsx("span", { className: styles$7.viewIcon, children: viewConfig[type].icon }), jsxRuntime.jsx("span", { className: styles$7.viewLabel, children: viewConfig[type].label })] }, type))) }) })), habits.length > 0 && (jsxRuntime.jsx("div", { className: `${styles$7.legend}${compactLegend ? ` ${styles$7.compactLegend}` : ''}`, children: habits.map(habit => (jsxRuntime.jsxs("button", { className: `${styles$7.legendItem} ${!activeHabits.includes(habit) ? styles$7.inactive : ''}`, onClick: () => toggleHabit(habit), onMouseEnter: () => setHoveredHabit(habit), onMouseLeave: () => setHoveredHabit(null), children: [jsxRuntime.jsx("span", { className: styles$7.legendEmoji, children: customHabitEmojis[habit] || '📊' }), jsxRuntime.jsx("span", { className: styles$7.legendColor, style: { backgroundColor: getColor(habit) } }), jsxRuntime.jsx("span", { className: styles$7.legendLabel, children: habit })] }, habit))) })), jsxRuntime.jsx("svg", { ref: svgRef, viewBox: `0 0 ${width} ${height}`, preserveAspectRatio: "xMidYMid meet", className: styles$7.chart }), tooltipData && (jsxRuntime.jsx("div", { className: `${styles$7.tooltip} ${styles$7.visible}`, style: { left: `${tooltipData.x}px`, top: `${tooltipData.y - 70}px` }, children: tooltipData.habit ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: styles$7.tooltipHeader, children: [jsxRuntime.jsx("span", { className: styles$7.tooltipDot, style: { backgroundColor: getColor(tooltipData.habit) } }), jsxRuntime.jsxs("span", { children: [customHabitEmojis[tooltipData.habit] || '', " ", tooltipData.habit] })] }), jsxRuntime.
|
|
4628
|
-
|
|
4629
|
-
|
|
4676
|
+
return (jsxRuntime.jsxs("div", { className: styles$7.container, children: [!hideControls && (jsxRuntime.jsx("div", { className: styles$7.controls, children: jsxRuntime.jsx("div", { className: styles$7.viewToggle, children: ['scatter', 'totals'].map(type => (jsxRuntime.jsxs("button", { className: `${styles$7.viewButton} ${view === type ? styles$7.active : ''}`, onClick: () => setView(type), title: viewConfig[type].label, children: [jsxRuntime.jsx("span", { className: styles$7.viewIcon, children: viewConfig[type].icon }), jsxRuntime.jsx("span", { className: styles$7.viewLabel, children: viewConfig[type].label })] }, type))) }) })), habits.length > 0 && (jsxRuntime.jsx("div", { className: `${styles$7.legend}${compactLegend ? ` ${styles$7.compactLegend}` : ''}`, children: habits.map(habit => (jsxRuntime.jsxs("button", { className: `${styles$7.legendItem} ${!activeHabits.includes(habit) ? styles$7.inactive : ''}`, onClick: () => toggleHabit(habit), onMouseEnter: () => setHoveredHabit(habit), onMouseLeave: () => setHoveredHabit(null), children: [jsxRuntime.jsx("span", { className: styles$7.legendEmoji, children: customHabitEmojis[habit] || '📊' }), jsxRuntime.jsx("span", { className: styles$7.legendColor, style: { backgroundColor: getColor(habit) } }), jsxRuntime.jsx("span", { className: styles$7.legendLabel, children: habit })] }, habit))) })), jsxRuntime.jsx("svg", { ref: svgRef, viewBox: `0 0 ${width} ${height}`, preserveAspectRatio: "xMidYMid meet", className: styles$7.chart }), tooltipData && (jsxRuntime.jsx("div", { className: `${styles$7.tooltip} ${styles$7.visible}`, style: { left: `${tooltipData.x}px`, top: `${tooltipData.y - 70}px` }, children: tooltipData.habit ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: styles$7.tooltipHeader, children: [jsxRuntime.jsx("span", { className: styles$7.tooltipDot, style: { backgroundColor: getColor(tooltipData.habit) } }), jsxRuntime.jsxs("span", { children: [customHabitEmojis[tooltipData.habit] || '', " ", tooltipData.habit] })] }), jsxRuntime.jsxs("div", { className: styles$7.tooltipInfo, children: [jsxRuntime.jsxs("div", { className: styles$7.tooltipDate, children: [tooltipData.date ? formatTooltipDate(tooltipData.date) : '', tooltipData.minute !== undefined
|
|
4677
|
+
? ` · ${formatTime$1(tooltipData.hour, tooltipData.minute)}`
|
|
4678
|
+
: ''] }), tooltipData.count > 1 && (jsxRuntime.jsxs("div", { className: styles$7.tooltipValue, children: [jsxRuntime.jsx("strong", { children: tooltipData.count }), jsxRuntime.jsx("span", { className: styles$7.tooltipUnits, children: "events" })] }))] })] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: styles$7.tooltipHeader, children: jsxRuntime.jsx("span", { children: formatHour(tooltipData.hour) }) }), jsxRuntime.jsxs("div", { className: styles$7.tooltipInfo, children: [jsxRuntime.jsxs("div", { className: styles$7.tooltipValue, children: [jsxRuntime.jsx("strong", { children: tooltipData.count }), jsxRuntime.jsxs("span", { className: styles$7.tooltipUnits, children: ["event", tooltipData.count === 1 ? '' : 's'] })] }), tooltipData.breakdown && tooltipData.breakdown.length > 1 && (jsxRuntime.jsx("div", { className: styles$7.tooltipBreakdown, children: tooltipData.breakdown.map(({ habit, count }) => (jsxRuntime.jsxs("div", { className: styles$7.tooltipBreakdownRow, children: [jsxRuntime.jsx("span", { className: styles$7.tooltipDot, style: { backgroundColor: getColor(habit) } }), jsxRuntime.jsxs("span", { children: [customHabitEmojis[habit] || '', " ", habit] }), jsxRuntime.jsx("span", { className: styles$7.tooltipCount, children: count })] }, habit))) }))] })] })) }))] }));
|
|
4630
4679
|
};
|
|
4631
4680
|
|
|
4632
4681
|
var styles$6 = {"container":"SleepChart-module_container__RjHVU","header":"SleepChart-module_header__bcoWe","title":"SleepChart-module_title__6-QII","legend":"SleepChart-module_legend__VsqQj","legendItem":"SleepChart-module_legendItem__2c1nd","sleepDot":"SleepChart-module_sleepDot__qCY6O","wakeDot":"SleepChart-module_wakeDot__-RcrT","chart":"SleepChart-module_chart__jC1nL","gridLine":"SleepChart-module_gridLine__hi715","sleepBar":"SleepChart-module_sleepBar__Hk76f","xAxis":"SleepChart-module_xAxis__xzXyM","yAxis":"SleepChart-module_yAxis__7N-LA","tooltip":"SleepChart-module_tooltip__jQBv1","visible":"SleepChart-module_visible__wy0ck","tooltipHeader":"SleepChart-module_tooltipHeader__5BdPL","tooltipEmoji":"SleepChart-module_tooltipEmoji__c5vtz","tooltipInfo":"SleepChart-module_tooltipInfo__9Yrno","tooltipRow":"SleepChart-module_tooltipRow__CuDaE","tooltipLabel":"SleepChart-module_tooltipLabel__7SNzQ","tooltipValue":"SleepChart-module_tooltipValue__FoAVy","tooltipDuration":"SleepChart-module_tooltipDuration__d2wBW"};
|