@alfadocs/ui-kit 1.149.1 → 1.151.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 (295) hide show
  1. package/dist/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
  2. package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
  4. package/dist/_chunks/{ai-summary-panel-Cdsve-XN.js → ai-summary-panel-DyAHCqaj.js} +4 -4
  5. package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-QCv6zW-J.js → anamnesis-summary-rows-CFpaA1GP.js} +4 -4
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-card-HOZrABrQ.js → appointment-card-BPZggqck.js} +2 -2
  10. package/dist/_chunks/{appointment-details-panel.history-BxNqcA-r.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  11. package/dist/_chunks/{appointment-details-panel.identity--_j07UG1.js → appointment-details-panel.identity-9hRo85Lx.js} +91 -79
  12. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  13. package/dist/_chunks/{appointment-timeline-CuZW-CGT.js → appointment-timeline-COfoHpoJ.js} +4 -4
  14. package/dist/_chunks/{appointment-tray-CFCxukwq.js → appointment-tray-BlKwDJKi.js} +3 -3
  15. package/dist/_chunks/{balance-badge-cell-BPz9bQAB.js → balance-badge-cell-OghXENKK.js} +4 -4
  16. package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
  17. package/dist/_chunks/{calendar-appointment-editor-dialog-fQleWmJE.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +590 -583
  18. package/dist/_chunks/{calendar-editor-discard-host-DWS_kM-a.js → calendar-editor-discard-host-BudLsUZO.js} +5 -5
  19. package/dist/_chunks/{calendar-waiting-list-panel-BKBHfBpn.js → calendar-waiting-list-panel-DukgSOPH.js} +9 -9
  20. package/dist/_chunks/{calendar-workspace.model-4zmA3BFE.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  21. package/dist/_chunks/{calendar.sheets-lgAqJB34.js → calendar.sheets-OmTiQdCg.js} +11 -11
  22. package/dist/_chunks/{calls-panel-BTTfHnPD.js → calls-panel-eohONLia.js} +5 -5
  23. package/dist/_chunks/{care-plan-card-2U2LuIJD.js → care-plan-card-DJXNWjKB.js} +3 -3
  24. package/dist/_chunks/{care-plan-entry-card-CUAlQv1c.js → care-plan-entry-card-W5QvNv8m.js} +2 -2
  25. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  26. package/dist/_chunks/{communications-panel-DDzUyoHi.js → communications-panel-CqiFs8BH.js} +4 -4
  27. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  28. package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
  29. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  30. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  31. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  32. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  33. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  34. package/dist/_chunks/{document-preview-oSuJsJ3k.js → document-preview-TbwhY_eK.js} +4 -4
  35. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  36. package/dist/_chunks/{editable-description-BsSjLnSx.js → editable-description-B2F54K4T.js} +34 -33
  37. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  38. package/dist/_chunks/{entity-summary-CZmGcWi2.js → entity-summary-BNnTP1F6.js} +62 -50
  39. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  40. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  41. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  42. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  43. package/dist/_chunks/feature-preview-switch-B_8JTya_.js +75 -0
  44. package/dist/_chunks/{file-manager-Cp3Z4VvM.js → file-manager-DMvYx-Gq.js} +165 -180
  45. package/dist/_chunks/folder-DvNxod7_.js +36 -0
  46. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  47. package/dist/_chunks/{help-me-write-templates-DlA54nu5.js → help-me-write-templates-VnvlK87x.js} +3 -3
  48. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  49. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  50. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  51. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  52. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  53. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  54. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  55. package/dist/_chunks/message-square-warning-DsGGfd0K.js +22 -0
  56. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  57. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  58. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  59. package/dist/_chunks/{notes-panel-Cw06dLDm.js → notes-panel-d0I3hOEY.js} +363 -341
  60. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  61. package/dist/_chunks/{optical-prescription-DZvauMiM.js → optical-prescription-CAnXavjq.js} +3 -3
  62. package/dist/_chunks/{panel-header-CbtlTe85.js → panel-header-DTc5OFUg.js} +78 -66
  63. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  64. package/dist/_chunks/{panel-subview-DjBwNV16.js → panel-subview-B5hnQwfQ.js} +3 -3
  65. package/dist/_chunks/{patient-account-settings-Do0QbDJe.js → patient-account-settings-DQx_9CYV.js} +3 -3
  66. package/dist/_chunks/{patient-check-in-resume-Bxy1_Pfo.js → patient-check-in-resume-BOHcm9hT.js} +6 -6
  67. package/dist/_chunks/{patient-details-Cj3dp9GB.js → patient-details-wFIzTz7N.js} +4 -4
  68. package/dist/_chunks/{patient-field-row-DDjsUsc_.js → patient-field-row-BDgfYLgz.js} +202 -201
  69. package/dist/_chunks/{patient-summary-card-roM9Esfb.js → patient-summary-card-ZunOre3Q.js} +158 -164
  70. package/dist/_chunks/{payment-request-card-C9VglWsV.js → payment-request-card-BSSfKrcc.js} +3 -3
  71. package/dist/_chunks/{portal-details-CKF4yFHs.js → portal-details-R-lwrisO.js} +4 -4
  72. package/dist/_chunks/{portal-documents-DvpAwmSI.js → portal-documents-C6XlWpEl.js} +3 -3
  73. package/dist/_chunks/{portal-parts-Cvu4PfIY.js → portal-parts-DlvSUZFX.js} +3 -3
  74. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  75. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  76. package/dist/_chunks/{privacy-mask-zVh0ntm0.js → privacy-mask-CaLBAxzj.js} +3 -3
  77. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  78. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  79. package/dist/_chunks/{radiograph-panel.agent-BUZPsuSP.js → radiograph-panel.agent-kgCmmgZk.js} +4 -4
  80. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  81. package/dist/_chunks/{registry-connection-panel-ACOsXu3F.js → registry-connection-panel-BkPPA3Fj.js} +4 -4
  82. package/dist/_chunks/{reserved.agent-DjvapRF1.js → reserved.agent-C-sMq0pb.js} +5 -5
  83. package/dist/_chunks/{reviews-panel-Cw5ygAxs.js → reviews-panel-jIz5aP2X.js} +4 -4
  84. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  85. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  86. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  87. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  88. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  89. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  90. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  91. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  92. package/dist/_chunks/{task-editor-C-4I2sBa.js → task-editor-aXjGMwYA.js} +6 -6
  93. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  94. package/dist/_chunks/{tasks-panel-BDPQPOP6.js → tasks-panel-BdxHb-fX.js} +3 -3
  95. package/dist/_chunks/text-area-DbxGkpzE.js +269 -0
  96. package/dist/_chunks/{tool-rail-DjPEiBa2.js → tool-rail-B4p6MmxA.js} +383 -363
  97. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  98. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  99. package/dist/_chunks/{transaction-chip-CkYd-3ky.js → transaction-chip-6jToArJn.js} +45 -43
  100. package/dist/_chunks/{transcript-panel-Wr8e4Zgi.js → transcript-panel-Dc0fK4WO.js} +2 -2
  101. package/dist/_chunks/{treatment-receipt-BZzwvsnY.js → treatment-receipt-CZQV1NkJ.js} +59 -62
  102. package/dist/_chunks/use-appointment-details-read-BR3TQOHx.js +2091 -0
  103. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  104. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  105. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  106. package/dist/agent-catalog.json +15 -1
  107. package/dist/appointment-editor-panel/index.js +4 -4
  108. package/dist/booking-tools-data/index.js +1 -1
  109. package/dist/browser-support.js +1 -1
  110. package/dist/calendar-action-buttons/index.js +1 -1
  111. package/dist/components/_shared/appointment-format.d.ts +4 -0
  112. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  113. package/dist/components/_shared/patient-field-row.d.ts +5 -1
  114. package/dist/components/_shared/safe-html.d.ts +6 -0
  115. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  116. package/dist/components/address-autocomplete/index.js +1 -1
  117. package/dist/components/address-fields/index.js +1 -1
  118. package/dist/components/agenda-tray/index.js +1 -1
  119. package/dist/components/ai-summary-panel/index.js +1 -1
  120. package/dist/components/anamnesis-card/index.js +1 -1
  121. package/dist/components/app-frame/index.js +1 -1
  122. package/dist/components/appointment-card/index.js +2 -2
  123. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +12 -2
  124. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +3 -1
  125. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +12 -2
  126. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  127. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  128. package/dist/components/appointment-details-panel/index.js +7 -6
  129. package/dist/components/appointment-peek/appointment-peek.d.ts +45 -1
  130. package/dist/components/appointment-peek/index.js +1 -1
  131. package/dist/components/appointment-timeline/index.js +1 -1
  132. package/dist/components/bill-line-table/index.js +1 -1
  133. package/dist/components/bill-table/index.js +1 -1
  134. package/dist/components/booking/index.js +1 -1
  135. package/dist/components/calls-panel/index.js +1 -1
  136. package/dist/components/care-plan-card/index.js +1 -1
  137. package/dist/components/care-plan-entry-card/index.js +1 -1
  138. package/dist/components/communications-panel/index.js +1 -1
  139. package/dist/components/connection-status/index.js +1 -1
  140. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  141. package/dist/components/control-room-rail/index.js +1 -1
  142. package/dist/components/data-grid/index.js +2 -2
  143. package/dist/components/data-table/index.js +3 -3
  144. package/dist/components/description-list/index.js +1 -1
  145. package/dist/components/dev-bypass-button/index.js +1 -1
  146. package/dist/components/document-preview/index.js +1 -1
  147. package/dist/components/editable-description/editable-description.d.ts +7 -0
  148. package/dist/components/editable-description/index.js +1 -1
  149. package/dist/components/empty-state/index.js +1 -1
  150. package/dist/components/entity-summary/index.js +1 -1
  151. package/dist/components/error-boundary/index.js +1 -1
  152. package/dist/components/face-scheme/index.js +1 -1
  153. package/dist/components/feature-preview-switch/feature-preview-switch.d.ts +55 -0
  154. package/dist/components/feature-preview-switch/index.d.ts +2 -0
  155. package/dist/components/feature-preview-switch/index.js +5 -0
  156. package/dist/components/file-manager/index.js +1 -1
  157. package/dist/components/heatmap/index.js +1 -1
  158. package/dist/components/index.d.ts +1 -0
  159. package/dist/components/info-tip/index.js +1 -1
  160. package/dist/components/invoice-upload-list/index.js +1 -1
  161. package/dist/components/map-view/index.js +1 -1
  162. package/dist/components/message-tray/index.js +1 -1
  163. package/dist/components/note-timeline/index.js +1 -1
  164. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  165. package/dist/components/notes-panel/index.js +1 -1
  166. package/dist/components/notes-panel/notes-panel.d.ts +33 -2
  167. package/dist/components/notification-tray/index.js +1 -1
  168. package/dist/components/optical-prescription/index.js +1 -1
  169. package/dist/components/panel-header/index.js +1 -1
  170. package/dist/components/panel-header/panel-header.d.ts +8 -0
  171. package/dist/components/panel-subview/index.js +1 -1
  172. package/dist/components/patient-details/index.js +1 -1
  173. package/dist/components/patient-summary-card/index.js +1 -1
  174. package/dist/components/patient-summary-card/patient-summary-card.d.ts +9 -0
  175. package/dist/components/patient-table/index.js +1 -1
  176. package/dist/components/payment-card/index.js +1 -1
  177. package/dist/components/practice-results/index.js +1 -1
  178. package/dist/components/product-hub-tray/index.js +1 -1
  179. package/dist/components/public-header/index.js +1 -1
  180. package/dist/components/radiograph-panel/index.js +1 -1
  181. package/dist/components/registry-connection-panel/index.js +1 -1
  182. package/dist/components/reviews-panel/index.js +1 -1
  183. package/dist/components/rich-text-editor/editor-toolbar.d.ts +18 -5
  184. package/dist/components/rich-text-editor/index.d.ts +1 -1
  185. package/dist/components/rich-text-editor/index.js +1 -1
  186. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  187. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  188. package/dist/components/scroll-area/index.js +1 -1
  189. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  190. package/dist/components/sheet/index.js +1 -1
  191. package/dist/components/sidebar/index.js +1 -1
  192. package/dist/components/slot-grid/index.js +1 -1
  193. package/dist/components/sync-tray/index.js +1 -1
  194. package/dist/components/task-editor/index.js +1 -1
  195. package/dist/components/task-tray/index.js +1 -1
  196. package/dist/components/tasks-panel/index.js +1 -1
  197. package/dist/components/text-area/index.js +1 -1
  198. package/dist/components/text-area/text-area.d.ts +15 -0
  199. package/dist/components/tool-rail/index.js +1 -1
  200. package/dist/components/tool-rail/tool-rail.d.ts +23 -1
  201. package/dist/components/transaction-chip/index.js +1 -1
  202. package/dist/components/transaction-chip/transaction-chip.d.ts +7 -0
  203. package/dist/components/transcript-panel/index.js +1 -1
  204. package/dist/components/treatment-receipt/index.js +1 -1
  205. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  206. package/dist/components/week-availability/index.js +1 -1
  207. package/dist/components/workflow/index.js +1 -1
  208. package/dist/core.css +1 -1
  209. package/dist/find-free-slots-panel/index.js +1 -1
  210. package/dist/host-compat.css +4 -1
  211. package/dist/host-legacy.css +63 -4
  212. package/dist/i18n/locales/ar.d.ts +18 -0
  213. package/dist/i18n/locales/ar.js +18 -3
  214. package/dist/i18n/locales/de.d.ts +18 -0
  215. package/dist/i18n/locales/de.js +18 -3
  216. package/dist/i18n/locales/el.d.ts +18 -0
  217. package/dist/i18n/locales/el.js +21 -3
  218. package/dist/i18n/locales/en.d.ts +18 -0
  219. package/dist/i18n/locales/en.js +21 -3
  220. package/dist/i18n/locales/es.d.ts +18 -0
  221. package/dist/i18n/locales/es.js +21 -3
  222. package/dist/i18n/locales/fr.d.ts +18 -0
  223. package/dist/i18n/locales/fr.js +21 -3
  224. package/dist/i18n/locales/hi.d.ts +18 -0
  225. package/dist/i18n/locales/hi.js +18 -3
  226. package/dist/i18n/locales/it.d.ts +28 -10
  227. package/dist/i18n/locales/it.js +31 -13
  228. package/dist/i18n/locales/ja.d.ts +18 -0
  229. package/dist/i18n/locales/ja.js +18 -3
  230. package/dist/i18n/locales/nl.d.ts +18 -0
  231. package/dist/i18n/locales/nl.js +18 -3
  232. package/dist/i18n/locales/pl.d.ts +18 -0
  233. package/dist/i18n/locales/pl.js +21 -3
  234. package/dist/i18n/locales/pt.d.ts +18 -0
  235. package/dist/i18n/locales/pt.js +21 -3
  236. package/dist/i18n/locales/ro.d.ts +18 -0
  237. package/dist/i18n/locales/ro.js +21 -3
  238. package/dist/i18n/locales/ru.d.ts +18 -0
  239. package/dist/i18n/locales/ru.js +18 -3
  240. package/dist/i18n/locales/sq.d.ts +18 -0
  241. package/dist/i18n/locales/sq.js +21 -3
  242. package/dist/i18n/locales/sv.d.ts +18 -0
  243. package/dist/i18n/locales/sv.js +18 -3
  244. package/dist/i18n/locales/tr.d.ts +18 -0
  245. package/dist/i18n/locales/tr.js +18 -3
  246. package/dist/i18n/locales/zh.d.ts +18 -0
  247. package/dist/i18n/locales/zh.js +18 -3
  248. package/dist/index.js +820 -817
  249. package/dist/locales/ar.json +21 -3
  250. package/dist/locales/de.json +21 -3
  251. package/dist/locales/el.json +21 -3
  252. package/dist/locales/en.json +21 -3
  253. package/dist/locales/es.json +21 -3
  254. package/dist/locales/fr.json +21 -3
  255. package/dist/locales/hi.json +21 -3
  256. package/dist/locales/it.json +31 -13
  257. package/dist/locales/ja.json +21 -3
  258. package/dist/locales/nl.json +21 -3
  259. package/dist/locales/pl.json +21 -3
  260. package/dist/locales/pt.json +21 -3
  261. package/dist/locales/ro.json +21 -3
  262. package/dist/locales/ru.json +21 -3
  263. package/dist/locales/sq.json +21 -3
  264. package/dist/locales/sv.json +21 -3
  265. package/dist/locales/tr.json +21 -3
  266. package/dist/locales/zh.json +21 -3
  267. package/dist/online-bookings-panel/index.js +2 -2
  268. package/dist/patterns/alia-assistant/index.js +1 -1
  269. package/dist/patterns/anamnesis/index.js +1 -1
  270. package/dist/patterns/calendar/index.js +4 -4
  271. package/dist/patterns/error-page/index.js +2 -2
  272. package/dist/patterns/help-me-write-templates/index.js +1 -1
  273. package/dist/patterns/login-form/index.js +1 -1
  274. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  275. package/dist/patterns/patient-account-settings/index.js +1 -1
  276. package/dist/patterns/patient-check-in/index.js +1 -1
  277. package/dist/patterns/patient-portal/index.js +2 -2
  278. package/dist/patterns/prescription/index.js +1 -1
  279. package/dist/patterns/registration-form/index.js +1 -1
  280. package/dist/patterns/signed-out-frame/index.js +1 -1
  281. package/dist/patterns/signing/index.js +1 -1
  282. package/dist/redactor.css +9 -0
  283. package/dist/safe-html/index.js +33 -19
  284. package/dist/tokens.css +61 -52
  285. package/dist/waiting-list-panel/index.js +3 -3
  286. package/package.json +5 -1
  287. package/dist/_chunks/appointment-peek-B3raO90X.js +0 -123
  288. package/dist/_chunks/contact-round-DiSvB3LP.js +0 -18
  289. package/dist/_chunks/control-room-rail-BQvaYowi.js +0 -416
  290. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  291. package/dist/_chunks/folder-BghC8_S2.js +0 -20
  292. package/dist/_chunks/rich-text-editor-eGdYDPK2.js +0 -4405
  293. package/dist/_chunks/text-area-COMVJ1yE.js +0 -258
  294. package/dist/_chunks/use-appointment-details-read-Bl1DHXQ2.js +0 -1998
  295. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -66,6 +66,30 @@ export interface ControlRoomRailProps extends Omit<ToolRailProps, 'tools' | 'onR
66
66
  * persist without the resize handle.
67
67
  */
68
68
  persistPanelWidthKey?: string;
69
+ /**
70
+ * Let the user choose where the open panel sits. Adds one button to every
71
+ * panel header, between the favourite star and Close: **Float panel**
72
+ * lays the panel over the content, which keeps its full width, and
73
+ * **Dock panel** puts it back beside the content. The choice is for the
74
+ * whole rail, not one tool. Default `false`: no button, and the panel
75
+ * sits where `panelPlacement` says.
76
+ */
77
+ floatablePanel?: boolean;
78
+ /** Controlled choice: `true` floating, `false` docked. When set, the rail
79
+ * does not persist; the host owns it through `onPanelFloatingChange`. */
80
+ panelFloating?: boolean;
81
+ /** Uncontrolled starting choice. Default `false`: docked. */
82
+ defaultPanelFloating?: boolean;
83
+ /** Fires when the user floats or docks the panel, with the tool that was
84
+ * open, for the host to save or to track. */
85
+ onPanelFloatingChange?: (floating: boolean, toolId: string) => void;
86
+ /**
87
+ * localStorage key for the uncontrolled choice, as `persistPanelWidthKey`
88
+ * is for the width: when set and `panelFloating` is absent, the rail
89
+ * reads the choice on mount and writes each change back. Opt-in, no
90
+ * default. Only meaningful with `floatablePanel`.
91
+ */
92
+ persistPanelFloatingKey?: string;
69
93
  }
70
94
  export declare const ControlRoomRail: import("react").ForwardRefExoticComponent<ControlRoomRailProps & import("react").RefAttributes<ToolRailHandle>>;
71
95
  //# sourceMappingURL=control-room-rail.d.ts.map
@@ -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-BQvaYowi.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-BmpTKtL1.js";
2
2
  export {
3
3
  r as ControlRoomProvider,
4
4
  l as ControlRoomRail,
@@ -1,5 +1,5 @@
1
- import { D as _, a as D, b as r, c as E, d as I, e as T, f as G } from "../../_chunks/data-grid-CkzbCZSo.js";
2
- import { D as s, a as R } from "../../_chunks/toolbar-B9oh9XY9.js";
1
+ import { D as _, a as D, b as r, c as E, d as I, e as T, f as G } from "../../_chunks/data-grid-DTAwrOiq.js";
2
+ import { D as s, a as R } from "../../_chunks/toolbar-B2JJ_XDT.js";
3
3
  export {
4
4
  _ as DATA_GRID_DEFAULT_PAGE_SIZE,
5
5
  D as DATA_GRID_MAX_SORT_LEVELS,
@@ -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-DFAYYsSc.js";
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 f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-DXJI0fnU.js";
3
- import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-CWLArl5e.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-CgpHO6EZ.js";
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 f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-a3CrwNKm.js";
3
+ import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-DTunki79.js";
4
4
  import { A as X, a as j } from "../../_chunks/actions-cell-renderer-BA1FB6cT.js";
5
5
  export {
6
6
  X as ActionsCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as r } from "../../_chunks/description-list-DA4TgL_I.js";
1
+ import { D as r } from "../../_chunks/description-list-DaldSpGy.js";
2
2
  export {
3
3
  r as DescriptionList
4
4
  };
@@ -1,4 +1,4 @@
1
- import { D as s } from "../../_chunks/dev-bypass-button-BzfYGPuf.js";
1
+ import { D as s } from "../../_chunks/dev-bypass-button-DFcNpCQj.js";
2
2
  import { d as a } from "../../_chunks/dev-bypass-button.agent-BJqFSTqE.js";
3
3
  export {
4
4
  s as DevBypassButton,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/document-preview-oSuJsJ3k.js";
1
+ import { D as r, d as t } from "../../_chunks/document-preview-TbwhY_eK.js";
2
2
  export {
3
3
  r as DocumentPreview,
4
4
  t as documentPreviewAgent
@@ -19,6 +19,13 @@ export interface EditableDescriptionProps extends Omit<HTMLAttributes<HTMLDivEle
19
19
  emptyLabel?: string;
20
20
  /** Accessible name and tooltip of the pencil. Defaults to the kit's text. */
21
21
  editLabel?: string;
22
+ /**
23
+ * Offer "See more" when rows are cut. Default `true`. Pass `false` where
24
+ * the description is a glimpse and the full text is one step away (a hover
25
+ * preview): the rows past `maxLines` stay cut with an ellipsis and no
26
+ * control is drawn.
27
+ */
28
+ expandable?: boolean;
22
29
  /** Disclosure labels. Default to the kit's translated text. */
23
30
  seeMoreLabel?: string;
24
31
  showLessLabel?: string;
@@ -1,4 +1,4 @@
1
- import { E as i } from "../../_chunks/editable-description-BsSjLnSx.js";
1
+ import { E as i } from "../../_chunks/editable-description-B2F54K4T.js";
2
2
  import { e as r } from "../../_chunks/editable-description.agent-zyyR_hxB.js";
3
3
  export {
4
4
  i as EditableDescription,
@@ -1,4 +1,4 @@
1
- import { E as e } from "../../_chunks/empty-state-5REM7oDM.js";
1
+ import { E as e } from "../../_chunks/empty-state-qHtpcasr.js";
2
2
  export {
3
3
  e as EmptyState
4
4
  };
@@ -1,4 +1,4 @@
1
- import { E as t } from "../../_chunks/entity-summary-CZmGcWi2.js";
1
+ import { E as t } from "../../_chunks/entity-summary-BNnTP1F6.js";
2
2
  export {
3
3
  t as EntitySummary
4
4
  };
@@ -1,4 +1,4 @@
1
- import { E as a } from "../../_chunks/error-boundary-BQ5mRqEd.js";
1
+ import { E as a } from "../../_chunks/error-boundary-BDS1XStO.js";
2
2
  export {
3
3
  a as ErrorBoundary
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-BC2whb1S.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-DRYGaszs.js";
2
2
  export {
3
3
  e as ANNOTATION_TOOL_KIND,
4
4
  o as FACE_ANNOTATION_TOOLS,
@@ -0,0 +1,55 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const featurePreviewSwitchVariants: (props?: ({
4
+ size?: "sm" | "md" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface FeaturePreviewSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'>, VariantProps<typeof featurePreviewSwitchVariants> {
7
+ /**
8
+ * The visible label, and the switch's accessible name. Say what turning it
9
+ * on does: "Try the new Tool Rail!".
10
+ */
11
+ label: string;
12
+ /** Controlled on/off value. */
13
+ checked?: boolean;
14
+ /** Start value when uncontrolled. Default `false`: a preview is opt-in. */
15
+ defaultChecked?: boolean;
16
+ /** Called with the new value when the user flips the switch. */
17
+ onCheckedChange?: (checked: boolean) => void;
18
+ /** Disables the switch. The info button stays usable. */
19
+ disabled?: boolean;
20
+ /**
21
+ * A short tag before the label, in the host's words: "New", "Beta". Leave
22
+ * it out for no tag.
23
+ */
24
+ tag?: ReactNode;
25
+ /**
26
+ * The body of the info card. With it a round info button follows the
27
+ * switch and opens the card on hover, focus or click. Leave it out for no
28
+ * info button.
29
+ */
30
+ info?: ReactNode;
31
+ /** Optional heading of the info card. */
32
+ infoHeading?: ReactNode;
33
+ /**
34
+ * Accessible name of the info button. Defaults to the kit's translated
35
+ * "More information". Name the feature when you can: "About the Tool Rail".
36
+ */
37
+ infoLabel?: string;
38
+ /** Logical side the info card opens on. Default `'bottom'`. */
39
+ infoSide?: 'start' | 'top' | 'end' | 'bottom';
40
+ /** Alignment of the info card along that side. Default `'center'`. */
41
+ infoAlign?: 'start' | 'center' | 'end';
42
+ /** `sm` for a toolbar or a dense header, `md` for a page head. Default `'md'`. */
43
+ size?: 'sm' | 'md';
44
+ }
45
+ /**
46
+ * FeaturePreviewSwitch: the opt-in for a feature that is being rolled out. A
47
+ * tag ("New"), a labelled switch and an info card that says what the feature
48
+ * is and when it stops being optional.
49
+ *
50
+ * It decides nothing: the host owns the value, remembers it for the user and
51
+ * shows or hides the feature.
52
+ */
53
+ export declare const FeaturePreviewSwitch: import("react").ForwardRefExoticComponent<FeaturePreviewSwitchProps & import("react").RefAttributes<HTMLDivElement>>;
54
+ export {};
55
+ //# sourceMappingURL=feature-preview-switch.d.ts.map
@@ -0,0 +1,2 @@
1
+ export * from './feature-preview-switch';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { F as t } from "../../_chunks/feature-preview-switch-B_8JTya_.js";
2
+ export {
3
+ t as FeaturePreviewSwitch
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { F as r, f } from "../../_chunks/file-manager-Cp3Z4VvM.js";
1
+ import { F as r, f } from "../../_chunks/file-manager-DMvYx-Gq.js";
2
2
  export {
3
3
  r as FileManager,
4
4
  f as fileManagerAgent
@@ -1,4 +1,4 @@
1
- import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-DvsZ-mcL.js";
1
+ import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-BZNkPkDD.js";
2
2
  export {
3
3
  t as Heatmap,
4
4
  p as HeatmapLegend,
@@ -153,6 +153,7 @@ export * from './error-summary';
153
153
  export * from './finished-terminal';
154
154
  export * from './hover-card';
155
155
  export * from './info-tip';
156
+ export * from './feature-preview-switch';
156
157
  export * from './invoice-upload-list';
157
158
  export * from './live-region';
158
159
  export * from './matrix-rain';
@@ -1,4 +1,4 @@
1
- import { I as f, i as n } from "../../_chunks/info-tip-cCppV1fD.js";
1
+ import { I as f, i as n } from "../../_chunks/info-tip-DkVISvo-.js";
2
2
  export {
3
3
  f as InfoTip,
4
4
  n as infoTipAgent
@@ -1,4 +1,4 @@
1
- import { I as O, a, b as L, c as N, d as s, i as S } from "../../_chunks/invoice-upload-list-BReimsvV.js";
1
+ import { I as O, a, b as L, c as N, d as s, i as S } from "../../_chunks/invoice-upload-list-DutydbjC.js";
2
2
  export {
3
3
  O as INVOICE_DOCUMENT_KINDS,
4
4
  a as INVOICE_SUPPLIER_KINDS,
@@ -1,4 +1,4 @@
1
- import { M as o } from "../../_chunks/map-view-n6GiDRWM.js";
1
+ import { M as o } from "../../_chunks/map-view-B67HXWPR.js";
2
2
  export {
3
3
  o as MapView
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-Dx2HPcKB.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-DysT-DPS.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { N as i, n as o } from "../../_chunks/note-timeline-BbjHMhkL.js";
1
+ import { N as i, n as o } from "../../_chunks/note-timeline-CS5j2OKD.js";
2
2
  export {
3
3
  i as NoteTimeline,
4
4
  o as noteTimelineAgent
@@ -74,6 +74,14 @@ export interface NoteTimelineProps extends Omit<HTMLAttributes<HTMLDivElement>,
74
74
  onNoteActivate?: (id: string) => void;
75
75
  /** Lines each note body clamps to. Default 3. */
76
76
  lines?: 1 | 2 | 3 | 4 | 5;
77
+ /**
78
+ * `'rich'` (default) renders each note with its formatting. `'plain'`
79
+ * shows its words only, for a short preview: a clamp of two or three lines
80
+ * keeps some formatting (a centred line, a link colour) and drops the
81
+ * rest (a table, an image), which reads as broken. A note with no words
82
+ * (a picture alone) still renders rich.
83
+ */
84
+ bodyFormat?: 'rich' | 'plain';
77
85
  /** Locale for the date gutter. Defaults to the active i18n language. */
78
86
  locale?: string;
79
87
  /**
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-Cw06dLDm.js";
1
+ import { N as a } from "../../_chunks/notes-panel-d0I3hOEY.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  import type { ClinicalNoteCardProps } from '../clinical-note-card';
3
- import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate } from '../rich-text-editor';
3
+ import type { RichTextEditorProps, RichTextEditorTool, RichTextEditorToolbar, RedactorFactory, AiConsentGate } from '../rich-text-editor';
4
4
  /**
5
5
  * One note in the panel — the data subset of `ClinicalNoteCard`.
6
6
  *
@@ -160,12 +160,26 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
160
160
  * lightweight surfaces / deterministic tests.
161
161
  */
162
162
  composer?: 'rich' | 'plain';
163
- /** Toolbar preset for the rich composer. Defaults to `'standard'`. */
163
+ /**
164
+ * Toolbar preset for the rich composer. Defaults to `'standard'`. `'full'`
165
+ * is every tool with nothing more to pass (the table tool needs the
166
+ * engine's table plugin loaded, the image tool an upload). `'custom'`
167
+ * shows `editorTools`.
168
+ */
164
169
  editorToolbar?: RichTextEditorToolbar;
170
+ /** The tools of `editorToolbar="custom"`, by id. */
171
+ editorTools?: readonly RichTextEditorTool[];
165
172
  /** Inject the Redactor factory for the rich composer (else `window.$R`). */
166
173
  redactor?: RedactorFactory;
167
174
  /** Consumer image-upload endpoint for the rich composer. */
168
175
  imageUploadUrl?: string;
176
+ /**
177
+ * Redactor plugins the host has loaded, passed to the rich composer. Not
178
+ * needed with `'full'` or `'custom'`. In `'standard'` they add tools:
179
+ * `'table'`, `'fontcolor'` (text colour and highlight) and `'fontsize'`
180
+ * (text size). The kit never bundles the plugin files.
181
+ */
182
+ editorPlugins?: string[];
169
183
  /** Show the "clinical note" toggle in the composer. Default `true`. */
170
184
  showClinicalToggle?: boolean;
171
185
  /**
@@ -311,6 +325,23 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
311
325
  confirmDelete?: boolean;
312
326
  /** Panel heading. Defaults to the localised "Notes". */
313
327
  title?: string;
328
+ /**
329
+ * The patient the notes belong to, shown in a compact card pinned under
330
+ * the title with their avatar, so the reader always sees whose record they are
331
+ * writing in. Pass the name as the host shows it elsewhere: masked under
332
+ * privacy mode. Absent = no line (a patient page that already names the
333
+ * patient).
334
+ */
335
+ patientName?: string;
336
+ /**
337
+ * The patient's photo for that avatar. Without one the avatar shows the
338
+ * initials of `patientName`. Leave it out under privacy mode. Ignored
339
+ * without `patientName`.
340
+ */
341
+ patientAvatarSrc?: string;
342
+ /** The patient card's corner button: open the patient's folder, say.
343
+ * Ignored without `patientName`. */
344
+ patientAction?: ReactNode;
314
345
  /** Composer placeholder. */
315
346
  composerPlaceholder?: string;
316
347
  /** Save-button label. */
@@ -1,4 +1,4 @@
1
- import { N as o, n as t } from "../../_chunks/notification-tray-BnC5OItw.js";
1
+ import { N as o, n as t } from "../../_chunks/notification-tray-CjGDlwLg.js";
2
2
  export {
3
3
  o as NotificationTray,
4
4
  t as notificationTrayAgent
@@ -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-DZvauMiM.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-CAnXavjq.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,
@@ -1,4 +1,4 @@
1
- import { P as r, a as s, u as n } from "../../_chunks/panel-header-CbtlTe85.js";
1
+ import { P as r, a as s, u as n } from "../../_chunks/panel-header-DTc5OFUg.js";
2
2
  export {
3
3
  r as PanelHeader,
4
4
  s as PanelHeaderActionsProvider,
@@ -23,6 +23,14 @@ export interface PanelHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
23
23
  icon?: ReactNode;
24
24
  /** `id` applied to the heading so panels can wire `aria-labelledby`. */
25
25
  headingId?: string;
26
+ /**
27
+ * A line under the title that says what the panel is about: the patient
28
+ * whose notes it shows, say. Plain text, already translated or masked
29
+ * upstream. It wraps and is never cut, so a long name stays whole.
30
+ */
31
+ subtitle?: ReactNode;
32
+ /** `id` applied to the subtitle so panels can wire `aria-describedby`. */
33
+ subtitleId?: string;
26
34
  /** Semantic heading level. Default `2`. */
27
35
  headingLevel?: 2 | 3;
28
36
  /** Panel-owned actions, rendered inline-end of the title row. */
@@ -1,4 +1,4 @@
1
- import { P as o } from "../../_chunks/panel-subview-DjBwNV16.js";
1
+ import { P as o } from "../../_chunks/panel-subview-B5hnQwfQ.js";
2
2
  import { p as r } from "../../_chunks/panel-subview.agent-BIBvE-IW.js";
3
3
  export {
4
4
  o as PanelSubview,
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-Cj3dp9GB.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-wFIzTz7N.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-roM9Esfb.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-ZunOre3Q.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -200,6 +200,15 @@ export interface PatientSummaryCardProps extends Omit<ComponentPropsWithoutRef<'
200
200
  surface?: 'flat' | 'elevated';
201
201
  /** `'comfortable'` (default) reads as a header; `'compact'` for asides. */
202
202
  density?: 'comfortable' | 'compact';
203
+ /**
204
+ * `'auto'` (default) flows the fields into two columns when the card is
205
+ * wide, as the patient folder banner wants. `'single'` keeps one field per
206
+ * line at every width: for a side panel the reader can drag wider.
207
+ */
208
+ fieldColumns?: 'auto' | 'single';
209
+ /** Wrap long field values and never cut them. Default `false`: a value is
210
+ * cut to one line, so the row keeps its height in inline edit. */
211
+ wrapFieldValues?: boolean;
203
212
  /** Override the default region aria-label. */
204
213
  'aria-label'?: string;
205
214
  /** Agent-readiness consumer id, surfaced as `data-component-id`. */
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-BPz9bQAB.js";
1
+ import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-OghXENKK.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-C9VglWsV.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-BSSfKrcc.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-D0TAgL8v.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-CqoB5YAv.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-NVpRuJeW.js";
1
+ import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-RJzrDcGp.js";
2
2
  import { i as s } from "../../_chunks/is-safe-url-CEy9CEml.js";
3
3
  export {
4
4
  u as ProductHubPanel,
@@ -1,4 +1,4 @@
1
- import { P as r, p } from "../../_chunks/public-header.agent-Dzo6ujrE.js";
1
+ import { P as r, p } from "../../_chunks/public-header.agent-B2CqVq4s.js";
2
2
  export {
3
3
  r as PublicHeader,
4
4
  p as publicHeaderAgent
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-BUZPsuSP.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-kgCmmgZk.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,4 +1,4 @@
1
- import { R as o } from "../../_chunks/registry-connection-panel-ACOsXu3F.js";
1
+ import { R as o } from "../../_chunks/registry-connection-panel-BkPPA3Fj.js";
2
2
  export {
3
3
  o as RegistryConnectionPanel
4
4
  };
@@ -1,4 +1,4 @@
1
- import { R as r, r as s } from "../../_chunks/reviews-panel-Cw5ygAxs.js";
1
+ import { R as r, r as s } from "../../_chunks/reviews-panel-jIz5aP2X.js";
2
2
  export {
3
3
  r as ReviewsPanel,
4
4
  s as reviewsPanelAgent
@@ -1,12 +1,18 @@
1
1
  import { type ReactNode, type RefObject } from 'react';
2
2
  import type { RichTextEditorAiTemplate, RichTextEditorVariable } from './rich-text-editor';
3
- export type EditorToolbarPreset = 'minimal' | 'standard' | 'full';
3
+ export type EditorToolbarPreset = 'minimal' | 'standard' | 'full' | 'custom';
4
+ /** Every tool the toolbar can draw, by id: the list a `custom` toolbar picks
5
+ * from. The toolbar keeps its own order whatever order the host writes. */
6
+ export declare const EDITOR_TOOLBAR_TOOLS: readonly ["undo", "redo", "format", "bold", "italic", "underline", "strike", "fontSize", "color", "highlight", "align", "ul", "ol", "outdent", "indent", "link", "image", "table", "line"];
7
+ export type EditorToolbarTool = (typeof EDITOR_TOOLBAR_TOOLS)[number];
4
8
  export interface EditorToolbarProps {
5
9
  /** Dispatch a Redactor command (and refresh active state). */
6
10
  run: (command: string, ...args: unknown[]) => void;
7
11
  /** Active formats at the caret — toggle buttons render pressed. */
8
12
  active: ReadonlySet<string>;
9
13
  preset: EditorToolbarPreset;
14
+ /** The tools of a `custom` toolbar. Ignored by the named presets. */
15
+ tools?: readonly EditorToolbarTool[];
10
16
  /** Insert sanitised HTML at the caret (link / image / table). */
11
17
  insertHtml: (html: string) => void;
12
18
  /** Insert a table — list-aware (drops it after a list, never inside an <li>). */
@@ -19,11 +25,17 @@ export interface EditorToolbarProps {
19
25
  getSelectedText: () => string;
20
26
  /** Upload an image file and resolve its URL (image dialog's upload area). */
21
27
  uploadImage?: (file: File, signal?: AbortSignal) => Promise<string>;
22
- /** Show the text-colour control. */
28
+ /** Show the text-colour and highlight controls in `minimal` and
29
+ * `standard` too. `full` always has them; `custom` lists them. */
23
30
  enableColor?: boolean;
24
- /** Show the image control (consumer set an image-upload URL). */
31
+ /** Show the text-size control in `minimal` and `standard` too. `full`
32
+ * always has it; `custom` lists it. */
33
+ enableFontSize?: boolean;
34
+ /** The image tool can work: the host gave a way to upload. Without it no
35
+ * preset shows the tool. */
25
36
  enableImage?: boolean;
26
- /** Show the table control (consumer loaded the table plugin). */
37
+ /** The table tool can work: the engine has its table plugin. Without it
38
+ * no preset shows the tool. */
27
39
  enableTable?: boolean;
28
40
  /**
29
41
  * Show an "Editor extensions" tools affordance (marketplace tools), placed
@@ -40,6 +52,7 @@ export interface EditorToolbarProps {
40
52
  /** Insert a variable chip at the saved caret. */
41
53
  insertVariable?: (token: string) => void;
42
54
  }
55
+ export declare const FONT_SIZES: readonly [10, 11, 12, 14, 16, 18, 20, 24, 28, 30];
43
56
  export type EditorTextAlign = 'left' | 'center' | 'right' | 'justify';
44
57
  export declare const ALIGN_TAGS: string[];
45
58
  export declare function normaliseLinkHref(value: string): string;
@@ -104,5 +117,5 @@ export interface SelectionFloatingToolbarProps {
104
117
  children?: ReactNode;
105
118
  }
106
119
  export declare function SelectionFloatingToolbar({ active, run, areaRef, getEditorRoot, suppressed, holdOpen, children, }: SelectionFloatingToolbarProps): React.JSX.Element | null;
107
- export declare function EditorToolbar({ run, active, preset, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableImage, enableTable, showExtensions, extensionControl, variables, recentVariableTokens, insertVariable, }: EditorToolbarProps): React.JSX.Element;
120
+ export declare function EditorToolbar({ run, active, preset, tools, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableFontSize, enableImage, enableTable, showExtensions, extensionControl, variables, recentVariableTokens, insertVariable, }: EditorToolbarProps): React.JSX.Element;
108
121
  //# sourceMappingURL=editor-toolbar.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export { RichTextEditor, wrapperVariants } from './rich-text-editor';
2
- export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RedactorFactory, AiConsentGate, RichTextEditorVariable, HelpMeWriteRenderContext, RichTextEditorAiTemplate, RichTextEditorAiTemplates, RichTextEditorAiActionRequest, RichTextEditorAiApplied, } from './rich-text-editor';
2
+ export type { RichTextEditorHandle, RichTextEditorProps, RichTextEditorToolbar, RichTextEditorTool, RedactorFactory, AiConsentGate, RichTextEditorVariable, HelpMeWriteRenderContext, RichTextEditorAiTemplate, RichTextEditorAiTemplates, RichTextEditorAiActionRequest, RichTextEditorAiApplied, } from './rich-text-editor';
3
3
  export { richTextEditorAgent } from './rich-text-editor.agent';
4
4
  export type { EditorExtension, EditorExtensionContext, EditorExtensionRenderContext, EditorExtensionRunContext, EditorExtensionRunResult, } from './editor-extensions';
5
5
  export { kitEditorExtensions } from './kit-extensions';
@@ -1,4 +1,4 @@
1
- import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-eGdYDPK2.js";
1
+ import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-DTadvKa7.js";
2
2
  import { k as s } from "../../_chunks/kit-extensions-CSPGIdcn.js";
3
3
  export {
4
4
  i as RichTextEditor,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Relabels the link item of an open Redactor context bar. The link item is
3
+ * the bar's first anchor and the only one whose `href` is a real address:
4
+ * every action item has `href="#"`. An address the kit will not open is
5
+ * removed, so the bar offers Edit and Remove link only.
6
+ */
7
+ export declare function relabelLinkBar(bar: HTMLElement | null | undefined, label: string): void;
8
+ //# sourceMappingURL=link-bar.d.ts.map
@@ -2,14 +2,22 @@ import { type ReactNode } from 'react';
2
2
  import '../../tokens/themes/bridges/redactor-theme.css';
3
3
  import { type AiConsentBannerHeadingLevel, type AiConsentGate } from '../ai-permission-notice';
4
4
  import type { EditorExtension, EditorExtensionContext, EditorExtensionRunResult } from './editor-extensions';
5
+ import { type EditorToolbarTool } from './editor-toolbar';
5
6
  import { type AiCreditsNoticeProps } from '../ai-credits-notice';
6
7
  export type RedactorFactory = {
7
8
  (selector: string | HTMLElement, command?: unknown, ...args: unknown[]): unknown;
8
9
  /** Redactor 3 language API; custom adapters can supply their own language pack. */
9
10
  addLang?: (code: string, values: Record<string, string>) => void;
10
11
  lang?: Record<string, Record<string, string>>;
12
+ /** Redactor 3's registry of loaded plugins, by name. */
13
+ plugins?: Record<string, unknown>;
11
14
  };
12
- export type RichTextEditorToolbar = 'minimal' | 'standard' | 'full';
15
+ /** `minimal` and `standard` are short sets. `full` is every tool. `custom`
16
+ * is the tools the host lists in `tools`, for a context none of the three
17
+ * fits. */
18
+ export type RichTextEditorToolbar = 'minimal' | 'standard' | 'full' | 'custom';
19
+ /** A toolbar tool by id, for `toolbar="custom"`. */
20
+ export type RichTextEditorTool = EditorToolbarTool;
13
21
  /**
14
22
  * Patient AI-consent gate for the Help-me-write action and both dictation
15
23
  * mics (the editor's own, and the one inside the Help-me-write overlay).
@@ -131,8 +139,16 @@ export interface RichTextEditorProps {
131
139
  html: string;
132
140
  markdown: string;
133
141
  }) => void;
134
- /** Kit toolbar preset. */
142
+ /**
143
+ * Kit toolbar preset. `full` shows every tool with nothing more to pass:
144
+ * text size, colour and highlight are the kit's own; the table tool shows
145
+ * when the engine has its `table` plugin loaded, the image tool when
146
+ * `imageUploadUrl` or `onUploadImage` is given. `custom` shows `tools`.
147
+ */
135
148
  toolbar?: RichTextEditorToolbar;
149
+ /** The tools of `toolbar="custom"`, by id. The toolbar keeps its own
150
+ * order. Ignored by the named presets. */
151
+ tools?: readonly RichTextEditorTool[];
136
152
  /** Placeholder text — translates via useTranslation if omitted. */
137
153
  placeholder?: string;
138
154
  /** Read-only mode. */
@@ -152,7 +168,13 @@ export interface RichTextEditorProps {
152
168
  redactor?: RedactorFactory;
153
169
  /** Raw Redactor options, deep-merged LAST over the kit defaults (callbacks reserved). */
154
170
  options?: Record<string, unknown>;
155
- /** Redactor plugin names to enable (the consumer must register/load them). */
171
+ /**
172
+ * Redactor plugin names to enable (the consumer must register/load them).
173
+ * Not needed for the kit's own tools under `full` or `custom`: the kit
174
+ * turns the engine's `table` plugin on by itself when it is loaded. In
175
+ * `minimal` and `standard`, `'fontcolor'`, `'fontsize'` and `'table'`
176
+ * still add their tools.
177
+ */
156
178
  plugins?: string[];
157
179
  /** Select a consumer-owned native Redactor pack. Omit to use the kit translations. */
158
180
  lang?: string;