@mieweb/ui 0.8.0-dev.9 → 0.9.0-dev.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 (311) hide show
  1. package/dist/Animated-Cs-naa2g.d.cts +175 -0
  2. package/dist/Animated-Cs-naa2g.d.ts +175 -0
  3. package/dist/CsvBlock-D7Z6ZCRP.js +6 -0
  4. package/dist/{CsvBlock-RPGHFTVD.js.map → CsvBlock-D7Z6ZCRP.js.map} +1 -1
  5. package/dist/CsvBlock-QXXZ7ZUM.cjs +15 -0
  6. package/dist/{CsvBlock-HMAZ7YK5.cjs.map → CsvBlock-QXXZ7ZUM.cjs.map} +1 -1
  7. package/dist/HtmlPreviewBlock-AADG7MVB.cjs +15 -0
  8. package/dist/{HtmlPreviewBlock-QHLSIMWJ.cjs.map → HtmlPreviewBlock-AADG7MVB.cjs.map} +1 -1
  9. package/dist/HtmlPreviewBlock-F5VDM2EN.js +6 -0
  10. package/dist/{HtmlPreviewBlock-YF2YVKKX.js.map → HtmlPreviewBlock-F5VDM2EN.js.map} +1 -1
  11. package/dist/MermaidBlock-6PLITRBZ.js +6 -0
  12. package/dist/{MermaidBlock-H3TWNC4D.js.map → MermaidBlock-6PLITRBZ.js.map} +1 -1
  13. package/dist/MermaidBlock-TQ2O5CLV.cjs +15 -0
  14. package/dist/{MermaidBlock-ZLLBO3VY.cjs.map → MermaidBlock-TQ2O5CLV.cjs.map} +1 -1
  15. package/dist/SurveyBlock-OYL3VNU5.cjs +15 -0
  16. package/dist/{SurveyBlock-K6HKI7AD.cjs.map → SurveyBlock-OYL3VNU5.cjs.map} +1 -1
  17. package/dist/SurveyBlock-W5PSQ62F.js +6 -0
  18. package/dist/{SurveyBlock-ID55AT3R.js.map → SurveyBlock-W5PSQ62F.js.map} +1 -1
  19. package/dist/ag-grid.cjs +5 -5
  20. package/dist/ag-grid.js +1 -1
  21. package/dist/brands/index.cjs +7 -7
  22. package/dist/brands/index.js +2 -2
  23. package/dist/{chunk-5JZIDILK.cjs → chunk-3LHICE4I.cjs} +6 -6
  24. package/dist/chunk-3LHICE4I.cjs.map +1 -0
  25. package/dist/{chunk-JHZW3Y62.js → chunk-3RB35GYK.js} +5 -5
  26. package/dist/chunk-3RB35GYK.js.map +1 -0
  27. package/dist/{chunk-JMZF7ZHF.cjs → chunk-4SM3I7WE.cjs} +4 -4
  28. package/dist/{chunk-JMZF7ZHF.cjs.map → chunk-4SM3I7WE.cjs.map} +1 -1
  29. package/dist/{chunk-ZONEAWPR.cjs → chunk-5BVFVXHN.cjs} +218 -151
  30. package/dist/chunk-5BVFVXHN.cjs.map +1 -0
  31. package/dist/{chunk-CAN3A3DC.js → chunk-5H7SAEQO.js} +4 -4
  32. package/dist/{chunk-CAN3A3DC.js.map → chunk-5H7SAEQO.js.map} +1 -1
  33. package/dist/{chunk-EMMYFHOT.js → chunk-5WOB4UBD.js} +3 -3
  34. package/dist/{chunk-EMMYFHOT.js.map → chunk-5WOB4UBD.js.map} +1 -1
  35. package/dist/{chunk-JIU6CVPF.cjs → chunk-5Z6UPVGC.cjs} +5 -5
  36. package/dist/{chunk-JIU6CVPF.cjs.map → chunk-5Z6UPVGC.cjs.map} +1 -1
  37. package/dist/{chunk-YIXTGWT4.cjs → chunk-6QKMMKRY.cjs} +5 -5
  38. package/dist/{chunk-YIXTGWT4.cjs.map → chunk-6QKMMKRY.cjs.map} +1 -1
  39. package/dist/{chunk-F57VRLKP.js → chunk-6SAYPXHX.js} +4 -4
  40. package/dist/{chunk-F57VRLKP.js.map → chunk-6SAYPXHX.js.map} +1 -1
  41. package/dist/{chunk-5EKRH4KE.cjs → chunk-6XDPJWSC.cjs} +93 -77
  42. package/dist/chunk-6XDPJWSC.cjs.map +1 -0
  43. package/dist/{chunk-4AE2L6AO.cjs → chunk-7FTBPLA6.cjs} +8 -8
  44. package/dist/chunk-7FTBPLA6.cjs.map +1 -0
  45. package/dist/{chunk-AGYNCPJ2.cjs → chunk-7KN6J7XV.cjs} +19 -19
  46. package/dist/{chunk-AGYNCPJ2.cjs.map → chunk-7KN6J7XV.cjs.map} +1 -1
  47. package/dist/{chunk-SNSA6NWD.cjs → chunk-AHINB2TP.cjs} +9 -9
  48. package/dist/{chunk-SNSA6NWD.cjs.map → chunk-AHINB2TP.cjs.map} +1 -1
  49. package/dist/chunk-BKSPDTX4.js +3 -0
  50. package/dist/{chunk-3PXOIAF6.js.map → chunk-BKSPDTX4.js.map} +1 -1
  51. package/dist/chunk-BN75TLUN.cjs +163 -0
  52. package/dist/chunk-BN75TLUN.cjs.map +1 -0
  53. package/dist/{chunk-WWJIW2IH.cjs → chunk-BVMABVC4.cjs} +3 -3
  54. package/dist/{chunk-WWJIW2IH.cjs.map → chunk-BVMABVC4.cjs.map} +1 -1
  55. package/dist/{chunk-VKNCQIVN.cjs → chunk-BZAGP5W6.cjs} +8 -8
  56. package/dist/{chunk-VKNCQIVN.cjs.map → chunk-BZAGP5W6.cjs.map} +1 -1
  57. package/dist/{chunk-RS5VA6QU.cjs → chunk-C3DUS2VE.cjs} +3 -3
  58. package/dist/{chunk-RS5VA6QU.cjs.map → chunk-C3DUS2VE.cjs.map} +1 -1
  59. package/dist/{chunk-NLBT5O2X.js → chunk-CK3KLRNF.js} +3 -3
  60. package/dist/{chunk-NLBT5O2X.js.map → chunk-CK3KLRNF.js.map} +1 -1
  61. package/dist/{chunk-4J4FDVPS.cjs → chunk-CXDMZT45.cjs} +36 -3
  62. package/dist/chunk-CXDMZT45.cjs.map +1 -0
  63. package/dist/{chunk-TXRQQMG5.js → chunk-CYMZ2QS5.js} +2 -2
  64. package/dist/{chunk-TXRQQMG5.js.map → chunk-CYMZ2QS5.js.map} +1 -1
  65. package/dist/{chunk-CLQUCPV6.js → chunk-D25WH7MH.js} +7 -7
  66. package/dist/{chunk-CLQUCPV6.js.map → chunk-D25WH7MH.js.map} +1 -1
  67. package/dist/{chunk-ATOWMVZH.js → chunk-DFYMIRMW.js} +3 -3
  68. package/dist/{chunk-ATOWMVZH.js.map → chunk-DFYMIRMW.js.map} +1 -1
  69. package/dist/{chunk-ZJ5KAZLW.js → chunk-DGRXAIWK.js} +36 -3
  70. package/dist/chunk-DGRXAIWK.js.map +1 -0
  71. package/dist/{chunk-UZ5NGGMI.js → chunk-EG7XFZ3W.js} +4 -4
  72. package/dist/{chunk-UZ5NGGMI.js.map → chunk-EG7XFZ3W.js.map} +1 -1
  73. package/dist/{chunk-D6UXVOPS.cjs → chunk-FQBTGS3E.cjs} +5 -5
  74. package/dist/{chunk-D6UXVOPS.cjs.map → chunk-FQBTGS3E.cjs.map} +1 -1
  75. package/dist/{chunk-7SFGEE4M.cjs → chunk-FUFBRKOG.cjs} +48 -48
  76. package/dist/{chunk-7SFGEE4M.cjs.map → chunk-FUFBRKOG.cjs.map} +1 -1
  77. package/dist/{chunk-VA3WQ5KJ.cjs → chunk-FYAKUU2A.cjs} +37 -20
  78. package/dist/chunk-FYAKUU2A.cjs.map +1 -0
  79. package/dist/{chunk-JR4QIU54.cjs → chunk-H4AVMUOC.cjs} +10 -4
  80. package/dist/chunk-H4AVMUOC.cjs.map +1 -0
  81. package/dist/{chunk-I2ECTLON.cjs → chunk-HXSA6QC5.cjs} +3 -3
  82. package/dist/{chunk-I2ECTLON.cjs.map → chunk-HXSA6QC5.cjs.map} +1 -1
  83. package/dist/{chunk-X5ZPYYMS.js → chunk-I3DQXUSC.js} +3 -3
  84. package/dist/{chunk-X5ZPYYMS.js.map → chunk-I3DQXUSC.js.map} +1 -1
  85. package/dist/{chunk-FN6VHMLM.cjs → chunk-IB54SKWB.cjs} +8 -8
  86. package/dist/{chunk-FN6VHMLM.cjs.map → chunk-IB54SKWB.cjs.map} +1 -1
  87. package/dist/{chunk-JP5SGIXA.cjs → chunk-IFDC4TXM.cjs} +4 -4
  88. package/dist/{chunk-JP5SGIXA.cjs.map → chunk-IFDC4TXM.cjs.map} +1 -1
  89. package/dist/{chunk-RDGRKYQ5.cjs → chunk-IINZWUGK.cjs} +58 -6
  90. package/dist/chunk-IINZWUGK.cjs.map +1 -0
  91. package/dist/{chunk-D2GID3YK.js → chunk-KREUYVMZ.js} +58 -6
  92. package/dist/chunk-KREUYVMZ.js.map +1 -0
  93. package/dist/{chunk-Y6YSJPVC.js → chunk-KRU6IGV7.js} +11 -3
  94. package/dist/chunk-KRU6IGV7.js.map +1 -0
  95. package/dist/{chunk-K52C5UBS.js → chunk-KU3XRHWA.js} +4 -4
  96. package/dist/{chunk-K52C5UBS.js.map → chunk-KU3XRHWA.js.map} +1 -1
  97. package/dist/{chunk-P2VTQ5AR.cjs → chunk-L52N6BEN.cjs} +39 -23
  98. package/dist/chunk-L52N6BEN.cjs.map +1 -0
  99. package/dist/{chunk-6GKX36JX.js → chunk-L5W7TJQ5.js} +10 -4
  100. package/dist/chunk-L5W7TJQ5.js.map +1 -0
  101. package/dist/{chunk-PAM5UUBL.cjs → chunk-L7L5S2HO.cjs} +18 -2
  102. package/dist/{chunk-PAM5UUBL.cjs.map → chunk-L7L5S2HO.cjs.map} +1 -1
  103. package/dist/{chunk-RVGTI4F6.js → chunk-LAEIVOIY.js} +37 -20
  104. package/dist/chunk-LAEIVOIY.js.map +1 -0
  105. package/dist/{chunk-Z5KFXHDP.cjs → chunk-MM7QKUE3.cjs} +5 -5
  106. package/dist/{chunk-Z5KFXHDP.cjs.map → chunk-MM7QKUE3.cjs.map} +1 -1
  107. package/dist/{chunk-FJ7YPVKV.js → chunk-MUIDWFYJ.js} +3 -3
  108. package/dist/{chunk-FJ7YPVKV.js.map → chunk-MUIDWFYJ.js.map} +1 -1
  109. package/dist/{chunk-GPZDP2IA.js → chunk-MXQ7J4BB.js} +3 -3
  110. package/dist/{chunk-GPZDP2IA.js.map → chunk-MXQ7J4BB.js.map} +1 -1
  111. package/dist/{chunk-4KFVGIY6.js → chunk-NHN6A3ZO.js} +4 -4
  112. package/dist/{chunk-4KFVGIY6.js.map → chunk-NHN6A3ZO.js.map} +1 -1
  113. package/dist/{chunk-KLLRTTC5.js → chunk-O6GJ4IYS.js} +216 -151
  114. package/dist/chunk-O6GJ4IYS.js.map +1 -0
  115. package/dist/{chunk-4SIGL6QC.cjs → chunk-O7XHHTTP.cjs} +8 -8
  116. package/dist/{chunk-4SIGL6QC.cjs.map → chunk-O7XHHTTP.cjs.map} +1 -1
  117. package/dist/{chunk-7L4SY5YY.js → chunk-OAZUDUGX.js} +6 -4
  118. package/dist/chunk-OAZUDUGX.js.map +1 -0
  119. package/dist/{chunk-NFKX6QJP.cjs → chunk-OCV33S5Q.cjs} +3 -3
  120. package/dist/{chunk-NFKX6QJP.cjs.map → chunk-OCV33S5Q.cjs.map} +1 -1
  121. package/dist/{chunk-MUUB35XB.js → chunk-ODYQYLO2.js} +27 -11
  122. package/dist/chunk-ODYQYLO2.js.map +1 -0
  123. package/dist/{chunk-FPVRQCCL.js → chunk-OHDIJOGG.js} +4 -4
  124. package/dist/{chunk-FPVRQCCL.js.map → chunk-OHDIJOGG.js.map} +1 -1
  125. package/dist/{chunk-GQVL2JKQ.cjs → chunk-OHKO5THF.cjs} +3 -3
  126. package/dist/{chunk-GQVL2JKQ.cjs.map → chunk-OHKO5THF.cjs.map} +1 -1
  127. package/dist/{chunk-LMBXJZLG.js → chunk-ON4JULCA.js} +3 -3
  128. package/dist/{chunk-LMBXJZLG.js.map → chunk-ON4JULCA.js.map} +1 -1
  129. package/dist/{chunk-4KZIXV2J.js → chunk-ONNY7UO4.js} +6 -6
  130. package/dist/{chunk-4KZIXV2J.js.map → chunk-ONNY7UO4.js.map} +1 -1
  131. package/dist/{chunk-XNU4NTVE.js → chunk-OSPTA4UR.js} +3 -3
  132. package/dist/{chunk-XNU4NTVE.js.map → chunk-OSPTA4UR.js.map} +1 -1
  133. package/dist/{chunk-FDUA6OGN.js → chunk-PFKRHNYV.js} +8 -8
  134. package/dist/chunk-PFKRHNYV.js.map +1 -0
  135. package/dist/{chunk-KFEN2SRZ.js → chunk-PHK4XBO5.js} +3 -3
  136. package/dist/{chunk-KFEN2SRZ.js.map → chunk-PHK4XBO5.js.map} +1 -1
  137. package/dist/{chunk-Q4NRKKIW.js → chunk-PYHFVYVZ.js} +3 -3
  138. package/dist/{chunk-Q4NRKKIW.js.map → chunk-PYHFVYVZ.js.map} +1 -1
  139. package/dist/{chunk-XMCIXHGH.js → chunk-Q7G56ZIO.js} +39 -23
  140. package/dist/chunk-Q7G56ZIO.js.map +1 -0
  141. package/dist/{chunk-CLRWVJOD.js → chunk-QAKASRE6.js} +32 -24
  142. package/dist/chunk-QAKASRE6.js.map +1 -0
  143. package/dist/{chunk-UBOVDAD7.js → chunk-QAQOCS2J.js} +3 -3
  144. package/dist/{chunk-UBOVDAD7.js.map → chunk-QAQOCS2J.js.map} +1 -1
  145. package/dist/{chunk-YVIH26FG.cjs → chunk-QKAYRHWP.cjs} +12 -12
  146. package/dist/{chunk-YVIH26FG.cjs.map → chunk-QKAYRHWP.cjs.map} +1 -1
  147. package/dist/{chunk-P3JEMF6E.cjs → chunk-RSCA5AZW.cjs} +4 -4
  148. package/dist/{chunk-P3JEMF6E.cjs.map → chunk-RSCA5AZW.cjs.map} +1 -1
  149. package/dist/{chunk-5Y5FSR4N.js → chunk-SCXELRRZ.js} +3 -3
  150. package/dist/{chunk-5Y5FSR4N.js.map → chunk-SCXELRRZ.js.map} +1 -1
  151. package/dist/{chunk-JWTCEWQ4.cjs → chunk-SNEQXSC5.cjs} +2 -2
  152. package/dist/{chunk-JWTCEWQ4.cjs.map → chunk-SNEQXSC5.cjs.map} +1 -1
  153. package/dist/{chunk-ZPZAZQW4.cjs → chunk-SRA2L3SQ.cjs} +6 -4
  154. package/dist/chunk-SRA2L3SQ.cjs.map +1 -0
  155. package/dist/{chunk-HK3AMH3Q.cjs → chunk-VROIMIHB.cjs} +11 -3
  156. package/dist/chunk-VROIMIHB.cjs.map +1 -0
  157. package/dist/{chunk-3SHLOF4V.cjs → chunk-VTR2KGLY.cjs} +9 -9
  158. package/dist/{chunk-3SHLOF4V.cjs.map → chunk-VTR2KGLY.cjs.map} +1 -1
  159. package/dist/chunk-WYMO3IIK.js +136 -0
  160. package/dist/chunk-WYMO3IIK.js.map +1 -0
  161. package/dist/{chunk-ABTO4RD6.cjs → chunk-X5QRRMGB.cjs} +32 -24
  162. package/dist/chunk-X5QRRMGB.cjs.map +1 -0
  163. package/dist/{chunk-SH6B4MG5.js → chunk-XBXDUAIM.js} +4 -4
  164. package/dist/{chunk-SH6B4MG5.js.map → chunk-XBXDUAIM.js.map} +1 -1
  165. package/dist/{chunk-K5GQPTTA.cjs → chunk-XEEVDZDK.cjs} +3 -3
  166. package/dist/{chunk-K5GQPTTA.cjs.map → chunk-XEEVDZDK.cjs.map} +1 -1
  167. package/dist/{chunk-GXODR6V4.js → chunk-XOIIUO6O.js} +3 -3
  168. package/dist/{chunk-GXODR6V4.js.map → chunk-XOIIUO6O.js.map} +1 -1
  169. package/dist/{chunk-AHHFFXJR.cjs → chunk-XTHMC76F.cjs} +3 -3
  170. package/dist/{chunk-AHHFFXJR.cjs.map → chunk-XTHMC76F.cjs.map} +1 -1
  171. package/dist/{chunk-TVLZZI5Q.cjs → chunk-YJP6DUFO.cjs} +9 -9
  172. package/dist/{chunk-TVLZZI5Q.cjs.map → chunk-YJP6DUFO.cjs.map} +1 -1
  173. package/dist/{chunk-EHQ77LL5.js → chunk-ZB54MTMQ.js} +3 -3
  174. package/dist/{chunk-EHQ77LL5.js.map → chunk-ZB54MTMQ.js.map} +1 -1
  175. package/dist/components/Accordion/index.cjs +2 -2
  176. package/dist/components/Accordion/index.js +1 -1
  177. package/dist/components/Alert/index.d.cts +1 -1
  178. package/dist/components/Alert/index.d.ts +1 -1
  179. package/dist/components/AlertDialog/index.cjs +6 -5
  180. package/dist/components/AlertDialog/index.js +5 -4
  181. package/dist/components/Autocomplete/index.cjs +3 -3
  182. package/dist/components/Autocomplete/index.js +2 -2
  183. package/dist/components/Badge/index.d.cts +1 -1
  184. package/dist/components/Badge/index.d.ts +1 -1
  185. package/dist/components/Breadcrumb/index.cjs +3 -3
  186. package/dist/components/Breadcrumb/index.js +1 -1
  187. package/dist/components/Button/index.cjs +3 -3
  188. package/dist/components/Button/index.js +1 -1
  189. package/dist/components/Card/index.d.cts +2 -2
  190. package/dist/components/Card/index.d.ts +2 -2
  191. package/dist/components/CountryCodeDropdown/index.cjs +5 -5
  192. package/dist/components/CountryCodeDropdown/index.d.cts +11 -1
  193. package/dist/components/CountryCodeDropdown/index.d.ts +11 -1
  194. package/dist/components/CountryCodeDropdown/index.js +2 -2
  195. package/dist/components/CustomizableDashboard/index.cjs +11 -11
  196. package/dist/components/CustomizableDashboard/index.js +4 -4
  197. package/dist/components/DateInput/index.cjs +4 -4
  198. package/dist/components/DateInput/index.js +3 -3
  199. package/dist/components/Dropdown/index.cjs +9 -9
  200. package/dist/components/Dropdown/index.js +2 -2
  201. package/dist/components/FloatingWindow/index.cjs +4 -4
  202. package/dist/components/FloatingWindow/index.js +2 -2
  203. package/dist/components/GlossaryTooltip/index.cjs +3 -3
  204. package/dist/components/GlossaryTooltip/index.js +2 -2
  205. package/dist/components/KeyboardShortcutsOverlay/index.cjs +6 -5
  206. package/dist/components/KeyboardShortcutsOverlay/index.js +4 -3
  207. package/dist/components/Markdown/index.cjs +19 -19
  208. package/dist/components/Markdown/index.js +7 -7
  209. package/dist/components/MediaEditor/index.cjs +13 -12
  210. package/dist/components/MediaEditor/index.js +8 -7
  211. package/dist/components/MediaPlayer/index.cjs +6 -6
  212. package/dist/components/MediaPlayer/index.js +3 -3
  213. package/dist/components/Modal/index.cjs +11 -10
  214. package/dist/components/Modal/index.d.cts +1 -1
  215. package/dist/components/Modal/index.d.ts +1 -1
  216. package/dist/components/Modal/index.js +3 -2
  217. package/dist/components/Pagination/index.cjs +4 -4
  218. package/dist/components/Pagination/index.d.cts +1 -1
  219. package/dist/components/Pagination/index.d.ts +1 -1
  220. package/dist/components/Pagination/index.js +1 -1
  221. package/dist/components/PhoneInput/index.cjs +4 -4
  222. package/dist/components/PhoneInput/index.js +2 -2
  223. package/dist/components/Progress/index.d.cts +1 -1
  224. package/dist/components/Progress/index.d.ts +1 -1
  225. package/dist/components/RecordButton/index.d.cts +1 -1
  226. package/dist/components/RecordButton/index.d.ts +1 -1
  227. package/dist/components/RichTextEditor/index.cjs +8 -8
  228. package/dist/components/RichTextEditor/index.js +5 -5
  229. package/dist/components/SectionSpyNav/index.cjs +4 -4
  230. package/dist/components/SectionSpyNav/index.js +3 -3
  231. package/dist/components/Select/index.cjs +4 -4
  232. package/dist/components/Select/index.js +2 -2
  233. package/dist/components/Sheet/index.cjs +11 -11
  234. package/dist/components/Sheet/index.js +2 -2
  235. package/dist/components/Slider/index.d.cts +2 -2
  236. package/dist/components/Slider/index.d.ts +2 -2
  237. package/dist/components/SourceTip/index.cjs +3 -3
  238. package/dist/components/SourceTip/index.js +2 -2
  239. package/dist/components/SuperChat/index.cjs +10 -10
  240. package/dist/components/SuperChat/index.js +4 -4
  241. package/dist/components/SuperChat/plugins/index.cjs +4 -4
  242. package/dist/components/SuperChat/plugins/index.js +3 -3
  243. package/dist/components/Text/index.d.cts +1 -1
  244. package/dist/components/Text/index.d.ts +1 -1
  245. package/dist/components/ThemeProvider/index.cjs +9 -9
  246. package/dist/components/ThemeProvider/index.d.cts +1 -1
  247. package/dist/components/ThemeProvider/index.d.ts +1 -1
  248. package/dist/components/ThemeProvider/index.js +3 -3
  249. package/dist/components/Toggle/index.d.cts +1 -1
  250. package/dist/components/Toggle/index.d.ts +1 -1
  251. package/dist/components/Tooltip/index.cjs +3 -3
  252. package/dist/components/Tooltip/index.js +2 -2
  253. package/dist/components/TranscriptView/index.cjs +3 -3
  254. package/dist/components/TranscriptView/index.js +1 -1
  255. package/dist/datavis.cjs +2 -2
  256. package/dist/datavis.js +1 -1
  257. package/dist/esheet.cjs +14 -13
  258. package/dist/esheet.cjs.map +1 -1
  259. package/dist/esheet.js +11 -10
  260. package/dist/esheet.js.map +1 -1
  261. package/dist/hooks/index.cjs +1 -1
  262. package/dist/hooks/index.js +1 -1
  263. package/dist/index.cjs +1850 -1123
  264. package/dist/index.cjs.map +1 -1
  265. package/dist/index.d.cts +227 -29
  266. package/dist/index.d.ts +227 -29
  267. package/dist/index.js +826 -131
  268. package/dist/index.js.map +1 -1
  269. package/dist/motion.cjs +87 -0
  270. package/dist/motion.cjs.map +1 -0
  271. package/dist/motion.d.cts +52 -0
  272. package/dist/motion.d.ts +52 -0
  273. package/dist/motion.js +50 -0
  274. package/dist/motion.js.map +1 -0
  275. package/dist/styles.css +1 -1
  276. package/dist/tailwind-preset.cjs +4 -4
  277. package/dist/tailwind-preset.js +1 -1
  278. package/package.json +17 -1
  279. package/dist/CsvBlock-HMAZ7YK5.cjs +0 -15
  280. package/dist/CsvBlock-RPGHFTVD.js +0 -6
  281. package/dist/HtmlPreviewBlock-QHLSIMWJ.cjs +0 -15
  282. package/dist/HtmlPreviewBlock-YF2YVKKX.js +0 -6
  283. package/dist/MermaidBlock-H3TWNC4D.js +0 -6
  284. package/dist/MermaidBlock-ZLLBO3VY.cjs +0 -15
  285. package/dist/SurveyBlock-ID55AT3R.js +0 -6
  286. package/dist/SurveyBlock-K6HKI7AD.cjs +0 -15
  287. package/dist/chunk-3PXOIAF6.js +0 -3
  288. package/dist/chunk-4AE2L6AO.cjs.map +0 -1
  289. package/dist/chunk-4J4FDVPS.cjs.map +0 -1
  290. package/dist/chunk-5EKRH4KE.cjs.map +0 -1
  291. package/dist/chunk-5JZIDILK.cjs.map +0 -1
  292. package/dist/chunk-6GKX36JX.js.map +0 -1
  293. package/dist/chunk-7L4SY5YY.js.map +0 -1
  294. package/dist/chunk-ABTO4RD6.cjs.map +0 -1
  295. package/dist/chunk-CLRWVJOD.js.map +0 -1
  296. package/dist/chunk-D2GID3YK.js.map +0 -1
  297. package/dist/chunk-FDUA6OGN.js.map +0 -1
  298. package/dist/chunk-HK3AMH3Q.cjs.map +0 -1
  299. package/dist/chunk-JHZW3Y62.js.map +0 -1
  300. package/dist/chunk-JR4QIU54.cjs.map +0 -1
  301. package/dist/chunk-KLLRTTC5.js.map +0 -1
  302. package/dist/chunk-MUUB35XB.js.map +0 -1
  303. package/dist/chunk-P2VTQ5AR.cjs.map +0 -1
  304. package/dist/chunk-RDGRKYQ5.cjs.map +0 -1
  305. package/dist/chunk-RVGTI4F6.js.map +0 -1
  306. package/dist/chunk-VA3WQ5KJ.cjs.map +0 -1
  307. package/dist/chunk-XMCIXHGH.js.map +0 -1
  308. package/dist/chunk-Y6YSJPVC.js.map +0 -1
  309. package/dist/chunk-ZJ5KAZLW.js.map +0 -1
  310. package/dist/chunk-ZONEAWPR.cjs.map +0 -1
  311. package/dist/chunk-ZPZAZQW4.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,122 +1,131 @@
