@stachelock/ui 0.3.0 → 0.4.0

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 (670) hide show
  1. package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js} +2 -2
  2. package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js.map → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map} +1 -1
  3. package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js} +6 -6
  4. package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js.map → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map} +1 -1
  5. package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js} +19 -19
  6. package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js.map → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map} +1 -1
  7. package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js} +5 -6
  8. package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js.map → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map} +1 -1
  9. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js → CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js} +111 -111
  10. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js.map +1 -0
  11. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js +187 -0
  12. package/dist/{CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js.map → CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map} +1 -1
  13. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js +1351 -0
  14. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js.map +1 -0
  15. package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js} +19 -19
  16. package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js.map → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map} +1 -1
  17. package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js} +7 -8
  18. package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js.map → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map} +1 -1
  19. package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +1 -1
  20. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js} +47 -47
  21. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js.map → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map} +1 -1
  22. package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js} +38 -38
  23. package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js.map → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map} +1 -1
  24. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js +253 -0
  25. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +1 -0
  26. package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js → DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js} +16 -16
  27. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +1 -0
  28. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +122 -0
  29. package/dist/{EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js.map → EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map} +1 -1
  30. package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js} +9 -9
  31. package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js.map → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map} +1 -1
  32. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js} +29 -29
  33. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js.map → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js.map} +1 -1
  34. package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js} +30 -31
  35. package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js.map → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map} +1 -1
  36. package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js} +12 -12
  37. package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js.map → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map} +1 -1
  38. package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js} +10 -10
  39. package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js.map → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map} +1 -1
  40. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js} +29 -29
  41. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js.map → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map} +1 -1
  42. package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js} +17 -17
  43. package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js.map → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map} +1 -1
  44. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js +36 -0
  45. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js.map → LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map} +1 -1
  46. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js} +2 -2
  47. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js.map → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map} +1 -1
  48. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js +30 -0
  49. package/dist/{NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js.map → NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map} +1 -1
  50. package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js} +18 -18
  51. package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js.map → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map} +1 -1
  52. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js +277 -0
  53. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js.map +1 -0
  54. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js} +12 -12
  55. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js.map → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map} +1 -1
  56. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js +130 -0
  57. package/dist/{ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js.map → ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js.map} +1 -1
  58. package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js} +24 -24
  59. package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js.map → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map} +1 -1
  60. package/dist/{SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js → SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js} +111 -111
  61. package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +1 -0
  62. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js} +2 -2
  63. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js.map → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map} +1 -1
  64. package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js} +9 -10
  65. package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js.map → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map} +1 -1
  66. package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js} +17 -17
  67. package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js.map → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map} +1 -1
  68. package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js} +40 -40
  69. package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js.map → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map} +1 -1
  70. package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js} +38 -38
  71. package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js.map → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map} +1 -1
  72. package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js} +110 -108
  73. package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js.map → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map} +1 -1
  74. package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js} +2 -2
  75. package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js.map → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map} +1 -1
  76. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js} +3 -3
  77. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js.map → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map} +1 -1
  78. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js} +32 -32
  79. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js.map → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map} +1 -1
  80. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js} +21 -21
  81. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js.map → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map} +1 -1
  82. package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js → TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js} +2 -2
  83. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +1 -0
  84. package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js} +47 -47
  85. package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js.map → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map} +1 -1
  86. package/dist/{UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js → UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js} +36 -36
  87. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +1 -0
  88. package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js} +19 -19
  89. package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js.map → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map} +1 -1
  90. package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js} +28 -28
  91. package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js.map → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map} +1 -1
  92. package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js} +37 -37
  93. package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js.map → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map} +1 -1
  94. package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js} +42 -42
  95. package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js.map → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map} +1 -1
  96. package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js} +74 -74
  97. package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js.map → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map} +1 -1
  98. package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js} +9 -10
  99. package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js.map → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map} +1 -1
  100. package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js} +2 -2
  101. package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js.map → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map} +1 -1
  102. package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js} +24 -24
  103. package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js.map → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map} +1 -1
  104. package/dist/{UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js → UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js} +80 -83
  105. package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +1 -0
  106. package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js} +15 -15
  107. package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js.map → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map} +1 -1
  108. package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js} +15 -15
  109. package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js.map → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map} +1 -1
  110. package/dist/{calendar-DyIP7WGv.js → calendar-BlSSD4nO.js} +2 -2
  111. package/dist/calendar-BlSSD4nO.js.map +1 -0
  112. package/dist/calendars/CalendarDashboard.d.ts +1 -3
  113. package/dist/calendars/CalendarDashboard.js +32 -33
  114. package/dist/calendars/CalendarDashboard.js.map +1 -1
  115. package/dist/calendars/CalendarHeader.d.ts +1 -3
  116. package/dist/calendars/CalendarHeader.js +1 -1
  117. package/dist/calendars/DayCalendar.d.ts +1 -3
  118. package/dist/calendars/DayCalendar.js +1 -1
  119. package/dist/calendars/EventCard.d.ts +1 -3
  120. package/dist/calendars/EventsList.d.ts +1 -3
  121. package/dist/calendars/EventsList.js +1 -1
  122. package/dist/calendars/MonthCalendar.d.ts +1 -3
  123. package/dist/calendars/MonthCalendar.js +1 -1
  124. package/dist/calendars/WeekCalendar.d.ts +1 -3
  125. package/dist/calendars/WeekCalendar.js +118 -118
  126. package/dist/calendars/WeekCalendar.js.map +1 -1
  127. package/dist/calendars/YearCalendar.d.ts +1 -3
  128. package/dist/calendars/YearCalendar.js +1 -1
  129. package/dist/charts/BarChart.d.ts +1 -3
  130. package/dist/charts/BarChart.js +1 -1
  131. package/dist/charts/BaseChart.d.ts +1 -3
  132. package/dist/charts/BaseChart.js +54 -54
  133. package/dist/charts/BaseChart.js.map +1 -1
  134. package/dist/charts/FunnelChart.d.ts +1 -3
  135. package/dist/charts/FunnelChart.js +1 -1
  136. package/dist/charts/LineChart.d.ts +1 -3
  137. package/dist/charts/LineChart.js +1 -1
  138. package/dist/charts/PieChart.d.ts +1 -3
  139. package/dist/charts/PieChart.js +1 -1
  140. package/dist/charts/SparklineChart.d.ts +1 -3
  141. package/dist/charts/SparklineChart.js +1 -1
  142. package/dist/charts/StatCard.d.ts +1 -3
  143. package/dist/charts/StatCard.js +1 -1
  144. package/dist/charts/chartTheme.d.ts +3 -0
  145. package/dist/charts/index.d.ts +1 -0
  146. package/dist/charts/index.js +6 -6
  147. package/dist/components/Avatar.d.ts +1 -3
  148. package/dist/components/Avatar.js +1 -1
  149. package/dist/components/Badge.d.ts +1 -3
  150. package/dist/components/Badge.js +1 -1
  151. package/dist/components/Banner.d.ts +1 -3
  152. package/dist/components/Banner.js +69 -69
  153. package/dist/components/Banner.js.map +1 -1
  154. package/dist/components/Breadcrumb.d.ts +1 -3
  155. package/dist/components/Breadcrumb.js +5 -5
  156. package/dist/components/Breadcrumb.js.map +1 -1
  157. package/dist/components/Button.d.ts +1 -3
  158. package/dist/components/Button.js +29 -29
  159. package/dist/components/Button.js.map +1 -1
  160. package/dist/components/ButtonGroup.d.ts +1 -3
  161. package/dist/components/ButtonGroup.js +1 -1
  162. package/dist/components/Checkbox.d.ts +1 -3
  163. package/dist/components/Checkbox.js +1 -1
  164. package/dist/components/CloudinaryImage.d.ts +1 -3
  165. package/dist/components/Loading.d.ts +1 -3
  166. package/dist/components/Loading.js +1 -1
  167. package/dist/components/LoadingDots.d.ts +1 -3
  168. package/dist/components/LottieAnimation.d.ts +1 -3
  169. package/dist/components/LottieAnimation.js +1 -1
  170. package/dist/components/Menu.d.ts +1 -3
  171. package/dist/components/Menu.js +1 -1
  172. package/dist/components/Modal.d.ts +1 -3
  173. package/dist/components/Modal.js +1 -1
  174. package/dist/components/NavLink.d.ts +1 -3
  175. package/dist/components/NavLink.js +1 -1
  176. package/dist/components/ProgressBar.d.ts +1 -3
  177. package/dist/components/ProgressBar.js +1 -1
  178. package/dist/components/RadialProgressBar.d.ts +1 -3
  179. package/dist/components/RadialProgressBar.js +1 -1
  180. package/dist/components/Table.d.ts +1 -3
  181. package/dist/components/Table.js +1 -1
  182. package/dist/components/Transition.d.ts +1 -3
  183. package/dist/components/Transition.js +1 -1
  184. package/dist/composables/index.d.ts +1 -0
  185. package/dist/composables/useCalendar.d.ts +3 -0
  186. package/dist/composables/useCalendar.js +1 -1
  187. package/dist/composables/useFormValidation.d.ts +3 -0
  188. package/dist/composables/useMap.d.ts +3 -0
  189. package/dist/composables/useModal.d.ts +3 -0
  190. package/dist/composables/useNotifications.d.ts +3 -0
  191. package/dist/composables/useNotifications.js +221 -58
  192. package/dist/composables/useNotifications.js.map +1 -1
  193. package/dist/composables/useTabs.d.ts +1 -0
  194. package/dist/composables/useTheme.d.ts +3 -0
  195. package/dist/{dialog-B2WA4G25.js → dialog-BJ2Ld8l3.js} +2 -2
  196. package/dist/{dialog-B2WA4G25.js.map → dialog-BJ2Ld8l3.js.map} +1 -1
  197. package/dist/empty-state/ComingSoon.d.ts +1 -3
  198. package/dist/empty-state/ComingSoon.js +1 -1
  199. package/dist/empty-state/EmptyState.d.ts +1 -3
  200. package/dist/empty-state/EmptyState.js +1 -1
  201. package/dist/empty-state/index.d.ts +1 -0
  202. package/dist/empty-state/index.js +2 -2
  203. package/dist/forms/DynamicForm.d.ts +1 -3
  204. package/dist/forms/DynamicForm.js +1 -1
  205. package/dist/forms/DynamicFormField.d.ts +1 -3
  206. package/dist/forms/DynamicFormField.js +1 -1
  207. package/dist/forms/FormFieldWrapper.d.ts +1 -3
  208. package/dist/forms/FormFieldWrapper.js +56 -56
  209. package/dist/forms/FormFieldWrapper.js.map +1 -1
  210. package/dist/index.d.ts +3 -0
  211. package/dist/index.js +505 -511
  212. package/dist/index.js.map +1 -1
  213. package/dist/inputs/AddDeleteButtonGroup.d.ts +1 -3
  214. package/dist/inputs/CheckboxInput.d.ts +1 -3
  215. package/dist/inputs/CheckboxInput.js +1 -1
  216. package/dist/inputs/ComboboxInput.d.ts +1 -3
  217. package/dist/inputs/ComboboxInput.js +1 -1
  218. package/dist/inputs/DatepickerInput.d.ts +1 -3
  219. package/dist/inputs/EmailInput.d.ts +1 -3
  220. package/dist/inputs/EmailInput.js +1 -1
  221. package/dist/inputs/EmptyInput.d.ts +1 -3
  222. package/dist/inputs/EmptyInput.js +1 -1
  223. package/dist/inputs/FileDropzoneInput.d.ts +1 -3
  224. package/dist/inputs/HiddenInput.d.ts +1 -3
  225. package/dist/inputs/HiddenInput.js +1 -1
  226. package/dist/inputs/PhoneInput.d.ts +1 -3
  227. package/dist/inputs/PhoneInput.js +33 -23
  228. package/dist/inputs/PhoneInput.js.map +1 -1
  229. package/dist/inputs/RichTextInput.d.ts +1 -3
  230. package/dist/inputs/RichTextInput.js +693 -693
  231. package/dist/inputs/RichTextInput.js.map +1 -1
  232. package/dist/inputs/SelectInput.d.ts +1 -3
  233. package/dist/inputs/SelectInput.js +1 -1
  234. package/dist/inputs/SelectTextInput.d.ts +1 -3
  235. package/dist/inputs/SelectTextInput.js +1 -1
  236. package/dist/inputs/SwitchInput.d.ts +1 -3
  237. package/dist/inputs/SwitchInput.js +1 -1
  238. package/dist/inputs/SwitchInputGroup.d.ts +1 -3
  239. package/dist/inputs/SwitchInputGroup.js +1 -1
  240. package/dist/inputs/TagifyInput.d.ts +1 -3
  241. package/dist/inputs/TagifyInput.js +1 -1
  242. package/dist/inputs/TextAreaInput.d.ts +1 -3
  243. package/dist/inputs/TextAreaInput.js +1 -1
  244. package/dist/inputs/TextInput.d.ts +1 -3
  245. package/dist/inputs/TextInput.js +43 -43
  246. package/dist/inputs/TextInput.js.map +1 -1
  247. package/dist/layouts/DashboardLayout.d.ts +1 -3
  248. package/dist/layouts/DashboardLayout.js +1 -1
  249. package/dist/layouts/DefaultLayout.d.ts +1 -3
  250. package/dist/layouts/HeaderLayout.d.ts +1 -3
  251. package/dist/layouts/NavigationGroup.d.ts +1 -3
  252. package/dist/layouts/NavigationGroup.js +1 -1
  253. package/dist/layouts/NavigationItem.d.ts +1 -3
  254. package/dist/layouts/NavigationItem.js +1 -1
  255. package/dist/layouts/ProfileHeaderAvatar.d.ts +1 -3
  256. package/dist/layouts/ProfileHeaderAvatar.js +1 -1
  257. package/dist/layouts/ProjectLogo.d.ts +1 -3
  258. package/dist/layouts/ProjectLogo.js +1 -1
  259. package/dist/layouts/SidebarLayout.d.ts +1 -3
  260. package/dist/layouts/SidebarLayout.js +1 -1
  261. package/dist/{listbox-p2_4hUSD.js → listbox-YaWWZiiG.js} +2 -2
  262. package/dist/{listbox-p2_4hUSD.js.map → listbox-YaWWZiiG.js.map} +1 -1
  263. package/dist/loading/ContentSkeleton.d.ts +1 -3
  264. package/dist/loading/ContentSkeleton.js +32 -32
  265. package/dist/loading/ContentSkeleton.js.map +1 -1
  266. package/dist/loading/SmartLoadingIndicator.d.ts +1 -3
  267. package/dist/loading/SmartLoadingIndicator.js +92 -92
  268. package/dist/loading/SmartLoadingIndicator.js.map +1 -1
  269. package/dist/loading/index.d.ts +1 -0
  270. package/dist/maps/GoogleMap.d.ts +1 -3
  271. package/dist/maps/GoogleMap.js +2 -2
  272. package/dist/maps/GoogleMap.js.map +1 -1
  273. package/dist/maps/UiInfoWindow.d.ts +1 -3
  274. package/dist/maps/UiMap.d.ts +1 -3
  275. package/dist/maps/UiMap.js +18 -15
  276. package/dist/maps/UiMap.js.map +1 -1
  277. package/dist/maps/UiMapAll.d.ts +1 -3
  278. package/dist/maps/UiMapMarker.d.ts +1 -3
  279. package/dist/maps/index.d.ts +1 -0
  280. package/dist/modals/AlertModal.d.ts +1 -3
  281. package/dist/modals/AlertModal.js +1 -1
  282. package/dist/modals/BaseModal.d.ts +1 -3
  283. package/dist/modals/BaseModal.js +1 -1
  284. package/dist/modals/ImageCropperModal.d.ts +1 -3
  285. package/dist/modals/ImageCropperModal.js +182 -185
  286. package/dist/modals/ImageCropperModal.js.map +1 -1
  287. package/dist/notifications/NotificationContainer.d.ts +1 -3
  288. package/dist/notifications/NotificationContainer.js +30 -16
  289. package/dist/notifications/NotificationContainer.js.map +1 -1
  290. package/dist/notifications/NotificationToast.d.ts +1 -3
  291. package/dist/notifications/NotificationToast.js +1 -1
  292. package/dist/notifications/index.d.ts +1 -0
  293. package/dist/notifications/index.js +1 -1
  294. package/dist/src/components/CloudinaryImage.d.ts +7 -8
  295. package/dist/src/components/CloudinaryImage.d.ts.map +1 -1
  296. package/dist/src/components/LottieAnimation.d.ts +6 -37
  297. package/dist/src/components/LottieAnimation.d.ts.map +1 -1
  298. package/dist/src/components/ThemeDebugModal.d.ts +6 -16
  299. package/dist/src/components/ThemeDebugModal.d.ts.map +1 -1
  300. package/dist/src/components/UiAvatar.d.ts +26 -36
  301. package/dist/src/components/UiAvatar.d.ts.map +1 -1
  302. package/dist/src/components/UiBadge.d.ts +6 -33
  303. package/dist/src/components/UiBadge.d.ts.map +1 -1
  304. package/dist/src/components/UiBanner.d.ts +34 -107
  305. package/dist/src/components/UiBanner.d.ts.map +1 -1
  306. package/dist/src/components/UiBreadcrumb.d.ts +10 -11
  307. package/dist/src/components/UiBreadcrumb.d.ts.map +1 -1
  308. package/dist/src/components/UiButton.d.ts +13 -66
  309. package/dist/src/components/UiButton.d.ts.map +1 -1
  310. package/dist/src/components/UiButtonGroup.d.ts +7 -37
  311. package/dist/src/components/UiButtonGroup.d.ts.map +1 -1
  312. package/dist/src/components/UiCheckbox.d.ts +8 -33
  313. package/dist/src/components/UiCheckbox.d.ts.map +1 -1
  314. package/dist/src/components/UiLoading.d.ts +2 -28
  315. package/dist/src/components/UiLoading.d.ts.map +1 -1
  316. package/dist/src/components/UiLoadingDots.d.ts +1 -1
  317. package/dist/src/components/UiLoadingDots.d.ts.map +1 -1
  318. package/dist/src/components/UiMenu.d.ts +4 -32
  319. package/dist/src/components/UiMenu.d.ts.map +1 -1
  320. package/dist/src/components/UiModal.d.ts +3 -2
  321. package/dist/src/components/UiModal.d.ts.map +1 -1
  322. package/dist/src/components/UiNavLink.d.ts +6 -40
  323. package/dist/src/components/UiNavLink.d.ts.map +1 -1
  324. package/dist/src/components/UiProgressBar.d.ts +3 -32
  325. package/dist/src/components/UiProgressBar.d.ts.map +1 -1
  326. package/dist/src/components/UiRadialProgressBar.d.ts +3 -34
  327. package/dist/src/components/UiRadialProgressBar.d.ts.map +1 -1
  328. package/dist/src/components/UiTable.d.ts +25 -67
  329. package/dist/src/components/UiTable.d.ts.map +1 -1
  330. package/dist/src/components/UiTransition.d.ts +3 -26
  331. package/dist/src/components/UiTransition.d.ts.map +1 -1
  332. package/dist/src/components/calendars/CalendarDashboard.d.ts +5 -17
  333. package/dist/src/components/calendars/CalendarDashboard.d.ts.map +1 -1
  334. package/dist/src/components/calendars/CalendarHeader.d.ts +8 -7
  335. package/dist/src/components/calendars/CalendarHeader.d.ts.map +1 -1
  336. package/dist/src/components/calendars/DayCalendar.d.ts +11 -17
  337. package/dist/src/components/calendars/DayCalendar.d.ts.map +1 -1
  338. package/dist/src/components/calendars/EventCard.d.ts +1 -2
  339. package/dist/src/components/calendars/EventCard.d.ts.map +1 -1
  340. package/dist/src/components/calendars/EventsList.d.ts +6 -18
  341. package/dist/src/components/calendars/EventsList.d.ts.map +1 -1
  342. package/dist/src/components/calendars/MonthCalendar.d.ts +6 -30
  343. package/dist/src/components/calendars/MonthCalendar.d.ts.map +1 -1
  344. package/dist/src/components/calendars/WeekCalendar.d.ts +10 -16
  345. package/dist/src/components/calendars/WeekCalendar.d.ts.map +1 -1
  346. package/dist/src/components/calendars/YearCalendar.d.ts +5 -29
  347. package/dist/src/components/calendars/YearCalendar.d.ts.map +1 -1
  348. package/dist/src/components/charts/BarChart.d.ts +6 -39
  349. package/dist/src/components/charts/BarChart.d.ts.map +1 -1
  350. package/dist/src/components/charts/FunnelChart.d.ts +5 -34
  351. package/dist/src/components/charts/FunnelChart.d.ts.map +1 -1
  352. package/dist/src/components/charts/LineChart.d.ts +6 -37
  353. package/dist/src/components/charts/LineChart.d.ts.map +1 -1
  354. package/dist/src/components/charts/PieChart.d.ts +6 -37
  355. package/dist/src/components/charts/PieChart.d.ts.map +1 -1
  356. package/dist/src/components/charts/SparklineChart.d.ts +3 -32
  357. package/dist/src/components/charts/SparklineChart.d.ts.map +1 -1
  358. package/dist/src/components/charts/StatCard.d.ts +2 -24
  359. package/dist/src/components/charts/StatCard.d.ts.map +1 -1
  360. package/dist/src/components/charts/chartTheme.d.ts +0 -1
  361. package/dist/src/components/empty-state/ComingSoon.d.ts +2 -29
  362. package/dist/src/components/empty-state/ComingSoon.d.ts.map +1 -1
  363. package/dist/src/components/empty-state/EmptyState.d.ts +4 -26
  364. package/dist/src/components/empty-state/EmptyState.d.ts.map +1 -1
  365. package/dist/src/components/forms/DynamicForm.d.ts +21 -47
  366. package/dist/src/components/forms/DynamicForm.d.ts.map +1 -1
  367. package/dist/src/components/forms/DynamicFormField.d.ts +8 -18
  368. package/dist/src/components/forms/DynamicFormField.d.ts.map +1 -1
  369. package/dist/src/components/forms/FormFieldWrapper.d.ts +14 -58
  370. package/dist/src/components/forms/FormFieldWrapper.d.ts.map +1 -1
  371. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -4
  372. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts.map +1 -1
  373. package/dist/src/components/inputs/CheckboxInput.d.ts +10 -37
  374. package/dist/src/components/inputs/CheckboxInput.d.ts.map +1 -1
  375. package/dist/src/components/inputs/ComboboxInput.d.ts +13 -48
  376. package/dist/src/components/inputs/ComboboxInput.d.ts.map +1 -1
  377. package/dist/src/components/inputs/DatepickerInput.d.ts +1045 -42
  378. package/dist/src/components/inputs/DatepickerInput.d.ts.map +1 -1
  379. package/dist/src/components/inputs/EmailInput.d.ts +10 -54
  380. package/dist/src/components/inputs/EmailInput.d.ts.map +1 -1
  381. package/dist/src/components/inputs/EmptyInput.d.ts +2 -26
  382. package/dist/src/components/inputs/EmptyInput.d.ts.map +1 -1
  383. package/dist/src/components/inputs/FileDropzoneInput.d.ts +8 -7
  384. package/dist/src/components/inputs/FileDropzoneInput.d.ts.map +1 -1
  385. package/dist/src/components/inputs/HiddenInput.d.ts +2 -23
  386. package/dist/src/components/inputs/HiddenInput.d.ts.map +1 -1
  387. package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
  388. package/dist/src/components/inputs/InputsShowcase.d.ts.map +1 -1
  389. package/dist/src/components/inputs/PhoneInput.d.ts +79 -16
  390. package/dist/src/components/inputs/PhoneInput.d.ts.map +1 -1
  391. package/dist/src/components/inputs/RichTextInput.d.ts +22 -80
  392. package/dist/src/components/inputs/RichTextInput.d.ts.map +1 -1
  393. package/dist/src/components/inputs/SelectInput.d.ts +49 -42
  394. package/dist/src/components/inputs/SelectInput.d.ts.map +1 -1
  395. package/dist/src/components/inputs/SelectTextInput.d.ts +52 -12
  396. package/dist/src/components/inputs/SelectTextInput.d.ts.map +1 -1
  397. package/dist/src/components/inputs/SwitchInput.d.ts +115 -42
  398. package/dist/src/components/inputs/SwitchInput.d.ts.map +1 -1
  399. package/dist/src/components/inputs/SwitchInputGroup.d.ts +2 -3
  400. package/dist/src/components/inputs/SwitchInputGroup.d.ts.map +1 -1
  401. package/dist/src/components/inputs/TagifyInput.d.ts +30 -20
  402. package/dist/src/components/inputs/TagifyInput.d.ts.map +1 -1
  403. package/dist/src/components/inputs/TextAreaInput.d.ts +9 -35
  404. package/dist/src/components/inputs/TextAreaInput.d.ts.map +1 -1
  405. package/dist/src/components/inputs/TextInput.d.ts +13 -73
  406. package/dist/src/components/inputs/TextInput.d.ts.map +1 -1
  407. package/dist/src/components/layouts/CardLayout.d.ts +20 -66
  408. package/dist/src/components/layouts/CardLayout.d.ts.map +1 -1
  409. package/dist/src/components/layouts/DashboardLayout.d.ts +8 -5
  410. package/dist/src/components/layouts/DashboardLayout.d.ts.map +1 -1
  411. package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
  412. package/dist/src/components/layouts/DefaultLayout.d.ts.map +1 -1
  413. package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
  414. package/dist/src/components/layouts/HeaderLayout.d.ts.map +1 -1
  415. package/dist/src/components/layouts/InfoCard.d.ts +2 -25
  416. package/dist/src/components/layouts/InfoCard.d.ts.map +1 -1
  417. package/dist/src/components/layouts/NavigationGroup.d.ts +5 -16
  418. package/dist/src/components/layouts/NavigationGroup.d.ts.map +1 -1
  419. package/dist/src/components/layouts/NavigationItem.d.ts +7 -24
  420. package/dist/src/components/layouts/NavigationItem.d.ts.map +1 -1
  421. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +10 -40
  422. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts.map +1 -1
  423. package/dist/src/components/layouts/ProjectLogo.d.ts +2 -33
  424. package/dist/src/components/layouts/ProjectLogo.d.ts.map +1 -1
  425. package/dist/src/components/layouts/PropsTable.d.ts +2 -23
  426. package/dist/src/components/layouts/PropsTable.d.ts.map +1 -1
  427. package/dist/src/components/layouts/ShowcaseCard.d.ts +2 -29
  428. package/dist/src/components/layouts/ShowcaseCard.d.ts.map +1 -1
  429. package/dist/src/components/layouts/ShowcaseLayout.d.ts +5 -28
  430. package/dist/src/components/layouts/ShowcaseLayout.d.ts.map +1 -1
  431. package/dist/src/components/layouts/SidebarLayout.d.ts +7 -4
  432. package/dist/src/components/layouts/SidebarLayout.d.ts.map +1 -1
  433. package/dist/src/components/layouts/StateDisplay.d.ts +2 -23
  434. package/dist/src/components/layouts/StateDisplay.d.ts.map +1 -1
  435. package/dist/src/components/loading/ContentSkeleton.d.ts +2 -31
  436. package/dist/src/components/loading/ContentSkeleton.d.ts.map +1 -1
  437. package/dist/src/components/loading/SmartLoadingIndicator.d.ts +6 -47
  438. package/dist/src/components/loading/SmartLoadingIndicator.d.ts.map +1 -1
  439. package/dist/src/components/maps/GoogleMap.d.ts +7 -8
  440. package/dist/src/components/maps/GoogleMap.d.ts.map +1 -1
  441. package/dist/src/components/maps/UiInfoWindow.d.ts +229 -14
  442. package/dist/src/components/maps/UiInfoWindow.d.ts.map +1 -1
  443. package/dist/src/components/maps/UiMap.d.ts +5091 -101
  444. package/dist/src/components/maps/UiMap.d.ts.map +1 -1
  445. package/dist/src/components/maps/UiMapAll.d.ts +1130 -20
  446. package/dist/src/components/maps/UiMapAll.d.ts.map +1 -1
  447. package/dist/src/components/maps/UiMapMarker.d.ts +16 -17
  448. package/dist/src/components/maps/UiMapMarker.d.ts.map +1 -1
  449. package/dist/src/components/modals/AlertModal.d.ts +9 -10
  450. package/dist/src/components/modals/AlertModal.d.ts.map +1 -1
  451. package/dist/src/components/modals/BaseModal.d.ts +6 -7
  452. package/dist/src/components/modals/BaseModal.d.ts.map +1 -1
  453. package/dist/src/components/modals/ImageCropperModal.d.ts +379 -75
  454. package/dist/src/components/modals/ImageCropperModal.d.ts.map +1 -1
  455. package/dist/src/components/notifications/NotificationContainer.d.ts.map +1 -1
  456. package/dist/src/components/notifications/NotificationToast.d.ts +9 -18
  457. package/dist/src/components/notifications/NotificationToast.d.ts.map +1 -1
  458. package/dist/src/components/stepper/StepperPanels.d.ts +4 -14
  459. package/dist/src/components/stepper/StepperPanels.d.ts.map +1 -1
  460. package/dist/src/components/tabs/InlineTabs.d.ts +4 -28
  461. package/dist/src/components/tabs/InlineTabs.d.ts.map +1 -1
  462. package/dist/src/components/tabs/TabGroup.d.ts +6 -32
  463. package/dist/src/components/tabs/TabGroup.d.ts.map +1 -1
  464. package/dist/src/components/tabs/TabGroupUnderline.d.ts +6 -32
  465. package/dist/src/components/tabs/TabGroupUnderline.d.ts.map +1 -1
  466. package/dist/src/components/tabs/TabsInPills.d.ts +4 -26
  467. package/dist/src/components/tabs/TabsInPills.d.ts.map +1 -1
  468. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +2 -37
  469. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts.map +1 -1
  470. package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
  471. package/dist/src/components/wrappers/CardWrapper.d.ts.map +1 -1
  472. package/dist/src/components/wrappers/DisclosureWrapper.d.ts +2 -23
  473. package/dist/src/components/wrappers/DisclosureWrapper.d.ts.map +1 -1
  474. package/dist/src/components/wrappers/FormErrorWrapper.d.ts +2 -25
  475. package/dist/src/components/wrappers/FormErrorWrapper.d.ts.map +1 -1
  476. package/dist/src/composables/useCalendar.d.ts +4 -5
  477. package/dist/src/composables/useFormValidation.d.ts +0 -1
  478. package/dist/src/composables/useMap.d.ts +0 -1
  479. package/dist/src/composables/useNotifications.d.ts +1308 -30
  480. package/dist/src/composables/useNotifications.d.ts.map +1 -1
  481. package/dist/src/composables/useSimpleTabs.d.ts +0 -1
  482. package/dist/src/composables/useStringTransform.d.ts +0 -1
  483. package/dist/src/composables/useTabs.d.ts +0 -1
  484. package/dist/src/config/css-variables.d.ts +0 -1
  485. package/dist/src/config/design-tokens.d.ts +1 -1
  486. package/dist/src/config/design-tokens.d.ts.map +1 -1
  487. package/dist/src/dev.d.ts +0 -1
  488. package/dist/src/plugin/configure.d.ts +0 -1
  489. package/dist/src/types/calendars.d.ts +12 -11
  490. package/dist/src/types/calendars.d.ts.map +1 -1
  491. package/dist/src/types/core.d.ts +3 -4
  492. package/dist/src/types/core.d.ts.map +1 -1
  493. package/dist/src/types/form.d.ts +15 -13
  494. package/dist/src/types/form.d.ts.map +1 -1
  495. package/dist/src/types/forms.d.ts +2 -1
  496. package/dist/src/types/forms.d.ts.map +1 -1
  497. package/dist/src/types/inputs.d.ts +14 -9
  498. package/dist/src/types/inputs.d.ts.map +1 -1
  499. package/dist/src/types/layouts.d.ts +0 -1
  500. package/dist/src/types/navigation.d.ts +2 -1
  501. package/dist/src/types/navigation.d.ts.map +1 -1
  502. package/dist/src/types/tables.d.ts +8 -6
  503. package/dist/src/types/tables.d.ts.map +1 -1
  504. package/dist/src/types/ui.d.ts +1 -2
  505. package/dist/src/types/ui.d.ts.map +1 -1
  506. package/dist/src/utils/calendar.d.ts +1 -1
  507. package/dist/src/utils/calendar.d.ts.map +1 -1
  508. package/dist/src/utils/component-registry.d.ts +0 -1
  509. package/dist/src/utils/mapThemes.d.ts +0 -1
  510. package/dist/src/utils/phone.d.ts +0 -1
  511. package/dist/src/views/ButtonsShowcase.d.ts +3 -0
  512. package/dist/src/views/ButtonsShowcase.d.ts.map +1 -0
  513. package/dist/src/views/CalendarsShowcase.d.ts +3 -0
  514. package/dist/src/views/CalendarsShowcase.d.ts.map +1 -0
  515. package/dist/src/views/CardsShowcase.d.ts +3 -0
  516. package/dist/src/views/CardsShowcase.d.ts.map +1 -0
  517. package/dist/src/views/ChartsShowcase.d.ts +3 -0
  518. package/dist/src/views/ChartsShowcase.d.ts.map +1 -0
  519. package/dist/src/views/EmptyStatesShowcase.d.ts +3 -0
  520. package/dist/src/views/EmptyStatesShowcase.d.ts.map +1 -0
  521. package/dist/src/views/InputsShowcase.d.ts +3 -0
  522. package/dist/src/views/InputsShowcase.d.ts.map +1 -0
  523. package/dist/src/views/KitchenSink.d.ts +3 -0
  524. package/dist/src/views/KitchenSink.d.ts.map +1 -0
  525. package/dist/src/views/LayoutsShowcase.d.ts +3 -0
  526. package/dist/src/views/LayoutsShowcase.d.ts.map +1 -0
  527. package/dist/src/views/LoadingShowcase.d.ts +3 -0
  528. package/dist/src/views/LoadingShowcase.d.ts.map +1 -0
  529. package/dist/src/views/MapsShowcase.d.ts +3 -0
  530. package/dist/src/views/MapsShowcase.d.ts.map +1 -0
  531. package/dist/src/views/ModalsShowcase.d.ts +3 -0
  532. package/dist/src/views/ModalsShowcase.d.ts.map +1 -0
  533. package/dist/src/views/NotificationsShowcase.d.ts +3 -0
  534. package/dist/src/views/NotificationsShowcase.d.ts.map +1 -0
  535. package/dist/src/views/StepperShowcase.d.ts +3 -0
  536. package/dist/src/views/StepperShowcase.d.ts.map +1 -0
  537. package/dist/src/views/TabsShowcase.d.ts +3 -0
  538. package/dist/src/views/TabsShowcase.d.ts.map +1 -0
  539. package/dist/src/views/ValidationDemo.d.ts +3 -0
  540. package/dist/src/views/ValidationDemo.d.ts.map +1 -0
  541. package/dist/src/views/WrappersShowcase.d.ts +3 -0
  542. package/dist/src/views/WrappersShowcase.d.ts.map +1 -0
  543. package/dist/src/views/components/AvatarPage.d.ts +3 -0
  544. package/dist/src/views/components/AvatarPage.d.ts.map +1 -0
  545. package/dist/src/views/components/BadgePage.d.ts +3 -0
  546. package/dist/src/views/components/BadgePage.d.ts.map +1 -0
  547. package/dist/src/views/components/BannerPage.d.ts +3 -0
  548. package/dist/src/views/components/BannerPage.d.ts.map +1 -0
  549. package/dist/src/views/components/BreadcrumbPage.d.ts +3 -0
  550. package/dist/src/views/components/BreadcrumbPage.d.ts.map +1 -0
  551. package/dist/src/views/components/ButtonPage.d.ts +3 -0
  552. package/dist/src/views/components/ButtonPage.d.ts.map +1 -0
  553. package/dist/src/views/components/CloudinaryImagePage.d.ts +3 -0
  554. package/dist/src/views/components/CloudinaryImagePage.d.ts.map +1 -0
  555. package/dist/src/views/components/LoadingPage.d.ts +3 -0
  556. package/dist/src/views/components/LoadingPage.d.ts.map +1 -0
  557. package/dist/src/views/components/MenuPage.d.ts +3 -0
  558. package/dist/src/views/components/MenuPage.d.ts.map +1 -0
  559. package/dist/src/views/components/ModalPage.d.ts +3 -0
  560. package/dist/src/views/components/ModalPage.d.ts.map +1 -0
  561. package/dist/src/views/components/ProgressPage.d.ts +3 -0
  562. package/dist/src/views/components/ProgressPage.d.ts.map +1 -0
  563. package/dist/src/views/components/RichTextInputPage.d.ts +3 -0
  564. package/dist/src/views/components/RichTextInputPage.d.ts.map +1 -0
  565. package/dist/src/views/components/TablePage.d.ts +3 -0
  566. package/dist/src/views/components/TablePage.d.ts.map +1 -0
  567. package/dist/src/views/components/TextInputPage.d.ts +3 -0
  568. package/dist/src/views/components/TextInputPage.d.ts.map +1 -0
  569. package/dist/src/views/components/TransitionPage.d.ts +3 -0
  570. package/dist/src/views/components/TransitionPage.d.ts.map +1 -0
  571. package/dist/src/views/examples/CheckoutFormExample.d.ts +3 -0
  572. package/dist/src/views/examples/CheckoutFormExample.d.ts.map +1 -0
  573. package/dist/src/views/examples/ContactFormExample.d.ts +3 -0
  574. package/dist/src/views/examples/ContactFormExample.d.ts.map +1 -0
  575. package/dist/src/views/examples/RegistrationFormExample.d.ts +3 -0
  576. package/dist/src/views/examples/RegistrationFormExample.d.ts.map +1 -0
  577. package/dist/src/views/examples/SettingsFormExample.d.ts +3 -0
  578. package/dist/src/views/examples/SettingsFormExample.d.ts.map +1 -0
  579. package/dist/src/views/forms/ValidationPage.d.ts +3 -0
  580. package/dist/src/views/forms/ValidationPage.d.ts.map +1 -0
  581. package/dist/src/views/inputs/CheckboxPage.d.ts +3 -0
  582. package/dist/src/views/inputs/CheckboxPage.d.ts.map +1 -0
  583. package/dist/src/views/inputs/ComboboxPage.d.ts +3 -0
  584. package/dist/src/views/inputs/ComboboxPage.d.ts.map +1 -0
  585. package/dist/src/views/inputs/DatepickerPage.d.ts +3 -0
  586. package/dist/src/views/inputs/DatepickerPage.d.ts.map +1 -0
  587. package/dist/src/views/inputs/EmailPage.d.ts +3 -0
  588. package/dist/src/views/inputs/EmailPage.d.ts.map +1 -0
  589. package/dist/src/views/inputs/FileDropzonePage.d.ts +3 -0
  590. package/dist/src/views/inputs/FileDropzonePage.d.ts.map +1 -0
  591. package/dist/src/views/inputs/MiscInputsPage.d.ts +3 -0
  592. package/dist/src/views/inputs/MiscInputsPage.d.ts.map +1 -0
  593. package/dist/src/views/inputs/PhonePage.d.ts +3 -0
  594. package/dist/src/views/inputs/PhonePage.d.ts.map +1 -0
  595. package/dist/src/views/inputs/SelectPage.d.ts +3 -0
  596. package/dist/src/views/inputs/SelectPage.d.ts.map +1 -0
  597. package/dist/src/views/inputs/SelectTextPage.d.ts +3 -0
  598. package/dist/src/views/inputs/SelectTextPage.d.ts.map +1 -0
  599. package/dist/src/views/inputs/SwitchGroupPage.d.ts +3 -0
  600. package/dist/src/views/inputs/SwitchGroupPage.d.ts.map +1 -0
  601. package/dist/src/views/inputs/SwitchPage.d.ts +3 -0
  602. package/dist/src/views/inputs/SwitchPage.d.ts.map +1 -0
  603. package/dist/src/views/inputs/TextAreaPage.d.ts +3 -0
  604. package/dist/src/views/inputs/TextAreaPage.d.ts.map +1 -0
  605. package/dist/src/views/layouts/CardLayoutPage.d.ts +3 -0
  606. package/dist/src/views/layouts/CardLayoutPage.d.ts.map +1 -0
  607. package/dist/src/views/layouts/DashboardLayoutPage.d.ts +3 -0
  608. package/dist/src/views/layouts/DashboardLayoutPage.d.ts.map +1 -0
  609. package/dist/src/views/layouts/HeaderLayoutPage.d.ts +3 -0
  610. package/dist/src/views/layouts/HeaderLayoutPage.d.ts.map +1 -0
  611. package/dist/src/views/layouts/SidebarLayoutPage.d.ts +3 -0
  612. package/dist/src/views/layouts/SidebarLayoutPage.d.ts.map +1 -0
  613. package/dist/stepper/StepperPanels.d.ts +1 -3
  614. package/dist/stepper/StepperPanels.js +1 -1
  615. package/dist/stepper/index.d.ts +1 -0
  616. package/dist/stepper/index.js +1 -1
  617. package/dist/style.css +1 -1
  618. package/dist/tabs/InlineTabs.d.ts +1 -3
  619. package/dist/tabs/InlineTabs.js +1 -1
  620. package/dist/tabs/TabGroup.d.ts +1 -3
  621. package/dist/tabs/TabGroup.js +1 -1
  622. package/dist/tabs/TabGroupUnderline.d.ts +1 -3
  623. package/dist/tabs/TabGroupUnderline.js +1 -1
  624. package/dist/tabs/TabsInPills.d.ts +1 -3
  625. package/dist/tabs/TabsInPills.js +1 -1
  626. package/dist/tabs/index.d.ts +1 -0
  627. package/dist/tabs/index.js +4 -4
  628. package/dist/{tabs-Da32Mbhf.js → tabs-J5phClGv.js} +2 -2
  629. package/dist/{tabs-Da32Mbhf.js.map → tabs-J5phClGv.js.map} +1 -1
  630. package/dist/ui.css +1 -0
  631. package/dist/{use-outside-click-DNDV36Sc.js → use-outside-click-14T0Zn98.js} +3 -3
  632. package/dist/{use-outside-click-DNDV36Sc.js.map → use-outside-click-14T0Zn98.js.map} +1 -1
  633. package/dist/{use-tree-walker-BHCORE7u.js → use-tree-walker-Bo9gIb_K.js} +2 -2
  634. package/dist/{use-tree-walker-BHCORE7u.js.map → use-tree-walker-Bo9gIb_K.js.map} +1 -1
  635. package/dist/vue-router-B3K2xmg_.js +120 -0
  636. package/dist/vue-router-B3K2xmg_.js.map +1 -0
  637. package/dist/vue3-lottie.es-DT4qZE-F.js +7981 -0
  638. package/dist/{vue3-lottie.es-C_MDkNwR.js.map → vue3-lottie.es-DT4qZE-F.js.map} +1 -1
  639. package/dist/wrappers/BackgroundGradientWrapper.d.ts +1 -3
  640. package/dist/wrappers/BackgroundGradientWrapper.js +1 -1
  641. package/dist/wrappers/CardWrapper.d.ts +1 -3
  642. package/dist/wrappers/DisclosureWrapper.d.ts +1 -3
  643. package/dist/wrappers/DisclosureWrapper.js +1 -1
  644. package/dist/wrappers/FormErrorWrapper.d.ts +1 -3
  645. package/dist/wrappers/index.d.ts +1 -0
  646. package/dist/wrappers/index.js +2 -2
  647. package/package.json +26 -18
  648. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js.map +0 -1
  649. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js +0 -187
  650. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js +0 -1315
  651. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js.map +0 -1
  652. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js +0 -253
  653. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js.map +0 -1
  654. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js.map +0 -1
  655. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js +0 -122
  656. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js +0 -36
  657. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js +0 -30
  658. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js +0 -162
  659. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js.map +0 -1
  660. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js +0 -130
  661. package/dist/SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js.map +0 -1
  662. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js.map +0 -1
  663. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js.map +0 -1
  664. package/dist/UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js.map +0 -1
  665. package/dist/calendar-DyIP7WGv.js.map +0 -1
  666. package/dist/src/components/charts/BaseChart.d.ts +0 -81
  667. package/dist/src/components/charts/BaseChart.d.ts.map +0 -1
  668. package/dist/vue-router-BPbyZ7xA.js +0 -145
  669. package/dist/vue-router-BPbyZ7xA.js.map +0 -1
  670. package/dist/vue3-lottie.es-C_MDkNwR.js +0 -7976
