@stfrigerio/sito-template 0.1.44 → 0.1.49

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 (191) hide show
  1. package/dist/components/organisms/charts/SunburstChart/SunburstChart.d.ts.map +1 -1
  2. package/dist/index.esm.js +113 -147
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +113 -147
  5. package/dist/index.js.map +1 -1
  6. package/dist/styles.css +1 -1
  7. package/dist/styles.css.map +1 -1
  8. package/package.json +2 -2
  9. package/storybook-static/assets/{ASCIIText.stories-BSKNvcoU.js → ASCIIText.stories-DpBtrb9i.js} +1 -1
  10. package/storybook-static/assets/{AllAtoms.stories-BheGtT2x.js → AllAtoms.stories-C2hvLJ8w.js} +1 -1
  11. package/storybook-static/assets/{AnimatedContent.stories-DHs1c0dV.js → AnimatedContent.stories-Di9Q7t9j.js} +1 -1
  12. package/storybook-static/assets/{AnimatedList.stories-DIfbjb22.js → AnimatedList.stories-BGyYB85Y.js} +1 -1
  13. package/storybook-static/assets/{Antigravity.stories-BsyCq_d_.js → Antigravity.stories-Do1dnEK_.js} +1 -1
  14. package/storybook-static/assets/{ArrayInput.stories-Vhl_2MiN.js → ArrayInput.stories-CNtTKUF0.js} +1 -1
  15. package/storybook-static/assets/{Aurora.stories-C7vxHFyZ.js → Aurora.stories-DHuVs0Nh.js} +1 -1
  16. package/storybook-static/assets/{Beams.stories-WmoAQdE2.js → Beams.stories-C0fr646Y.js} +1 -1
  17. package/storybook-static/assets/{BlobCursor.stories-Do76vl4q.js → BlobCursor.stories-CQmLI7VF.js} +1 -1
  18. package/storybook-static/assets/{BlurText.stories-CIsxOJyQ.js → BlurText.stories-Bqhf_75C.js} +1 -1
  19. package/storybook-static/assets/{BooleansHeatmap.stories-DIdVIPVH.js → BooleansHeatmap.stories-CSTfHU8X.js} +1 -1
  20. package/storybook-static/assets/{BorderGlow.stories-B88w6QLt.js → BorderGlow.stories-DllLrSOi.js} +1 -1
  21. package/storybook-static/assets/{BubbleMenu.stories-CjsSE6cs.js → BubbleMenu.stories-By8eacsb.js} +1 -1
  22. package/storybook-static/assets/{Button-C_YZ5gR4.js → Button-2CSvbnXB.js} +1 -1
  23. package/storybook-static/assets/{Button.stories-Mw6nstnk.js → Button.stories-CMFODsAR.js} +1 -1
  24. package/storybook-static/assets/Calendar-gAaU5NXk.css +1 -0
  25. package/storybook-static/assets/{Calendar.stories-Dxshyi2I.js → Calendar.stories-BPwP3WUJ.js} +6 -6
  26. package/storybook-static/assets/{Card-C1evZ1rT.js → Card-DZVLYsdd.js} +1 -1
  27. package/storybook-static/assets/{Card.stories-Cd8o0lJL.js → Card.stories-DisHmL7k.js} +1 -1
  28. package/storybook-static/assets/{CardNav.stories-CVCNllVh.js → CardNav.stories-e50-9J_A.js} +1 -1
  29. package/storybook-static/assets/{Carousel.stories-DXvKLxeO.js → Carousel.stories-B-rI6jNr.js} +1 -1
  30. package/storybook-static/assets/{Checkbox-tM16vTif.js → Checkbox-D7FUqeuB.js} +1 -1
  31. package/storybook-static/assets/{Checkbox.stories-dhEm8gbi.js → Checkbox.stories-CyIVTBxZ.js} +1 -1
  32. package/storybook-static/assets/{ChromaGrid.stories-_N6hSynZ.js → ChromaGrid.stories-S1cYuc5_.js} +1 -1
  33. package/storybook-static/assets/{CircularGallery.stories-c7BEdmTm.js → CircularGallery.stories-DRrEcX-Y.js} +1 -1
  34. package/storybook-static/assets/{CircularText.stories-BCoG12vU.js → CircularText.stories-CHoRy-lV.js} +1 -1
  35. package/storybook-static/assets/{ClickSpark.stories-BOypb8hM.js → ClickSpark.stories-DbPNmGUE.js} +1 -1
  36. package/storybook-static/assets/{Color-AVL7NMMY-iZX0v-MX.js → Color-AVL7NMMY-C-H2x7hU.js} +1 -1
  37. package/storybook-static/assets/{ColorBends.stories-DJVplB1e.js → ColorBends.stories-BVGGr3v3.js} +1 -1
  38. package/storybook-static/assets/{CountUp.stories-CZoxCmOS.js → CountUp.stories-Ofg9f0h2.js} +1 -1
  39. package/storybook-static/assets/{Counter.stories-CD2CN6Rs.js → Counter.stories-CsO7AtIx.js} +1 -1
  40. package/storybook-static/assets/{Crosshair.stories-pKH0CRjB.js → Crosshair.stories-kyfwqcvB.js} +1 -1
  41. package/storybook-static/assets/{Cubes.stories-CG6EoDFk.js → Cubes.stories-hA-HjWNO.js} +1 -1
  42. package/storybook-static/assets/{CurvedLoop.stories-2_6LGDBt.js → CurvedLoop.stories-CHdhTRmN.js} +1 -1
  43. package/storybook-static/assets/{DarkVeil.stories-NPy-IAdE.js → DarkVeil.stories-B68s8uCO.js} +1 -1
  44. package/storybook-static/assets/{DateInput-bEXupMbC.js → DateInput-DYaAr-pD.js} +1 -1
  45. package/storybook-static/assets/{DateInput.stories-Di9xlwl-.js → DateInput.stories-D8DGjdAu.js} +1 -1
  46. package/storybook-static/assets/{DecayCard.stories-C_nLJJYv.js → DecayCard.stories-RASuy9DU.js} +1 -1
  47. package/storybook-static/assets/{DecryptedText.stories-B3nmn_C5.js → DecryptedText.stories-BYt96S4h.js} +1 -1
  48. package/storybook-static/assets/{Dither.stories-DYFkOPEa.js → Dither.stories-BoRhWSS3.js} +1 -1
  49. package/storybook-static/assets/{Dock.stories-D5xKRTwB.js → Dock.stories-HG_pJS3N.js} +1 -1
  50. package/storybook-static/assets/{DocsRenderer-PQXLIZUC-qnjLy5zI.js → DocsRenderer-PQXLIZUC-DhsqOTVk.js} +4 -4
  51. package/storybook-static/assets/{EditFAB.stories-D7WePUUN.js → EditFAB.stories-CTGHZ2-N.js} +1 -1
  52. package/storybook-static/assets/{EvilEye.stories-Cov9VutU.js → EvilEye.stories-CIq_GN_B.js} +1 -1
  53. package/storybook-static/assets/{FadeContent.stories-mHhk3715.js → FadeContent.stories-D4XSUqNs.js} +1 -1
  54. package/storybook-static/assets/{FaultyTerminal.stories-DjKOHL4-.js → FaultyTerminal.stories-D47h3D9_.js} +1 -1
  55. package/storybook-static/assets/{Fbo-CDZq1mNj.js → Fbo-DJ3Mfipf.js} +1 -1
  56. package/storybook-static/assets/{FloatingLines.stories-B_dxBmBz.js → FloatingLines.stories-DwrsyJ8S.js} +1 -1
  57. package/storybook-static/assets/{FlowingMenu.stories-DdUqXTFx.js → FlowingMenu.stories-BQGeeDYk.js} +1 -1
  58. package/storybook-static/assets/{FluidGlass.stories-C6FrnI3D.js → FluidGlass.stories-BNEe11fE.js} +1 -1
  59. package/storybook-static/assets/{Folder.stories-Zb5rwe3k.js → Folder.stories-C34siiUF.js} +1 -1
  60. package/storybook-static/assets/{FuzzyText.stories-CoZEjZrD.js → FuzzyText.stories-DoRGPHuR.js} +1 -1
  61. package/storybook-static/assets/{Galaxy.stories-D8hfMx7x.js → Galaxy.stories-CoORoc2P.js} +1 -1
  62. package/storybook-static/assets/{GhostCursor.stories-DmAEHIj2.js → GhostCursor.stories-qUL8J6dR.js} +1 -1
  63. package/storybook-static/assets/{GlareHover.stories-C2pGThOS.js → GlareHover.stories-CCdco059.js} +1 -1
  64. package/storybook-static/assets/{GlassSurface.stories-Dt29DAS0.js → GlassSurface.stories-DZY8JTI_.js} +1 -1
  65. package/storybook-static/assets/{GlitchText.stories-sqo6Y5iu.js → GlitchText.stories-BOc2qtp8.js} +1 -1
  66. package/storybook-static/assets/{GooeyNav.stories-DxgFxo-U.js → GooeyNav.stories-AdVJ0HTE.js} +1 -1
  67. package/storybook-static/assets/{GradientBlinds.stories-BO3udAca.js → GradientBlinds.stories-CPMa1wbI.js} +1 -1
  68. package/storybook-static/assets/{GradientText.stories-DwqimEmN.js → GradientText.stories-DiQ4BiOA.js} +1 -1
  69. package/storybook-static/assets/{Grainient.stories-DrGFYn0A.js → Grainient.stories-6AktjTpR.js} +1 -1
  70. package/storybook-static/assets/{GridMotion.stories-Rbww9MSf.js → GridMotion.stories-CpUxov1L.js} +1 -1
  71. package/storybook-static/assets/{ImageSlideshow.stories-BOxjGf7e.js → ImageSlideshow.stories-BB_WEc_C.js} +1 -1
  72. package/storybook-static/assets/{Iridescence.stories-CTQo8feH.js → Iridescence.stories-DVY4Ad82.js} +1 -1
  73. package/storybook-static/assets/{LaserFlow.stories-DsHyOCT6.js → LaserFlow.stories-BIwcrTST.js} +1 -1
  74. package/storybook-static/assets/{LetterGlitch.stories-DYnbcxa2.js → LetterGlitch.stories-CYLP01fr.js} +1 -1
  75. package/storybook-static/assets/{LightPillar.stories-C0oLGh9j.js → LightPillar.stories-Op3-RL2H.js} +1 -1
  76. package/storybook-static/assets/{LightRays.stories-y4A3LO7i.js → LightRays.stories-BWfITZGs.js} +1 -1
  77. package/storybook-static/assets/{Lightning.stories-Bjuvt9ng.js → Lightning.stories-z3EqNFWs.js} +1 -1
  78. package/storybook-static/assets/{LineWaves.stories-DXHfmcAY.js → LineWaves.stories-CN-U2RZb.js} +1 -1
  79. package/storybook-static/assets/{LiquidChrome.stories-BIJKsALp.js → LiquidChrome.stories-CQunDA00.js} +1 -1
  80. package/storybook-static/assets/{LiquidEther.stories-Zn4y8_Dj.js → LiquidEther.stories-Dx5E22qa.js} +1 -1
  81. package/storybook-static/assets/{LoadingSpinner-T2OjcR-z.js → LoadingSpinner-xoFPGq9a.js} +1 -1
  82. package/storybook-static/assets/{LoadingSpinner.stories-YZPlVrIL.js → LoadingSpinner.stories-BXcLzSiN.js} +1 -1
  83. package/storybook-static/assets/{MagicRings.stories-B17cxZu8.js → MagicRings.stories-ChpUpgBm.js} +1 -1
  84. package/storybook-static/assets/{Magnet.stories-C6geVwXu.js → Magnet.stories-CUAsnJjx.js} +1 -1
  85. package/storybook-static/assets/{MagnetLines.stories-uCo-0xpG.js → MagnetLines.stories-BtKFg9_t.js} +1 -1
  86. package/storybook-static/assets/{Masonry.stories-BsaHuUl3.js → Masonry.stories-BfT7aonk.js} +1 -1
  87. package/storybook-static/assets/{MetaBalls.stories-CfS9YAYf.js → MetaBalls.stories-Bpx6y2Mq.js} +1 -1
  88. package/storybook-static/assets/{MetallicPaint.stories-CPnRKq8Y.js → MetallicPaint.stories-i_KuUoJ7.js} +1 -1
  89. package/storybook-static/assets/{MoodChart.stories-Bhzx-Mki.js → MoodChart.stories-BUrwIpbe.js} +1 -1
  90. package/storybook-static/assets/{MotionConfigContext-4uS6JRtS.js → MotionConfigContext-BdSKNtzx.js} +1 -1
  91. package/storybook-static/assets/{Navbar.stories-CTJisFgI.js → Navbar.stories-B5n2URGj.js} +1 -1
  92. package/storybook-static/assets/{Noise.stories-CV2ieqjl.js → Noise.stories-BiOgX5JV.js} +1 -1
  93. package/storybook-static/assets/{NumberStepper-0N2zZmLM.js → NumberStepper-DvLaVPaJ.js} +1 -1
  94. package/storybook-static/assets/{NumberStepper.stories-DO0SaXet.js → NumberStepper.stories-Tp2dyXJp.js} +1 -1
  95. package/storybook-static/assets/{Orb.stories-BO2G-id7.js → Orb.stories-B4ymfobF.js} +1 -1
  96. package/storybook-static/assets/{OrbitImages.stories-Dd0Un1zc.js → OrbitImages.stories-BOOJ2sLz.js} +1 -1
  97. package/storybook-static/assets/{PieChart.stories-YSBHUrlk.js → PieChart.stories-eN4T-LQ5.js} +1 -1
  98. package/storybook-static/assets/{PixelBlast.stories-DLOdQdBC.js → PixelBlast.stories-CKyxO1s-.js} +1 -1
  99. package/storybook-static/assets/{PixelCard.stories-DL1EW33U.js → PixelCard.stories-DNkvTz5j.js} +1 -1
  100. package/storybook-static/assets/{PixelSnow.stories-40ms3GpO.js → PixelSnow.stories-DDwr-w1I.js} +1 -1
  101. package/storybook-static/assets/{PixelTransition.stories-Ce0j1LoP.js → PixelTransition.stories-nLfk3vHv.js} +1 -1
  102. package/storybook-static/assets/{Plasma.stories-C-qYly6i.js → Plasma.stories-CiQrlhdr.js} +1 -1
  103. package/storybook-static/assets/{Prism.stories-BzLhe_ek.js → Prism.stories-DiUQJHSM.js} +1 -1
  104. package/storybook-static/assets/{PrismaticBurst.stories-DODqjw3j.js → PrismaticBurst.stories-CE1GpHYN.js} +1 -1
  105. package/storybook-static/assets/{ProfileCard.stories-DUyZIJ8A.js → ProfileCard.stories-CLCPDEvl.js} +1 -1
  106. package/storybook-static/assets/{QuantifiableHabitsChart.stories-DvgzevZP.js → QuantifiableHabitsChart.stories-qCi1Hwlz.js} +1 -1
  107. package/storybook-static/assets/{Radar.stories-2RPf1QSy.js → Radar.stories-DKY5fGUM.js} +1 -1
  108. package/storybook-static/assets/{Ribbons.stories-RmoPiIi9.js → Ribbons.stories-fdt7Dly3.js} +1 -1
  109. package/storybook-static/assets/{RippleGrid.stories-Otw1g2CJ.js → RippleGrid.stories-n5CU7uPT.js} +1 -1
  110. package/storybook-static/assets/{RotatingText.stories-NgYC0KMN.js → RotatingText.stories-D345b2IH.js} +1 -1
  111. package/storybook-static/assets/{ScrollFloat.stories-BFBCdW8h.js → ScrollFloat.stories-vqa9uxYG.js} +1 -1
  112. package/storybook-static/assets/{ScrollReveal.stories-JKNxxGAh.js → ScrollReveal.stories-dYbCWXJL.js} +1 -1
  113. package/storybook-static/assets/{ScrollVelocity.stories-C8kmHqS4.js → ScrollVelocity.stories-BNKZ-bfJ.js} +1 -1
  114. package/storybook-static/assets/{SearchBar.stories-C7Ba5BXp.js → SearchBar.stories-CXEYCYtx.js} +1 -1
  115. package/storybook-static/assets/{SearchableDropdown-C_6nW_fM.js → SearchableDropdown-BTWjVlVv.js} +1 -1
  116. package/storybook-static/assets/{SearchableDropdown.stories-Cr7zD259.js → SearchableDropdown.stories-BBXXroOM.js} +1 -1
  117. package/storybook-static/assets/{SelectInput-Cq1kd98Q.js → SelectInput-BhKBu2cI.js} +1 -1
  118. package/storybook-static/assets/{SelectInput.stories-BdpLeHVn.js → SelectInput.stories-W6PuLg-G.js} +1 -1
  119. package/storybook-static/assets/{ShapeBlur.stories-lRfZvgfc.js → ShapeBlur.stories-wsyTNDdI.js} +1 -1
  120. package/storybook-static/assets/{ShapeGrid.stories-CfjM9fjH.js → ShapeGrid.stories-BP0HTLmc.js} +1 -1
  121. package/storybook-static/assets/{ShinyText.stories-DKdXfhML.js → ShinyText.stories-2ZQhiBft.js} +1 -1
  122. package/storybook-static/assets/{Silk.stories-CjTLyn1c.js → Silk.stories-C973tELu.js} +1 -1
  123. package/storybook-static/assets/{SleepChart.stories-DJ12EHQj.js → SleepChart.stories-C-nic0Hg.js} +1 -1
  124. package/storybook-static/assets/{Slider-CjC8kTvA.js → Slider-Cj4NY5N0.js} +1 -1
  125. package/storybook-static/assets/{Slider.stories-8dOh6zEz.js → Slider.stories-DLEYO7pQ.js} +1 -1
  126. package/storybook-static/assets/{SoftAurora.stories-OVy3Uj5H.js → SoftAurora.stories-BwKGvWh1.js} +1 -1
  127. package/storybook-static/assets/{SoundDemo.stories-BMnOeJoJ.js → SoundDemo.stories-BBGMylUU.js} +1 -1
  128. package/storybook-static/assets/{SplashCursor.stories-D-l4tdFh.js → SplashCursor.stories-Nh-ONQGd.js} +1 -1
  129. package/storybook-static/assets/{SpotlightCard.stories-CGzh2DPl.js → SpotlightCard.stories-C7FUbVoM.js} +1 -1
  130. package/storybook-static/assets/{Stack.stories-CGsiQ3oD.js → Stack.stories-eXwEbGTy.js} +1 -1
  131. package/storybook-static/assets/{StaggeredMenu.stories-Bq5nvfqE.js → StaggeredMenu.stories-tgVDfUr0.js} +1 -1
  132. package/storybook-static/assets/{StarBorder.stories-CAGKcU-0.js → StarBorder.stories-D36zbc2N.js} +1 -1
  133. package/storybook-static/assets/SunburstChart-Cvr1OzgE.css +1 -0
  134. package/storybook-static/assets/SunburstChart.stories-CgCbkhG8.js +285 -0
  135. package/storybook-static/assets/{Table.stories-DNxjy4mw.js → Table.stories-BdABrDyr.js} +1 -1
  136. package/storybook-static/assets/Tabs-CLXu7F99.css +1 -0
  137. package/storybook-static/assets/{Tabs.stories-CujhnpzV.js → Tabs.stories-BwzAz5v_.js} +6 -6
  138. package/storybook-static/assets/{TargetCursor.stories-CjS6RpDB.js → TargetCursor.stories-D1M0ZV-S.js} +1 -1
  139. package/storybook-static/assets/{TextArea-DHBnvidn.js → TextArea-CMvPbRqQ.js} +1 -1
  140. package/storybook-static/assets/{TextArea.stories-CCC4mZkh.js → TextArea.stories-DmAuD1fB.js} +1 -1
  141. package/storybook-static/assets/{TextCursor.stories-DbbUKuuf.js → TextCursor.stories-CJmFUz8s.js} +1 -1
  142. package/storybook-static/assets/{TextInput-BRLXZRi0.js → TextInput-7QROD9Bu.js} +1 -1
  143. package/storybook-static/assets/{TextInput.stories-DzmoEdX3.js → TextInput.stories-Cwf2_Ika.js} +1 -1
  144. package/storybook-static/assets/{TextPressure.stories-BjGjNHuq.js → TextPressure.stories-CB8UIoN_.js} +1 -1
  145. package/storybook-static/assets/{TextType.stories-BCEjz-Zi.js → TextType.stories-D4ZEW3Fz.js} +1 -1
  146. package/storybook-static/assets/{ThemeSwitcher.stories-0T7fY3d_.js → ThemeSwitcher.stories-DHgVmIcC.js} +1 -1
  147. package/storybook-static/assets/{Threads.stories-DDlSfgD5.js → Threads.stories-P32yG4P8.js} +1 -1
  148. package/storybook-static/assets/{TimeInput.stories-CjV4ksEX.js → TimeInput.stories-Dkkdpsta.js} +1 -1
  149. package/storybook-static/assets/{Toggle-C26yCxt_.js → Toggle-DLu7xVQv.js} +1 -1
  150. package/storybook-static/assets/{Toggle.stories-D5LQoJpm.js → Toggle.stories-BSS4Epfw.js} +1 -1
  151. package/storybook-static/assets/{ToggleButton-DKVqKQxZ.js → ToggleButton-Cq7dxxuH.js} +1 -1
  152. package/storybook-static/assets/{ToggleButton.stories-BfAEDMOR.js → ToggleButton.stories-BZvOkwfy.js} +1 -1
  153. package/storybook-static/assets/{TrueFocus.stories-DA9Ysraz.js → TrueFocus.stories-BMRj967B.js} +1 -1
  154. package/storybook-static/assets/{VariableProximity.stories-CN-Q4WDX.js → VariableProximity.stories-B6-tbs3n.js} +1 -1
  155. package/storybook-static/assets/{Waves.stories-W2IDhrZm.js → Waves.stories-CAJon3iL.js} +1 -1
  156. package/storybook-static/assets/{check-Bh0K2zJt.js → check-D8bWZLP6.js} +1 -1
  157. package/storybook-static/assets/{chevron-down-B26xHSrx.js → chevron-down-BZPtZoHS.js} +1 -1
  158. package/storybook-static/assets/{chevron-right-4NIYYZ8p.js → chevron-right-B4kqmwjo.js} +1 -1
  159. package/storybook-static/assets/client-er7qZ0kF.js +1 -0
  160. package/storybook-static/assets/{createLucideIcon-wa-8tr0c.js → createLucideIcon-Eaeny9Zi.js} +1 -1
  161. package/storybook-static/assets/{folder-OUDa6Ti7.js → folder-DNcKa6s5.js} +1 -1
  162. package/storybook-static/assets/{iconBase-fo9b9WAM.js → iconBase-CstVDnta.js} +1 -1
  163. package/storybook-static/assets/{iframe-2N7rjfXm.js → iframe-CvT6MryR.js} +4 -4
  164. package/storybook-static/assets/{index-IKMS7NhW.js → index-2ZuXCVEx.js} +1 -1
  165. package/storybook-static/assets/{index-DaJY9FlE.js → index-Cb6YhhUk.js} +1 -1
  166. package/storybook-static/assets/{index-BXmXrRij.js → index-KuyQzDCw.js} +1 -1
  167. package/storybook-static/assets/{layout-grid-DMX9O4XB.js → layout-grid-nUVet5Tw.js} +1 -1
  168. package/storybook-static/assets/{proxy-qiKixXs8.js → proxy-0exJiild.js} +1 -1
  169. package/storybook-static/assets/{react-18-DajuY7cH.js → react-18-KOo_VULj.js} +1 -1
  170. package/storybook-static/assets/{react-three-fiber.esm-pSSy_32K.js → react-three-fiber.esm-BbD9yVT_.js} +1 -1
  171. package/storybook-static/assets/{search-DBjUUDRM.js → search-Cfa-rwoK.js} +1 -1
  172. package/storybook-static/assets/{sun-WV9AmUvz.js → sun-BwQ2hAsY.js} +1 -1
  173. package/storybook-static/assets/{use-animation-frame-DNrI5vnP.js → use-animation-frame-BOMew7B2.js} +1 -1
  174. package/storybook-static/assets/{use-in-view-Dn2glBsV.js → use-in-view-BP3CscI2.js} +1 -1
  175. package/storybook-static/assets/{use-motion-value-w2f8nz4L.js → use-motion-value-DfJqnIZb.js} +1 -1
  176. package/storybook-static/assets/{use-spring-CDOZMwuR.js → use-spring-SHZiaDU4.js} +1 -1
  177. package/storybook-static/assets/{use-transform-DZyAm4Sp.js → use-transform-CATrWDJd.js} +1 -1
  178. package/storybook-static/assets/{useSound-BBLJ5Rjg.js → useSound-DyOR6GVH.js} +1 -1
  179. package/storybook-static/assets/{users-0pBe6bxm.js → users-CoCnAJkL.js} +1 -1
  180. package/storybook-static/assets/{x-k5o8Jl5E.js → x-D_m9a61B.js} +1 -1
  181. package/storybook-static/iframe.html +1 -1
  182. package/storybook-static/project.json +1 -1
  183. package/storybook-static/sb-addons/chromatic-com-storybook-4/manager-bundle.js +1 -1
  184. package/storybook-static/sb-addons/docs-2/manager-bundle.js +2 -2
  185. package/storybook-static/sb-addons/links-3/manager-bundle.js +1 -1
  186. package/storybook-static/sb-addons/storybook-5/manager-bundle.js +1 -1
  187. package/storybook-static/assets/Calendar-zTw0ddxb.css +0 -1
  188. package/storybook-static/assets/SunburstChart-ChXvU9py.css +0 -1
  189. package/storybook-static/assets/SunburstChart.stories-ceDZ0sGS.js +0 -285
  190. package/storybook-static/assets/Tabs-BfJ7skOE.css +0 -1
  191. package/storybook-static/assets/client-CyPtLppF.js +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SunburstChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/charts/SunburstChart/SunburstChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAI7D,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;CAC9B;AAED,UAAU,kBAAkB;IACxB,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB;AAyDD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6iBtD,CAAA"}