1
- export { brands } from './chunk-TXRQQMG5.js';
1
+ export { VisuallyHidden } from './chunk-H2CIKJQI.js';
2
+ export { brands } from './chunk-CYMZ2QS5.js';
3
+ export { webchartBrand } from './chunk-CW66SO5O.js';
2
4
  export { defaultBrand } from './chunk-PSTGFXQG.js';
3
5
  export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
4
6
  export { miewebBrand } from './chunk-NERS5ZT6.js';
5
7
  export { wagglelineBrand } from './chunk-2NTYAALC.js';
6
- export { webchartBrand } from './chunk-CW66SO5O.js';
7
8
  export { createBrandPreset, generateBrandCSS, generateTailwindTheme } from './chunk-WOYUQ4AT.js';
8
9
  export { bluehiveBrand } from './chunk-3T7QGLNB.js';
9
10
  export { ccmeBrand } from './chunk-SCQRJPSV.js';
10
11
  export { ozwellBrand } from './chunk-5YUBQIC7.js';
11
12
  import { getModelBytes } from './chunk-6I7IDZ4A.js';
13
+ import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
14
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
12
15
  import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-DVOQ3JNO.js';
13
16
  export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-DVOQ3JNO.js';
14
17
  import { Text } from './chunk-3YSIZ2CK.js';
