@alfadocs/ui-kit 0.0.20 → 0.1.1

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 (549) hide show
  1. package/dist/_chunks/accordion-BJD1aM67.js +117 -0
  2. package/dist/_chunks/accordion-BJD1aM67.js.map +1 -0
  3. package/dist/_chunks/agenda-card-Bld47Eul.js +130 -0
  4. package/dist/_chunks/agenda-card-Bld47Eul.js.map +1 -0
  5. package/dist/_chunks/agenda-tray-D86cNIJ0.js +119 -0
  6. package/dist/_chunks/agenda-tray-D86cNIJ0.js.map +1 -0
  7. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js +379 -0
  8. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js.map +1 -0
  9. package/dist/_chunks/{alert-C5ud6CfE.js → alert-ETrF7Q8J.js} +51 -51
  10. package/dist/_chunks/alert-ETrF7Q8J.js.map +1 -0
  11. package/dist/_chunks/apexcharts-theme-BkSShpEy.js +48 -0
  12. package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +1 -0
  13. package/dist/_chunks/{app-frame-CmIUp9BD.js → app-frame-uq2Gy0vs.js} +37 -37
  14. package/dist/_chunks/app-frame-uq2Gy0vs.js.map +1 -0
  15. package/dist/_chunks/aspect-ratio-BqU4itGW.js +56 -0
  16. package/dist/_chunks/aspect-ratio-BqU4itGW.js.map +1 -0
  17. package/dist/_chunks/{audio-recorder-GkGNtW2X.js → audio-recorder-D2UEBF9B.js} +98 -98
  18. package/dist/_chunks/audio-recorder-D2UEBF9B.js.map +1 -0
  19. package/dist/_chunks/{audio-visualiser-CIO3yy23.js → audio-visualiser-B4u4goV5.js} +46 -46
  20. package/dist/_chunks/audio-visualiser-B4u4goV5.js.map +1 -0
  21. package/dist/_chunks/{autocomplete.agent-kb0nmr6F.js → autocomplete.agent-Bi6CiRKa.js} +111 -111
  22. package/dist/_chunks/autocomplete.agent-Bi6CiRKa.js.map +1 -0
  23. package/dist/_chunks/{avatar-BsV7vRA6.js → avatar-BAhxbDEu.js} +38 -38
  24. package/dist/_chunks/avatar-BAhxbDEu.js.map +1 -0
  25. package/dist/_chunks/badge-zDghajh8.js +104 -0
  26. package/dist/_chunks/badge-zDghajh8.js.map +1 -0
  27. package/dist/_chunks/{balance-cell-renderer-BQwN51rT.js → balance-cell-renderer-BGyvZWjB.js} +123 -124
  28. package/dist/_chunks/balance-cell-renderer-BGyvZWjB.js.map +1 -0
  29. package/dist/_chunks/{breadcrumb-DnO6eHSS.js → breadcrumb-pdUacgm1.js} +40 -40
  30. package/dist/_chunks/breadcrumb-pdUacgm1.js.map +1 -0
  31. package/dist/_chunks/button-DmiGFnNA.js +119 -0
  32. package/dist/_chunks/button-DmiGFnNA.js.map +1 -0
  33. package/dist/_chunks/{button-group-CI7LFxt3.js → button-group-BtTHSyU0.js} +24 -24
  34. package/dist/_chunks/button-group-BtTHSyU0.js.map +1 -0
  35. package/dist/_chunks/{calendar-BIXVzhkL.js → calendar-BkDeDTaX.js} +333 -290
  36. package/dist/_chunks/calendar-BkDeDTaX.js.map +1 -0
  37. package/dist/_chunks/card-DeItIBcV.js +158 -0
  38. package/dist/_chunks/card-DeItIBcV.js.map +1 -0
  39. package/dist/_chunks/{chart.agent-DkmVXNsI.js → chart.agent-BdS-_8MO.js} +66 -64
  40. package/dist/_chunks/chart.agent-BdS-_8MO.js.map +1 -0
  41. package/dist/_chunks/chat-container-Co8HpB64.js +174 -0
  42. package/dist/_chunks/chat-container-Co8HpB64.js.map +1 -0
  43. package/dist/_chunks/{chat-input-aphxDjZL.js → chat-input-3rstZhHR.js} +57 -57
  44. package/dist/_chunks/chat-input-3rstZhHR.js.map +1 -0
  45. package/dist/_chunks/{chat-message-CdJSD18D.js → chat-message-dDMVSYBs.js} +66 -66
  46. package/dist/_chunks/chat-message-dDMVSYBs.js.map +1 -0
  47. package/dist/_chunks/checkbox-DMzgtnqw.js +116 -0
  48. package/dist/_chunks/checkbox-DMzgtnqw.js.map +1 -0
  49. package/dist/_chunks/{checkbox-group-D1aqVI0-.js → checkbox-group-DBnIBRT_.js} +34 -34
  50. package/dist/_chunks/checkbox-group-DBnIBRT_.js.map +1 -0
  51. package/dist/_chunks/{collapsible-jBFm7Ah8.js → collapsible-DPGQnHZh.js} +16 -16
  52. package/dist/_chunks/collapsible-DPGQnHZh.js.map +1 -0
  53. package/dist/_chunks/{color-picker-CiotzQJF.js → color-picker-OKKF3Dww.js} +158 -158
  54. package/dist/_chunks/color-picker-OKKF3Dww.js.map +1 -0
  55. package/dist/_chunks/{combobox.agent-B6RwDSct.js → combobox.agent-CfeB-IZ1.js} +107 -107
  56. package/dist/_chunks/combobox.agent-CfeB-IZ1.js.map +1 -0
  57. package/dist/_chunks/{command-palette.agent-B87_OkmC.js → command-palette.agent-XLfSGHCL.js} +27 -27
  58. package/dist/_chunks/command-palette.agent-XLfSGHCL.js.map +1 -0
  59. package/dist/_chunks/{date-picker-CdPuI3dK.js → date-picker-DXx8oSJb.js} +5 -5
  60. package/dist/_chunks/{date-picker-CdPuI3dK.js.map → date-picker-DXx8oSJb.js.map} +1 -1
  61. package/dist/_chunks/{date-range-picker-DfK4cjln.js → date-range-picker-C3CbY__H.js} +29 -29
  62. package/dist/_chunks/{date-range-picker-DfK4cjln.js.map → date-range-picker-C3CbY__H.js.map} +1 -1
  63. package/dist/_chunks/{date-time-picker-CX_FMsLG.js → date-time-picker-Bn3FPeAc.js} +58 -58
  64. package/dist/_chunks/date-time-picker-Bn3FPeAc.js.map +1 -0
  65. package/dist/_chunks/description-list-B1CL3RTG.js +187 -0
  66. package/dist/_chunks/description-list-B1CL3RTG.js.map +1 -0
  67. package/dist/_chunks/{dialog.agent-B276rAQF.js → dialog.agent-D9WeIWi2.js} +39 -39
  68. package/dist/_chunks/dialog.agent-D9WeIWi2.js.map +1 -0
  69. package/dist/_chunks/dropdown-menu-BnVUeVG3.js +210 -0
  70. package/dist/_chunks/dropdown-menu-BnVUeVG3.js.map +1 -0
  71. package/dist/_chunks/{empty-state-DiG7vYBM.js → empty-state-DV96gCnp.js} +37 -37
  72. package/dist/_chunks/empty-state-DV96gCnp.js.map +1 -0
  73. package/dist/_chunks/{file-upload.agent-BMow5yDY.js → file-upload.agent-DYFnqdxw.js} +185 -185
  74. package/dist/_chunks/file-upload.agent-DYFnqdxw.js.map +1 -0
  75. package/dist/_chunks/{flag-ChP784EM.js → flag-C3BUEwHH.js} +14 -14
  76. package/dist/_chunks/{flag-ChP784EM.js.map → flag-C3BUEwHH.js.map} +1 -1
  77. package/dist/_chunks/floating-action-button-RigP2E7o.js +95 -0
  78. package/dist/_chunks/floating-action-button-RigP2E7o.js.map +1 -0
  79. package/dist/_chunks/form-field-DI5LY5aG.js +121 -0
  80. package/dist/_chunks/form-field-DI5LY5aG.js.map +1 -0
  81. package/dist/_chunks/freemium-paywall-D0GiUFOe.js +197 -0
  82. package/dist/_chunks/freemium-paywall-D0GiUFOe.js.map +1 -0
  83. package/dist/_chunks/{header-BpKaSL_v.js → header-CW2oRd5H.js} +111 -111
  84. package/dist/_chunks/header-CW2oRd5H.js.map +1 -0
  85. package/dist/_chunks/icon-button-C482ii4y.js +45 -0
  86. package/dist/_chunks/icon-button-C482ii4y.js.map +1 -0
  87. package/dist/_chunks/{icon-button-group-tERESY-n.js → icon-button-group-BnhkUWUg.js} +56 -56
  88. package/dist/_chunks/icon-button-group-BnhkUWUg.js.map +1 -0
  89. package/dist/_chunks/{kbd-0iPlQjgC.js → kbd-DTcIjYA7.js} +52 -52
  90. package/dist/_chunks/kbd-DTcIjYA7.js.map +1 -0
  91. package/dist/_chunks/{key-value-pair--Je59tAF.js → key-value-pair-DDhSYdDL.js} +26 -26
  92. package/dist/_chunks/key-value-pair-DDhSYdDL.js.map +1 -0
  93. package/dist/_chunks/leo-sidebar-gXXcGPKk.js +755 -0
  94. package/dist/_chunks/leo-sidebar-gXXcGPKk.js.map +1 -0
  95. package/dist/_chunks/{list-n8vI8Yvn.js → list-Cwe8mcmh.js} +96 -96
  96. package/dist/_chunks/list-Cwe8mcmh.js.map +1 -0
  97. package/dist/_chunks/live-region-COggO6x6.js +57 -0
  98. package/dist/_chunks/live-region-COggO6x6.js.map +1 -0
  99. package/dist/_chunks/{logo-UNWYb9p7.js → logo-3wrZGpwg.js} +29 -29
  100. package/dist/_chunks/logo-3wrZGpwg.js.map +1 -0
  101. package/dist/_chunks/{matrix-rain-Q7xTEpKu.js → matrix-rain-gsHqSvW7.js} +75 -75
  102. package/dist/_chunks/matrix-rain-gsHqSvW7.js.map +1 -0
  103. package/dist/_chunks/message-card-DID3cXUW.js +275 -0
  104. package/dist/_chunks/message-card-DID3cXUW.js.map +1 -0
  105. package/dist/_chunks/message-tray-CVMLBnVp.js +302 -0
  106. package/dist/_chunks/message-tray-CVMLBnVp.js.map +1 -0
  107. package/dist/_chunks/{multi-select.agent-Cf4pU636.js → multi-select.agent-BUKYZJfp.js} +126 -126
  108. package/dist/_chunks/multi-select.agent-BUKYZJfp.js.map +1 -0
  109. package/dist/_chunks/{navigation-menu-DBDsAmXc.js → navigation-menu-NjwxyshT.js} +68 -97
  110. package/dist/_chunks/navigation-menu-NjwxyshT.js.map +1 -0
  111. package/dist/_chunks/notification-card-BZ33fq8H.js +255 -0
  112. package/dist/_chunks/notification-card-BZ33fq8H.js.map +1 -0
  113. package/dist/_chunks/{notification-tray-CNWPuPZp.js → notification-tray-CnEd7B2q.js} +96 -96
  114. package/dist/_chunks/notification-tray-CnEd7B2q.js.map +1 -0
  115. package/dist/_chunks/{number-input-B1Th0DdC.js → number-input-D7rSa_ef.js} +73 -73
  116. package/dist/_chunks/number-input-D7rSa_ef.js.map +1 -0
  117. package/dist/_chunks/{otp-input-CmoBuZ4K.js → otp-input-C9R9sC74.js} +42 -42
  118. package/dist/_chunks/otp-input-C9R9sC74.js.map +1 -0
  119. package/dist/_chunks/{pagination.agent-B5KLDCMN.js → pagination.agent-D75FB6XP.js} +106 -106
  120. package/dist/_chunks/pagination.agent-D75FB6XP.js.map +1 -0
  121. package/dist/_chunks/{password-input-DnjNh-hQ.js → password-input-C6PvKyQV.js} +59 -59
  122. package/dist/_chunks/password-input-C6PvKyQV.js.map +1 -0
  123. package/dist/_chunks/{patient-shell-D0RaWDMR.js → patient-shell-CGsmI5LJ.js} +9 -9
  124. package/dist/_chunks/{patient-shell-D0RaWDMR.js.map → patient-shell-CGsmI5LJ.js.map} +1 -1
  125. package/dist/_chunks/{payment-form-Cf7U6r5L.js → payment-form-l3j-gA-t.js} +108 -108
  126. package/dist/_chunks/payment-form-l3j-gA-t.js.map +1 -0
  127. package/dist/_chunks/{pdf-viewer.agent-DXjgDItg.js → pdf-viewer.agent-DuGfSoep.js} +234 -233
  128. package/dist/_chunks/pdf-viewer.agent-DuGfSoep.js.map +1 -0
  129. package/dist/_chunks/{phone-input-C2dtIuxW.js → phone-input-ZWa_FU4R.js} +112 -112
  130. package/dist/_chunks/phone-input-ZWa_FU4R.js.map +1 -0
  131. package/dist/_chunks/{popover-D1woU9mP.js → popover-CMr1pTPO.js} +58 -58
  132. package/dist/_chunks/popover-CMr1pTPO.js.map +1 -0
  133. package/dist/_chunks/{privacy-lock-C1X42Sit.js → privacy-lock-DdpkKNM2.js} +37 -36
  134. package/dist/_chunks/privacy-lock-DdpkKNM2.js.map +1 -0
  135. package/dist/_chunks/{progress-DL3-izuO.js → progress-D4ELgHG3.js} +43 -43
  136. package/dist/_chunks/progress-D4ELgHG3.js.map +1 -0
  137. package/dist/_chunks/radio-B_gvGU29.js +106 -0
  138. package/dist/_chunks/radio-B_gvGU29.js.map +1 -0
  139. package/dist/_chunks/radio-group-Bn8Wt0yc.js +88 -0
  140. package/dist/_chunks/radio-group-Bn8Wt0yc.js.map +1 -0
  141. package/dist/_chunks/{react-day-picker-DQKDiJ37.js → react-day-picker-d0MHsyCj.js} +174 -174
  142. package/dist/_chunks/{react-day-picker-DQKDiJ37.js.map → react-day-picker-d0MHsyCj.js.map} +1 -1
  143. package/dist/_chunks/{resizable.agent-DVk_jJur.js → resizable.agent-DBpPGNdy.js} +122 -122
  144. package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +1 -0
  145. package/dist/_chunks/{rich-text-editor.agent-BOjF4Xao.js → rich-text-editor.agent-C1_E7_7t.js} +225 -225
  146. package/dist/_chunks/rich-text-editor.agent-C1_E7_7t.js.map +1 -0
  147. package/dist/_chunks/scroll-area-Ba99pJ_R.js +144 -0
  148. package/dist/_chunks/scroll-area-Ba99pJ_R.js.map +1 -0
  149. package/dist/_chunks/{search-bar-DgSOAajC.js → search-bar-VoTqJhRp.js} +131 -131
  150. package/dist/_chunks/search-bar-VoTqJhRp.js.map +1 -0
  151. package/dist/_chunks/search-input-D6rarD0_.js +197 -0
  152. package/dist/_chunks/search-input-D6rarD0_.js.map +1 -0
  153. package/dist/_chunks/select-DbxWF3O_.js +320 -0
  154. package/dist/_chunks/select-DbxWF3O_.js.map +1 -0
  155. package/dist/_chunks/{separator-DExI4amU.js → separator-BRQHi8s0.js} +17 -17
  156. package/dist/_chunks/separator-BRQHi8s0.js.map +1 -0
  157. package/dist/_chunks/sheet-DyWqluiS.js +188 -0
  158. package/dist/_chunks/sheet-DyWqluiS.js.map +1 -0
  159. package/dist/_chunks/sidebar-B52iGGNV.js +1076 -0
  160. package/dist/_chunks/sidebar-B52iGGNV.js.map +1 -0
  161. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js → sign-in-with-alfadocs-button-BU7MP5Hg.js} +4 -4
  162. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js.map → sign-in-with-alfadocs-button-BU7MP5Hg.js.map} +1 -1
  163. package/dist/_chunks/{signature-capture.agent-L_1_-zVR.js → signature-capture.agent-4htVctJ2.js} +163 -163
  164. package/dist/_chunks/signature-capture.agent-4htVctJ2.js.map +1 -0
  165. package/dist/_chunks/skeleton-ClO1v5GE.js +95 -0
  166. package/dist/_chunks/skeleton-ClO1v5GE.js.map +1 -0
  167. package/dist/_chunks/skip-link-CASJkBOe.js +68 -0
  168. package/dist/_chunks/skip-link-CASJkBOe.js.map +1 -0
  169. package/dist/_chunks/slider-n8JWpJvT.js +273 -0
  170. package/dist/_chunks/slider-n8JWpJvT.js.map +1 -0
  171. package/dist/_chunks/slot-grid-BRAkqChA.js +491 -0
  172. package/dist/_chunks/slot-grid-BRAkqChA.js.map +1 -0
  173. package/dist/_chunks/{sparkline.agent-BDTXzTy9.js → sparkline.agent-BLY1IMyW.js} +45 -45
  174. package/dist/_chunks/sparkline.agent-BLY1IMyW.js.map +1 -0
  175. package/dist/_chunks/{spinner-77xUGpuX.js → spinner-CoAOGcDa.js} +40 -40
  176. package/dist/_chunks/spinner-CoAOGcDa.js.map +1 -0
  177. package/dist/_chunks/stat-D76MNHzK.js +208 -0
  178. package/dist/_chunks/stat-D76MNHzK.js.map +1 -0
  179. package/dist/_chunks/{stepper-accordion-BkvqQWPI.js → stepper-accordion-DHQ80A4v.js} +33 -33
  180. package/dist/_chunks/stepper-accordion-DHQ80A4v.js.map +1 -0
  181. package/dist/_chunks/{stepper-calendar-BQMjrwzo.js → stepper-calendar-vtWwa2bY.js} +159 -159
  182. package/dist/_chunks/stepper-calendar-vtWwa2bY.js.map +1 -0
  183. package/dist/_chunks/stepper-progress-DMZ5w5VR.js +128 -0
  184. package/dist/_chunks/stepper-progress-DMZ5w5VR.js.map +1 -0
  185. package/dist/_chunks/streaming-text-D0cW8pwq.js +104 -0
  186. package/dist/_chunks/streaming-text-D0cW8pwq.js.map +1 -0
  187. package/dist/_chunks/suggestion-chip-BgNFpPEE.js +157 -0
  188. package/dist/_chunks/suggestion-chip-BgNFpPEE.js.map +1 -0
  189. package/dist/_chunks/switch-DtLPKO0p.js +137 -0
  190. package/dist/_chunks/switch-DtLPKO0p.js.map +1 -0
  191. package/dist/_chunks/{tabs.agent-FsGU3sZL.js → tabs.agent-BDUlyPbJ.js} +101 -101
  192. package/dist/_chunks/tabs.agent-BDUlyPbJ.js.map +1 -0
  193. package/dist/_chunks/tag-CfSZZN2f.js +194 -0
  194. package/dist/_chunks/tag-CfSZZN2f.js.map +1 -0
  195. package/dist/_chunks/task-card-B5xfiFg5.js +112 -0
  196. package/dist/_chunks/task-card-B5xfiFg5.js.map +1 -0
  197. package/dist/_chunks/task-tray-BnpiodZ4.js +99 -0
  198. package/dist/_chunks/task-tray-BnpiodZ4.js.map +1 -0
  199. package/dist/_chunks/text-area-BqbruBWx.js +152 -0
  200. package/dist/_chunks/text-area-BqbruBWx.js.map +1 -0
  201. package/dist/_chunks/text-input-lh6kRXZS.js +187 -0
  202. package/dist/_chunks/text-input-lh6kRXZS.js.map +1 -0
  203. package/dist/_chunks/theme-toggle-BHKMiORD.js +326 -0
  204. package/dist/_chunks/theme-toggle-BHKMiORD.js.map +1 -0
  205. package/dist/_chunks/{time-picker-BapZq0OY.js → time-picker-DbpAmPux.js} +102 -102
  206. package/dist/_chunks/time-picker-DbpAmPux.js.map +1 -0
  207. package/dist/_chunks/timeline-vjsUeuq1.js +219 -0
  208. package/dist/_chunks/timeline-vjsUeuq1.js.map +1 -0
  209. package/dist/_chunks/{timestamp-BLM-jjdw.js → timestamp-DmSt92P1.js} +30 -30
  210. package/dist/_chunks/timestamp-DmSt92P1.js.map +1 -0
  211. package/dist/_chunks/{toast-DSCqnDRl.js → toast-DllSITLf.js} +151 -151
  212. package/dist/_chunks/{toast-DSCqnDRl.js.map → toast-DllSITLf.js.map} +1 -1
  213. package/dist/_chunks/{tooltip-DF6WjD1r.js → tooltip-Dp3u8jGz.js} +30 -30
  214. package/dist/_chunks/tooltip-Dp3u8jGz.js.map +1 -0
  215. package/dist/_chunks/{tooth-scheme.agent-CFKl3iQr.js → tooth-scheme.agent-BRqxWa1D.js} +75 -75
  216. package/dist/_chunks/tooth-scheme.agent-BRqxWa1D.js.map +1 -0
  217. package/dist/_chunks/transcript-panel-Bg1BTMSr.js +265 -0
  218. package/dist/_chunks/transcript-panel-Bg1BTMSr.js.map +1 -0
  219. package/dist/_chunks/typing-indicator-BRg22Rqr.js +81 -0
  220. package/dist/_chunks/typing-indicator-BRg22Rqr.js.map +1 -0
  221. package/dist/_chunks/use-locale-BuXR_Zl9.js +32 -0
  222. package/dist/_chunks/use-locale-BuXR_Zl9.js.map +1 -0
  223. package/dist/_chunks/visually-hidden-Y3jcdCv-.js +21 -0
  224. package/dist/_chunks/visually-hidden-Y3jcdCv-.js.map +1 -0
  225. package/dist/_chunks/{warning-stack-Cyf_81SL.js → warning-stack-B9N9yWet.js} +38 -38
  226. package/dist/_chunks/warning-stack-B9N9yWet.js.map +1 -0
  227. package/dist/_chunks/{workflow-map-Uf-hHAO3.js → workflow-map-gBhL_Wrs.js} +385 -385
  228. package/dist/_chunks/workflow-map-gBhL_Wrs.js.map +1 -0
  229. package/dist/agent-catalog.json +1 -1
  230. package/dist/components/_shared/index.d.ts +2 -0
  231. package/dist/components/_shared/index.d.ts.map +1 -1
  232. package/dist/components/_shared/use-focus-trap.d.ts +32 -0
  233. package/dist/components/_shared/use-focus-trap.d.ts.map +1 -0
  234. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts +3 -0
  235. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +1 -0
  236. package/dist/components/accordion/index.js +1 -1
  237. package/dist/components/agenda-card/index.js +1 -1
  238. package/dist/components/agenda-tray/index.js +1 -1
  239. package/dist/components/ai-prompt-input/index.js +1 -1
  240. package/dist/components/alert/index.js +1 -1
  241. package/dist/components/app-frame/index.js +1 -1
  242. package/dist/components/aspect-ratio/index.js +1 -1
  243. package/dist/components/audio-recorder/index.js +1 -1
  244. package/dist/components/audio-visualiser/index.js +1 -1
  245. package/dist/components/autocomplete/index.js +1 -1
  246. package/dist/components/avatar/index.js +1 -1
  247. package/dist/components/badge/index.js +1 -1
  248. package/dist/components/breadcrumb/index.js +1 -1
  249. package/dist/components/button/index.js +2 -2
  250. package/dist/components/button-group/index.js +1 -1
  251. package/dist/components/calendar/calendar.d.ts.map +1 -1
  252. package/dist/components/calendar/index.js +1 -1
  253. package/dist/components/card/index.js +1 -1
  254. package/dist/components/chart/chart.d.ts.map +1 -1
  255. package/dist/components/chart/index.js +1 -1
  256. package/dist/components/chat-container/index.js +1 -1
  257. package/dist/components/chat-input/index.js +1 -1
  258. package/dist/components/chat-message/index.js +1 -1
  259. package/dist/components/checkbox/index.js +1 -1
  260. package/dist/components/checkbox-group/index.js +1 -1
  261. package/dist/components/collapsible/index.js +1 -1
  262. package/dist/components/color-picker/index.js +1 -1
  263. package/dist/components/combobox/index.js +1 -1
  264. package/dist/components/command-palette/index.js +1 -1
  265. package/dist/components/data-table/index.js +1 -1
  266. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  267. package/dist/components/date-picker/index.js +1 -1
  268. package/dist/components/date-range-picker/index.js +1 -1
  269. package/dist/components/date-time-picker/index.js +1 -1
  270. package/dist/components/description-list/index.js +1 -1
  271. package/dist/components/dialog/index.js +1 -1
  272. package/dist/components/dropdown-menu/index.js +1 -1
  273. package/dist/components/empty-state/index.js +1 -1
  274. package/dist/components/file-upload/index.js +1 -1
  275. package/dist/components/flag/index.js +1 -1
  276. package/dist/components/floating-action-button/index.js +1 -1
  277. package/dist/components/form-field/index.js +1 -1
  278. package/dist/components/freemium-paywall/index.js +1 -1
  279. package/dist/components/header/index.js +1 -1
  280. package/dist/components/icon-button/index.d.ts +3 -0
  281. package/dist/components/icon-button/index.d.ts.map +1 -0
  282. package/dist/components/icon-button/index.js +5 -0
  283. package/dist/components/icon-button/index.js.map +1 -0
  284. package/dist/components/icon-button-group/index.js +1 -1
  285. package/dist/components/index.d.ts +8 -2
  286. package/dist/components/index.d.ts.map +1 -1
  287. package/dist/components/kbd/index.js +1 -1
  288. package/dist/components/key-value-pair/index.js +1 -1
  289. package/dist/components/list/index.js +1 -1
  290. package/dist/components/live-region/index.d.ts +3 -0
  291. package/dist/components/live-region/index.d.ts.map +1 -0
  292. package/dist/components/live-region/index.js +5 -0
  293. package/dist/components/live-region/index.js.map +1 -0
  294. package/dist/components/live-region/live-region.d.ts +49 -0
  295. package/dist/components/live-region/live-region.d.ts.map +1 -0
  296. package/dist/components/logo/index.js +1 -1
  297. package/dist/components/matrix-rain/index.js +1 -1
  298. package/dist/components/message-card/index.js +1 -1
  299. package/dist/components/message-tray/index.js +1 -1
  300. package/dist/components/multi-select/index.js +1 -1
  301. package/dist/components/navigation-menu/index.d.ts +4 -2
  302. package/dist/components/navigation-menu/index.d.ts.map +1 -1
  303. package/dist/components/navigation-menu/index.js +3 -2
  304. package/dist/components/navigation-menu/index.js.map +1 -1
  305. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -6
  306. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  307. package/dist/components/notification-card/index.js +1 -1
  308. package/dist/components/notification-tray/index.js +1 -1
  309. package/dist/components/number-input/index.js +1 -1
  310. package/dist/components/otp-input/index.js +1 -1
  311. package/dist/components/pagination/index.js +1 -1
  312. package/dist/components/password-input/index.js +1 -1
  313. package/dist/components/payment-form/index.js +1 -1
  314. package/dist/components/pdf-viewer/index.js +1 -1
  315. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  316. package/dist/components/phone-input/index.js +1 -1
  317. package/dist/components/popover/index.js +1 -1
  318. package/dist/components/privacy-lock/index.js +1 -1
  319. package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -1
  320. package/dist/components/progress/index.js +1 -1
  321. package/dist/components/radio/index.d.ts +3 -0
  322. package/dist/components/radio/index.d.ts.map +1 -0
  323. package/dist/components/radio/index.js +5 -0
  324. package/dist/components/radio/index.js.map +1 -0
  325. package/dist/components/radio-group/index.js +4 -3
  326. package/dist/components/radio-group/index.js.map +1 -1
  327. package/dist/components/resizable/index.js +1 -1
  328. package/dist/components/rich-text-editor/index.js +1 -1
  329. package/dist/components/scroll-area/index.js +1 -1
  330. package/dist/components/search-bar/index.js +1 -1
  331. package/dist/components/search-input/index.js +1 -1
  332. package/dist/components/select/index.js +1 -1
  333. package/dist/components/separator/index.js +1 -1
  334. package/dist/components/sheet/index.js +1 -1
  335. package/dist/components/sidebar/index.js +1 -1
  336. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  337. package/dist/components/signature-capture/index.js +1 -1
  338. package/dist/components/skeleton/index.js +1 -1
  339. package/dist/components/skip-link/index.d.ts +2 -0
  340. package/dist/components/skip-link/index.d.ts.map +1 -0
  341. package/dist/components/skip-link/index.js +5 -0
  342. package/dist/components/skip-link/index.js.map +1 -0
  343. package/dist/components/skip-link/skip-link.d.ts +34 -0
  344. package/dist/components/skip-link/skip-link.d.ts.map +1 -0
  345. package/dist/components/slider/index.js +1 -1
  346. package/dist/components/slot-grid/index.js +1 -1
  347. package/dist/components/sparkline/index.js +1 -1
  348. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  349. package/dist/components/spinner/index.js +1 -1
  350. package/dist/components/stat/index.js +1 -1
  351. package/dist/components/stepper-accordion/index.js +1 -1
  352. package/dist/components/stepper-calendar/index.js +1 -1
  353. package/dist/components/stepper-progress/index.js +1 -1
  354. package/dist/components/streaming-text/index.js +1 -1
  355. package/dist/components/suggestion-chip/index.js +1 -1
  356. package/dist/components/switch/index.js +1 -1
  357. package/dist/components/tabs/index.js +1 -1
  358. package/dist/components/tag/index.js +1 -1
  359. package/dist/components/task-card/index.js +1 -1
  360. package/dist/components/task-tray/index.js +1 -1
  361. package/dist/components/text-area/index.js +1 -1
  362. package/dist/components/text-input/index.js +1 -1
  363. package/dist/components/theme-toggle/index.d.ts +3 -0
  364. package/dist/components/theme-toggle/index.d.ts.map +1 -0
  365. package/dist/components/theme-toggle/index.js +5 -0
  366. package/dist/components/theme-toggle/index.js.map +1 -0
  367. package/dist/components/theme-toggle/theme-toggle.d.ts +34 -0
  368. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -0
  369. package/dist/components/time-picker/index.js +1 -1
  370. package/dist/components/timeline/index.js +1 -1
  371. package/dist/components/timestamp/index.js +1 -1
  372. package/dist/components/toast/index.js +1 -1
  373. package/dist/components/tooltip/index.js +1 -1
  374. package/dist/components/tooth-scheme/index.js +1 -1
  375. package/dist/components/transcript-panel/index.js +1 -1
  376. package/dist/components/typing-indicator/index.js +1 -1
  377. package/dist/components/visually-hidden/index.d.ts +2 -0
  378. package/dist/components/visually-hidden/index.d.ts.map +1 -0
  379. package/dist/components/visually-hidden/index.js +5 -0
  380. package/dist/components/visually-hidden/index.js.map +1 -0
  381. package/dist/components/visually-hidden/visually-hidden.d.ts +11 -0
  382. package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  383. package/dist/components/warning-stack/index.js +1 -1
  384. package/dist/components/workflow/index.js +1 -1
  385. package/dist/hooks/index.d.ts +3 -0
  386. package/dist/hooks/index.d.ts.map +1 -1
  387. package/dist/hooks/index.js +10 -7
  388. package/dist/hooks/index.js.map +1 -1
  389. package/dist/hooks/use-locale.d.ts +27 -0
  390. package/dist/hooks/use-locale.d.ts.map +1 -0
  391. package/dist/hooks/use-media-query.d.ts +17 -0
  392. package/dist/hooks/use-media-query.d.ts.map +1 -0
  393. package/dist/i18n/config.js +59 -2
  394. package/dist/i18n/config.js.map +1 -1
  395. package/dist/i18n/resources.d.ts +57 -0
  396. package/dist/i18n/resources.d.ts.map +1 -1
  397. package/dist/index.js +442 -431
  398. package/dist/index.js.map +1 -1
  399. package/dist/locales/de.json +19 -0
  400. package/dist/locales/en.json +19 -0
  401. package/dist/locales/it.json +19 -0
  402. package/dist/patterns/leo-assistant/index.js +1 -1
  403. package/dist/patterns/patient-shell/index.js +1 -1
  404. package/dist/tokens.css +2 -2
  405. package/package.json +4 -2
  406. package/dist/_chunks/accordion-Dgcd38U_.js +0 -117
  407. package/dist/_chunks/accordion-Dgcd38U_.js.map +0 -1
  408. package/dist/_chunks/agenda-card-B2gq-gTq.js +0 -130
  409. package/dist/_chunks/agenda-card-B2gq-gTq.js.map +0 -1
  410. package/dist/_chunks/agenda-tray-twa8g_87.js +0 -119
  411. package/dist/_chunks/agenda-tray-twa8g_87.js.map +0 -1
  412. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +0 -379
  413. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +0 -1
  414. package/dist/_chunks/alert-C5ud6CfE.js.map +0 -1
  415. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +0 -17
  416. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +0 -1
  417. package/dist/_chunks/app-frame-CmIUp9BD.js.map +0 -1
  418. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +0 -56
  419. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +0 -1
  420. package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +0 -1
  421. package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +0 -1
  422. package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +0 -1
  423. package/dist/_chunks/avatar-BsV7vRA6.js.map +0 -1
  424. package/dist/_chunks/badge--CmSr7ok.js +0 -104
  425. package/dist/_chunks/badge--CmSr7ok.js.map +0 -1
  426. package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +0 -1
  427. package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +0 -1
  428. package/dist/_chunks/button-CXL8bA8G.js +0 -119
  429. package/dist/_chunks/button-CXL8bA8G.js.map +0 -1
  430. package/dist/_chunks/button-group-CI7LFxt3.js.map +0 -1
  431. package/dist/_chunks/calendar-BIXVzhkL.js.map +0 -1
  432. package/dist/_chunks/card-n97MNPP2.js +0 -158
  433. package/dist/_chunks/card-n97MNPP2.js.map +0 -1
  434. package/dist/_chunks/chart.agent-DkmVXNsI.js.map +0 -1
  435. package/dist/_chunks/chat-container-SR3UWxbL.js +0 -174
  436. package/dist/_chunks/chat-container-SR3UWxbL.js.map +0 -1
  437. package/dist/_chunks/chat-input-aphxDjZL.js.map +0 -1
  438. package/dist/_chunks/chat-message-CdJSD18D.js.map +0 -1
  439. package/dist/_chunks/checkbox-CfiZ0FZc.js +0 -116
  440. package/dist/_chunks/checkbox-CfiZ0FZc.js.map +0 -1
  441. package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +0 -1
  442. package/dist/_chunks/collapsible-jBFm7Ah8.js.map +0 -1
  443. package/dist/_chunks/color-picker-CiotzQJF.js.map +0 -1
  444. package/dist/_chunks/combobox.agent-B6RwDSct.js.map +0 -1
  445. package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +0 -1
  446. package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +0 -1
  447. package/dist/_chunks/description-list-C5UPZgX6.js +0 -187
  448. package/dist/_chunks/description-list-C5UPZgX6.js.map +0 -1
  449. package/dist/_chunks/dialog.agent-B276rAQF.js.map +0 -1
  450. package/dist/_chunks/dropdown-menu-CJKvK7VG.js +0 -210
  451. package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +0 -1
  452. package/dist/_chunks/empty-state-DiG7vYBM.js.map +0 -1
  453. package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +0 -1
  454. package/dist/_chunks/floating-action-button-BM9ib-Wf.js +0 -95
  455. package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +0 -1
  456. package/dist/_chunks/form-field-B4bwrccN.js +0 -121
  457. package/dist/_chunks/form-field-B4bwrccN.js.map +0 -1
  458. package/dist/_chunks/freemium-paywall-DVyNsQHS.js +0 -197
  459. package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +0 -1
  460. package/dist/_chunks/header-BpKaSL_v.js.map +0 -1
  461. package/dist/_chunks/icon-button-C1vpylg3.js +0 -45
  462. package/dist/_chunks/icon-button-C1vpylg3.js.map +0 -1
  463. package/dist/_chunks/icon-button-group-tERESY-n.js.map +0 -1
  464. package/dist/_chunks/kbd-0iPlQjgC.js.map +0 -1
  465. package/dist/_chunks/key-value-pair--Je59tAF.js.map +0 -1
  466. package/dist/_chunks/leo-sidebar-9A9AWBxX.js +0 -755
  467. package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +0 -1
  468. package/dist/_chunks/list-n8vI8Yvn.js.map +0 -1
  469. package/dist/_chunks/logo-UNWYb9p7.js.map +0 -1
  470. package/dist/_chunks/matrix-rain-Q7xTEpKu.js.map +0 -1
  471. package/dist/_chunks/message-card-g5VS5Q80.js +0 -275
  472. package/dist/_chunks/message-card-g5VS5Q80.js.map +0 -1
  473. package/dist/_chunks/message-tray-CAk-iibU.js +0 -302
  474. package/dist/_chunks/message-tray-CAk-iibU.js.map +0 -1
  475. package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +0 -1
  476. package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +0 -1
  477. package/dist/_chunks/notification-card-CQxJporb.js +0 -255
  478. package/dist/_chunks/notification-card-CQxJporb.js.map +0 -1
  479. package/dist/_chunks/notification-tray-CNWPuPZp.js.map +0 -1
  480. package/dist/_chunks/number-input-B1Th0DdC.js.map +0 -1
  481. package/dist/_chunks/otp-input-CmoBuZ4K.js.map +0 -1
  482. package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +0 -1
  483. package/dist/_chunks/password-input-DnjNh-hQ.js.map +0 -1
  484. package/dist/_chunks/payment-form-Cf7U6r5L.js.map +0 -1
  485. package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +0 -1
  486. package/dist/_chunks/phone-input-C2dtIuxW.js.map +0 -1
  487. package/dist/_chunks/popover-D1woU9mP.js.map +0 -1
  488. package/dist/_chunks/privacy-lock-C1X42Sit.js.map +0 -1
  489. package/dist/_chunks/progress-DL3-izuO.js.map +0 -1
  490. package/dist/_chunks/radio-group-CXN9qNPe.js +0 -185
  491. package/dist/_chunks/radio-group-CXN9qNPe.js.map +0 -1
  492. package/dist/_chunks/resizable.agent-DVk_jJur.js.map +0 -1
  493. package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +0 -1
  494. package/dist/_chunks/scroll-area-DXn-YWHY.js +0 -144
  495. package/dist/_chunks/scroll-area-DXn-YWHY.js.map +0 -1
  496. package/dist/_chunks/search-bar-DgSOAajC.js.map +0 -1
  497. package/dist/_chunks/search-input-D4tC_Prn.js +0 -197
  498. package/dist/_chunks/search-input-D4tC_Prn.js.map +0 -1
  499. package/dist/_chunks/select-B4m4upMg.js +0 -320
  500. package/dist/_chunks/select-B4m4upMg.js.map +0 -1
  501. package/dist/_chunks/separator-DExI4amU.js.map +0 -1
  502. package/dist/_chunks/sheet-D6XOx0fK.js +0 -188
  503. package/dist/_chunks/sheet-D6XOx0fK.js.map +0 -1
  504. package/dist/_chunks/sidebar-r645O-k9.js +0 -1076
  505. package/dist/_chunks/sidebar-r645O-k9.js.map +0 -1
  506. package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +0 -1
  507. package/dist/_chunks/skeleton-vbTWUntB.js +0 -95
  508. package/dist/_chunks/skeleton-vbTWUntB.js.map +0 -1
  509. package/dist/_chunks/slider-B3DBwmcm.js +0 -273
  510. package/dist/_chunks/slider-B3DBwmcm.js.map +0 -1
  511. package/dist/_chunks/slot-grid-DL_Tuj0p.js +0 -491
  512. package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +0 -1
  513. package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +0 -1
  514. package/dist/_chunks/spinner-77xUGpuX.js.map +0 -1
  515. package/dist/_chunks/stat-CrumvZWf.js +0 -208
  516. package/dist/_chunks/stat-CrumvZWf.js.map +0 -1
  517. package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +0 -1
  518. package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +0 -1
  519. package/dist/_chunks/stepper-progress-Bwfl-0rV.js +0 -128
  520. package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +0 -1
  521. package/dist/_chunks/streaming-text-Cu9YQe_1.js +0 -104
  522. package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +0 -1
  523. package/dist/_chunks/suggestion-chip-XkxDJiPW.js +0 -157
  524. package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +0 -1
  525. package/dist/_chunks/switch-DyC0ThNT.js +0 -137
  526. package/dist/_chunks/switch-DyC0ThNT.js.map +0 -1
  527. package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +0 -1
  528. package/dist/_chunks/tag-BucAvfTX.js +0 -194
  529. package/dist/_chunks/tag-BucAvfTX.js.map +0 -1
  530. package/dist/_chunks/task-card-uxjApfcg.js +0 -112
  531. package/dist/_chunks/task-card-uxjApfcg.js.map +0 -1
  532. package/dist/_chunks/task-tray-BdfM3p8N.js +0 -99
  533. package/dist/_chunks/task-tray-BdfM3p8N.js.map +0 -1
  534. package/dist/_chunks/text-area-CKxZ7cS3.js +0 -152
  535. package/dist/_chunks/text-area-CKxZ7cS3.js.map +0 -1
  536. package/dist/_chunks/text-input-D16CcMlL.js +0 -187
  537. package/dist/_chunks/text-input-D16CcMlL.js.map +0 -1
  538. package/dist/_chunks/time-picker-BapZq0OY.js.map +0 -1
  539. package/dist/_chunks/timeline-D3VOf4RT.js +0 -219
  540. package/dist/_chunks/timeline-D3VOf4RT.js.map +0 -1
  541. package/dist/_chunks/timestamp-BLM-jjdw.js.map +0 -1
  542. package/dist/_chunks/tooltip-DF6WjD1r.js.map +0 -1
  543. package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +0 -1
  544. package/dist/_chunks/transcript-panel-aI14fHYA.js +0 -265
  545. package/dist/_chunks/transcript-panel-aI14fHYA.js.map +0 -1
  546. package/dist/_chunks/typing-indicator-BTVDEpnd.js +0 -81
  547. package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +0 -1
  548. package/dist/_chunks/warning-stack-Cyf_81SL.js.map +0 -1
  549. package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +0 -1
