@alfadocs/ui-kit 1.56.0 → 1.58.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 (257) hide show
  1. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
  5. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
  6. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  7. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  8. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  9. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
  10. package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
  11. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  12. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
  13. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  15. package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
  16. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  17. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  18. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  19. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  20. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  21. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
  22. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  23. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
  24. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
  25. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  26. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  27. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  28. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  29. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  30. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  31. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  32. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  33. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
  34. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
  35. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
  36. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  37. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  38. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  39. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
  40. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
  41. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  42. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
  43. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  44. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  45. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
  46. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  47. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  48. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  49. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
  50. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
  51. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
  52. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  53. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  54. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  55. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  56. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  57. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
  58. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
  59. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
  60. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
  61. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
  62. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
  63. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
  64. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  65. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  66. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  67. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  68. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
  69. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
  71. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  72. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
  73. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  74. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
  75. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
  76. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  77. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  78. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
  79. package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
  80. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  81. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
  82. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
  83. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  84. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
  85. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
  86. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
  87. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  88. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
  89. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
  90. package/dist/agent-catalog.json +3 -3
  91. package/dist/agent-i18n/en.json +1 -1
  92. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  93. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  94. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  95. package/dist/components/address-fields/index.js +1 -1
  96. package/dist/components/ai-credits-notice/index.js +1 -1
  97. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  98. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  99. package/dist/components/ai-permission-notice/index.js +1 -1
  100. package/dist/components/app-frame/index.js +1 -1
  101. package/dist/components/appointment-details-panel/index.js +1 -1
  102. package/dist/components/appointment-peek/index.js +1 -1
  103. package/dist/components/appointment-timeline/index.js +1 -1
  104. package/dist/components/booking/index.js +1 -1
  105. package/dist/components/calculator-dialog/index.js +1 -1
  106. package/dist/components/care-plan-card/index.js +1 -1
  107. package/dist/components/care-plan-header/index.js +1 -1
  108. package/dist/components/chart/chart.d.ts +5 -5
  109. package/dist/components/chart/index.js +1 -1
  110. package/dist/components/city-input/index.js +1 -1
  111. package/dist/components/clinical-note-card/index.js +1 -1
  112. package/dist/components/color-picker/index.js +1 -1
  113. package/dist/components/contact-card/index.js +1 -1
  114. package/dist/components/contact-profile-card/index.js +1 -1
  115. package/dist/components/control-room-rail/index.js +1 -1
  116. package/dist/components/cycle-calculator/index.js +1 -1
  117. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  118. package/dist/components/dashboard-grid/index.js +1 -1
  119. package/dist/components/data-table/index.js +2 -2
  120. package/dist/components/data-table-tabs/index.js +1 -1
  121. package/dist/components/date-picker/index.js +1 -1
  122. package/dist/components/date-range-picker/index.js +1 -1
  123. package/dist/components/date-time-picker/index.js +1 -1
  124. package/dist/components/dialog/index.js +1 -1
  125. package/dist/components/document-preview/index.js +1 -1
  126. package/dist/components/due-date-calculator/index.js +1 -1
  127. package/dist/components/entity-summary/index.js +1 -1
  128. package/dist/components/face-scheme/index.js +1 -1
  129. package/dist/components/file-manager/index.js +1 -1
  130. package/dist/components/gestational-age-calculator/index.js +1 -1
  131. package/dist/components/hcg-doubling/index.js +1 -1
  132. package/dist/components/header-settings/index.js +1 -1
  133. package/dist/components/heatmap/index.js +1 -1
  134. package/dist/components/hover-card/index.js +1 -1
  135. package/dist/components/icon-picker/index.js +1 -1
  136. package/dist/components/info-tip/index.js +1 -1
  137. package/dist/components/link/index.js +1 -1
  138. package/dist/components/link/link.d.ts +5 -3
  139. package/dist/components/list/index.js +1 -1
  140. package/dist/components/locale-picker/index.js +1 -1
  141. package/dist/components/message-tray/index.js +1 -1
  142. package/dist/components/nav-grid/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/notes-panel/index.js +1 -1
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/panel-subview/index.js +1 -1
  147. package/dist/components/patient-details/index.js +1 -1
  148. package/dist/components/patient-summary-card/index.js +1 -1
  149. package/dist/components/patient-table/index.js +1 -1
  150. package/dist/components/payment-card/index.js +1 -1
  151. package/dist/components/pdf-viewer/index.js +1 -1
  152. package/dist/components/phone-input/index.js +1 -1
  153. package/dist/components/popover/index.js +1 -1
  154. package/dist/components/popover/popover.d.ts +1 -1
  155. package/dist/components/practice-results/index.js +1 -1
  156. package/dist/components/pregnancy-dating/index.js +1 -1
  157. package/dist/components/product-hub-tray/index.js +1 -1
  158. package/dist/components/public-footer/index.js +1 -1
  159. package/dist/components/public-header/index.js +1 -1
  160. package/dist/components/radiograph-panel/index.js +1 -1
  161. package/dist/components/rich-text-editor/index.js +2 -2
  162. package/dist/components/scroll-area/index.js +1 -1
  163. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  164. package/dist/components/search-bar/index.js +1 -1
  165. package/dist/components/search-bar/search-bar.d.ts +1 -1
  166. package/dist/components/sheet/index.js +1 -1
  167. package/dist/components/sidebar/index.d.ts +1 -1
  168. package/dist/components/sidebar/index.js +1 -1
  169. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  170. package/dist/components/sidebar/sidebar.d.ts +26 -1
  171. package/dist/components/sign-document/index.js +1 -1
  172. package/dist/components/task-editor/index.js +1 -1
  173. package/dist/components/tool-rail/index.js +1 -1
  174. package/dist/components/voice-control-panel/index.js +1 -1
  175. package/dist/components/widget-picker/index.js +1 -1
  176. package/dist/host-compat.css +2 -1
  177. package/dist/i18n/locales/ar.d.ts +24 -0
  178. package/dist/i18n/locales/ar.js +26 -2
  179. package/dist/i18n/locales/de.d.ts +24 -0
  180. package/dist/i18n/locales/de.js +26 -2
  181. package/dist/i18n/locales/el.d.ts +24 -0
  182. package/dist/i18n/locales/el.js +26 -2
  183. package/dist/i18n/locales/en.d.ts +24 -0
  184. package/dist/i18n/locales/en.js +26 -2
  185. package/dist/i18n/locales/es.d.ts +24 -0
  186. package/dist/i18n/locales/es.js +26 -2
  187. package/dist/i18n/locales/fr.d.ts +24 -0
  188. package/dist/i18n/locales/fr.js +26 -2
  189. package/dist/i18n/locales/hi.d.ts +24 -0
  190. package/dist/i18n/locales/hi.js +26 -2
  191. package/dist/i18n/locales/it.d.ts +24 -0
  192. package/dist/i18n/locales/it.js +26 -2
  193. package/dist/i18n/locales/ja.d.ts +24 -0
  194. package/dist/i18n/locales/ja.js +26 -2
  195. package/dist/i18n/locales/nl.d.ts +24 -0
  196. package/dist/i18n/locales/nl.js +26 -2
  197. package/dist/i18n/locales/pl.d.ts +24 -0
  198. package/dist/i18n/locales/pl.js +26 -2
  199. package/dist/i18n/locales/pt.d.ts +24 -0
  200. package/dist/i18n/locales/pt.js +26 -2
  201. package/dist/i18n/locales/ro.d.ts +24 -0
  202. package/dist/i18n/locales/ro.js +26 -2
  203. package/dist/i18n/locales/ru.d.ts +24 -0
  204. package/dist/i18n/locales/ru.js +26 -2
  205. package/dist/i18n/locales/sq.d.ts +24 -0
  206. package/dist/i18n/locales/sq.js +26 -2
  207. package/dist/i18n/locales/sv.d.ts +24 -0
  208. package/dist/i18n/locales/sv.js +26 -2
  209. package/dist/i18n/locales/tr.d.ts +24 -0
  210. package/dist/i18n/locales/tr.js +26 -2
  211. package/dist/i18n/locales/zh.d.ts +24 -0
  212. package/dist/i18n/locales/zh.js +26 -2
  213. package/dist/index.js +204 -203
  214. package/dist/locales/ar.json +26 -2
  215. package/dist/locales/de.json +26 -2
  216. package/dist/locales/el.json +26 -2
  217. package/dist/locales/en.json +26 -2
  218. package/dist/locales/es.json +26 -2
  219. package/dist/locales/fr.json +26 -2
  220. package/dist/locales/hi.json +26 -2
  221. package/dist/locales/it.json +26 -2
  222. package/dist/locales/ja.json +26 -2
  223. package/dist/locales/nl.json +26 -2
  224. package/dist/locales/pl.json +26 -2
  225. package/dist/locales/pt.json +26 -2
  226. package/dist/locales/ro.json +26 -2
  227. package/dist/locales/ru.json +26 -2
  228. package/dist/locales/sq.json +26 -2
  229. package/dist/locales/sv.json +26 -2
  230. package/dist/locales/tr.json +26 -2
  231. package/dist/locales/zh.json +26 -2
  232. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  233. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  234. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  235. package/dist/patterns/alia-assistant/index.js +6 -5
  236. package/dist/patterns/anamnesis/index.js +1 -1
  237. package/dist/patterns/calendar/index.js +1 -1
  238. package/dist/patterns/forgot-password-form/index.js +1 -1
  239. package/dist/patterns/help-me-write-templates/index.js +1 -1
  240. package/dist/patterns/login-form/index.js +1 -1
  241. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  242. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
  243. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  244. package/dist/patterns/registration-form/index.js +1 -1
  245. package/dist/patterns/signature-request/index.js +1 -1
  246. package/dist/patterns/signed-out-frame/index.js +1 -1
  247. package/dist/tokens.css +1 -1
  248. package/package.json +1 -1
  249. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  250. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  251. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  252. package/dist/_chunks/link-2HokYuIi.js +0 -130
  253. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
  254. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  255. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  256. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  257. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