15
18
  export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
16
- export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-SH6B4MG5.js';
19
+ export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-XBXDUAIM.js';
17
20
  export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
18
- export { TranscriptView, formatTimestampMs } from './chunk-RVGTI4F6.js';
19
- export { VisuallyHidden } from './chunk-H2CIKJQI.js';
20
- export { SourceTip } from './chunk-KFEN2SRZ.js';
21
+ export { TranscriptView, formatTimestampMs } from './chunk-LAEIVOIY.js';
22
+ import { Skeleton } from './chunk-ZIUADGAR.js';
23
+ export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
24
+ export { SourceTip } from './chunk-PHK4XBO5.js';
21
25
  export { Sparkline } from './chunk-CG4ZKJLE.js';
22
26
  import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
23
27
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
24
28
  import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-22CYDCXA.js';
25
29
  export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-22CYDCXA.js';
26
- import { EmptyState } from './chunk-GPZDP2IA.js';
27
- export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-GPZDP2IA.js';
28
- import { MessageComposer } from './chunk-KLLRTTC5.js';
29
- export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-KLLRTTC5.js';
30
- import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
31
- export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
32
- export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-CAN3A3DC.js';
30
+ import { EmptyState } from './chunk-MXQ7J4BB.js';
31
+ export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-MXQ7J4BB.js';
32
+ import { useMentionAutocomplete, validateFile, getFileType, generateAttachmentId, AttachmentPreviewItem, MentionMenu, DragDropZone, MessageComposer } from './chunk-O6GJ4IYS.js';
33
+ export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-O6GJ4IYS.js';
34
+ import { RecordButton } from './chunk-VNWJTCBQ.js';
35
+ export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
36
+ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-5H7SAEQO.js';
33
37
  export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
34
38
  export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
35
- export { SectionSpyNav } from './chunk-JHZW3Y62.js';
39
+ export { SectionSpyNav } from './chunk-3RB35GYK.js';
36
40
  export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
37
- import { Skeleton } from './chunk-ZIUADGAR.js';
38
- export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
39
- export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-FDUA6OGN.js';
40
- export { PhoneInput, PhoneInputGroup } from './chunk-GXODR6V4.js';
41
+ export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
42
+ export { PhoneInput, PhoneInputGroup } from './chunk-XOIIUO6O.js';
41
43
  import { Progress } from './chunk-CEQJGUAS.js';
42
44
  export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
43
45
  export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
44
46
  export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
45
- import { RecordButton } from './chunk-VNWJTCBQ.js';
46
- export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
47
- export { GlossaryTooltip } from './chunk-6GKX36JX.js';
48
- export { Kbd, KeyboardShortcutsOverlay } from './chunk-X5ZPYYMS.js';
49
- export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-CLQUCPV6.js';
50
- export { HtmlPreviewBlock } from './chunk-UZ5NGGMI.js';
51
- export { MermaidBlock } from './chunk-EHQ77LL5.js';
52
- export { SurveyBlock } from './chunk-XNU4NTVE.js';
53
- export { CsvBlock } from './chunk-4KFVGIY6.js';
54
- export { FenceBlock } from './chunk-NLBT5O2X.js';
55
- export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-4KZIXV2J.js';
47
+ export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
48
+ export { GlossaryTooltip } from './chunk-L5W7TJQ5.js';
49
+ export { Kbd, KeyboardShortcutsOverlay } from './chunk-I3DQXUSC.js';
50
+ export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-D25WH7MH.js';
51
+ export { CsvBlock } from './chunk-NHN6A3ZO.js';
52
+ export { HtmlPreviewBlock } from './chunk-EG7XFZ3W.js';
53
+ export { MermaidBlock } from './chunk-ZB54MTMQ.js';
54
+ export { SurveyBlock } from './chunk-OSPTA4UR.js';
55
+ export { FenceBlock } from './chunk-CK3KLRNF.js';
56
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-ONNY7UO4.js';
56
57
  export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-2BPIVWAK.js';
57
58
  import './chunk-RISZWWEQ.js';
58
- export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-EMMYFHOT.js';
59
+ export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-5WOB4UBD.js';
60
+ export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
59
61
  export { CopyButton } from './chunk-5QZ73PZC.js';
60
- import { CountryDropdownBase } from './chunk-CLRWVJOD.js';
61
- export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-CLRWVJOD.js';
62
- export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-F57VRLKP.js';
62
+ import { CountryDropdownBase } from './chunk-QAKASRE6.js';
63
+ export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-QAKASRE6.js';
64
+ export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-6SAYPXHX.js';
63
65
  import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
64
66
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
65
- export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
66
- import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-K52C5UBS.js';
67
- export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-K52C5UBS.js';
67
+ export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-ON4JULCA.js';
68
+ import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-KU3XRHWA.js';
69
+ export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-KU3XRHWA.js';
68
70
  export { FilterSummaryBar } from './chunk-6SCQ7FKT.js';
69
- export { FloatingWindow, MinimizedWindow } from './chunk-Q4NRKKIW.js';
70
- export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
71
+ export { FloatingWindow, MinimizedWindow } from './chunk-PYHFVYVZ.js';
72
+ import { Avatar } from './chunk-HZ4MBUC3.js';
73
+ export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
71
74
  import './chunk-IQ4KQJAO.js';
72
- export { Breadcrumb, BreadcrumbSlash } from './chunk-5Y5FSR4N.js';
75
+ export { Breadcrumb, BreadcrumbSlash } from './chunk-SCXELRRZ.js';
73
76
  import './chunk-OF7NTZ2I.js';
74
77
  import { Checkbox } from './chunk-753Z3NXL.js';
75
78
  export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
76
79
  export { ClampedText } from './chunk-L6MDULYB.js';
77
80
  export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
78
- export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
79
- export { miewebUIPreset, miewebUISafelist } from './chunk-ZJ5KAZLW.js';
80
- export { Accordion } from './chunk-Y6YSJPVC.js';
81
+ import './chunk-7XUN3OQT.js';
82
+ export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
83
+ export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
84
+ export { miewebUIPreset, miewebUISafelist } from './chunk-DGRXAIWK.js';
85
+ export { Accordion } from './chunk-KRU6IGV7.js';
81
86
  import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
82
87
  export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';
83
- import { AlertDialog } from './chunk-FPVRQCCL.js';
84
- export { AlertDialog } from './chunk-FPVRQCCL.js';
88
+ import { AlertDialog } from './chunk-OHDIJOGG.js';
89
+ export { AlertDialog } from './chunk-OHDIJOGG.js';
85
90
  export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-VVDE4CHU.js';
86
91
  export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
87
- export { Autocomplete } from './chunk-UBOVDAD7.js';
88
- import { Avatar } from './chunk-HZ4MBUC3.js';
89
- export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
92
+ export { Autocomplete } from './chunk-QAQOCS2J.js';
90
93
  import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
91
94
  export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
92
- import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-MUUB35XB.js';
93
- export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-MUUB35XB.js';
95
+ import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-ODYQYLO2.js';
96
+ export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-ODYQYLO2.js';
94
97
  import { Textarea } from './chunk-H3YO5GBM.js';
95
98
  export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
96
- import { Tooltip } from './chunk-FJ7YPVKV.js';
97
- export { Tooltip } from './chunk-FJ7YPVKV.js';
99
+ import { Tooltip } from './chunk-MUIDWFYJ.js';
100
+ export { Tooltip } from './chunk-MUIDWFYJ.js';
98
101
  import { RadioGroup, Radio } from './chunk-EPSB4WTL.js';
99
102
  export { Radio, RadioGroup, radioVariants } from './chunk-EPSB4WTL.js';
100
103
  import { Label } from './chunk-I3WGZPI6.js';
101
104
  export { Label, labelVariants } from './chunk-I3WGZPI6.js';
102
- import { Select } from './chunk-ATOWMVZH.js';
103
- export { Select, selectTriggerVariants } from './chunk-ATOWMVZH.js';
104
- import { DateInput } from './chunk-7L4SY5YY.js';
105
- export { DateInput } from './chunk-7L4SY5YY.js';
105
+ import { Select } from './chunk-DFYMIRMW.js';
106
+ export { Select, selectTriggerVariants } from './chunk-DFYMIRMW.js';
107
+ import { DateInput } from './chunk-OAZUDUGX.js';
108
+ export { DateInput } from './chunk-OAZUDUGX.js';
106
109
  import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
107
110
  export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
108
- import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-XMCIXHGH.js';
109
- export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from './chunk-XMCIXHGH.js';
111
+ import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
112
+ export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
113
+ import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-Q7G56ZIO.js';
114
+ export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from './chunk-Q7G56ZIO.js';
110
115
  import './chunk-6NZXWKUE.js';
111
116
  import { Input, inputVariants } from './chunk-3IMM2PM4.js';
112
117
  export { Input, RequiredMark, floatingGroupLabelVariants, floatingGroupVariants, floatingLabelVariants, inputVariants } from './chunk-3IMM2PM4.js';