1
+ {"version":3,"file":"SunburstChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/charts/SunburstChart/SunburstChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,UAAU,kBAAkB;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAiBD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAklBtD,CAAC"}
package/dist/index.esm.js CHANGED
@@ -4286,40 +4286,20 @@ const BooleansHeatmap = ({ data, habitName, width = 800, height = 200, habitColo
4286
4286
  var styles$4 = {"container":"SunburstChart-module_container__w1ZYc","title":"SunburstChart-module_title__T6Ak7","chart":"SunburstChart-module_chart__BFM6E","tooltip":"SunburstChart-module_tooltip__TuTAN"};
4287
4287
 
4288
4288
  const COLOR_PALETTE = [
4289
- '#6366f1', '#8b5cf6', '#06b6d4', '#10b981',
4290
- '#f59e0b', '#ef4444', '#ec4899', '#84cc16',
4291
- '#f97316', '#3b82f6', '#14b8a6', '#f59e0b'
4289
+ '#6366f1',
4290
+ '#8b5cf6',
4291
+ '#06b6d4',
4292
+ '#10b981',
4293
+ '#f59e0b',
4294
+ '#ef4444',
4295
+ '#ec4899',
4296
+ '#84cc16',
4297
+ '#f97316',
4298
+ '#3b82f6',
4299
+ '#14b8a6',
4300
+ '#f59e0b',
4292
4301
  ];
4293
- // Calculate text color based on background luminance for optimal contrast
4294
- const getTextColor$1 = (backgroundColor) => {
4295
- const color = d3.color(backgroundColor);
4296
- if (!color)
4297
- return 'var(--text-primary)';
4298
- const rgb = color.rgb();
4299
- // Calculate relative luminance using WCAG formula
4300
- // Normalize RGB values to 0-1 range for proper calculation
4301
- const r = rgb.r / 255;
4302
- const g = rgb.g / 255;
4303
- const b = rgb.b / 255;
4304
- // Apply gamma correction
4305
- const rLinear = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
4306
- const gLinear = g <= 0.03928 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);
4307
- const bLinear = b <= 0.03928 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4);
4308
- // Calculate relative luminance
4309
- const luminance = 0.2126 * rLinear + 0.7152 * gLinear + 0.0722 * bLinear;
4310
- // Use a threshold of 0.5 for better contrast
4311
- return luminance > 0.5 ? '#000000' : '#ffffff';
4312
- };
4313
- // Helper to create an interpolated arc generator for transitions
4314
- const createInterpolatedArc = (currX0, currX1, currY0, currY1, radius) => {
4315
- return d3.arc()
4316
- .startAngle(() => currX0)
4317
- .endAngle(() => currX1)
4318
- .innerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY0))))
4319
- .outerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY1))))
4320
- .cornerRadius(3);
4321
- };
4322
- const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Chart', tagColors = {}, unit = 'items', centerLabel }) => {
4302
+ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Chart', tagColors = {}, unit = 'items', centerLabel, }) => {
4323
4303
  const svgRef = useRef(null);