@@ -1,19 +1,20 @@
1
1
  import { jsx as s, jsxs as c, Fragment as _ } from "react/jsx-runtime";
2
- import { forwardRef as re, useState as ie, useCallback as ne, useEffect as E, useRef as p, useMemo as de, useImperativeHandle as oe } from "react";
2
+ import { forwardRef as ie, useState as ne, useCallback as de, useEffect as E, useRef as p, useMemo as oe, useImperativeHandle as ce } from "react";
3
3
  import * as T from "@radix-ui/react-popover";
4
- import { c as j } from "./index-D2ZczOXr.js";
4
+ import { u as le, f as me } from "./non-modal-tab-exit-j3CPOuE3.js";
5
+ import { c as O } from "./index-D2ZczOXr.js";
5
6
  import { useTranslation as H } from "react-i18next";
6
- import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
7
- import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
8
- import { I as me } from "./icon-button-COX76Jdj.js";
7
+ import { u as pe } from "./use-controllable-state-BiY4xTzM.js";
8
+ import { u as ge } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
+ import { I as ue } from "./icon-button-COX76Jdj.js";
9
10
  import { B as L } from "./button-Bn16lcFM.js";
10
11
  import { S as F } from "./separator-CYU_bGFn.js";
11
- import { S as h } from "./skeleton-B1KTdJ4N.js";
12
- import { S as pe } from "./scroll-area-ZtFCv9K7.js";
13
- import { M as ge } from "./message-card-DVo8-dOm.js";
14
- import { u as ue } from "./registry-DvAUVLHh.js";
12
+ import { S as y } from "./skeleton-B1KTdJ4N.js";
13
+ import { S as fe } from "./scroll-area-CY5SLYNw.js";
14
+ import { M as ve } from "./message-card-DVo8-dOm.js";
15
+ import { u as he } from "./registry-DvAUVLHh.js";
15
16
  import { M as V } from "./mail-BqXVF2zH.js";
