@stfrigerio/sito-template 0.1.59 → 0.1.61

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 (193) hide show
  1. package/dist/components/molecules/TimeInput/TimeInput.d.ts +1 -1
  2. package/dist/components/molecules/TimeInput/TimeInput.d.ts.map +1 -1
  3. package/dist/components/molecules/TimeInput/index.d.ts +0 -1
  4. package/dist/components/molecules/TimeInput/index.d.ts.map +1 -1
  5. package/dist/components/organisms/Calendar/Calendar.d.ts +5 -1
  6. package/dist/components/organisms/Calendar/Calendar.d.ts.map +1 -1
  7. package/dist/components/organisms/Calendar/Calendar.stories.d.ts +1 -0
  8. package/dist/components/organisms/Calendar/Calendar.stories.d.ts.map +1 -1
  9. package/dist/components/organisms/Calendar/exportEvents.d.ts +8 -0
  10. package/dist/components/organisms/Calendar/exportEvents.d.ts.map +1 -0
  11. package/dist/index.esm.js +313 -218
  12. package/dist/index.esm.js.map +1 -1
  13. package/dist/index.js +311 -216
  14. package/dist/index.js.map +1 -1
  15. package/dist/styles.css +1 -1
  16. package/dist/styles.css.map +1 -1
  17. package/package.json +11 -1
  18. package/storybook-static/assets/{ASCIIText.stories-CsG3yKr5.js → ASCIIText.stories-OSKwRAyY.js} +1 -1
  19. package/storybook-static/assets/{AllAtoms.stories-D2Pzz8c7.js → AllAtoms.stories-BMrwCHeq.js} +1 -1
  20. package/storybook-static/assets/{AnimatedContent.stories-BP9feFGz.js → AnimatedContent.stories-Bxf47ut1.js} +1 -1
  21. package/storybook-static/assets/{AnimatedList.stories-DQ8jdk44.js → AnimatedList.stories-B1E8UqMr.js} +1 -1
  22. package/storybook-static/assets/{Antigravity.stories-BTIHyYKU.js → Antigravity.stories-I5mdFgmP.js} +1 -1
  23. package/storybook-static/assets/{ArrayInput.stories-d5_OJJMu.js → ArrayInput.stories-DxmE1Rmk.js} +1 -1
  24. package/storybook-static/assets/{Aurora.stories-D_eQNPaB.js → Aurora.stories-DTyse-oN.js} +1 -1
  25. package/storybook-static/assets/{Beams.stories-VLKuYE0_.js → Beams.stories-BTOldQ0-.js} +1 -1
  26. package/storybook-static/assets/{BlobCursor.stories-BQJgTsuD.js → BlobCursor.stories-C_EhL1Sb.js} +1 -1
  27. package/storybook-static/assets/{BlurText.stories-oSn5_w7h.js → BlurText.stories-DBE9duA2.js} +1 -1
  28. package/storybook-static/assets/{BooleansHeatmap.stories-CHoCYK4N.js → BooleansHeatmap.stories-BK-0k1Yf.js} +1 -1
  29. package/storybook-static/assets/{BorderGlow.stories-D-vgIU3S.js → BorderGlow.stories-DUaNIh97.js} +1 -1
  30. package/storybook-static/assets/{BubbleMenu.stories-DcWoqA7_.js → BubbleMenu.stories-DUkNhCYN.js} +1 -1
  31. package/storybook-static/assets/{Button-DgpqJWgD.js → Button-CmL8YExH.js} +1 -1
  32. package/storybook-static/assets/{Button.stories-TQXKQagp.js → Button.stories-Qe92VaQO.js} +1 -1
  33. package/storybook-static/assets/Calendar-CXrUBxYt.css +1 -0
  34. package/storybook-static/assets/Calendar.stories-DvRq1jLb.js +352 -0
  35. package/storybook-static/assets/{Card-Bu54h8gN.js → Card-BNN9rA1_.js} +1 -1
  36. package/storybook-static/assets/{Card.stories-Dw2bPvLo.js → Card.stories-DJtwbzzK.js} +1 -1
  37. package/storybook-static/assets/{CardNav.stories-CnbwwAde.js → CardNav.stories-D3WJ4l1d.js} +1 -1
  38. package/storybook-static/assets/{Carousel.stories-ChBLLqBg.js → Carousel.stories-Cl5XZxQx.js} +1 -1
  39. package/storybook-static/assets/{Checkbox-Duyafa-Y.js → Checkbox-NV1yLfww.js} +1 -1
  40. package/storybook-static/assets/{Checkbox.stories-Co7IxmK1.js → Checkbox.stories-DEt8_02c.js} +1 -1
  41. package/storybook-static/assets/{ChromaGrid.stories-68ukohGs.js → ChromaGrid.stories-BPq9jzOX.js} +1 -1
  42. package/storybook-static/assets/{CircularGallery.stories-CV4iXVIX.js → CircularGallery.stories-BKkHClqR.js} +1 -1
  43. package/storybook-static/assets/{CircularText.stories-DqYHtbPW.js → CircularText.stories-DL97L-4c.js} +1 -1
  44. package/storybook-static/assets/{ClickSpark.stories-DvAOxLjs.js → ClickSpark.stories-CePCUrfJ.js} +1 -1
  45. package/storybook-static/assets/{ColorBends.stories-Dm4nxTTN.js → ColorBends.stories-qHNzC_b-.js} +1 -1
  46. package/storybook-static/assets/{CountUp.stories-DTaL8Yfy.js → CountUp.stories-DN2cFFy0.js} +1 -1
  47. package/storybook-static/assets/{Counter.stories-Bf_2Js0l.js → Counter.stories-U-VxTg4K.js} +1 -1
  48. package/storybook-static/assets/{Crosshair.stories-DJjjCcED.js → Crosshair.stories-DZ3e7z4E.js} +1 -1
  49. package/storybook-static/assets/{Cubes.stories-Qh3JqlQW.js → Cubes.stories-zndGensK.js} +1 -1
  50. package/storybook-static/assets/{CurvedLoop.stories-BvyrCuM7.js → CurvedLoop.stories-CPwaetTg.js} +1 -1
  51. package/storybook-static/assets/{DarkVeil.stories-BVY870pm.js → DarkVeil.stories-7UE8YAds.js} +1 -1
  52. package/storybook-static/assets/{DateInput-DfGES3te.js → DateInput-C7UYtU2f.js} +1 -1
  53. package/storybook-static/assets/{DateInput.stories-BXF8Ttde.js → DateInput.stories-Blprxd6L.js} +1 -1
  54. package/storybook-static/assets/{DecayCard.stories-B0g2xWqX.js → DecayCard.stories-CyDj4Rzg.js} +1 -1
  55. package/storybook-static/assets/{DecryptedText.stories-fqDZfjv8.js → DecryptedText.stories-CcmNeei7.js} +1 -1
  56. package/storybook-static/assets/{Dither.stories-B4N3Z5sW.js → Dither.stories-Cx3gQA5F.js} +1 -1
  57. package/storybook-static/assets/{Dock.stories-f_YKz-pl.js → Dock.stories-BnetMt5P.js} +1 -1
  58. package/storybook-static/assets/{EditFAB.stories-LhVUDgtx.js → EditFAB.stories-BM8RRvq2.js} +1 -1
  59. package/storybook-static/assets/{EvilEye.stories-BtBvvs31.js → EvilEye.stories-CU9FGY5P.js} +1 -1
  60. package/storybook-static/assets/{FadeContent.stories-oNqKrfSe.js → FadeContent.stories-BaWDFQed.js} +1 -1
  61. package/storybook-static/assets/{FaultyTerminal.stories-7nV4DvrW.js → FaultyTerminal.stories-D1AZCPEZ.js} +1 -1
  62. package/storybook-static/assets/{Fbo-Clk04E0N.js → Fbo-BM-i3UPR.js} +1 -1
  63. package/storybook-static/assets/{FloatingLines.stories-DgxhGl_b.js → FloatingLines.stories-fehYMPcZ.js} +1 -1
  64. package/storybook-static/assets/{FlowingMenu.stories-C5dfG25U.js → FlowingMenu.stories-DRGoAotO.js} +1 -1
  65. package/storybook-static/assets/{FluidGlass.stories-DGLlp1x1.js → FluidGlass.stories-DgAiwR5f.js} +1 -1
  66. package/storybook-static/assets/{Folder.stories-BJGdA6Qb.js → Folder.stories-Bys9N63w.js} +1 -1
  67. package/storybook-static/assets/{FuzzyText.stories-DygRT6bB.js → FuzzyText.stories-D-74llkc.js} +1 -1
  68. package/storybook-static/assets/{Galaxy.stories-BU6XCHeu.js → Galaxy.stories-VD6ETxyT.js} +1 -1
  69. package/storybook-static/assets/{GhostCursor.stories-D_HIFPUl.js → GhostCursor.stories-DjMEnN7i.js} +1 -1
  70. package/storybook-static/assets/{GlareHover.stories-D5_-xnyP.js → GlareHover.stories-6KgkPV6C.js} +1 -1
  71. package/storybook-static/assets/{GlassSurface.stories-CrZqAGRq.js → GlassSurface.stories-Dj1kCNDg.js} +1 -1
  72. package/storybook-static/assets/{GlitchText.stories-BRqI-kBX.js → GlitchText.stories-DcGDGtvN.js} +1 -1
  73. package/storybook-static/assets/{GooeyNav.stories-DjR0-Th2.js → GooeyNav.stories-yae-ax1k.js} +1 -1
  74. package/storybook-static/assets/{GradientBlinds.stories-CiIDtPz3.js → GradientBlinds.stories-B7h647VQ.js} +1 -1
  75. package/storybook-static/assets/{GradientText.stories-pLA_An71.js → GradientText.stories-BPUXNES_.js} +1 -1
  76. package/storybook-static/assets/{Grainient.stories-BthRrRMd.js → Grainient.stories-BjFhc8gt.js} +1 -1
  77. package/storybook-static/assets/{GridMotion.stories-BSwjL8IE.js → GridMotion.stories-Bm8YB3Nc.js} +1 -1
  78. package/storybook-static/assets/{ImageSlideshow.stories-BYAQMHlZ.js → ImageSlideshow.stories-BT5Pfqt3.js} +6 -11
  79. package/storybook-static/assets/{Iridescence.stories-ChHTH2TM.js → Iridescence.stories-DysieilC.js} +1 -1
  80. package/storybook-static/assets/{LaserFlow.stories-DlDx8Vr8.js → LaserFlow.stories-BJMXiU6b.js} +1 -1
  81. package/storybook-static/assets/{LetterGlitch.stories-C-S2SRjU.js → LetterGlitch.stories-Qpkbs2x5.js} +1 -1
  82. package/storybook-static/assets/{LightPillar.stories-D0PF-h7T.js → LightPillar.stories-D7r7SjN3.js} +1 -1
  83. package/storybook-static/assets/{LightRays.stories-Cbkl7wuP.js → LightRays.stories-CSmrA40u.js} +1 -1
  84. package/storybook-static/assets/{Lightning.stories-BUs-gwYj.js → Lightning.stories-0zr6qZVm.js} +1 -1
  85. package/storybook-static/assets/{LineWaves.stories-D2GXzteP.js → LineWaves.stories-KgMfrrqs.js} +1 -1
  86. package/storybook-static/assets/{LiquidChrome.stories-CtDp7th1.js → LiquidChrome.stories-B8ZLHoH1.js} +1 -1
  87. package/storybook-static/assets/{LiquidEther.stories-DM2n5oEm.js → LiquidEther.stories-C4k9P7aN.js} +1 -1
  88. package/storybook-static/assets/{LoadingSpinner-DaUSIVPY.js → LoadingSpinner-Cy3HB7-7.js} +1 -1
  89. package/storybook-static/assets/{LoadingSpinner.stories-Cx4_nNAf.js → LoadingSpinner.stories-DDNFJhwe.js} +1 -1
  90. package/storybook-static/assets/{MagicRings.stories-CZt-cHcL.js → MagicRings.stories-UqocGxaQ.js} +1 -1
  91. package/storybook-static/assets/{Magnet.stories-B6js1VeO.js → Magnet.stories-BxvO0Fqj.js} +1 -1
  92. package/storybook-static/assets/{MagnetLines.stories-BKQ9YC_E.js → MagnetLines.stories-BMqOFHvT.js} +1 -1
  93. package/storybook-static/assets/{Masonry.stories-BGkTkNUa.js → Masonry.stories-CLwqpLTU.js} +1 -1
  94. package/storybook-static/assets/{MetaBalls.stories-Cao6Tqjg.js → MetaBalls.stories-B_lPmlPu.js} +1 -1
  95. package/storybook-static/assets/{MetallicPaint.stories-DF9qb3W_.js → MetallicPaint.stories-9AWQepP6.js} +1 -1
  96. package/storybook-static/assets/{MoodChart.stories-AGxwnR6s.js → MoodChart.stories-B6LHsTmy.js} +1 -1
  97. package/storybook-static/assets/{MotionConfigContext-BCa1jVYq.js → MotionConfigContext-CJ0kpWbz.js} +1 -1
  98. package/storybook-static/assets/{Navbar.stories-CFHb1c22.js → Navbar.stories-Cag40GVb.js} +1 -1
  99. package/storybook-static/assets/{Noise.stories-ConXbyqm.js → Noise.stories-BukT-fj1.js} +1 -1
  100. package/storybook-static/assets/{NumberStepper-DH9y3k8b.js → NumberStepper-Ut_VByYA.js} +1 -1
  101. package/storybook-static/assets/{NumberStepper.stories-PMwPqbsn.js → NumberStepper.stories-3y594BTK.js} +1 -1
  102. package/storybook-static/assets/{Orb.stories-DcXSWhV1.js → Orb.stories-B45u5gJo.js} +1 -1
  103. package/storybook-static/assets/{OrbitImages.stories-Dk417qKA.js → OrbitImages.stories-B_7X-GMA.js} +1 -1
  104. package/storybook-static/assets/{PieChart.stories-6sgfe6Xk.js → PieChart.stories-DLrtlyWH.js} +1 -1
  105. package/storybook-static/assets/{PixelBlast.stories-_cBuognT.js → PixelBlast.stories-C4ZAaMH_.js} +1 -1
  106. package/storybook-static/assets/{PixelCard.stories-D_EZOUox.js → PixelCard.stories-CaOGvNQ_.js} +1 -1
  107. package/storybook-static/assets/{PixelSnow.stories-DcD7737G.js → PixelSnow.stories-CGmFGV3L.js} +1 -1
  108. package/storybook-static/assets/{PixelTransition.stories-BwNcUv5J.js → PixelTransition.stories-DzTJZhF-.js} +1 -1
  109. package/storybook-static/assets/{Plasma.stories-BLolMCfR.js → Plasma.stories-CoyLfj7o.js} +1 -1
  110. package/storybook-static/assets/{Prism.stories-CG2_KGsq.js → Prism.stories-D2E3ZI6g.js} +1 -1
  111. package/storybook-static/assets/{PrismaticBurst.stories-DzS--Ffu.js → PrismaticBurst.stories-B8PJhK5n.js} +1 -1
  112. package/storybook-static/assets/{ProfileCard.stories-vI_ispYe.js → ProfileCard.stories-CbRCcyd9.js} +1 -1
  113. package/storybook-static/assets/{QuantifiableHabitsChart.stories-D5yeGCZ5.js → QuantifiableHabitsChart.stories-BCrpnpyh.js} +1 -1
  114. package/storybook-static/assets/{Radar.stories-DLv_hY9T.js → Radar.stories-B-Ki4OHb.js} +1 -1
  115. package/storybook-static/assets/{Ribbons.stories-4BbVINtW.js → Ribbons.stories-DMBczKgc.js} +1 -1
  116. package/storybook-static/assets/{RippleGrid.stories-CFh8tigy.js → RippleGrid.stories-C8dKr2CX.js} +1 -1
  117. package/storybook-static/assets/{RotatingText.stories-AM4GcpU2.js → RotatingText.stories-DJu0v3mv.js} +1 -1
  118. package/storybook-static/assets/{ScrollFloat.stories-Ct_ZkL7k.js → ScrollFloat.stories-B_edvvO1.js} +1 -1
  119. package/storybook-static/assets/{ScrollReveal.stories-B7fcgLZ3.js → ScrollReveal.stories-DTYFesNE.js} +1 -1
  120. package/storybook-static/assets/{ScrollVelocity.stories-BRDv3Fdk.js → ScrollVelocity.stories-B2O7zZ2t.js} +1 -1
  121. package/storybook-static/assets/{SearchBar.stories-Dnmegbak.js → SearchBar.stories-CUEF7Ba4.js} +1 -1
  122. package/storybook-static/assets/{SearchableDropdown-BtIsuxmT.js → SearchableDropdown-C6KY2mIJ.js} +1 -1
  123. package/storybook-static/assets/{SearchableDropdown.stories-DVub17TN.js → SearchableDropdown.stories-DbSJdUAJ.js} +1 -1
  124. package/storybook-static/assets/{SelectInput-C0kBLYgX.js → SelectInput-tDvouCuN.js} +1 -1
  125. package/storybook-static/assets/{SelectInput.stories-HoF32-Km.js → SelectInput.stories-C6apSsWx.js} +1 -1
  126. package/storybook-static/assets/{ShapeBlur.stories-C3RyLvBh.js → ShapeBlur.stories-DVQs_Ng0.js} +1 -1
  127. package/storybook-static/assets/{ShapeGrid.stories-ltmu466o.js → ShapeGrid.stories-BjibW7b1.js} +1 -1
  128. package/storybook-static/assets/{ShinyText.stories-JO2F4CpJ.js → ShinyText.stories-DTezLW7e.js} +1 -1
  129. package/storybook-static/assets/{Silk.stories-CUzWiwqP.js → Silk.stories-fZbeNXOO.js} +1 -1
  130. package/storybook-static/assets/{SleepChart.stories-YvCzf0BI.js → SleepChart.stories-nqH0hgCL.js} +1 -1
  131. package/storybook-static/assets/{Slider-CI9mXQSu.js → Slider-DIeyN9Hx.js} +1 -1
  132. package/storybook-static/assets/{Slider.stories-DQYlBjGq.js → Slider.stories-BzcscFcU.js} +1 -1
  133. package/storybook-static/assets/{SoftAurora.stories-ubq_KV8Q.js → SoftAurora.stories-Cvtf3TKB.js} +1 -1
  134. package/storybook-static/assets/{SoundDemo.stories-Cie-leKw.js → SoundDemo.stories-Dpq3K-yq.js} +1 -1
  135. package/storybook-static/assets/{SplashCursor.stories-Clea3dMy.js → SplashCursor.stories-Y5zBSBCL.js} +1 -1
  136. package/storybook-static/assets/{SpotlightCard.stories-BWv0AuTI.js → SpotlightCard.stories-B1KBEp6T.js} +1 -1
  137. package/storybook-static/assets/{Stack.stories-DxVGTJ6l.js → Stack.stories-CA5YToyH.js} +1 -1
  138. package/storybook-static/assets/{StaggeredMenu.stories-1UB8ravq.js → StaggeredMenu.stories-BvQIujuB.js} +1 -1
  139. package/storybook-static/assets/{StarBorder.stories-DiSAqN3r.js → StarBorder.stories-CHtwoVna.js} +1 -1
  140. package/storybook-static/assets/{SunburstChart.stories-DLjQA_I1.js → SunburstChart.stories-Ch-ivaQT.js} +1 -1
  141. package/storybook-static/assets/{Table.stories-wQGb96WC.js → Table.stories-CvYZiI3H.js} +1 -1
  142. package/storybook-static/assets/{Tabs.stories-jkioQ4xt.js → Tabs.stories-BN3Icfzj.js} +1 -1
  143. package/storybook-static/assets/{TargetCursor.stories-B4ACbrmW.js → TargetCursor.stories-D1PTwE36.js} +1 -1
  144. package/storybook-static/assets/{TextArea-DN6IYITs.js → TextArea-DKtwryA1.js} +1 -1
  145. package/storybook-static/assets/{TextArea.stories-CwLLZFoD.js → TextArea.stories-CxsYukYi.js} +1 -1
  146. package/storybook-static/assets/{TextCursor.stories-NORQhkfy.js → TextCursor.stories-BouFdSlt.js} +1 -1
  147. package/storybook-static/assets/{TextInput-CLgIGUn3.js → TextInput-CsK2bPrD.js} +1 -1
  148. package/storybook-static/assets/{TextInput.stories-BNooOWA2.js → TextInput.stories-fZ3j5ID4.js} +1 -1
  149. package/storybook-static/assets/{TextPressure.stories-BaCAyBD4.js → TextPressure.stories-B6pN9RLp.js} +1 -1
  150. package/storybook-static/assets/{TextType.stories-DG4mQ3HF.js → TextType.stories-C9jm9TdC.js} +1 -1
  151. package/storybook-static/assets/{ThemeSwitcher.stories-slxIamHU.js → ThemeSwitcher.stories-DHJZPEtd.js} +1 -1
  152. package/storybook-static/assets/{Threads.stories-Rsg8lRsX.js → Threads.stories-BiH2lkaI.js} +1 -1
  153. package/storybook-static/assets/{TimeInput.stories-CaO8_PY2.js → TimeInput.stories-DOyFcxE2.js} +1 -1
  154. package/storybook-static/assets/{Toggle-CTTN-13k.js → Toggle-sPP5IZcW.js} +1 -1
  155. package/storybook-static/assets/{Toggle.stories-DrNYDjFB.js → Toggle.stories-D5BPv-SU.js} +1 -1
  156. package/storybook-static/assets/{ToggleButton-CXK855yx.js → ToggleButton-DmyfG7tC.js} +1 -1
  157. package/storybook-static/assets/{ToggleButton.stories-DNsNH9vH.js → ToggleButton.stories-B1AcmGcL.js} +1 -1
  158. package/storybook-static/assets/{TrueFocus.stories-zG6Ml8RP.js → TrueFocus.stories-CYVbY0Hb.js} +1 -1
  159. package/storybook-static/assets/{VariableProximity.stories-CMZW-Tov.js → VariableProximity.stories-BZRrDkSH.js} +1 -1
  160. package/storybook-static/assets/{Waves.stories-CscXTp_S.js → Waves.stories-D9BkuCeQ.js} +1 -1
  161. package/storybook-static/assets/{check-DLeHG_Da.js → check-B3Ha7gnS.js} +1 -1
  162. package/storybook-static/assets/{chevron-down-Ciks5pXx.js → chevron-down-DlPO5f1Y.js} +1 -1
  163. package/storybook-static/assets/{chevron-right-DjeluSA0.js → chevron-right-B8eoaBIh.js} +1 -1
  164. package/storybook-static/assets/client-DxIdGip8.js +1 -0
  165. package/storybook-static/assets/{createLucideIcon-dvowvj4F.js → createLucideIcon-G8N511cp.js} +1 -1
  166. package/storybook-static/assets/download-w1NWX-h6.js +6 -0
  167. package/storybook-static/assets/{folder-CCqkDvFG.js → folder-JRyPzO6h.js} +1 -1
  168. package/storybook-static/assets/{iconBase-nrk1zV8Q.js → iconBase-DxMTUG9N.js} +1 -1
  169. package/storybook-static/assets/{iframe-Cw8dCV4Z.js → iframe-DCkPNH_h.js} +3 -3
  170. package/storybook-static/assets/{index-CzApopWo.js → index-BTVArzym.js} +1 -1
  171. package/storybook-static/assets/{index-A7l1uA6_.js → index-BW6Op62F.js} +1 -1
  172. package/storybook-static/assets/{index-Bm5msOcI.js → index-CsT-CD6f.js} +1 -1
  173. package/storybook-static/assets/{proxy-p8L3T_Zy.js → proxy-cgPyYfyG.js} +1 -1
  174. package/storybook-static/assets/{react-18-D7YhBYbX.js → react-18-YVQChixo.js} +1 -1
  175. package/storybook-static/assets/{react-three-fiber.esm-BnMrba87.js → react-three-fiber.esm-_mYjl9J6.js} +1 -1
  176. package/storybook-static/assets/{search-7V6DOf2z.js → search-DioxI_xb.js} +1 -1
  177. package/storybook-static/assets/{settings-B8s5hJGs.js → settings-DFQ10p72.js} +1 -1
  178. package/storybook-static/assets/{sun-5V6ee2LJ.js → sun-BfIldVmy.js} +1 -1
  179. package/storybook-static/assets/{trash-2-DeQvYdO7.js → trash-2-DqTvgQRR.js} +1 -1
  180. package/storybook-static/assets/{use-animation-frame-DovyG_Es.js → use-animation-frame-CnngNm80.js} +1 -1
  181. package/storybook-static/assets/{use-in-view-Dv3LTdsl.js → use-in-view-DLYDN0EG.js} +1 -1
  182. package/storybook-static/assets/{use-motion-value-BVm7csqA.js → use-motion-value-Ud8-h3gV.js} +1 -1
  183. package/storybook-static/assets/{use-spring-BkrdNVnG.js → use-spring-DcEBTvl_.js} +1 -1
  184. package/storybook-static/assets/{use-transform-CQNghMvr.js → use-transform-8mNuLPFu.js} +1 -1
  185. package/storybook-static/assets/{useSound-D23BsIr4.js → useSound-Cv_O9Yec.js} +1 -1
  186. package/storybook-static/assets/{users-R6T-yLyH.js → users-B5lo7ErU.js} +1 -1
  187. package/storybook-static/assets/{x-CypMgsiv.js → x-CgTXkpyT.js} +1 -1
  188. package/storybook-static/iframe.html +1 -1
  189. package/storybook-static/index.json +1 -1
  190. package/storybook-static/project.json +1 -1
  191. package/storybook-static/assets/Calendar-BZCyXxvF.css +0 -1
  192. package/storybook-static/assets/Calendar.stories-D5CKBagI.js +0 -321
  193. package/storybook-static/assets/client-D1KVnN68.js +0 -1
