@alfadocs/ui-kit 0.72.2 → 0.73.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 (326) hide show
  1. package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
  2. package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
  3. package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DFm58UjY.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
  5. package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
  6. package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
  7. package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
  8. package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
  9. package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
  10. package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
  11. package/dist/_chunks/arrow-up-right-C2v_MKsK.js +15 -0
  12. package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-CjAY0GAc.js} +3 -3
  13. package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
  14. package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-Bs6t6Zv1.js} +2 -2
  15. package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
  16. package/dist/_chunks/{booking-B62CMY5k.js → booking-CWnZhZ5g.js} +8 -8
  17. package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
  18. package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
  19. package/dist/_chunks/camera-VSklPDCv.js +21 -0
  20. package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-CfIP3Vc1.js} +3 -3
  21. package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-CRbS-G00.js} +3 -3
  22. package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
  23. package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
  24. package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
  25. package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
  26. package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
  27. package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
  28. package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
  29. package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
  30. package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
  31. package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
  32. package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
  33. package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
  34. package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
  35. package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
  36. package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
  37. package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
  38. package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
  39. package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-BE6Jz4Ob.js} +198 -230
  40. package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
  41. package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
  42. package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
  43. package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
  44. package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
  45. package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
  46. package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
  47. package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
  48. package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
  49. package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
  50. package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
  51. package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DCXJXKab.js} +5 -5
  52. package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-B2SXhRiN.js} +104 -111
  53. package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
  54. package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
  55. package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
  56. package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
  57. package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-C9Dfis4I.js} +6 -6
  58. package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
  59. package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
  60. package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-CRQDCYgr.js} +4 -4
  61. package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
  62. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  63. package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
  64. package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
  65. package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-BePK27S-.js} +3 -3
  66. package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
  67. package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
  68. package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
  69. package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
  70. package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
  71. package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
  72. package/dist/_chunks/{link-cell-renderer-BCppbMec.js → link-cell-renderer-CLI7sBkX.js} +803 -778
  73. package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-Cbfqc0_N.js} +3 -3
  74. package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
  75. package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-Dm6S-hun.js} +6 -6
  76. package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
  77. package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
  78. package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
  79. package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-B_8-Mebz.js} +3 -3
  80. package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
  81. package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
  82. package/dist/_chunks/optical-prescription-BQ75_kf6.js +1260 -0
  83. package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-JkOI3Ijd.js} +6 -6
  84. package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
  85. package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-CQOLMH3E.js} +4 -4
  86. package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-B_mOe-ZT.js} +2 -2
  87. package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
  88. package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
  89. package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
  90. package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
  91. package/dist/_chunks/{popover-uJ6BvEU3.js → popover-DGTKfLWh.js} +2 -2
  92. package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
  93. package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-IsDVfqJX.js} +6 -6
  94. package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
  95. package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
  96. package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
  97. package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
  98. package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
  99. package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-e488ooH8.js} +40 -57
  100. package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
  101. package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CgA2bYwi.js} +186 -195
  102. package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
  103. package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
  104. package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
  105. package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
  106. package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-CtU35PIX.js} +70 -67
  107. package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
  108. package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
  109. package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
  110. package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
  111. package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
  112. package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
  113. package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
  114. package/dist/_chunks/subDays-DIKRViZm.js +8 -0
  115. package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
  116. package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
  117. package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-LCK5ZXvU.js} +5 -5
  118. package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
  119. package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
  120. package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
  121. package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
  122. package/dist/_chunks/{tooth-scheme-D_rso4uu.js → tooth-scheme-CX49GycY.js} +3 -3
  123. package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
  124. package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
  125. package/dist/_chunks/type-ggmfVs23.js +16 -0
  126. package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-3uL_tMCm.js} +2 -2
  127. package/dist/_chunks/upload-BfT2hzMg.js +16 -0
  128. package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
  129. package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
  130. package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
  131. package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
  132. package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
  133. package/dist/agent-catalog.json +845 -1034
  134. package/dist/agent-i18n/en.json +42 -69
  135. package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
  136. package/dist/components/agenda-tray/index.js +1 -1
  137. package/dist/components/ai-consent-banner/index.js +1 -1
  138. package/dist/components/ai-prompt-input/index.js +1 -1
  139. package/dist/components/anamnesis-card/index.js +1 -1
  140. package/dist/components/appointment-card/index.js +2 -2
  141. package/dist/components/appointment-timeline/index.js +1 -1
  142. package/dist/components/audio-recorder/index.js +1 -1
  143. package/dist/components/benefit-card/index.js +1 -1
  144. package/dist/components/bishop-score/index.js +1 -1
  145. package/dist/components/bmi-calculator/index.js +1 -1
  146. package/dist/components/booking/index.js +1 -1
  147. package/dist/components/button/button.d.ts +8 -1
  148. package/dist/components/button/index.js +2 -2
  149. package/dist/components/button-group/button-group.d.ts +16 -0
  150. package/dist/components/button-group/index.js +1 -1
  151. package/dist/components/care-plan-card/index.js +1 -1
  152. package/dist/components/care-plan-entry-card/index.js +1 -1
  153. package/dist/components/care-plan-header/index.js +1 -1
  154. package/dist/components/carousel/index.js +1 -1
  155. package/dist/components/chat-container/index.js +1 -1
  156. package/dist/components/chat-input/index.js +1 -1
  157. package/dist/components/chat-message/index.js +1 -1
  158. package/dist/components/connection-status/index.js +1 -1
  159. package/dist/components/contact-profile-card/index.js +1 -1
  160. package/dist/components/control-room-rail/index.js +1 -1
  161. package/dist/components/copy-field/index.js +1 -1
  162. package/dist/components/counter/counter.d.ts +1 -1
  163. package/dist/components/cycle-calculator/index.js +1 -1
  164. package/dist/components/data-table/data-table.d.ts +2 -8
  165. package/dist/components/data-table/index.js +2 -2
  166. package/dist/components/data-table/toolbar.d.ts +4 -10
  167. package/dist/components/date-picker/index.js +1 -1
  168. package/dist/components/date-range-picker/index.js +1 -1
  169. package/dist/components/date-time-picker/index.js +1 -1
  170. package/dist/components/description-list/index.js +1 -1
  171. package/dist/components/document-scanner/index.js +1 -1
  172. package/dist/components/due-date-calculator/index.js +2 -2
  173. package/dist/components/editor-overlay/index.js +1 -1
  174. package/dist/components/empty-state/index.js +1 -1
  175. package/dist/components/entity-summary/index.js +1 -1
  176. package/dist/components/face-scheme/face-scheme-data.d.ts +167 -0
  177. package/dist/components/face-scheme/face-scheme.d.ts +112 -2
  178. package/dist/components/face-scheme/index.d.ts +2 -2
  179. package/dist/components/face-scheme/index.js +25 -14
  180. package/dist/components/fetal-weight/index.js +1 -1
  181. package/dist/components/field-array/index.js +1 -1
  182. package/dist/components/file-upload/file-upload.d.ts +1 -0
  183. package/dist/components/file-upload/index.d.ts +1 -1
  184. package/dist/components/file-upload/index.js +4 -3
  185. package/dist/components/finished-terminal/index.js +1 -1
  186. package/dist/components/fiscal-code-input/index.js +1 -1
  187. package/dist/components/flag/flag.d.ts +1 -1
  188. package/dist/components/freemium-paywall/index.js +1 -1
  189. package/dist/components/gestational-age-calculator/index.js +1 -1
  190. package/dist/components/hcg-doubling/index.js +1 -1
  191. package/dist/components/header/index.js +1 -1
  192. package/dist/components/header-settings/index.js +1 -1
  193. package/dist/components/icon-button/index.js +1 -1
  194. package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
  195. package/dist/components/icon-button-group/index.js +1 -1
  196. package/dist/components/icon-picker/index.js +1 -1
  197. package/dist/components/image-cropper/index.js +1 -1
  198. package/dist/components/index.d.ts +0 -1
  199. package/dist/components/key-value-pair/index.js +1 -1
  200. package/dist/components/link/link.d.ts +1 -1
  201. package/dist/components/locale-picker/index.js +1 -1
  202. package/dist/components/map-view/index.js +1 -1
  203. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  204. package/dist/components/message-card/index.js +1 -1
  205. package/dist/components/message-tray/index.js +1 -1
  206. package/dist/components/notes-panel/index.js +1 -1
  207. package/dist/components/notification-card/index.js +1 -1
  208. package/dist/components/notification-tray/index.js +1 -1
  209. package/dist/components/optical-prescription/index.d.ts +4 -2
  210. package/dist/components/optical-prescription/index.js +29 -26
  211. package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
  212. package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
  213. package/dist/components/optical-prescription/optical-prescription.d.ts +9 -0
  214. package/dist/components/patient-details/index.js +1 -1
  215. package/dist/components/patient-search/index.js +1 -1
  216. package/dist/components/patient-summary-card/index.js +1 -1
  217. package/dist/components/patient-table/index.js +1 -1
  218. package/dist/components/payment-card/index.js +1 -1
  219. package/dist/components/periodontal-chart-card/index.js +1 -1
  220. package/dist/components/popover/index.js +1 -1
  221. package/dist/components/practice-results/index.js +1 -1
  222. package/dist/components/pregnancy-dating/index.js +1 -1
  223. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  224. package/dist/components/privacy-lock/index.js +1 -1
  225. package/dist/components/product-hub-tray/index.js +1 -1
  226. package/dist/components/public-header/index.js +1 -1
  227. package/dist/components/public-header/public-header.d.ts +1 -1
  228. package/dist/components/radiograph-panel/index.js +1 -1
  229. package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
  230. package/dist/components/reviews-panel/index.js +1 -1
  231. package/dist/components/rich-text-editor/index.js +1 -1
  232. package/dist/components/session-countdown/index.js +1 -1
  233. package/dist/components/sheet/index.js +1 -1
  234. package/dist/components/sidebar/index.js +1 -1
  235. package/dist/components/sign-document/index.js +1 -1
  236. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  237. package/dist/components/signature-capture/index.js +1 -1
  238. package/dist/components/signature-field/index.js +1 -1
  239. package/dist/components/signature-field/signature-field.d.ts +7 -0
  240. package/dist/components/skeleton-scheme/index.js +1194 -0
  241. package/dist/components/slot-grid/index.js +1 -1
  242. package/dist/components/streaming-text/index.js +1 -1
  243. package/dist/components/task-tray/index.js +1 -1
  244. package/dist/components/tasks-panel/index.js +1 -1
  245. package/dist/components/theme-toggle/index.js +1 -1
  246. package/dist/components/toast/index.js +1 -1
  247. package/dist/components/token-insert-menu/index.js +1 -1
  248. package/dist/components/tool-rail/index.js +1 -1
  249. package/dist/components/tooth-scheme/index.js +1 -1
  250. package/dist/components/transaction-chip/index.js +1 -1
  251. package/dist/components/unit-converter/index.js +1 -1
  252. package/dist/components/warning-stack/index.js +1 -1
  253. package/dist/components/workflow/index.js +1 -1
  254. package/dist/hooks/index.d.ts +2 -0
  255. package/dist/hooks/index.js +40 -35
  256. package/dist/hooks/use-priority-overflow.d.ts +63 -0
  257. package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
  258. package/dist/i18n/locales/ar.d.ts +170 -9
  259. package/dist/i18n/locales/ar.js +173 -12
  260. package/dist/i18n/locales/de.d.ts +170 -9
  261. package/dist/i18n/locales/de.js +173 -12
  262. package/dist/i18n/locales/el.d.ts +170 -9
  263. package/dist/i18n/locales/el.js +173 -12
  264. package/dist/i18n/locales/en.d.ts +170 -9
  265. package/dist/i18n/locales/en.js +173 -12
  266. package/dist/i18n/locales/es.d.ts +170 -9
  267. package/dist/i18n/locales/es.js +173 -12
  268. package/dist/i18n/locales/fr.d.ts +170 -9
  269. package/dist/i18n/locales/fr.js +173 -12
  270. package/dist/i18n/locales/hi.d.ts +170 -9
  271. package/dist/i18n/locales/hi.js +173 -12
  272. package/dist/i18n/locales/it.d.ts +170 -9
  273. package/dist/i18n/locales/it.js +173 -12
  274. package/dist/i18n/locales/ja.d.ts +170 -9
  275. package/dist/i18n/locales/ja.js +173 -12
  276. package/dist/i18n/locales/nl.d.ts +170 -9
  277. package/dist/i18n/locales/nl.js +173 -12
  278. package/dist/i18n/locales/pl.d.ts +170 -9
  279. package/dist/i18n/locales/pl.js +173 -12
  280. package/dist/i18n/locales/pt.d.ts +170 -9
  281. package/dist/i18n/locales/pt.js +173 -12
  282. package/dist/i18n/locales/ro.d.ts +170 -9
  283. package/dist/i18n/locales/ro.js +173 -12
  284. package/dist/i18n/locales/ru.d.ts +170 -9
  285. package/dist/i18n/locales/ru.js +173 -12
  286. package/dist/i18n/locales/sq.d.ts +170 -9
  287. package/dist/i18n/locales/sq.js +173 -12
  288. package/dist/i18n/locales/sv.d.ts +170 -9
  289. package/dist/i18n/locales/sv.js +173 -12
  290. package/dist/i18n/locales/tr.d.ts +170 -9
  291. package/dist/i18n/locales/tr.js +173 -12
  292. package/dist/i18n/locales/zh.d.ts +170 -9
  293. package/dist/i18n/locales/zh.js +173 -12
  294. package/dist/index.js +774 -761
  295. package/dist/locales/ar.json +173 -12
  296. package/dist/locales/de.json +173 -12
  297. package/dist/locales/el.json +173 -12
  298. package/dist/locales/en.json +173 -12
  299. package/dist/locales/es.json +173 -12
  300. package/dist/locales/fr.json +173 -12
  301. package/dist/locales/hi.json +173 -12
  302. package/dist/locales/it.json +173 -12
  303. package/dist/locales/ja.json +173 -12
  304. package/dist/locales/nl.json +173 -12
  305. package/dist/locales/pl.json +173 -12
  306. package/dist/locales/pt.json +173 -12
  307. package/dist/locales/ro.json +173 -12
  308. package/dist/locales/ru.json +173 -12
  309. package/dist/locales/sq.json +173 -12
  310. package/dist/locales/sv.json +173 -12
  311. package/dist/locales/tr.json +173 -12
  312. package/dist/locales/zh.json +173 -12
  313. package/dist/patterns/alia-assistant/index.js +1 -1
  314. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  315. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +1 -1
  316. package/dist/tokens.css +2 -2
  317. package/package.json +5 -5
  318. package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
  319. package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
  320. package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
  321. package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
  322. package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
  323. package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
  324. package/dist/patterns/patient-shell/index.d.ts +0 -12
  325. package/dist/patterns/patient-shell/index.js +0 -5
  326. package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