@@ -1,3 +1,6 @@
1
1
  export * from '../src/composables/useMap'
2
+ export {}
2
3
  import StachelockUI from '../src/composables/useMap'
3
4
  export default StachelockUI
5
+ export * from '../src/composables/useMap'
6
+ export {}
@@ -1,3 +1,6 @@
1
1
  export * from '../src/composables/useModal'
2
+ export {}
2
3
  import StachelockUI from '../src/composables/useModal'
3
4
  export default StachelockUI
5
+ export * from '../src/composables/useModal'
6
+ export {}
@@ -1,3 +1,6 @@
1
1
  export * from '../src/composables/useNotifications'
2
+ export {}
2
3
  import StachelockUI from '../src/composables/useNotifications'
3
4
  export default StachelockUI
5
+ export * from '../src/composables/useNotifications'
6
+ export {}
@@ -1,77 +1,240 @@
1
- import { ref as T, computed as p, readonly as A } from "vue";
2
- const I = 80, h = 12, w = () => `notification-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`, o = T([]), f = /* @__PURE__ */ new Map(), C = () => {
3
- ["tr", "tl", "tc", "br", "bl", "bc"].forEach((l) => {
4
- o.value.filter((n) => n.isOpen && n.position === l).sort((n, c) => n.createdAt - c.createdAt).forEach((n, c) => {
5
- n.yOffset = c * (I + h);
1
+ import { ref as A, computed as v, readonly as N } from "vue";
2
+ const P = 80, $ = 60, G = 120, g = 12, O = 3, B = () => `notification-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`, h = (s, c = "") => {
3
+ if (typeof s == "string") return s.toLowerCase();
4
+ try {
5
+ if (s && typeof s == "object") {
6
+ const d = s.message ?? s.name;
7
+ if (typeof d == "string") return d.toLowerCase();
8
+ }
9
+ return String(s ?? c).toLowerCase();
10
+ } catch {
11
+ return String(c).toLowerCase();
12
+ }
13
+ }, M = (s) => {
14
+ if (s.dedupeKey)
15
+ return h(s.dedupeKey, "");
16
+ const c = h(s.title, ""), d = h(s.message, ""), f = h(s.theme || "primary", "primary"), y = h(s.position || "br", "br");
17
+ return `${c}|${d}|${f}|${y}`;
18
+ }, R = {
19
+ tr: {
20
+ maxVisible: 5,
21
+ stackDirection: "down",
22
+ spacing: g,
23
+ offset: { x: 24, y: 24 },
24
+ respectsSidebar: !1,
25
+ stackingMode: "linear",
26
+ cardStackThreshold: O,
27
+ cardOffsetX: 6,
28
+ cardOffsetY: 12
29
+ },
30
+ tl: {
31
+ maxVisible: 5,
32
+ stackDirection: "down",
33
+ spacing: g,
34
+ offset: { x: 24, y: 24 },
35
+ respectsSidebar: !0,
36
+ stackingMode: "linear",
37
+ cardStackThreshold: O,
38
+ cardOffsetX: -6,
39
+ cardOffsetY: 12
40
+ },
41
+ br: {
42
+ maxVisible: 5,
43
+ stackDirection: "up",
44
+ spacing: g,
45
+ offset: { x: 24, y: 24 },
46
+ respectsSidebar: !1,
47
+ stackingMode: "linear",
48
+ cardStackThreshold: O,
49
+ cardOffsetX: 6,
50
+ cardOffsetY: -12
51
+ },
52
+ bl: {
53
+ maxVisible: 5,
54
+ stackDirection: "up",
55
+ spacing: g,
56
+ offset: { x: 24, y: 24 },
57
+ respectsSidebar: !0,
58
+ stackingMode: "linear",
59
+ cardStackThreshold: O,
60
+ cardOffsetX: -6,
61
+ cardOffsetY: -12
62
+ },
63
+ tc: {
64
+ maxVisible: 3,
65
+ stackDirection: "down",
66
+ spacing: g,
67
+ offset: { x: 0, y: 24 },
68
+ respectsSidebar: !1,
69
+ stackingMode: "linear",
70
+ cardStackThreshold: O,
71
+ cardOffsetX: 0,
72
+ cardOffsetY: 12
73
+ },
74
+ bc: {
75
+ maxVisible: 3,
76
+ stackDirection: "up",
77
+ spacing: g,
78
+ offset: { x: 0, y: 24 },
79
+ respectsSidebar: !1,
80
+ stackingMode: "linear",
81
+ cardStackThreshold: O,
82
+ cardOffsetX: 0,
83
+ cardOffsetY: -12
84
+ }
85
+ }, r = A([]), m = /* @__PURE__ */ new Map(), p = A({
86
+ globalPaused: !1,
87
+ layoutAware: !0,
88
+ maxPerPosition: 5,
89
+ stackConfigs: { ...R }
90
+ }), U = (s) => {
91
+ const c = s.variant === "compact" ? $ : s.variant === "expanded" ? G : P;
92
+ return s.actions && s.actions.length > 0 ? c + 40 : c;
93
+ }, j = (s, c) => c !== void 0 ? c : {
94
+ low: 2e3,
95
+ normal: 3e3,
96
+ high: 5e3,
97
+ urgent: 1e4
98
+ }[s], b = () => {
99
+ ["tr", "tl", "tc", "br", "bl", "bc"].forEach((c) => {
100
+ const d = p.value.stackConfigs[c], f = r.value.filter((o) => o.isOpen && o.position === c).sort((o, a) => {
101
+ const l = { urgent: 4, high: 3, normal: 2, low: 1 }, w = l[o.priority], x = l[a.priority];
102
+ return w !== x ? x - w : a.createdAt - o.createdAt;
103
+ }), y = f.length >= d.cardStackThreshold;
104
+ f.forEach((o, a) => {
105
+ if (o.stackIndex = a, o.isCardMode = y, o.cardStackIndex = a, o.zIndex = f.length - a, y)
106
+ o.cardOffsetX = a * d.cardOffsetX, o.cardOffsetY = a * d.cardOffsetY, o.yOffset = 0;
107
+ else {
108
+ const l = U(o);
109
+ o.yOffset = a * (l + d.spacing), o.cardOffsetX = 0, o.cardOffsetY = 0;
110
+ }
111
+ }), f.length > d.maxVisible && f.slice(d.maxVisible).forEach((a) => {
112
+ a.isOpen = !1;
113
+ const l = m.get(a.id);
114
+ l && (clearTimeout(l), m.delete(a.id));
6
115
  });
7
116
  });
8
117
  };
9
- function y() {
10
- const s = (t) => {
11
- const i = t.id || w(), e = t.position || "br", r = o.value.filter(
12
- (u) => u.isOpen && u.position === e
13
- ).length * (I + h), d = {
14
- title: t.title,
15
- message: t.message || "",
16
- theme: t.theme || "primary",
17
- position: e,
18
- autoClose: t.autoClose !== !1,
19
- timeout: t.timeout || 3e3,
118
+ function J() {
119
+ const s = (e) => {
120
+ if (p.value.globalPaused)
121
+ return "";
122
+ const t = e.id || B(), n = e.position || "br", u = e.priority || "normal", k = Date.now(), T = M(e), W = h(e.title, "").includes("session expired") || h(e.message, "").includes("session expired"), S = e.dedupeWindowMs ?? (W ? 300 * 1e3 : 15 * 1e3), C = r.value.findIndex((i) => {
123
+ const V = M(i) === T, L = i.dedupeWindowMs ?? S, F = k - i.createdAt <= L;
124
+ return V && F && i.isOpen;
125
+ });
126
+ if (C !== -1) {
127
+ const i = r.value[C];
128
+ return i.createdAt = k, i.isOpen = !0, e.sticky && (i.sticky = !0), e.timeout && (!i.timeout || e.timeout > i.timeout) && (i.timeout = e.timeout), i.dedupeWindowMs = e.dedupeWindowMs ?? i.dedupeWindowMs ?? S, i.dedupeKey = i.dedupeKey || T, b(), i.id;
129
+ }
130
+ const Y = r.value.filter(
131
+ (i) => i.isOpen && i.position === n
132
+ ).length * (P + g), I = {
133
+ id: t,
134
+ title: e.title,
135
+ message: e.message || "",
136
+ theme: e.theme || "primary",
137
+ position: n,
138
+ autoClose: e.autoClose !== !1,
139
+ timeout: j(u, e.timeout),
20
140
  isOpen: !0,
21
- id: i,
22
- createdAt: Date.now(),
23
- yOffset: r,
24
- icon: t.icon
141
+ createdAt: k,
142
+ yOffset: Y,
143
+ icon: e.icon,
144
+ variant: e.variant || "default",
145
+ priority: u,
146
+ dismissible: e.dismissible !== !1,
147
+ sticky: e.sticky || !1,
148
+ actions: e.actions,
149
+ maxWidth: e.maxWidth || 384,
150
+ persistent: e.persistent || !1,
151
+ dedupeKey: T,
152
+ dedupeWindowMs: S
25
153
  };
26
- if (o.value.push(d), d.autoClose) {
27
- const u = setTimeout(() => {
28
- l({ id: i });
29
- }, d.timeout);
30
- f.set(i, u);
154
+ if (r.value.push(I), b(), I.autoClose && !I.sticky) {
155
+ const i = setTimeout(() => {
156
+ c({ id: t });
157
+ }, I.timeout);
158
+ m.set(t, i);
31
159
  }
32
- return i;
33
- }, l = (t) => {
34
- const i = t.id;
35
- if (!i) return;
36
- const e = o.value.findIndex((a) => a.id === i);
37
- if (e !== -1) {
38
- o.value[e].isOpen = !1;
39
- const a = f.get(i);
40
- a && (clearTimeout(a), f.delete(i)), C(), setTimeout(() => {
41
- o.value = o.value.filter((r) => r.id !== i);
160
+ return t;
161
+ }, c = (e) => {
162
+ const t = e.id;
163
+ if (!t) return;
164
+ const n = r.value.findIndex((u) => u.id === t);
165
+ if (n !== -1) {
166
+ r.value[n].isOpen = !1;
167
+ const u = m.get(t);
168
+ u && (clearTimeout(u), m.delete(t)), b(), setTimeout(() => {
169
+ r.value = r.value.filter((k) => k.id !== t);
42
170
  }, 300);
43
171
  }
44
- }, m = () => {
45
- o.value.forEach((t) => {
46
- t.isOpen = !1;
47
- const i = f.get(t.id);
48
- i && (clearTimeout(i), f.delete(t.id));
172
+ }, d = () => {
173
+ r.value.forEach((e) => {
174
+ e.isOpen = !1;
175
+ const t = m.get(e.id);
176
+ t && (clearTimeout(t), m.delete(e.id));
49
177
  }), setTimeout(() => {
50
- o.value = [];
178
+ r.value = [];
51
179
  }, 300);
52
- }, n = p(
53
- () => o.value.filter((t) => t.isOpen)
54
- ), c = (t) => p(
55
- () => o.value.filter((i) => i.isOpen && i.position === t)
56
- ), O = (t, i, e) => s({ title: t, message: i, theme: "success", ...e }), g = (t, i, e) => s({ title: t, message: i, theme: "danger", ...e }), N = (t, i, e) => s({ title: t, message: i, theme: "warning", ...e }), v = (t, i, e) => s({ title: t, message: i, theme: "info", ...e });
180
+ }, f = (e) => {
181
+ r.value.filter((t) => t.position === e).forEach((t) => c(t));
182
+ }, y = () => {
183
+ p.value.globalPaused = !0;
184
+ }, o = () => {
185
+ p.value.globalPaused = !1;
186
+ }, a = (e, t) => {
187
+ p.value.stackConfigs[e] = {
188
+ ...p.value.stackConfigs[e],
189
+ ...t
190
+ }, b();
191
+ }, l = (e) => {
192
+ const t = r.value.find((n) => n.id === e);
193
+ !t || !t.isCardMode || (t.createdAt = Date.now(), b());
194
+ }, w = (e, t) => {
195
+ switch (t.action) {
196
+ case "dismiss":
197
+ c({ id: e });
198
+ break;
199
+ case "link":
200
+ t.href && window.open(t.href, "_blank");
201
+ break;
202
+ case "callback":
203
+ t.callback && t.callback();
204
+ break;
205
+ }
206
+ }, x = v(
207
+ () => r.value.filter((e) => e.isOpen)
208
+ ), D = (e) => v(
209
+ () => r.value.filter((t) => t.isOpen && t.position === e)
210
+ ), E = (e, t, n) => s({ title: e, message: t, theme: "success", ...n }), H = (e, t, n) => s({ title: e, message: t, theme: "danger", ...n }), X = (e, t, n) => s({ title: e, message: t, theme: "warning", ...n }), _ = (e, t, n) => s({ title: e, message: t, theme: "info", ...n }), K = (e, t, n) => s({ title: e, message: t, theme: "primary", ...n });
57
211
  return {
58
212
  // State
59
- notifications: A(o),
60
- activeNotifications: n,
61
- getNotificationsByPosition: c,
62
- // Methods
213
+ notifications: N(r),
214
+ activeNotifications: x,
215
+ getNotificationsByPosition: D,
216
+ systemState: N(p),
217
+ // Core methods
63
218
  showNotification: s,
64
- hideNotification: l,
65
- clearAllNotifications: m,
219
+ hideNotification: c,
220
+ clearAllNotifications: d,
221
+ clearNotificationsByPosition: f,
222
+ // System controls
223
+ pauseNotifications: y,
224
+ resumeNotifications: o,
225
+ updateStackConfig: a,
226
+ bringToFront: l,
227
+ executeAction: w,
66
228
  // Convenience methods
67
- success: O,
68
- error: g,
69
- warning: N,
70
- info: v
229
+ success: E,
230
+ error: H,
231
+ warning: X,
232
+ info: _,
233
+ primary: K
71
234
  };
72
235
  }
73
236
  export {
74
- y as default,
75
- y as useNotifications
237
+ J as default,
238
+ J as useNotifications
76
239
  };
77
240
  //# sourceMappingURL=useNotifications.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNotifications.js","sources":["../../src/composables/useNotifications.ts"],"sourcesContent":["/**\n * @module composables/useNotifications\n * @description Reactive notification system for toast messages\n * \n * Provides a standalone notification system that doesn't depend on external\n * state management like Pinia. Notifications are managed internally with\n * support for stacking, auto-dismiss, and positioning.\n * \n * ## Usage\n * ```typescript\n * import { useNotifications } from '@stachelock/ui'\n * \n * const { showNotification, hideNotification, notifications } = useNotifications()\n * \n * // Show a success notification\n * showNotification({\n * title: 'Saved!',\n * message: 'Your changes have been saved.',\n * theme: 'success',\n * timeout: 3000\n * })\n * \n * // Show an error notification that requires manual dismissal\n * showNotification({\n * title: 'Error',\n * message: 'Something went wrong.',\n * theme: 'danger',\n * autoClose: false\n * })\n * ```\n */\nimport { ref, computed, readonly } from 'vue';\n\n/**\n * Theme options for notifications\n */\nexport type NotificationTheme = \n | 'primary'\n | 'secondary'\n | 'dark'\n | 'light'\n | 'success'\n | 'warning'\n | 'danger'\n | 'ghost'\n | 'info';\n\n/**\n * Position options for notifications\n * - tr: top-right\n * - tl: top-left\n * - tc: top-center\n * - br: bottom-right\n * - bl: bottom-left\n * - bc: bottom-center\n */\nexport type NotificationPosition = 'tr' | 'tl' | 'tc' | 'br' | 'bl' | 'bc';\n\n/**\n * Parameters for creating a notification\n */\nexport interface NotificationParams {\n /** Title of the notification */\n title: string;\n /** Optional detailed message */\n message?: string;\n /** Visual theme */\n theme?: NotificationTheme;\n /** Screen position */\n position?: NotificationPosition;\n /** Whether to auto-close after timeout */\n autoClose?: boolean;\n /** Timeout in milliseconds before auto-close */\n timeout?: number;\n /** Optional unique ID (auto-generated if not provided) */\n id?: string;\n /** Custom icon component */\n icon?: any;\n}\n\n/**\n * Internal notification state\n */\nexport interface NotificationState extends Required<Omit<NotificationParams, 'icon'>> {\n /** Whether the notification is currently visible */\n isOpen: boolean;\n /** Creation timestamp */\n createdAt: number;\n /** Calculated Y offset for stacking */\n yOffset: number;\n /** Optional custom icon */\n icon?: any;\n}\n\n// Constants\nconst NOTIFICATION_HEIGHT = 80;\nconst NOTIFICATION_SPACING = 12;\n\n// Generate unique ID\nconst generateId = () => `notification-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;\n\n// Shared notification state (singleton)\nconst notifications = ref<NotificationState[]>([]);\nconst timeoutMap = new Map<string, ReturnType<typeof setTimeout>>();\n\n/**\n * Recalculate Y offsets for stacked notifications\n */\nconst recalculateOffsets = () => {\n const positions = ['tr', 'tl', 'tc', 'br', 'bl', 'bc'] as const;\n \n positions.forEach(position => {\n const positionNotifications = notifications.value\n .filter(n => n.isOpen && n.position === position)\n .sort((a, b) => a.createdAt - b.createdAt);\n \n positionNotifications.forEach((notification, index) => {\n notification.yOffset = index * (NOTIFICATION_HEIGHT + NOTIFICATION_SPACING);\n });\n });\n};\n\n/**\n * Notification composable\n * \n * @returns Notification methods and reactive state\n * \n * @example\n * ```vue\n * <script setup>\n * import { useNotifications } from '@stachelock/ui'\n * \n * const { showNotification } = useNotifications()\n * \n * const handleSave = async () => {\n * try {\n * await saveData()\n * showNotification({\n * title: 'Saved!',\n * theme: 'success'\n * })\n * } catch (error) {\n * showNotification({\n * title: 'Error',\n * message: error.message,\n * theme: 'danger'\n * })\n * }\n * }\n * </script>\n * ```\n */\nexport function useNotifications() {\n /**\n * Show a notification\n * \n * @param params - Notification configuration\n * @returns The notification ID\n */\n const showNotification = (params: NotificationParams): string => {\n const id = params.id || generateId();\n const position = params.position || 'br';\n \n // Calculate yOffset based on existing notifications in the same position\n const existingInPosition = notifications.value.filter(\n n => n.isOpen && n.position === position\n );\n const yOffset = existingInPosition.length * (NOTIFICATION_HEIGHT + NOTIFICATION_SPACING);\n \n const notification: NotificationState = {\n title: params.title,\n message: params.message || '',\n theme: params.theme || 'primary',\n position,\n autoClose: params.autoClose !== false,\n timeout: params.timeout || 3000,\n isOpen: true,\n id,\n createdAt: Date.now(),\n yOffset,\n icon: params.icon,\n };\n \n notifications.value.push(notification);\n \n // Auto-close after timeout\n if (notification.autoClose) {\n const timeoutId = setTimeout(() => {\n hideNotification({ id });\n }, notification.timeout);\n timeoutMap.set(id, timeoutId);\n }\n \n return id;\n };\n \n /**\n * Hide a specific notification\n * \n * @param target - Notification or object with notification ID\n */\n const hideNotification = (target: NotificationState | { id?: string }): void => {\n const id = target.id;\n if (!id) return;\n \n const index = notifications.value.findIndex(n => n.id === id);\n \n if (index !== -1) {\n notifications.value[index].isOpen = false;\n \n // Clear any pending timeout\n const timeoutId = timeoutMap.get(id);\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutMap.delete(id);\n }\n \n // Recalculate offsets\n recalculateOffsets();\n \n // Clean up after animation\n setTimeout(() => {\n notifications.value = notifications.value.filter(n => n.id !== id);\n }, 300);\n }\n };\n \n /**\n * Clear all notifications\n */\n const clearAllNotifications = (): void => {\n notifications.value.forEach(n => {\n n.isOpen = false;\n const timeoutId = timeoutMap.get(n.id);\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutMap.delete(n.id);\n }\n });\n \n // Clean up after animations\n setTimeout(() => {\n notifications.value = [];\n }, 300);\n };\n \n /**\n * Get active notifications (currently visible)\n */\n const activeNotifications = computed(() => \n notifications.value.filter(n => n.isOpen)\n );\n \n /**\n * Get notifications filtered by position\n */\n const getNotificationsByPosition = (position: NotificationPosition) => \n computed(() => \n notifications.value.filter(n => n.isOpen && n.position === position)\n );\n \n // Convenience methods for common notification types\n const success = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'success', ...options });\n \n const error = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'danger', ...options });\n \n const warning = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'warning', ...options });\n \n const info = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'info', ...options });\n \n return {\n // State\n notifications: readonly(notifications),\n activeNotifications,\n getNotificationsByPosition,\n \n // Methods\n showNotification,\n hideNotification,\n clearAllNotifications,\n \n // Convenience methods\n success,\n error,\n warning,\n info,\n };\n}\n\nexport default useNotifications;\n\n"],"names":["NOTIFICATION_HEIGHT","NOTIFICATION_SPACING","generateId","notifications","ref","timeoutMap","recalculateOffsets","position","a","b","notification","index","useNotifications","showNotification","params","id","yOffset","n","timeoutId","hideNotification","target","clearAllNotifications","activeNotifications","computed","getNotificationsByPosition","success","title","message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W,GAAGC,GAAS,GAE7DC,IAAQ,CAACH,GAAeC,GAAkBC,MAC9Cf,EAAiB,EAAE,OAAAa,GAAO,SAAAC,GAAS,OAAO,UAAU,GAAGC,GAAS,GAE5DE,IAAU,CAACJ,GAAeC,GAAkBC,MAChDf,EAAiB,EAAE,OAAAa,GAAO,SAAAC,GAAS,OAAO,WAAW,GAAGC,GAAS,GAE7DG,IAAO,CAACL,GAAeC,GAAkBC,MAC7Cf,EAAiB,EAAE,OAAAa,GAAO,SAAAC,GAAS,OAAO,QAAQ,GAAGC,GAAS;AAEhE,SAAO;AAAA;AAAA,IAEL,eAAeI,EAAS7B,CAAa;AAAA,IACrC,qBAAAmB;AAAA,IACA,4BAAAE;AAAA;AAAA,IAGA,kBAAAX;AAAA,IACA,kBAAAM;AAAA,IACA,uBAAAE;AAAA;AAAA,IAGA,SAAAI;AAAA,IACA,OAAAI;AAAA,IACA,SAAAC;AAAA,IACA,MAAAC;AAAA,EAAA;AAEJ;"}
1
+ {"version":3,"file":"useNotifications.js","sources":["../../src/composables/useNotifications.ts"],"sourcesContent":["/**\n * @module composables/useNotifications\n * @description Enhanced reactive notification system for toast messages\n * \n * Provides a comprehensive notification system with support for:\n * - Stacking with automatic offset calculation\n * - Multiple positions (corners and centers)\n * - Theming with dark mode support\n * - Deduplication to prevent notification spam\n * - Priority levels (low, normal, high, urgent)\n * - Variants (default, compact, expanded)\n * - Action buttons (dismiss, link, callback)\n * - Sticky notifications that don't auto-close\n * - Card stacking mode for multiple notifications\n * - Global pause/resume functionality\n * \n * ## Usage\n * ```typescript\n * import { useNotifications } from '@stachelock/ui'\n * \n * const { showNotification, hideNotification, notifications } = useNotifications()\n * \n * // Show a success notification\n * showNotification({\n * title: 'Saved!',\n * message: 'Your changes have been saved.',\n * theme: 'success',\n * timeout: 3000\n * })\n * \n * // Show a notification with actions\n * showNotification({\n * title: 'Confirm Action',\n * message: 'Do you want to proceed?',\n * theme: 'warning',\n * autoClose: false,\n * actions: [\n * { label: 'Confirm', action: 'callback', callback: () => confirm(), theme: 'primary' },\n * { label: 'Cancel', action: 'dismiss', theme: 'secondary' }\n * ]\n * })\n * \n * // Show a high priority notification\n * showNotification({\n * title: 'Critical Error',\n * message: 'Please contact support.',\n * theme: 'danger',\n * priority: 'urgent',\n * sticky: true\n * })\n * ```\n */\nimport { ref, computed, readonly, type Component } from 'vue';\n\n/**\n * Theme options for notifications\n * Maps to semantic colors with dark mode support\n */\nexport type NotificationTheme = \n | 'primary'\n | 'secondary'\n | 'dark'\n | 'light'\n | 'success'\n | 'warning'\n | 'danger'\n | 'ghost'\n | 'info';\n\n/**\n * Position options for notifications\n * - tr: top-right\n * - tl: top-left\n * - tc: top-center\n * - br: bottom-right\n * - bl: bottom-left\n * - bc: bottom-center\n */\nexport type NotificationPosition = 'tr' | 'tl' | 'tc' | 'br' | 'bl' | 'bc';\n\n/**\n * Notification variant for different display styles\n * - default: Standard notification size\n * - compact: Smaller, more minimal notification\n * - expanded: Larger notification with more space for content\n */\nexport type NotificationVariant = 'default' | 'compact' | 'expanded';\n\n/**\n * Priority levels for notification ordering and timing\n * - low: Least important, shorter timeout\n * - normal: Default priority\n * - high: Important, shown above normal\n * - urgent: Critical, longest timeout, shown first\n */\nexport type NotificationPriority = 'low' | 'normal' | 'high' | 'urgent';\n\n/**\n * Action button configuration for notifications\n */\nexport interface NotificationAction {\n /** Button label text */\n label: string;\n /** Action type */\n action: 'dismiss' | 'link' | 'callback';\n /** URL for link actions */\n href?: string;\n /** Callback function for callback actions */\n callback?: () => void;\n /** Button theme */\n theme?: 'primary' | 'secondary' | 'danger';\n}\n\n/**\n * Parameters for creating a notification\n */\nexport interface NotificationParams {\n /** Title of the notification */\n title: string;\n /** Optional detailed message */\n message?: string;\n /** Visual theme */\n theme?: NotificationTheme;\n /** Screen position */\n position?: NotificationPosition;\n /** Whether to auto-close after timeout */\n autoClose?: boolean;\n /** Timeout in milliseconds before auto-close */\n timeout?: number;\n /** Optional unique ID (auto-generated if not provided) */\n id?: string;\n /** Custom icon component */\n icon?: Component;\n /** Display variant */\n variant?: NotificationVariant;\n /** Priority level for ordering */\n priority?: NotificationPriority;\n /** Whether the notification can be dismissed */\n dismissible?: boolean;\n /** Prevent auto-close even if autoClose is true */\n sticky?: boolean;\n /** Action buttons */\n actions?: NotificationAction[];\n /** Maximum width in pixels */\n maxWidth?: number;\n /** Custom dedupe key for grouping similar notifications */\n dedupeKey?: string;\n /** Time window in ms for deduplication */\n dedupeWindowMs?: number;\n /** Whether notification should persist across route changes */\n persistent?: boolean;\n}\n\n/**\n * Internal notification state\n */\nexport interface NotificationState extends Required<Omit<NotificationParams, 'icon' | 'actions' | 'dedupeKey' | 'dedupeWindowMs'>> {\n /** Whether the notification is currently visible */\n isOpen: boolean;\n /** Creation timestamp */\n createdAt: number;\n /** Calculated Y offset for stacking */\n yOffset: number;\n /** Optional custom icon */\n icon?: Component;\n /** Optional action buttons */\n actions?: NotificationAction[];\n /** Dedupe key */\n dedupeKey?: string;\n /** Dedupe window */\n dedupeWindowMs?: number;\n /** Stack index for ordering */\n stackIndex?: number;\n /** Whether in card stacking mode */\n isCardMode?: boolean;\n /** Card stack position */\n cardStackIndex?: number;\n /** Card X offset */\n cardOffsetX?: number;\n /** Card Y offset */\n cardOffsetY?: number;\n /** Z-index for layering */\n zIndex?: number;\n}\n\n/**\n * Position-specific stacking configuration\n */\nexport interface PositionStackConfig {\n /** Maximum visible notifications */\n maxVisible: number;\n /** Stack direction */\n stackDirection: 'up' | 'down';\n /** Spacing between notifications in pixels */\n spacing: number;\n /** Base offset from edge */\n offset: { x: number; y: number };\n /** Whether to adjust for sidebar */\n respectsSidebar: boolean;\n /** Stacking mode */\n stackingMode: 'linear' | 'cards';\n /** Threshold for card stacking */\n cardStackThreshold: number;\n /** Horizontal card offset */\n cardOffsetX: number;\n /** Vertical card offset */\n cardOffsetY: number;\n}\n\n/**\n * System-wide notification state\n */\nexport interface NotificationSystemState {\n /** Global pause flag */\n globalPaused: boolean;\n /** Layout aware flag */\n layoutAware: boolean;\n /** Max per position */\n maxPerPosition: number;\n /** Stack configurations by position */\n stackConfigs: Record<NotificationPosition, PositionStackConfig>;\n}\n\n// Constants\nconst NOTIFICATION_HEIGHT_DEFAULT = 80;\nconst NOTIFICATION_HEIGHT_COMPACT = 60;\nconst NOTIFICATION_HEIGHT_EXPANDED = 120;\nconst NOTIFICATION_SPACING = 12;\nconst CARD_STACK_THRESHOLD = 3;\n\n// Generate unique ID\nconst generateId = () => `notification-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;\n\n// Safe lowercase helper for dedupe\nconst safeLower = (val: unknown, fallback = ''): string => {\n if (typeof val === 'string') return val.toLowerCase();\n try {\n if (val && typeof val === 'object') {\n const maybeMessage = (val as Record<string, unknown>).message ?? (val as Record<string, unknown>).name;\n if (typeof maybeMessage === 'string') return maybeMessage.toLowerCase();\n }\n return String(val ?? fallback).toLowerCase();\n } catch {\n return String(fallback).toLowerCase();\n }\n};\n\n// Compute dedupe key from notification params\nconst computeDedupeKey = (n: Partial<NotificationParams>): string => {\n if (n.dedupeKey) {\n return safeLower(n.dedupeKey, '');\n }\n const t = safeLower(n.title, '');\n const m = safeLower(n.message, '');\n const th = safeLower(n.theme || 'primary', 'primary');\n const p = safeLower(n.position || 'br', 'br');\n return `${t}|${m}|${th}|${p}`;\n};\n\n// Default stack configurations\nconst defaultStackConfigs: Record<NotificationPosition, PositionStackConfig> = {\n 'tr': {\n maxVisible: 5,\n stackDirection: 'down',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 24, y: 24 },\n respectsSidebar: false,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: 6,\n cardOffsetY: 12\n },\n 'tl': {\n maxVisible: 5,\n stackDirection: 'down',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 24, y: 24 },\n respectsSidebar: true,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: -6,\n cardOffsetY: 12\n },\n 'br': {\n maxVisible: 5,\n stackDirection: 'up',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 24, y: 24 },\n respectsSidebar: false,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: 6,\n cardOffsetY: -12\n },\n 'bl': {\n maxVisible: 5,\n stackDirection: 'up',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 24, y: 24 },\n respectsSidebar: true,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: -6,\n cardOffsetY: -12\n },\n 'tc': {\n maxVisible: 3,\n stackDirection: 'down',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 0, y: 24 },\n respectsSidebar: false,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: 0,\n cardOffsetY: 12\n },\n 'bc': {\n maxVisible: 3,\n stackDirection: 'up',\n spacing: NOTIFICATION_SPACING,\n offset: { x: 0, y: 24 },\n respectsSidebar: false,\n stackingMode: 'linear',\n cardStackThreshold: CARD_STACK_THRESHOLD,\n cardOffsetX: 0,\n cardOffsetY: -12\n }\n};\n\n// Shared notification state (singleton)\nconst notifications = ref<NotificationState[]>([]);\nconst timeoutMap = new Map<string, ReturnType<typeof setTimeout>>();\n\n// System state\nconst systemState = ref<NotificationSystemState>({\n globalPaused: false,\n layoutAware: true,\n maxPerPosition: 5,\n stackConfigs: { ...defaultStackConfigs }\n});\n\n/**\n * Get notification height based on variant\n */\nconst getNotificationHeight = (notification: NotificationState): number => {\n const baseHeight = notification.variant === 'compact' ? NOTIFICATION_HEIGHT_COMPACT : \n notification.variant === 'expanded' ? NOTIFICATION_HEIGHT_EXPANDED : \n NOTIFICATION_HEIGHT_DEFAULT;\n \n // Add height for actions\n if (notification.actions && notification.actions.length > 0) {\n return baseHeight + 40;\n }\n \n return baseHeight;\n};\n\n/**\n * Get timeout based on priority\n */\nconst getTimeoutByPriority = (priority: NotificationPriority, customTimeout?: number): number => {\n if (customTimeout !== undefined) return customTimeout;\n \n const timeouts: Record<NotificationPriority, number> = {\n low: 2000,\n normal: 3000,\n high: 5000,\n urgent: 10000\n };\n \n return timeouts[priority];\n};\n\n/**\n * Recalculate Y offsets for stacked notifications\n */\nconst recalculateOffsets = () => {\n const positions: NotificationPosition[] = ['tr', 'tl', 'tc', 'br', 'bl', 'bc'];\n \n positions.forEach(position => {\n const config = systemState.value.stackConfigs[position];\n const positionNotifications = notifications.value\n .filter(n => n.isOpen && n.position === position)\n .sort((a, b) => {\n // Sort by priority first (urgent first), then by creation time (newer first)\n const priorityOrder = { urgent: 4, high: 3, normal: 2, low: 1 };\n const aPriority = priorityOrder[a.priority];\n const bPriority = priorityOrder[b.priority];\n \n if (aPriority !== bPriority) {\n return bPriority - aPriority;\n }\n return b.createdAt - a.createdAt;\n });\n \n // Determine if card stacking should be used\n const shouldUseCardStacking = positionNotifications.length >= config.cardStackThreshold;\n \n positionNotifications.forEach((notification, index) => {\n notification.stackIndex = index;\n notification.isCardMode = shouldUseCardStacking;\n notification.cardStackIndex = index;\n notification.zIndex = positionNotifications.length - index;\n \n if (shouldUseCardStacking) {\n // Card stacking mode\n notification.cardOffsetX = index * config.cardOffsetX;\n notification.cardOffsetY = index * config.cardOffsetY;\n notification.yOffset = 0;\n } else {\n // Linear stacking mode\n const height = getNotificationHeight(notification);\n notification.yOffset = index * (height + config.spacing);\n notification.cardOffsetX = 0;\n notification.cardOffsetY = 0;\n }\n });\n \n // Limit visible notifications per position\n if (positionNotifications.length > config.maxVisible) {\n const excess = positionNotifications.slice(config.maxVisible);\n excess.forEach(notification => {\n notification.isOpen = false;\n const timeoutId = timeoutMap.get(notification.id);\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutMap.delete(notification.id);\n }\n });\n }\n });\n};\n\n/**\n * Notification composable\n * \n * @returns Notification methods and reactive state\n * \n * @example\n * ```vue\n * <script setup>\n * import { useNotifications } from '@stachelock/ui'\n * \n * const { showNotification, success, error } = useNotifications()\n * \n * const handleSave = async () => {\n * try {\n * await saveData()\n * success('Saved!', 'Your changes have been saved successfully.')\n * } catch (err) {\n * error('Error', err.message)\n * }\n * }\n * </script>\n * ```\n */\nexport function useNotifications() {\n /**\n * Show a notification\n * \n * @param params - Notification configuration\n * @returns The notification ID\n */\n const showNotification = (params: NotificationParams): string => {\n // Check if notifications are paused\n if (systemState.value.globalPaused) {\n return '';\n }\n \n const id = params.id || generateId();\n const position = params.position || 'br';\n const priority = params.priority || 'normal';\n const now = Date.now();\n \n // Deduplication logic\n const incomingKey = computeDedupeKey(params);\n const isSessionExpired = safeLower(params.title, '').includes('session expired')\n || safeLower(params.message, '').includes('session expired');\n const dedupeWindowMs = params.dedupeWindowMs\n ?? (isSessionExpired ? 5 * 60 * 1000 : 15 * 1000); // 5m for session expired, 15s otherwise\n \n // Find existing notification with same dedupe key within window\n const existingIdx = notifications.value.findIndex((n) => {\n const sameKey = computeDedupeKey(n) === incomingKey;\n const windowMs = n.dedupeWindowMs ?? dedupeWindowMs;\n const withinWindow = now - n.createdAt <= windowMs;\n return sameKey && withinWindow && n.isOpen;\n });\n \n if (existingIdx !== -1) {\n // Refresh existing notification instead of creating duplicate\n const existing = notifications.value[existingIdx];\n existing.createdAt = now;\n existing.isOpen = true;\n \n // Adopt sticky/longer timeout if incoming has it\n if (params.sticky) existing.sticky = true;\n if (params.timeout && (!existing.timeout || params.timeout > existing.timeout)) {\n existing.timeout = params.timeout;\n }\n \n existing.dedupeWindowMs = params.dedupeWindowMs ?? existing.dedupeWindowMs ?? dedupeWindowMs;\n existing.dedupeKey = existing.dedupeKey || incomingKey;\n \n recalculateOffsets();\n return existing.id;\n }\n \n // Calculate initial yOffset based on existing notifications\n const existingInPosition = notifications.value.filter(\n n => n.isOpen && n.position === position\n );\n const yOffset = existingInPosition.length * (NOTIFICATION_HEIGHT_DEFAULT + NOTIFICATION_SPACING);\n \n const notification: NotificationState = {\n id,\n title: params.title,\n message: params.message || '',\n theme: params.theme || 'primary',\n position,\n autoClose: params.autoClose !== false,\n timeout: getTimeoutByPriority(priority, params.timeout),\n isOpen: true,\n createdAt: now,\n yOffset,\n icon: params.icon,\n variant: params.variant || 'default',\n priority,\n dismissible: params.dismissible !== false,\n sticky: params.sticky || false,\n actions: params.actions,\n maxWidth: params.maxWidth || 384,\n persistent: params.persistent || false,\n dedupeKey: incomingKey,\n dedupeWindowMs,\n };\n \n notifications.value.push(notification);\n recalculateOffsets();\n \n // Auto-close after timeout (unless sticky)\n if (notification.autoClose && !notification.sticky) {\n const timeoutId = setTimeout(() => {\n hideNotification({ id });\n }, notification.timeout);\n timeoutMap.set(id, timeoutId);\n }\n \n return id;\n };\n \n /**\n * Hide a specific notification\n * \n * @param target - Notification or object with notification ID\n */\n const hideNotification = (target: NotificationState | { id?: string }): void => {\n const id = target.id;\n if (!id) return;\n \n const index = notifications.value.findIndex(n => n.id === id);\n \n if (index !== -1) {\n notifications.value[index].isOpen = false;\n \n // Clear any pending timeout\n const timeoutId = timeoutMap.get(id);\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutMap.delete(id);\n }\n \n // Recalculate offsets immediately\n recalculateOffsets();\n \n // Clean up after animation\n setTimeout(() => {\n notifications.value = notifications.value.filter(n => n.id !== id);\n }, 300);\n }\n };\n \n /**\n * Clear all notifications\n */\n const clearAllNotifications = (): void => {\n notifications.value.forEach(n => {\n n.isOpen = false;\n const timeoutId = timeoutMap.get(n.id);\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutMap.delete(n.id);\n }\n });\n \n // Clean up after animations\n setTimeout(() => {\n notifications.value = [];\n }, 300);\n };\n \n /**\n * Clear notifications by position\n */\n const clearNotificationsByPosition = (position: NotificationPosition): void => {\n notifications.value\n .filter(n => n.position === position)\n .forEach(n => hideNotification(n));\n };\n \n /**\n * Pause all notifications\n */\n const pauseNotifications = (): void => {\n systemState.value.globalPaused = true;\n };\n \n /**\n * Resume notifications\n */\n const resumeNotifications = (): void => {\n systemState.value.globalPaused = false;\n };\n \n /**\n * Update stack configuration for a position\n */\n const updateStackConfig = (position: NotificationPosition, config: Partial<PositionStackConfig>): void => {\n systemState.value.stackConfigs[position] = {\n ...systemState.value.stackConfigs[position],\n ...config\n };\n recalculateOffsets();\n };\n \n /**\n * Bring a notification to the front of its stack\n */\n const bringToFront = (notificationId: string): void => {\n const notification = notifications.value.find(n => n.id === notificationId);\n if (!notification || !notification.isCardMode) return;\n \n // Update creation time to make it \"newest\"\n notification.createdAt = Date.now();\n recalculateOffsets();\n };\n \n /**\n * Execute a notification action\n */\n const executeAction = (notificationId: string, action: NotificationAction): void => {\n switch (action.action) {\n case 'dismiss':\n hideNotification({ id: notificationId });\n break;\n case 'link':\n if (action.href) {\n window.open(action.href, '_blank');\n }\n break;\n case 'callback':\n if (action.callback) {\n action.callback();\n }\n break;\n }\n };\n \n /**\n * Get active notifications (currently visible)\n */\n const activeNotifications = computed(() => \n notifications.value.filter(n => n.isOpen)\n );\n \n /**\n * Get notifications filtered by position\n */\n const getNotificationsByPosition = (position: NotificationPosition) => \n computed(() => \n notifications.value.filter(n => n.isOpen && n.position === position)\n );\n \n // Convenience methods for common notification types\n const success = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'success', ...options });\n \n const error = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'danger', ...options });\n \n const warning = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'warning', ...options });\n \n const info = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'info', ...options });\n \n const primary = (title: string, message?: string, options?: Partial<NotificationParams>) =>\n showNotification({ title, message, theme: 'primary', ...options });\n \n return {\n // State\n notifications: readonly(notifications),\n activeNotifications,\n getNotificationsByPosition,\n systemState: readonly(systemState),\n \n // Core methods\n showNotification,\n hideNotification,\n clearAllNotifications,\n clearNotificationsByPosition,\n \n // System controls\n pauseNotifications,\n resumeNotifications,\n updateStackConfig,\n bringToFront,\n executeAction,\n \n // Convenience methods\n success,\n error,\n warning,\n info,\n primary,\n };\n}\n\nexport default useNotifications;\n"],"names":["NOTIFICATION_HEIGHT_DEFAULT","NOTIFICATION_HEIGHT_COMPACT","NOTIFICATION_HEIGHT_EXPANDED","NOTIFICATION_SPACING","CARD_STACK_THRESHOLD","generateId","safeLower","val","fallback","maybeMessage","computeDedupeKey","n","t","m","th","p","defaultStackConfigs","notifications","ref","timeoutMap","systemState","getNotificationHeight","notification","baseHeight","getTimeoutByPriority","priority","customTimeout","recalculateOffsets","position","config","positionNotifications","a","b","priorityOrder","aPriority","bPriority","shouldUseCardStacking","index","height","timeoutId","useNotifications","showNotification","params","id","now","incomingKey","isSessionExpired","dedupeWindowMs","existingIdx","sameKey","windowMs","withinWindow","existing","yOffset","hideNotification","target","clearAllNotifications","clearNotificationsByPosition","pauseNotifications","resumeNotifications","updateStackConfig","bringToFront","notificationId","executeAction","action","activeNotifications","computed","getNotificationsByPosition","success","title","message","options","error","warning","info","primary","readonly"],"mappings":";AAgOA,MAAMA,IAA8B,IAC9BC,IAA8B,IAC9BC,IAA+B,KAC/BC,IAAuB,IACvBC,IAAuB,GAGvBC,IAAa,MAAM,gBAAgB,KAAK,IAAA,CAAK,IAAI,KAAK,OAAA,EAAS,SAAS,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,IAGvFC,IAAY,CAACC,GAAcC,IAAW,OAAe;AACzD,MAAI,OAAOD,KAAQ,SAAU,QAAOA,EAAI,YAAA;AACxC,MAAI;AACF,QAAIA,KAAO,OAAOA,KAAQ,UAAU;AAClC,YAAME,IAAgBF,EAAgC,WAAYA,EAAgC;AAClG,UAAI,OAAOE,KAAiB,SAAU,QAAOA,EAAa,YAAA;AAAA,IAC5D;AACA,WAAO,OAAOF,KAAOC,CAAQ,EAAE,YAAA;AAAA,EACjC,QAAQ;AACN,WAAO,OAAOA,CAAQ,EAAE,YAAA;AAAA,EAC1B;AACF,GAGME,IAAmB,CAACC,MAA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,GAAeC,GAAkBC,MAChD9B,EAAiB,EAAE,OAAA4B,GAAO,SAAAC,GAAS,OAAO,WAAW,GAAGC,GAAS,GAE7DC,IAAQ,CAACH,GAAeC,GAAkBC,MAC9C9B,EAAiB,EAAE,OAAA4B,GAAO,SAAAC,GAAS,OAAO,UAAU,GAAGC,GAAS,GAE5DE,IAAU,CAACJ,GAAeC,GAAkBC,MAChD9B,EAAiB,EAAE,OAAA4B,GAAO,SAAAC,GAAS,OAAO,WAAW,GAAGC,GAAS,GAE7DG,IAAO,CAACL,GAAeC,GAAkBC,MAC7C9B,EAAiB,EAAE,OAAA4B,GAAO,SAAAC,GAAS,OAAO,QAAQ,GAAGC,GAAS,GAE1DI,IAAU,CAACN,GAAeC,GAAkBC,MAChD9B,EAAiB,EAAE,OAAA4B,GAAO,SAAAC,GAAS,OAAO,WAAW,GAAGC,GAAS;AAEnE,SAAO;AAAA;AAAA,IAEL,eAAeK,EAAS3D,CAAa;AAAA,IACrC,qBAAAgD;AAAA,IACA,4BAAAE;AAAA,IACA,aAAaS,EAASxD,CAAW;AAAA;AAAA,IAGjC,kBAAAqB;AAAA,IACA,kBAAAa;AAAA,IACA,uBAAAE;AAAA,IACA,8BAAAC;AAAA;AAAA,IAGA,oBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAAE;AAAA;AAAA,IAGA,SAAAK;AAAA,IACA,OAAAI;AAAA,IACA,SAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC;AAAA,EAAA;AAEJ;"}
@@ -1 +1,2 @@
1
1
  export * from '../src/composables/useTabs'
2
+ export {}
@@ -1,3 +1,6 @@
1
1
  export * from '../src/composables/useTheme'
2
+ export {}
2
3
  import StachelockUI from '../src/composables/useTheme'
3
4
  export default StachelockUI
5
+ export * from '../src/composables/useTheme'
6
+ export {}
@@ -1,6 +1,6 @@
1
1
  import { watchEffect as j, ref as m, defineComponent as P, computed as f, onMounted as D, onUnmounted as L, h as E, Fragment as Ne, watch as W, shallowRef as He, provide as I, inject as k, getCurrentInstance as xe, Teleport as je, reactive as We, nextTick as Ie } from "vue";
2
2
  import { c as Ue } from "./env-BZfPsfnF.js";
3
- import { b as Ve, i as U, S as A, P as K, N as O, T as Ye, t as qe, w as Ge } from "./use-outside-click-DNDV36Sc.js";
3
+ import { b as Ve, i as U, S as A, P as K, N as O, T as Ye, t as qe, w as Ge } from "./use-outside-click-14T0Zn98.js";
4
4
  import { f as ee, u as te } from "./hidden-BSRluD1y.js";
5
5
  import { t as de } from "./active-element-history-BTBNVIJN.js";
6
6
  import { A as F, o as w, u as Q, i as V, N as ce } from "./render-QUUPyNjX.js";
@@ -496,4 +496,4 @@ export {
496
496
  Rt as V,
497
497
  Lt as Y
498
498
  };
499
- //# sourceMappingURL=dialog-B2WA4G25.js.map
499
+ //# sourceMappingURL=dialog-BJ2Ld8l3.js.map