4324
4304
  const colorMap = useRef(new Map()).current;
4325
4305
  const colorIndex = useRef(0);
@@ -4331,7 +4311,9 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4331
4311
  const color = d3.color(tagColors[name]);
4332
4312
  if (color) {
4333
4313
  // Darken for deeper levels
4334
- return depth > 1 ? color.darker((depth - 1) * 0.3).toString() : color.toString();
4314
+ return depth > 1
4315
+ ? color.darker((depth - 1) * 0.3).toString()
4316
+ : color.toString();
4335
4317
  }
4336
4318
  }
4337
4319
  // Fallback to color palette
@@ -4351,15 +4333,13 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4351
4333
  return;
4352
4334
  const svg = d3.select(svgRef.current);
4353
4335
  svg.selectAll('*').remove();
4354
- const g = svg.append('g')
4355
- .attr('transform', `translate(${width / 2},${height / 2})`);
4356
- const root = d3.hierarchy(data)
4357
- .sum(d => d.size ?? 0)
4336
+ const g = svg.append('g').attr('transform', `translate(${width / 2},${height / 2})`);
4337
+ const root = d3
4338
+ .hierarchy(data)
4339
+ .sum((d) => d.size ?? 0)
4358
4340
  .sort((a, b) => (b.value ?? 0) - (a.value ?? 0));