@@ -1,162 +0,0 @@
1
- import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import { forwardRef as w, useState as C } from "react";
3
- import { useTranslation as m } from "react-i18next";
4
- import { A as y } from "./app-frame-DIEMIC5V.js";
5
- import { I as H } from "./icon-button-LqoiKcUN.js";
6
- import { D as n } from "./dropdown-menu-DU-Hrf33.js";
7
- import { H as B, g as N, f as T, e as k, a as x, c as M, d as O } from "./header-DaXWDw0M.js";
8
- import { L as P } from "./logo-1FuSGx0n.js";
9
- import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-B0OBmJrC.js";
10
- import { T as _ } from "./theme-root-BOO73p5t.js";
11
- import { a as F } from "./tooltip-DvmfrNvB.js";
12
- import { u as U } from "./use-theme-CAuo6EYT.js";
13
- import { S as q } from "./settings-d25ju_6L.js";
14
- import { M as G } from "./maximize-2-BYd2Kti7.js";
15
- import { L as J } from "./log-out-oDS6zO5d.js";
16
- function K(r) {
17
- return r > 99 ? "99+" : String(r);
18
- }
19
- function Q(r) {
20
- if (r.startsWith("/") || r.startsWith("#") || r.startsWith("?"))
21
- return !0;
22
- try {
23
- const t = new URL(r, window.location.origin);
24
- return t.protocol === "http:" || t.protocol === "https:";
25
- } catch {
26
- return !1;
27
- }
28
- }
29
- function V({
30
- logoutHref: r,
31
- onToggleFullscreen: t
32
- }) {
33
- const { t: a } = m();
34
- return /* @__PURE__ */ i(n.Root, { children: [
35
- /* @__PURE__ */ e(n.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
36
- H,
37
- {
38
- icon: /* @__PURE__ */ e(q, { "aria-hidden": "true" }),
39
- "aria-label": a("patientShell.settings.triggerAria"),
40
- tooltip: a("patientShell.settings.triggerAria"),
41
- "data-testid": "patient-shell-settings-trigger"
42
- }
43
- ) }),
44
- /* @__PURE__ */ i(n.Content, { align: "end", children: [
45
- /* @__PURE__ */ e(
46
- n.Item,
47
- {
48
- startIcon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
49
- onSelect: t,
50
- "data-testid": "patient-shell-fullscreen",
51
- children: a("patientShell.settings.fullscreen")
52
- }
53
- ),
54
- /* @__PURE__ */ e(n.Separator, {}),
55
- /* @__PURE__ */ e(
56
- n.Item,
57
- {
58
- startIcon: /* @__PURE__ */ e(J, { "aria-hidden": "true" }),
59
- onSelect: () => {
60
- typeof window > "u" || Q(r) && window.location.assign(r);
61
- },
62
- "data-testid": "patient-shell-logout",
63
- children: a("patientShell.settings.logout")
64
- }
65
- )
66
- ] })
67
- ] });
68
- }
69
- function X({ menuItems: r }) {
70
- return /* @__PURE__ */ e(R, { children: r.map((t) => {
71
- const a = typeof t.badgeCount == "number" && t.badgeCount > 0 ? t.badgeCount : void 0;
72
- return /* @__PURE__ */ i(
73
- j,
74
- {
75
- href: t.href,
76
- "aria-label": t.label,
77
- isActive: t.isActive,
78
- children: [
79
- t.icon ? /* @__PURE__ */ e(z, { children: t.icon }) : null,
80
- /* @__PURE__ */ e(D, { children: t.label }),
81
- a !== void 0 ? /* @__PURE__ */ e(E, { children: K(a) }) : null
82
- ]
83
- },
84
- t.id
85
- );
86
- }) });
87
- }
88
- const Y = w(
89
- ({
90
- menuItems: r,
91
- logoutHref: t,
92
- onToggleFullscreen: a,
93
- brandLogo: p,
94
- brandHref: u = "/",
95
- mainAriaLabel: f,
96
- sidebarState: o,
97
- children: g,
98
- // `userName` and `userAvatarSrc` are declared on the public API
99
- // for forward-compatibility (future profile-pill work) — they are
100
- // intentionally unused today because the legacy patient chrome
101
- // carries no profile pill.
102
- userName: Z,
103
- userAvatarSrc: $
104
- }, s) => {
105
- const { t: l } = m(), { theme: b, accessibility: S, resolvedTheme: d } = U(), v = b !== "system" || S !== "system", I = d.startsWith("dark") ? "dark" : "light", L = d.endsWith("-accessible"), [A, c] = C(!1), h = /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(
106
- y,
107
- {
108
- mainAriaLabel: f,
109
- mainClassName: "ds:bg-[color:var(--app-shell-background)]",
110
- header: /* @__PURE__ */ i(B, { children: [
111
- /* @__PURE__ */ i(N, { children: [
112
- /* @__PURE__ */ e(T, { href: "#main-content" }),
113
- /* @__PURE__ */ e(k, { onMenuOpen: () => c(!0) }),
114
- /* @__PURE__ */ e(
115
- x,
116
- {
117
- logo: p ?? /* @__PURE__ */ e(P, { variant: "monochrome", size: "md", decorative: !0 }),
118
- href: u,
119
- "aria-label": l("patientShell.brand.homeAria")
120
- }
121
- )
122
- ] }),
123
- /* @__PURE__ */ e(M, {}),
124
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
125
- V,
126
- {
127
- logoutHref: t,
128
- onToggleFullscreen: a
129
- }
130
- ) })
131
- ] }),
132
- sidebar: /* @__PURE__ */ e(
133
- W,
134
- {
135
- ...o !== void 0 ? { state: o } : { defaultState: "expanded" },
136
- open: A,
137
- onOpenChange: c,
138
- "aria-label": l("patientShell.sidebar.panelLabel"),
139
- "data-testid": "patient-shell-sidebar",
140
- children: /* @__PURE__ */ e(X, { menuItems: r })
141
- }
142
- ),
143
- children: g
144
- }
145
- ) });
146
- return v ? /* @__PURE__ */ e(
147
- _,
148
- {
149
- ref: s,
150
- theme: I,
151
- accessible: L,
152
- className: "ds:contents",
153
- children: h
154
- }
155
- ) : /* @__PURE__ */ e("div", { ref: s, className: "ds:contents", children: h });
156
- }
157
- );
158
- Y.displayName = "PatientShell";
159
- export {
160
- Y as P
161
- };
162
- //# sourceMappingURL=patient-shell-oiIRqEAl.js.map
@@ -1,8 +0,0 @@
1
- import { a as o } from "./date-picker-variants-DLg-ZrIo.js";
2
- function n(a, s, r) {
3
- return o(a, -s, r);
4
- }
5
- export {
6
- n as s
7
- };
8
- //# sourceMappingURL=subDays-DGSOp9d9.js.map
@@ -1,12 +0,0 @@
1
- /**
2
- * Patient Shell — runtime exports.
3
- *
4
- * Unlike most patterns in this folder, PatientShell exposes a runtime
5
- * component because the patient-portal app mounts it in production.
6
- * The exports are surfaced via `src/patterns/index.ts` and therefore
7
- * ship in the library bundle. See `patient-shell.mdx` for usage, the
8
- * gate applicability block, and a11y notes.
9
- */
10
- export { PatientShell } from './patient-shell';
11
- export type { PatientShellProps, PatientNavItem } from './patient-shell';
12
- //# sourceMappingURL=index.d.ts.map
@@ -1,5 +0,0 @@
1
- import { P as a } from "../../_chunks/patient-shell-oiIRqEAl.js";
2
- export {
3
- a as PatientShell
4
- };
5
- //# sourceMappingURL=index.js.map
@@ -1,62 +0,0 @@
1
- /**
2
- * Patient Shell — the chrome for AlfaDocs's patient-facing users
3
- * (patients managing their own appointments and records).
4
- *
5
- * Deliberately flatter than the clinician `AppFrame` composition: no
6
- * command palette, no favourites, no practice/chain affordances, no
7
- * Alia, no privacy lock. Mirrors the legacy `_header.html.twig`
8
- * `app.user.type == 'patient'` branch and the `knp_menu_render('pcp')`
9
- * flat nav menu.
10
- *
11
- * Unlike most patterns in this folder, PatientShell exports a runtime
12
- * component because the consuming patient-portal app mounts it in
13
- * production — the exports are surfaced via `src/patterns/index.ts`
14
- * and included in the library bundle.
15
- */
16
- import { type ReactNode } from 'react';
17
- import { type SidebarMode } from '../../components/sidebar';
18
- export interface PatientNavItem {
19
- id: string;
20
- /** Pre-translated label — patients' nav labels are emitted already
21
- * translated by the consuming app's backend (legacy `knp_menu`). */
22
- label: string;
23
- href: string;
24
- /** Optional leading icon. Pass a lucide-react or equivalent element. */
25
- icon?: ReactNode;
26
- /** Optional unseen-item count rendered as a pill badge. */
27
- badgeCount?: number;
28
- /** Mark the item as the current page (`aria-current='page'`). */
29
- isActive?: boolean;
30
- }
31
- export interface PatientShellProps {
32
- /** Patient's display name. Used as the avatar fallback by consumers
33
- * that read the name through a slot; not rendered inside this shell
34
- * today because the legacy patient chrome carries no profile pill. */
35
- userName: string;
36
- /** Optional avatar URL. Reserved for future profile-pill surfaces;
37
- * no visible effect today. */
38
- userAvatarSrc?: string;
39
- /** Flat nav items rendered in the sidebar, in order. */
40
- menuItems: PatientNavItem[];
41
- /** URL the "Logout" action navigates to — typically `/logout`. */
42
- logoutHref: string;
43
- /** Fires when the user toggles fullscreen from the settings menu. */
44
- onToggleFullscreen?: () => void;
45
- /** Optional brand logo. Defaults to
46
- * `<Logo variant="monochrome" size="md" decorative />`. */
47
- brandLogo?: ReactNode;
48
- /** Link target for the brand — typically the patient dashboard. */
49
- brandHref?: string;
50
- /** Override the accessible name of the `<main>` landmark. */
51
- mainAriaLabel?: string;
52
- /**
53
- * Force the sidebar into a specific mode. Consuming apps typically
54
- * flip to `'overlay'` on narrow viewports and leave this undefined
55
- * elsewhere (the sidebar then defaults to `'expanded'`).
56
- */
57
- sidebarState?: SidebarMode;
58
- /** Children render inside the main content region. */
59
- children: ReactNode;
60
- }
61
- export declare const PatientShell: import("react").ForwardRefExoticComponent<PatientShellProps & import("react").RefAttributes<HTMLDivElement>>;
62
- //# sourceMappingURL=patient-shell.d.ts.map