@@ -1,23 +1,23 @@
1
- import { jsx as t, jsxs as d, Fragment as fe } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as c, Fragment as fe } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useMemo as V, useRef as B, useCallback as K, useEffect as me } from "react";
3
3
  import { c as L } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
- import { C as _ } from "./card-n97MNPP2.js";
6
- import { B as pe } from "./badge--CmSr7ok.js";
7
- import { K as G } from "./key-value-pair--Je59tAF.js";
8
- import { T as he } from "./timestamp-BLM-jjdw.js";
9
- import { I as M } from "./icon-button-C1vpylg3.js";
5
+ import { C as _ } from "./card-DeItIBcV.js";
6
+ import { B as pe } from "./badge-zDghajh8.js";
7
+ import { K as G } from "./key-value-pair-DDhSYdDL.js";
8
+ import { T as he } from "./timestamp-DmSt92P1.js";
9
+ import { I as M } from "./icon-button-C482ii4y.js";
10
10
  import { c as C } from "./createLucideIcon-CrFbzy84.js";
11
11
  import { C as ve } from "./circle-BkqTgYmt.js";
12
- import { A as W } from "./alert-C5ud6CfE.js";
13
- import { B as we } from "./button-CXL8bA8G.js";
14
- import { D as N } from "./dropdown-menu-CJKvK7VG.js";
15
- import { E as T } from "./empty-state-DiG7vYBM.js";
12
+ import { A as W } from "./alert-ETrF7Q8J.js";
13
+ import { B as we } from "./button-DmiGFnNA.js";
14
+ import { D as N } from "./dropdown-menu-BnVUeVG3.js";
15
+ import { E as T } from "./empty-state-DV96gCnp.js";
16
16
  import { P as ee } from "./plus-CYKNmfuA.js";