4359
- const partition = d3.partition()
4360
- .size([2 * Math.PI, radius * radius]);
4341
+ const partition = d3.partition().size([2 * Math.PI, radius * radius]);
4361
4342
  const nodes = partition(root).descendants();
4362
- // Store original positions for reset
4363
4343
  nodes.forEach((d) => {
4364
4344
  const node = d;
4365
4345
  node.x0Original = d.x0;
@@ -4367,25 +4347,27 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4367
4347
  node.y0Original = d.y0;
4368
4348
  node.y1Original = d.y1;
4369
4349
  });
4370
- const arc = d3.arc()
4371
- .startAngle(d => d.x0)
4372
- .endAngle(d => d.x1)
4373
- .innerRadius(d => Math.sqrt(d.y0))
4374
- .outerRadius(d => Math.sqrt(d.y1))
4350
+ const arc = d3
4351
+ .arc()
4352
+ .startAngle((d) => d.x0)
4353
+ .endAngle((d) => d.x1)
4354
+ .innerRadius((d) => Math.sqrt(d.y0))
4355
+ .outerRadius((d) => Math.sqrt(d.y1))
4375
4356
  .cornerRadius(3);
4376
- const tooltip = d3.select('body').append('div')
4357
+ const tooltip = d3
4358
+ .select('body')
4359
+ .append('div')
4377
4360
  .attr('class', styles$4.tooltip)