16
- const fe = {
17
+ const ye = {
17
18
  id: "message-tray",
18
19
  capabilities: ["open", "close", "select_single", "dismiss", "navigate"],
19
20
  state: {
@@ -159,7 +160,7 @@ const fe = {
159
160
  description: "Stable message id emitted on each rendered MessageCard inside the tray."
160
161
  }
161
162
  }
162
- }, ve = j("ds:relative ds:inline-flex ds:items-center", {
163
+ }, xe = O("ds:relative ds:inline-flex ds:items-center", {
163
164
  variants: {
164
165
  size: {
165
166
  sm: "",
@@ -169,7 +170,7 @@ const fe = {
169
170
  defaultVariants: {
170
171
  size: "md"
171
172
  }
172
- }), he = j(
173
+ }), be = O(
173
174
  [
174
175
  "ds:flex ds:flex-col",
175
176
  "ds:bg-[var(--popover)] ds:text-[var(--popover-foreground)]",
@@ -205,7 +206,7 @@ const fe = {
205
206
  size: "md"
206
207
  }
207
208
  }
208
- ), ye = j(
209
+ ), Te = O(
209
210
  [
210
211
  "ds:absolute ds:-top-[var(--spacing-xs)] ds:-end-[var(--spacing-xs)]",
211
212
  "ds:inline-flex ds:items-center ds:justify-center",
@@ -217,7 +218,7 @@ const fe = {
217
218
  "ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
218
219
  ].join(" ")
219
220
  );
220
- function xe(a, t) {
221
+ function we(a, t) {
221
222
  return a > 99 ? t : String(a);
222
223
  }
223
224
  function C() {
@@ -227,18 +228,18 @@ function C() {
227
228
  "aria-hidden": "true",
228
229
  className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]",
229
230
  children: [
230
- /* @__PURE__ */ s(h, { variant: "circular", size: "sm" }),
231
+ /* @__PURE__ */ s(y, { variant: "circular", size: "sm" }),
231
232
  /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
232
- /* @__PURE__ */ s(h, { variant: "text", size: "md", width: "60%" }),
233
- /* @__PURE__ */ s(h, { variant: "text", size: "sm", width: "80%" }),
234
- /* @__PURE__ */ s(h, { variant: "text", size: "sm", width: "95%" }),
235
- /* @__PURE__ */ s(h, { variant: "text", size: "sm", width: "30%" })
233
+ /* @__PURE__ */ s(y, { variant: "text", size: "md", width: "60%" }),
234
+ /* @__PURE__ */ s(y, { variant: "text", size: "sm", width: "80%" }),
235
+ /* @__PURE__ */ s(y, { variant: "text", size: "sm", width: "95%" }),
236
+ /* @__PURE__ */ s(y, { variant: "text", size: "sm", width: "30%" })
236
237
  ] })
237
238
  ]
238
239
  }
239
240
  );
240
241
  }
241
- function be() {
242
+ function Ne() {
242
243
  const { t: a } = H("ui");
243
244
  return /* @__PURE__ */ c(
244
245
  "div",
@@ -261,7 +262,7 @@ function be() {
261
262
  }
262
263
  );
263
264
  }
264
- const Te = re(
265
+ const Se = ie(
265
266
  ({
266
267
  id: a,
267
268
  items: t,
@@ -270,11 +271,11 @@ const Te = re(
270
271
  onOpenChange: W,
271
272
  onItemClick: g,
272
273
  onDismiss: u,
273
- onMarkRead: y,
274
+ onMarkRead: x,
274
275
  onMarkAllRead: l,
275
- loading: Y = !1,
276
- maxVisible: A,
277
- viewAllLabel: k,
276
+ loading: A = !1,
277
+ maxVisible: Y,
278
+ viewAllLabel: R,
278
279
  onViewAll: f,
279
280
  align: G = "end",
280
281
  side: J = "bottom",
@@ -282,25 +283,25 @@ const Te = re(
282
283
  className: Q,
283
284
  ...X
284
285
  }, Z) => {
285
- var P;
286
- const { t: d } = H("ui"), [$, x] = ce({
286
+ var q;
287
+ const { t: d } = H("ui"), [$, v] = pe({
287
288
  value: U,
288
289
  defaultValue: !1,
289
290
  onChange: W
290
- }), S = $ ?? !1, [v, O] = ie(
291
+ }), S = $ ?? !1, [h, j] = ne(
291
292
  () => t.map((e) => ({ item: e, leaving: !1 }))
292
- ), R = ne(() => {
293
+ ), k = de(() => {
293
294
  if (typeof window > "u") return 200;
294
295
  const e = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration");
295
296
  if (!e) return 200;
296
297
  const r = e.trim(), i = parseFloat(r);
297
298
  return Number.isFinite(i) ? r.endsWith("ms") ? i : i * 1e3 : 200;
298
299
  }, []);
299
- le(() => {
300
- O((e) => {
300
+ ge(() => {
301
+ j((e) => {
301
302
  const r = new Set(t.map((n) => n.id)), i = new Set(e.map((n) => n.item.id)), o = e.map((n) => {
302
303
  if (r.has(n.item.id)) {
303
- const B = t.find((te) => te.id === n.item.id);
304
+ const B = t.find((re) => re.id === n.item.id);
304
305
  return B ? { item: B, leaving: !1 } : { ...n, leaving: !0 };
305
306
  }
306
307
  return { ...n, leaving: !0 };
@@ -310,16 +311,16 @@ const Te = re(
310
311
  return o;
311
312
  });
312
313
  }, [t]), E(() => {
313
- if (!v.some((i) => i.leaving)) return;
314
- const e = R(), r = setTimeout(() => {
315
- O((i) => i.filter((o) => !o.leaving));
314
+ if (!h.some((i) => i.leaving)) return;
315
+ const e = k(), r = setTimeout(() => {
316
+ j((i) => i.filter((o) => !o.leaving));
316
317
  }, e);
317
318
  return () => clearTimeout(r);
318
- }, [v, R]);
319
- const z = p(null), I = p((P = t[0]) == null ? void 0 : P.id);
319
+ }, [h, k]);
320
+ const z = p(null), K = p((q = t[0]) == null ? void 0 : q.id);
320
321
  E(() => {
321
322
  var i;
322
- const e = (i = t[0]) == null ? void 0 : i.id, r = I.current;
323
+ const e = (i = t[0]) == null ? void 0 : i.id, r = K.current;
323
324
  if (r && e && r !== e && z.current) {
324
325
  const o = t[0];
325
326
  o && !o.read && (z.current.textContent = d("messageTray.newMessage", {
@@ -327,34 +328,34 @@ const Te = re(
327
328
  defaultValue: "New message from {{sender}}"
328
329
  }));
329
330
  }
330
- I.current = e;
331
+ K.current = e;
331
332
  }, [t, d]);
332
333
  const b = w ?? 0, D = b > 0 ? d("messageTray.triggerLabel", {
333
334
  count: b,
334
335
  defaultValue: "Messages, {{count}} unread"
335
- }) : d("messageTray.triggerLabelNone", "Messages, none unread"), ee = xe(
336
+ }) : d("messageTray.triggerLabelNone", "Messages, none unread"), ee = we(
336
337
  b,
337
338
  d("messageTray.badgeCountOverflow", "99+")
338
- ), se = he({ size: N }), m = p(t);
339
+ ), se = be({ size: N }), m = p(t);
339
340
  m.current = t;
340
- const K = p(w);
341
- K.current = w;
341
+ const I = p(w);
342
+ I.current = w;
342
343
  const M = p(S);
343
344
  M.current = S;
344
- const ae = de(
345
+ const ae = oe(
345
346
  () => ({
346
- open: () => x(!0),
347
- close: () => x(!1),
347
+ open: () => v(!0),
348
+ close: () => v(!1),
348
349
  isOpen: () => M.current,
349
350
  getItems: () => m.current.map((e) => ({ id: e.id, read: !!e.read })),
350
- getUnreadCount: () => K.current ?? m.current.filter((e) => !e.read).length,
351
+ getUnreadCount: () => I.current ?? m.current.filter((e) => !e.read).length,
351
352
  selectItem: (e) => {
352
353
  const r = m.current.find((i) => i.id === e);
353
354
  r && (g == null || g(r));
354
355
  },
355
356
  markRead: (e) => {
356
357
  const r = m.current.find((i) => i.id === e);
357
- r && (y == null || y(r));
358
+ r && (x == null || x(r));
358
359
  },
359
360
  dismiss: (e) => {
360
361
  const r = m.current.find((i) => i.id === e);
@@ -364,25 +365,30 @@ const Te = re(
364
365
  viewAll: () => f == null ? void 0 : f()
365
366
  }),
366
367
  [
367
- x,
368
+ v,
368
369
  g,
369
- y,
370
+ x,
370
371
  u,
371
372
  l,
372
373
  f
373
374
  ]
374
- ), q = p(null);
375
- return oe(Z, () => q.current, []), ue(fe, ae, a), /* @__PURE__ */ s(
375
+ ), P = p(null);
376
+ ce(Z, () => P.current, []), he(ye, ae, a);
377
+ const te = le(!0, {
378
+ getAnchor: me,
379
+ onReturnToTrigger: () => v(!1)
380
+ });
381
+ return /* @__PURE__ */ s(
376
382
  "div",
377
383
  {
378
- ref: q,
384
+ ref: P,
379
385
  "data-component": "message-tray",
380
386
  "data-component-id": a,
381
- className: [ve({ size: N }), Q].filter(Boolean).join(" "),
387
+ className: [xe({ size: N }), Q].filter(Boolean).join(" "),
382
388
  ...X,
383
- children: /* @__PURE__ */ c(T.Root, { open: S, onOpenChange: x, children: [
389
+ children: /* @__PURE__ */ c(T.Root, { open: S, onOpenChange: v, children: [
384
390
  /* @__PURE__ */ s(T.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
385
- me,
391
+ ue,
386
392
  {
387
393
  icon: /* @__PURE__ */ s(V, {}),
388
394
  intent: "outline",
@@ -396,7 +402,7 @@ const Te = re(
396
402
  {
397
403
  "aria-hidden": "true",
398
404
  "data-testid": "message-tray-badge",
399
- className: ye(),
405
+ className: Te(),
400
406
  children: ee
401
407
  }
402
408
  ) : null,
@@ -413,6 +419,7 @@ const Te = re(
413
419
  T.Content,
414
420
  {
415
421
  role: "dialog",
422
+ onKeyDown: te,
416
423
  "aria-label": d("messageTray.panelTitle", "Messages"),
417
424
  side: J,
418
425
  align: G,
@@ -435,22 +442,22 @@ const Te = re(
435
442
  ] }),
436
443
  /* @__PURE__ */ s(F, {}),
437
444
  /* @__PURE__ */ s(
438
- pe,
445
+ fe,
439
446
  {
440
447
  orientation: "vertical",
441
448
  className: "ds:flex-1 ds:min-h-0 ds:sm:flex-none ds:sm:[max-block-size:var(--message-tray-max-block-size,26rem)]",
442
449
  children: /* @__PURE__ */ s(
443
450
  "div",
444
451
  {
445
- role: v.length > 0 ? "list" : void 0,
446
- "data-max-visible": A,
452
+ role: h.length > 0 ? "list" : void 0,
453
+ "data-max-visible": Y,
447
454
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)]",
448
- children: Y ? /* @__PURE__ */ c(_, { children: [
455
+ children: A ? /* @__PURE__ */ c(_, { children: [
449
456
  /* @__PURE__ */ s(C, {}),
450
457
  /* @__PURE__ */ s(C, {}),
451
458
  /* @__PURE__ */ s(C, {})
452
- ] }) : v.length === 0 ? /* @__PURE__ */ s(be, {}) : v.map(({ item: e, leaving: r }) => /* @__PURE__ */ s(
453
- ge,
459
+ ] }) : h.length === 0 ? /* @__PURE__ */ s(Ne, {}) : h.map(({ item: e, leaving: r }) => /* @__PURE__ */ s(
460
+ ve,
454
461
  {
455
462
  item: e,
456
463
  variant: "compact",
@@ -465,7 +472,7 @@ const Te = re(
465
472
  )
466
473
  }
467
474
  ),
468
- k ? /* @__PURE__ */ c(_, { children: [
475
+ R ? /* @__PURE__ */ c(_, { children: [
469
476
  /* @__PURE__ */ s(F, {}),
470
477
  /* @__PURE__ */ s("div", { className: "ds:pt-[var(--spacing-xs)]", children: /* @__PURE__ */ s(
471
478
  L,
@@ -474,7 +481,7 @@ const Te = re(
474
481
  size: "sm",
475
482
  onClick: f,
476
483
  className: "ds:w-full ds:justify-center",
477
- children: k
484
+ children: R
478
485
  }
479
486
  ) })
480
487
  ] }) : null
@@ -486,9 +493,9 @@ const Te = re(
486
493
  );
487
494
  }
488
495
  );
489
- Te.displayName = "MessageTray";
496
+ Se.displayName = "MessageTray";
490
497
  export {
491
- Te as M,
492
- fe as m
498
+ Se as M,
499
+ ye as m
493
500
  };
494
- //# sourceMappingURL=message-tray-BB95DA82.js.map
501
+ //# sourceMappingURL=message-tray-DmU0poD7.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as s, jsxs as w, Fragment as x } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useMemo as l } from "react";
3
3
  import { c as p } from "./index-D2ZczOXr.js";
4
- import { L as C } from "./link-2HokYuIi.js";
4
+ import { L as C } from "./link-gRw3NtOt.js";
5
5
  import { u as G } from "./registry-DvAUVLHh.js";
6
6
  const I = {
7
7
  id: "nav-grid",
@@ -165,4 +165,4 @@ export {
165
165
  I as n,
166
166
  c as t
167
167
  };
168
- //# sourceMappingURL=nav-grid-BqCPH8sm.js.map
168
+ //# sourceMappingURL=nav-grid-Byx8PxuB.js.map
@@ -0,0 +1,9 @@
1
+ import { createContext as t, useContext as s } from "react";
2
+ const o = t(
3
+ null
4
+ ), e = () => s(o);
5
+ export {
6
+ o as N,
7
+ e as u
8
+ };
9
+ //# sourceMappingURL=navigation-dismiss-B1mcW1CT.js.map
@@ -0,0 +1,89 @@
1
+ import { useCallback as p } from "react";
2
+ const T = "data-radix-focus-guard";
3
+ function y(e) {
4
+ if (!e.id) return null;
5
+ const i = e.ownerDocument.querySelectorAll("[aria-controls]");
6
+ for (const t of i)
7
+ if (t.getAttribute("aria-controls") === e.id) return t;
8
+ return null;
9
+ }
10
+ function c(e) {
11
+ return e.hidden || e.disabled === !0 || e.tagName === "INPUT" && e.type === "hidden" ? !1 : e.tabIndex >= 0;
12
+ }
13
+ function N(e, i) {
14
+ if (getComputedStyle(e).visibility === "hidden") return !0;
15
+ let t = e;
16
+ for (; t; ) {
17
+ if (i !== void 0 && t === i) return !1;
18
+ if (getComputedStyle(t).display === "none") return !0;
19
+ t = t.parentElement;
20
+ }
21
+ return !1;
22
+ }
23
+ function m(e, i) {
24
+ const t = e.ownerDocument.createTreeWalker(
25
+ e,
26
+ NodeFilter.SHOW_ELEMENT,
27
+ {
28
+ acceptNode: (n) => c(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
29
+ }
30
+ ), o = [];
31
+ for (; t.nextNode(); ) o.push(t.currentNode);
32
+ return i === "last" && o.reverse(), o.find((n) => !N(n, e));
33
+ }
34
+ function f(e) {
35
+ return N(e) || (e.focus(), e.ownerDocument.activeElement !== e) ? !1 : (e.tagName === "INPUT" && e.select(), !0);
36
+ }
37
+ function b(e) {
38
+ return e.ownerDocument.body.style.pointerEvents !== "none" ? null : e.closest('[role="dialog"], [role="alertdialog"]');
39
+ }
40
+ function F(e, i, t) {
41
+ const o = e.ownerDocument, n = t && b(t) || o.body, s = o.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, {
42
+ acceptNode: (r) => {
43
+ const d = r;
44
+ return d === e || d.hidden || d.hasAttribute("inert") || t && d.getAttribute("aria-hidden") === "true" ? NodeFilter.FILTER_REJECT : c(d) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
45
+ }
46
+ });
47
+ let u = t ?? e;
48
+ if (!i || t) for (; u.lastChild; ) u = u.lastChild;
49
+ if (s.currentNode = u, t && i && u.nodeType === Node.ELEMENT_NODE) {
50
+ const r = u;
51
+ if (c(r) && f(r)) return "moved";
52
+ }
53
+ let l = null;
54
+ const a = () => i ? s.previousNode() : s.nextNode();
55
+ for (let r = a(); r; r = a()) {
56
+ const d = r;
57
+ if (d.hasAttribute(T)) l = d;
58
+ else if (f(d)) return "moved";
59
+ }
60
+ if (n !== o.body) {
61
+ const r = m(n, i ? "last" : "first");
62
+ return r && f(r) ? "moved" : "none";
63
+ }
64
+ return l ? (l.focus(), o.activeElement === l ? "native" : "none") : "none";
65
+ }
66
+ function v(e, { getAnchor: i, onReturnToTrigger: t } = {}) {
67
+ return p(
68
+ (o) => {
69
+ if (!e || o.defaultPrevented || o.key !== "Tab" || o.altKey || o.ctrlKey || o.metaKey)
70
+ return;
71
+ const n = o.currentTarget, s = n.ownerDocument.activeElement;
72
+ if (!s || !n.contains(s)) return;
73
+ const u = o.shiftKey, l = m(n, u ? "first" : "last");
74
+ if (!(s === l || s === n && (!l || u))) return;
75
+ const r = i == null ? void 0 : i(n);
76
+ if (i && !(r != null && r.isConnected)) return;
77
+ const d = r && r.isConnected && !r.contains(n) && !n.contains(r) ? r : void 0;
78
+ if (F(n, u, d) !== "moved" || (o.preventDefault(), !u || !t)) return;
79
+ const E = n.ownerDocument.activeElement;
80
+ E && E === y(n) && t();
81
+ },
82
+ [e, i, t]
83
+ );
84
+ }
85
+ export {
86
+ y as f,
87
+ v as u
88
+ };
89
+ //# sourceMappingURL=non-modal-tab-exit-j3CPOuE3.js.map
@@ -2,7 +2,7 @@ import { c as f } from "./createLucideIcon-DhHxpK9K.js";
2
2
  import { jsx as a } from "react/jsx-runtime";
3
3
  import { useTranslation as g } from "react-i18next";
4
4
  import { B as u } from "./badge-hnBt8o7n.js";
5
- import { L as h } from "./link-2HokYuIi.js";
5
+ import { L as h } from "./link-gRw3NtOt.js";
6
6
  import { i as b } from "./is-safe-url-DkETxeHz.js";
7
7
  import { S as y } from "./scan-line-CNseIHQ0.js";
8
8
  import { L as N } from "./layers-DcAENmsZ.js";
@@ -121,4 +121,4 @@ export {
121
121
  M as P,
122
122
  U as n
123
123
  };
124
- //# sourceMappingURL=note-attachment-I1NLoeRZ.js.map
124
+ //# sourceMappingURL=note-attachment-Bt2cddsZ.js.map
@@ -4,7 +4,7 @@ import { c as h } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as L } from "react-i18next";
5
5
  import { SafeHtml as A } from "../safe-html/index.js";
6
6
  import { C as P, S as b } from "./skeleton-B1KTdJ4N.js";
7
- import { n as B, P as K, F as O, N as q } from "./note-attachment-I1NLoeRZ.js";
7
+ import { n as B, P as K, F as O, N as q } from "./note-attachment-Bt2cddsZ.js";
8
8
  import { u as G } from "./registry-DvAUVLHh.js";
9
9
  const J = {
10
10
  id: "note-timeline",
@@ -330,4 +330,4 @@ export {
330
330
  X as N,
331
331
  J as n
332
332
  };
333
- //# sourceMappingURL=note-timeline-CsY8YOE7.js.map
333
+ //# sourceMappingURL=note-timeline-CX9nAgAR.js.map
@@ -4,8 +4,8 @@ import { c as Et } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as kn } from "react-i18next";
5
5
  import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
6
6
  import { u as zn } from "./registry-DvAUVLHh.js";
7
- import { C as Hn } from "./clinical-note-card-14JIoUR0.js";
8
- import { R as Mn } from "./rich-text-editor-CkFfmA3v.js";
7
+ import { C as Hn } from "./clinical-note-card-hx939bvw.js";
8
+ import { R as Mn } from "./rich-text-editor-UgXri8h6.js";
9
9
  import { T as Wn } from "./text-area-COMVJ1yE.js";
10
10
  import { A as j } from "./alert-BhCstf2h.js";
11
11
  import { B as te } from "./button-Bn16lcFM.js";
@@ -14,7 +14,7 @@ import { S as $n } from "./switch-D--x7n6h.js";
14
14
  import { T as Bn } from "./tooltip-Cp-PLePW.js";
15
15
  import { C as yt } from "./card-DMO2nkt4.js";
16
16
  import { C as Kn, S as ve } from "./skeleton-B1KTdJ4N.js";
17
- import { D as L } from "./dialog-CUzbnKLw.js";
17
+ import { D as L } from "./dialog-Dn-iQ0Jp.js";
18
18
  import { P as In } from "./panel-header-D_mTdhUp.js";
19
19
  import { a as Yn, u as Gn, R as Jn } from "./use-list-reflow-C7O4Uqnl.js";
20
20
  import { u as Qn } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
@@ -1109,4 +1109,4 @@ const jr = qn(
1109
1109
  export {
1110
1110
  jr as N
1111
1111
  };
1112
- //# sourceMappingURL=notes-panel-DceRhthG.js.map
1112
+ //# sourceMappingURL=notes-panel-DHLHsxpW.js.map