@alfadocs/ui-kit 1.66.0 → 1.68.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 (305) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  4. package/dist/_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js +287 -0
  5. package/dist/_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js +43 -0
  6. package/dist/_chunks/ai-credits-notice-DQ-r3iQU.js +191 -0
  7. package/dist/_chunks/{ai-permission-notice-DpRmZ9Q3.js → ai-permission-notice-C00i6VhY.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  9. package/dist/_chunks/{alert-DdDpOi-P.js → alert-9kEwDza3.js} +122 -111
  10. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-BIfw890v.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
  13. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  14. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
  15. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  16. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  17. package/dist/_chunks/{audio-recorder-DR-u1qbl.js → audio-recorder-4Ll0pwYK.js} +3 -3
  18. package/dist/_chunks/{auth-form-parts-Cmb41LSQ.js → auth-form-parts-B40zvD-a.js} +2 -2
  19. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  20. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  21. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  22. package/dist/_chunks/{booking-DkjatiXc.js → booking-B1pDbERi.js} +377 -335
  23. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-Cp8yTZ1g.js → calendar-workspace-CYK1M83j.js} +19 -19
  25. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
  26. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  27. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  28. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  29. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  30. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  31. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  32. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  33. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  34. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  35. package/dist/_chunks/{document-preview-B1dQm292.js → document-preview-513f3iPn.js} +4 -4
  36. package/dist/_chunks/{document-scanner-CVPVLK7z.js → document-scanner-Bd3wbzpI.js} +2 -2
  37. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  38. package/dist/_chunks/{entity-summary-BQ9_KA8S.js → entity-summary-C2B8yNmc.js} +4 -4
  39. package/dist/_chunks/{error-summary-DrUfuKu1.js → error-summary-mGxIyDAY.js} +2 -2
  40. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  41. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  42. package/dist/_chunks/{forgot-password-form-CgZkEvZy.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  43. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  44. package/dist/_chunks/{freemium-paywall-DKJHRFpp.js → freemium-paywall-C73C8Rgd.js} +2 -2
  45. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  46. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  47. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  48. package/dist/_chunks/help-me-write-templates-5WkUfvc_.js +687 -0
  49. package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
  50. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  51. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  52. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  53. package/dist/_chunks/{login-dev-card-PnADNcI9.js → login-dev-card-vEL-o5wq.js} +3 -3
  54. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  55. package/dist/_chunks/{marketplace-app-shell-C-2e4eCD.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  56. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  57. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  58. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  59. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  60. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  61. package/dist/_chunks/{notes-panel-uEGIL7mi.js → notes-panel-BXN46XkF.js} +6 -6
  62. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  63. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  64. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  65. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
  66. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  67. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  68. package/dist/_chunks/{patient-details-4P1vA9Ls.js → patient-details-C4Dyo7Ck.js} +4 -4
  69. package/dist/_chunks/{patient-field-row-CBXhlfGD.js → patient-field-row-DROvUkFu.js} +155 -176
  70. package/dist/_chunks/{patient-search-DOnDUVsl.js → patient-search-BADdx3M1.js} +2 -2
  71. package/dist/_chunks/{patient-summary-card-CuDLo8MP.js → patient-summary-card-CAimxbuI.js} +4 -4
  72. package/dist/_chunks/{payment-automation-upsell-C8MEu0t6.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  73. package/dist/_chunks/{payment-form-C3dGY7v4.js → payment-form-PBuh8PIa.js} +2 -2
  74. package/dist/_chunks/{pdf-viewer-DJ9VN7cu.js → pdf-viewer-gAsNUsA8.js} +2 -2
  75. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  76. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  77. package/dist/_chunks/{practice-results-8h2Utpt3.js → practice-results-BzThnpnm.js} +328 -298
  78. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  79. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  80. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  81. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  82. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  83. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  84. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  85. package/dist/_chunks/{registration-form-BQyT_kBX.js → registration-form-1B0PTDal.js} +4 -4
  86. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
  87. package/dist/_chunks/{rich-text-editor-M2gT_E7f.js → rich-text-editor-56dSsyZI.js} +1653 -1743
  88. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  89. package/dist/_chunks/{sign-document-CY7xTXbm.js → sign-document-BiOTs1P4.js} +2 -2
  90. package/dist/_chunks/{signature-request-BMCHy2ZO.js → signature-request-DAmNj_uq.js} +5 -5
  91. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  92. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  93. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  94. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  95. package/dist/_chunks/{task-editor-CifOznfq.js → task-editor-BomyxGoZ.js} +8 -8
  96. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  97. package/dist/_chunks/{tasks-panel-8nLwBw6P.js → tasks-panel-ATz9JDy8.js} +6 -6
  98. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  99. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  100. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  101. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  102. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  103. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  104. package/dist/_chunks/{use-appointment-details-read-B-FEWbQM.js → use-appointment-details-read-CUGfE0hV.js} +13 -13
  105. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  106. package/dist/_chunks/voice-control-panel-B8Lrk0C4.js +1148 -0
  107. package/dist/_chunks/{warning-stack-HYWAytZV.js → warning-stack-BhHUmRiD.js} +2 -2
  108. package/dist/_chunks/{workflow-map-C2B2qIr1.js → workflow-map-ln4_OG8A.js} +2 -2
  109. package/dist/agent-catalog.json +221 -6
  110. package/dist/agent-i18n/en.json +32 -5
  111. package/dist/components/_shared/format-number.d.ts +20 -0
  112. package/dist/components/_shared/length-token.d.ts +12 -0
  113. package/dist/components/_shared/option.d.ts +1 -0
  114. package/dist/components/address-fields/index.js +1 -1
  115. package/dist/components/agenda-card/index.js +1 -1
  116. package/dist/components/agenda-tray/index.js +1 -1
  117. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.agent.d.ts +4 -0
  118. package/dist/components/ai-credits-notice/ai-credits-exhausted-notice.d.ts +96 -0
  119. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +30 -4
  120. package/dist/components/ai-credits-notice/index.d.ts +3 -0
  121. package/dist/components/ai-credits-notice/index.js +10 -4
  122. package/dist/components/ai-permission-notice/index.js +1 -1
  123. package/dist/components/ai-prompt-input/index.js +1 -1
  124. package/dist/components/alert/alert.d.ts +26 -0
  125. package/dist/components/alert/index.js +1 -1
  126. package/dist/components/anamnesis-summary-card/index.js +1 -1
  127. package/dist/components/appointment-card/index.js +2 -2
  128. package/dist/components/appointment-details-panel/index.js +1 -1
  129. package/dist/components/appointment-peek/index.js +1 -1
  130. package/dist/components/appointment-timeline/index.js +1 -1
  131. package/dist/components/audio-recorder/index.js +1 -1
  132. package/dist/components/avatar/avatar.d.ts +2 -0
  133. package/dist/components/avatar/index.js +1 -1
  134. package/dist/components/bishop-score/index.js +1 -1
  135. package/dist/components/booking/index.js +1 -1
  136. package/dist/components/calendar/index.js +1 -1
  137. package/dist/components/chat-message/index.js +1 -1
  138. package/dist/components/clinical-note-card/index.js +1 -1
  139. package/dist/components/color-picker/index.js +1 -1
  140. package/dist/components/combobox/index.js +1 -1
  141. package/dist/components/contact-profile-card/index.js +1 -1
  142. package/dist/components/control-room-rail/index.js +1 -1
  143. package/dist/components/country-select/index.js +1 -1
  144. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  145. package/dist/components/dashboard-grid/index.js +1 -1
  146. package/dist/components/data-table/index.js +2 -2
  147. package/dist/components/dependent-selector/index.js +1 -1
  148. package/dist/components/document-preview/index.js +1 -1
  149. package/dist/components/document-scanner/index.js +1 -1
  150. package/dist/components/editable-description/index.js +1 -1
  151. package/dist/components/entity-summary/index.js +1 -1
  152. package/dist/components/error-summary/index.js +1 -1
  153. package/dist/components/face-scheme/index.js +1 -1
  154. package/dist/components/file-manager/index.js +1 -1
  155. package/dist/components/freemium-paywall/index.js +1 -1
  156. package/dist/components/gestational-age-calculator/index.js +1 -1
  157. package/dist/components/header-settings/index.js +1 -1
  158. package/dist/components/heatmap/index.js +1 -1
  159. package/dist/components/index.d.ts +4 -2
  160. package/dist/components/map-view/index.d.ts +1 -1
  161. package/dist/components/map-view/index.js +1 -1
  162. package/dist/components/map-view/map-view.d.ts +51 -0
  163. package/dist/components/message-card/index.js +1 -1
  164. package/dist/components/message-tray/index.js +1 -1
  165. package/dist/components/multi-select/index.js +1 -1
  166. package/dist/components/muscle-scheme/index.js +1 -1
  167. package/dist/components/note-timeline/index.js +1 -1
  168. package/dist/components/notes-panel/index.js +1 -1
  169. package/dist/components/notice-group/index.d.ts +3 -0
  170. package/dist/components/notice-group/index.js +6 -0
  171. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  172. package/dist/components/notice-group/notice-group.d.ts +43 -0
  173. package/dist/components/notification-tray/index.js +1 -1
  174. package/dist/components/operator-hero/index.js +1 -1
  175. package/dist/components/optical-prescription/index.js +1 -1
  176. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  177. package/dist/components/panel-header/index.js +1 -1
  178. package/dist/components/panel-header/panel-header.d.ts +10 -0
  179. package/dist/components/panel-subview/index.js +1 -1
  180. package/dist/components/patient-details/index.js +1 -1
  181. package/dist/components/patient-search/index.js +1 -1
  182. package/dist/components/patient-summary-card/index.js +1 -1
  183. package/dist/components/patient-table/index.js +1 -1
  184. package/dist/components/payment-form/index.js +1 -1
  185. package/dist/components/pdf-viewer/index.js +1 -1
  186. package/dist/components/periodontal-risk-chart/index.js +1 -1
  187. package/dist/components/practice-profile-hero/index.js +1 -1
  188. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  189. package/dist/components/practice-results/index.js +1 -1
  190. package/dist/components/practice-results/practice-results.d.ts +10 -2
  191. package/dist/components/pregnancy-dating/index.js +1 -1
  192. package/dist/components/product-hub-tray/index.js +1 -1
  193. package/dist/components/progress-notice/index.d.ts +3 -0
  194. package/dist/components/progress-notice/index.js +6 -0
  195. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  196. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  197. package/dist/components/province-select/index.js +1 -1
  198. package/dist/components/radiograph-panel/index.js +1 -1
  199. package/dist/components/rating/index.js +1 -1
  200. package/dist/components/reviews-panel/index.js +1 -1
  201. package/dist/components/rich-text-editor/index.js +2 -2
  202. package/dist/components/select/index.js +1 -1
  203. package/dist/components/select/select.d.ts +6 -0
  204. package/dist/components/sign-document/index.js +1 -1
  205. package/dist/components/skeleton/index.d.ts +1 -1
  206. package/dist/components/skeleton/index.js +1 -1
  207. package/dist/components/skeleton/skeleton.d.ts +41 -1
  208. package/dist/components/skeleton-scheme/index.js +1 -1
  209. package/dist/components/slot-grid/index.js +1 -1
  210. package/dist/components/tabs/index.js +1 -1
  211. package/dist/components/task-card/index.js +1 -1
  212. package/dist/components/task-editor/index.js +1 -1
  213. package/dist/components/task-tray/index.js +1 -1
  214. package/dist/components/tasks-panel/index.js +1 -1
  215. package/dist/components/theme-toggle/index.js +1 -1
  216. package/dist/components/timeline/index.js +1 -1
  217. package/dist/components/tool-rail/index.js +1 -1
  218. package/dist/components/transcript-panel/index.js +1 -1
  219. package/dist/components/treatment-receipt/index.js +1 -1
  220. package/dist/components/unit-converter/index.js +1 -1
  221. package/dist/components/voice-control-panel/index.d.ts +2 -1
  222. package/dist/components/voice-control-panel/index.js +1 -1
  223. package/dist/components/voice-control-panel/voice-control-panel.d.ts +43 -3
  224. package/dist/components/warning-stack/index.js +1 -1
  225. package/dist/components/workflow/index.js +1 -1
  226. package/dist/hooks/index.d.ts +1 -0
  227. package/dist/hooks/index.js +81 -76
  228. package/dist/hooks/use-dismissed.d.ts +58 -0
  229. package/dist/i18n/locales/ar.d.ts +49 -12
  230. package/dist/i18n/locales/ar.js +49 -12
  231. package/dist/i18n/locales/de.d.ts +49 -12
  232. package/dist/i18n/locales/de.js +49 -12
  233. package/dist/i18n/locales/el.d.ts +49 -12
  234. package/dist/i18n/locales/el.js +49 -12
  235. package/dist/i18n/locales/en.d.ts +49 -12
  236. package/dist/i18n/locales/en.js +49 -12
  237. package/dist/i18n/locales/es.d.ts +49 -12
  238. package/dist/i18n/locales/es.js +49 -12
  239. package/dist/i18n/locales/fr.d.ts +49 -12
  240. package/dist/i18n/locales/fr.js +49 -12
  241. package/dist/i18n/locales/hi.d.ts +49 -12
  242. package/dist/i18n/locales/hi.js +49 -12
  243. package/dist/i18n/locales/it.d.ts +49 -12
  244. package/dist/i18n/locales/it.js +49 -12
  245. package/dist/i18n/locales/ja.d.ts +49 -12
  246. package/dist/i18n/locales/ja.js +49 -12
  247. package/dist/i18n/locales/nl.d.ts +49 -12
  248. package/dist/i18n/locales/nl.js +49 -12
  249. package/dist/i18n/locales/pl.d.ts +49 -12
  250. package/dist/i18n/locales/pl.js +49 -12
  251. package/dist/i18n/locales/pt.d.ts +49 -12
  252. package/dist/i18n/locales/pt.js +49 -12
  253. package/dist/i18n/locales/ro.d.ts +49 -12
  254. package/dist/i18n/locales/ro.js +49 -12
  255. package/dist/i18n/locales/ru.d.ts +49 -12
  256. package/dist/i18n/locales/ru.js +49 -12
  257. package/dist/i18n/locales/sq.d.ts +49 -12
  258. package/dist/i18n/locales/sq.js +49 -12
  259. package/dist/i18n/locales/sv.d.ts +49 -12
  260. package/dist/i18n/locales/sv.js +49 -12
  261. package/dist/i18n/locales/tr.d.ts +49 -12
  262. package/dist/i18n/locales/tr.js +49 -12
  263. package/dist/i18n/locales/zh.d.ts +49 -12
  264. package/dist/i18n/locales/zh.js +49 -12
  265. package/dist/index.js +1193 -1177
  266. package/dist/locales/ar.json +49 -12
  267. package/dist/locales/de.json +49 -12
  268. package/dist/locales/el.json +49 -12
  269. package/dist/locales/en.json +49 -12
  270. package/dist/locales/es.json +49 -12
  271. package/dist/locales/fr.json +49 -12
  272. package/dist/locales/hi.json +49 -12
  273. package/dist/locales/it.json +49 -12
  274. package/dist/locales/ja.json +49 -12
  275. package/dist/locales/nl.json +49 -12
  276. package/dist/locales/pl.json +49 -12
  277. package/dist/locales/pt.json +49 -12
  278. package/dist/locales/ro.json +49 -12
  279. package/dist/locales/ru.json +49 -12
  280. package/dist/locales/sq.json +49 -12
  281. package/dist/locales/sv.json +49 -12
  282. package/dist/locales/tr.json +49 -12
  283. package/dist/locales/zh.json +49 -12
  284. package/dist/patterns/alia-assistant/index.js +1 -1
  285. package/dist/patterns/anamnesis/index.js +1 -1
  286. package/dist/patterns/calendar/index.js +1 -1
  287. package/dist/patterns/forgot-password-form/index.js +1 -1
  288. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +6 -23
  289. package/dist/patterns/help-me-write-templates/index.js +8 -7
  290. package/dist/patterns/login-form/index.js +1 -1
  291. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  292. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  293. package/dist/patterns/registration-form/index.js +1 -1
  294. package/dist/patterns/signature-request/index.js +1 -1
  295. package/dist/tokens.css +1 -1
  296. package/package.json +9 -1
  297. package/dist/_chunks/ai-credits-notice-pK9BOmEz.js +0 -90
  298. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +0 -17
  299. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  300. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  301. package/dist/_chunks/help-me-write-templates-DFmqnsAa.js +0 -747
  302. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  303. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  304. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
  305. package/dist/_chunks/voice-control-panel-C0BfY23Y.js +0 -1009
@@ -1,7 +1,13 @@
1
- import { A as i } from "../../_chunks/ai-credits-notice-pK9BOmEz.js";
2
- import { a as r } from "../../_chunks/ai-credits-notice.agent-C9L7orrP.js";
1
+ import { A as t } from "../../_chunks/ai-credits-notice-DQ-r3iQU.js";
2
+ import { a, b as r, c as o } from "../../_chunks/ai-credits-exhausted-notice.agent-DgTSTgez.js";
3
+ import { A as d, a as A, i as C } from "../../_chunks/ai-credits-exhausted-notice-Bg8NpW2K.js";
3
4
  export {
4
- i as AiCreditsNotice,
5
- r as aiCreditsNoticeAgent
5
+ d as AiCreditsExhaustedNotice,
6
+ t as AiCreditsNotice,
7
+ A as AiCreditsWarning,
8
+ a as aiCreditsExhaustedNoticeAgent,
9
+ r as aiCreditsNoticeAgent,
10
+ o as aiCreditsWarningAgent,
11
+ C as isAiCreditsRunningLow
6
12
  };
7
13
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { A as e, a as o } from "../../_chunks/ai-permission-notice-DpRmZ9Q3.js";
1
+ import { A as e, a as o } from "../../_chunks/ai-permission-notice-C00i6VhY.js";
2
2
  export {
3
3
  e as AiConsentBanner,
4
4
  o as aiConsentBannerAgent
@@ -1,4 +1,4 @@
1
- import { A as a, a as o } from "../../_chunks/ai-prompt-input-DSGSe4LH.js";
1
+ import { A as a, a as o } from "../../_chunks/ai-prompt-input-DzgyoKyk.js";
2
2
  export {
3
3
  a as AIPromptInput,
4
4
  o as aiPromptInputAgent
@@ -20,8 +20,34 @@ interface AlertTitleProps extends HTMLAttributes<HTMLHeadingElement> {
20
20
  export type AlertAnnounce = 'off' | 'polite' | 'assertive';
21
21
  export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'>, VariantProps<typeof alertVariants> {
22
22
  variant?: 'info' | 'success' | 'warning' | 'error' | 'promo';
23
+ /** Shows the close button. Defaults to true when `dismissKey` is set. */
23
24
  dismissible?: boolean;
25
+ /**
26
+ * Remember a dismissal in this browser. Dismissing stores the key (in
27
+ * `localStorage`, under `alfadocs-ui.dismissed.`), and the alert stays
28
+ * hidden for that key from then on, even when `open` is true. A new key
29
+ * shows it again, so put the condition in the key, for example
30
+ * `hours-${hoursVersion}`. The key is stored as written in plain
31
+ * browser storage: never put personal or patient data in it. Where
32
+ * storage is unavailable the dismissal lasts for this page only.
33
+ * Errors should not be dismissible. A dismissal lasts 30 days (see
34
+ * `dismissLifetimeMs`), and the kit keeps at most 200, oldest out first.
35
+ */
36
+ dismissKey?: string;
37
+ /**
38
+ * How long a `dismissKey` dismissal lasts, in ms. Defaults to 30 days
39
+ * (`DISMISSED_DEFAULT_LIFETIME_MS`). `Infinity` keeps it until the cap
40
+ * drops it. Stored with the dismissal, so changing it later affects
41
+ * only new dismissals.
42
+ */
43
+ dismissLifetimeMs?: number;
44
+ /** Controlled visibility. `false` hides the alert whatever `dismissKey` says. */
24
45
  open?: boolean;
46
+ /**
47
+ * Fires `false` when the user dismisses the alert. With `dismissKey`
48
+ * the stored key hides it, so an uncontrolled alert returns by itself
49
+ * on a new key; a host that sets `open` to false here must set it back.
50
+ */
25
51
  onOpenChange?: (open: boolean) => void;
26
52
  icon?: ReactNode;
27
53
  /** Announcement urgency — sets `role` **and** `aria-live` together, so the
@@ -1,4 +1,4 @@
1
- import { A as o } from "../../_chunks/alert-DdDpOi-P.js";
1
+ import { A as o } from "../../_chunks/alert-9kEwDza3.js";
2
2
  export {
3
3
  o as Alert
4
4
  };
@@ -1,4 +1,4 @@
1
- import { A as r, a as s } from "../../_chunks/anamnesis-summary-card-CMzBLTiN.js";
1
+ import { A as r, a as s } from "../../_chunks/anamnesis-summary-card-DQ3iE1gD.js";
2
2
  export {
3
3
  r as AnamnesisSummaryCard,
4
4
  s as anamnesisSummaryCardAgent
@@ -1,5 +1,5 @@
1
- import { A as p } from "../../_chunks/appointment-card-CL32sux-.js";
2
- import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-qtpJt8e0.js";
1
+ import { A as p } from "../../_chunks/appointment-card-5JMWi9_f.js";
2
+ import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-B3PDER3I.js";
3
3
  import { i } from "../../_chunks/is-safe-url-DkETxeHz.js";
4
4
  export {
5
5
  p as AppointmentCard,
@@ -1,4 +1,4 @@
1
- import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-B-FEWbQM.js";
1
+ import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-CUGfE0hV.js";
2
2
  export {
3
3
  e as AppointmentDetailsPanel,
4
4
  n as appointmentDetailsPanelAgent,
@@ -1,4 +1,4 @@
1
- import { A as o } from "../../_chunks/appointment-peek-B5mcDcXt.js";
1
+ import { A as o } from "../../_chunks/appointment-peek-D5XCfYKu.js";
2
2
  import { a as n } from "../../_chunks/appointment-peek.agent-C539tNFM.js";
3
3
  export {
4
4
  o as AppointmentPeek,
@@ -1,4 +1,4 @@
1
- import { A as i, a as t } from "../../_chunks/appointment-timeline-CCqjORFb.js";
1
+ import { A as i, a as t } from "../../_chunks/appointment-timeline-VFP6HoXT.js";
2
2
  export {
3
3
  i as AppointmentTimeline,
4
4
  t as appointmentTimelineAgent
@@ -1,4 +1,4 @@
1
- import { A as r, a } from "../../_chunks/audio-recorder-DR-u1qbl.js";
1
+ import { A as r, a } from "../../_chunks/audio-recorder-4Ll0pwYK.js";
2
2
  export {
3
3
  r as AudioRecorder,
4
4
  a as audioRecorderAgent
@@ -12,6 +12,8 @@ export declare function nameToColorClass(name: string): string;
12
12
  export declare function getInitials(name: string): string;
13
13
  declare const avatarVariants: (props?: ({
14
14
  size?: "sm" | "md" | "lg" | "xl" | "xs" | "2xl" | "3xl" | null | undefined;
15
+ shape?: "circle" | "rounded" | null | undefined;
16
+ ratio?: "1:1" | "4:3" | "3:4" | null | undefined;
15
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
18
  export interface AvatarProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'>, VariantProps<typeof avatarVariants> {
17
19
  /** Image source URL. When provided and loads successfully, the image is displayed. */
@@ -1,4 +1,4 @@
1
- import { A as o, g as r, n as t } from "../../_chunks/avatar-WZY3eGE7.js";
1
+ import { A as o, g as r, n as t } from "../../_chunks/avatar-BPiPL7ND.js";
2
2
  export {
3
3
  o as Avatar,
4
4
  r as getInitials,
@@ -1,4 +1,4 @@
1
- import { B as O, a as S, b as o, c as B, d as P, e } from "../../_chunks/bishop-score-CaNTrikJ.js";
1
+ import { B as O, a as S, b as o, c as B, d as P, e } from "../../_chunks/bishop-score-Df8nF1qg.js";
2
2
  export {
3
3
  O as BISHOP_COMPONENTS,
4
4
  S as BISHOP_MAX_SCORE,
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DkjatiXc.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-B1pDbERi.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,4 +1,4 @@
1
- import { C as r, c as l, r as n } from "../../_chunks/calendar-BhN-jisv.js";
1
+ import { C as r, c as l, r as n } from "../../_chunks/calendar-BvOM8rG3.js";
2
2
  export {
3
3
  r as Calendar,
4
4
  l as calendarAgent,
@@ -1,4 +1,4 @@
1
- import { C as s } from "../../_chunks/chat-message-fRLZ95O5.js";
1
+ import { C as s } from "../../_chunks/chat-message-Be-9vIIQ.js";
2
2
  export {
3
3
  s as ChatMessage
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as e, c as i } from "../../_chunks/clinical-note-card-BnFTIs6x.js";
1
+ import { C as e, c as i } from "../../_chunks/clinical-note-card-Caidqcwa.js";
2
2
  export {
3
3
  e as ClinicalNoteCard,
4
4
  i as clinicalNoteCardAgent
@@ -1,4 +1,4 @@
1
- import { A as T, B as P, C as L, G as a } from "../../_chunks/color-picker-BsggJovx.js";
1
+ import { A as T, B as P, C as L, G as a } from "../../_chunks/color-picker-AcaWuKah.js";
2
2
  export {
3
3
  T as APPOINTMENT_PALETTE,
4
4
  P as BRAND_PALETTE,
@@ -1,4 +1,4 @@
1
- import { C as b, c as s, a as t, b as m, d as n, e as r } from "../../_chunks/combobox-U5yfO6o0.js";
1
+ import { C as b, c as s, a as t, b as m, d as n, e as r } from "../../_chunks/combobox-vF9O-QoG.js";
2
2
  export {
3
3
  b as Combobox,
4
4
  s as comboboxAgent,
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-C4-OCshj.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-CAwwOqHl.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -1,4 +1,4 @@
1
- import { C as r, a as l, c as a, u as t, b as e, d as n } from "../../_chunks/control-room-rail-DUerqHeo.js";
1
+ import { C as r, a as l, c as a, u as t, b as e, d as n } from "../../_chunks/control-room-rail-BB6rCDWI.js";
2
2
  export {
3
3
  r as ControlRoomProvider,
4
4
  l as ControlRoomRail,
@@ -1,4 +1,4 @@
1
- import { C as o, I as t, a, c as n, r as s } from "../../_chunks/country-select-DF5Bd_mn.js";
1
+ import { C as o, I as t, a, c as n, r as s } from "../../_chunks/country-select-CSE2Zm_s.js";
2
2
  export {
3
3
  o as CountrySelect,
4
4
  t as ISO_3166_ALPHA2,
@@ -126,6 +126,8 @@ export interface DashboardGridHandle {
126
126
  layout: DashboardWidgetLayout[];
127
127
  /** The `selectedId` prop, or null. */
128
128
  selectedId: string | null;
129
+ /** Ids of the widgets whose `loading` is set, in render order. */
130
+ loadingIds: string[];
129
131
  };
130
132
  }
131
133
  /** A header action that folds into the "More actions" menu when narrow. */
@@ -171,9 +173,26 @@ export interface DashboardGridWidgetProps {
171
173
  actions?: DashboardWidgetAction[];
172
174
  /** Extra header content, always shown as given (never folded). */
173
175
  actionsSlot?: ReactNode;
176
+ /**
177
+ * The widget's figures are on their way. The frame, title, header
178
+ * actions and saved place stay as they are, the widget carries
179
+ * `aria-busy="true"`, and the body shows `children` as given: pass a
180
+ * placeholder such as `<Skeleton.Figure />`. Moving and resizing still
181
+ * work. Keep the same widget (same `id` and `key`) and swap only its
182
+ * children when the figures arrive: nothing moves, and the new content
183
+ * fades in.
184
+ */
185
+ loading?: boolean;
186
+ /**
187
+ * One line under the body while `loading`, for example "Preparing
188
+ * figures" (consumer-translated). Cut with an ellipsis when too long,
189
+ * and read in full as the widget's description. Without it, assistive
190
+ * technology hears the kit's "Loading" instead.
191
+ */
192
+ loadingCaption?: string;
174
193
  children?: ReactNode;
175
194
  }
176
- declare function DashboardGridWidget({ id, title, minStackedHeight, actions, actionsSlot, children, }: DashboardGridWidgetProps): import("react/jsx-runtime").JSX.Element | null;
195
+ declare function DashboardGridWidget({ id, title, minStackedHeight, actions, actionsSlot, loading: loadingProp, loadingCaption, children, }: DashboardGridWidgetProps): import("react/jsx-runtime").JSX.Element | null;
177
196
  declare namespace DashboardGridWidget {
178
197
  var displayName: string;
179
198
  }
@@ -1,4 +1,4 @@
1
- import { D as r, d as o } from "../../_chunks/dashboard-grid-B2MB7SRS.js";
1
+ import { D as r, d as o } from "../../_chunks/dashboard-grid-7JzaiKnk.js";
2
2
  export {
3
3
  r as DashboardGrid,
4
4
  o as dashboardGridAgent
@@ -1,6 +1,6 @@
1
- import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-COoCQ4n_.js";
1
+ import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-Cty4-Jht.js";
2
2
  import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-1ijmzNWh.js";
3
- import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-CtTsvfPY.js";
3
+ import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-DtIsQWDO.js";
4
4
  import { A as X, a as j } from "../../_chunks/actions-cell-renderer-BXCpK2_0.js";
5
5
  export {
6
6
  X as ActionsCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as n, d } from "../../_chunks/dependent-selector-DBr1AhLg.js";
1
+ import { D as n, d } from "../../_chunks/dependent-selector-C4kOgO8b.js";
2
2
  export {
3
3
  n as DependentSelector,
4
4
  d as dependentSelectorAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/document-preview-B1dQm292.js";
1
+ import { D as r, d as t } from "../../_chunks/document-preview-513f3iPn.js";
2
2
  export {
3
3
  r as DocumentPreview,
4
4
  t as documentPreviewAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-CVPVLK7z.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-Bd3wbzpI.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,4 +1,4 @@
1
- import { E as i } from "../../_chunks/editable-description-ChGNdYY8.js";
1
+ import { E as i } from "../../_chunks/editable-description-DnAFi360.js";
2
2
  import { e as r } from "../../_chunks/editable-description.agent-Bm_LBV2j.js";
3
3
  export {
4
4
  i as EditableDescription,
@@ -1,4 +1,4 @@
1
- import { E as t } from "../../_chunks/entity-summary-BQ9_KA8S.js";
1
+ import { E as t } from "../../_chunks/entity-summary-C2B8yNmc.js";
2
2
  export {
3
3
  t as EntitySummary
4
4
  };
@@ -1,4 +1,4 @@
1
- import { E as o } from "../../_chunks/error-summary-DrUfuKu1.js";
1
+ import { E as o } from "../../_chunks/error-summary-mGxIyDAY.js";
2
2
  export {
3
3
  o as ErrorSummary
4
4
  };
@@ -1,4 +1,4 @@
1
- import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-DAD-mXzM.js";
1
+ import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-CSJdRNad.js";
2
2
  export {
3
3
  e as ANNOTATION_TOOL_KIND,
4
4
  o as FACE_ANNOTATION_TOOLS,
@@ -1,4 +1,4 @@
1
- import { F as r, f } from "../../_chunks/file-manager-RiV7-OEE.js";
1
+ import { F as r, f } from "../../_chunks/file-manager-D4cPnRhL.js";
2
2
  export {
3
3
  r as FileManager,
4
4
  f as fileManagerAgent
@@ -1,4 +1,4 @@
1
- import { F as m, f as l } from "../../_chunks/freemium-paywall-DKJHRFpp.js";
1
+ import { F as m, f as l } from "../../_chunks/freemium-paywall-C73C8Rgd.js";
2
2
  export {
3
3
  m as FreemiumPaywall,
4
4
  l as freemiumPaywallAgent
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-CZYa2D6m.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-Du53p8MH.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H as t } from "../../_chunks/header-settings-BSH9Gk0J.js";
1
+ import { H as t } from "../../_chunks/header-settings-DlUbvAUx.js";
2
2
  export {
3
3
  t as HeaderSettings
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-C1TeC7wT.js";
1
+ import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-DbZIQg14.js";
2
2
  export {
3
3
  t as Heatmap,
4
4
  p as HeatmapLegend,
@@ -1,5 +1,5 @@
1
- export { usePrefersReducedMotion, useMediaQuery, useScrollToFirstError, useFieldMatch, useLocale, useTheme, resolveTheme, themeClassList, THEME_CLASS, THEME_STORAGE_KEY, ACCESSIBILITY_STORAGE_KEY, useSigningSession, useZoomDrilldown, ZOOM_DRILLDOWN_TRANSITION_CLASS, useAiSparkle, usePrism, } from '../hooks';
2
- export type { LocaleDir, UseLocaleReturn, UseScrollToFirstErrorOptions, FieldMatchKind, UseFieldMatchOptions, UseFieldMatchReturn, ThemePreference, AccessibilityPreference, ResolvedTheme, UseThemeReturn, SigningField, SigningFieldBase, UseSigningSessionReturn, UseZoomDrilldownOptions, UseZoomDrilldownReturn, AiSparkleState, UseAiSparkleOptions, UseAiSparkleReturn, PrismPiece, PrismSpeed, UsePrismOptions, UsePrismReturn, } from '../hooks';
1
+ export { usePrefersReducedMotion, useMediaQuery, useScrollToFirstError, useFieldMatch, useLocale, useTheme, resolveTheme, themeClassList, THEME_CLASS, THEME_STORAGE_KEY, ACCESSIBILITY_STORAGE_KEY, useSigningSession, useZoomDrilldown, ZOOM_DRILLDOWN_TRANSITION_CLASS, useAiSparkle, usePrism, useDismissed, DISMISSED_STORAGE_PREFIX, DISMISSED_DEFAULT_LIFETIME_MS, DISMISSED_MAX_ENTRIES, } from '../hooks';
2
+ export type { LocaleDir, UseLocaleReturn, UseScrollToFirstErrorOptions, FieldMatchKind, UseFieldMatchOptions, UseFieldMatchReturn, ThemePreference, AccessibilityPreference, ResolvedTheme, UseThemeReturn, SigningField, SigningFieldBase, UseSigningSessionReturn, UseZoomDrilldownOptions, UseZoomDrilldownReturn, AiSparkleState, UseAiSparkleOptions, UseAiSparkleReturn, PrismPiece, PrismSpeed, UsePrismOptions, UsePrismReturn, UseDismissedOptions, UseDismissedReturn, } from '../hooks';
3
3
  export * from './button';
4
4
  export * from './button-group';
5
5
  export * from './dev-bypass-button';
@@ -138,6 +138,7 @@ export * from './message-card';
138
138
  export * from './message-tray';
139
139
  export * from './notification-card';
140
140
  export * from './notification-tray';
141
+ export * from './notice-group';
141
142
  export * from './notes-panel';
142
143
  export * from './popover';
143
144
  export * from './radiograph-panel';
@@ -145,6 +146,7 @@ export * from './pregnancy-weight-gain';
145
146
  export * from './privacy-lock';
146
147
  export * from './product-hub-tray';
147
148
  export * from './progress';
149
+ export * from './progress-notice';
148
150
  export * from './sheet';
149
151
  export * from './spinner';
150
152
  export * from './task-card';
@@ -1,3 +1,3 @@
1
1
  export { MapView } from './map-view';
2
- export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, } from './map-view';
2
+ export type { MapViewProps, MapViewHandle, MapMarker, MapLatLng, MapFitPoint, } from './map-view';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { M as o } from "../../_chunks/map-view-BuVfJMEa.js";
1
+ import { M as o } from "../../_chunks/map-view-CtohteZD.js";
2
2
  export {
3
3
  o as MapView
4
4
  };
@@ -4,6 +4,15 @@ export interface MapLatLng {
4
4
  lat: number;
5
5
  lng: number;
6
6
  }
7
+ /**
8
+ * A point to fit the camera to. `id` is its identity (a result id): it
9
+ * decides whether a new set only added points to the old one. Without
10
+ * it the coordinates stand in, so two results at one address count as
11
+ * one.
12
+ */
13
+ export interface MapFitPoint extends MapLatLng {
14
+ id?: string;
15
+ }
7
16
  export interface MapMarker {
8
17
  /** Stable id — used for keyed re-rendering and `onMarkerClick`. */
9
18
  id: string;
@@ -108,11 +117,53 @@ export interface MapViewProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCl
108
117
  surface?: 'bordered' | 'elevated' | 'bare';
109
118
  /** Accessible label for the map region. Falls back to `t('mapView.label')`. */
110
119
  ariaLabel?: string;
120
+ /**
121
+ * Points the camera fits into view, with a margin, once the map has
122
+ * loaded, and again whenever `fitKey` changes. Use it to show every pin
123
+ * of a result list without the patient moving the map.
124
+ *
125
+ * - One point (or several at the same place) centres on it at
126
+ * `fitMaxZoom`.
127
+ * - No points: no fit, the camera shows `center` / `zoom`. If the
128
+ * points run out after a fit, or the prop is removed, the camera
129
+ * goes back there in one step.
130
+ * - Between key changes nothing refits, so a map the patient has
131
+ * panned or zoomed stays where they left it.
132
+ * - A key change that only adds points (a "load more": every fitted
133
+ * point is still there, compared by `id`) refits only if the patient
134
+ * has not moved the map. Any other change refits. Give each point the
135
+ * `id` of its result: two results can share an address.
136
+ * - The camera is set in one step, never animated.
137
+ * - While there are points to fit, the fit owns the camera: later
138
+ * changes to `center` or `zoom` do not move it.
139
+ */
140
+ fitToPoints?: MapFitPoint[];
141
+ /**
142
+ * Identity of the fitted set: the camera refits only when this
143
+ * changes. Pass the ids of the listed results, so re-sorting the same
144
+ * results does not refit. Defaults to the points themselves, in any
145
+ * order.
146
+ */
147
+ fitKey?: string;
148
+ /**
149
+ * The closest a fit may zoom in, so one result does not open at street
150
+ * level. Default 15.
151
+ */
152
+ fitMaxZoom?: number;
111
153
  }
112
154
  declare const mapViewVariants: (props?: ({
113
155
  size?: "fill" | "sm" | "md" | "lg" | null | undefined;
114
156
  surface?: "elevated" | "bordered" | "bare" | null | undefined;
115
157
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
158
+ /**
159
+ * The centre and the closest whole zoom that shows every point inside a
160
+ * `width` x `height` map, `padding` px in from each edge, no closer than
161
+ * `maxZoom`. Exported for tests.
162
+ */
163
+ export declare function cameraForPoints(points: MapLatLng[], width: number, height: number, padding: number, maxZoom: number): {
164
+ center: MapLatLng;
165
+ zoom: number;
166
+ };
116
167
  /** What the map area shows while Google's map library is on its way.
117
168
  * Exported for its story; not part of the public API. */
118
169
  export declare function MapViewLoading(): ReactNode;
@@ -1,4 +1,4 @@
1
- import { M as a } from "../../_chunks/message-card-A3mJNqfy.js";
1
+ import { M as a } from "../../_chunks/message-card-C_ksqIYM.js";
2
2
  import { m as o } from "../../_chunks/message-card.agent-ZLhx3Bs5.js";
3
3
  import { i as f } from "../../_chunks/is-safe-url-DkETxeHz.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-Ft6vSr71.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-DCoQ4GQb.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { M as a, m as l, a as i } from "../../_chunks/multi-select-CMaAQQgb.js";
1
+ import { M as a, m as l, a as i } from "../../_chunks/multi-select-BOad3za9.js";
2
2
  export {
3
3
  a as MultiSelect,
4
4
  l as multiSelectAgent,
@@ -1,4 +1,4 @@
1
- import { D as a, F as r, a as t, M as g, b as i, e as m, f as o, g as E, c as F, m as c, r as I, v as M } from "../../_chunks/muscle-scheme-YoN3rYXV.js";
1
+ import { D as a, F as r, a as t, M as g, b as i, e as m, f as o, g as E, c as F, m as c, r as I, v as M } from "../../_chunks/muscle-scheme-C66WlCxG.js";
2
2
  export {
3
3
  a as DEFAULT_MUSCLE_VIEW,
4
4
  r as FINDING_MARKER,
@@ -1,4 +1,4 @@
1
- import { N as i, n as o } from "../../_chunks/note-timeline-DDqNU46n.js";
1
+ import { N as i, n as o } from "../../_chunks/note-timeline-KzL52MmB.js";
2
2
  export {
3
3
  i as NoteTimeline,
4
4
  o as noteTimelineAgent
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-uEGIL7mi.js";
1
+ import { N as a } from "../../_chunks/notes-panel-BXN46XkF.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -0,0 +1,3 @@
1
+ export { NoticeGroup, type NoticeGroupProps, type NoticeGroupHandle, } from './notice-group';
2
+ export { noticeGroupAgent } from './notice-group.agent';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { N as r, n as t } from "../../_chunks/notice-group-DkYzKyAZ.js";
2
+ export {
3
+ r as NoticeGroup,
4
+ t as noticeGroupAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { NoticeGroupHandle } from './notice-group';
3
+ export declare const noticeGroupAgent: AgentAdapter<NoticeGroupHandle>;
4
+ //# sourceMappingURL=notice-group.agent.d.ts.map
@@ -0,0 +1,43 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export interface NoticeGroupHandle {
3
+ /** What the group shows now: counts and flags only. */
4
+ getState: () => {
5
+ /** Notes that fold (not errors or progress), still shown. */
6
+ noteCount: number;
7
+ /** True while the notes sit behind the summary row (two or more). */
8
+ grouped: boolean;
9
+ /** Whether the summary row is open (expanded). */
10
+ open: boolean;
11
+ };
12
+ /**
13
+ * Open or fold the notes. False when there is no summary row. With a
14
+ * controlled `open`, this asks the host through `onOpenChange`.
15
+ */
16
+ setOpen: (open: boolean) => boolean;
17
+ }
18
+ export interface NoticeGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
19
+ /**
20
+ * `Alert` and `ProgressNotice` elements, passed directly (fragments are
21
+ * fine). Give each a `key`. Anything else shows as given, outside the
22
+ * fold.
23
+ */
24
+ children: ReactNode;
25
+ /**
26
+ * The summary row's text, for example "3 notes about these figures".
27
+ * A function receives the count of notes (and of warnings among them),
28
+ * so your own translation can pluralise it. Defaults to the kit's
29
+ * "{{count}} notes". When warnings are folded, the row also says how
30
+ * many ("1 warning"), whatever the summary.
31
+ */
32
+ summary?: string | ((count: number, warnings: number) => string);
33
+ /** Controlled: whether the summary row is open, showing every note. */
34
+ open?: boolean;
35
+ /** Uncontrolled initial state. Defaults to folded. */
36
+ defaultOpen?: boolean;
37
+ /** Fires when the summary row opens or folds. */
38
+ onOpenChange?: (open: boolean) => void;
39
+ /** Opaque instance id, emitted as `data-component-id` for agents. */
40
+ id?: string;
41
+ }
42
+ export declare const NoticeGroup: import("react").ForwardRefExoticComponent<NoticeGroupProps & import("react").RefAttributes<HTMLDivElement>>;
43
+ //# sourceMappingURL=notice-group.d.ts.map
@@ -1,4 +1,4 @@
1
- import { N as o, n as t } from "../../_chunks/notification-tray-BR3seWA7.js";
1
+ import { N as o, n as t } from "../../_chunks/notification-tray-Cp18MW5b.js";
2
2
  export {
3
3
  o as NotificationTray,
4
4
  t as notificationTrayAgent
@@ -1,4 +1,4 @@
1
- import { O as e, o as a } from "../../_chunks/operator-hero-3_RG4Dkj.js";
1
+ import { O as e, o as a } from "../../_chunks/operator-hero-6aAIQaFZ.js";
2
2
  export {
3
3
  e as OperatorHero,
4
4
  a as operatorHeroAgent
@@ -1,4 +1,4 @@
1
- import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-CxfMsbxi.js";
1
+ import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-ulXnDbBe.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,