113
- import { Plus, GripVertical, RefreshCw, Pencil, AlertCircle, ArrowLeft, Users, FilePlus, CheckCircle, ChevronDown, Clock, FileText, ClipboardList, Stethoscope, Mail, Phone, ClipboardCheck, Eye, Info, Link, ChevronUp, History, StickyNote, ExternalLink, MoreVertical, Trash2, Send, Scan, TestTube2, Pill, Share, User, Download, ChevronRight, Calendar, Printer, ClipboardPlus, FileCheck, Wheat, Bell, FileHeart, HeartPulse, Paperclip, HelpCircle, MoreHorizontal, AlertTriangle, Upload as Upload$1, Camera, Check as Check$1, X as X$1, ScanLine, Image } from './chunk-3PXOIAF6.js';
114
- export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCircle as AlertCircleIcon, AlertTriangle as AlertTriangleIcon, Wheat as AllergyIcon, WheatOff as AllergyOffIcon, Ambulance as AmbulanceIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, ArrowUpDown as ArrowUpDownIcon, AtSign as AtSignIcon, Baby as BabyIcon, BadgeAlert as BadgeAlertIcon, BadgeCheck as BadgeCheckIcon, BadgeMinus as BadgeMinusIcon, BadgePlus as BadgePlusIcon, BadgeX as BadgeXIcon, Ban as BanIcon, Bandage as BandageIcon, BedDouble as BedDoubleIcon, Bed as BedIcon, BedSingle as BedSingleIcon, Bell as BellIcon, BellOff as BellOffIcon, Biohazard as BiohazardIcon, Bone as BoneIcon, BookOpenCheck as BookOpenCheckIcon, BookOpen as BookOpenIcon, Bookmark as BookmarkIcon, Brain as BrainIcon, Briefcase as BriefcaseIcon, BriefcaseMedical as BriefcaseMedicalIcon, Building as BuildingIcon, CalendarCheck as CalendarCheckIcon, Calendar as CalendarIcon, Camera as CameraIcon, Cannabis as CannabisIcon, BarChart3 as ChartIcon, CheckCircle as CheckCircleIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, Cigarette as CigaretteIcon, CigaretteOff as CigaretteOffIcon, CircleDotDashed as CircleDotDashedIcon, CircleDot as CircleDotIcon, CircleUser as CircleUserIcon, ClipboardCheck as ClipboardCheckIcon, Clipboard as ClipboardIcon, ClipboardList as ClipboardListIcon, ClipboardPlus as ClipboardPlusIcon, Clock as ClockIcon, Cog as CogIcon, Columns as ColumnsIcon, Copy as CopyIcon, CreditCard as CreditCardIcon, Cross as CrossIcon, Dna as DnaIcon, DollarSign as DollarSignIcon, Download as DownloadIcon, Droplet as DropletIcon, Droplets as DropletsIcon, Ear as EarIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeOff as EyeOffIcon, FileCheck2 as FileCheck2Icon, FileCheck as FileCheckIcon, FileHeart as FileHeartIcon, File as FileIcon, FilePlus2 as FilePlus2Icon, FilePlus as FilePlusIcon, FileText as FileTextIcon, Filter as FilterIcon, Fingerprint as FingerprintIcon, Flag as FlagIcon, FlaskConical as FlaskIcon, FlaskRound as FlaskRoundIcon, Folder as FolderIcon, FolderOpen as FolderOpenIcon, Footprints as FootprintsIcon, Glasses as GlassesIcon, Globe as GlobeIcon, LayoutGrid as GridIcon, GripVertical as GripVerticalIcon, Hand as HandIcon, HandMetal as HandMetalIcon, Hash as HashIcon, Heart as HeartIcon, HeartOff as HeartOffIcon, HeartPulse as HeartPulseIcon, HelpCircle as HelpCircleIcon, History as HistoryIcon, Home as HomeIcon, Hospital as HospitalIcon, Image as ImageIcon, Info as InfoIcon, Key as KeyIcon, Link as LinkIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LogIn as LogInIcon, LogOut as LogOutIcon, Mail as MailIcon, MapPin as MapPinIcon, Maximize as MaximizeIcon, Menu as MenuIcon, MessageSquare as MessageIcon, Microscope as MicroscopeIcon, Minimize as MinimizeIcon, Minus as MinusIcon, Monitor as MonitorIcon, Moon as MoonIcon, MoreHorizontal as MoreHorizontalIcon, MoreVertical as MoreVerticalIcon, NotebookPen as NotebookPenIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, CircleUserRound as PatientIcon, Pencil as PencilIcon, UserRound as PersonIcon, Phone as PhoneIcon, PieChart as PieChartIcon, Pill as PillIcon, Plus as PlusIcon, Printer as PrinterIcon, Radiation as RadiationIcon, Ruler as RulerIcon, Save as SaveIcon, Scale as ScaleIcon, Scaling as ScalingIcon, ScanEye as ScanEyeIcon, Scan as ScanIcon, ScanLine as ScanLineIcon, Search as SearchIcon, Settings as SettingsIcon, Share as ShareIcon, ShieldCheck as ShieldCheckIcon, Shield as ShieldIcon, ShieldPlus as ShieldPlusIcon, Sliders as SlidersIcon, Sparkle as SparkleIcon, Star as StarIcon, Stethoscope as StethoscopeIcon, StickyNote as StickyNoteIcon, Sun as SunIcon, Syringe as SyringeIcon, Table as TableIcon, Tablets as TabletsIcon, Tag as TagIcon, TestTube2 as TestTubeIcon, TestTubes as TestTubesIcon, Thermometer as ThermometerIcon, ThermometerSun as ThermometerSunIcon, ThumbsDown as ThumbsDownIcon, ThumbsUp as ThumbsUpIcon, Timer as TimerIcon, Trash2 as TrashIcon, TrendingDown as TrendingDownIcon, TrendingUp as TrendingUpIcon, Truck as TruckIcon, Unlock as UnlockIcon, Upload as UploadIcon, UserCheck as UserCheckIcon, User as UserIcon, UserMinus as UserMinusIcon, UserPlus as UserPlusIcon, UserRoundCheck as UserRoundCheckIcon, UserRoundMinus as UserRoundMinusIcon, UserRoundPlus as UserRoundPlusIcon, UserRoundX as UserRoundXIcon, Users as UsersIcon, Weight as WeightIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, X2 as XIcon, Zap as ZapIcon } from './chunk-3PXOIAF6.js';
118
+ import { Plus, GripVertical, RefreshCw, Pencil, AlertCircle, ArrowLeft, Users, FilePlus, CheckCircle, ChevronDown, AlertTriangle, Paperclip, Mic, Square, Loader2, ArrowUp, Check, Bot, ChevronUp, Clock, FileText, ClipboardList, Stethoscope, Mail, Phone, ClipboardCheck, Eye, Info, Link, History, StickyNote, ExternalLink, MoreVertical, Trash2, Send, Scan, TestTube2, Pill, Share, User, Download, ChevronRight as ChevronRight$1, Calendar, Printer, ClipboardPlus, FileCheck, Wheat, Bell, FileHeart, HeartPulse, HelpCircle, MoreHorizontal, Upload as Upload$1, Camera, X as X$1, ScanLine, Image } from './chunk-BKSPDTX4.js';
119
+ export { Accessibility as AccessibilityIcon, Activity as ActivityIcon, AlertCircle as AlertCircleIcon, AlertTriangle as AlertTriangleIcon, Wheat as AllergyIcon, WheatOff as AllergyOffIcon, Ambulance as AmbulanceIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, ArrowUpDown as ArrowUpDownIcon, ArrowUp as ArrowUpIcon, AtSign as AtSignIcon, Baby as BabyIcon, BadgeAlert as BadgeAlertIcon, BadgeCheck as BadgeCheckIcon, BadgeMinus as BadgeMinusIcon, BadgePlus as BadgePlusIcon, BadgeX as BadgeXIcon, Ban as BanIcon, Bandage as BandageIcon, BedDouble as BedDoubleIcon, Bed as BedIcon, BedSingle as BedSingleIcon, Bell as BellIcon, BellOff as BellOffIcon, Biohazard as BiohazardIcon, Bone as BoneIcon, BookOpenCheck as BookOpenCheckIcon, BookOpen as BookOpenIcon, Bookmark as BookmarkIcon, Bot as BotIcon, Brain as BrainIcon, Briefcase as BriefcaseIcon, BriefcaseMedical as BriefcaseMedicalIcon, Building as BuildingIcon, CalendarCheck as CalendarCheckIcon, Calendar as CalendarIcon, Camera as CameraIcon, Cannabis as CannabisIcon, BarChart3 as ChartIcon, CheckCircle as CheckCircleIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronLeft as ChevronLeftIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, Cigarette as CigaretteIcon, CigaretteOff as CigaretteOffIcon, CircleDotDashed as CircleDotDashedIcon, CircleDot as CircleDotIcon, CircleUser as CircleUserIcon, ClipboardCheck as ClipboardCheckIcon, Clipboard as ClipboardIcon, ClipboardList as ClipboardListIcon, ClipboardPlus as ClipboardPlusIcon, Clock as ClockIcon, Cog as CogIcon, Columns as ColumnsIcon, Copy as CopyIcon, CreditCard as CreditCardIcon, Cross as CrossIcon, Dna as DnaIcon, DollarSign as DollarSignIcon, Download as DownloadIcon, Droplet as DropletIcon, Droplets as DropletsIcon, Ear as EarIcon, ExternalLink as ExternalLinkIcon, Eye as EyeIcon, EyeOff as EyeOffIcon, FileCheck2 as FileCheck2Icon, FileCheck as FileCheckIcon, FileHeart as FileHeartIcon, File as FileIcon, FilePlus2 as FilePlus2Icon, FilePlus as FilePlusIcon, FileText as FileTextIcon, Filter as FilterIcon, Fingerprint as FingerprintIcon, Flag as FlagIcon, FlaskConical as FlaskIcon, FlaskRound as FlaskRoundIcon, Folder as FolderIcon, FolderOpen as FolderOpenIcon, Footprints as FootprintsIcon, Glasses as GlassesIcon, Globe as GlobeIcon, LayoutGrid as GridIcon, GripVertical as GripVerticalIcon, Hand as HandIcon, HandMetal as HandMetalIcon, Hash as HashIcon, Heart as HeartIcon, HeartOff as HeartOffIcon, HeartPulse as HeartPulseIcon, HelpCircle as HelpCircleIcon, History as HistoryIcon, Home as HomeIcon, Hospital as HospitalIcon, Image as ImageIcon, Info as InfoIcon, Key as KeyIcon, Link as LinkIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LogIn as LogInIcon, LogOut as LogOutIcon, Mail as MailIcon, MapPin as MapPinIcon, Maximize as MaximizeIcon, Menu as MenuIcon, MessageSquare as MessageIcon, Mic as MicIcon, Microscope as MicroscopeIcon, Minimize as MinimizeIcon, Minus as MinusIcon, Monitor as MonitorIcon, Moon as MoonIcon, MoreHorizontal as MoreHorizontalIcon, MoreVertical as MoreVerticalIcon, NotebookPen as NotebookPenIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, CircleUserRound as PatientIcon, Pencil as PencilIcon, UserRound as PersonIcon, Phone as PhoneIcon, PieChart as PieChartIcon, Pill as PillIcon, Plus as PlusIcon, Printer as PrinterIcon, Radiation as RadiationIcon, Ruler as RulerIcon, Save as SaveIcon, Scale as ScaleIcon, Scaling as ScalingIcon, ScanEye as ScanEyeIcon, Scan as ScanIcon, ScanLine as ScanLineIcon, Search as SearchIcon, Settings as SettingsIcon, Share as ShareIcon, ShieldCheck as ShieldCheckIcon, Shield as ShieldIcon, ShieldPlus as ShieldPlusIcon, Sliders as SlidersIcon, Sparkle as SparkleIcon, Star as StarIcon, Stethoscope as StethoscopeIcon, StickyNote as StickyNoteIcon, Square as StopIcon, Sun as SunIcon, Syringe as SyringeIcon, Table as TableIcon, Tablets as TabletsIcon, Tag as TagIcon, TestTube2 as TestTubeIcon, TestTubes as TestTubesIcon, Thermometer as ThermometerIcon, ThermometerSun as ThermometerSunIcon, ThumbsDown as ThumbsDownIcon, ThumbsUp as ThumbsUpIcon, Timer as TimerIcon, Trash2 as TrashIcon, TrendingDown as TrendingDownIcon, TrendingUp as TrendingUpIcon, Truck as TruckIcon, Unlock as UnlockIcon, Upload as UploadIcon, UserCheck as UserCheckIcon, User as UserIcon, UserMinus as UserMinusIcon, UserPlus as UserPlusIcon, UserRoundCheck as UserRoundCheckIcon, UserRoundMinus as UserRoundMinusIcon, UserRoundPlus as UserRoundPlusIcon, UserRoundX as UserRoundXIcon, Users as UsersIcon, Weight as WeightIcon, Wrench as WrenchIcon, XCircle as XCircleIcon, X2 as XIcon, Zap as ZapIcon } from './chunk-BKSPDTX4.js';
115
120
  import { Badge } from './chunk-BMSG4NBH.js';
116
121
  export { Badge, badgeVariants } from './chunk-BMSG4NBH.js';