17
17
  import { G as te } from "./globe-BkEFMNSg.js";
18
- import { S as re } from "./square-check-big-Jr-0202D.js";
19
- import { M as ae } from "./mail-C8irm52s.js";
20
- import { C as oe } from "./clock-21AGPWJ5.js";
18
+ import { S as se } from "./square-check-big-Jr-0202D.js";
19
+ import { M as re } from "./mail-C8irm52s.js";
20
+ import { C as ae } from "./clock-21AGPWJ5.js";
21
21
  import { C as ye } from "./chevron-up-zOEDrmBB.js";
22
22
  import { C as be } from "./chevron-down-BX_NP2Yh.js";
23
23
  import { C as ge } from "./check-DPdL_Sm7.js";
@@ -75,7 +75,7 @@ const ze = [
75
75
  key: "1sd12s"
76
76
  }
77
77
  ]
78
- ], ne = C("message-circle", ze);
78
+ ], oe = C("message-circle", ze);
79
79
  /**
80
80
  * @license lucide-react v1.8.0 - ISC
81
81
  *
@@ -123,7 +123,7 @@ const Ie = [
123
123
  const Le = [
124
124
  ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
125
125
  ["path", { d: "M12 18h.01", key: "mhygvu" }]
126
- ], ie = C("smartphone", Le);
126
+ ], ne = C("smartphone", Le);
127
127
  /**
128
128
  * @license lucide-react v1.8.0 - ISC
129
129
  *
@@ -136,7 +136,7 @@ const De = [
136
136
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
137
137
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
138
138
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
139
- ], se = C("trash-2", De);
139
+ ], ie = C("trash-2", De);
140
140
  /**
141
141
  * @license lucide-react v1.8.0 - ISC
142
142
  *
@@ -155,7 +155,7 @@ const Ee = [
155
155
  ["path", { d: "m20.772 16.148.924.383", key: "1g6xey" }],
156
156
  ["circle", { cx: "18", cy: "15", r: "3", key: "gjjjvw" }],
157
157
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
158
- ], le = C("user-cog", Ee), Be = L("relative w-full", {
158
+ ], de = C("user-cog", Ee), Be = L("ds:relative ds:w-full", {
159
159
  variants: {
160
160
  density: {
161
161
  comfortable: "",
@@ -171,7 +171,7 @@ function Ke(e) {
171
171
  case "active":
172
172
  return {
173
173
  badgeVariant: "success",
174
- icon: /* @__PURE__ */ t(ve, { className: "fill-current", "aria-hidden": "true" })
174
+ icon: /* @__PURE__ */ t(ve, { className: "ds:fill-current", "aria-hidden": "true" })
175
175
  };