4378
4361
  .style('opacity', 0)
4379
4362
  .style('position', 'absolute');
4380
4363
  // Function to reset to original view
4381
4364
  const resetView = () => {
4382
4365
  focusedNodeRef.current = null;
4383
- const transition = d3.transition()
4384
- .duration(750)
4385
- .ease(d3.easeCubicInOut);
4366
+ const transition = d3.transition().duration(750).ease(d3.easeCubicInOut);
4386
4367
  // First show all elements
4387
4368
  paths.style('opacity', 1);
4388
- paths.transition(transition)
4369
+ paths
4370
+ .transition(transition)
4389
4371
  .attrTween('d', (d) => {
4390
4372
  const node = d;
4391
4373
  return (t) => {
@@ -4399,12 +4381,18 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4399
4381
  node.x1 = currX1;
4400
4382
  node.y0 = currY0;
4401
4383
  node.y1 = currY1;
4402
- const interpolatedArc = createInterpolatedArc(currX0, currX1, currY0, currY1, radius);
4384
+ const interpolatedArc = d3
4385
+ .arc()
4386
+ .startAngle(() => currX0)
4387
+ .endAngle(() => currX1)
4388
+ .innerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY0))))
4389
+ .outerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY1))))
4390
+ .cornerRadius(3);
4403
4391
  return interpolatedArc(node) || '';