package/dist/index.esm.js CHANGED
@@ -1,11 +1,16 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { motion, AnimatePresence, useMotionValue, useTransform, animate, LayoutGroup } from 'framer-motion';
3
- import React, { useRef, useEffect, useCallback, useState, createContext, useContext, useMemo, Fragment as Fragment$1, memo } from 'react';
3
+ import React, { useRef, useEffect, useCallback, useState, useMemo, createContext, useContext, Fragment as Fragment$1, memo } from 'react';
4
4
  import { createPortal } from 'react-dom';
5
- import { X, Calendar as Calendar$1, ChevronDown, Search, Check, Edit, Folder, Users, Book, MessageSquare, UserPlus, Clock, Sun, Moon, Info, Github, SquareKanban, ChevronRight, Plus, Trash2, GripVertical, Pencil, Menu, ChevronLeft, Maximize, Download, Share2, Pause, Play } from 'lucide-react';
5
+ import { X, Calendar as Calendar$1, ChevronDown, Search, Check, Edit, Folder, Users, Book, MessageSquare, UserPlus, Sun, Moon, Info, Github, SquareKanban, ChevronRight, Plus, Trash2, GripVertical, Pencil, Download, Menu, ChevronLeft, Maximize, Share2, Pause, Play } from 'lucide-react';
6
+ import dayjs from 'dayjs';
7
+ import { MobileTimePicker } from '@mui/x-date-pickers/MobileTimePicker';
8
+ import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
9
+ import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
10
+ import { createTheme, ThemeProvider as ThemeProvider$1 } from '@mui/material/styles';
6
11
  import * as d3 from 'd3';
7
12
 
8
- var styles$A = {"button":"Button-module_button__c6nkW","primary":"Button-module_primary__pMqAs","secondary":"Button-module_secondary__mBWx9","outline":"Button-module_outline__NGGGN","ghost":"Button-module_ghost__u2QBF","danger":"Button-module_danger__2ewhr","small":"Button-module_small__ZI9RX","medium":"Button-module_medium__Wnf9t","large":"Button-module_large__cQCpA","fullWidth":"Button-module_fullWidth__N8vYg","loading":"Button-module_loading__hcSI4","spinner":"Button-module_spinner__HtM96","spin":"Button-module_spin__jblrj","iconLeft":"Button-module_iconLeft__Fpz-y","iconRight":"Button-module_iconRight__kTfjS"};
13
+ var styles$z = {"button":"Button-module_button__c6nkW","primary":"Button-module_primary__pMqAs","secondary":"Button-module_secondary__mBWx9","outline":"Button-module_outline__NGGGN","ghost":"Button-module_ghost__u2QBF","danger":"Button-module_danger__2ewhr","small":"Button-module_small__ZI9RX","medium":"Button-module_medium__Wnf9t","large":"Button-module_large__cQCpA","fullWidth":"Button-module_fullWidth__N8vYg","loading":"Button-module_loading__hcSI4","spinner":"Button-module_spinner__HtM96","spin":"Button-module_spin__jblrj","iconLeft":"Button-module_iconLeft__Fpz-y","iconRight":"Button-module_iconRight__kTfjS"};
9
14
 