176
176
  case "paused":
177
177
  return {
@@ -188,126 +188,126 @@ function Ke(e) {
188
188
  }
189
189
  const $e = P(
190
190
  function({
191
- workflow: r,
192
- density: a = "comfortable",
193
- onView: o,
194
- onEdit: l,
195
- onDelete: i,
196
- onToggleActive: n,
191
+ workflow: s,
192
+ density: r = "comfortable",
193
+ onView: a,
194
+ onEdit: d,
195
+ onDelete: n,
196
+ onToggleActive: o,
197
197
  className: p
198
198
  }, m) {
199
- const { t: u } = z(), s = Ke(r.status), c = r.status === "active", y = a === "compact", h = (v) => (g) => {
199
+ const { t: u } = z(), i = Ke(s.status), l = s.status === "active", y = r === "compact", h = (v) => (g) => {
200
200
  g.stopPropagation(), v == null || v();
201
201
  }, k = /* @__PURE__ */ t(
202
202
  pe,
203
203
  {
204
- variant: s.badgeVariant,
205
- leading: s.icon,
204
+ variant: i.badgeVariant,
205
+ leading: i.icon,
206
206
  withDot: !1,
207
- children: u(`workflow.status.${r.status}`)
207
+ children: u(`workflow.status.${s.status}`)
208
208
  }
209
209
  ), x = u("workflow.card.activeEnrollments");
210
- return /* @__PURE__ */ d(
210
+ return /* @__PURE__ */ c(
211
211
  _,
212
212
  {
213
213
  ref: m,
214
214
  variant: "default",
215
- className: Be({ density: a, className: p }),
215
+ className: Be({ density: r, className: p }),
216
216
  children: [
217
- /* @__PURE__ */ t(_.Header, { children: /* @__PURE__ */ d("div", { className: "flex items-start justify-between gap-[var(--spacing-sm)]", children: [
218
- /* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-xs)]", children: [
219
- /* @__PURE__ */ t("h3", { className: "m-0 type-title-card text-[color:var(--foreground)] [overflow-wrap:anywhere] break-words", children: o ? /* @__PURE__ */ t(
217
+ /* @__PURE__ */ t(_.Header, { children: /* @__PURE__ */ c("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
218
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
219
+ /* @__PURE__ */ t("h3", { className: "ds:m-0 type-title-card ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: a ? /* @__PURE__ */ t(
220
220
  "button",
221
221
  {
222
222
  type: "button",
223
- onClick: () => o(r.id),
223
+ onClick: () => a(s.id),
224
224
  className: [
225
- "text-start font-inherit text-inherit",
225
+ "ds:text-start ds:font-inherit ds:text-inherit",
226
226
  // Inset overlay that turns the whole card into a
227
227
  // click target without nesting buttons. The
228
228
  // IconButton cluster in the footer paints above
229
229
  // this pseudo via `position: relative` + z-10.
230
- 'after:absolute after:inset-0 after:content-[""]',
231
- "after:rounded-[var(--radius-lg)]",
232
- "focus-visible:outline-none",
233
- "focus-visible:after:outline-[length:var(--focus-ring-width)]",
234
- "focus-visible:after:outline-solid",
235
- "focus-visible:after:outline-[color:var(--ring)]",
236
- "focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]"
230
+ 'ds:after:absolute ds:after:inset-0 ds:after:content-[""]',
231
+ "ds:after:rounded-[var(--radius-lg)]",
232
+ "ds:focus-visible:outline-none",
233
+ "ds:focus-visible:after:outline-[length:var(--focus-ring-width)]",
234
+ "ds:focus-visible:after:outline-solid",
235
+ "ds:focus-visible:after:outline-[color:var(--ring)]",
236
+ "ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]"
237
237
  ].join(" "),
238
- children: r.name
238
+ children: s.name
239
239
  }
240
- ) : r.name }),
241
- y && /* @__PURE__ */ d("span", { className: "flex items-baseline gap-[var(--spacing-xs)] type-body-sm text-[color:var(--muted-foreground)]", children: [
240
+ ) : s.name }),
241
+ y && /* @__PURE__ */ c("span", { className: "ds:flex ds:items-baseline ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
242
242
  /* @__PURE__ */ t("span", { children: x }),
243
- /* @__PURE__ */ t("span", { className: "font-medium text-[color:var(--foreground)]", children: r.stats.activeEnrollments })
243
+ /* @__PURE__ */ t("span", { className: "ds:font-medium ds:text-[color:var(--foreground)]", children: s.stats.activeEnrollments })
244
244
  ] })
245
245
  ] }),
246
- /* @__PURE__ */ t("div", { className: "shrink-0", children: k })
246
+ /* @__PURE__ */ t("div", { className: "ds:shrink-0", children: k })
247
247
  ] }) }),
248
- !y && /* @__PURE__ */ d(_.Body, { className: "flex flex-col gap-[var(--spacing-sm)]", children: [
248
+ !y && /* @__PURE__ */ c(_.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
249
249
  /* @__PURE__ */ t(
250
250
  G,
251
251
  {
252
252
  label: u("workflow.card.activeEnrollments"),
253
- value: r.stats.activeEnrollments
253
+ value: s.stats.activeEnrollments
254
254
  }
255
255
  ),
256
256
  /* @__PURE__ */ t(
257
257
  G,
258
258
  {
259
259
  label: u("workflow.card.totalEnrollments"),
260
- value: r.stats.totalEnrollments
260
+ value: s.stats.totalEnrollments
261
261
  }
262
262
  )
263
263
  ] }),
264
- /* @__PURE__ */ d(_.Footer, { className: "flex-wrap items-center justify-between gap-[var(--spacing-sm)]", children: [
265
- /* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-xs)] type-body-sm text-[color:var(--muted-foreground)]", children: [
266
- /* @__PURE__ */ t("span", { className: "truncate", title: r.createdBy, children: u("workflow.createdBy", { name: r.createdBy }) }),
267
- r.updatedAt && /* @__PURE__ */ t(
264
+ /* @__PURE__ */ c(_.Footer, { className: "ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
265
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)] type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
266
+ /* @__PURE__ */ t("span", { className: "ds:truncate", title: s.createdBy, children: u("workflow.createdBy", { name: s.createdBy }) }),
267
+ s.updatedAt && /* @__PURE__ */ t(
268
268
  he,
269
269
  {
270
- value: r.updatedAt,
270
+ value: s.updatedAt,
271
271
  format: "absolute",
272
272
  shape: "bare",
273
273
  absoluteFormat: { dateStyle: "medium" },
274
- className: "truncate"
274
+ className: "ds:truncate"
275
275
  }
276
276
  )
277
277
  ] }),
278
- /* @__PURE__ */ d("div", { className: "relative z-10 flex shrink-0 items-center gap-[var(--spacing-xs)] ms-auto", children: [
279
- l && /* @__PURE__ */ t(
278
+ /* @__PURE__ */ c("div", { className: "ds:relative ds:z-10 ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto", children: [
279
+ d && /* @__PURE__ */ t(
280
280
  M,
281
281
  {
282
282
  icon: /* @__PURE__ */ t(O, {}),
283
283
  size: "sm",
284
284
  intent: "ghost",
285
285
  "aria-label": u("workflow.card.edit"),
286
- onClick: h(() => l(r.id))
286
+ onClick: h(() => d(s.id))
287
287
  }
288
288
  ),
289
- n && /* @__PURE__ */ t(
289
+ o && /* @__PURE__ */ t(
290
290
  M,
291
291
  {
292
- icon: c ? /* @__PURE__ */ t(Ae, {}) : /* @__PURE__ */ t(Te, {}),
292
+ icon: l ? /* @__PURE__ */ t(Ae, {}) : /* @__PURE__ */ t(Te, {}),
293
293
  size: "sm",
294
294
  intent: "ghost",
295
295
  "aria-label": u(
296
- c ? "workflow.card.deactivate" : "workflow.card.activate"
296
+ l ? "workflow.card.deactivate" : "workflow.card.activate"
297
297
  ),
298
298
  onClick: h(
299
- () => n(r.id, !c)
299
+ () => o(s.id, !l)
300
300
  )
301
301
  }
302
302
  ),
303
- i && /* @__PURE__ */ t(
303
+ n && /* @__PURE__ */ t(
304
304
  M,
305
305
  {
306
- icon: /* @__PURE__ */ t(se, {}),
306
+ icon: /* @__PURE__ */ t(ie, {}),
307
307
  size: "sm",
308
308
  intent: "destructive",
309
309
  "aria-label": u("workflow.card.delete"),
310
- onClick: h(() => i(r.id))
310
+ onClick: h(() => n(s.id))
311
311
  }
312
312
  )
313
313
  ] })
@@ -320,85 +320,85 @@ const $e = P(
320
320
  $e.displayName = "WorkflowCard";
321
321
  function H(e) {
322
322
  if (e.nodes.length === 0) return [];
323
- const r = e.edges.filter(
324
- (s) => s.condition == null
325
- ), a = new Set(r.map((s) => s.to)), l = e.nodes.filter((s) => !a.has(s.id))[0] ?? e.nodes[0], i = new Map(e.nodes.map((s) => [s.id, s])), n = /* @__PURE__ */ new Map();
326
- for (const s of r) {
327
- const c = n.get(s.from) ?? [];
328
- c.push(s), n.set(s.from, c);
323
+ const s = e.edges.filter(
324
+ (i) => i.condition == null
325
+ ), r = new Set(s.map((i) => i.to)), d = e.nodes.filter((i) => !r.has(i.id))[0] ?? e.nodes[0], n = new Map(e.nodes.map((i) => [i.id, i])), o = /* @__PURE__ */ new Map();
326
+ for (const i of s) {
327
+ const l = o.get(i.from) ?? [];
328
+ l.push(i), o.set(i.from, l);
329
329
  }
330
330
  const p = /* @__PURE__ */ new Set(), m = [];
331
- let u = l;
331
+ let u = d;
332
332
  for (; u && !p.has(u.id); ) {
333
333
  p.add(u.id), m.push(u);
334
- const s = n.get(u.id) ?? [];
335
- s.length > 1 && typeof console < "u" && console.warn(
336
- `[workflow] node ${u.id} has ${s.length} outgoing linear edges; v1 walks the first only.`
337
- ), u = s[0] ? i.get(s[0].to) : void 0;
334
+ const i = o.get(u.id) ?? [];
335
+ i.length > 1 && typeof console < "u" && console.warn(
336
+ `[workflow] node ${u.id} has ${i.length} outgoing linear edges; v1 walks the first only.`
337
+ ), u = i[0] ? n.get(i[0].to) : void 0;
338
338
  }
339
- for (const s of e.nodes)
340
- p.has(s.id) || m.push(s);
339
+ for (const i of e.nodes)
340
+ p.has(i.id) || m.push(i);
341
341
  return m;
342
342
  }
343
- function F(e, r, a) {
344
- const o = [...e.nodes, a];
345
- if (r === null) {
346
- const n = e.nodes[0];
347
- return n ? {
348
- nodes: o,
343
+ function F(e, s, r) {
344
+ const a = [...e.nodes, r];
345
+ if (s === null) {
346
+ const o = e.nodes[0];
347
+ return o ? {
348
+ nodes: a,
349
349
  edges: [
350
- { from: a.id, to: n.id, condition: null },
350
+ { from: r.id, to: o.id, condition: null },
351
351
  ...e.edges
352
352
  ]
353
- } : { nodes: o, edges: [] };
353
+ } : { nodes: a, edges: [] };
354
354
  }
355
- const l = e.edges.find(
356
- (n) => n.from === r && n.condition == null
355
+ const d = e.edges.find(
356
+ (o) => o.from === s && o.condition == null
357
357
  );
358
- if (!l)
358
+ if (!d)
359
359
  return {
360
- nodes: o,
360
+ nodes: a,
361
361
  edges: [
362
362
  ...e.edges,
363
- { from: r, to: a.id, condition: null }
363
+ { from: s, to: r.id, condition: null }
364
364
  ]
365
365
  };
366
- const i = e.edges.filter((n) => n !== l);
366
+ const n = e.edges.filter((o) => o !== d);
367
367
  return {
368
- nodes: o,
368
+ nodes: a,
369
369
  edges: [
370
- ...i,
371
- { from: r, to: a.id, condition: null },
372
- { from: a.id, to: l.to, condition: null }
370
+ ...n,
371
+ { from: s, to: r.id, condition: null },
372
+ { from: r.id, to: d.to, condition: null }
373
373
  ]
374
374
  };
375
375
  }
376
- function Y(e, r) {
377
- const a = e.edges.find(
378
- (n) => n.to === r && n.condition == null
379
- ), o = e.edges.find(
380
- (n) => n.from === r && n.condition == null
381
- ), l = e.edges.filter(
382
- (n) => n.from !== r && n.to !== r
383
- ), i = a && o ? [
384
- ...l,
385
- { from: a.from, to: o.to, condition: null }
386
- ] : l;
376
+ function Y(e, s) {
377
+ const r = e.edges.find(
378
+ (o) => o.to === s && o.condition == null
379
+ ), a = e.edges.find(
380
+ (o) => o.from === s && o.condition == null
381
+ ), d = e.edges.filter(
382
+ (o) => o.from !== s && o.to !== s
383
+ ), n = r && a ? [
384
+ ...d,
385
+ { from: r.from, to: a.to, condition: null }
386
+ ] : d;
387
387
  return {
388
- nodes: e.nodes.filter((n) => n.id !== r),
389
- edges: i
388
+ nodes: e.nodes.filter((o) => o.id !== s),
389
+ edges: n
390
390
  };
391
391
  }
392
- function qe(e, r, a) {
392
+ function qe(e, s, r) {
393
393
  var h;
394
- const o = H(e), l = o.findIndex((k) => k.id === r);
395
- if (l === -1) return e;
396
- const i = a === "up" ? l - 1 : l + 1;
397
- if (i < 0 || i >= o.length) return e;
398
- const n = o[l], p = o[i];
399
- if (!n || !p) return e;
400
- const m = Y(Y(e, n.id), p.id), u = a === "up" ? n : p, s = a === "up" ? p : n, c = ((h = o[Math.min(l, i) - 1]) == null ? void 0 : h.id) ?? null, y = F(m, c, u);
401
- return F(y, u.id, s);
394
+ const a = H(e), d = a.findIndex((k) => k.id === s);
395
+ if (d === -1) return e;
396
+ const n = r === "up" ? d - 1 : d + 1;
397
+ if (n < 0 || n >= a.length) return e;
398
+ const o = a[d], p = a[n];
399
+ if (!o || !p) return e;
400
+ const m = Y(Y(e, o.id), p.id), u = r === "up" ? o : p, i = r === "up" ? p : o, l = ((h = a[Math.min(d, n) - 1]) == null ? void 0 : h.id) ?? null, y = F(m, l, u);
401
+ return F(y, u.id, i);
402
402
  }
403
403
  const Re = /* @__PURE__ */ new Set([
404
404
  "dateOfBirth",
@@ -453,42 +453,42 @@ const D = {
453
453
  iconName: "Globe"
454
454
  }
455
455
  }, We = {
456
- Clock: oe,
457
- Mail: ae,
458
- Smartphone: ie,
459
- CheckSquare: re,
460
- MessageCircle: ne,
461
- UserCog: le,
456
+ Clock: ae,
457
+ Mail: re,
458
+ Smartphone: ne,
459
+ CheckSquare: se,
460
+ MessageCircle: oe,
461
+ UserCog: de,
462
462
  Globe: te
463
463
  };
464
464
  function U({
465
465
  iconName: e,
466
- className: r
466
+ className: s
467
467
  }) {
468
- const a = We[e];
469
- return /* @__PURE__ */ t(a, { "aria-hidden": "true", className: r ?? "size-4" });
468
+ const r = We[e];
469
+ return /* @__PURE__ */ t(r, { "aria-hidden": "true", className: s ?? "ds:size-4" });
470
470
  }
471
471
  const Fe = 40, Pe = 60;
472
- function J(e, r) {
473
- return e.length <= r ? e : `${e.slice(0, r - 1)}…`;
472
+ function J(e, s) {
473
+ return e.length <= s ? e : `${e.slice(0, s - 1)}…`;
474
474
  }
475
- function Oe(e, r) {
475
+ function Oe(e, s) {
476
476
  switch (e.kind) {
477
477
  case "add_delay": {
478
- const a = e.days ?? 0, o = r("workflow.delay.summary", { count: a });
479
- return { text: o, full: o };
478
+ const r = e.days ?? 0, a = s("workflow.delay.summary", { count: r });
479
+ return { text: a, full: a };
480
480
  }
481
481
  case "send_email": {
482
- const a = e.subject ?? "", l = `${r("workflow.action.sendEmail")}: ${a}`;
483
- return { text: J(l, Fe), full: l };
482
+ const r = e.subject ?? "", d = `${s("workflow.action.sendEmail")}: ${r}`;
483
+ return { text: J(d, Fe), full: d };
484
484
  }
485
485
  case "send_sms": {
486
- const a = e.body ?? "";
487
- return { text: J(a, Pe), full: a };
486
+ const r = e.body ?? "";
487
+ return { text: J(r, Pe), full: r };
488
488
  }
489
489
  case "create_task": {
490
- const a = e.title ?? "";
491
- return { text: a, full: a };
490
+ const r = e.title ?? "";
491
+ return { text: r, full: r };
492
492
  }
493
493
  // v2 types — generic fallback (no bespoke summariser yet).
494
494
  case "send_whatsapp":
@@ -564,25 +564,25 @@ function Je(e) {
564
564
  }
565
565
  }
566
566
  function Qe(e = 0) {
567
- const r = B(e), a = K((o) => {
568
- r.current = o;
567
+ const s = B(e), r = K((a) => {
568
+ s.current = a;
569
569
  }, []);
570
- return [r, a];
570
+ return [s, r];
571
571
  }
572
572
  function Xe({
573
573
  node: e,
574
- position: r,
575
- total: a,
576
- disabled: o,
577
- onEdit: l,
578
- onDelete: i,
579
- onMove: n,
574
+ position: s,
575
+ total: r,
576
+ disabled: a,
577
+ onEdit: d,
578
+ onDelete: n,
579
+ onMove: o,
580
580
  registerRef: p
581
581
  }) {
582
- const { t: m } = z(), u = D[e.type], s = B(null), [c, y] = Qe(0), h = K(
582
+ const { t: m } = z(), u = D[e.type], i = B(null), [l, y] = Qe(0), h = K(
583
583
  (w) => {
584
584
  var f, b;
585
- const S = (f = s.current) == null ? void 0 : f.querySelectorAll(
585
+ const S = (f = i.current) == null ? void 0 : f.querySelectorAll(
586
586
  "button[data-wf-control]:not([disabled])"
587
587
  );
588
588
  if (!S || S.length === 0) return;
@@ -593,55 +593,55 @@ function Xe({
593
593
  ), k = (w) => {
594
594
  w.target === w.currentTarget && (w.key === "ArrowRight" || w.key === "ArrowDown") && (w.preventDefault(), h(0));
595
595
  }, x = (w) => {
596
- w.key === "ArrowRight" ? (w.preventDefault(), h(c.current + 1)) : w.key === "ArrowLeft" ? (w.preventDefault(), h(c.current - 1)) : w.key === "Home" ? (w.preventDefault(), h(0)) : w.key === "End" && (w.preventDefault(), h(Number.POSITIVE_INFINITY));
597
- }, v = Oe(e.settings, m), g = m(u.labelKey), j = r > 0, A = r < a - 1, $ = m("workflow.editor.position", {
598
- current: r + 1,
599
- total: a
596
+ w.key === "ArrowRight" ? (w.preventDefault(), h(l.current + 1)) : w.key === "ArrowLeft" ? (w.preventDefault(), h(l.current - 1)) : w.key === "Home" ? (w.preventDefault(), h(0)) : w.key === "End" && (w.preventDefault(), h(Number.POSITIVE_INFINITY));
597
+ }, v = Oe(e.settings, m), g = m(u.labelKey), j = s > 0, A = s < r - 1, $ = m("workflow.editor.position", {
598
+ current: s + 1,
599
+ total: r
600
600
  }), q = m("workflow.editor.nodeAriaLabel", {
601
601
  type: g,
602
- current: r + 1,
603
- total: a
602
+ current: s + 1,
603
+ total: r
604
604
  });
605
605
  return /* @__PURE__ */ t(
606
606
  "div",
607
607
  {
608
608
  ref: (w) => p(e.id, w),
609
- tabIndex: o ? -1 : 0,
609
+ tabIndex: a ? -1 : 0,
610
610
  onKeyDown: k,
611
611
  "aria-label": q,
612
612
  className: Ue,
613
- children: /* @__PURE__ */ d(_, { variant: "outlined", children: [
614
- /* @__PURE__ */ t(_.Header, { className: "pb-[var(--spacing-sm)]", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-[var(--spacing-sm)]", children: [
613
+ children: /* @__PURE__ */ c(_, { variant: "outlined", children: [
614
+ /* @__PURE__ */ t(_.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
615
615
  /* @__PURE__ */ t(
616
616
  "span",
617
617
  {
618
618
  "aria-hidden": "true",
619
- className: "inline-flex size-8 shrink-0 items-center justify-center rounded-[var(--radius-sm)] bg-[color:var(--muted)]/20 text-[color:var(--foreground)]",
620
- children: /* @__PURE__ */ t(U, { iconName: u.iconName, className: "size-4" })
619
+ className: "ds:inline-flex ds:size-8 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)] ds:bg-[color:var(--muted)]/20 ds:text-[color:var(--foreground)]",
620
+ children: /* @__PURE__ */ t(U, { iconName: u.iconName, className: "ds:size-4" })
621
621
  }
622
622
  ),
623
- /* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col", children: [
624
- /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] font-[var(--font-weight-semibold)] text-[color:var(--foreground)] [overflow-wrap:anywhere] break-words", children: g }),
625
- /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-xs)] text-[color:var(--muted-foreground)]", children: $ })
623
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
624
+ /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: g }),
625
+ /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[color:var(--muted-foreground)]", children: $ })
626
626
  ] }),
627
- /* @__PURE__ */ d(
627
+ /* @__PURE__ */ c(
628
628
  "div",
629
629
  {
630
- ref: s,
630
+ ref: i,
631
631
  onKeyDown: x,
632
- className: "flex shrink-0 items-center gap-[var(--spacing-xs)] ms-auto",
632
+ className: "ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:ms-auto",
633
633
  children: [
634
- l ? /* @__PURE__ */ t(
634
+ d ? /* @__PURE__ */ t(
635
635
  M,
636
636
  {
637
637
  "data-wf-control": "edit",
638
638
  icon: /* @__PURE__ */ t(O, {}),
639
639
  size: "sm",
640
640
  intent: "ghost",
641
- disabled: o,
641
+ disabled: a,
642
642
  tabIndex: -1,
643
643
  "aria-label": m("workflow.editor.editAction"),
644
- onClick: () => l(e.id)
644
+ onClick: () => d(e.id)
645
645
  }
646
646
  ) : null,
647
647
  /* @__PURE__ */ t(
@@ -651,10 +651,10 @@ function Xe({
651
651
  icon: /* @__PURE__ */ t(ye, {}),
652
652
  size: "sm",
653
653
  intent: "ghost",
654
- disabled: o || !j,
654
+ disabled: a || !j,
655
655
  tabIndex: -1,
656
656
  "aria-label": m("workflow.editor.moveUp"),
657
- onClick: () => n(e.id, "up")
657
+ onClick: () => o(e.id, "up")
658
658
  }
659
659
  ),
660
660
  /* @__PURE__ */ t(
@@ -664,38 +664,38 @@ function Xe({
664
664
  icon: /* @__PURE__ */ t(be, {}),
665
665
  size: "sm",
666
666
  intent: "ghost",
667
- disabled: o || !A,
667
+ disabled: a || !A,
668
668
  tabIndex: -1,
669
669
  "aria-label": m("workflow.editor.moveDown"),
670
- onClick: () => n(e.id, "down")
670
+ onClick: () => o(e.id, "down")
671
671
  }
672
672
  ),
673
- i ? /* @__PURE__ */ t(
673
+ n ? /* @__PURE__ */ t(
674
674
  M,
675
675
  {
676
676
  "data-wf-control": "delete",
677
- icon: /* @__PURE__ */ t(se, {}),
677
+ icon: /* @__PURE__ */ t(ie, {}),
678
678
  size: "sm",
679
679
  intent: "destructive",
680
- disabled: o,
680
+ disabled: a,
681
681
  tabIndex: -1,
682
682
  "aria-label": m("workflow.editor.deleteAction"),
683
- onClick: () => i(e.id)
683
+ onClick: () => n(e.id)
684
684
  }
685
685
  ) : null
686
686
  ]
687
687
  }
688
688
  )
689
689
  ] }) }),
690
- v ? /* @__PURE__ */ t(_.Body, { className: "pt-0", children: /* @__PURE__ */ t(
690
+ v ? /* @__PURE__ */ t(_.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
691
691
  "p",
692
692
  {
693
- className: "text-[length:var(--font-size-sm)] text-[color:var(--muted-foreground)] [overflow-wrap:anywhere] break-words",
693
+ className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words",
694
694
  title: v.full,
695
695
  children: v.text
696
696
  }
697
697
  ) }) : null,
698
- e.settings.kind === "update_patient_field" && Ve(e.settings.fieldId) ? /* @__PURE__ */ t(_.Body, { className: "pt-0", children: /* @__PURE__ */ t(
698
+ e.settings.kind === "update_patient_field" && Ve(e.settings.fieldId) ? /* @__PURE__ */ t(_.Body, { className: "ds:pt-0", children: /* @__PURE__ */ t(
699
699
  W,
700
700
  {
701
701
  variant: "error",
@@ -709,80 +709,80 @@ function Xe({
709
709
  }
710
710
  function Z({
711
711
  availableActions: e,
712
- onSelect: r,
713
- disabled: a,
714
- label: o,
715
- compact: l = !0
712
+ onSelect: s,
713
+ disabled: r,
714
+ label: a,
715
+ compact: d = !0
716
716
  }) {
717
- const { t: i } = z();
718
- return /* @__PURE__ */ d(N.Root, { children: [
719
- /* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ d(
717
+ const { t: n } = z();
718
+ return /* @__PURE__ */ c(N.Root, { children: [
719
+ /* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ c(
720
720
  "button",
721
721
  {
722
722
  type: "button",
723
- disabled: a,
724
- "aria-label": o,
723
+ disabled: r,
724
+ "aria-label": a,
725
725
  className: He,
726
726
  children: [
727
- /* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "size-4" }),
728
- l ? null : /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)]", children: o })
727
+ /* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "ds:size-4" }),
728
+ d ? null : /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)]", children: a })
729
729
  ]
730
730
  }
731
731
  ) }),
732
- /* @__PURE__ */ d(N.Content, { align: "start", sideOffset: 6, children: [
733
- /* @__PURE__ */ t(N.Label, { children: i("workflow.editor.addAction") }),
734
- e.map((n) => {
735
- const p = D[n];
732
+ /* @__PURE__ */ c(N.Content, { align: "start", sideOffset: 6, children: [
733
+ /* @__PURE__ */ t(N.Label, { children: n("workflow.editor.addAction") }),
734
+ e.map((o) => {
735
+ const p = D[o];
736
736
  return /* @__PURE__ */ t(
737
737
  N.Item,
738
738
  {
739
739
  startIcon: /* @__PURE__ */ t(U, { iconName: p.iconName }),
740
- onSelect: () => r(n),
741
- children: i(p.labelKey)
740
+ onSelect: () => s(o),
741
+ children: n(p.labelKey)
742
742
  },
743
- n
743
+ o
744
744
  );
745
745
  })
746
746
  ] })
747
747
  ] });
748
748
  }
749
- function Ze({ criteria: e, onEdit: r, disabled: a }) {
750
- const { t: o } = z(), l = (e == null ? void 0 : e.ruleCount) ?? 0, i = l > 0 ? o("workflow.editor.criteriaCount", { count: l }) : o("workflow.editor.noCriteria");
751
- return /* @__PURE__ */ t(_, { variant: "outlined", children: /* @__PURE__ */ t(_.Header, { className: "pb-[var(--spacing-sm)]", children: /* @__PURE__ */ d("div", { className: "flex items-center gap-[var(--spacing-sm)]", children: [
752
- /* @__PURE__ */ d("div", { className: "flex min-w-0 flex-1 flex-col", children: [
753
- /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] font-[var(--font-weight-semibold)] text-[color:var(--foreground)]", children: o("workflow.editor.enrollmentCriteria") }),
754
- /* @__PURE__ */ t("span", { className: "text-[length:var(--font-size-sm)] text-[color:var(--muted-foreground)] [overflow-wrap:anywhere] break-words", children: (e == null ? void 0 : e.summary) ?? i })
749
+ function Ze({ criteria: e, onEdit: s, disabled: r }) {
750
+ const { t: a } = z(), d = (e == null ? void 0 : e.ruleCount) ?? 0, n = d > 0 ? a("workflow.editor.criteriaCount", { count: d }) : a("workflow.editor.noCriteria");
751
+ return /* @__PURE__ */ t(_, { variant: "outlined", children: /* @__PURE__ */ t(_.Header, { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
752
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col", children: [
753
+ /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[color:var(--foreground)]", children: a("workflow.editor.enrollmentCriteria") }),
754
+ /* @__PURE__ */ t("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)] ds:[overflow-wrap:anywhere] ds:break-words", children: (e == null ? void 0 : e.summary) ?? n })
755
755
  ] }),
756
- r ? /* @__PURE__ */ t(
756
+ s ? /* @__PURE__ */ t(
757
757
  M,
758
758
  {
759
759
  icon: /* @__PURE__ */ t(O, {}),
760
760
  size: "sm",
761
761
  intent: "ghost",
762
- disabled: a,
763
- "aria-label": o("workflow.editor.editCriteria"),
764
- onClick: r
762
+ disabled: r,
763
+ "aria-label": a("workflow.editor.editCriteria"),
764
+ onClick: s
765
765
  }
766
766
  ) : null
767
767
  ] }) }) });
768
768
  }
769
769
  const et = P(
770
770
  function({
771
- graph: r,
772
- onChange: a,
773
- enrollmentCriteria: o,
774
- onEditEnrollmentCriteria: l,
775
- isActive: i = !1,
776
- availableActions: n,
771
+ graph: s,
772
+ onChange: r,
773
+ enrollmentCriteria: a,
774
+ onEditEnrollmentCriteria: d,
775
+ isActive: n = !1,
776
+ availableActions: o,
777
777
  onEditNode: p,
778
778
  onDeleteNode: m,
779
779
  className: u
780
- }, s) {
781
- const { t: c } = z(), y = n ?? Ge, h = V(() => H(r), [r]), k = B(/* @__PURE__ */ new Map()), x = B(null), v = K(
780
+ }, i) {
781
+ const { t: l } = z(), y = o ?? Ge, h = V(() => H(s), [s]), k = B(/* @__PURE__ */ new Map()), x = B(null), v = K(
782
782
  (f) => {
783
- i || a(f);
783
+ n || r(f);
784
784
  },
785
- [i, a]
785
+ [n, r]
786
786
  ), g = K(
787
787
  (f, b) => {
788
788
  b ? k.current.set(f, b) : k.current.delete(f);
@@ -796,52 +796,52 @@ const et = P(
796
796
  b && (b.focus(), x.current = null);
797
797
  });
798
798
  const j = (f, b) => {
799
- if (i) return;
799
+ if (n) return;
800
800
  const E = {
801
801
  id: Ye(),
802
802
  type: b,
803
803
  settings: Je(b)
804
804
  };
805
- x.current = E.id, v(F(r, f, E));
805
+ x.current = E.id, v(F(s, f, E));
806
806
  }, A = (f, b) => {
807
- i || (x.current = f, v(qe(r, f, b)));
807
+ n || (x.current = f, v(qe(s, f, b)));
808
808
  }, $ = (f) => {
809
- i || !p || p(f);
809
+ n || !p || p(f);
810
810
  }, q = (f) => {
811
- i || !m || m(f);
812
- }, w = () => i ? /* @__PURE__ */ t(W, { variant: "warning", children: /* @__PURE__ */ t(W.Title, { as: "p", children: c("workflow.editor.activeLock") }) }) : null, S = () => o || l ? /* @__PURE__ */ d(fe, { children: [
811
+ n || !m || m(f);
812
+ }, w = () => n ? /* @__PURE__ */ t(W, { variant: "warning", children: /* @__PURE__ */ t(W.Title, { as: "p", children: l("workflow.editor.activeLock") }) }) : null, S = () => a || d ? /* @__PURE__ */ c(fe, { children: [
813
813
  /* @__PURE__ */ t(
814
814
  Ze,
815
815
  {
816
- criteria: o,
817
- onEdit: l,
818
- disabled: i
816
+ criteria: a,
817
+ onEdit: d,
818
+ disabled: n
819
819
  }
820
820
  ),
821
821
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: R })
822
822
  ] }) : null, I = h.length;
823
- return I === 0 ? /* @__PURE__ */ d(
823
+ return I === 0 ? /* @__PURE__ */ c(
824
824
  "div",
825
825
  {
826
- ref: s,
826
+ ref: i,
827
827
  className: [Q, u].filter(Boolean).join(" "),
828
828
  children: [
829
829
  w(),
830
830
  S(),
831
- /* @__PURE__ */ d(
831
+ /* @__PURE__ */ c(
832
832
  T,
833
833
  {
834
834
  variant: "first-use",
835
- title: c("workflow.editor.addFirstAction"),
836
- description: c("workflow.editor.empty"),
835
+ title: l("workflow.editor.addFirstAction"),
836
+ description: l("workflow.editor.empty"),
837
837
  children: [
838
- /* @__PURE__ */ t(T.Illustration, { children: /* @__PURE__ */ d(
838
+ /* @__PURE__ */ t(T.Illustration, { children: /* @__PURE__ */ c(
839
839
  "svg",
840
840
  {
841
841
  viewBox: "0 0 120 120",
842
842
  fill: "none",
843
843
  "aria-hidden": "true",
844
- className: "w-full h-full",
844
+ className: "ds:w-full ds:h-full",
845
845
  children: [
846
846
  /* @__PURE__ */ t(
847
847
  "circle",
@@ -879,15 +879,15 @@ const et = P(
879
879
  ]
880
880
  }
881
881
  ) }),
882
- /* @__PURE__ */ t(T.Title, { children: c("workflow.editor.addFirstAction") }),
883
- /* @__PURE__ */ t(T.Description, { children: c("workflow.editor.empty") }),
884
- /* @__PURE__ */ t(T.Actions, { children: /* @__PURE__ */ d(N.Root, { children: [
885
- /* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ d(we, { intent: "primary", disabled: i, children: [
886
- /* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "size-4" }),
887
- /* @__PURE__ */ t("span", { children: c("workflow.editor.addFirstAction") })
882
+ /* @__PURE__ */ t(T.Title, { children: l("workflow.editor.addFirstAction") }),
883
+ /* @__PURE__ */ t(T.Description, { children: l("workflow.editor.empty") }),
884
+ /* @__PURE__ */ t(T.Actions, { children: /* @__PURE__ */ c(N.Root, { children: [
885
+ /* @__PURE__ */ t(N.Trigger, { asChild: !0, children: /* @__PURE__ */ c(we, { intent: "primary", disabled: n, children: [
886
+ /* @__PURE__ */ t(ee, { "aria-hidden": "true", className: "ds:size-4" }),
887
+ /* @__PURE__ */ t("span", { children: l("workflow.editor.addFirstAction") })
888
888
  ] }) }),
889
- /* @__PURE__ */ d(N.Content, { align: "center", sideOffset: 6, children: [
890
- /* @__PURE__ */ t(N.Label, { children: c("workflow.editor.addAction") }),
889
+ /* @__PURE__ */ c(N.Content, { align: "center", sideOffset: 6, children: [
890
+ /* @__PURE__ */ t(N.Label, { children: l("workflow.editor.addAction") }),
891
891
  y.map((f) => {
892
892
  const b = D[f];
893
893
  return /* @__PURE__ */ t(
@@ -895,7 +895,7 @@ const et = P(
895
895
  {
896
896
  startIcon: /* @__PURE__ */ t(U, { iconName: b.iconName }),
897
897
  onSelect: () => j(null, f),
898
- children: c(b.labelKey)
898
+ children: l(b.labelKey)
899
899
  },
900
900
  f
901
901
  );
@@ -907,10 +907,10 @@ const et = P(
907
907
  )
908
908
  ]
909
909
  }
910
- ) : /* @__PURE__ */ d(
910
+ ) : /* @__PURE__ */ c(
911
911
  "div",
912
912
  {
913
- ref: s,
913
+ ref: i,
914
914
  className: [Q, u].filter(Boolean).join(" "),
915
915
  children: [
916
916
  w(),
@@ -919,8 +919,8 @@ const et = P(
919
919
  Z,
920
920
  {
921
921
  availableActions: y,
922
- disabled: i,
923
- label: c("workflow.editor.addAction"),
922
+ disabled: n,
923
+ label: l("workflow.editor.addAction"),
924
924
  onSelect: (f) => j(null, f)
925
925
  }
926
926
  ) }),
@@ -928,9 +928,9 @@ const et = P(
928
928
  "ol",
929
929
  {
930
930
  role: "list",
931
- "aria-label": c("workflow.editor.pipeline"),
932
- className: "list-none m-0 p-0 flex flex-col",
933
- children: h.map((f, b) => /* @__PURE__ */ d("li", { className: "list-none flex flex-col", children: [
931
+ "aria-label": l("workflow.editor.pipeline"),
932
+ className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col",
933
+ children: h.map((f, b) => /* @__PURE__ */ c("li", { className: "ds:list-none ds:flex ds:flex-col", children: [
934
934
  /* @__PURE__ */ t("span", { "aria-hidden": "true", className: R }),
935
935
  /* @__PURE__ */ t(
936
936
  Xe,
@@ -938,7 +938,7 @@ const et = P(
938
938
  node: f,
939
939
  position: b,
940
940
  total: I,
941
- disabled: i,
941
+ disabled: n,
942
942
  onEdit: p ? $ : void 0,
943
943
  onDelete: m ? q : void 0,
944
944
  onMove: A,
@@ -950,8 +950,8 @@ const et = P(
950
950
  Z,
951
951
  {
952
952
  availableActions: y,
953
- disabled: i,
954
- label: c("workflow.editor.addActionAfter"),
953
+ disabled: n,
954
+ label: l("workflow.editor.addActionAfter"),
955
955
  onSelect: (E) => j(f.id, E)
956
956
  }
957
957
  ) })
@@ -965,27 +965,27 @@ const et = P(
965
965
  );
966
966
  et.displayName = "WorkflowEditor";
967
967
  const tt = {
968
- Clock: oe,
969
- Mail: ae,
970
- Smartphone: ie,
971
- CheckSquare: re,
972
- MessageCircle: ne,
973
- UserCog: le,
968
+ Clock: ae,
969
+ Mail: re,
970
+ Smartphone: ne,
971
+ CheckSquare: se,
972
+ MessageCircle: oe,
973
+ UserCog: de,
974
974
  Globe: te
975
- }, rt = L(
975
+ }, st = L(
976
976
  // The map is a list of steps — never a list of meaningful controls.
977
977
  // Layout via logical properties only; connectors are sibling spacers
978
978
  // styled with border-inline-start / border-block-end (see node/spacer).
979
- "flex list-none p-0 m-0",
979
+ "ds:flex ds:list-none ds:p-0 ds:m-0",
980
980
  {
981
981
  variants: {
982
982
  orientation: {
983
- vertical: "flex-col items-stretch",
984
- horizontal: "flex-row items-stretch flex-wrap"
983
+ vertical: "ds:flex-col ds:items-stretch",
984
+ horizontal: "ds:flex-row ds:items-stretch ds:flex-wrap"
985
985
  },
986
986
  compact: {
987
- true: "gap-0",
988
- false: "gap-0"
987
+ true: "ds:gap-0",
988
+ false: "ds:gap-0"
989
989
  }
990
990
  },
991
991
  defaultVariants: {
@@ -993,53 +993,53 @@ const tt = {
993
993
  compact: !1
994
994
  }
995
995
  }
996
- ), ce = L("flex", {
996
+ ), le = L("ds:flex", {
997
997
  variants: {
998
998
  orientation: {
999
- vertical: "flex-col items-stretch",
1000
- horizontal: "flex-row items-center"
999
+ vertical: "ds:flex-col ds:items-stretch",
1000
+ horizontal: "ds:flex-row ds:items-center"
1001
1001
  }
1002
1002
  }
1003
- }), de = L(
1003
+ }), ce = L(
1004
1004
  [
1005
- "relative flex items-center",
1006
- "gap-[var(--spacing-sm)]",
1007
- "rounded-[var(--radius-md)]",
1008
- "border border-[color:var(--border)]",
1009
- "bg-[var(--card)] text-[var(--card-foreground)]",
1005
+ "ds:relative ds:flex ds:items-center",
1006
+ "ds:gap-[var(--spacing-sm)]",
1007
+ "ds:rounded-[var(--radius-md)]",
1008
+ "ds:border ds:border-[color:var(--border)]",
1009
+ "ds:bg-[var(--card)] ds:text-[var(--card-foreground)]",
1010
1010
  // Motion honours the accessible theme (--animation-duration → 0ms).
1011
- "transition-[box-shadow,transform,opacity] duration-[var(--animation-duration)]",
1012
- "motion-reduce:transition-none",
1011
+ "ds:transition-[box-shadow,transform,opacity] ds:duration-[var(--animation-duration)]",
1012
+ "ds:motion-reduce:transition-none",
1013
1013
  // Content wraps instead of pushing siblings off-screen (DE / CJK story contract).
1014
- "[word-break:break-word] [overflow-wrap:anywhere]"
1014
+ "ds:[word-break:break-word] ds:[overflow-wrap:anywhere]"
1015
1015
  ].join(" "),
1016
1016
  {
1017
1017
  variants: {
1018
1018
  orientation: {
1019
- vertical: "inline-size-full",
1020
- horizontal: "block-size-full"
1019
+ vertical: "ds:inline-size-full",
1020
+ horizontal: "ds:block-size-full"
1021
1021
  },
1022
1022
  compact: {
1023
- true: "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)] min-h-[var(--spacing-xl)]",
1024
- false: "ps-[var(--spacing-md)] pe-[var(--spacing-md)] py-[var(--spacing-sm)]"
1023
+ true: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:min-h-[var(--spacing-xl)]",
1024
+ false: "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:py-[var(--spacing-sm)]"
1025
1025
  },
1026
1026
  state: {
1027
1027
  completed: "",
1028
- current: "ring-2 ring-[color:var(--ring)] font-[var(--font-weight-semibold)]",
1028
+ current: "ds:ring-2 ds:ring-[color:var(--ring)] ds:font-[var(--font-weight-semibold)]",
1029
1029
  // Pending state uses a dashed border + muted foreground so the
1030
1030
  // step reads as "upcoming" without dropping text contrast below
1031
1031
  // the 4.5:1 AA floor in dark-accessible. Applying opacity to
1032
1032
  // text that is already on --muted-foreground fails axe on the
1033
1033
  // dark themes (contrast ~3.6:1 after a 50 % dim).
1034
- pending: "border-dashed text-[color:var(--muted-foreground)] [&_[data-testid=workflow-map-summary]]:text-[color:var(--muted-foreground)]",
1034
+ pending: "ds:border-dashed ds:text-[color:var(--muted-foreground)] ds:[&_[data-testid=workflow-map-summary]]:text-[color:var(--muted-foreground)]",
1035
1035
  neutral: ""
1036
1036
  },
1037
1037
  interactive: {
1038
1038
  true: [
1039
- "cursor-pointer",
1040
- "hover:shadow-[var(--shadow-sm)]",
1041
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
1042
- "focus-visible:outline-[color:var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
1039
+ "ds:cursor-pointer",
1040
+ "ds:hover:shadow-[var(--shadow-sm)]",
1041
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1042
+ "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
1043
1043
  ].join(" "),
1044
1044
  false: ""
1045
1045
  }
@@ -1047,9 +1047,9 @@ const tt = {
1047
1047
  }
1048
1048
  ), ue = L(
1049
1049
  [
1050
- "block",
1051
- "border-solid",
1052
- "border-[color:var(--border)]"
1050
+ "ds:block",
1051
+ "ds:border-solid",
1052
+ "ds:border-[color:var(--border)]"
1053
1053
  ].join(" "),
1054
1054
  {
1055
1055
  variants: {
@@ -1059,14 +1059,14 @@ const tt = {
1059
1059
  // `border-inline-start-width` in Tailwind v4, so only the
1060
1060
  // inline-start side renders — the other three stay at 0.
1061
1061
  // `ms-[…]` aligns the line under the icon column.
1062
- "ms-[calc(var(--spacing-md)+var(--spacing-sm))]",
1063
- "border-s-[length:var(--border-width-hairline)]",
1064
- "border-inline-start"
1062
+ "ds:ms-[calc(var(--spacing-md)+var(--spacing-sm))]",
1063
+ "ds:border-s-[length:var(--border-width-hairline)]",
1064
+ "ds:border-inline-start"
1065
1065
  ].join(" "),
1066
1066
  horizontal: [
1067
- "self-center",
1068
- "border-b-[length:var(--border-width-hairline)]",
1069
- "border-block-end"
1067
+ "ds:self-center",
1068
+ "ds:border-b-[length:var(--border-width-hairline)]",
1069
+ "ds:border-block-end"
1070
1070
  ].join(" ")
1071
1071
  },
1072
1072
  compact: {
@@ -1078,27 +1078,27 @@ const tt = {
1078
1078
  {
1079
1079
  orientation: "vertical",
1080
1080
  compact: !1,
1081
- class: "h-[var(--spacing-md)]"
1081
+ class: "ds:h-[var(--spacing-md)]"
1082
1082
  },
1083
1083
  {
1084
1084
  orientation: "vertical",
1085
1085
  compact: !0,
1086
- class: "h-[var(--spacing-sm)]"
1086
+ class: "ds:h-[var(--spacing-sm)]"
1087
1087
  },
1088
1088
  {
1089
1089
  orientation: "horizontal",
1090
1090
  compact: !1,
1091
- class: "w-[var(--spacing-md)]"
1091
+ class: "ds:w-[var(--spacing-md)]"
1092
1092
  },
1093
1093
  {
1094
1094
  orientation: "horizontal",
1095
1095
  compact: !0,
1096
- class: "w-[var(--spacing-sm)]"
1096
+ class: "ds:w-[var(--spacing-sm)]"
1097
1097
  }
1098
1098
  ]
1099
1099
  }
1100
1100
  );
1101
- function at(e) {
1101
+ function rt(e) {
1102
1102
  switch (e.kind) {
1103
1103
  case "add_delay":
1104
1104
  return typeof e.days == "number" && e.days > 0 ? {
@@ -1127,54 +1127,54 @@ function at(e) {
1127
1127
  return;
1128
1128
  }
1129
1129
  }
1130
- function ot(e, r) {
1130
+ function at(e, s) {
1131
1131
  if (e !== void 0)
1132
- return typeof e == "string" ? e : r(e.key, e.options);
1132
+ return typeof e == "string" ? e : s(e.key, e.options);
1133
1133
  }
1134
- const nt = P(
1134
+ const ot = P(
1135
1135
  function({
1136
- graph: r,
1137
- activeNodeId: a,
1138
- onNodeClick: o,
1139
- enrollmentCriteria: l,
1140
- orientation: i = "vertical",
1141
- compact: n = !1,
1136
+ graph: s,
1137
+ activeNodeId: r,
1138
+ onNodeClick: a,
1139
+ enrollmentCriteria: d,
1140
+ orientation: n = "vertical",
1141
+ compact: o = !1,
1142
1142
  className: p,
1143
1143
  "aria-label": m,
1144
1144
  ...u
1145
- }, s) {
1146
- const { t: c } = z(), y = V(() => H(r), [r]), h = V(
1147
- () => a ? y.findIndex((v) => v.id === a) : -1,
1148
- [y, a]
1149
- ), k = m ?? c("workflow.map.label", { count: y.length }), x = (v) => h === -1 ? "neutral" : v === h ? "current" : v < h ? "completed" : "pending";
1150
- return /* @__PURE__ */ d(
1145
+ }, i) {
1146
+ const { t: l } = z(), y = V(() => H(s), [s]), h = V(
1147
+ () => r ? y.findIndex((v) => v.id === r) : -1,
1148
+ [y, r]
1149
+ ), k = m ?? l("workflow.map.label", { count: y.length }), x = (v) => h === -1 ? "neutral" : v === h ? "current" : v < h ? "completed" : "pending";
1150
+ return /* @__PURE__ */ c(
1151
1151
  "ol",
1152
1152
  {
1153
- ref: s,
1153
+ ref: i,
1154
1154
  role: "list",
1155
1155
  "aria-label": k,
1156
- className: rt({ orientation: i, compact: n, className: p }),
1156
+ className: st({ orientation: n, compact: o, className: p }),
1157
1157
  ...u,
1158
1158
  children: [
1159
- l ? /* @__PURE__ */ t(
1160
- st,
1159
+ d ? /* @__PURE__ */ t(
1160
+ it,
1161
1161
  {
1162
- orientation: i,
1163
- compact: n,
1164
- criteria: l
1162
+ orientation: n,
1163
+ compact: o,
1164
+ criteria: d
1165
1165
  }
1166
1166
  ) : null,
1167
1167
  y.map((v, g) => {
1168
1168
  const j = x(g), A = g === y.length - 1;
1169
1169
  return /* @__PURE__ */ t(
1170
- it,
1170
+ nt,
1171
1171
  {
1172
1172
  node: v,
1173
1173
  state: j,
1174
- orientation: i,
1175
- compact: n,
1174
+ orientation: n,
1175
+ compact: o,
1176
1176
  isLast: A,
1177
- onNodeClick: o
1177
+ onNodeClick: a
1178
1178
  },
1179
1179
  v.id
1180
1180
  );
@@ -1184,107 +1184,107 @@ const nt = P(
1184
1184
  );
1185
1185
  }
1186
1186
  );
1187
- nt.displayName = "WorkflowMap";
1188
- function it({
1187
+ ot.displayName = "WorkflowMap";
1188
+ function nt({
1189
1189
  node: e,
1190
- state: r,
1191
- orientation: a,
1192
- compact: o,
1193
- isLast: l,
1194
- onNodeClick: i
1190
+ state: s,
1191
+ orientation: r,
1192
+ compact: a,
1193
+ isLast: d,
1194
+ onNodeClick: n
1195
1195
  }) {
1196
- const { t: n } = z(), p = D[e.type], m = tt[p.iconName], u = n(p.labelKey), s = ot(at(e.settings), n), c = typeof i == "function", y = r === "current", h = r === "completed", k = (g) => {
1197
- c && (g.preventDefault(), i == null || i(e.id));
1196
+ const { t: o } = z(), p = D[e.type], m = tt[p.iconName], u = o(p.labelKey), i = at(rt(e.settings), o), l = typeof n == "function", y = s === "current", h = s === "completed", k = (g) => {
1197
+ l && (g.preventDefault(), n == null || n(e.id));
1198
1198
  }, x = (g) => {
1199
- c && (g.key === "Enter" || g.key === " ") && (g.preventDefault(), i == null || i(e.id));
1200
- }, v = y ? n("workflow.map.current") : h ? n("workflow.map.completed") : r === "pending" ? n("workflow.map.pending") : null;
1199
+ l && (g.key === "Enter" || g.key === " ") && (g.preventDefault(), n == null || n(e.id));
1200
+ }, v = y ? o("workflow.map.current") : h ? o("workflow.map.completed") : s === "pending" ? o("workflow.map.pending") : null;
1201
1201
  return (
1202
1202
  // `<li>` has implicit role="listitem"; no explicit role needed.
1203
- /* @__PURE__ */ d("li", { className: ce({ orientation: a }), children: [
1204
- /* @__PURE__ */ d(
1203
+ /* @__PURE__ */ c("li", { className: le({ orientation: r }), children: [
1204
+ /* @__PURE__ */ c(
1205
1205
  "div",
1206
1206
  {
1207
- role: c ? "button" : void 0,
1208
- tabIndex: c ? 0 : void 0,
1207
+ role: l ? "button" : void 0,
1208
+ tabIndex: l ? 0 : void 0,
1209
1209
  "aria-current": y ? "step" : void 0,
1210
- "aria-label": c && o ? s ? n("workflow.map.nodeLabelWithSummary", {
1210
+ "aria-label": l && a ? i ? o("workflow.map.nodeLabelWithSummary", {
1211
1211
  type: u,
1212
- summary: s
1213
- }) : n("workflow.map.nodeLabel", { type: u }) : void 0,
1214
- title: o && s ? n("workflow.map.nodeLabelWithSummary", {
1212
+ summary: i
1213
+ }) : o("workflow.map.nodeLabel", { type: u }) : void 0,
1214
+ title: a && i ? o("workflow.map.nodeLabelWithSummary", {
1215
1215
  type: u,
1216
- summary: s
1216
+ summary: i
1217
1217
  }) : void 0,
1218
- onClick: c ? k : void 0,
1219
- onKeyDown: c ? x : void 0,
1220
- className: de({
1221
- orientation: a,
1222
- compact: o,
1223
- state: r,
1224
- interactive: c
1218
+ onClick: l ? k : void 0,
1219
+ onKeyDown: l ? x : void 0,
1220
+ className: ce({
1221
+ orientation: r,
1222
+ compact: a,
1223
+ state: s,
1224
+ interactive: l
1225
1225
  }),
1226
1226
  "data-node-id": e.id,
1227
- "data-state": r,
1227
+ "data-state": s,
1228
1228
  children: [
1229
1229
  /* @__PURE__ */ t(
1230
1230
  "span",
1231
1231
  {
1232
1232
  "aria-hidden": "true",
1233
- className: "flex items-center justify-center shrink-0 size-[var(--spacing-md)] text-[var(--muted-foreground)]",
1233
+ className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
1234
1234
  children: h ? /* @__PURE__ */ t(
1235
1235
  ge,
1236
1236
  {
1237
- className: "size-[var(--spacing-md)] text-[color:var(--success)]",
1237
+ className: "ds:size-[var(--spacing-md)] ds:text-[color:var(--success)]",
1238
1238
  "data-testid": "workflow-map-check"
1239
1239
  }
1240
- ) : /* @__PURE__ */ t(m, { className: "size-[var(--spacing-md)]" })
1240
+ ) : /* @__PURE__ */ t(m, { className: "ds:size-[var(--spacing-md)]" })
1241
1241
  }
1242
1242
  ),
1243
- /* @__PURE__ */ d("span", { className: "flex flex-col min-w-0 flex-1", children: [
1243
+ /* @__PURE__ */ c("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
1244
1244
  /* @__PURE__ */ t(
1245
1245
  "span",
1246
1246
  {
1247
- className: o ? "type-meta truncate" : "type-body-sm",
1247
+ className: a ? "type-meta ds:truncate" : "type-body-sm",
1248
1248
  children: u
1249
1249
  }
1250
1250
  ),
1251
- !o && s ? /* @__PURE__ */ t(
1251
+ !a && i ? /* @__PURE__ */ t(
1252
1252
  "span",
1253
1253
  {
1254
- className: "type-meta text-[var(--muted-foreground)]",
1254
+ className: "type-meta ds:text-[var(--muted-foreground)]",
1255
1255
  "data-testid": "workflow-map-summary",
1256
- children: s
1256
+ children: i
1257
1257
  }
1258
1258
  ) : null
1259
1259
  ] }),
1260
- v ? /* @__PURE__ */ t("span", { className: "sr-only", children: v }) : null
1260
+ v ? /* @__PURE__ */ t("span", { className: "ds:sr-only", children: v }) : null
1261
1261
  ]
1262
1262
  }
1263
1263
  ),
1264
- l ? null : /* @__PURE__ */ t(
1264
+ d ? null : /* @__PURE__ */ t(
1265
1265
  "span",
1266
1266
  {
1267
1267
  "aria-hidden": "true",
1268
- className: ue({ orientation: a, compact: o }),
1268
+ className: ue({ orientation: r, compact: a }),
1269
1269
  "data-testid": "workflow-map-connector"
1270
1270
  }
1271
1271
  )
1272
1272
  ] })
1273
1273
  );
1274
1274
  }
1275
- function st({
1275
+ function it({
1276
1276
  orientation: e,
1277
- compact: r,
1278
- criteria: a
1277
+ compact: s,
1278
+ criteria: r
1279
1279
  }) {
1280
- const { t: o } = z();
1281
- return /* @__PURE__ */ d("li", { className: ce({ orientation: e }), children: [
1282
- /* @__PURE__ */ d(
1280
+ const { t: a } = z();
1281
+ return /* @__PURE__ */ c("li", { className: le({ orientation: e }), children: [
1282
+ /* @__PURE__ */ c(
1283
1283
  "div",
1284
1284
  {
1285
- className: de({
1285
+ className: ce({
1286
1286
  orientation: e,
1287
- compact: r,
1287
+ compact: s,
1288
1288
  state: "neutral",
1289
1289
  interactive: !1
1290
1290
  }),
@@ -1294,20 +1294,20 @@ function st({
1294
1294
  "span",
1295
1295
  {
1296
1296
  "aria-hidden": "true",
1297
- className: "flex items-center justify-center shrink-0 size-[var(--spacing-md)] text-[var(--muted-foreground)]",
1298
- children: /* @__PURE__ */ t(Me, { className: "size-[var(--spacing-md)]" })
1297
+ className: "ds:flex ds:items-center ds:justify-center ds:shrink-0 ds:size-[var(--spacing-md)] ds:text-[var(--muted-foreground)]",
1298
+ children: /* @__PURE__ */ t(Me, { className: "ds:size-[var(--spacing-md)]" })
1299
1299
  }
1300
1300
  ),
1301
- /* @__PURE__ */ d("span", { className: "flex flex-col min-w-0 flex-1", children: [
1301
+ /* @__PURE__ */ c("span", { className: "ds:flex ds:flex-col ds:min-w-0 ds:flex-1", children: [
1302
1302
  /* @__PURE__ */ t(
1303
1303
  "span",
1304
1304
  {
1305
- className: r ? "type-meta truncate" : "type-body-sm",
1306
- children: o("workflow.editor.enrollmentCriteria")
1305
+ className: s ? "type-meta ds:truncate" : "type-body-sm",
1306
+ children: a("workflow.editor.enrollmentCriteria")
1307
1307
  }
1308
1308
  ),
1309
- r ? null : /* @__PURE__ */ t("span", { className: "type-meta text-[var(--muted-foreground)]", children: a.summary ?? o("workflow.editor.criteriaCount", {
1310
- count: a.ruleCount
1309
+ s ? null : /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r.summary ?? a("workflow.editor.criteriaCount", {
1310
+ count: r.ruleCount
1311
1311
  }) })
1312
1312
  ] })
1313
1313
  ]
@@ -1317,7 +1317,7 @@ function st({
1317
1317
  "span",
1318
1318
  {
1319
1319
  "aria-hidden": "true",
1320
- className: ue({ orientation: e, compact: r })
1320
+ className: ue({ orientation: e, compact: s })
1321
1321
  }
1322
1322
  )
1323
1323
  ] });
@@ -1326,7 +1326,7 @@ export {
1326
1326
  Re as C,
1327
1327
  $e as W,
1328
1328
  et as a,
1329
- nt as b,
1329
+ ot as b,
1330
1330
  F as c,
1331
1331
  Ve as i,
1332
1332
  H as l,
@@ -1334,4 +1334,4 @@ export {
1334
1334
  Y as r,
1335
1335
  D as w
1336
1336
  };
1337
- //# sourceMappingURL=workflow-map-Uf-hHAO3.js.map
1337
+ //# sourceMappingURL=workflow-map-gBhL_Wrs.js.map