4404
4392
  };
4405
4393
  });
4406
4394
  // Restore cursor style based on whether nodes have children
4407
- paths.style('cursor', d => (!d.children || d.children.length === 0) ? 'default' : 'pointer');
4395
+ paths.style('cursor', (d) => !d.children || d.children.length === 0 ? 'default' : 'pointer');
4408
4396
  // Reset center button cursor
4409
4397
  centerResetButton.style('cursor', 'default');
4410
4398
  // Update labels
@@ -4423,29 +4411,30 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4423
4411
  return;
4424
4412
  }
4425
4413
  focusedNodeRef.current = clickedNode;
4426
- const transition = d3.transition()
4427
- .duration(750)
4428
- .ease(d3.easeCubicInOut);
4414
+ const transition = d3.transition().duration(750).ease(d3.easeCubicInOut);
4429
4415
  // Zoom to clicked node - scale to fill the entire circle
4430
4416
  const clickedOriginal = clickedNode;
4431
4417
  // Ensure we use the original x values for proper scaling
4432
4418
  // The x-scale maps the clicked node's angular extent to the full circle
4433
- const xScale = d3.scaleLinear()
4419
+ const xScale = d3
4420
+ .scaleLinear()
4434
4421
  .domain([clickedOriginal.x0Original, clickedOriginal.x1Original])
4435
4422
  .range([0, 2 * Math.PI])
4436
4423
  .clamp(true); // Ensure values stay within bounds
4437
4424
  // For the radial scale, always use the full radius available
4438
4425
  // Find the deepest descendant to ensure all children fit
4439
- const descendants = nodes.filter(d => isParentOf(clickedNode, d));
4440
- const maxChildRadius = Math.max(...descendants.map(d => d.y1Original));
4426
+ const descendants = nodes.filter((d) => isParentOf(clickedNode, d));
4427
+ const maxChildRadius = Math.max(...descendants.map((d) => d.y1Original));
4441
4428
  // Always scale to use the full radius, regardless of original size
4442
- const yScale = d3.scaleLinear()
4429
+ const yScale = d3
4430
+ .scaleLinear()
4443
4431
  .domain([clickedOriginal.y0Original, maxChildRadius])
4444
4432
  .range([0, radius * radius])
4445
4433
  .clamp(true); // Ensure values stay within bounds
4446
4434
  // First, immediately hide elements that shouldn't be visible
4447
- paths.style('opacity', (d) => isParentOf(clickedNode, d) ? 1 : 0);
4448
- paths.transition(transition)
4435
+ paths.style('opacity', (d) => (isParentOf(clickedNode, d) ? 1 : 0));
4436
+ paths
4437
+ .transition(transition)
4449
4438
  .attrTween('d', (d) => {
4450
4439
  const node = d;
4451
4440
  // Only transform nodes that are descendants of the clicked node
@@ -4455,14 +4444,15 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4455
4444
  }
4456
4445
  // Calculate new positions based on the original positions
4457
4446
  // ALWAYS scale to fill the full circle, no minimum size preservation
4458
- const newX0 = xScale(node.x0Original);
4447
+ let newX0 = xScale(node.x0Original);
4459
4448
  let newX1 = xScale(node.x1Original);
4460
4449
  // Ensure proper scaling even for very small segments
4461
4450
  // The clicked node's extent should always map to full circle
4462
4451
  if (newX1 <= newX0) {
4463
4452
  // Force proper angular extent based on proportion
4464
- const proportion = (node.x1Original - node.x0Original) / (clickedOriginal.x1Original - clickedOriginal.x0Original);
4465
- newX1 = newX0 + (2 * Math.PI * proportion);
4453
+ const proportion = (node.x1Original - node.x0Original) /
4454
+ (clickedOriginal.x1Original - clickedOriginal.x0Original);
4455
+ newX1 = newX0 + 2 * Math.PI * proportion;
4466
4456
  }
4467
4457
  // For radial positions, scale appropriately
4468
4458
  let newY0, newY1;
@@ -4471,7 +4461,7 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4471
4461
  newY0 = 0;
4472
4462
  // If it has children, leave room for them; otherwise fill to edge
4473
4463
  if (node.children && node.children.length > 0) {
4474
- const childrenY0 = Math.min(...node.children.map(c => c.y0Original));
4464
+ const childrenY0 = Math.min(...node.children.map((c) => c.y0Original));
4475
4465
  newY1 = yScale(childrenY0) * 0.98; // Very slight gap for visual separation
4476
4466
  }
4477
4467
  else {
@@ -4500,12 +4490,18 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4500
4490
  node.x1 = currX1;
4501
4491
  node.y0 = currY0;
4502
4492
  node.y1 = currY1;
4503
- const interpolatedArc = createInterpolatedArc(currX0, currX1, currY0, currY1, radius);
4493
+ const interpolatedArc = d3
4494
+ .arc()
4495
+ .startAngle(() => currX0)
4496
+ .endAngle(() => currX1)
4497
+ .innerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY0))))
4498
+ .outerRadius(() => Math.min(radius, Math.sqrt(Math.max(0, currY1))))
4499
+ .cornerRadius(3);
4504
4500
  return interpolatedArc(node) || '';
4505
4501
  };
4506
4502
  });
4507
4503
  // Update labels for zoomed view
4508
- updateLabels(transition, nodes.filter(d => isParentOf(clickedNode, d)));
4504
+ updateLabels(transition, nodes.filter((d) => isParentOf(clickedNode, d)));
4509
4505
  // Update cursor style to indicate segments are not clickable
4510
4506
  paths.style('cursor', 'default');
4511
4507
  // Update center button to be clickable
@@ -4523,11 +4519,13 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4523
4519
  }
4524
4520
  return false;
4525
4521
  };