10
15
  const SOUND_PACKS = {
11
16
  digital: {
@@ -570,11 +575,11 @@ function useComponentSound(config, options) {
570
575
  const Button = ({ variant = 'primary', size = 'medium', fullWidth = false, loading = false, iconLeft, iconRight, children, className = '', disabled, motionProps, soundConfig, onClick, onMouseEnter, onFocus, ...rest }) => {
571
576
  const { handlers } = useComponentSound(soundConfig);
572
577
  const buttonClasses = [
573
- styles$A.button,
574
- styles$A[variant],
575
- styles$A[size],
576
- fullWidth && styles$A.fullWidth,
577
- loading && styles$A.loading,
578
+ styles$z.button,
579
+ styles$z[variant],
580
+ styles$z[size],
581
+ fullWidth && styles$z.fullWidth,
582
+ loading && styles$z.loading,
578
583
  className
579
584
  ].filter(Boolean).join(' ');
580
585
  const handleClick = (e) => {
@@ -585,10 +590,10 @@ const Button = ({ variant = 'primary', size = 'medium', fullWidth = false, loadi
585
590
  handlers.onMouseEnter?.();
586
591
  onMouseEnter?.(e);
587
592
  };
588
- return (jsxs(motion.button, { className: buttonClasses, disabled: disabled || loading, whileHover: { scale: disabled || loading ? 1 : 1.02 }, whileTap: { scale: disabled || loading ? 1 : 0.98 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: handleClick, onMouseEnter: handleMouseEnter, onFocus: onFocus, ...motionProps, ...rest, children: [loading && jsx("span", { className: styles$A.spinner }), iconLeft && jsx("span", { className: styles$A.iconLeft, children: iconLeft }), children, iconRight && jsx("span", { className: styles$A.iconRight, children: iconRight })] }));
593
+ return (jsxs(motion.button, { className: buttonClasses, disabled: disabled || loading, whileHover: { scale: disabled || loading ? 1 : 1.02 }, whileTap: { scale: disabled || loading ? 1 : 0.98 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: handleClick, onMouseEnter: handleMouseEnter, onFocus: onFocus, ...motionProps, ...rest, children: [loading && jsx("span", { className: styles$z.spinner }), iconLeft && jsx("span", { className: styles$z.iconLeft, children: iconLeft }), children, iconRight && jsx("span", { className: styles$z.iconRight, children: iconRight })] }));
589
594
  };
590
595
 
591
- var styles$z = {"card":"Card-module_card__r2DB2","hoverable":"Card-module_hoverable__X3OpS","elevated":"Card-module_elevated__hGV6-","outlined":"Card-module_outlined__ngRag","flat":"Card-module_flat__xy-xt","glass":"Card-module_glass__Sv-Vs","imageContainer":"Card-module_imageContainer__L4ma6","image":"Card-module_image__bQBt6","header":"Card-module_header__0dtj3","headerContent":"Card-module_headerContent__W7-jD","expandButton":"Card-module_expandButton__I7f49","expandIcon":"Card-module_expandIcon__Lu-OY","expandableContent":"Card-module_expandableContent__BFgO5","expandable":"Card-module_expandable__GMXzo","body":"Card-module_body__K7eL3","footer":"Card-module_footer__L5wO-","title":"Card-module_title__pW9g8","subtitle":"Card-module_subtitle__gejH4","clickable":"Card-module_clickable__Y6fm8","padding":"Card-module_padding__wtyDo","noPadding":"Card-module_noPadding__r5Qq0","loading":"Card-module_loading__S4Wng","loadingShimmer":"Card-module_loadingShimmer__Q1Osr","loadingPulse":"Card-module_loadingPulse__bXQmC"};
596
+ var styles$y = {"card":"Card-module_card__r2DB2","hoverable":"Card-module_hoverable__X3OpS","elevated":"Card-module_elevated__hGV6-","outlined":"Card-module_outlined__ngRag","flat":"Card-module_flat__xy-xt","glass":"Card-module_glass__Sv-Vs","imageContainer":"Card-module_imageContainer__L4ma6","image":"Card-module_image__bQBt6","header":"Card-module_header__0dtj3","headerContent":"Card-module_headerContent__W7-jD","expandButton":"Card-module_expandButton__I7f49","expandIcon":"Card-module_expandIcon__Lu-OY","expandableContent":"Card-module_expandableContent__BFgO5","expandable":"Card-module_expandable__GMXzo","body":"Card-module_body__K7eL3","footer":"Card-module_footer__L5wO-","title":"Card-module_title__pW9g8","subtitle":"Card-module_subtitle__gejH4","clickable":"Card-module_clickable__Y6fm8","padding":"Card-module_padding__wtyDo","noPadding":"Card-module_noPadding__r5Qq0","loading":"Card-module_loading__S4Wng","loadingShimmer":"Card-module_loadingShimmer__Q1Osr","loadingPulse":"Card-module_loadingPulse__bXQmC"};
592
597
 
593
598
  /**
594
599
  * Card Component
@@ -653,28 +658,28 @@ const Card = ({ variant = 'elevated', hoverable = false, clickable = false, padd
653
658
  onExpandChange?.(newExpanded);
654
659
  };
655
660
  const cardClasses = [
656
- styles$z.card,
657
- styles$z[variant],
658
- hoverable && styles$z.hoverable,
659
- clickable && styles$z.clickable,
660
- !padding && styles$z.noPadding,
661
- expandable && styles$z.expandable,
661
+ styles$y.card,
662
+ styles$y[variant],
663
+ hoverable && styles$y.hoverable,
664
+ clickable && styles$y.clickable,
665
+ !padding && styles$y.noPadding,
666
+ expandable && styles$y.expandable,
662
667
  className
663
668
  ].filter(Boolean).join(' ');
664
669
  const renderHeader = () => {
665
670
  if (header) {
666
- return (jsxs("div", { className: styles$z.header, children: [jsx("div", { className: styles$z.headerContent, children: header }), expandable && (jsx("button", { className: styles$z.expandButton, onClick: handleToggleExpand, "aria-label": isExpanded ? 'Collapse card' : 'Expand card', children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: styles$z.expandIcon, style: { transform: isExpanded ? 'rotate(180deg)' : 'rotate(0deg)' }, children: jsx("path", { d: "M6 9l6 6 6-6" }) }) }))] }));
671
+ return (jsxs("div", { className: styles$y.header, children: [jsx("div", { className: styles$y.headerContent, children: header }), expandable && (jsx("button", { className: styles$y.expandButton, onClick: handleToggleExpand, "aria-label": isExpanded ? 'Collapse card' : 'Expand card', children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: styles$y.expandIcon, style: { transform: isExpanded ? 'rotate(180deg)' : 'rotate(0deg)' }, children: jsx("path", { d: "M6 9l6 6 6-6" }) }) }))] }));
667
672
  }
668
673
  if (title || subtitle) {
669
- return (jsxs("div", { className: styles$z.header, children: [jsxs("div", { className: styles$z.headerContent, children: [title && jsx("h3", { className: styles$z.title, children: title }), subtitle && jsx("p", { className: styles$z.subtitle, children: subtitle })] }), expandable && (jsx("button", { className: styles$z.expandButton, onClick: handleToggleExpand, "aria-label": isExpanded ? 'Collapse card' : 'Expand card', children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: styles$z.expandIcon, style: { transform: isExpanded ? 'rotate(180deg)' : 'rotate(0deg)' }, children: jsx("path", { d: "M6 9l6 6 6-6" }) }) }))] }));
674
+ return (jsxs("div", { className: styles$y.header, children: [jsxs("div", { className: styles$y.headerContent, children: [title && jsx("h3", { className: styles$y.title, children: title }), subtitle && jsx("p", { className: styles$y.subtitle, children: subtitle })] }), expandable && (jsx("button", { className: styles$y.expandButton, onClick: handleToggleExpand, "aria-label": isExpanded ? 'Collapse card' : 'Expand card', children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: styles$y.expandIcon, style: { transform: isExpanded ? 'rotate(180deg)' : 'rotate(0deg)' }, children: jsx("path", { d: "M6 9l6 6 6-6" }) }) }))] }));
670
675
  }
671
676
  return null;
672
677
  };
673
- const cardContent = (jsxs(Fragment, { children: [image && (jsx("div", { className: styles$z.imageContainer, children: jsx("img", { src: image, alt: imageAlt, className: styles$z.image }) })), renderHeader(), jsx(AnimatePresence, { initial: false, children: (!expandable || isExpanded) && (jsxs(motion.div, { initial: expandable ? { height: 0, opacity: 0 } : undefined, animate: expandable ? { height: 'auto', opacity: 1 } : undefined, exit: expandable ? { height: 0, opacity: 0 } : undefined, transition: { duration: 0.3, ease: "easeInOut" }, className: styles$z.expandableContent, children: [children && (jsx("div", { className: padding ? styles$z.body : undefined, children: children })), footer && jsx("div", { className: styles$z.footer, children: footer })] }, "content")) })] }));
678
+ const cardContent = (jsxs(Fragment, { children: [image && (jsx("div", { className: styles$y.imageContainer, children: jsx("img", { src: image, alt: imageAlt, className: styles$y.image }) })), renderHeader(), jsx(AnimatePresence, { initial: false, children: (!expandable || isExpanded) && (jsxs(motion.div, { initial: expandable ? { height: 0, opacity: 0 } : undefined, animate: expandable ? { height: 'auto', opacity: 1 } : undefined, exit: expandable ? { height: 0, opacity: 0 } : undefined, transition: { duration: 0.3, ease: "easeInOut" }, className: styles$y.expandableContent, children: [children && (jsx("div", { className: padding ? styles$y.body : undefined, children: children })), footer && jsx("div", { className: styles$y.footer, children: footer })] }, "content")) })] }));
674
679
  return (jsx(motion.div, { className: cardClasses, onClick: clickable ? onClick : undefined, whileHover: hoverable ? { y: -4 } : undefined, transition: { type: "spring", stiffness: 400, damping: 17 }, ...motionProps, ...rest, children: cardContent }));
675
680
  };
676
681
 
677
- var styles$y = {"wrapper":"EmptyState-module_wrapper__h3Y2E","compact":"EmptyState-module_compact__HdYu1","default":"EmptyState-module_default__ACAbn","large":"EmptyState-module_large__H3ELo","icon":"EmptyState-module_icon__i7-3M","title":"EmptyState-module_title__xCyfH","message":"EmptyState-module_message__Bc5xK","action":"EmptyState-module_action__UpnvZ"};
682
+ var styles$x = {"wrapper":"EmptyState-module_wrapper__h3Y2E","compact":"EmptyState-module_compact__HdYu1","default":"EmptyState-module_default__ACAbn","large":"EmptyState-module_large__H3ELo","icon":"EmptyState-module_icon__i7-3M","title":"EmptyState-module_title__xCyfH","message":"EmptyState-module_message__Bc5xK","action":"EmptyState-module_action__UpnvZ"};
678
683
 
679
684
  /**
680
685
  * EmptyState Component
@@ -711,11 +716,11 @@ var styles$y = {"wrapper":"EmptyState-module_wrapper__h3Y2E","compact":"EmptySta
711
716
  * @returns {JSX.Element} The rendered EmptyState component
712
717
  */
713
718
  const EmptyState = ({ icon, title, message, action, size = 'default', }) => {
714
- const wrapperClass = [styles$y.wrapper, styles$y[size]].filter(Boolean).join(' ');
715
- return (jsxs("div", { className: wrapperClass, children: [icon && jsx("div", { className: styles$y.icon, children: icon }), title && jsx("h3", { className: styles$y.title, children: title }), jsx("p", { className: styles$y.message, children: message }), action && jsx("div", { className: styles$y.action, children: action })] }));
719
+ const wrapperClass = [styles$x.wrapper, styles$x[size]].filter(Boolean).join(' ');
720
+ return (jsxs("div", { className: wrapperClass, children: [icon && jsx("div", { className: styles$x.icon, children: icon }), title && jsx("h3", { className: styles$x.title, children: title }), jsx("p", { className: styles$x.message, children: message }), action && jsx("div", { className: styles$x.action, children: action })] }));
716
721
  };
717
722
 
718
- var styles$x = {"backdrop":"Modal-module_backdrop__yOx-a","dialog":"Modal-module_dialog__yEXTq","dialogCompact":"Modal-module_dialogCompact__z1Wxp","dialogWide":"Modal-module_dialogWide__9PTXK","header":"Modal-module_header__NHHKd","title":"Modal-module_title__i3R0x","headerActions":"Modal-module_headerActions__g28UN","closeButton":"Modal-module_closeButton__siC-1","body":"Modal-module_body__U7jvM","bodyFlush":"Modal-module_bodyFlush__wtk3q"};
723
+ var styles$w = {"backdrop":"Modal-module_backdrop__yOx-a","dialog":"Modal-module_dialog__yEXTq","dialogCompact":"Modal-module_dialogCompact__z1Wxp","dialogWide":"Modal-module_dialogWide__9PTXK","header":"Modal-module_header__NHHKd","title":"Modal-module_title__i3R0x","headerActions":"Modal-module_headerActions__g28UN","closeButton":"Modal-module_closeButton__siC-1","body":"Modal-module_body__U7jvM","bodyFlush":"Modal-module_bodyFlush__wtk3q"};
719
724
 
720
725
  /**
721
726
  * Modal Component
@@ -769,16 +774,16 @@ const Modal = ({ open, title, onClose, children, size = 'default', actions, padd
769
774
  if (typeof document === 'undefined')
770
775
  return null;
771
776
  const dialogClass = [
772
- styles$x.dialog,
773
- size === 'compact' && styles$x.dialogCompact,
774
- size === 'wide' && styles$x.dialogWide,
777
+ styles$w.dialog,
778
+ size === 'compact' && styles$w.dialogCompact,
779
+ size === 'wide' && styles$w.dialogWide,
775
780
  ]
776
781
  .filter(Boolean)
777
782
  .join(' ');
778
- return createPortal(jsx(AnimatePresence, { children: open && (jsx(motion.div, { className: styles$x.backdrop, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.15 }, onClick: onClose, "aria-hidden": "true", children: jsxs(motion.div, { className: dialogClass, role: "dialog", "aria-modal": "true", "aria-label": title, initial: { opacity: 0, scale: 0.96, y: 8 }, animate: { opacity: 1, scale: 1, y: 0 }, exit: { opacity: 0, scale: 0.96, y: 8 }, transition: { duration: 0.15, ease: 'easeOut' }, onClick: (e) => e.stopPropagation(), children: [jsxs("div", { className: styles$x.header, children: [jsx("span", { className: styles$x.title, children: title }), actions && jsx("div", { className: styles$x.headerActions, children: actions }), jsx("button", { className: styles$x.closeButton, onClick: onClose, "aria-label": "Close modal", type: "button", children: jsx(X, { size: 16 }) })] }), jsx("div", { className: padding ? styles$x.body : styles$x.bodyFlush, children: children })] }) })) }), document.body);
783
+ return createPortal(jsx(AnimatePresence, { children: open && (jsx(motion.div, { className: styles$w.backdrop, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.15 }, onClick: onClose, "aria-hidden": "true", children: jsxs(motion.div, { className: dialogClass, role: "dialog", "aria-modal": "true", "aria-label": title, initial: { opacity: 0, scale: 0.96, y: 8 }, animate: { opacity: 1, scale: 1, y: 0 }, exit: { opacity: 0, scale: 0.96, y: 8 }, transition: { duration: 0.15, ease: 'easeOut' }, onClick: (e) => e.stopPropagation(), children: [jsxs("div", { className: styles$w.header, children: [jsx("span", { className: styles$w.title, children: title }), actions && jsx("div", { className: styles$w.headerActions, children: actions }), jsx("button", { className: styles$w.closeButton, onClick: onClose, "aria-label": "Close modal", type: "button", children: jsx(X, { size: 16 }) })] }), jsx("div", { className: padding ? styles$w.body : styles$w.bodyFlush, children: children })] }) })) }), document.body);
779
784
  };
780
785
 
781
- var styles$w = {"checkboxLabel":"Checkbox-module_checkboxLabel__4tBVg","checkbox":"Checkbox-module_checkbox__BbJul","checkboxText":"Checkbox-module_checkboxText__oJsc9"};
786
+ var styles$v = {"checkboxLabel":"Checkbox-module_checkboxLabel__4tBVg","checkbox":"Checkbox-module_checkbox__BbJul","checkboxText":"Checkbox-module_checkboxText__oJsc9"};
782
787
 
783
788
  /**
784
789
  * Checkbox component - Modern interactive checkbox with animations
@@ -823,13 +828,13 @@ const Checkbox = ({ checked, onChange, label, disabled = false, indeterminate =
823
828
  checkboxRef.current.indeterminate = indeterminate;
824
829
  }
825
830
  }, [indeterminate]);
826
- return (jsxs("label", { className: styles$w.checkboxLabel, children: [jsx("input", { ref: checkboxRef, type: "checkbox", checked: checked, onChange: (e) => {
831
+ return (jsxs("label", { className: styles$v.checkboxLabel, children: [jsx("input", { ref: checkboxRef, type: "checkbox", checked: checked, onChange: (e) => {
827
832
  const isChecked = e.target.checked;
828
833
  onChange(isChecked);
829
834
  if (soundConfig?.onClick !== false) {
830
835
  playSound('toggle');
831
836
  }
832
- }, className: styles$w.checkbox, disabled: disabled, id: id, name: name, value: value, "aria-checked": indeterminate ? 'mixed' : checked }), label && jsx("span", { className: styles$w.checkboxText, children: label })] }));
837
+ }, className: styles$v.checkbox, disabled: disabled, id: id, name: name, value: value, "aria-checked": indeterminate ? 'mixed' : checked }), label && jsx("span", { className: styles$v.checkboxText, children: label })] }));
833
838
  };
834
839
 
835
840
  const formatDateToEuropean = (date) => {
@@ -860,7 +865,7 @@ const parseEuropeanDate = (dateString) => {
860
865
  return '';
861
866
  };
862
867
 
863
- var styles$v = {"dateInput":"DateInput-module_dateInput__54VPD","label":"DateInput-module_label__yDdUw","inputWrapper":"DateInput-module_inputWrapper__x-r1d","textInput":"DateInput-module_textInput__ToOSX","calendarButton":"DateInput-module_calendarButton__JzDGD","hiddenDateInput":"DateInput-module_hiddenDateInput__IWNg3","error":"DateInput-module_error__ieuPO","success":"DateInput-module_success__rPA93","loading":"DateInput-module_loading__1DAmD"};
868
+ var styles$u = {"dateInput":"DateInput-module_dateInput__54VPD","label":"DateInput-module_label__yDdUw","inputWrapper":"DateInput-module_inputWrapper__x-r1d","textInput":"DateInput-module_textInput__ToOSX","calendarButton":"DateInput-module_calendarButton__JzDGD","hiddenDateInput":"DateInput-module_hiddenDateInput__IWNg3","error":"DateInput-module_error__ieuPO","success":"DateInput-module_success__rPA93","loading":"DateInput-module_loading__1DAmD"};
864
869
 
865
870
  /**
866
871
  * DateInput component - European format date picker with manual input support
@@ -949,19 +954,19 @@ function DateInput({ label, value, onChange, placeholder = "25/12/2024", onFocus
949
954
  }
950
955
  };
951
956
  const getClassName = () => {
952
- const classes = [styles$v.dateInput];
957
+ const classes = [styles$u.dateInput];
953
958
  if (error)
954
- classes.push(styles$v.error);
959
+ classes.push(styles$u.error);
955
960
  if (success)
956
- classes.push(styles$v.success);
961
+ classes.push(styles$u.success);
957
962
  if (loading)
958
- classes.push(styles$v.loading);
963
+ classes.push(styles$u.loading);
959
964
  return classes.join(' ');
960
965
  };
961
- return (jsxs("div", { className: getClassName(), children: [jsx("label", { className: styles$v.label, children: label }), jsxs("div", { className: styles$v.inputWrapper, children: [jsx("input", { type: "text", value: value.includes('-') ? formatDateToEuropean(value) : value, onChange: (e) => handleTextChange(e.target.value), onFocus: onFocus, onBlur: onBlur, placeholder: placeholder, className: styles$v.textInput, disabled: disabled || loading, ...handlers }), jsx("button", { type: "button", onClick: handleCalendarClick, className: styles$v.calendarButton, title: "Select date from calendar", disabled: disabled || loading, children: jsx(Calendar$1, {}) }), jsx("input", { ref: hiddenDateInputRef, type: "date", onChange: handleCalendarChange, className: styles$v.hiddenDateInput, tabIndex: -1, disabled: disabled || loading })] })] }));
966
+ return (jsxs("div", { className: getClassName(), children: [jsx("label", { className: styles$u.label, children: label }), jsxs("div", { className: styles$u.inputWrapper, children: [jsx("input", { type: "text", value: value.includes('-') ? formatDateToEuropean(value) : value, onChange: (e) => handleTextChange(e.target.value), onFocus: onFocus, onBlur: onBlur, placeholder: placeholder, className: styles$u.textInput, disabled: disabled || loading, ...handlers }), jsx("button", { type: "button", onClick: handleCalendarClick, className: styles$u.calendarButton, title: "Select date from calendar", disabled: disabled || loading, children: jsx(Calendar$1, {}) }), jsx("input", { ref: hiddenDateInputRef, type: "date", onChange: handleCalendarChange, className: styles$u.hiddenDateInput, tabIndex: -1, disabled: disabled || loading })] })] }));
962
967
  }
963
968
 
964
- var styles$u = {"searchableDropdown":"SearchableDropdown-module_searchableDropdown__S2Nh5","dropdownTrigger":"SearchableDropdown-module_dropdownTrigger__dihdr","open":"SearchableDropdown-module_open__P7mRt","dropdownValue":"SearchableDropdown-module_dropdownValue__ydrc2","placeholder":"SearchableDropdown-module_placeholder__BwM2W","dropdownArrow":"SearchableDropdown-module_dropdownArrow__yd5fp","dropdownMenu":"SearchableDropdown-module_dropdownMenu__2Z5cc","dropdownSearch":"SearchableDropdown-module_dropdownSearch__NRk7j","searchInput":"SearchableDropdown-module_searchInput__VS2Hw","searchIcon":"SearchableDropdown-module_searchIcon__2vKFF","dropdownOptions":"SearchableDropdown-module_dropdownOptions__6YXqF","dropdownOption":"SearchableDropdown-module_dropdownOption__YwDr-","selected":"SearchableDropdown-module_selected__31JeB","highlighted":"SearchableDropdown-module_highlighted__P0bBq","checkIcon":"SearchableDropdown-module_checkIcon__YxowK","dropdownNoResults":"SearchableDropdown-module_dropdownNoResults__WW-Da","loading":"SearchableDropdown-module_loading__xlYf0"};
969
+ var styles$t = {"searchableDropdown":"SearchableDropdown-module_searchableDropdown__S2Nh5","dropdownTrigger":"SearchableDropdown-module_dropdownTrigger__dihdr","open":"SearchableDropdown-module_open__P7mRt","dropdownValue":"SearchableDropdown-module_dropdownValue__ydrc2","placeholder":"SearchableDropdown-module_placeholder__BwM2W","dropdownArrow":"SearchableDropdown-module_dropdownArrow__yd5fp","dropdownMenu":"SearchableDropdown-module_dropdownMenu__2Z5cc","dropdownSearch":"SearchableDropdown-module_dropdownSearch__NRk7j","searchInput":"SearchableDropdown-module_searchInput__VS2Hw","searchIcon":"SearchableDropdown-module_searchIcon__2vKFF","dropdownOptions":"SearchableDropdown-module_dropdownOptions__6YXqF","dropdownOption":"SearchableDropdown-module_dropdownOption__YwDr-","selected":"SearchableDropdown-module_selected__31JeB","highlighted":"SearchableDropdown-module_highlighted__P0bBq","checkIcon":"SearchableDropdown-module_checkIcon__YxowK","dropdownNoResults":"SearchableDropdown-module_dropdownNoResults__WW-Da","loading":"SearchableDropdown-module_loading__xlYf0"};
965
970
 
966
971
  /**
967
972
  * SearchableDropdown component - Modern filterable dropdown with animations
@@ -1066,23 +1071,23 @@ function SearchableDropdown({ label, value, onChange, options, placeholder = "Se
1066
1071
  }
1067
1072
  };
1068
1073
  const getTriggerClassName = () => {
1069
- const classes = [styles$u.dropdownTrigger];
1074
+ const classes = [styles$t.dropdownTrigger];
1070
1075
  if (isOpen)
1071
- classes.push(styles$u.open);
1076
+ classes.push(styles$t.open);
1072
1077
  if (loading)
1073
- classes.push(styles$u.loading);
1078
+ classes.push(styles$t.loading);
1074
1079
  if (error)
1075
- classes.push(styles$u.error);
1080
+ classes.push(styles$t.error);
1076
1081
  return classes.join(' ');
1077
1082
  };
1078
- return (jsxs("div", { className: styles$u.searchableDropdown, ref: dropdownRef, onKeyDown: handleKeyDown, children: [jsx("label", { children: label }), jsxs(motion.button, { type: "button", className: getTriggerClassName(), onClick: () => !disabled && !loading && setIsOpen(!isOpen), whileTap: { scale: disabled ? 1 : 0.98 }, style: { willChange: 'transform' }, disabled: disabled, children: [jsx("span", { className: `${styles$u.dropdownValue} ${!displayValue ? styles$u.placeholder : ''}`, children: displayValue || placeholder }), jsx(ChevronDown, { className: styles$u.dropdownArrow })] }), jsx(AnimatePresence, { children: isOpen && (jsxs(motion.div, { className: styles$u.dropdownMenu, initial: { opacity: 0, y: -10, scale: 0.95 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: -10, scale: 0.95 }, transition: { duration: 0.2, ease: "easeOut" }, children: [jsxs("div", { className: styles$u.dropdownSearch, children: [jsx(Search, { className: styles$u.searchIcon }), jsx("input", { ref: inputRef, type: "text", className: styles$u.searchInput, placeholder: "Cerca...", value: searchTerm, onChange: (e) => setSearchTerm(e.target.value), onClick: (e) => e.stopPropagation() })] }), jsxs("div", { className: styles$u.dropdownOptions, children: [allOptions.map((opt, index) => {
1083
+ return (jsxs("div", { className: styles$t.searchableDropdown, ref: dropdownRef, onKeyDown: handleKeyDown, children: [jsx("label", { children: label }), jsxs(motion.button, { type: "button", className: getTriggerClassName(), onClick: () => !disabled && !loading && setIsOpen(!isOpen), whileTap: { scale: disabled ? 1 : 0.98 }, style: { willChange: 'transform' }, disabled: disabled, children: [jsx("span", { className: `${styles$t.dropdownValue} ${!displayValue ? styles$t.placeholder : ''}`, children: displayValue || placeholder }), jsx(ChevronDown, { className: styles$t.dropdownArrow })] }), jsx(AnimatePresence, { children: isOpen && (jsxs(motion.div, { className: styles$t.dropdownMenu, initial: { opacity: 0, y: -10, scale: 0.95 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: -10, scale: 0.95 }, transition: { duration: 0.2, ease: "easeOut" }, children: [jsxs("div", { className: styles$t.dropdownSearch, children: [jsx(Search, { className: styles$t.searchIcon }), jsx("input", { ref: inputRef, type: "text", className: styles$t.searchInput, placeholder: "Cerca...", value: searchTerm, onChange: (e) => setSearchTerm(e.target.value), onClick: (e) => e.stopPropagation() })] }), jsxs("div", { className: styles$t.dropdownOptions, children: [allOptions.map((opt, index) => {
1079
1084
  const isSelected = value === opt.value;
1080
1085
  const isHighlighted = highlightedIndex === index;
1081
- return (jsxs(motion.button, { type: "button", className: `${styles$u.dropdownOption} ${isSelected ? styles$u.selected : ''} ${isHighlighted ? styles$u.highlighted : ''}`, onClick: () => handleSelect(opt.value), onMouseEnter: () => setHighlightedIndex(index), initial: { opacity: 0, x: -20 }, animate: { opacity: 1, x: 0 }, transition: { delay: index * 0.02 }, whileTap: { scale: 0.98 }, style: { willChange: 'transform' }, children: [jsx("span", { children: opt.label }), isSelected && jsx(Check, { className: styles$u.checkIcon })] }, `${opt.value}-${index}`));
1082
- }), allOptions.length === 0 && (jsx(motion.div, { className: styles$u.dropdownNoResults, initial: { opacity: 0 }, animate: { opacity: 1 }, children: "No results found" }))] })] })) })] }));
1086
+ return (jsxs(motion.button, { type: "button", className: `${styles$t.dropdownOption} ${isSelected ? styles$t.selected : ''} ${isHighlighted ? styles$t.highlighted : ''}`, onClick: () => handleSelect(opt.value), onMouseEnter: () => setHighlightedIndex(index), initial: { opacity: 0, x: -20 }, animate: { opacity: 1, x: 0 }, transition: { delay: index * 0.02 }, whileTap: { scale: 0.98 }, style: { willChange: 'transform' }, children: [jsx("span", { children: opt.label }), isSelected && jsx(Check, { className: styles$t.checkIcon })] }, `${opt.value}-${index}`));
1087
+ }), allOptions.length === 0 && (jsx(motion.div, { className: styles$t.dropdownNoResults, initial: { opacity: 0 }, animate: { opacity: 1 }, children: "No results found" }))] })] })) })] }));
1083
1088
  }
1084
1089
 
1085
- var styles$t = {"selectInput":"SelectInput-module_selectInput__s6zEg","selectWrapper":"SelectInput-module_selectWrapper__Qr4pl","selectIcon":"SelectInput-module_selectIcon__9pjhf","error":"SelectInput-module_error__3WNJc","success":"SelectInput-module_success__WJ5ga","loading":"SelectInput-module_loading__n35N9"};
1090
+ var styles$s = {"selectInput":"SelectInput-module_selectInput__s6zEg","selectWrapper":"SelectInput-module_selectWrapper__Qr4pl","selectIcon":"SelectInput-module_selectIcon__9pjhf","error":"SelectInput-module_error__3WNJc","success":"SelectInput-module_success__WJ5ga","loading":"SelectInput-module_loading__n35N9"};
1086
1091
 
1087
1092
  /**
1088
1093
  * SelectInput component - Styled dropdown selector with flexible option format
@@ -1120,26 +1125,26 @@ var styles$t = {"selectInput":"SelectInput-module_selectInput__s6zEg","selectWra
1120
1125
  function SelectInput({ label, value, onChange, options, placeholder = "Select...", disabled = false, error = false, success = false, loading = false, required = false, soundConfig, className }) {
1121
1126
  const { handlers, playSound } = useComponentSound(soundConfig);
1122
1127
  const getClassName = () => {
1123
- const classes = [styles$t.selectInput];
1128
+ const classes = [styles$s.selectInput];
1124
1129
  if (error)
1125
- classes.push(styles$t.error);
1130
+ classes.push(styles$s.error);
1126
1131
  if (success)
1127
- classes.push(styles$t.success);
1132
+ classes.push(styles$s.success);
1128
1133
  if (loading)
1129
- classes.push(styles$t.loading);
1134
+ classes.push(styles$s.loading);
1130
1135
  return classes.join(' ');
1131
1136
  };
1132
- return (jsxs("div", { className: `${getClassName()}${className ? ` ${className}` : ''}`, children: [jsxs("label", { children: [label, required && jsx("span", { style: { color: 'var(--color-error)' }, children: " *" })] }), jsxs("div", { className: styles$t.selectWrapper, children: [jsxs("select", { value: value, onChange: e => {
1137
+ return (jsxs("div", { className: `${getClassName()}${className ? ` ${className}` : ''}`, children: [jsxs("label", { children: [label, required && jsx("span", { style: { color: 'var(--color-error)' }, children: " *" })] }), jsxs("div", { className: styles$s.selectWrapper, children: [jsxs("select", { value: value, onChange: e => {
1133
1138
  playSound('click');
1134
1139
  onChange(e.target.value);
1135
1140
  }, disabled: disabled || loading, required: required, ...handlers, children: [jsx("option", { value: "", children: placeholder }), options.map(opt => {
1136
1141
  const optionValue = typeof opt === 'string' ? opt : opt.value;
1137
1142
  const optionLabel = typeof opt === 'string' ? opt : opt.label;
1138
1143
  return (jsx("option", { value: optionValue, children: optionLabel }, optionValue));
1139
- })] }), jsx(ChevronDown, { className: styles$t.selectIcon })] })] }));
1144
+ })] }), jsx(ChevronDown, { className: styles$s.selectIcon })] })] }));
1140
1145
  }
1141
1146
 
1142
- var styles$s = {"textareaContainer":"TextArea-module_textareaContainer__AquFj","compact":"TextArea-module_compact__U5lPn","textareaLabel":"TextArea-module_textareaLabel__7Vmyx","requiredIndicator":"TextArea-module_requiredIndicator__3Fxyy","textareaInput":"TextArea-module_textareaInput__VCDZA","characterCount":"TextArea-module_characterCount__9FO5N","nearLimit":"TextArea-module_nearLimit__cUdnw","atLimit":"TextArea-module_atLimit__GoWCC","error":"TextArea-module_error__ciHgb","success":"TextArea-module_success__a0-xD","loading":"TextArea-module_loading__CSFBR","focusMode":"TextArea-module_focusMode__9A8U-"};
1147
+ var styles$r = {"textareaContainer":"TextArea-module_textareaContainer__AquFj","compact":"TextArea-module_compact__U5lPn","textareaLabel":"TextArea-module_textareaLabel__7Vmyx","requiredIndicator":"TextArea-module_requiredIndicator__3Fxyy","textareaInput":"TextArea-module_textareaInput__VCDZA","characterCount":"TextArea-module_characterCount__9FO5N","nearLimit":"TextArea-module_nearLimit__cUdnw","atLimit":"TextArea-module_atLimit__GoWCC","error":"TextArea-module_error__ciHgb","success":"TextArea-module_success__a0-xD","loading":"TextArea-module_loading__CSFBR","focusMode":"TextArea-module_focusMode__9A8U-"};
1143
1148
 
1144
1149
  /**
1145
1150
  * TextArea component - Multi-line text input with character counting
@@ -1174,38 +1179,38 @@ var styles$s = {"textareaContainer":"TextArea-module_textareaContainer__AquFj","
1174
1179
  function TextArea({ label, value, onChange, rows = 5, placeholder = "", required = false, maxLength, disabled = false, error = false, success = false, loading = false, focusMode = false, compact = false, className = "" }) {
1175
1180
  const textareaId = `textarea-${Math.random().toString(36).substr(2, 9)}`;
1176
1181
  const getContainerClassName = () => {
1177
- const classes = [styles$s.textareaContainer];
1182
+ const classes = [styles$r.textareaContainer];
1178
1183
  if (error)
1179
- classes.push(styles$s.error);
1184
+ classes.push(styles$r.error);
1180
1185
  if (success)
1181
- classes.push(styles$s.success);
1186
+ classes.push(styles$r.success);
1182
1187
  if (loading)
1183
- classes.push(styles$s.loading);
1188
+ classes.push(styles$r.loading);
1184
1189
  if (focusMode)
1185
- classes.push(styles$s.focusMode);
1190
+ classes.push(styles$r.focusMode);
1186
1191
  if (compact)
1187
- classes.push(styles$s.compact);
1192
+ classes.push(styles$r.compact);
1188
1193
  if (className)
1189
1194
  classes.push(className);
1190
1195
  return classes.join(' ');
1191
1196
  };
1192
1197
  const getCharCountClassName = () => {
1193
1198
  if (!maxLength)
1194
- return styles$s.characterCount;
1195
- const classes = [styles$s.characterCount];
1199
+ return styles$r.characterCount;
1200
+ const classes = [styles$r.characterCount];
1196
1201
  const percentage = (value.length / maxLength) * 100;
1197
1202
  if (percentage >= 100) {
1198
- classes.push(styles$s.atLimit);
1203
+ classes.push(styles$r.atLimit);
1199
1204
  }
1200
1205
  else if (percentage >= 80) {
1201
- classes.push(styles$s.nearLimit);
1206
+ classes.push(styles$r.nearLimit);
1202
1207
  }
1203
1208
  return classes.join(' ');
1204
1209
  };
1205
- return (jsxs("div", { className: getContainerClassName(), children: [label && (jsxs("label", { htmlFor: textareaId, className: styles$s.textareaLabel, children: [label, required && jsx("span", { className: styles$s.requiredIndicator, children: "*" })] })), jsx("textarea", { id: textareaId, value: value, onChange: (e) => onChange(e.target.value), rows: rows, placeholder: placeholder, maxLength: maxLength, className: styles$s.textareaInput, "aria-required": required, disabled: disabled || loading, "aria-invalid": error }), maxLength && (jsxs("div", { className: getCharCountClassName(), children: [jsx("span", { children: value.length }), jsx("span", { style: { opacity: 0.7 }, children: " / " }), jsx("span", { children: maxLength })] }))] }));
1210
+ return (jsxs("div", { className: getContainerClassName(), children: [label && (jsxs("label", { htmlFor: textareaId, className: styles$r.textareaLabel, children: [label, required && jsx("span", { className: styles$r.requiredIndicator, children: "*" })] })), jsx("textarea", { id: textareaId, value: value, onChange: (e) => onChange(e.target.value), rows: rows, placeholder: placeholder, maxLength: maxLength, className: styles$r.textareaInput, "aria-required": required, disabled: disabled || loading, "aria-invalid": error }), maxLength && (jsxs("div", { className: getCharCountClassName(), children: [jsx("span", { children: value.length }), jsx("span", { style: { opacity: 0.7 }, children: " / " }), jsx("span", { children: maxLength })] }))] }));
1206
1211
  }
1207
1212
 
1208
- var styles$r = {"textInput":"TextInput-module_textInput__b2LVM","required":"TextInput-module_required__7uLiM","inputError":"TextInput-module_inputError__QD0a-","errorMessage":"TextInput-module_errorMessage__nIDoQ","success":"TextInput-module_success__KbSS3","loading":"TextInput-module_loading__qXaca","withIcon":"TextInput-module_withIcon__-8swm","inputIcon":"TextInput-module_inputIcon__B4czN","withAction":"TextInput-module_withAction__JD3ku","actionButton":"TextInput-module_actionButton__zFJel"};
1213
+ var styles$q = {"textInput":"TextInput-module_textInput__b2LVM","required":"TextInput-module_required__7uLiM","inputError":"TextInput-module_inputError__QD0a-","errorMessage":"TextInput-module_errorMessage__nIDoQ","success":"TextInput-module_success__KbSS3","loading":"TextInput-module_loading__qXaca","withIcon":"TextInput-module_withIcon__-8swm","inputIcon":"TextInput-module_inputIcon__B4czN","withAction":"TextInput-module_withAction__JD3ku","actionButton":"TextInput-module_actionButton__zFJel"};
1209
1214
 
1210
1215
  /**
1211
1216
  * TextInput component - A versatile text input field with label and error handling
@@ -1242,21 +1247,21 @@ function TextInput({ label, value, onChange, type = "text", onBlur, placeholder,
1242
1247
  const { handlers, playSound } = useComponentSound(soundConfig);
1243
1248
  const prevValueRef = React.useRef(value);
1244
1249
  const getContainerClassName = () => {
1245
- const classes = [styles$r.textInput];
1250
+ const classes = [styles$q.textInput];
1246
1251
  if (success)
1247
- classes.push(styles$r.success);
1252
+ classes.push(styles$q.success);
1248
1253
  if (loading)
1249
- classes.push(styles$r.loading);
1254
+ classes.push(styles$q.loading);
1250
1255
  if (icon)
1251
- classes.push(styles$r.withIcon);
1256
+ classes.push(styles$q.withIcon);
1252
1257
  if (actionButton)
1253
- classes.push(styles$r.withAction);
1258
+ classes.push(styles$q.withAction);
1254
1259
  return classes.join(' ');
1255
1260
  };
1256
1261
  React.useEffect(() => {
1257
1262
  prevValueRef.current = value;
1258
1263
  }, [value]);
1259
- return (jsxs("div", { className: getContainerClassName(), children: [jsxs("label", { htmlFor: inputId, children: [label, required && jsx("span", { className: styles$r.required, children: "*" })] }), jsxs("div", { style: { position: 'relative' }, children: [icon && jsx("div", { className: styles$r.inputIcon, children: icon }), jsx("input", { id: inputId, type: type, value: value, onChange: (e) => {
1264
+ return (jsxs("div", { className: getContainerClassName(), children: [jsxs("label", { htmlFor: inputId, children: [label, required && jsx("span", { className: styles$q.required, children: "*" })] }), jsxs("div", { style: { position: 'relative' }, children: [icon && jsx("div", { className: styles$q.inputIcon, children: icon }), jsx("input", { id: inputId, type: type, value: value, onChange: (e) => {
1260
1265
  const newValue = e.target.value;
1261
1266
  const oldValue = prevValueRef.current;
1262
1267
  onChange(newValue);
@@ -1272,13 +1277,13 @@ function TextInput({ label, value, onChange, type = "text", onBlur, placeholder,
1272
1277
  if (error && soundConfig?.onError) {
1273
1278
  playSound(typeof soundConfig.onError === 'string' ? soundConfig.onError : 'error');
1274
1279
  }
1275
- }, onBlur: onBlur, placeholder: placeholder, className: error ? styles$r.inputError : '', "aria-invalid": !!error, "aria-describedby": error ? `${inputId}-error` : undefined, disabled: disabled || loading, maxLength: maxLength, autoComplete: autoComplete }), actionButton && (jsx("button", { type: "button", className: styles$r.actionButton, onClick: () => {
1280
+ }, onBlur: onBlur, placeholder: placeholder, className: error ? styles$q.inputError : '', "aria-invalid": !!error, "aria-describedby": error ? `${inputId}-error` : undefined, disabled: disabled || loading, maxLength: maxLength, autoComplete: autoComplete }), actionButton && (jsx("button", { type: "button", className: styles$q.actionButton, onClick: () => {
1276
1281
  handlers.onClick?.();
1277
1282
  actionButton.onClick();
1278
- }, disabled: disabled || loading, children: actionButton.label }))] }), error && (jsx("span", { id: `${inputId}-error`, className: styles$r.errorMessage, children: error }))] }));
1283
+ }, disabled: disabled || loading, children: actionButton.label }))] }), error && (jsx("span", { id: `${inputId}-error`, className: styles$q.errorMessage, children: error }))] }));
1279
1284
  }
1280
1285
 
1281
- var styles$q = {"toggleContainer":"Toggle-module_toggleContainer__QxqQb","toggleButton":"Toggle-module_toggleButton__WUUf-","active":"Toggle-module_active__fX6Io"};
1286
+ var styles$p = {"toggleContainer":"Toggle-module_toggleContainer__QxqQb","toggleButton":"Toggle-module_toggleButton__WUUf-","active":"Toggle-module_active__fX6Io"};
1282
1287
 
1283
1288
  /**
1284
1289
  * Toggle Component
@@ -1339,7 +1344,7 @@ function Toggle(props) {
1339
1344
  justifyContent: 'center',
1340
1345
  ...style
1341
1346
  };
1342
- return (jsxs("div", { className: `${styles$q.toggleContainer} ${className || ''}`, children: [jsxs(motion.button, { ref: leftButtonRef, className: `${styles$q.toggleButton} ${!isOn ? styles$q.active : ''}`, whileHover: { scale: 1.05 }, whileTap: { scale: 0.95 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: () => {
1347
+ return (jsxs("div", { className: `${styles$p.toggleContainer} ${className || ''}`, children: [jsxs(motion.button, { ref: leftButtonRef, className: `${styles$p.toggleButton} ${!isOn ? styles$p.active : ''}`, whileHover: { scale: 1.05 }, whileTap: { scale: 0.95 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: () => {
1343
1348
  if (!isOn) {
1344
1349
  // Already on left
1345
1350
  if (enableCelebration) {
@@ -1354,7 +1359,7 @@ function Toggle(props) {
1354
1359
  playSound('toggle');
1355
1360
  }
1356
1361
  onToggle(false);
1357
- }, onMouseEnter: () => handlers.onMouseEnter?.(), style: buttonStyle, children: [jsx(motion.div, { animate: { scale: !isOn ? 1.1 : 1, rotate: !isOn ? [0, -5, 5, 0] : 0 }, transition: { duration: 0.3 }, children: leftIcon }), leftLabel] }), jsxs(motion.button, { ref: rightButtonRef, className: `${styles$q.toggleButton} ${isOn ? styles$q.active : ''}`, whileHover: { scale: 1.05 }, whileTap: { scale: 0.95 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: () => {
1362
+ }, onMouseEnter: () => handlers.onMouseEnter?.(), style: buttonStyle, children: [jsx(motion.div, { animate: { scale: !isOn ? 1.1 : 1, rotate: !isOn ? [0, -5, 5, 0] : 0 }, transition: { duration: 0.3 }, children: leftIcon }), leftLabel] }), jsxs(motion.button, { ref: rightButtonRef, className: `${styles$p.toggleButton} ${isOn ? styles$p.active : ''}`, whileHover: { scale: 1.05 }, whileTap: { scale: 0.95 }, transition: { type: "spring", stiffness: 400, damping: 17 }, onClick: () => {
1358
1363
  if (isOn) {
1359
1364
  // Already on right
1360
1365
  if (enableCelebration) {
@@ -1372,7 +1377,7 @@ function Toggle(props) {
1372
1377
  }, onMouseEnter: () => handlers.onMouseEnter?.(), style: buttonStyle, children: [jsx(motion.div, { animate: { scale: isOn ? 1.1 : 1, rotate: isOn ? [0, 5, -5, 0] : 0 }, transition: { duration: 0.3 }, children: rightIcon }), rightLabel] })] }));
1373
1378
  }
1374
1379
 
1375
- var styles$p = {"container":"NumberStepper-module_container__WSGlU","header":"NumberStepper-module_header__qXI1Y","icon":"NumberStepper-module_icon__vHgsw","label":"NumberStepper-module_label__AYr3g","stepper":"NumberStepper-module_stepper__oQhTp","disabled":"NumberStepper-module_disabled__kGB-g","button":"NumberStepper-module_button__YcjRt","buttonIcon":"NumberStepper-module_buttonIcon__odXec","valueContainer":"NumberStepper-module_valueContainer__87w2D","valueWrapper":"NumberStepper-module_valueWrapper__TH65N","value":"NumberStepper-module_value__BxJeD","limits":"NumberStepper-module_limits__-UrRE","limit":"NumberStepper-module_limit__7nbIP","small":"NumberStepper-module_small__P-k96","large":"NumberStepper-module_large__Lz6lk","outlined":"NumberStepper-module_outlined__CIXv7","filled":"NumberStepper-module_filled__IxOg-","minimal":"NumberStepper-module_minimal__y47-W","custom":"NumberStepper-module_custom__XGSVg","vertical":"NumberStepper-module_vertical__nBcL7","pulse":"NumberStepper-module_pulse__51oUo"};
1380
+ var styles$o = {"container":"NumberStepper-module_container__WSGlU","header":"NumberStepper-module_header__qXI1Y","icon":"NumberStepper-module_icon__vHgsw","label":"NumberStepper-module_label__AYr3g","stepper":"NumberStepper-module_stepper__oQhTp","disabled":"NumberStepper-module_disabled__kGB-g","button":"NumberStepper-module_button__YcjRt","buttonIcon":"NumberStepper-module_buttonIcon__odXec","valueContainer":"NumberStepper-module_valueContainer__87w2D","valueWrapper":"NumberStepper-module_valueWrapper__TH65N","value":"NumberStepper-module_value__BxJeD","limits":"NumberStepper-module_limits__-UrRE","limit":"NumberStepper-module_limit__7nbIP","small":"NumberStepper-module_small__P-k96","large":"NumberStepper-module_large__Lz6lk","outlined":"NumberStepper-module_outlined__CIXv7","filled":"NumberStepper-module_filled__IxOg-","minimal":"NumberStepper-module_minimal__y47-W","custom":"NumberStepper-module_custom__XGSVg","vertical":"NumberStepper-module_vertical__nBcL7","pulse":"NumberStepper-module_pulse__51oUo"};
1376
1381
 
1377
1382
  /**
1378
1383
  * NumberStepper Component
@@ -1559,32 +1564,32 @@ const NumberStepper = ({ value, onChange, min = -Infinity, max = Infinity, step
1559
1564
  setDisplayValue(finalValue);
1560
1565
  }, [displayValue, min, max, step, onChange]);
1561
1566
  const containerClasses = [
1562
- styles$p.container,
1563
- styles$p[size],
1564
- styles$p[variant],
1565
- layout === 'vertical' && styles$p.vertical,
1566
- disabled && styles$p.disabled,
1567
+ styles$o.container,
1568
+ styles$o[size],
1569
+ styles$o[variant],
1570
+ layout === 'vertical' && styles$o.vertical,
1571
+ disabled && styles$o.disabled,
1567
1572
  className
1568
1573
  ].filter(Boolean).join(' ');
1569
1574
  // Merge custom styles with hover states
1570
1575
  const [isButtonHovered, setIsButtonHovered] = useState(null);
1571
1576
  const isDecrementDisabled = disabled || value <= min;
1572
1577
  const isIncrementDisabled = disabled || value >= max;
1573
- const stepperContent = (jsxs("div", { className: styles$p.stepper, style: customStyles.stepper, onKeyDown: handleKeyDown, tabIndex: disabled ? -1 : 0, ...handlers, children: [jsx(motion.button, { className: styles$p.button, style: {
1578
+ const stepperContent = (jsxs("div", { className: styles$o.stepper, style: customStyles.stepper, onKeyDown: handleKeyDown, tabIndex: disabled ? -1 : 0, ...handlers, children: [jsx(motion.button, { className: styles$o.button, style: {
1574
1579
  ...customStyles.button,
1575
1580
  ...(isButtonHovered === 'decrement' && customStyles.buttonHover)
1576
- }, onMouseEnter: () => setIsButtonHovered('decrement'), onMouseLeave: () => setIsButtonHovered(null), onClick: handleDecrement, disabled: isDecrementDisabled, whileTap: !isDecrementDisabled ? { scale: 0.9 } : undefined, animate: isDecrementing ? { scale: [1, 1.2, 1] } : undefined, transition: { duration: 0.2 }, "aria-label": "Decrease value", children: customButtons.decrement || (showPlusMinus ? (jsx("span", { className: styles$p.buttonIcon, style: customStyles.buttonIcon, children: "\u2212" })) : (jsx("svg", { className: styles$p.buttonIcon, style: customStyles.buttonIcon, viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M15 18L9 12L15 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }))) }), jsx("div", { className: styles$p.valueContainer, style: customStyles.valueContainer, children: jsx(AnimatePresence, { mode: "wait", children: jsx(motion.div, { initial: { y: isIncrementing ? 10 : isDecrementing ? -10 : 0, opacity: 0 }, animate: { y: 0, opacity: 1 }, exit: { y: isIncrementing ? -10 : isDecrementing ? 10 : 0, opacity: 0 }, transition: { duration: 0.15 }, className: styles$p.valueWrapper, children: jsx("input", { type: "text", className: styles$p.value, style: customStyles.value, value: displayValue, onChange: handleInputChange, onBlur: handleInputBlur, disabled: disabled, "aria-label": label || "Number input", "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": value }) }, value) }) }), jsx(motion.button, { className: styles$p.button, style: {
1581
+ }, onMouseEnter: () => setIsButtonHovered('decrement'), onMouseLeave: () => setIsButtonHovered(null), onClick: handleDecrement, disabled: isDecrementDisabled, whileTap: !isDecrementDisabled ? { scale: 0.9 } : undefined, animate: isDecrementing ? { scale: [1, 1.2, 1] } : undefined, transition: { duration: 0.2 }, "aria-label": "Decrease value", children: customButtons.decrement || (showPlusMinus ? (jsx("span", { className: styles$o.buttonIcon, style: customStyles.buttonIcon, children: "\u2212" })) : (jsx("svg", { className: styles$o.buttonIcon, style: customStyles.buttonIcon, viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M15 18L9 12L15 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }))) }), jsx("div", { className: styles$o.valueContainer, style: customStyles.valueContainer, children: jsx(AnimatePresence, { mode: "wait", children: jsx(motion.div, { initial: { y: isIncrementing ? 10 : isDecrementing ? -10 : 0, opacity: 0 }, animate: { y: 0, opacity: 1 }, exit: { y: isIncrementing ? -10 : isDecrementing ? 10 : 0, opacity: 0 }, transition: { duration: 0.15 }, className: styles$o.valueWrapper, children: jsx("input", { type: "text", className: styles$o.value, style: customStyles.value, value: displayValue, onChange: handleInputChange, onBlur: handleInputBlur, disabled: disabled, "aria-label": label || "Number input", "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": value }) }, value) }) }), jsx(motion.button, { className: styles$o.button, style: {
1577
1582
  ...customStyles.button,
1578
1583
  ...(isButtonHovered === 'increment' && customStyles.buttonHover)
1579
- }, onMouseEnter: () => setIsButtonHovered('increment'), onMouseLeave: () => setIsButtonHovered(null), onClick: handleIncrement, disabled: isIncrementDisabled, whileTap: !isIncrementDisabled ? { scale: 0.9 } : undefined, animate: isIncrementing ? { scale: [1, 1.2, 1] } : undefined, transition: { duration: 0.2 }, "aria-label": "Increase value", children: customButtons.increment || (showPlusMinus ? (jsx("span", { className: styles$p.buttonIcon, style: customStyles.buttonIcon, children: "+" })) : (jsx("svg", { className: styles$p.buttonIcon, style: customStyles.buttonIcon, viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M9 18L15 12L9 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }))) })] }));
1584
+ }, onMouseEnter: () => setIsButtonHovered('increment'), onMouseLeave: () => setIsButtonHovered(null), onClick: handleIncrement, disabled: isIncrementDisabled, whileTap: !isIncrementDisabled ? { scale: 0.9 } : undefined, animate: isIncrementing ? { scale: [1, 1.2, 1] } : undefined, transition: { duration: 0.2 }, "aria-label": "Increase value", children: customButtons.increment || (showPlusMinus ? (jsx("span", { className: styles$o.buttonIcon, style: customStyles.buttonIcon, children: "+" })) : (jsx("svg", { className: styles$o.buttonIcon, style: customStyles.buttonIcon, viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M9 18L15 12L9 6", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }))) })] }));
1580
1585
  // For custom variant with horizontal layout, render differently
1581
1586
  if (variant === 'custom' && (label || icon)) {
1582
- return (jsxs("div", { className: containerClasses, style: { ...customStyles.container, display: 'flex', alignItems: 'center' }, children: [jsxs("div", { className: styles$p.header, style: { ...customStyles.header, flex: 1, marginBottom: 0 }, children: [icon && jsx("span", { className: styles$p.icon, style: customStyles.icon, children: icon }), label && jsx("label", { className: styles$p.label, style: customStyles.label, children: label })] }), stepperContent, !hideLimits && (min !== -Infinity || max !== Infinity) && (jsxs("div", { className: styles$p.limits, style: customStyles.limits, children: [jsx("span", { className: styles$p.limit, children: min !== -Infinity && `Min: ${min}` }), jsx("span", { className: styles$p.limit, children: max !== Infinity && `Max: ${max}` })] }))] }));
1587
+ return (jsxs("div", { className: containerClasses, style: { ...customStyles.container, display: 'flex', alignItems: 'center' }, children: [jsxs("div", { className: styles$o.header, style: { ...customStyles.header, flex: 1, marginBottom: 0 }, children: [icon && jsx("span", { className: styles$o.icon, style: customStyles.icon, children: icon }), label && jsx("label", { className: styles$o.label, style: customStyles.label, children: label })] }), stepperContent, !hideLimits && (min !== -Infinity || max !== Infinity) && (jsxs("div", { className: styles$o.limits, style: customStyles.limits, children: [jsx("span", { className: styles$o.limit, children: min !== -Infinity && `Min: ${min}` }), jsx("span", { className: styles$o.limit, children: max !== Infinity && `Max: ${max}` })] }))] }));
1583
1588
  }
1584
- return (jsxs("div", { className: containerClasses, style: customStyles.container, children: [(label || icon) && (jsxs("div", { className: styles$p.header, style: customStyles.header, children: [icon && jsx("span", { className: styles$p.icon, style: customStyles.icon, children: icon }), label && jsx("label", { className: styles$p.label, style: customStyles.label, children: label })] })), stepperContent, !hideLimits && (min !== -Infinity || max !== Infinity) && (jsxs("div", { className: styles$p.limits, style: customStyles.limits, children: [jsx("span", { className: styles$p.limit, children: min !== -Infinity && `Min: ${min}` }), jsx("span", { className: styles$p.limit, children: max !== Infinity && `Max: ${max}` })] }))] }));
1589
+ return (jsxs("div", { className: containerClasses, style: customStyles.container, children: [(label || icon) && (jsxs("div", { className: styles$o.header, style: customStyles.header, children: [icon && jsx("span", { className: styles$o.icon, style: customStyles.icon, children: icon }), label && jsx("label", { className: styles$o.label, style: customStyles.label, children: label })] })), stepperContent, !hideLimits && (min !== -Infinity || max !== Infinity) && (jsxs("div", { className: styles$o.limits, style: customStyles.limits, children: [jsx("span", { className: styles$o.limit, children: min !== -Infinity && `Min: ${min}` }), jsx("span", { className: styles$o.limit, children: max !== Infinity && `Max: ${max}` })] }))] }));
1585
1590
  };
1586
1591
 
1587
- var styles$o = {"button":"ToggleButton-module_button__DTuyY","background":"ToggleButton-module_background__NwfTp","content":"ToggleButton-module_content__NHqIN","iconWrapper":"ToggleButton-module_iconWrapper__yN4sP","icon":"ToggleButton-module_icon__r8juX","label":"ToggleButton-module_label__4mPJP","hideMobile":"ToggleButton-module_hideMobile__GFAc3","checkmark":"ToggleButton-module_checkmark__ZJwf-","ripple":"ToggleButton-module_ripple__2-faB","small":"ToggleButton-module_small__MhfoN","large":"ToggleButton-module_large__A3naL","default":"ToggleButton-module_default__q8QaZ","active":"ToggleButton-module_active__4DjlR","outlined":"ToggleButton-module_outlined__OtqJB","filled":"ToggleButton-module_filled__LySNn","ghost":"ToggleButton-module_ghost__9KXcb","active-primary":"ToggleButton-module_active-primary__vXMP7","active-secondary":"ToggleButton-module_active-secondary__9Ttdx","active-success":"ToggleButton-module_active-success__oi0rr","active-danger":"ToggleButton-module_active-danger__VUdxr","active-warning":"ToggleButton-module_active-warning__77nSu","animation-scale":"ToggleButton-module_animation-scale__j-3mJ","scaleAnimation":"ToggleButton-module_scaleAnimation__Ms1j2","animation-rotate":"ToggleButton-module_animation-rotate__pBmfc","rotateAnimation":"ToggleButton-module_rotateAnimation__xWZJ5","animation-flip":"ToggleButton-module_animation-flip__ErAbm","flipAnimation":"ToggleButton-module_flipAnimation__qwDTb","disabled":"ToggleButton-module_disabled__Gv5ji"};
1592
+ var styles$n = {"button":"ToggleButton-module_button__DTuyY","background":"ToggleButton-module_background__NwfTp","content":"ToggleButton-module_content__NHqIN","iconWrapper":"ToggleButton-module_iconWrapper__yN4sP","icon":"ToggleButton-module_icon__r8juX","label":"ToggleButton-module_label__4mPJP","hideMobile":"ToggleButton-module_hideMobile__GFAc3","checkmark":"ToggleButton-module_checkmark__ZJwf-","ripple":"ToggleButton-module_ripple__2-faB","small":"ToggleButton-module_small__MhfoN","large":"ToggleButton-module_large__A3naL","default":"ToggleButton-module_default__q8QaZ","active":"ToggleButton-module_active__4DjlR","outlined":"ToggleButton-module_outlined__OtqJB","filled":"ToggleButton-module_filled__LySNn","ghost":"ToggleButton-module_ghost__9KXcb","active-primary":"ToggleButton-module_active-primary__vXMP7","active-secondary":"ToggleButton-module_active-secondary__9Ttdx","active-success":"ToggleButton-module_active-success__oi0rr","active-danger":"ToggleButton-module_active-danger__VUdxr","active-warning":"ToggleButton-module_active-warning__77nSu","animation-scale":"ToggleButton-module_animation-scale__j-3mJ","scaleAnimation":"ToggleButton-module_scaleAnimation__Ms1j2","animation-rotate":"ToggleButton-module_animation-rotate__pBmfc","rotateAnimation":"ToggleButton-module_rotateAnimation__xWZJ5","animation-flip":"ToggleButton-module_animation-flip__ErAbm","flipAnimation":"ToggleButton-module_flipAnimation__qwDTb","disabled":"ToggleButton-module_disabled__Gv5ji"};
1588
1593
 
1589
1594
  /**
1590
1595
  * ToggleButton Component
@@ -1623,18 +1628,18 @@ var styles$o = {"button":"ToggleButton-module_button__DTuyY","background":"Toggl
1623
1628
  const ToggleButton = ({ active, onClick, icon, label, disabled = false, size = 'medium', variant = 'default', activeColor = 'primary', showCheckmark = false, animation = 'scale', className = '', style = {}, color, tooltip, hideLabelOnMobile = false, soundConfig }) => {
1624
1629
  const { handlers, playSound } = useComponentSound(soundConfig);
1625
1630
  const buttonClasses = [
1626
- styles$o.button,
1627
- styles$o[size],
1628
- styles$o[variant],
1629
- active && styles$o.active,
1630
- active && styles$o[`active-${activeColor}`],
1631
- disabled && styles$o.disabled,
1632
- animation !== 'none' && styles$o[`animation-${animation}`],
1631
+ styles$n.button,
1632
+ styles$n[size],
1633
+ styles$n[variant],
1634
+ active && styles$n.active,
1635
+ active && styles$n[`active-${activeColor}`],
1636
+ disabled && styles$n.disabled,
1637
+ animation !== 'none' && styles$n[`animation-${animation}`],
1633
1638
  className
1634
1639
  ].filter(Boolean).join(' ');
1635
1640
  const labelClasses = [
1636
- styles$o.label,
1637
- hideLabelOnMobile && styles$o.hideMobile
1641
+ styles$n.label,
1642
+ hideLabelOnMobile && styles$n.hideMobile
1638
1643
  ].filter(Boolean).join(' ');
1639
1644
  const iconVariants = {
1640
1645
  scale: {
@@ -1698,10 +1703,10 @@ const ToggleButton = ({ active, onClick, icon, label, disabled = false, size = '
1698
1703
  return (jsxs(motion.button, { className: buttonClasses, style: dynamicStyle, onClick: () => {
1699
1704
  playSound('toggle');
1700
1705
  onClick();
1701
- }, disabled: disabled, whileHover: !disabled ? { scale: 1.05 } : undefined, whileTap: !disabled ? { scale: 0.95 } : undefined, title: tooltip, "aria-pressed": active, "aria-label": label, ...handlers, children: [jsx(motion.div, { className: styles$o.background, variants: backgroundVariants, initial: "inactive", animate: active ? "active" : "inactive" }), jsxs("div", { className: styles$o.content, children: [icon && (jsx(motion.div, { className: styles$o.iconWrapper, variants: iconVariants[animation], initial: "inactive", animate: active ? "active" : "inactive", transition: { duration: 0.3 }, children: typeof icon === 'string' ? (jsx("span", { className: styles$o.icon, children: icon })) : (jsx("div", { className: styles$o.icon, children: icon })) })), label && jsx("span", { className: labelClasses, children: label }), jsx(AnimatePresence, { children: showCheckmark && active && (jsx(motion.div, { className: styles$o.checkmark, variants: checkmarkVariants, initial: "hidden", animate: "visible", exit: "hidden", children: jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M20 6L9 17L4 12", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) }) })) })] }), jsx(AnimatePresence, { children: active && (jsx(motion.div, { className: styles$o.ripple, initial: { scale: 0, opacity: 0.5 }, animate: { scale: 2, opacity: 0 }, exit: { scale: 0, opacity: 0 }, transition: { duration: 0.6 } })) })] }));
1706
+ }, disabled: disabled, whileHover: !disabled ? { scale: 1.05 } : undefined, whileTap: !disabled ? { scale: 0.95 } : undefined, title: tooltip, "aria-pressed": active, "aria-label": label, ...handlers, children: [jsx(motion.div, { className: styles$n.background, variants: backgroundVariants, initial: "inactive", animate: active ? "active" : "inactive" }), jsxs("div", { className: styles$n.content, children: [icon && (jsx(motion.div, { className: styles$n.iconWrapper, variants: iconVariants[animation], initial: "inactive", animate: active ? "active" : "inactive", transition: { duration: 0.3 }, children: typeof icon === 'string' ? (jsx("span", { className: styles$n.icon, children: icon })) : (jsx("div", { className: styles$n.icon, children: icon })) })), label && jsx("span", { className: labelClasses, children: label }), jsx(AnimatePresence, { children: showCheckmark && active && (jsx(motion.div, { className: styles$n.checkmark, variants: checkmarkVariants, initial: "hidden", animate: "visible", exit: "hidden", children: jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: jsx("path", { d: "M20 6L9 17L4 12", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }) }) })) })] }), jsx(AnimatePresence, { children: active && (jsx(motion.div, { className: styles$n.ripple, initial: { scale: 0, opacity: 0.5 }, animate: { scale: 2, opacity: 0 }, exit: { scale: 0, opacity: 0 }, transition: { duration: 0.6 } })) })] }));
1702
1707
  };
1703
1708
 
1704
- var styles$n = {"slider":"Slider-module_slider__RD4G7","label":"Slider-module_label__j4H8M","sliderContainer":"Slider-module_sliderContainer__kQICC","track":"Slider-module_track__fQ-oP","fill":"Slider-module_fill__AYR4-","shimmer":"Slider-module_shimmer__271tL","input":"Slider-module_input__fqY-G","thumb":"Slider-module_thumb__yQJho","ripple":"Slider-module_ripple__gVS04","tooltip":"Slider-module_tooltip__ZubHR","tooltipArrow":"Slider-module_tooltipArrow__1aV9s","valueDisplay":"Slider-module_valueDisplay__V6caL","labelsContainer":"Slider-module_labelsContainer__F6ojF","labelItem":"Slider-module_labelItem__FuEaY","size-sm":"Slider-module_size-sm__Y2bmS","size-lg":"Slider-module_size-lg__RSnPf","disabled":"Slider-module_disabled__gxYoH","loading":"Slider-module_loading__6FkKb","loadingTrack":"Slider-module_loadingTrack__8ItT2","loadingIndicator":"Slider-module_loadingIndicator__Elydq"};
1709
+ var styles$m = {"slider":"Slider-module_slider__RD4G7","label":"Slider-module_label__j4H8M","sliderContainer":"Slider-module_sliderContainer__kQICC","track":"Slider-module_track__fQ-oP","fill":"Slider-module_fill__AYR4-","shimmer":"Slider-module_shimmer__271tL","input":"Slider-module_input__fqY-G","thumb":"Slider-module_thumb__yQJho","ripple":"Slider-module_ripple__gVS04","tooltip":"Slider-module_tooltip__ZubHR","tooltipArrow":"Slider-module_tooltipArrow__1aV9s","valueDisplay":"Slider-module_valueDisplay__V6caL","labelsContainer":"Slider-module_labelsContainer__F6ojF","labelItem":"Slider-module_labelItem__FuEaY","size-sm":"Slider-module_size-sm__Y2bmS","size-lg":"Slider-module_size-lg__RSnPf","disabled":"Slider-module_disabled__gxYoH","loading":"Slider-module_loading__6FkKb","loadingTrack":"Slider-module_loadingTrack__8ItT2","loadingIndicator":"Slider-module_loadingIndicator__Elydq"};
1705
1710
 
1706
1711
  /**
1707
1712
  * Slider component - A beautiful, animated range input
@@ -1789,16 +1794,16 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, showValu
1789
1794
  setShowTooltipState(false);
1790
1795
  };
1791
1796
  const dynamicColor = getDynamicColor();
1792
- const sizeClass = styles$n[`size-${size}`];
1793
- const stateClass = disabled ? styles$n.disabled : loading ? styles$n.loading : '';
1797
+ const sizeClass = styles$m[`size-${size}`];
1798
+ const stateClass = disabled ? styles$m.disabled : loading ? styles$m.loading : '';
1794
1799
  if (loading) {
1795
- return (jsxs("div", { className: `${styles$n.slider} ${sizeClass} ${styles$n.loading} ${className}`, style: style, children: [label && jsx("label", { className: styles$n.label, children: label }), jsx("div", { className: styles$n.loadingTrack, children: jsx(motion.div, { className: styles$n.loadingIndicator, animate: { x: ['-100%', '200%'] }, transition: {
1800
+ return (jsxs("div", { className: `${styles$m.slider} ${sizeClass} ${styles$m.loading} ${className}`, style: style, children: [label && jsx("label", { className: styles$m.label, children: label }), jsx("div", { className: styles$m.loadingTrack, children: jsx(motion.div, { className: styles$m.loadingIndicator, animate: { x: ['-100%', '200%'] }, transition: {
1796
1801
  repeat: Infinity,
1797
1802
  duration: 1.5,
1798
1803
  ease: "easeInOut"
1799
1804
  } }) })] }));
1800
1805
  }
1801
- return (jsxs("div", { className: `${styles$n.slider} ${sizeClass} ${stateClass} ${className}`, style: style, children: [label && (jsx(motion.label, { className: styles$n.label, initial: { opacity: 0, y: -10 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.3 }, children: label })), jsxs(motion.div, { className: styles$n.sliderContainer, ref: sliderRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, whileHover: { scale: 1.02 }, transition: { duration: 0.1 }, children: [jsx(motion.div, { className: styles$n.track, whileHover: { height: 8, marginTop: -1 }, transition: { duration: 0.1 }, children: jsx(motion.div, { className: styles$n.fill, style: {
1806
+ return (jsxs("div", { className: `${styles$m.slider} ${sizeClass} ${stateClass} ${className}`, style: style, children: [label && (jsx(motion.label, { className: styles$m.label, initial: { opacity: 0, y: -10 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.3 }, children: label })), jsxs(motion.div, { className: styles$m.sliderContainer, ref: sliderRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, whileHover: { scale: 1.02 }, transition: { duration: 0.1 }, children: [jsx(motion.div, { className: styles$m.track, whileHover: { height: 8, marginTop: -1 }, transition: { duration: 0.1 }, children: jsx(motion.div, { className: styles$m.fill, style: {
1802
1807
  width: `${percentage}%`,
1803
1808
  backgroundColor: dynamicColor
1804
1809
  }, initial: { width: 0 }, animate: { width: `${percentage}%` }, transition: {
@@ -1808,7 +1813,7 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, showValu
1808
1813
  damping: 30
1809
1814
  }, whileHover: {
1810
1815
  boxShadow: `inset 0 0 0 1px rgba(255,255,255,0.2)`
1811
- } }) }), jsx("input", { type: "range", min: min, max: max, step: step, value: value, onChange: handleChange, onMouseDown: handleMouseDown, onMouseUp: handleMouseUp, ...handlers, className: styles$n.input, disabled: disabled, "aria-label": label }), jsx(motion.div, { className: styles$n.thumb, style: {
1816
+ } }) }), jsx("input", { type: "range", min: min, max: max, step: step, value: value, onChange: handleChange, onMouseDown: handleMouseDown, onMouseUp: handleMouseUp, ...handlers, className: styles$m.input, disabled: disabled, "aria-label": label }), jsx(motion.div, { className: styles$m.thumb, style: {
1812
1817
  left: `${percentage}%`,
1813
1818
  backgroundColor: dynamicColor,
1814
1819
  borderColor: colors.thumb || dynamicColor
@@ -1825,14 +1830,14 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, showValu
1825
1830
  }, whileHover: {
1826
1831
  scale: 1.1,
1827
1832
  transition: { duration: 0.1 }
1828
- }, children: isDragging && (jsx(motion.div, { className: styles$n.ripple, initial: { scale: 0, opacity: 0.6 }, animate: { scale: 2, opacity: 0 }, transition: { duration: 0.5 } })) }), jsx(AnimatePresence, { children: showTooltipState && (jsxs(motion.div, { className: styles$n.tooltip, style: {
1833
+ }, children: isDragging && (jsx(motion.div, { className: styles$m.ripple, initial: { scale: 0, opacity: 0.6 }, animate: { scale: 2, opacity: 0 }, transition: { duration: 0.5 } })) }), jsx(AnimatePresence, { children: showTooltipState && (jsxs(motion.div, { className: styles$m.tooltip, style: {
1829
1834
  left: `${percentage}%`,
1830
1835
  backgroundColor: dynamicColor
1831
- }, initial: { opacity: 0, y: 10, scale: 0.8 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: 10, scale: 0.8 }, transition: { duration: 0.2 }, children: [tooltipContent ? tooltipContent(value) : formatValue(value), jsx("div", { className: styles$n.tooltipArrow, style: { borderTopColor: dynamicColor } })] })) })] }), showValue && (jsx(motion.div, { className: styles$n.valueDisplay, style: { color: dynamicColor }, initial: { scale: 0.8 }, animate: { scale: 1 }, transition: {
1836
+ }, initial: { opacity: 0, y: 10, scale: 0.8 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: 10, scale: 0.8 }, transition: { duration: 0.2 }, children: [tooltipContent ? tooltipContent(value) : formatValue(value), jsx("div", { className: styles$m.tooltipArrow, style: { borderTopColor: dynamicColor } })] })) })] }), showValue && (jsx(motion.div, { className: styles$m.valueDisplay, style: { color: dynamicColor }, initial: { scale: 0.8 }, animate: { scale: 1 }, transition: {
1832
1837
  duration: 0.2,
1833
1838
  type: "spring",
1834
1839
  stiffness: 300
1835
- }, children: formatValue(value) }, value)), labels.length > 0 && (jsx("div", { className: styles$n.labelsContainer, children: labels.map((labelConfig, index) => {
1840
+ }, children: formatValue(value) }, value)), labels.length > 0 && (jsx("div", { className: styles$m.labelsContainer, children: labels.map((labelConfig, index) => {
1836
1841
  let position = 0;
1837
1842
  if (labelConfig.position === 'start')
1838
1843
  position = 0;
@@ -1840,7 +1845,7 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, showValu
1840
1845
  position = 100;
1841
1846
  else if (typeof labelConfig.position === 'number')
1842
1847
  position = labelConfig.position;
1843
- return (jsx(motion.div, { className: styles$n.labelItem, style: {
1848
+ return (jsx(motion.div, { className: styles$m.labelItem, style: {
1844
1849
  left: `${position}%`,
1845
1850
  color: labelConfig.color
1846
1851
  }, initial: { opacity: 0, y: 5 }, animate: { opacity: 1, y: 0 }, transition: {
@@ -1853,7 +1858,7 @@ function Slider({ value, onChange, min = 0, max = 100, step = 1, label, showValu
1853
1858
  }) }))] }));
1854
1859
  }
1855
1860
 
1856
- var styles$m = {"loadingContainer":"LoadingSpinner-module_loadingContainer__m5u51","fullScreen":"LoadingSpinner-module_fullScreen__TuAem","overlay":"LoadingSpinner-module_overlay__X7FTa","shimmer":"LoadingSpinner-module_shimmer__xw4AH","small":"LoadingSpinner-module_small__nq8A3","loadingText":"LoadingSpinner-module_loadingText__wWwna","medium":"LoadingSpinner-module_medium__3JC1S","large":"LoadingSpinner-module_large__4MvAc","dotsSpinner":"LoadingSpinner-module_dotsSpinner__PXtfs","dot1":"LoadingSpinner-module_dot1__5YKSi","dot2":"LoadingSpinner-module_dot2__l6Rbu","dot3":"LoadingSpinner-module_dot3__b9YPW","circleSpinner":"LoadingSpinner-module_circleSpinner__ZmmWs","pulseSpinner":"LoadingSpinner-module_pulseSpinner__wTtDJ","textGradient":"LoadingSpinner-module_textGradient__QDrTY","sparkleContainer":"LoadingSpinner-module_sparkleContainer__9XLJG","sparkle":"LoadingSpinner-module_sparkle__LtFFf"};
1861
+ var styles$l = {"loadingContainer":"LoadingSpinner-module_loadingContainer__m5u51","fullScreen":"LoadingSpinner-module_fullScreen__TuAem","overlay":"LoadingSpinner-module_overlay__X7FTa","shimmer":"LoadingSpinner-module_shimmer__xw4AH","small":"LoadingSpinner-module_small__nq8A3","loadingText":"LoadingSpinner-module_loadingText__wWwna","medium":"LoadingSpinner-module_medium__3JC1S","large":"LoadingSpinner-module_large__4MvAc","dotsSpinner":"LoadingSpinner-module_dotsSpinner__PXtfs","dot1":"LoadingSpinner-module_dot1__5YKSi","dot2":"LoadingSpinner-module_dot2__l6Rbu","dot3":"LoadingSpinner-module_dot3__b9YPW","circleSpinner":"LoadingSpinner-module_circleSpinner__ZmmWs","pulseSpinner":"LoadingSpinner-module_pulseSpinner__wTtDJ","textGradient":"LoadingSpinner-module_textGradient__QDrTY","sparkleContainer":"LoadingSpinner-module_sparkleContainer__9XLJG","sparkle":"LoadingSpinner-module_sparkle__LtFFf"};
1857
1862
 
1858
1863
  const defaultMessages = [
1859
1864
  'Loading your content...',
@@ -1937,22 +1942,22 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
1937
1942
  }
1938
1943
  }, [currentMessageIndex, message, messagesToUse, showMessage]);
1939
1944
  const containerClasses = [
1940
- styles$m.loadingContainer,
1941
- styles$m[size],
1942
- styles$m[variant],
1943
- fullScreen && styles$m.fullScreen,
1944
- overlay && styles$m.overlay,
1945
+ styles$l.loadingContainer,
1946
+ styles$l[size],
1947
+ styles$l[variant],
1948
+ fullScreen && styles$l.fullScreen,
1949
+ overlay && styles$l.overlay,
1945
1950
  className
1946
1951
  ].filter(Boolean).join(' ');
1947
1952
  const customStyle = {
1948
1953
  ...(color && { '--spinner-color': color }),
1949
1954
  ...(backgroundColor && { '--spinner-background': backgroundColor }),
1950
1955
  };
1951
- const renderDots = () => (jsxs(motion.div, { className: styles$m.dotsSpinner, animate: { rotate: 360 }, transition: {
1956
+ const renderDots = () => (jsxs(motion.div, { className: styles$l.dotsSpinner, animate: { rotate: 360 }, transition: {
1952
1957
  duration: 2,
1953
1958
  repeat: Infinity,
1954
1959
  ease: 'linear'
1955
- }, children: [jsx(motion.div, { className: styles$m.dot1, animate: {
1960
+ }, children: [jsx(motion.div, { className: styles$l.dot1, animate: {
1956
1961
  scale: [1, 1.3, 1],
1957
1962
  y: [0, -6, 0]
1958
1963
  }, transition: {
@@ -1960,7 +1965,7 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
1960
1965
  repeat: Infinity,
1961
1966
  ease: 'easeInOut',
1962
1967
  delay: 0
1963
- } }), jsx(motion.div, { className: styles$m.dot2, animate: {
1968
+ } }), jsx(motion.div, { className: styles$l.dot2, animate: {
1964
1969
  scale: [1, 1.3, 1],
1965
1970
  y: [0, -6, 0]
1966
1971
  }, transition: {
@@ -1968,7 +1973,7 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
1968
1973
  repeat: Infinity,
1969
1974
  ease: 'easeInOut',
1970
1975
  delay: 0.5
1971
- } }), jsx(motion.div, { className: styles$m.dot3, animate: {
1976
+ } }), jsx(motion.div, { className: styles$l.dot3, animate: {
1972
1977
  scale: [1, 1.3, 1],
1973
1978
  y: [0, -6, 0]
1974
1979
  }, transition: {
@@ -1977,12 +1982,12 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
1977
1982
  ease: 'easeInOut',
1978
1983
  delay: 1
1979
1984
  } })] }));
1980
- const renderSpinner = () => (jsx(motion.div, { className: styles$m.circleSpinner, animate: { rotate: 360 }, transition: {
1985
+ const renderSpinner = () => (jsx(motion.div, { className: styles$l.circleSpinner, animate: { rotate: 360 }, transition: {
1981
1986
  duration: 1,
1982
1987
  repeat: Infinity,
1983
1988
  ease: 'linear'
1984
1989
  } }));
1985
- const renderPulse = () => (jsx(motion.div, { className: styles$m.pulseSpinner, animate: {
1990
+ const renderPulse = () => (jsx(motion.div, { className: styles$l.pulseSpinner, animate: {
1986
1991
  scale: [1, 1.2, 1],
1987
1992
  opacity: [1, 0.7, 1]
1988
1993
  }, transition: {
@@ -2001,10 +2006,10 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
2001
2006
  return renderDots();
2002
2007
  }
2003
2008
  };
2004
- return (jsxs("div", { className: containerClasses, style: customStyle, children: [renderSpinnerVariant(), showMessage && (jsx(AnimatePresence, { mode: "wait", children: jsx(motion.p, { className: styles$m.loadingText, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -10 }, transition: {
2009
+ return (jsxs("div", { className: containerClasses, style: customStyle, children: [renderSpinnerVariant(), showMessage && (jsx(AnimatePresence, { mode: "wait", children: jsx(motion.p, { className: styles$l.loadingText, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -10 }, transition: {
2005
2010
  duration: 0.4,
2006
2011
  ease: 'easeOut'
2007
- }, children: currentMessage }, currentMessage) })), showSparkles && (jsx("div", { className: styles$m.sparkleContainer, children: [...Array(4)].map((_, i) => (jsx(motion.div, { className: styles$m.sparkle, animate: {
2012
+ }, children: currentMessage }, currentMessage) })), showSparkles && (jsx("div", { className: styles$l.sparkleContainer, children: [...Array(4)].map((_, i) => (jsx(motion.div, { className: styles$l.sparkle, animate: {
2008
2013
  opacity: [0, 1, 0],
2009
2014
  scale: [0.5, 1, 0.5],
2010
2015
  rotate: [0, 180, 360]
@@ -2019,7 +2024,7 @@ const LoadingSpinner = ({ message, size = 'medium', variant = 'dots', className
2019
2024
  } }, i))) }))] }));
2020
2025
  };
2021
2026
 
2022
- var styles$l = {"wrapper":"DecryptedText-module_wrapper__tuLvf","srOnly":"DecryptedText-module_srOnly__A-K2T"};
2027
+ var styles$k = {"wrapper":"DecryptedText-module_wrapper__tuLvf","srOnly":"DecryptedText-module_srOnly__A-K2T"};
2023
2028
 
2024
2029
  /**
2025
2030
  * DecryptedText Component
@@ -2203,13 +2208,13 @@ const DecryptedText = ({ text, speed = 50, maxIterations = 10, sequential = fals
2203
2208
  onMouseLeave: () => setIsHovering(false),
2204
2209
  }
2205
2210
  : {};
2206
- return (jsxs(motion.span, { className: `${styles$l.wrapper} ${parentClassName}`, ref: containerRef, ...hoverProps, ...props, children: [jsx("span", { className: styles$l.srOnly, children: displayText }), jsx("span", { "aria-hidden": "true", children: displayText.split('').map((char, index) => {
2211
+ return (jsxs(motion.span, { className: `${styles$k.wrapper} ${parentClassName}`, ref: containerRef, ...hoverProps, ...props, children: [jsx("span", { className: styles$k.srOnly, children: displayText }), jsx("span", { "aria-hidden": "true", children: displayText.split('').map((char, index) => {
2207
2212
  const isRevealedOrDone = revealedIndices.has(index) || !isScrambling || !isHovering;
2208
2213
  return (jsx("span", { className: isRevealedOrDone ? className : encryptedClassName, children: char }, index));
2209
2214
  }) })] }));
2210
2215
  };
2211
2216
 
2212
- var styles$k = {"arrayInput":"ArrayInput-module_arrayInput__q1x7A","arrayInputLabel":"ArrayInput-module_arrayInputLabel__HyUC7","arrayInputItem":"ArrayInput-module_arrayInputItem__bFtgl","inputWrapper":"ArrayInput-module_inputWrapper__ajhbW","input":"ArrayInput-module_input__1uywi","complexItem":"ArrayInput-module_complexItem__zr-Q-","fieldsWrapper":"ArrayInput-module_fieldsWrapper__7BVPa","removeButton":"ArrayInput-module_removeButton__gYf8Y","addButton":"ArrayInput-module_addButton__mia29"};
2217
+ var styles$j = {"arrayInput":"ArrayInput-module_arrayInput__q1x7A","arrayInputLabel":"ArrayInput-module_arrayInputLabel__HyUC7","arrayInputItem":"ArrayInput-module_arrayInputItem__bFtgl","inputWrapper":"ArrayInput-module_inputWrapper__ajhbW","input":"ArrayInput-module_input__1uywi","complexItem":"ArrayInput-module_complexItem__zr-Q-","fieldsWrapper":"ArrayInput-module_fieldsWrapper__7BVPa","removeButton":"ArrayInput-module_removeButton__gYf8Y","addButton":"ArrayInput-module_addButton__mia29"};
2213
2218
 
2214
2219
  /**
2215
2220
  * ArrayInput component - Versatile dynamic list manager
@@ -2276,11 +2281,11 @@ function SimpleArrayInput({ label, values, onChange, placeholder, itemStyle, inp
2276
2281
  itemIdsRef.current.splice(index, 1);
2277
2282
  onChange(newValues);
2278
2283
  };
2279
- return (jsxs("div", { className: styles$k.arrayInput, children: [jsx("h3", { className: styles$k.arrayInputLabel, children: label }), jsx("div", { children: jsx(AnimatePresence, { children: values.map((value, index) => (jsxs(motion.div, { className: styles$k.arrayInputItem, style: itemStyle, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0 }, transition: {
2284
+ return (jsxs("div", { className: styles$j.arrayInput, children: [jsx("h3", { className: styles$j.arrayInputLabel, children: label }), jsx("div", { children: jsx(AnimatePresence, { children: values.map((value, index) => (jsxs(motion.div, { className: styles$j.arrayInputItem, style: itemStyle, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0 }, transition: {
2280
2285
  duration: 0.3,
2281
2286
  ease: "easeInOut",
2282
2287
  layout: { duration: 0.2 }
2283
- }, children: [jsx("div", { className: styles$k.inputWrapper, children: multiline ? (jsx("div", { style: inputStyle, children: jsx(TextArea, { label: "", value: value, onChange: (newValue) => handleChange(index, newValue), placeholder: placeholder, rows: rows, compact: true }) })) : (jsx("input", { type: "text", value: value, onChange: (e) => handleChange(index, e.target.value), placeholder: placeholder, className: styles$k.input, style: inputStyle })) }), jsx(Button, { variant: "ghost", size: "small", onClick: () => handleRemove(index), "aria-label": "Remove item", className: styles$k.removeButton, children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }) })] }, itemIdsRef.current[index]))) }) }), jsx(Button, { variant: buttonVariant, size: "small", onClick: handleAdd, className: styles$k.addButton, children: label })] }));
2288
+ }, children: [jsx("div", { className: styles$j.inputWrapper, children: multiline ? (jsx("div", { style: inputStyle, children: jsx(TextArea, { label: "", value: value, onChange: (newValue) => handleChange(index, newValue), placeholder: placeholder, rows: rows, compact: true }) })) : (jsx("input", { type: "text", value: value, onChange: (e) => handleChange(index, e.target.value), placeholder: placeholder, className: styles$j.input, style: inputStyle })) }), jsx(Button, { variant: "ghost", size: "small", onClick: () => handleRemove(index), "aria-label": "Remove item", className: styles$j.removeButton, children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }) })] }, itemIdsRef.current[index]))) }) }), jsx(Button, { variant: buttonVariant, size: "small", onClick: handleAdd, className: styles$j.addButton, children: label })] }));
2284
2289
  }
2285
2290
  // Complex object array implementation
2286
2291
  function ComplexArrayInput({ label, values, onChange, fields, getKey, itemStyle, inputStyle, buttonVariant = 'primary' }) {
@@ -2305,14 +2310,14 @@ function ComplexArrayInput({ label, values, onChange, fields, getKey, itemStyle,
2305
2310
  // Generate key from all field values
2306
2311
  return fields.map(f => item[f.name] || '').join('-') + `-${index}`;
2307
2312
  };
2308
- return (jsxs("div", { className: styles$k.arrayInput, children: [jsx("h3", { className: styles$k.arrayInputLabel, children: label }), jsx("div", { children: jsx(AnimatePresence, { children: values.map((value, index) => (jsxs(motion.div, { className: `${styles$k.arrayInputItem} ${fields.length > 1 ? styles$k.complexItem : ''}`, style: itemStyle, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0 }, transition: {
2313
+ return (jsxs("div", { className: styles$j.arrayInput, children: [jsx("h3", { className: styles$j.arrayInputLabel, children: label }), jsx("div", { children: jsx(AnimatePresence, { children: values.map((value, index) => (jsxs(motion.div, { className: `${styles$j.arrayInputItem} ${fields.length > 1 ? styles$j.complexItem : ''}`, style: itemStyle, initial: { opacity: 0, y: 10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0 }, transition: {
2309
2314
  duration: 0.3,
2310
2315
  ease: "easeInOut",
2311
2316
  layout: { duration: 0.2 }
2312
- }, children: [jsx("div", { className: styles$k.fieldsWrapper, children: fields.map((field) => (jsx("div", { style: inputStyle, children: field.multiline ? (jsx(TextArea, { value: value[field.name] || '', onChange: (newValue) => handleChange(index, field.name, newValue), label: field.label, placeholder: field.placeholder, rows: field.rows, compact: true })) : (jsx(TextInput, { value: value[field.name] || '', onChange: (newValue) => handleChange(index, field.name, newValue), label: field.label, type: field.type, placeholder: field.placeholder })) }, field.name))) }), jsx(Button, { variant: "ghost", size: "small", onClick: () => handleRemove(index), "aria-label": "Remove item", className: styles$k.removeButton, children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }) })] }, generateKey(value, index)))) }) }), jsxs(Button, { variant: buttonVariant, size: "small", onClick: handleAdd, className: styles$k.addButton, children: ["Add ", label] })] }));
2317
+ }, children: [jsx("div", { className: styles$j.fieldsWrapper, children: fields.map((field) => (jsx("div", { style: inputStyle, children: field.multiline ? (jsx(TextArea, { value: value[field.name] || '', onChange: (newValue) => handleChange(index, field.name, newValue), label: field.label, placeholder: field.placeholder, rows: field.rows, compact: true })) : (jsx(TextInput, { value: value[field.name] || '', onChange: (newValue) => handleChange(index, field.name, newValue), label: field.label, type: field.type, placeholder: field.placeholder })) }, field.name))) }), jsx(Button, { variant: "ghost", size: "small", onClick: () => handleRemove(index), "aria-label": "Remove item", className: styles$j.removeButton, children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }) }) })] }, generateKey(value, index)))) }) }), jsxs(Button, { variant: buttonVariant, size: "small", onClick: handleAdd, className: styles$j.addButton, children: ["Add ", label] })] }));
2313
2318
  }
2314
2319
 
2315
- var styles$j = {"fab":"EditFAB-module_fab__nSrTJ","primary":"EditFAB-module_primary__zbA9n","secondary":"EditFAB-module_secondary__BnXs0","success":"EditFAB-module_success__kcLg3","loader":"EditFAB-module_loader__TaJOm","draggable":"EditFAB-module_draggable__eE2vE","dragging":"EditFAB-module_dragging__btRJe"};
2320
+ var styles$i = {"fab":"EditFAB-module_fab__nSrTJ","primary":"EditFAB-module_primary__zbA9n","secondary":"EditFAB-module_secondary__BnXs0","success":"EditFAB-module_success__kcLg3","loader":"EditFAB-module_loader__TaJOm","draggable":"EditFAB-module_draggable__eE2vE","dragging":"EditFAB-module_dragging__btRJe"};
2316
2321
 
2317
2322
  const EditFAB = ({ canEdit, isEditMode, hasUnsavedChanges = false, isSaving = false, onEnterEditMode, onExitEditMode, position = { bottom: 32, right: 32 } }) => {
2318
2323
  const [isMobile, setIsMobile] = useState(false);
@@ -2397,15 +2402,15 @@ const EditFAB = ({ canEdit, isEditMode, hasUnsavedChanges = false, isSaving = fa
2397
2402
  };
2398
2403
  const getVariantClass = () => {
2399
2404
  if (isSaving)
2400
- return styles$j.primary;
2405
+ return styles$i.primary;
2401
2406
  if (isEditMode) {
2402
- return hasUnsavedChanges ? styles$j.success : styles$j.secondary;
2407
+ return hasUnsavedChanges ? styles$i.success : styles$i.secondary;
2403
2408
  }
2404
- return styles$j.primary;
2409
+ return styles$i.primary;
2405
2410
  };
2406
2411
  const getIcon = () => {
2407
2412
  if (isSaving) {
2408
- return jsx("div", { className: styles$j.loader });
2413
+ return jsx("div", { className: styles$i.loader });
2409
2414
  }
2410
2415
  if (isEditMode) {
2411
2416
  return hasUnsavedChanges ? jsx(Check, { size: 24 }) : jsx(X, { size: 24 });
@@ -2420,14 +2425,14 @@ const EditFAB = ({ canEdit, isEditMode, hasUnsavedChanges = false, isSaving = fa
2420
2425
  }
2421
2426
  return "Enter edit mode";
2422
2427
  };
2423
- return (jsx(motion.button, { ref: fabRef, className: `${styles$j.fab} ${getVariantClass()} ${isMobile ? styles$j.draggable : ''} ${isDragging ? styles$j.dragging : ''}`, style: getPositionStyles(), onClick: handleClick, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, disabled: isSaving, "aria-label": getAriaLabel(), initial: { scale: 0, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0, opacity: 0 }, whileHover: !isSaving && !isDragging ? { scale: 1.1 } : {}, whileTap: !isSaving && !isDragging ? { scale: 0.9 } : {}, transition: {
2428
+ return (jsx(motion.button, { ref: fabRef, className: `${styles$i.fab} ${getVariantClass()} ${isMobile ? styles$i.draggable : ''} ${isDragging ? styles$i.dragging : ''}`, style: getPositionStyles(), onClick: handleClick, onTouchStart: handleTouchStart, onTouchMove: handleTouchMove, onTouchEnd: handleTouchEnd, disabled: isSaving, "aria-label": getAriaLabel(), initial: { scale: 0, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0, opacity: 0 }, whileHover: !isSaving && !isDragging ? { scale: 1.1 } : {}, whileTap: !isSaving && !isDragging ? { scale: 0.9 } : {}, transition: {
2424
2429
  type: "spring",
2425
2430
  stiffness: 260,
2426
2431
  damping: 20
2427
2432
  }, children: getIcon() }));
2428
2433
  };
2429
2434
 
2430
- var styles$i = {"searchContainer":"SearchBar-module_searchContainer__TdM1w","searchInputWrapper":"SearchBar-module_searchInputWrapper__kCZLU","searchIcon":"SearchBar-module_searchIcon__IIxEu","searchInput":"SearchBar-module_searchInput__V4gkE","clearButton":"SearchBar-module_clearButton__7fNIY","filterSelect":"SearchBar-module_filterSelect__xIVE4","resultsDropdown":"SearchBar-module_resultsDropdown__yh6NF","loadingState":"SearchBar-module_loadingState__4gidK","emptyState":"SearchBar-module_emptyState__RbI4s","spinner":"SearchBar-module_spinner__PMc6-","resultsGroups":"SearchBar-module_resultsGroups__U24DC","resultGroup":"SearchBar-module_resultGroup__SoTQH","groupHeader":"SearchBar-module_groupHeader__bFRHA","groupIcon":"SearchBar-module_groupIcon__9ENM-","groupTitle":"SearchBar-module_groupTitle__ZekZs","groupCount":"SearchBar-module_groupCount__PQIqw","groupResults":"SearchBar-module_groupResults__xTF52","resultItem":"SearchBar-module_resultItem__VaKKy","highlighted":"SearchBar-module_highlighted__Q-3sH","resultTitle":"SearchBar-module_resultTitle__i1uqL","resultSubtitle":"SearchBar-module_resultSubtitle__LQOJ1","resultMeta":"SearchBar-module_resultMeta__Kmkrn","resultContent":"SearchBar-module_resultContent__TzVzL","highlight":"SearchBar-module_highlight__Q3PSP"};
2435
+ var styles$h = {"searchContainer":"SearchBar-module_searchContainer__TdM1w","searchInputWrapper":"SearchBar-module_searchInputWrapper__kCZLU","searchIcon":"SearchBar-module_searchIcon__IIxEu","searchInput":"SearchBar-module_searchInput__V4gkE","clearButton":"SearchBar-module_clearButton__7fNIY","filterSelect":"SearchBar-module_filterSelect__xIVE4","resultsDropdown":"SearchBar-module_resultsDropdown__yh6NF","loadingState":"SearchBar-module_loadingState__4gidK","emptyState":"SearchBar-module_emptyState__RbI4s","spinner":"SearchBar-module_spinner__PMc6-","resultsGroups":"SearchBar-module_resultsGroups__U24DC","resultGroup":"SearchBar-module_resultGroup__SoTQH","groupHeader":"SearchBar-module_groupHeader__bFRHA","groupIcon":"SearchBar-module_groupIcon__9ENM-","groupTitle":"SearchBar-module_groupTitle__ZekZs","groupCount":"SearchBar-module_groupCount__PQIqw","groupResults":"SearchBar-module_groupResults__xTF52","resultItem":"SearchBar-module_resultItem__VaKKy","highlighted":"SearchBar-module_highlighted__Q-3sH","resultTitle":"SearchBar-module_resultTitle__i1uqL","resultSubtitle":"SearchBar-module_resultSubtitle__LQOJ1","resultMeta":"SearchBar-module_resultMeta__Kmkrn","resultContent":"SearchBar-module_resultContent__TzVzL","highlight":"SearchBar-module_highlight__Q3PSP"};
2431
2436
 
2432
2437
  // Default filter options for backwards compatibility
2433
2438
  const defaultFilterOptions = [
@@ -2620,93 +2625,52 @@ const SearchBar = ({ className, placeholder = "Search (Ctrl+Space)...", onSearch
2620
2625
  return text || '';
2621
2626
  const regex = new RegExp(`(${highlight.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')})`, 'gi');
2622
2627
  const parts = text.split(regex);
2623
- return parts.map((part, index) => regex.test(part) ? (jsx("mark", { className: styles$i.highlight, children: part }, index)) : (part));
2628
+ return parts.map((part, index) => regex.test(part) ? (jsx("mark", { className: styles$h.highlight, children: part }, index)) : (part));
2624
2629
  };
2625
- return (jsxs("div", { ref: searchRef, className: `${styles$i.searchContainer} ${className || ''}`, children: [jsxs("div", { className: styles$i.searchInputWrapper, children: [jsx(Search, { className: styles$i.searchIcon }), jsx("input", { ref: inputRef, type: "text", value: query, onChange: (e) => setQuery(e.target.value), onKeyDown: handleKeyDown, onFocus: () => query.trim() && results.length > 0 && setIsDropdownOpen(true), placeholder: placeholder, className: styles$i.searchInput, "aria-label": "Search", "aria-expanded": isDropdownOpen, "aria-controls": "search-results", "aria-autocomplete": "list" }), query && (jsx(motion.button, { className: styles$i.clearButton, onClick: handleClear, whileHover: { scale: 1.1 }, whileTap: { scale: 0.9 }, initial: { opacity: 0, scale: 0.8 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.8 }, children: jsx(X, {}) })), showFilter && (jsx("select", { value: filter, onChange: (e) => setFilter(e.target.value), className: styles$i.filterSelect, "aria-label": "Filter search results", children: filterOptions.map(option => (jsx("option", { value: option.value, children: option.label }, option.value))) }))] }), jsx(AnimatePresence, { children: isDropdownOpen && (jsx(motion.div, { ref: resultsRef, id: "search-results", className: styles$i.resultsDropdown, initial: { opacity: 0, y: -10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -10 }, transition: { duration: 0.2 }, children: isLoading ? (jsxs("div", { className: styles$i.loadingState, children: [jsx("div", { className: styles$i.spinner }), jsx("span", { children: "Searching..." })] })) : results.length === 0 ? (jsxs("div", { className: styles$i.emptyState, children: ["No results found for \"", query, "\""] })) : (jsx("div", { className: styles$i.resultsGroups, children: Object.entries(groupedResults).map(([type, groupResults]) => {
2630
+ return (jsxs("div", { ref: searchRef, className: `${styles$h.searchContainer} ${className || ''}`, children: [jsxs("div", { className: styles$h.searchInputWrapper, children: [jsx(Search, { className: styles$h.searchIcon }), jsx("input", { ref: inputRef, type: "text", value: query, onChange: (e) => setQuery(e.target.value), onKeyDown: handleKeyDown, onFocus: () => query.trim() && results.length > 0 && setIsDropdownOpen(true), placeholder: placeholder, className: styles$h.searchInput, "aria-label": "Search", "aria-expanded": isDropdownOpen, "aria-controls": "search-results", "aria-autocomplete": "list" }), query && (jsx(motion.button, { className: styles$h.clearButton, onClick: handleClear, whileHover: { scale: 1.1 }, whileTap: { scale: 0.9 }, initial: { opacity: 0, scale: 0.8 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.8 }, children: jsx(X, {}) })), showFilter && (jsx("select", { value: filter, onChange: (e) => setFilter(e.target.value), className: styles$h.filterSelect, "aria-label": "Filter search results", children: filterOptions.map(option => (jsx("option", { value: option.value, children: option.label }, option.value))) }))] }), jsx(AnimatePresence, { children: isDropdownOpen && (jsx(motion.div, { ref: resultsRef, id: "search-results", className: styles$h.resultsDropdown, initial: { opacity: 0, y: -10 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -10 }, transition: { duration: 0.2 }, children: isLoading ? (jsxs("div", { className: styles$h.loadingState, children: [jsx("div", { className: styles$h.spinner }), jsx("span", { children: "Searching..." })] })) : results.length === 0 ? (jsxs("div", { className: styles$h.emptyState, children: ["No results found for \"", query, "\""] })) : (jsx("div", { className: styles$h.resultsGroups, children: Object.entries(groupedResults).map(([type, groupResults]) => {
2626
2631
  const Icon = entityIcons[type];
2627
- return (jsxs("div", { className: styles$i.resultGroup, children: [jsxs("div", { className: styles$i.groupHeader, children: [Icon && jsx(Icon, { className: styles$i.groupIcon }), jsx("span", { className: styles$i.groupTitle, children: type.charAt(0).toUpperCase() + type.slice(1) }), jsx("span", { className: styles$i.groupCount, children: groupResults.length })] }), jsx("div", { className: styles$i.groupResults, children: groupResults.map((result) => {
2632
+ return (jsxs("div", { className: styles$h.resultGroup, children: [jsxs("div", { className: styles$h.groupHeader, children: [Icon && jsx(Icon, { className: styles$h.groupIcon }), jsx("span", { className: styles$h.groupTitle, children: type.charAt(0).toUpperCase() + type.slice(1) }), jsx("span", { className: styles$h.groupCount, children: groupResults.length })] }), jsx("div", { className: styles$h.groupResults, children: groupResults.map((result) => {
2628
2633
  const globalIndex = results.indexOf(result);
2629
- return (jsxs(motion.button, { "data-result-index": globalIndex, className: `${styles$i.resultItem} ${highlightedIndex === globalIndex ? styles$i.highlighted : ''}`, onClick: () => handleResultClick(result), whileHover: { x: 4 }, onMouseEnter: () => setHighlightedIndex(globalIndex), children: [jsxs("div", { className: styles$i.resultContent, children: [jsx("div", { className: styles$i.resultTitle, children: highlightMatch(result.title || 'Untitled', query) }), result.subtitle && (jsx("div", { className: styles$i.resultSubtitle, children: highlightMatch(result.subtitle, query) }))] }), result.meta && (jsx("div", { className: styles$i.resultMeta, children: result.meta }))] }, `${result.type}-${result.id}`));
2634
+ return (jsxs(motion.button, { "data-result-index": globalIndex, className: `${styles$h.resultItem} ${highlightedIndex === globalIndex ? styles$h.highlighted : ''}`, onClick: () => handleResultClick(result), whileHover: { x: 4 }, onMouseEnter: () => setHighlightedIndex(globalIndex), children: [jsxs("div", { className: styles$h.resultContent, children: [jsx("div", { className: styles$h.resultTitle, children: highlightMatch(result.title || 'Untitled', query) }), result.subtitle && (jsx("div", { className: styles$h.resultSubtitle, children: highlightMatch(result.subtitle, query) }))] }), result.meta && (jsx("div", { className: styles$h.resultMeta, children: result.meta }))] }, `${result.type}-${result.id}`));
2630
2635
  }) })] }, type));
2631
2636
  }) })) })) })] }));
2632
2637
  };
2633
2638
 
2634
- var styles$h = {"modalOverlay":"TimePickerModal-module_modalOverlay__Cbq5-","modalContent":"TimePickerModal-module_modalContent__e6py2","modalHeader":"TimePickerModal-module_modalHeader__XhTgK","closeButton":"TimePickerModal-module_closeButton__qsRAG","timeDisplay":"TimePickerModal-module_timeDisplay__voGP4","pickerContainer":"TimePickerModal-module_pickerContainer__4qn3r","pickerColumn":"TimePickerModal-module_pickerColumn__0-kWf","pickerLabel":"TimePickerModal-module_pickerLabel__e7zQ2","pickerScroll":"TimePickerModal-module_pickerScroll__5Dcvw","pickerItem":"TimePickerModal-module_pickerItem__n8sC2","selected":"TimePickerModal-module_selected__oQA8Z","pickerDivider":"TimePickerModal-module_pickerDivider__eg83F","modalActions":"TimePickerModal-module_modalActions__eJRWU","cancelButton":"TimePickerModal-module_cancelButton__zri81","confirmButton":"TimePickerModal-module_confirmButton__q2p3Q"};
2635
-
2636
- function TimePickerModal({ isOpen, onClose, value, onChange }) {
2637
- const [hours, minutes] = value ? value.split(':').map(Number) : [12, 0];
2638
- const [selectedHour, setSelectedHour] = useState(hours);
2639
- const [selectedMinute, setSelectedMinute] = useState(minutes);
2640
- useEffect(() => {
2641
- if (value) {
2642
- const [h, m] = value.split(':').map(Number);
2643
- setSelectedHour(h);
2644
- setSelectedMinute(m);
2645
- }
2646
- }, [value]);
2647
- const handleConfirm = () => {
2648
- const formattedHour = selectedHour.toString().padStart(2, '0');
2649
- const formattedMinute = selectedMinute.toString().padStart(2, '0');
2650
- onChange(`${formattedHour}:${formattedMinute}`);
2651
- onClose();
2652
- };
2653
- if (!isOpen)
2654
- return null;
2655
- return (jsx("div", { className: styles$h.modalOverlay, onClick: onClose, children: jsxs("div", { className: styles$h.modalContent, onClick: (e) => e.stopPropagation(), children: [jsxs("div", { className: styles$h.modalHeader, children: [jsx("h3", { children: "Select Time" }), jsx("button", { className: styles$h.closeButton, onClick: onClose, "aria-label": "Close", children: jsx(X, {}) })] }), jsxs("div", { className: styles$h.timeDisplay, children: [selectedHour.toString().padStart(2, '0'), ":", selectedMinute.toString().padStart(2, '0')] }), jsxs("div", { className: styles$h.pickerContainer, children: [jsxs("div", { className: styles$h.pickerColumn, children: [jsx("div", { className: styles$h.pickerLabel, children: "Hours" }), jsx("div", { className: styles$h.pickerScroll, children: Array.from({ length: 24 }, (_, i) => (jsx("button", { className: `${styles$h.pickerItem} ${selectedHour === i ? styles$h.selected : ''}`, onClick: () => setSelectedHour(i), children: i.toString().padStart(2, '0') }, i))) })] }), jsx("div", { className: styles$h.pickerDivider, children: ":" }), jsxs("div", { className: styles$h.pickerColumn, children: [jsx("div", { className: styles$h.pickerLabel, children: "Minutes" }), jsx("div", { className: styles$h.pickerScroll, children: Array.from({ length: 60 }, (_, i) => (jsx("button", { className: `${styles$h.pickerItem} ${selectedMinute === i ? styles$h.selected : ''}`, onClick: () => setSelectedMinute(i), children: i.toString().padStart(2, '0') }, i))) })] })] }), jsxs("div", { className: styles$h.modalActions, children: [jsx("button", { className: styles$h.cancelButton, onClick: onClose, children: "Cancel" }), jsx("button", { className: styles$h.confirmButton, onClick: handleConfirm, children: "Confirm" })] })] }) }));
2656
- }
2657
-
2658
- var styles$g = {"timeInput":"TimeInput-module_timeInput__h1DpT","label":"TimeInput-module_label__d4rZw","required":"TimeInput-module_required__rc1vq","inputWrapper":"TimeInput-module_inputWrapper__4RPAn","textInput":"TimeInput-module_textInput__M3eBZ","clockButton":"TimeInput-module_clockButton__3qoub","error":"TimeInput-module_error__gJnpk","success":"TimeInput-module_success__np-lF","loading":"TimeInput-module_loading__Wb1DC","disabled":"TimeInput-module_disabled__wxiZ-"};
2639
+ var styles$g = {"timeInput":"TimeInput-module_timeInput__h1DpT","label":"TimeInput-module_label__d4rZw","required":"TimeInput-module_required__rc1vq","picker":"TimeInput-module_picker__9c6EI","error":"TimeInput-module_error__gJnpk","disabled":"TimeInput-module_disabled__wxiZ-"};
2659
2640
 
2660
- function TimeInput({ label, value, onChange, placeholder = "14:30", onFocus, onBlur, error = false, success = false, loading = false, disabled = false, required = false, className = "" }) {
2661
- const [showPicker, setShowPicker] = useState(false);
2662
- const formatTime24 = (time) => {
2663
- if (!time)
2664
- return '';
2665
- let cleanTime = time.replace(/[^\d:]/g, '');
2666
- const colonCount = (cleanTime.match(/:/g) || []).length;
2667
- if (colonCount > 1) {
2668
- cleanTime = cleanTime.replace(/:/g, '');
2669
- if (cleanTime.length >= 3) {
2670
- cleanTime = cleanTime.substring(0, 2) + ':' + cleanTime.substring(2);
2671
- }
2672
- }
2673
- if (cleanTime.length === 3 && !cleanTime.includes(':')) {
2674
- cleanTime = cleanTime.substring(0, 2) + ':' + cleanTime.substring(2);
2675
- }
2676
- else if (cleanTime.length === 4 && !cleanTime.includes(':')) {
2677
- cleanTime = cleanTime.substring(0, 2) + ':' + cleanTime.substring(2);
2678
- }
2679
- if (cleanTime.includes(':')) {
2680
- const parts = cleanTime.split(':');
2681
- let hours = parts[0];
2682
- let minutes = parts[1] || '';
2683
- hours = hours.substring(0, 2);
2684
- if (hours.length === 2) {
2685
- const hourNum = parseInt(hours);
2686
- if (hourNum > 23) {
2687
- hours = '23';
2688
- }
2689
- }
2690
- minutes = minutes.substring(0, 2);
2691
- if (minutes.length === 2) {
2692
- const minNum = parseInt(minutes);
2693
- if (minNum > 59) {
2694
- minutes = '59';
2695
- }
2696
- }
2697
- cleanTime = hours + (minutes.length > 0 ? ':' + minutes : ':');
2698
- }
2699
- return cleanTime.substring(0, 5);
2700
- };
2701
- const handleTextChange = (inputValue) => {
2702
- const formattedTime = formatTime24(inputValue);
2703
- onChange(formattedTime);
2704
- };
2705
- const handleClockClick = () => {
2706
- if (!disabled && !loading) {
2707
- setShowPicker(true);
2708
- }
2709
- };
2641
+ const lightTheme = createTheme({
2642
+ palette: {
2643
+ mode: 'light',
2644
+ primary: { main: '#3b82f6' },
2645
+ background: {
2646
+ default: '#f8fafc',
2647
+ paper: '#ffffff',
2648
+ },
2649
+ text: {
2650
+ primary: '#0f172a',
2651
+ secondary: '#475569',
2652
+ },
2653
+ },
2654
+ });
2655
+ const darkTheme = createTheme({
2656
+ palette: {
2657
+ mode: 'dark',
2658
+ primary: { main: '#f5b829' },
2659
+ background: {
2660
+ default: '#010907',
2661
+ paper: '#0e1a19',
2662
+ },
2663
+ text: {
2664
+ primary: '#f1f5f9',
2665
+ secondary: '#cbd5e1',
2666
+ },
2667
+ },
2668
+ });
2669
+ function TimeInput({ label, value, onChange, error = false, success = false, loading = false, disabled = false, required = false, className = '', }) {
2670
+ const dayjsValue = value ? dayjs(`2000-01-01 ${value}`) : null;
2671
+ const isDark = typeof document !== 'undefined' &&
2672
+ !!document.documentElement.getAttribute('data-theme')?.includes('dark');
2673
+ const muiTheme = useMemo(() => (isDark ? darkTheme : lightTheme), [isDark]);
2710
2674
  const getContainerClassName = () => {
2711
2675
  const classes = [styles$g.timeInput];
2712
2676
  if (error)
@@ -2721,7 +2685,36 @@ function TimeInput({ label, value, onChange, placeholder = "14:30", onFocus, onB
2721
2685
  classes.push(className);
2722
2686
  return classes.join(' ');
2723
2687
  };
2724
- return (jsxs(Fragment, { children: [jsxs("div", { className: getContainerClassName(), children: [jsxs("label", { className: styles$g.label, children: [label, required && jsx("span", { className: styles$g.required, children: "*" })] }), jsxs("div", { className: styles$g.inputWrapper, children: [jsx("input", { type: "text", value: value, onChange: (e) => handleTextChange(e.target.value), onFocus: onFocus, onBlur: onBlur, placeholder: placeholder, className: styles$g.textInput, maxLength: 5, disabled: disabled || loading, "aria-invalid": error, "aria-required": required, inputMode: "numeric", pattern: "[0-9:]*" }), jsx("button", { type: "button", onClick: handleClockClick, className: styles$g.clockButton, title: "Open time picker", disabled: disabled || loading, "aria-label": "Open time picker", children: jsx(Clock, { size: 20 }) })] })] }), jsx(TimePickerModal, { isOpen: showPicker, onClose: () => setShowPicker(false), value: value, onChange: onChange })] }));
2688
+ return (jsxs("div", { className: getContainerClassName(), children: [label && (jsxs("label", { className: styles$g.label, children: [label, required && jsx("span", { className: styles$g.required, children: "*" })] })), jsx(ThemeProvider$1, { theme: muiTheme, children: jsx(LocalizationProvider, { dateAdapter: AdapterDayjs, children: jsx(MobileTimePicker, { value: dayjsValue, onChange: (newValue) => {
2689
+ onChange(newValue ? newValue.format('HH:mm') : '');
2690
+ }, ampm: false, views: ['hours', 'minutes'], disabled: disabled || loading, slotProps: {
2691
+ textField: {
2692
+ size: 'small',
2693
+ fullWidth: true,
2694
+ className: styles$g.picker,
2695
+ sx: {
2696
+ '& .MuiPickersOutlinedInput-root': {
2697
+ fontFamily: "'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace",
2698
+ fontSize: 'var(--font-size-lg)',
2699
+ borderRadius: 'var(--radius-lg)',
2700
+ color: 'var(--color-text) !important',
2701
+ '& .MuiPickersOutlinedInput-notchedOutline': {
2702
+ borderWidth: '2px !important',
2703
+ borderColor: 'var(--color-border) !important',
2704
+ },
2705
+ '&:hover .MuiPickersOutlinedInput-notchedOutline': {
2706
+ borderColor: 'var(--color-border-hover) !important',
2707
+ },
2708
+ '&.Mui-focused .MuiPickersOutlinedInput-notchedOutline': {
2709
+ borderColor: 'var(--color-primary) !important',
2710
+ },
2711
+ },
2712
+ '& .MuiIconButton-root': {
2713
+ color: 'var(--color-text-secondary) !important',
2714
+ },
2715
+ },
2716
+ },
2717
+ } }) }) })] }));
2725
2718
  }
2726
2719
 
2727
2720
  const ThemeContext = createContext(undefined);
@@ -2954,7 +2947,7 @@ const LiquidButton = ({ actions, icon: Icon = Plus, className = '', }) => {
2954
2947
  }, onClick: () => handleAction(action), children: [jsx(action.icon, { size: 18, color: action.color }), jsx("span", { className: styles$b.actionLabel, children: action.label })] }, action.key))) })) }), jsx(motion.button, { type: "button", className: styles$b.button, onClick: handleToggle, animate: { rotate: expanded ? 45 : 0 }, transition: { duration: 0.2 }, "aria-label": expanded ? 'Close actions' : 'Open actions', children: jsx(Icon, { size: 24, strokeWidth: 2.5 }) })] })] }));
2955
2948
  };
2956
2949
 
2957
- var styles$a = {"calendar":"Calendar-module_calendar__3mIJS","loading":"Calendar-module_loading__59Z9-","loadingSpinner":"Calendar-module_loadingSpinner__7MXqV","header":"Calendar-module_header__cZHNA","navigation":"Calendar-module_navigation__PGkpY","navButton":"Calendar-module_navButton__kOe-w","title":"Calendar-module_title__oJZ7m","controls":"Calendar-module_controls__i1Z38","todayButton":"Calendar-module_todayButton__Ac9zc","viewToggle":"Calendar-module_viewToggle__Fhg2t","viewButton":"Calendar-module_viewButton__J2WY6","active":"Calendar-module_active__lIqH-","filterBar":"Calendar-module_filterBar__ZD-lX","filterPill":"Calendar-module_filterPill__f7S8p","filterPillActive":"Calendar-module_filterPillActive__9Wtm9","filterDot":"Calendar-module_filterDot__E1Hp8","weekDays":"Calendar-module_weekDays__4J-8f","withWeekNumbers":"Calendar-module_withWeekNumbers__qbnUY","weekNumberHeader":"Calendar-module_weekNumberHeader__xhKbB","weekDay":"Calendar-module_weekDay__cg8Gr","daysGrid":"Calendar-module_daysGrid__ER0GM","dayCell":"Calendar-module_dayCell__TV-HR","dayNumber":"Calendar-module_dayNumber__ICH-X","today":"Calendar-module_today__eGuUU","events":"Calendar-module_events__qdbs7","event":"Calendar-module_event__Q1Zq3","eventTitle":"Calendar-module_eventTitle__XU7Wd","eventTime":"Calendar-module_eventTime__pMGEB","otherMonth":"Calendar-module_otherMonth__r6VJK","selected":"Calendar-module_selected__5e6h0","compact":"Calendar-module_compact__i0SF3","dots":"Calendar-module_dots__1Q7QR","dot":"Calendar-module_dot__tsCR1","dotMore":"Calendar-module_dotMore__emasD","weekNumberCell":"Calendar-module_weekNumberCell__bydCw","completed":"Calendar-module_completed__B-SHI","completedIcon":"Calendar-module_completedIcon__-oDZ9","moreEvents":"Calendar-module_moreEvents__TIKaT","emptyState":"Calendar-module_emptyState__2fcj7","dayView":"Calendar-module_dayView__PCIos","dayViewHeader":"Calendar-module_dayViewHeader__Gvxx2","timeColumnHeader":"Calendar-module_timeColumnHeader__B0btR","dayColumnHeader":"Calendar-module_dayColumnHeader__Rjqwg","allDayStrip":"Calendar-module_allDayStrip__VOqbV","allDayLabel":"Calendar-module_allDayLabel__2AmyT","allDayList":"Calendar-module_allDayList__6hFSb","dayViewScrollContainer":"Calendar-module_dayViewScrollContainer__84Byq","dayTimelineGrid":"Calendar-module_dayTimelineGrid__r1BNI","hourRow":"Calendar-module_hourRow__U-YN-","hourLabel":"Calendar-module_hourLabel__im84k","hourSlots":"Calendar-module_hourSlots__vbtYy","halfHourSlot":"Calendar-module_halfHourSlot__UWIri","halfHourSlotBottom":"Calendar-module_halfHourSlotBottom__aE5Mo","dayEventAnchor":"Calendar-module_dayEventAnchor__oryAi","weekTimeline":"Calendar-module_weekTimeline__q75EF","weekTimelineHeader":"Calendar-module_weekTimelineHeader__n5i06","weekDayColumnHeader":"Calendar-module_weekDayColumnHeader__u2ghX","weekDayLabel":"Calendar-module_weekDayLabel__i8Rm9","weekDayNumber":"Calendar-module_weekDayNumber__tqFKO","weekTimelineScroll":"Calendar-module_weekTimelineScroll__jesa0","weekTimelineGrid":"Calendar-module_weekTimelineGrid__MxIHF","weekTimeColumn":"Calendar-module_weekTimeColumn__rK4ZV","weekTimeSlot":"Calendar-module_weekTimeSlot__IFPUz","weekHourLabel":"Calendar-module_weekHourLabel__0ANmg","weekDayColumns":"Calendar-module_weekDayColumns__soiyU","weekDayColumn":"Calendar-module_weekDayColumn__sXVu0","weekHourRow":"Calendar-module_weekHourRow__FHcB2","weekEventAnchor":"Calendar-module_weekEventAnchor__nhG4x","currentTimeIndicator":"Calendar-module_currentTimeIndicator__GntOZ"};
2950
+ var styles$a = {"calendar":"Calendar-module_calendar__3mIJS","loading":"Calendar-module_loading__59Z9-","loadingSpinner":"Calendar-module_loadingSpinner__7MXqV","header":"Calendar-module_header__cZHNA","navigation":"Calendar-module_navigation__PGkpY","navButton":"Calendar-module_navButton__kOe-w","title":"Calendar-module_title__oJZ7m","controls":"Calendar-module_controls__i1Z38","exportDropdown":"Calendar-module_exportDropdown__yQX4q","exportButton":"Calendar-module_exportButton__dx7--","exportMenu":"Calendar-module_exportMenu__-lZ-8","exportMenuItem":"Calendar-module_exportMenuItem__D9MdL","todayButton":"Calendar-module_todayButton__Ac9zc","viewToggle":"Calendar-module_viewToggle__Fhg2t","viewButton":"Calendar-module_viewButton__J2WY6","active":"Calendar-module_active__lIqH-","filterBar":"Calendar-module_filterBar__ZD-lX","filterPill":"Calendar-module_filterPill__f7S8p","filterPillActive":"Calendar-module_filterPillActive__9Wtm9","filterDot":"Calendar-module_filterDot__E1Hp8","weekDays":"Calendar-module_weekDays__4J-8f","withWeekNumbers":"Calendar-module_withWeekNumbers__qbnUY","weekNumberHeader":"Calendar-module_weekNumberHeader__xhKbB","weekDay":"Calendar-module_weekDay__cg8Gr","daysGrid":"Calendar-module_daysGrid__ER0GM","dayCell":"Calendar-module_dayCell__TV-HR","dayNumber":"Calendar-module_dayNumber__ICH-X","today":"Calendar-module_today__eGuUU","events":"Calendar-module_events__qdbs7","event":"Calendar-module_event__Q1Zq3","eventTitle":"Calendar-module_eventTitle__XU7Wd","eventTime":"Calendar-module_eventTime__pMGEB","otherMonth":"Calendar-module_otherMonth__r6VJK","selected":"Calendar-module_selected__5e6h0","compact":"Calendar-module_compact__i0SF3","dots":"Calendar-module_dots__1Q7QR","dot":"Calendar-module_dot__tsCR1","dotMore":"Calendar-module_dotMore__emasD","weekNumberCell":"Calendar-module_weekNumberCell__bydCw","completed":"Calendar-module_completed__B-SHI","completedIcon":"Calendar-module_completedIcon__-oDZ9","moreEvents":"Calendar-module_moreEvents__TIKaT","emptyState":"Calendar-module_emptyState__2fcj7","dayView":"Calendar-module_dayView__PCIos","dayViewHeader":"Calendar-module_dayViewHeader__Gvxx2","timeColumnHeader":"Calendar-module_timeColumnHeader__B0btR","dayColumnHeader":"Calendar-module_dayColumnHeader__Rjqwg","allDayStrip":"Calendar-module_allDayStrip__VOqbV","allDayLabel":"Calendar-module_allDayLabel__2AmyT","allDayList":"Calendar-module_allDayList__6hFSb","dayViewScrollContainer":"Calendar-module_dayViewScrollContainer__84Byq","dayTimelineGrid":"Calendar-module_dayTimelineGrid__r1BNI","hourRow":"Calendar-module_hourRow__U-YN-","hourLabel":"Calendar-module_hourLabel__im84k","hourSlots":"Calendar-module_hourSlots__vbtYy","halfHourSlot":"Calendar-module_halfHourSlot__UWIri","halfHourSlotBottom":"Calendar-module_halfHourSlotBottom__aE5Mo","dayEventAnchor":"Calendar-module_dayEventAnchor__oryAi","weekTimeline":"Calendar-module_weekTimeline__q75EF","weekTimelineHeader":"Calendar-module_weekTimelineHeader__n5i06","weekDayColumnHeader":"Calendar-module_weekDayColumnHeader__u2ghX","weekDayLabel":"Calendar-module_weekDayLabel__i8Rm9","weekDayNumber":"Calendar-module_weekDayNumber__tqFKO","weekTimelineScroll":"Calendar-module_weekTimelineScroll__jesa0","weekTimelineGrid":"Calendar-module_weekTimelineGrid__MxIHF","weekTimeColumn":"Calendar-module_weekTimeColumn__rK4ZV","weekTimeSlot":"Calendar-module_weekTimeSlot__IFPUz","weekHourLabel":"Calendar-module_weekHourLabel__0ANmg","weekDayColumns":"Calendar-module_weekDayColumns__soiyU","weekDayColumn":"Calendar-module_weekDayColumn__sXVu0","weekHourRow":"Calendar-module_weekHourRow__FHcB2","weekEventAnchor":"Calendar-module_weekEventAnchor__nhG4x","currentTimeIndicator":"Calendar-module_currentTimeIndicator__GntOZ"};
2958
2951
 
2959
2952
  var styles$9 = {"wrapper":"DayEventCard-module_wrapper__qvRgl","deleteUnderlay":"DayEventCard-module_deleteUnderlay__fTtuX","card":"DayEventCard-module_card__V9xTi","dragging":"DayEventCard-module_dragging__q19ID","completed":"DayEventCard-module_completed__tq8ol","text":"DayEventCard-module_text__3dWF7","grip":"DayEventCard-module_grip__tmim4","checkIcon":"DayEventCard-module_checkIcon__Ki67j","time":"DayEventCard-module_time__Ojdye","editButton":"DayEventCard-module_editButton__nDi-e"};
2960
2953
 
@@ -3026,6 +3019,92 @@ const DayEventCard = ({ event, color, textColor, onComplete, onEdit, onDelete, o
3026
3019
  }, "aria-label": "Edit event", children: jsx(Pencil, { size: 13 }) }))] })] }));
3027
3020
  };
3028
3021
 
3022
+ const EXPORT_FIELDS = [
3023
+ 'id', 'title', 'date', 'time', 'endTime', 'allDay',
3024
+ 'type', 'status', 'priority', 'category',
3025
+ ];
3026
+ const toIsoDate = (d) => {
3027
+ const date = typeof d === 'string' ? new Date(d) : d;
3028
+ return date.toISOString();
3029
+ };
3030
+ const normalize = (event) => {
3031
+ const row = {};
3032
+ for (const f of EXPORT_FIELDS) {
3033
+ const v = event[f];
3034
+ if (v === undefined)
3035
+ continue;
3036
+ row[f] = f === 'date' ? toIsoDate(v) : v;
3037
+ }
3038
+ return row;
3039
+ };
3040
+ const escCsv = (value) => {
3041
+ if (value === undefined || value === null)
3042
+ return '';
3043
+ const s = String(value);
3044
+ if (/[",\n\r]/.test(s))
3045
+ return `"${s.replace(/"/g, '""')}"`;
3046
+ return s;
3047
+ };
3048
+ const toCsv = (events) => {
3049
+ const header = EXPORT_FIELDS.join(',');
3050
+ const rows = events.map(e => {
3051
+ const n = normalize(e);
3052
+ return EXPORT_FIELDS.map(f => escCsv(n[f])).join(',');
3053
+ });
3054
+ return [header, ...rows].join('\n');
3055
+ };
3056
+ const toJson = (events) => {
3057
+ return JSON.stringify(events.map(normalize), null, 2);
3058
+ };
3059
+ // TOON (Token-Oriented Object Notation): compact tabular text for uniform arrays.
3060
+ // Format: `events[N]{field1,field2,...}:` then indented rows of comma-separated values.
3061
+ // Strings containing comma/quote/newline are wrapped in double quotes with "" escaping.
3062
+ const escToon = (value) => {
3063
+ if (value === undefined || value === null)
3064
+ return '';
3065
+ const s = String(value);
3066
+ if (/[",\n\r]/.test(s))
3067
+ return `"${s.replace(/"/g, '""')}"`;
3068
+ return s;
3069
+ };
3070
+ const toToon = (events) => {
3071
+ const header = `events[${events.length}]{${EXPORT_FIELDS.join(',')}}:`;
3072
+ const rows = events.map(e => {
3073
+ const n = normalize(e);
3074
+ return ' ' + EXPORT_FIELDS.map(f => escToon(n[f])).join(',');
3075
+ });
3076
+ return [header, ...rows].join('\n');
3077
+ };
3078
+ const MIME = {
3079
+ csv: 'text/csv;charset=utf-8;',
3080
+ json: 'application/json;charset=utf-8;',
3081
+ toon: 'text/plain;charset=utf-8;',
3082
+ };
3083
+ const EXT = {
3084
+ csv: 'csv',
3085
+ json: 'json',
3086
+ toon: 'toon',
3087
+ };
3088
+ const serializeEvents = (events, format) => {
3089
+ if (format === 'csv')
3090
+ return toCsv(events);
3091
+ if (format === 'json')
3092
+ return toJson(events);
3093
+ return toToon(events);
3094
+ };
3095
+ const downloadEvents = (events, format, filename) => {
3096
+ const content = serializeEvents(events, format);
3097
+ const blob = new Blob([content], { type: MIME[format] });
3098
+ const url = URL.createObjectURL(blob);
3099
+ const a = document.createElement('a');
3100
+ a.href = url;
3101
+ a.download = `events-${new Date().toISOString().slice(0, 10)}.${EXT[format]}`;
3102
+ document.body.appendChild(a);
3103
+ a.click();
3104
+ document.body.removeChild(a);
3105
+ URL.revokeObjectURL(url);
3106
+ };
3107
+
3029
3108
  /**
3030
3109
  * Calendar component - A flexible, reusable calendar for displaying events
3031
3110
  *
@@ -3055,7 +3134,7 @@ const DayEventCard = ({ event, color, textColor, onComplete, onEdit, onDelete, o
3055
3134
  * onEventClick={handleEventClick}
3056
3135
  * />
3057
3136
  */
3058
- function Calendar({ events, onEventClick, onDateClick, onEventClickByView, onDateClickByView, onTimeSlotClick, onEventDrop, onEventComplete, onEventDelete, onEventEdit, viewMode = 'month', initialDate = new Date(), config = {}, className = '', style = {}, loading = false, emptyState, hideHeader = false, compact = false, selectedDate, selectedCategoryId, onCategoryChange }) {
3137
+ function Calendar({ events, onEventClick, onDateClick, onEventClickByView, onDateClickByView, onTimeSlotClick, onEventDrop, onEventComplete, onEventDelete, onEventEdit, viewMode = 'month', initialDate = new Date(), config = {}, className = '', style = {}, loading = false, emptyState, hideHeader = false, compact = false, selectedDate, selectedCategoryId, onCategoryChange, exportFormats }) {
3059
3138
  const [currentDate, setCurrentDate] = useState(initialDate);
3060
3139
  const [currentViewMode, setCurrentViewMode] = useState(viewMode);
3061
3140
  const [internalCategoryId, setInternalCategoryId] = useState(null);
@@ -3068,6 +3147,19 @@ function Calendar({ events, onEventClick, onDateClick, onEventClickByView, onDat
3068
3147
  };
3069
3148
  const dayViewScrollRef = useRef(null);
3070
3149
  const weekViewScrollRef = useRef(null);
3150
+ const [exportOpen, setExportOpen] = useState(false);
3151
+ const exportRef = useRef(null);
3152
+ useEffect(() => {
3153
+ if (!exportOpen)
3154
+ return;
3155
+ const handler = (e) => {
3156
+ if (exportRef.current && !exportRef.current.contains(e.target)) {
3157
+ setExportOpen(false);
3158
+ }
3159
+ };
3160
+ document.addEventListener('mousedown', handler);
3161
+ return () => document.removeEventListener('mousedown', handler);
3162
+ }, [exportOpen]);
3071
3163
  const { eventColors = {}, iconRenderer, maxEventsPerDay = 3, mondayStart = false, showWeekNumbers = false, dateFormat = { month: 'long', year: 'numeric' }, locale = 'en-US', dayLabels, monthNames, startHour = 0, endHour = 24, hourHeight = 60, halfHourSlots = false, categories } = config;
3072
3164
  const filteredEvents = useMemo(() => {
3073
3165
  if (!categories || categories.length === 0 || activeCategoryId === null)
@@ -3280,7 +3372,10 @@ function Calendar({ events, onEventClick, onDateClick, onEventClickByView, onDat
3280
3372
  return (jsxs("div", { className: `${styles$a.calendar} ${compact ? styles$a.compact : ''} ${className}`, style: style, children: [!hideHeader && (jsxs("div", { className: styles$a.header, children: [jsxs("div", { className: styles$a.navigation, children: [jsx("button", { onClick: handlePrevious, className: styles$a.navButton, "aria-label": "Previous", children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: jsx("polyline", { points: "15,18 9,12 15,6" }) }) }), jsx("h3", { className: styles$a.title, children: calendarData.displayTitle }), jsx("button", { onClick: handleNext, className: styles$a.navButton, "aria-label": "Next", children: jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: jsx("polyline", { points: "9,6 15,12 9,18" }) }) })] }), categories && categories.length > 0 && (jsxs("div", { className: styles$a.filterBar, role: "tablist", "aria-label": "Filter by category", children: [jsx("button", { type: "button", role: "tab", "aria-selected": activeCategoryId === null, className: `${styles$a.filterPill} ${activeCategoryId === null ? styles$a.filterPillActive : ''}`, onClick: () => handleCategoryPick(null), children: "All" }), categories.map(cat => {
3281
3373
  const active = activeCategoryId === cat.id;
3282
3374
  return (jsxs("button", { type: "button", role: "tab", "aria-selected": active, className: `${styles$a.filterPill} ${active ? styles$a.filterPillActive : ''}`, style: active ? { background: cat.color, borderColor: cat.color, color: '#ffffff' } : undefined, onClick: () => handleCategoryPick(cat.id), children: [!active && (jsx("span", { className: styles$a.filterDot, style: { background: cat.color } })), cat.label] }, cat.id));
3283
- })] })), jsxs("div", { className: styles$a.controls, children: [jsx("button", { onClick: handleToday, className: styles$a.todayButton, children: "Today" }), jsxs("div", { className: styles$a.viewToggle, children: [jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'month' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('month'), children: "Month" }), jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'week' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('week'), children: "Week" }), jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'day' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('day'), children: "Day" })] })] })] })), currentViewMode === 'month' && (jsxs("div", { className: `${styles$a.weekDays} ${showWeekNumbers ? styles$a.withWeekNumbers : ''}`, children: [showWeekNumbers && jsx("div", { className: styles$a.weekNumberHeader, children: "Wk" }), finalDayLabels.map((day) => (jsx("div", { className: styles$a.weekDay, children: day }, day)))] })), currentViewMode === 'day' ? (
3375
+ })] })), jsxs("div", { className: styles$a.controls, children: [exportFormats && exportFormats.length > 0 && (jsxs("div", { className: styles$a.exportDropdown, ref: exportRef, children: [jsx("button", { type: "button", className: styles$a.exportButton, onClick: () => setExportOpen(v => !v), "aria-haspopup": "menu", "aria-expanded": exportOpen, "aria-label": "Export events", title: "Export events", children: jsx(Download, { size: 16 }) }), exportOpen && (jsx("div", { className: styles$a.exportMenu, role: "menu", children: exportFormats.map(format => (jsx("button", { type: "button", role: "menuitem", className: styles$a.exportMenuItem, onClick: () => {
3376
+ downloadEvents(filteredEvents, format);
3377
+ setExportOpen(false);
3378
+ }, children: format.toUpperCase() }, format))) }))] })), jsx("button", { onClick: handleToday, className: styles$a.todayButton, children: "Today" }), jsxs("div", { className: styles$a.viewToggle, children: [jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'month' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('month'), children: "Month" }), jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'week' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('week'), children: "Week" }), jsx("button", { className: `${styles$a.viewButton} ${currentViewMode === 'day' ? styles$a.active : ''}`, onClick: () => setCurrentViewMode('day'), children: "Day" })] })] })] })), currentViewMode === 'month' && (jsxs("div", { className: `${styles$a.weekDays} ${showWeekNumbers ? styles$a.withWeekNumbers : ''}`, children: [showWeekNumbers && jsx("div", { className: styles$a.weekNumberHeader, children: "Wk" }), finalDayLabels.map((day) => (jsx("div", { className: styles$a.weekDay, children: day }, day)))] })), currentViewMode === 'day' ? (
3284
3379
  // Day view layout — positioned events with duration, all-day strip, now-line
3285
3380
  (() => {
3286
3381
  const dayEvents = getDayEvents(currentDate);