117
- import { Button, buttonVariants } from './chunk-D2GID3YK.js';
118
- export { Button, buttonVariants } from './chunk-D2GID3YK.js';
119
- import { useCommandK, useIsMobile, useMediaQuery } from './chunk-XUVEF2RQ.js';
122
+ import { Button, buttonVariants } from './chunk-KREUYVMZ.js';
123
+ export { Button, buttonVariants } from './chunk-KREUYVMZ.js';
124
+ import { AnimatedPresence, Animated } from './chunk-WYMO3IIK.js';
125
+ export { Animated, AnimatedPresence, motionPresets, useMotionRuntime } from './chunk-WYMO3IIK.js';
126
+ import { cn } from './chunk-TQONQSJO.js';
127
+ export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
128
+ import { useCommandK, useIsMobile, useMediaQuery, useDirection } from './chunk-XUVEF2RQ.js';
120
129
  export { RTL_LOCALES, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from './chunk-XUVEF2RQ.js';
121
130
  export { useTheme } from './chunk-KJZNEVYM.js';
122
131
  import { useScrollSpy } from './chunk-WBGUYSWY.js';
@@ -131,27 +140,20 @@ import { useFocusTrap } from './chunk-4SMSH4OY.js';
131
140
  export { useFocusTrap } from './chunk-4SMSH4OY.js';
132
141
  import { useEscapeKey } from './chunk-T4ME7QCT.js';
133
142
  export { useEscapeKey } from './chunk-T4ME7QCT.js';
143
+ import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
144
+ export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
134
145
  import { useClickOutside } from './chunk-62ZOA6PX.js';
135
146
  export { useClickOutside } from './chunk-62ZOA6PX.js';
136
147
  import { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
137
148
  export { useAnchoredPosition } from './chunk-WSNMQQ4P.js';
138
149
  export { isDarkMode, useIsDarkMode } from './chunk-RUGHNFQG.js';
139
- import './chunk-7XUN3OQT.js';
140
- export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
141
- export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
142
- import { dateToDisplayFormat, isValidDate, displayFormatToDateString } from './chunk-RC2YMOMS.js';
143
- export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDateValue, isDateEmpty, isDateInFuture, isDateInPast, isValidDate, isValidDrivingAge, parseDateValue } from './chunk-RC2YMOMS.js';
144
- import { cn } from './chunk-TQONQSJO.js';
145
- export { cn, miewebUITwMergeConflicts } from './chunk-TQONQSJO.js';
146
- import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
147
- export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
148
150
  import * as React13 from 'react';
149
151
  import React13__default, { createContext, useState, useEffect, useCallback, useMemo, useContext, useRef } from 'react';
150
152
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
151
153
  import { cva } from 'class-variance-authority';
152
154
  import * as ReactDOM from 'react-dom';
153
155
  import { createPortal } from 'react-dom';
154
- import { FileUp, X, AlertCircle as AlertCircle$1, ChevronUp as ChevronUp$1, Check, ChevronRight as ChevronRight$1, ChevronLeft, Calendar as Calendar$1, ChevronDown as ChevronDown$1, Maximize2, Minimize2, FolderUp, Upload, Edit2, Phone as Phone$1, Mail as Mail$1, Clock as Clock$1, MapPin, Shield, Building2, SlidersHorizontal, Trash2 as Trash2$1, Pencil as Pencil$1, Plus as Plus$1, Link as Link$1, AlertTriangle as AlertTriangle$1, RefreshCw as RefreshCw$1 } from 'lucide-react';
156
+ import { FileUp, X, AlertCircle as AlertCircle$1, ChevronUp as ChevronUp$1, Check as Check$1, ChevronRight, ChevronLeft, Calendar as Calendar$1, ChevronDown as ChevronDown$1, Maximize2, Minimize2, FolderUp, Upload, Edit2, Phone as Phone$1, Mail as Mail$1, Clock as Clock$1, MapPin, Shield, Building2, SlidersHorizontal, Trash2 as Trash2$1, Pencil as Pencil$1, Plus as Plus$1, Link as Link$1, AlertTriangle as AlertTriangle$1, RefreshCw as RefreshCw$1 } from 'lucide-react';
155
157
 
156
158
  var SEX_OPTIONS = [
157
159
  { value: "F", label: "Female" },
@@ -2004,6 +2006,7 @@ function ComposerModelSelector({
2004
2006
  onProviderFilterChange,
2005
2007
  onChange,
2006
2008
  disabled = false,
2009
+ variant = "default",
2007
2010
  className,
2008
2011
  boundaryRef,
2009
2012
  placeholder = "Model",
@@ -2247,11 +2250,20 @@ function ComposerModelSelector({
2247
2250
  onKeyDown: handleTriggerKeyDown,
2248
2251
  "data-slot": "composer-model-selector-trigger",
2249
2252
  className: cn(
2250
- "inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-2.5 text-sm font-medium",
2251
- "border-border bg-background text-foreground shadow-sm",
2252
- "hover:bg-muted/50",
2253
- "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
2254
- "disabled:cursor-not-allowed disabled:opacity-50",
2253
+ variant === "ghost" ? [
2254
+ "inline-flex max-w-full min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
2255
+ "text-neutral-600 dark:text-neutral-400",
2256
+ "transition-colors duration-150",
2257
+ "hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
2258
+ "focus-visible:ring-primary-500 focus-visible:ring-2 focus-visible:outline-none",
2259
+ "disabled:pointer-events-none disabled:opacity-40"
2260
+ ] : [
2261
+ "inline-flex h-8 max-w-full items-center gap-1.5 rounded-full border px-2.5 text-sm font-medium",
2262
+ "border-border bg-background text-foreground shadow-sm",
2263
+ "hover:bg-muted/50",
2264
+ "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none",
2265
+ "disabled:cursor-not-allowed disabled:opacity-50"
2266
+ ],
2255
2267
  className
2256
2268
  ),
2257
2269
  children: [
@@ -2264,7 +2276,16 @@ function ComposerModelSelector({
2264
2276
  children: selectedEffortOption.label
2265
2277
  }
2266
2278
  ),
2267
- /* @__PURE__ */ jsx(ChevronUp$1, { "aria-hidden": "true", className: "h-3.5 w-3.5 shrink-0" })
2279
+ /* @__PURE__ */ jsx(
2280
+ ChevronUp$1,
2281
+ {
2282
+ "aria-hidden": "true",
2283
+ className: cn(
2284
+ "shrink-0",
2285
+ variant === "ghost" ? "h-3 w-3" : "h-3.5 w-3.5"
2286
+ )
2287
+ }
2288
+ )
2268
2289
  ]
2269
2290
  }
2270
2291
  ),
@@ -2348,7 +2369,7 @@ function ComposerModelSelector({
2348
2369
  children: [
2349
2370
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: model.label ?? model.model }),
2350
2371
  selected && /* @__PURE__ */ jsx(
2351
- Check,
2372
+ Check$1,
2352
2373
  {
2353
2374
  "aria-hidden": "true",
2354
2375
  className: "text-primary h-4 w-4 shrink-0"
@@ -2382,10 +2403,10 @@ function ComposerModelSelector({
2382
2403
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: effortLabel }),
2383
2404
  selectedEffortOption && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground min-w-0 truncate", children: selectedEffortOption.label }),
2384
2405
  /* @__PURE__ */ jsx(
2385
- ChevronRight$1,
2406
+ ChevronRight,
2386
2407
  {
2387
2408
  "aria-hidden": "true",
2388
- className: "text-muted-foreground h-4 w-4 shrink-0"
2409
+ className: "text-muted-foreground h-4 w-4 shrink-0 rtl:-scale-x-100"
2389
2410
  }
2390
2411
  )
2391
2412
  ]
@@ -2407,7 +2428,13 @@ function ComposerModelSelector({
2407
2428
  "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none"
2408
2429
  ),
2409
2430
  children: [
2410
- /* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": "true", className: "h-3.5 w-3.5" }),
2431
+ /* @__PURE__ */ jsx(
2432
+ ChevronLeft,
2433
+ {
2434
+ "aria-hidden": "true",
2435
+ className: "h-3.5 w-3.5 rtl:-scale-x-100"
2436
+ }
2437
+ ),
2411
2438
  effortLabel
2412
2439
  ]
2413
2440
  }
@@ -2450,7 +2477,7 @@ function ComposerModelSelector({
2450
2477
  ] }),
2451
2478
  option.value === defaultEffort && /* @__PURE__ */ jsx("span", { className: "bg-muted text-muted-foreground shrink-0 rounded px-1.5 py-0.5 text-xs", children: defaultBadgeLabel }),
2452
2479
  selected && /* @__PURE__ */ jsx(
2453
- Check,
2480
+ Check$1,
2454
2481
  {
2455
2482
  "aria-hidden": "true",
2456
2483
  className: "text-primary h-4 w-4 shrink-0"
@@ -2651,7 +2678,7 @@ function OzwellChat({
2651
2678
  variant: "ghost",
2652
2679
  "aria-label": "Save queued message",
2653
2680
  onClick: saveQueuedMessage,
2654
- children: /* @__PURE__ */ jsx(Check$1, { size: 14, "aria-hidden": "true" })
2681
+ children: /* @__PURE__ */ jsx(Check, { size: 14, "aria-hidden": "true" })
2655
2682
  }
2656
2683
  ) }),
2657
2684
  /* @__PURE__ */ jsx(Tooltip, { content: "Cancel editing", children: /* @__PURE__ */ jsx(
@@ -7948,6 +7975,7 @@ function ConcernRow({
7948
7975
  /* @__PURE__ */ jsxs(
7949
7976
  "li",
7950
7977
  {
7978
+ "data-slot": "clinical-list-row",
7951
7979
  "data-concern-id": concern.concernId,
7952
7980
  tabIndex: 0,
7953
7981
  onKeyDown: handleRowKeyDown,
@@ -8127,7 +8155,14 @@ var ProblemList = React13.forwardRef(
8127
8155
  title !== null && /* @__PURE__ */ jsx(CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsx("h3", { className: "text-foreground text-sm font-semibold tracking-wide uppercase", children: title }) }),
8128
8156
  /* @__PURE__ */ jsxs(CardContent, { className: "space-y-6 px-4 py-4", children: [
8129
8157
  groups.map(({ key, label, items }) => /* @__PURE__ */ jsxs("section", { "aria-label": label, children: [
8130
- /* @__PURE__ */ jsx("h4", { className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase", children: label }),
8158
+ /* @__PURE__ */ jsx(
8159
+ "h4",
8160
+ {
8161
+ "data-slot": "clinical-list-heading",
8162
+ className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
8163
+ children: label
8164
+ }
8165
+ ),
8131
8166
  items.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: items.map((concern) => /* @__PURE__ */ jsx(
8132
8167
  ConcernRow,
8133
8168
  {
@@ -8146,6 +8181,7 @@ var ProblemList = React13.forwardRef(
8146
8181
  "input",
8147
8182
  {
8148
8183
  type: "text",
8184
+ "data-slot": "input",
8149
8185
  value: draft,
8150
8186
  onChange: (e) => setDraft(e.target.value),
8151
8187
  onKeyDown: (e) => {
@@ -8565,6 +8601,7 @@ function AddOrderForm({
8565
8601
  "select",
8566
8602
  {
8567
8603
  "aria-label": "Order type filter",
8604
+ "data-slot": "select-trigger",
8568
8605
  value: type,
8569
8606
  onChange: (e) => setType(e.target.value),
8570
8607
  onKeyDown: (e) => {
@@ -8599,6 +8636,7 @@ function AddOrderForm({
8599
8636
  {
8600
8637
  ref: inputRef,
8601
8638
  type: "text",
8639
+ "data-slot": "input",
8602
8640
  value: display,
8603
8641
  onChange: (e) => setDisplay(e.target.value),
8604
8642
  onKeyDown: (e) => {
@@ -8892,6 +8930,7 @@ var Assessment = React13.forwardRef(
8892
8930
  return /* @__PURE__ */ jsxs(
8893
8931
  "li",
8894
8932
  {
8933
+ "data-slot": "assessment-problem",
8895
8934
  "data-concern-id": item.concernId,
8896
8935
  ...bp,
8897
8936
  draggable: drag.enabled && !formOpen,
@@ -9005,6 +9044,7 @@ var Assessment = React13.forwardRef(
9005
9044
  "select",
9006
9045
  {
9007
9046
  "aria-label": "What to add",
9047
+ "data-slot": "select-trigger",
9008
9048
  value: addMode,
9009
9049
  onChange: (e) => {
9010
9050
  setAddMode(e.target.value);
@@ -12263,7 +12303,7 @@ var CaseContextBar = React13.forwardRef(
12263
12303
  disabled: !onBack,
12264
12304
  "aria-label": l.back,
12265
12305
  className: "-ms-2 h-6 w-6 shrink-0",
12266
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16 })
12306
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16, className: "rtl:-scale-x-100" })
12267
12307
  }
12268
12308
  ),
12269
12309
  /* @__PURE__ */ jsxs(
@@ -12368,7 +12408,7 @@ var CaseManagementHeader = React13.forwardRef(
12368
12408
  disabled: !onBack,
12369
12409
  "aria-label": l.back,
12370
12410
  className: "-ms-2 h-8 w-8 shrink-0",
12371
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
12411
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
12372
12412
  }
12373
12413
  ),
12374
12414
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-wrap items-baseline gap-x-4 gap-y-0.5", children: [
@@ -12459,6 +12499,599 @@ var CaseManagementHeader = React13.forwardRef(
12459
12499
  }
12460
12500
  );
12461
12501
  CaseManagementHeader.displayName = "CaseManagementHeader";
12502
+ var iconButtonClasses = cn(
12503
+ "flex h-8 w-8 shrink-0 items-center justify-center rounded-lg",
12504
+ "text-neutral-500 dark:text-neutral-400",
12505
+ "transition-colors duration-150",
12506
+ "hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
12507
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
12508
+ "disabled:pointer-events-none disabled:opacity-40"
12509
+ );
12510
+ var selectorTriggerClasses = cn(
12511
+ "flex min-w-0 items-center gap-1 rounded-md px-2 py-1 text-xs",
12512
+ "text-neutral-600 dark:text-neutral-400",
12513
+ "transition-colors duration-150",
12514
+ "hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-700 dark:hover:text-white",
12515
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
12516
+ "disabled:pointer-events-none disabled:opacity-40"
12517
+ );
12518
+ var MAX_INPUT_HEIGHT = 160;
12519
+ var ChatComposer = React13.forwardRef(function ChatComposer2({
12520
+ onSend,
12521
+ value: controlledValue,
12522
+ onValueChange,
12523
+ placeholder = "Type a message\u2026",
12524
+ disabled = false,
12525
+ isSending = false,
12526
+ autoFocus = false,
12527
+ maxLength,
12528
+ showCharacterCount = false,
12529
+ canSendWhenEmpty = false,
12530
+ maxHeight = MAX_INPUT_HEIGHT,
12531
+ textareaProps,
12532
+ addMenuItems,
12533
+ allowAttachments = true,
12534
+ acceptedFileTypes,
12535
+ maxFileSize,
12536
+ maxAttachments = 10,
12537
+ mentionOptions,
12538
+ showMic = false,
12539
+ onMicClick,
12540
+ micSlot,
12541
+ micBehavior = "always",
12542
+ isStreaming = false,
12543
+ onStop,
12544
+ showAgentSelector = false,
12545
+ agents = [],
12546
+ selectedAgent = null,
12547
+ onAgentChange,
12548
+ showModelSelector = false,
12549
+ modelSelectorProps,
12550
+ readOnly = false,
12551
+ readOnlyMessage = "You have read-only access and cannot send messages.",
12552
+ onError,
12553
+ attachmentLimitLabel,
12554
+ sendFailedLabel = "Failed to send message",
12555
+ sendingLabel = "Sending message\u2026",
12556
+ inputLabel = "Message input",
12557
+ addMenuLabel = "Add to message",
12558
+ attachFilesLabel = "Attach files",
12559
+ micLabel = "Start voice input",
12560
+ sendLabel = "Send message",
12561
+ stopLabel = "Stop generating",
12562
+ agentSelectorLabel = "Select agent",
12563
+ mentionListLabel = "Mention",
12564
+ dropFilesLabel = "Drop files here",
12565
+ className
12566
+ }, ref) {
12567
+ const [internalValue, setInternalValue] = React13.useState("");
12568
+ const isControlled = controlledValue !== void 0;
12569
+ const value = isControlled ? controlledValue : internalValue;
12570
+ const [attachments, setAttachments] = React13.useState([]);
12571
+ const attachmentsRef = React13.useRef(attachments);
12572
+ attachmentsRef.current = attachments;
12573
+ const textareaRef = React13.useRef(null);
12574
+ const fileInputRef = React13.useRef(null);
12575
+ const [addMenuOpen, setAddMenuOpen] = React13.useState(false);
12576
+ const [agentMenuOpen, setAgentMenuOpen] = React13.useState(false);
12577
+ const hasText = value.trim().length > 0;
12578
+ const hasContent = hasText || attachments.length > 0;
12579
+ const isOverLimit = maxLength !== void 0 && value.length > maxLength;
12580
+ const canSend = (hasContent || canSendWhenEmpty) && onSend !== void 0 && !disabled && !isSending && !isStreaming && !isOverLimit;
12581
+ const setValue = React13.useCallback(
12582
+ (next) => {
12583
+ if (!isControlled) setInternalValue(next);
12584
+ onValueChange?.(next);
12585
+ },
12586
+ [isControlled, onValueChange]
12587
+ );
12588
+ const mention = useMentionAutocomplete({
12589
+ options: mentionOptions,
12590
+ value,
12591
+ setValue,
12592
+ textareaRef
12593
+ });
12594
+ const resizeTextarea = React13.useCallback(() => {
12595
+ const textarea = textareaRef.current;
12596
+ if (!textarea) return;
12597
+ textarea.style.height = "auto";
12598
+ if (textarea.scrollHeight === 0) return;
12599
+ textarea.style.height = `${textarea.scrollHeight}px`;
12600
+ }, []);
12601
+ React13.useLayoutEffect(resizeTextarea, [resizeTextarea, value]);
12602
+ React13.useEffect(() => {
12603
+ const textarea = textareaRef.current;
12604
+ if (!textarea || typeof ResizeObserver === "undefined") return;
12605
+ let frame = 0;
12606
+ const observer = new ResizeObserver(() => {
12607
+ cancelAnimationFrame(frame);
12608
+ frame = requestAnimationFrame(resizeTextarea);
12609
+ });
12610
+ observer.observe(textarea);
12611
+ return () => {
12612
+ cancelAnimationFrame(frame);
12613
+ observer.disconnect();
12614
+ };
12615
+ }, [resizeTextarea]);
12616
+ const addFiles = React13.useCallback(
12617
+ (files) => {
12618
+ if (!allowAttachments || files.length === 0) return;
12619
+ const limitMessage = attachmentLimitLabel ?? `Attachment limit reached (max ${maxAttachments})`;
12620
+ const room = maxAttachments - attachmentsRef.current.length;
12621
+ if (files.length > room) {
12622
+ onError?.(limitMessage, { reason: "attachment-limit" });
12623
+ if (room <= 0) return;
12624
+ }
12625
+ const staged = [];
12626
+ for (const file of files.slice(0, Math.max(room, 0))) {
12627
+ const typeCheck = validateFile(file, acceptedFileTypes, void 0);
12628
+ if (!typeCheck.valid) {
12629
+ onError?.(`${file.name}: ${typeCheck.error}`, {
12630
+ reason: "file-type",
12631
+ file
12632
+ });
12633
+ continue;
12634
+ }
12635
+ const sizeCheck = validateFile(file, void 0, maxFileSize);
12636
+ if (!sizeCheck.valid) {
12637
+ onError?.(`${file.name}: ${sizeCheck.error}`, {
12638
+ reason: "file-size",
12639
+ file
12640
+ });
12641
+ continue;
12642
+ }
12643
+ const type = getFileType(file.type);
12644
+ staged.push({
12645
+ id: generateAttachmentId(),
12646
+ file,
12647
+ type,
12648
+ previewUrl: type === "image" || type === "video" ? URL.createObjectURL(file) : void 0
12649
+ });
12650
+ }
12651
+ if (staged.length > 0) {
12652
+ attachmentsRef.current = [...attachmentsRef.current, ...staged];
12653
+ setAttachments((current) => [...current, ...staged]);
12654
+ }
12655
+ },
12656
+ [
12657
+ allowAttachments,
12658
+ maxAttachments,
12659
+ acceptedFileTypes,
12660
+ maxFileSize,
12661
+ onError,
12662
+ attachmentLimitLabel
12663
+ ]
12664
+ );
12665
+ const removeAttachment = React13.useCallback((id) => {
12666
+ const target = attachmentsRef.current.find(
12667
+ (attachment) => attachment.id === id
12668
+ );
12669
+ if (target?.previewUrl) URL.revokeObjectURL(target.previewUrl);
12670
+ attachmentsRef.current = attachmentsRef.current.filter(
12671
+ (attachment) => attachment.id !== id
12672
+ );
12673
+ setAttachments(
12674
+ (current) => current.filter((attachment) => attachment.id !== id)
12675
+ );
12676
+ }, []);
12677
+ React13.useEffect(() => {
12678
+ return () => {
12679
+ for (const attachment of attachmentsRef.current) {
12680
+ if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
12681
+ }
12682
+ };
12683
+ }, []);
12684
+ const handleFileInputChange = (event) => {
12685
+ const files = Array.from(event.target.files ?? []);
12686
+ addFiles(files);
12687
+ event.target.value = "";
12688
+ };
12689
+ const handlePaste = (event) => {
12690
+ if (!allowAttachments) return;
12691
+ const files = Array.from(event.clipboardData.files);
12692
+ if (files.length > 0) {
12693
+ event.preventDefault();
12694
+ addFiles(files);
12695
+ }
12696
+ };
12697
+ React13.useImperativeHandle(
12698
+ ref,
12699
+ () => ({
12700
+ addFiles,
12701
+ focus: () => textareaRef.current?.focus(),
12702
+ getTextarea: () => textareaRef.current
12703
+ }),
12704
+ [addFiles]
12705
+ );
12706
+ const handleSend = () => {
12707
+ if (!canSend || !onSend) return;
12708
+ const message = {
12709
+ content: value.trim(),
12710
+ attachments: attachments.map((attachment) => attachment.file)
12711
+ };
12712
+ for (const attachment of attachments) {
12713
+ if (attachment.previewUrl) URL.revokeObjectURL(attachment.previewUrl);
12714
+ }
12715
+ attachmentsRef.current = [];
12716
+ setAttachments([]);
12717
+ setValue("");
12718
+ try {
12719
+ Promise.resolve(onSend(message)).catch(() => {
12720
+ onError?.(sendFailedLabel, { reason: "send-failed" });
12721
+ });
12722
+ } catch {
12723
+ onError?.(sendFailedLabel, { reason: "send-failed" });
12724
+ }
12725
+ textareaRef.current?.focus();
12726
+ };
12727
+ const handleKeyDown = (event) => {
12728
+ if (mention.handleKeyDown(event)) return;
12729
+ if (event.key === "Enter" && !event.shiftKey) {
12730
+ event.preventDefault();
12731
+ handleSend();
12732
+ }
12733
+ };
12734
+ if (readOnly) {
12735
+ return /* @__PURE__ */ jsxs(
12736
+ "div",
12737
+ {
12738
+ "data-slot": "chat-composer",
12739
+ role: "status",
12740
+ className: cn(
12741
+ "flex items-center gap-2 rounded-xl border px-4 py-3 text-sm",
12742
+ "border-amber-300 bg-amber-50 text-amber-900",
12743
+ "dark:border-amber-700 dark:bg-amber-950 dark:text-amber-200",
12744
+ className
12745
+ ),
12746
+ children: [
12747
+ /* @__PURE__ */ jsx(AlertTriangle, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
12748
+ /* @__PURE__ */ jsx("span", { "data-slot": "chat-composer-readonly", children: readOnlyMessage })
12749
+ ]
12750
+ }
12751
+ );
12752
+ }
12753
+ const showAddMenu = allowAttachments || addMenuItems && addMenuItems.length > 0;
12754
+ const micVisible = (showMic || onMicClick !== void 0 || micSlot !== void 0) && (micBehavior === "always" || !hasContent);
12755
+ const showSelectorRow = showAgentSelector || showModelSelector;
12756
+ const selectedAgentOption = agents.find((agent) => agent.id === selectedAgent) ?? null;
12757
+ const cells = {
12758
+ input: "col-span-3 col-start-1 row-start-1 px-1 pt-1 md:col-span-1 md:col-start-2 md:self-end md:px-0 md:py-1.5",
12759
+ textarea: "px-2 pt-2 pb-1 md:py-1.5",
12760
+ add: "col-start-1 row-start-2 pb-2 ps-2 md:row-start-1 md:self-end md:p-1.5 md:pe-0.5",
12761
+ actions: "col-start-3 row-start-2 flex items-center gap-1 pb-2 pe-2 md:row-start-1 md:self-end md:gap-0.5 md:p-1.5 md:ps-0.5"
12762
+ };
12763
+ const composerCard = /* @__PURE__ */ jsxs(Fragment, { children: [
12764
+ attachments.length > 0 && /* @__PURE__ */ jsx(
12765
+ "div",
12766
+ {
12767
+ "data-slot": "chat-composer-attachments",
12768
+ className: "flex flex-wrap gap-2 px-3 pt-3",
12769
+ children: attachments.map((attachment) => /* @__PURE__ */ jsx(
12770
+ AttachmentPreviewItem,
12771
+ {
12772
+ attachment: { ...attachment, state: "pending" },
12773
+ onRemove: () => removeAttachment(attachment.id),
12774
+ disabled
12775
+ },
12776
+ attachment.id
12777
+ ))
12778
+ }
12779
+ ),
12780
+ /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[auto_minmax(0,1fr)_auto]", children: [
12781
+ /* @__PURE__ */ jsxs("div", { className: cells.input, ref: mention.anchorRef, children: [
12782
+ /* @__PURE__ */ jsx(
12783
+ MentionMenu,
12784
+ {
12785
+ mention,
12786
+ label: mentionListLabel,
12787
+ dataSlot: "chat-composer-mention-list"
12788
+ }
12789
+ ),
12790
+ /* @__PURE__ */ jsx(
12791
+ "textarea",
12792
+ {
12793
+ ...textareaProps,
12794
+ ref: textareaRef,
12795
+ "data-slot": "chat-composer-input",
12796
+ value,
12797
+ onChange: (event) => {
12798
+ textareaProps?.onChange?.(event);
12799
+ setValue(event.target.value);
12800
+ mention.sync(
12801
+ event.target.value,
12802
+ event.target.selectionStart ?? event.target.value.length
12803
+ );
12804
+ },
12805
+ onKeyDown: (event) => {
12806
+ textareaProps?.onKeyDown?.(event);
12807
+ if (event.defaultPrevented) return;
12808
+ handleKeyDown(event);
12809
+ },
12810
+ onClick: (event) => {
12811
+ textareaProps?.onClick?.(event);
12812
+ if (event.defaultPrevented) return;
12813
+ const el = event.currentTarget;
12814
+ mention.sync(el.value, el.selectionStart ?? el.value.length);
12815
+ },
12816
+ onPaste: (event) => {
12817
+ textareaProps?.onPaste?.(event);
12818
+ if (event.defaultPrevented) return;
12819
+ handlePaste(event);
12820
+ },
12821
+ placeholder,
12822
+ disabled,
12823
+ autoFocus,
12824
+ rows: 1,
12825
+ "aria-label": inputLabel,
12826
+ ...mention.inputProps,
12827
+ style: {
12828
+ ...textareaProps?.style,
12829
+ maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight
12830
+ },
12831
+ className: cn(
12832
+ "block w-full resize-none bg-transparent",
12833
+ "rounded-lg text-sm",
12834
+ cells.textarea,
12835
+ "text-neutral-900 placeholder:text-neutral-400 dark:text-white dark:placeholder:text-neutral-500",
12836
+ // Ring the input itself on focus rather than the whole shell.
12837
+ "focus:ring-primary-500 focus:ring-1 focus:outline-none",
12838
+ "disabled:cursor-not-allowed",
12839
+ textareaProps?.className
12840
+ )
12841
+ }
12842
+ )
12843
+ ] }),
12844
+ showAddMenu && /* @__PURE__ */ jsx("div", { className: cells.add, children: /* @__PURE__ */ jsxs(
12845
+ Dropdown,
12846
+ {
12847
+ placement: "top-start",
12848
+ open: addMenuOpen,
12849
+ onOpenChange: setAddMenuOpen,
12850
+ trigger: /* @__PURE__ */ jsx(
12851
+ "button",
12852
+ {
12853
+ type: "button",
12854
+ "data-slot": "chat-composer-add-button",
12855
+ "aria-label": addMenuLabel,
12856
+ disabled,
12857
+ className: iconButtonClasses,
12858
+ children: /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4", "aria-hidden": "true" })
12859
+ }
12860
+ ),
12861
+ children: [
12862
+ allowAttachments && /* @__PURE__ */ jsx(
12863
+ DropdownItem,
12864
+ {
12865
+ icon: /* @__PURE__ */ jsx(Paperclip, { className: "h-4 w-4", "aria-hidden": "true" }),
12866
+ onClick: () => {
12867
+ setAddMenuOpen(false);
12868
+ fileInputRef.current?.click();
12869
+ },
12870
+ children: attachFilesLabel
12871
+ }
12872
+ ),
12873
+ allowAttachments && addMenuItems && addMenuItems.length > 0 && /* @__PURE__ */ jsx(DropdownSeparator, {}),
12874
+ addMenuItems?.map((item) => /* @__PURE__ */ jsx(
12875
+ DropdownItem,
12876
+ {
12877
+ icon: item.icon,
12878
+ disabled: item.disabled,
12879
+ variant: item.variant,
12880
+ checked: item.checked,
12881
+ onClick: () => {
12882
+ setAddMenuOpen(false);
12883
+ item.onSelect?.();
12884
+ },
12885
+ children: /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: item.label })
12886
+ },
12887
+ item.id
12888
+ ))
12889
+ ]
12890
+ }
12891
+ ) }),
12892
+ allowAttachments && /* @__PURE__ */ jsx(
12893
+ "input",
12894
+ {
12895
+ ref: fileInputRef,
12896
+ type: "file",
12897
+ multiple: true,
12898
+ accept: acceptedFileTypes?.join(","),
12899
+ onChange: handleFileInputChange,
12900
+ className: "hidden",
12901
+ "aria-hidden": "true",
12902
+ tabIndex: -1
12903
+ }
12904
+ ),
12905
+ /* @__PURE__ */ jsxs("div", { className: cells.actions, children: [
12906
+ showCharacterCount && maxLength !== void 0 && /* @__PURE__ */ jsxs(
12907
+ "span",
12908
+ {
12909
+ "data-slot": "chat-composer-char-count",
12910
+ "aria-live": "polite",
12911
+ className: cn(
12912
+ "pe-1 text-xs tabular-nums",
12913
+ isOverLimit ? "font-medium text-red-700 dark:text-red-400" : "text-neutral-500 dark:text-neutral-400"
12914
+ ),
12915
+ children: [
12916
+ value.length,
12917
+ "/",
12918
+ maxLength
12919
+ ]
12920
+ }
12921
+ ),
12922
+ micVisible && (micSlot != null ? (
12923
+ // Normalize slot content (e.g. a RecordButton) to the 32px
12924
+ // control row: taller content overflow-centers instead of
12925
+ // inflating the pill and pushing the other cells apart. A div
12926
+ // so block-level slot content stays valid HTML.
12927
+ /* @__PURE__ */ jsx(
12928
+ "div",
12929
+ {
12930
+ "data-slot": "chat-composer-mic-slot",
12931
+ className: "flex h-8 shrink-0 items-center",
12932
+ children: micSlot
12933
+ }
12934
+ )
12935
+ ) : /* @__PURE__ */ jsx(
12936
+ "button",
12937
+ {
12938
+ type: "button",
12939
+ "data-slot": "chat-composer-mic-button",
12940
+ "aria-label": micLabel,
12941
+ disabled,
12942
+ onClick: onMicClick,
12943
+ className: iconButtonClasses,
12944
+ children: /* @__PURE__ */ jsx(Mic, { className: "h-4 w-4", "aria-hidden": "true" })
12945
+ }
12946
+ )),
12947
+ isStreaming && onStop ? /* @__PURE__ */ jsx(
12948
+ "button",
12949
+ {
12950
+ type: "button",
12951
+ "data-slot": "chat-composer-stop-button",
12952
+ "aria-label": stopLabel,
12953
+ disabled,
12954
+ onClick: onStop,
12955
+ className: cn(
12956
+ iconButtonClasses,
12957
+ "text-neutral-700 dark:text-neutral-200"
12958
+ ),
12959
+ children: /* @__PURE__ */ jsx(
12960
+ Square,
12961
+ {
12962
+ className: "h-3.5 w-3.5 fill-current",
12963
+ "aria-hidden": "true"
12964
+ }
12965
+ )
12966
+ }
12967
+ ) : /* @__PURE__ */ jsx(
12968
+ "button",
12969
+ {
12970
+ type: "button",
12971
+ "data-slot": "chat-composer-send-button",
12972
+ "aria-label": isSending ? sendingLabel : sendLabel,
12973
+ "aria-busy": isSending || void 0,
12974
+ disabled: !canSend,
12975
+ onClick: handleSend,
12976
+ className: cn(
12977
+ iconButtonClasses,
12978
+ canSend && "bg-primary-800 hover:bg-primary-700 dark:bg-primary-600 dark:hover:bg-primary-500 text-white hover:text-white dark:hover:text-white"
12979
+ ),
12980
+ children: isSending ? /* @__PURE__ */ jsx(
12981
+ Loader2,
12982
+ {
12983
+ className: "h-4 w-4 animate-spin",
12984
+ "aria-hidden": "true"
12985
+ }
12986
+ ) : /* @__PURE__ */ jsx(ArrowUp, { className: "h-4 w-4", "aria-hidden": "true" })
12987
+ }
12988
+ )
12989
+ ] })
12990
+ ] })
12991
+ ] });
12992
+ const selectorsRow = showSelectorRow && /* @__PURE__ */ jsxs(
12993
+ "div",
12994
+ {
12995
+ "data-slot": "chat-composer-selectors",
12996
+ className: "flex items-center justify-between gap-2 px-2 pt-1",
12997
+ children: [
12998
+ showAgentSelector ? /* @__PURE__ */ jsx(
12999
+ Dropdown,
13000
+ {
13001
+ placement: "top-start",
13002
+ open: agentMenuOpen,
13003
+ onOpenChange: setAgentMenuOpen,
13004
+ trigger: /* @__PURE__ */ jsxs(
13005
+ "button",
13006
+ {
13007
+ type: "button",
13008
+ "data-slot": "chat-composer-agent-trigger",
13009
+ "aria-label": selectedAgentOption ? `${agentSelectorLabel}: ${selectedAgentOption.label}` : agentSelectorLabel,
13010
+ disabled,
13011
+ className: selectorTriggerClasses,
13012
+ children: [
13013
+ selectedAgentOption?.icon ?? /* @__PURE__ */ jsx(Bot, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
13014
+ /* @__PURE__ */ jsx("span", { className: "min-w-0 truncate", children: selectedAgentOption?.label ?? agentSelectorLabel }),
13015
+ /* @__PURE__ */ jsx(ChevronUp, { className: "h-3 w-3 shrink-0", "aria-hidden": "true" })
13016
+ ]
13017
+ }
13018
+ ),
13019
+ children: agents.map((agent) => /* @__PURE__ */ jsx(
13020
+ DropdownItem,
13021
+ {
13022
+ icon: agent.icon,
13023
+ role: "menuitemradio",
13024
+ "aria-checked": agent.id === selectedAgent,
13025
+ onClick: () => {
13026
+ setAgentMenuOpen(false);
13027
+ onAgentChange?.(agent.id);
13028
+ },
13029
+ children: /* @__PURE__ */ jsxs("span", { className: "flex w-full items-center justify-between gap-2", children: [
13030
+ /* @__PURE__ */ jsxs("span", { className: "min-w-0", children: [
13031
+ /* @__PURE__ */ jsx("span", { className: "block truncate", children: agent.label }),
13032
+ agent.description && /* @__PURE__ */ jsx("span", { className: "block truncate text-xs text-neutral-500 dark:text-neutral-400", children: agent.description })
13033
+ ] }),
13034
+ agent.id === selectedAgent && /* @__PURE__ */ jsx(
13035
+ Check,
13036
+ {
13037
+ className: "text-primary-600 dark:text-primary-400 h-4 w-4 shrink-0",
13038
+ "aria-hidden": "true"
13039
+ }
13040
+ )
13041
+ ] })
13042
+ },
13043
+ agent.id
13044
+ ))
13045
+ }
13046
+ ) : /* @__PURE__ */ jsx("span", { "aria-hidden": "true" }),
13047
+ showModelSelector && modelSelectorProps && /* @__PURE__ */ jsx(
13048
+ ComposerModelSelector,
13049
+ {
13050
+ variant: "ghost",
13051
+ ...modelSelectorProps,
13052
+ disabled: disabled || modelSelectorProps.disabled
13053
+ }
13054
+ )
13055
+ ]
13056
+ }
13057
+ );
13058
+ const card = /* @__PURE__ */ jsx(
13059
+ "div",
13060
+ {
13061
+ "data-slot": "chat-composer-card",
13062
+ className: cn(
13063
+ "rounded-2xl border border-neutral-200 bg-white shadow-sm",
13064
+ "dark:border-[#2e2e30] dark:bg-[#1c1c1e]"
13065
+ ),
13066
+ children: composerCard
13067
+ }
13068
+ );
13069
+ return /* @__PURE__ */ jsxs(
13070
+ "div",
13071
+ {
13072
+ "data-slot": "chat-composer",
13073
+ className: cn(
13074
+ "flex w-full flex-col",
13075
+ disabled && "opacity-60",
13076
+ className
13077
+ ),
13078
+ children: [
13079
+ allowAttachments ? /* @__PURE__ */ jsx(
13080
+ DragDropZone,
13081
+ {
13082
+ onFilesDropped: addFiles,
13083
+ maxFiles: Number.MAX_SAFE_INTEGER,
13084
+ disabled,
13085
+ overlayLabel: dropFilesLabel,
13086
+ children: card
13087
+ }
13088
+ ) : card,
13089
+ selectorsRow
13090
+ ]
13091
+ }
13092
+ );
13093
+ });
13094
+ ChatComposer.displayName = "ChatComposer";
12462
13095
  var MODE_META = {
12463
13096
  add: { title: "Add problem", changeType: void 0 },
12464
13097
  observe: { title: "Progress observation", changeType: void 0 },
@@ -15501,6 +16134,7 @@ var CountBadge = React13.forwardRef(
15501
16134
  CountBadge.displayName = "CountBadge";
15502
16135
  function CountryDropdown({
15503
16136
  "aria-label": ariaLabel = "Select country",
16137
+ defaultValue = "",
15504
16138
  ...props
15505
16139
  }) {
15506
16140
  return /* @__PURE__ */ jsx(
@@ -15508,6 +16142,7 @@ function CountryDropdown({
15508
16142
  {
15509
16143
  ...props,
15510
16144
  "aria-label": ariaLabel,
16145
+ defaultValue,
15511
16146
  showDialCode: false
15512
16147
  }
15513
16148
  );
@@ -17187,7 +17822,7 @@ function DateRangePicker({
17187
17822
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17188
17823
  "aria-label": "Previous month",
17189
17824
  "data-slot": "date-range-nav",
17190
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
17825
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
17191
17826
  }
17192
17827
  ),
17193
17828
  /* @__PURE__ */ jsxs(
@@ -17210,7 +17845,7 @@ function DateRangePicker({
17210
17845
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17211
17846
  "aria-label": "Next month",
17212
17847
  "data-slot": "date-range-nav",
17213
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
17848
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
17214
17849
  }
17215
17850
  )
17216
17851
  ]
@@ -17318,7 +17953,7 @@ function DateRangePicker({
17318
17953
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17319
17954
  "aria-label": "Previous month",
17320
17955
  "data-slot": "date-range-nav",
17321
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
17956
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
17322
17957
  }
17323
17958
  ),
17324
17959
  /* @__PURE__ */ jsxs(
@@ -17341,7 +17976,7 @@ function DateRangePicker({
17341
17976
  className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
17342
17977
  "aria-label": "Next month",
17343
17978
  "data-slot": "date-range-nav",
17344
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
17979
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
17345
17980
  }
17346
17981
  )
17347
17982
  ]
@@ -17376,7 +18011,7 @@ function DateRangePicker({
17376
18011
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17377
18012
  "aria-label": "Next month",
17378
18013
  "data-slot": "date-range-nav",
17379
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
18014
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4 rtl:-scale-x-100" })
17380
18015
  }
17381
18016
  )
17382
18017
  ]
@@ -18341,7 +18976,7 @@ function PhotoPreview({
18341
18976
  {
18342
18977
  variant: "primary",
18343
18978
  onClick: onConfirm,
18344
- leftIcon: /* @__PURE__ */ jsx(Check$1, { className: "h-4 w-4" }),
18979
+ leftIcon: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }),
18345
18980
  children: "Use this photo"
18346
18981
  }
18347
18982
  )
@@ -21190,7 +21825,7 @@ function EmployeeProfileCard({
21190
21825
  "flex h-5 w-5 items-center justify-center rounded-full text-white",
21191
21826
  employee.isActive ? "bg-success" : "bg-destructive"
21192
21827
  ),
21193
- children: employee.isActive ? /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
21828
+ children: employee.isActive ? /* @__PURE__ */ jsx(Check$1, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
21194
21829
  }
21195
21830
  ),
21196
21831
  /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold", children: fullName })
@@ -21304,7 +21939,7 @@ function EmployeeProfileCard({
21304
21939
  "data-cy": "header-payment-status",
21305
21940
  "data-slot": "employee-card-detail-row",
21306
21941
  children: employee.isPaid ? /* @__PURE__ */ jsxs(Fragment, { children: [
21307
- /* @__PURE__ */ jsx(Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
21942
+ /* @__PURE__ */ jsx(Check$1, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
21308
21943
  /* @__PURE__ */ jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
21309
21944
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
21310
21945
  /* @__PURE__ */ jsx(Clock$1, { className: "text-muted-foreground h-4 w-4" }),
@@ -23617,7 +24252,7 @@ var HealthSurveillance = React13.forwardRef(
23617
24252
  "aria-expanded": isOpen,
23618
24253
  "aria-label": `${isOpen ? "Hide" : "Show"} orders for ${programLabel(item.key)}`,
23619
24254
  className: "text-muted-foreground hover:text-foreground shrink-0",
23620
- children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14 })
24255
+ children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight$1, { size: 14, className: "rtl:-scale-x-100" })
23621
24256
  }
23622
24257
  ) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
23623
24258
  /* @__PURE__ */ jsx(Badge, { variant: badge.variant, size: "sm", children: badge.label }),
@@ -23640,7 +24275,7 @@ var HealthSurveillance = React13.forwardRef(
23640
24275
  "div",
23641
24276
  {
23642
24277
  className: cn(level > 0 && "border-border border-s-2"),
23643
- style: level > 0 ? { marginLeft: (level - 1) * 16 + 2 } : void 0,
24278
+ style: level > 0 ? { marginInlineStart: (level - 1) * 16 + 2 } : void 0,
23644
24279
  children: [
23645
24280
  isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
23646
24281
  /* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
@@ -29581,7 +30216,7 @@ var PatientHeader = React13.forwardRef(
29581
30216
  disabled: !onBack,
29582
30217
  "aria-label": "Go back",
29583
30218
  className: "-ms-2 mt-1 h-8 w-8 shrink-0",
29584
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
30219
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
29585
30220
  }
29586
30221
  ),
29587
30222
  /* @__PURE__ */ jsx(
@@ -31025,7 +31660,7 @@ function PermissionItem({
31025
31660
  "aria-expanded": isExpanded,
31026
31661
  "aria-label": isExpanded ? `Collapse ${permission.name}` : `Expand ${permission.name}`,
31027
31662
  "data-slot": "perm-item-toggle",
31028
- children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4" })
31663
+ children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" })
31029
31664
  }
31030
31665
  ),
31031
31666
  !hasChildren && /* @__PURE__ */ jsx("span", { className: "w-5" }),
@@ -31169,7 +31804,7 @@ function PermissionsEditor({
31169
31804
  className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
31170
31805
  "data-slot": "perm-group-header",
31171
31806
  children: [
31172
- expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4" }),
31807
+ expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" }),
31173
31808
  /* @__PURE__ */ jsx("span", { className: "font-semibold", "data-slot": "perm-group-name", children: group.name })
31174
31809
  ]
31175
31810
  }
@@ -31460,6 +32095,7 @@ var PresentingProblems = React13.forwardRef(
31460
32095
  /* @__PURE__ */ jsxs(
31461
32096
  "li",
31462
32097
  {
32098
+ "data-slot": "clinical-list-row",
31463
32099
  "data-concern-id": concern.concernId,
31464
32100
  tabIndex: draggable ? 0 : void 0,
31465
32101
  onKeyDown: draggable ? handleRowKeyDown : void 0,
@@ -31540,11 +32176,25 @@ var PresentingProblems = React13.forwardRef(
31540
32176
  }
31541
32177
  ),
31542
32178
  /* @__PURE__ */ jsxs("section", { "aria-label": "Relevant this visit", children: [
31543
- /* @__PURE__ */ jsx("h4", { className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase", children: "Relevant this visit" }),
32179
+ /* @__PURE__ */ jsx(
32180
+ "h4",
32181
+ {
32182
+ "data-slot": "clinical-list-heading",
32183
+ className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
32184
+ children: "Relevant this visit"
32185
+ }
32186
+ ),
31544
32187
  selected.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: selected.map((c) => renderRow(c, false)) }) : /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2 text-sm", children: "No problems selected yet." })
31545
32188
  ] }),
31546
32189
  unselected.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Patient problem list", children: [
31547
- /* @__PURE__ */ jsx("h4", { className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase", children: "From patient problem list" }),
32190
+ /* @__PURE__ */ jsx(
32191
+ "h4",
32192
+ {
32193
+ "data-slot": "clinical-list-heading",
32194
+ className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
32195
+ children: "From patient problem list"
32196
+ }
32197
+ ),
31548
32198
  /* @__PURE__ */ jsx("ul", { className: "mt-1", children: unselected.map((c) => renderRow(c, true)) })
31549
32199
  ] }),
31550
32200
  !readOnly && onAddProblem && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
@@ -31552,6 +32202,7 @@ var PresentingProblems = React13.forwardRef(
31552
32202
  "input",
31553
32203
  {
31554
32204
  type: "text",
32205
+ "data-slot": "input",
31555
32206
  value: draft,
31556
32207
  onChange: (e) => setDraft(e.target.value),
31557
32208
  onKeyDown: (e) => {
@@ -32412,7 +33063,7 @@ function Breadcrumb2({ items, className }) {
32412
33063
  "data-slot": "provider-detail-breadcrumb",
32413
33064
  className: cn("py-2", className),
32414
33065
  children: /* @__PURE__ */ jsx("ol", { className: "flex flex-wrap items-center gap-1 text-sm", children: items.map((item, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-center", children: [
32415
- index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4" }),
33066
+ index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4 rtl:-scale-x-100" }),
32416
33067
  index === items.length - 1 ? /* @__PURE__ */ jsx("span", { className: "max-w-[200px] truncate font-medium text-gray-900 dark:text-white", children: item.label }) : /* @__PURE__ */ jsx(
32417
33068
  "a",
32418
33069
  {
@@ -32441,7 +33092,7 @@ function MobileBackButton({
32441
33092
  href,
32442
33093
  className: "bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
32443
33094
  children: [
32444
- /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
33095
+ /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4 rtl:-scale-x-100" }),
32445
33096
  label
32446
33097
  ]
32447
33098
  }
@@ -40858,7 +41509,7 @@ var ChevronLeftIcon2 = () => /* @__PURE__ */ jsx(
40858
41509
  "svg",
40859
41510
  {
40860
41511
  "aria-hidden": "true",
40861
- className: "h-4 w-4",
41512
+ className: "h-4 w-4 rtl:-scale-x-100",
40862
41513
  fill: "none",
40863
41514
  viewBox: "0 0 24 24",
40864
41515
  stroke: "currentColor",
@@ -40870,7 +41521,7 @@ var ChevronRightIcon2 = () => /* @__PURE__ */ jsx(
40870
41521
  "svg",
40871
41522
  {
40872
41523
  "aria-hidden": "true",
40873
- className: "h-4 w-4",
41524
+ className: "h-4 w-4 rtl:-scale-x-100",
40874
41525
  fill: "none",
40875
41526
  viewBox: "0 0 24 24",
40876
41527
  stroke: "currentColor",
@@ -40956,33 +41607,49 @@ function Sidebar({
40956
41607
  "data-testid": testId = "sidebar"
40957
41608
  }) {
40958
41609
  const { isCollapsed, isMobileOpen, closeMobile, isMobileViewport } = useSidebar();
41610
+ const navRef = useRef(null);
41611
+ const isRtl = useDirection(navRef) === "rtl";
40959
41612
  const width = isMobileViewport ? expandedWidth : isCollapsed ? collapsedWidth : expandedWidth;
40960
41613
  return /* @__PURE__ */ jsxs(Fragment, { children: [
40961
- isMobileViewport && isMobileOpen && /* @__PURE__ */ jsx(
40962
- "div",
41614
+ isMobileViewport && /* @__PURE__ */ jsx(AnimatedPresence, { children: isMobileOpen && /* @__PURE__ */ jsx(
41615
+ Animated,
40963
41616
  {
41617
+ preset: "overlay",
41618
+ mode: "presence",
40964
41619
  "data-slot": "sidebar-backdrop",
40965
- className: "fixed inset-0 z-40 bg-black/50 lg:hidden",
41620
+ className: "fixed inset-0 z-40 bg-black/50",
40966
41621
  onClick: closeMobile,
40967
41622
  "aria-hidden": "true"
40968
- }
40969
- ),
41623
+ },
41624
+ "sidebar-backdrop"
41625
+ ) }),
40970
41626
  /* @__PURE__ */ jsx(
40971
- "nav",
41627
+ Animated,
40972
41628
  {
41629
+ ref: navRef,
41630
+ as: "nav",
41631
+ preset: "drawerStart",
41632
+ mode: "toggle",
41633
+ enabled: isMobileViewport,
41634
+ open: isMobileOpen,
41635
+ custom: isRtl,
40973
41636
  "data-slot": "sidebar",
40974
41637
  "data-testid": testId,
40975
41638
  className: cn(
40976
41639
  "flex h-screen flex-col",
40977
41640
  "border-e border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-900",
40978
- "transition-all duration-300 ease-in-out",
40979
41641
  // Mobile positioning (start-pinned; off-canvas direction flips in RTL)
40980
41642
  isMobileViewport && "fixed start-0 top-0 z-50",
40981
- isMobileViewport && (isMobileOpen ? "translate-x-0" : "-translate-x-full rtl:translate-x-full"),
40982
- // Desktop positioning
40983
- !isMobileViewport && "relative",
41643
+ // Desktop positioning. Collapsing animates `width`, which motion does
41644
+ // not drive, so this transition belongs on both paths — but scoped to
41645
+ // desktop, where width is the only thing that changes.
41646
+ !isMobileViewport && "relative transition-[width,min-width] duration-300 ease-in-out",
40984
41647
  className
40985
41648
  ),
41649
+ fallbackClassName: cn(
41650
+ isMobileViewport && "transition-transform duration-300 ease-in-out",
41651
+ isMobileViewport && (isMobileOpen ? "translate-x-0" : "-translate-x-full rtl:translate-x-full")
41652
+ ),
40986
41653
  style: {
40987
41654
  width,
40988
41655
  minWidth: width,
@@ -41025,7 +41692,7 @@ function SidebarHeader({
41025
41692
  "button",
41026
41693
  {
41027
41694
  onClick: closeMobile,
41028
- className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100 lg:hidden dark:hover:bg-neutral-800",
41695
+ className: "-me-2 rounded-lg p-2 text-neutral-500 transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
41029
41696
  "aria-label": "Close navigation",
41030
41697
  children: /* @__PURE__ */ jsx(XIcon4, {})
41031
41698
  }
@@ -41117,17 +41784,31 @@ function SidebarNavGroup({
41117
41784
  children: icon
41118
41785
  }
41119
41786
  ),
41120
- !showCollapsed && /* @__PURE__ */ jsxs(Fragment, { children: [
41121
- /* @__PURE__ */ jsx("span", { className: "flex-1 truncate text-start", children: label }),
41122
- /* @__PURE__ */ jsx(
41123
- "span",
41787
+ /* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
41788
+ !showCollapsed && /* @__PURE__ */ jsx(
41789
+ Animated,
41790
+ {
41791
+ as: "span",
41792
+ preset: "sidebarLabel",
41793
+ mode: "presence",
41794
+ className: "flex-1 truncate text-start",
41795
+ children: label
41796
+ },
41797
+ "label"
41798
+ ),
41799
+ !showCollapsed && /* @__PURE__ */ jsx(
41800
+ Animated,
41124
41801
  {
41802
+ as: "span",
41803
+ preset: "sidebarLabel",
41804
+ mode: "presence",
41125
41805
  className: cn(
41126
41806
  "ms-2 flex-shrink-0 transition-transform duration-200",
41127
41807
  effectiveExpanded && "rotate-180"
41128
41808
  ),
41129
41809
  children: /* @__PURE__ */ jsx(ChevronDownIcon4, {})
41130
- }
41810
+ },
41811
+ "chevron"
41131
41812
  )
41132
41813
  ] })
41133
41814
  ]
@@ -41177,17 +41858,31 @@ function SidebarNavItem({
41177
41858
  children: icon
41178
41859
  }
41179
41860
  ),
41180
- !showCollapsed && /* @__PURE__ */ jsxs(Fragment, { children: [
41181
- /* @__PURE__ */ jsx("span", { className: "flex-1 truncate text-start", children: label }),
41182
- badge && /* @__PURE__ */ jsx(
41183
- "span",
41861
+ /* @__PURE__ */ jsxs(AnimatedPresence, { initial: false, children: [
41862
+ !showCollapsed && /* @__PURE__ */ jsx(
41863
+ Animated,
41184
41864
  {
41865
+ as: "span",
41866
+ preset: "sidebarLabel",
41867
+ mode: "presence",
41868
+ className: "flex-1 truncate text-start",
41869
+ children: label
41870
+ },
41871
+ "label"
41872
+ ),
41873
+ !showCollapsed && badge && /* @__PURE__ */ jsx(
41874
+ Animated,
41875
+ {
41876
+ as: "span",
41877
+ preset: "sidebarLabel",
41878
+ mode: "presence",
41185
41879
  className: cn(
41186
41880
  "ms-2 rounded-full px-2 py-0.5 text-xs font-medium",
41187
41881
  isActive ? "bg-primary-100 dark:bg-primary-900/30 text-primary-700 dark:text-primary-300" : "bg-neutral-100 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400"
41188
41882
  ),
41189
41883
  children: badge
41190
- }
41884
+ },
41885
+ "badge"
41191
41886
  )
41192
41887
  ] })
41193
41888
  ] });
@@ -42482,7 +43177,7 @@ function CompactHeader({
42482
43177
  {
42483
43178
  href: backHref,
42484
43179
  className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
42485
- children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
43180
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
42486
43181
  }
42487
43182
  ) : onBack ? /* @__PURE__ */ jsx(
42488
43183
  "button",
@@ -42490,7 +43185,7 @@ function CompactHeader({
42490
43185
  type: "button",
42491
43186
  onClick: onBack,
42492
43187
  className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
42493
- children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
43188
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
42494
43189
  }
42495
43190
  ) : null;
42496
43191
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -44157,7 +44852,7 @@ function WebChartReportViewer({
44157
44852
  className: "flex items-center gap-3",
44158
44853
  children: [
44159
44854
  /* @__PURE__ */ jsx(ModalTitle, { children: currentReport?.name || "Report Results" }),
44160
- reportResult?.error ? /* @__PURE__ */ jsx(AlertTriangle$1, { className: "h-5 w-5 text-yellow-500" }) : reportResult?.success ? /* @__PURE__ */ jsx(Check, { className: "h-5 w-5 text-green-500" }) : null
44855
+ reportResult?.error ? /* @__PURE__ */ jsx(AlertTriangle$1, { className: "h-5 w-5 text-yellow-500" }) : reportResult?.success ? /* @__PURE__ */ jsx(Check$1, { className: "h-5 w-5 text-green-500" }) : null
44161
44856
  ]
44162
44857
  }
44163
44858
  ),
@@ -44615,6 +45310,6 @@ function WebsiteInputGroup({
44615
45310
  }
44616
45311
  WebsiteInputGroup.displayName = "WebsiteInputGroup";
44617
45312
 
44618
- export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useOptionalToast, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
45313
+ export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, ChatComposer, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useOptionalToast, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
44619
45314
  //# sourceMappingURL=index.js.map
44620
45315
  //# sourceMappingURL=index.js.map