4526
- const paths = g.selectAll('path')
4527
- .data(nodes.filter(d => d.depth > 0 && d.value && d.value > 0))
4528
- .enter().append('path')
4529
- .attr('d', d => arc(d) || '')
4530
- .attr('fill', d => {
4522
+ const paths = g
4523
+ .selectAll('path')
4524
+ .data(nodes.filter((d) => d.depth > 0 && d.value && d.value > 0))
4525
+ .enter()
4526
+ .append('path')
4527
+ .attr('d', arc)
4528
+ .attr('fill', (d) => {
4531
4529
  let ancestor = d;
4532
4530
  while (ancestor.depth > 1 && ancestor.parent) {
4533
4531
  ancestor = ancestor.parent;
@@ -4540,27 +4538,26 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4540
4538
  return computedStyle.getPropertyValue('--color-border') || '#e2e8f0';
4541
4539
  })
4542
4540
  .attr('stroke-width', 2)
4543
- .style('cursor', d => (!d.children || d.children.length === 0) ? 'default' : 'pointer')
4541
+ .style('cursor', (d) => !d.children || d.children.length === 0 ? 'default' : 'pointer')
4544
4542
  .on('click', handleClick)
4545
4543
  .on('mouseover', function (event, d) {
4546
4544
  // Don't show hover effect if already focused
4547
4545
  if (focusedNodeRef.current) {
4548
4546
  return;
4549
4547
  }
4550
- const hoveredElement = event.currentTarget;
4548
+ const hoveredElement = this;
4551
4549
  // Show tooltip for all nodes
4552
- tooltip.transition()
4553
- .duration(200)
4554
- .style('opacity', 1);
4550
+ tooltip.transition().duration(200).style('opacity', 1);
4555
4551
  const value = d.value || 0;
4556
4552
  const percentage = ((value / (root.value || 1)) * 100).toFixed(1);
4557
- tooltip.html(`
4553
+ tooltip
4554
+ .html(`
4558
4555
  <div><strong>${d.data.name}</strong></div>
4559
4556
  <div>Value: ${value}</div>
4560
4557
  <div>${percentage}% of total</div>
4561
4558
  `)
4562
- .style('left', (event.pageX + 10) + 'px')
4563
- .style('top', (event.pageY - 28) + 'px');
4559
+ .style('left', event.pageX + 10 + 'px')
4560
+ .style('top', event.pageY - 28 + 'px');
4564
4561
  // Apply blur to all other segments
4565
4562
  paths.each(function () {
4566
4563
  if (this !== hoveredElement) {
@@ -4581,21 +4578,15 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4581
4578
  })
4582
4579
  .on('mouseout', function () {
4583
4580
  // Hide tooltip
4584
- tooltip.transition()
4585
- .duration(500)
4586
- .style('opacity', 0);
4581
+ tooltip.transition().duration(500).style('opacity', 0);
4587
4582
  // Reset all segments
4588
- paths
4589
- .transition()
4590
- .duration(200)
4591
- .style('opacity', 1)
4592
- .style('filter', 'none');
4583
+ paths.transition().duration(200).style('opacity', 1).style('filter', 'none');
4593
4584
  })
4594
4585
  .on('mousemove', function (event) {
4595
4586
  // Update tooltip position on mouse move
4596
4587
  tooltip
4597
- .style('left', (event.pageX + 10) + 'px')
4598
- .style('top', (event.pageY - 28) + 'px');
4588
+ .style('left', event.pageX + 10 + 'px')
4589
+ .style('top', event.pageY - 28 + 'px');
4599
4590
  });
4600
4591
  const shouldDisplayLabel = (d) => {
4601
4592
  const angle = d.x1 - d.x0;
@@ -4611,7 +4602,7 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4611
4602
  // Wait for transition to complete before adding new labels
4612
4603
  transition.on('end', () => {
4613
4604
  // Filter out the focused node itself when zoomed (it's shown in center)
4614
- const nodesToLabel = visibleNodes.filter(d => {
4605
+ const nodesToLabel = visibleNodes.filter((d) => {
4615
4606
  if (focusedNodeRef.current && d === focusedNodeRef.current) {
4616
4607
  return false; // Don't show label for the zoomed parent node
4617
4608
  }
@@ -4619,9 +4610,10 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4619
4610
  });
4620
4611
  g.selectAll('text.segment-label')
4621
4612
  .data(nodesToLabel)
4622
- .enter().append('text')
4613
+ .enter()
4614
+ .append('text')
4623
4615
  .attr('class', 'segment-label')
4624
- .attr('transform', d => {
4616
+ .attr('transform', (d) => {
4625
4617
  const angle = (d.x0 + d.x1) / 2;
4626
4618
  const radiusVal = (Math.sqrt(d.y0) + Math.sqrt(d.y1)) / 2;
4627
4619
  const x = Math.cos(angle - Math.PI / 2) * radiusVal;
@@ -4630,29 +4622,12 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4630
4622
  })
4631
4623
  .attr('text-anchor', 'middle')
4632
4624
  .attr('alignment-baseline', 'middle')
4633
- .attr('font-size', d => d.depth === 1 ? '13px' : '11px')
4634
- .attr('fill', d => {
4635
- let ancestor = d;
4636
- while (ancestor.depth > 1 && ancestor.parent) {
4637
- ancestor = ancestor.parent;
4638
- }
4639
- const segmentColor = getColor(ancestor.data.name, d.depth);
4640
- return getTextColor$1(segmentColor);
4641
- })
4642
- .attr('font-weight', '600')
4625
+ .attr('font-size', (d) => (d.depth === 1 ? '14px' : '12px'))
4626
+ .attr('fill', 'var(--color-text)')
4627
+ .attr('font-weight', '700')
4643
4628
  .style('pointer-events', 'none')
4644
- .style('text-shadow', d => {
4645
- let ancestor = d;
4646
- while (ancestor.depth > 1 && ancestor.parent) {
4647
- ancestor = ancestor.parent;
4648
- }
4649
- const segmentColor = getColor(ancestor.data.name, d.depth);
4650
- const textColor = getTextColor$1(segmentColor);
4651
- // Add subtle shadow for better readability
4652
- const shadowColor = textColor === '#ffffff' ? 'rgba(0,0,0,0.3)' : 'rgba(255,255,255,0.3)';
4653
- return `0 1px 1px ${shadowColor}`;
4654
- })
4655
- .text(d => {
4629
+ .style('text-shadow', 'none')
4630
+ .text((d) => {
4656
4631
  const maxLength = d.depth === 1 ? 12 : 8;
4657
4632
  return d.data.name.substring(0, maxLength);
4658
4633
  })
@@ -4665,7 +4640,9 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4665
4640
  const computedStyle = window.getComputedStyle(svgRef.current);
4666
4641
  const centerTextColor = computedStyle.getPropertyValue('--text-primary') ||
4667
4642
  (computedStyle.getPropertyValue('--bg-primary') === '#000000' ||
4668
- computedStyle.getPropertyValue('color-scheme') === 'dark' ? '#ffffff' : '#000000');
4643
+ computedStyle.getPropertyValue('color-scheme') === 'dark'
4644
+ ? '#ffffff'
4645
+ : '#000000');
4669
4646
  g.append('text')
4670
4647
  .attr('class', 'center-label')
4671
4648
  .attr('text-anchor', 'middle')
@@ -4674,7 +4651,9 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4674
4651
  .attr('font-weight', 'bold')
4675
4652
  .attr('fill', centerTextColor)
4676
4653
  .style('pointer-events', 'none')
4677
- .text(currentNode === root ? (centerLabel || data.name || 'Total') : currentNode.data.name)
4654
+ .text(currentNode === root
4655
+ ? centerLabel || data.name || 'Total'
4656
+ : currentNode.data.name)
4678
4657
  .style('opacity', 0)
4679
4658
  .transition()
4680
4659
  .duration(200)
@@ -4697,7 +4676,8 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4697
4676
  };
4698
4677
  // Add invisible center reset button (circle in the middle)
4699
4678
  const centerRadius = Math.sqrt(nodes[0].y0) || radius * 0.3;
4700
- const centerResetButton = g.append('circle')
4679
+ const centerResetButton = g
4680
+ .append('circle')
4701
4681
  .attr('class', 'center-reset-button')
4702
4682
  .attr('r', centerRadius)
4703
4683
  .attr('fill', 'transparent')
@@ -4730,7 +4710,9 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4730
4710
  const computedStyle = window.getComputedStyle(svgRef.current);
4731
4711
  const centerTextColor = computedStyle.getPropertyValue('--text-primary') ||
4732
4712
  (computedStyle.getPropertyValue('--bg-primary') === '#000000' ||
4733
- computedStyle.getPropertyValue('color-scheme') === 'dark' ? '#ffffff' : '#000000');
4713
+ computedStyle.getPropertyValue('color-scheme') === 'dark'
4714
+ ? '#ffffff'
4715
+ : '#000000');
4734
4716
  // Add center text
4735
4717
  g.append('text')
4736
4718
  .attr('class', 'center-label')
@@ -4752,10 +4734,11 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4752
4734
  .style('pointer-events', 'none')
4753
4735
  .text(`${(root.value || 0).toLocaleString()} ${unit}`);
4754
4736
  g.selectAll('text.segment-label')
4755
- .data(nodes.filter(d => d.depth > 0 && d.value && d.value > 0 && shouldDisplayLabel(d)))
4756
- .enter().append('text')
4737
+ .data(nodes.filter((d) => d.depth > 0 && d.value && d.value > 0 && shouldDisplayLabel(d)))
4738
+ .enter()
4739
+ .append('text')
4757
4740
  .attr('class', 'segment-label')
4758
- .attr('transform', d => {
4741
+ .attr('transform', (d) => {
4759
4742
  const angle = (d.x0 + d.x1) / 2;
4760
4743
  const radiusVal = (Math.sqrt(d.y0) + Math.sqrt(d.y1)) / 2;
4761
4744
  const x = Math.cos(angle - Math.PI / 2) * radiusVal;
@@ -4764,37 +4747,20 @@ const SunburstChart = ({ data, width = 500, height = 500, title = 'Sunburst Char
4764
4747
  })
4765
4748
  .attr('text-anchor', 'middle')
4766
4749
  .attr('alignment-baseline', 'middle')
4767
- .attr('font-size', d => d.depth === 1 ? '13px' : '11px')
4768
- .attr('fill', d => {
4769
- let ancestor = d;
4770
- while (ancestor.depth > 1 && ancestor.parent) {
4771
- ancestor = ancestor.parent;
4772
- }
4773
- const segmentColor = getColor(ancestor.data.name, d.depth);
4774
- return getTextColor$1(segmentColor);
4775
- })
4776
- .attr('font-weight', '600')
4750
+ .attr('font-size', (d) => (d.depth === 1 ? '14px' : '12px'))
4751
+ .attr('fill', 'var(--color-text)')
4752
+ .attr('font-weight', '700')
4777
4753
  .style('pointer-events', 'none')
4778
- .style('text-shadow', d => {
4779
- let ancestor = d;
4780
- while (ancestor.depth > 1 && ancestor.parent) {
4781
- ancestor = ancestor.parent;
4782
- }
4783
- const segmentColor = getColor(ancestor.data.name, d.depth);
4784
- const textColor = getTextColor$1(segmentColor);
4785
- // Add subtle shadow for better readability
4786
- const shadowColor = textColor === '#ffffff' ? 'rgba(0,0,0,0.3)' : 'rgba(255,255,255,0.3)';
4787
- return `0 1px 1px ${shadowColor}`;
4788
- })
4789
- .text(d => {
4754
+ .style('text-shadow', 'none')
4755
+ .text((d) => {
4790
4756
  const maxLength = d.depth === 1 ? 12 : 8;
4791
4757
  return d.data.name.substring(0, maxLength);
4792
4758
  });
4793
4759
  return () => {
4794
4760
  tooltip.remove();
4795
4761
  };
4796
- }, [data, width, height, colorMap, radius, tagColors, unit, centerLabel, getColor]);
4797
- return (jsxs("div", { className: styles$4.container, children: [jsx("h3", { className: styles$4.title, children: title }), jsx("svg", { ref: svgRef, width: width, height: height, className: styles$4.chart })] }));
4762
+ }, [data, width, height, colorMap, radius, tagColors, unit, centerLabel]);
4763
+ return (jsxs("div", { className: styles$4.container, children: [jsx("h3", { className: styles$4.title, children: title }), jsx("svg", { ref: svgRef, viewBox: `0 0 ${width} ${height}`, className: styles$4.chart })] }));
4798
4764
  };
4799
4765
 
4800
4766
  var styles$3 = {"container":"PieChart-module_container__tXjbe","title":"PieChart-module_title__61o0R","chartContainer":"PieChart-module_chartContainer__uLmOz","chart":"PieChart-module_chart__3nqON","legend":"PieChart-module_legend__rAWgh","legendItem":"PieChart-module_legendItem__Nb031","legendColor":"PieChart-module_legendColor__fLuv9","legendLabel":"PieChart-module_legendLabel__xbjBr","legendValue":"PieChart-module_legendValue__h2WS2","tooltip":"PieChart-module_tooltip__140RU"};