@alfadocs/ui-kit 1.47.1 → 1.48.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 (440) hide show
  1. package/dist/_chunks/{actions-cell-renderer-B5m9lwgC.js → actions-cell-renderer-DMittsR3.js} +4 -4
  2. package/dist/_chunks/{address-autocomplete-Bq-1n1UX.js → address-autocomplete-Dp5uMvKP.js} +61 -60
  3. package/dist/_chunks/{address-fields-jFfjxOQR.js → address-fields-QfC-N3pw.js} +5 -5
  4. package/dist/_chunks/{agenda-card-DyQtHb9z.js → agenda-card-C4h0xMGi.js} +2 -2
  5. package/dist/_chunks/{agenda-tray-CBaJASb5.js → agenda-tray-DNZYW2xt.js} +4 -4
  6. package/dist/_chunks/{ai-credits-notice-xszqOZTC.js → ai-credits-notice-C-kz_RrY.js} +3 -3
  7. package/dist/_chunks/{ai-permission-notice-D7I2U-cz.js → ai-permission-notice-BRZeS3mT.js} +3 -3
  8. package/dist/_chunks/{ai-prompt-input-DXknpQCB.js → ai-prompt-input-CxvnXsAs.js} +82 -82
  9. package/dist/_chunks/{alia-sidebar-CUqaJNPQ.js → alia-sidebar-Crn8OGPF.js} +7 -7
  10. package/dist/_chunks/{anamnesis-card-xtEhyojD.js → anamnesis-card-D8Si-2GV.js} +3 -3
  11. package/dist/_chunks/{anamnesis-summary-card-CclBbiXg.js → anamnesis-summary-card-DPyScUMM.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-DI-UX5r6.js → anamnesis-summary-rows-CZirLRuv.js} +12 -12
  13. package/dist/_chunks/{antenatal-schedule-timeline-CXk_tzWG.js → antenatal-schedule-timeline-8fm3vPSV.js} +2 -2
  14. package/dist/_chunks/{appointment-card-DluZy8Iv.js → appointment-card-CvGU0QP6.js} +5 -5
  15. package/dist/_chunks/{appointment-peek-BsfCpiJs.js → appointment-peek--dmWznLZ.js} +5 -5
  16. package/dist/_chunks/{appointment-timeline-Cs5f9viN.js → appointment-timeline-y9uYZMUd.js} +6 -6
  17. package/dist/_chunks/{appointment-tray-CLrGGnKR.js → appointment-tray-BTecNeSb.js} +4 -4
  18. package/dist/_chunks/appointment-workflow-status-CS8ufF1f.js +66 -0
  19. package/dist/_chunks/{audio-recorder-B7dT-Y3v.js → audio-recorder-DZBtAvLH.js} +4 -4
  20. package/dist/_chunks/{autocomplete-MpBhz-fG.js → autocomplete-DSasZUf6.js} +65 -64
  21. package/dist/_chunks/{badge-BudgzTe_.js → badge-BAkd6_Pj.js} +24 -17
  22. package/dist/_chunks/{balance-badge-cell-YGrYdrvR.js → balance-badge-cell-CA0YNJMR.js} +6 -6
  23. package/dist/_chunks/{bishop-score-Cu70iv9C.js → bishop-score-BMLRvXYF.js} +4 -4
  24. package/dist/_chunks/{bmi-calculator-C9N19aLX.js → bmi-calculator-DUhRyyrA.js} +3 -3
  25. package/dist/_chunks/{booking-C4MwImkS.js → booking-BQYFDcrz.js} +10 -10
  26. package/dist/_chunks/{breadcrumb-agut0PwN.js → breadcrumb-D3boYzD4.js} +50 -49
  27. package/dist/_chunks/{button-CaUe1uyd.js → button-18oBsI3n.js} +54 -50
  28. package/dist/_chunks/button-group-BSDqso_C.js +408 -0
  29. package/dist/_chunks/{calendar-OzSeTb4V.js → calendar-DjoJ9ovF.js} +11 -17
  30. package/dist/_chunks/{calendar-event-card-B6N5h1dO.js → calendar-event-card-BUbKBPv_.js} +55 -73
  31. package/dist/_chunks/calendar-workspace-D8zX9JWm.js +10423 -0
  32. package/dist/_chunks/{care-plan-card-BOv0NRle.js → care-plan-card-ciBaaguw.js} +4 -4
  33. package/dist/_chunks/{care-plan-entry-card-d-rZD4li.js → care-plan-entry-card-D7A0whiZ.js} +5 -5
  34. package/dist/_chunks/{care-plan-header-CEmBXn6-.js → care-plan-header-DKV1gLqv.js} +4 -4
  35. package/dist/_chunks/{carousel.agent-z1yLBpyC.js → carousel.agent-DqDGR2yH.js} +2 -2
  36. package/dist/_chunks/{chart-D8ucl8hH.js → chart-VjuXDXOZ.js} +3 -3
  37. package/dist/_chunks/{chat-input-Cj7ZYQr5.js → chat-input-BVho_SqP.js} +2 -2
  38. package/dist/_chunks/{chat-message-BMVxiUIX.js → chat-message-Co_NRGM4.js} +3 -3
  39. package/dist/_chunks/{smartphone-DaPcFw-X.js → circle-dashed-CUj6o2cA.js} +3 -14
  40. package/dist/_chunks/{city-input-DaQc-Hbj.js → city-input-BGYc4lRV.js} +2 -2
  41. package/dist/_chunks/{clinical-note-card-DdsGYMmI.js → clinical-note-card-DYDQ3q2x.js} +89 -74
  42. package/dist/_chunks/{code-block-BB-viuTn.js → code-block-C_eNHWaa.js} +2 -2
  43. package/dist/_chunks/combobox-B_rLwmSv.js +578 -0
  44. package/dist/_chunks/{command-palette-DQl_SNEv.js → command-palette-DhgGo7GJ.js} +82 -80
  45. package/dist/_chunks/{connection-status-BmA9T0UO.js → connection-status-Cfux3TvH.js} +4 -4
  46. package/dist/_chunks/{contact-profile-card-C0WpwpVV.js → contact-profile-card-Dj4NgBL-.js} +3 -3
  47. package/dist/_chunks/control-room-rail-DAO0qfOI.js +379 -0
  48. package/dist/_chunks/{copy-field-B8XRVmQv.js → copy-field-Cm4y5Bff.js} +2 -2
  49. package/dist/_chunks/{country-select-CfDNFG5c.js → country-select-C5jZjO8O.js} +2 -2
  50. package/dist/_chunks/{cycle-calculator-BH2StWoT.js → cycle-calculator-B9lBRNiZ.js} +3 -3
  51. package/dist/_chunks/{dashboard-grid-BcXWL5S9.js → dashboard-grid-uX7x1ePj.js} +2 -2
  52. package/dist/_chunks/{data-table-DnKOmEVw.js → data-table-DWOSxlsy.js} +9 -9
  53. package/dist/_chunks/{data-table-tabs-B9SXA5VP.js → data-table-tabs-CzYYKp2_.js} +3 -3
  54. package/dist/_chunks/{dependent-selector-BHDP0nBB.js → dependent-selector-BR_8D2Qu.js} +2 -2
  55. package/dist/_chunks/{description-list-BsJ_6CQE.js → description-list-1A2DEbE6.js} +2 -2
  56. package/dist/_chunks/{document-preview-COV0BC6n.js → document-preview-Od2Hz4z5.js} +13 -12
  57. package/dist/_chunks/{document-scanner-B1abl-A4.js → document-scanner-p0aGlzCy.js} +3 -3
  58. package/dist/_chunks/{dropdown-menu-DU-Hrf33.js → dropdown-menu-C8PaW3lR.js} +110 -96
  59. package/dist/_chunks/{due-date-calculator-Buh_mVHq.js → due-date-calculator-BVqJaxzd.js} +4 -4
  60. package/dist/_chunks/{editable-currency-cell-renderer-OUkUv7U4.js → editable-currency-cell-renderer-D_G2Ap61.js} +4 -4
  61. package/dist/_chunks/{editable-description-ADMVFPUz.js → editable-description-B4NVdjvd.js} +3 -3
  62. package/dist/_chunks/{editor-overlay-DwNKaI22.js → editor-overlay-BDiBvQmL.js} +2 -2
  63. package/dist/_chunks/{empty-state-BUN_UAWf.js → empty-state-DTBZ1ENT.js} +2 -2
  64. package/dist/_chunks/{entity-card-I-Gio5wo.js → entity-card-D1Yrh9wf.js} +2 -1
  65. package/dist/_chunks/{entity-summary-DXejuQ8i.js → entity-summary-Ckz_U00H.js} +3 -3
  66. package/dist/_chunks/{error-boundary-BNT2iQ1w.js → error-boundary-BxTqEXqj.js} +2 -2
  67. package/dist/_chunks/euro-Dsuz4ixO.js +22 -0
  68. package/dist/_chunks/{face-scheme-mIhwrQXt.js → face-scheme-fku-RShg.js} +71 -71
  69. package/dist/_chunks/{fetal-weight-wx4ycKc6.js → fetal-weight-B69yOS9W.js} +3 -3
  70. package/dist/_chunks/{field-array-BW9KeeXG.js → field-array-lIXrFWS0.js} +3 -3
  71. package/dist/_chunks/file-BuG1VMAy.js +21 -0
  72. package/dist/_chunks/{file-Cwe9VC1A.js → file-image-cDgE-BTy.js} +2 -19
  73. package/dist/_chunks/{file-manager-DOcJGIx2.js → file-manager-CqgxLqoA.js} +15 -14
  74. package/dist/_chunks/{file-upload-BDpb08GM.js → file-upload-B242a_Y1.js} +53 -52
  75. package/dist/_chunks/{finished-terminal-DJd7Z_po.js → finished-terminal-B2oqXO0Y.js} +2 -2
  76. package/dist/_chunks/fiscal-code-input-BEF8eKIG.js +572 -0
  77. package/dist/_chunks/{freemium-paywall-BaW5ODc9.js → freemium-paywall-B6JITu4l.js} +2 -2
  78. package/dist/_chunks/{gestational-age-calculator-CwbecTul.js → gestational-age-calculator-DsGN6_HS.js} +5 -5
  79. package/dist/_chunks/handled-rejection-6gqCf5vt.js +13 -0
  80. package/dist/_chunks/{hcg-doubling-BcXriXJe.js → hcg-doubling-D2SH-e7t.js} +3 -3
  81. package/dist/_chunks/{header-3o9o9v_T.js → header-CCjp5GvE.js} +2 -2
  82. package/dist/_chunks/{header-settings-BEfx_-TF.js → header-settings-ZXa6hXuu.js} +5 -5
  83. package/dist/_chunks/{help-me-write-templates-DHIwa4xR.js → help-me-write-templates-DQtT1qs_.js} +5 -5
  84. package/dist/_chunks/history-CK2JaU2g.js +16 -0
  85. package/dist/_chunks/{hover-card-nUae8NPJ.js → hover-card-BplP5SzQ.js} +2 -2
  86. package/dist/_chunks/{icon-button-CehAeZoP.js → icon-button-CY7GU_Se.js} +2 -2
  87. package/dist/_chunks/icon-button-group-B_426QN_.js +431 -0
  88. package/dist/_chunks/{icon-picker-DMEelg9v.js → icon-picker-ZLebyB0U.js} +3 -3
  89. package/dist/_chunks/{image-cropper-BjPjT7wU.js → image-cropper-_HiNN79d.js} +2 -2
  90. package/dist/_chunks/{info-tip-iP2Pm9dh.js → info-tip-laBxZhKu.js} +2 -2
  91. package/dist/_chunks/{insert-result-DPnOBD85.js → insert-result-CSuPQyKL.js} +2 -2
  92. package/dist/_chunks/{key-value-pair-DaQI_LZB.js → key-value-pair-Dcdl3Gni.js} +2 -2
  93. package/dist/_chunks/{kit-extensions-DuoFF1R3.js → kit-extensions-BTJSnM_H.js} +6 -6
  94. package/dist/_chunks/{link-cell-renderer-s3oHzOwi.js → link-cell-renderer-Tswqf6BT.js} +7 -7
  95. package/dist/_chunks/{locale-picker-CH3kfrIG.js → locale-picker-DGkQmhV9.js} +170 -180
  96. package/dist/_chunks/{map-view-CHw4RL6w.js → map-view-Bb7ClKSF.js} +2 -2
  97. package/dist/_chunks/{marketplace-app-shell-PB89Dkk_.js → marketplace-app-shell-Dehuxbi-.js} +6 -6
  98. package/dist/_chunks/menu-row-BAr8bx1I.js +95 -0
  99. package/dist/_chunks/{message-card-V3sFPiQI.js → message-card-DKOtnBHy.js} +3 -3
  100. package/dist/_chunks/{message-tray-CrRIHfiQ.js → message-tray-COMEtmyr.js} +4 -4
  101. package/dist/_chunks/{multi-select-CtPd7g4x.js → multi-select-N4Smh-gj.js} +114 -113
  102. package/dist/_chunks/{muscle-scheme-UVz_x4iE.js → muscle-scheme-Co0NIgbU.js} +3 -3
  103. package/dist/_chunks/{note-attachment-CwDir3kK.js → note-attachment-CGjNTrAC.js} +2 -2
  104. package/dist/_chunks/{note-timeline-Dn_XTo1s.js → note-timeline-CVnKL0p6.js} +2 -2
  105. package/dist/_chunks/notes-panel-BiOxZL_0.js +1111 -0
  106. package/dist/_chunks/{notification-card-B2gLO6dK.js → notification-card-DDzBCi8l.js} +3 -3
  107. package/dist/_chunks/{notification-tray-BOEKegVV.js → notification-tray-PnH2PBlZ.js} +4 -4
  108. package/dist/_chunks/{operator-hero-XIdwDmN2.js → operator-hero-5061fkY5.js} +3 -3
  109. package/dist/_chunks/{optical-prescription-LGgmtcST.js → optical-prescription-DUufWXfZ.js} +3 -3
  110. package/dist/_chunks/{pagination-EkD5SiCK.js → pagination-B0N2qGy_.js} +83 -82
  111. package/dist/_chunks/panel-subview-CzHutkA8.js +217 -0
  112. package/dist/_chunks/{patient-details-yrgkSeEY.js → patient-details-C23Hdm8v.js} +3 -3
  113. package/dist/_chunks/{patient-field-row-DCMkFGqI.js → patient-field-row-DElFbpKc.js} +12 -12
  114. package/dist/_chunks/{patient-search-5QcmQKJD.js → patient-search-DgXdGkhK.js} +4 -4
  115. package/dist/_chunks/{patient-summary-card-CmEFflGS.js → patient-summary-card-C36L3h7h.js} +7 -7
  116. package/dist/_chunks/{payment-automation-upsell-BKmBXU4i.js → payment-automation-upsell-ugi4np1l.js} +3 -3
  117. package/dist/_chunks/{payment-request-card-Cer6XXCn.js → payment-request-card-DMJB57Tv.js} +5 -5
  118. package/dist/_chunks/{periodontal-chart-DJoZS_o7.js → periodontal-chart-DbGzKDj7.js} +2 -2
  119. package/dist/_chunks/{periodontal-chart-card-Nd1ZoYWb.js → periodontal-chart-card-DvHyP47v.js} +3 -3
  120. package/dist/_chunks/{periodontal-diagnosis-C7pfPOct.js → periodontal-diagnosis-B8WqI0eU.js} +2 -2
  121. package/dist/_chunks/{periodontal-risk-chart-B2tNFa15.js → periodontal-risk-chart-DsFRFFSz.js} +2 -2
  122. package/dist/_chunks/{phone-input-IWrGOCwm.js → phone-input-sQj-zi59.js} +85 -86
  123. package/dist/_chunks/{popover-DO-pssF3.js → popover-Dvb40vPH.js} +2 -2
  124. package/dist/_chunks/{practice-profile-hero-DxoLlQr5.js → practice-profile-hero-CPy5h2yI.js} +2 -2
  125. package/dist/_chunks/{practice-results-D11Zpt27.js → practice-results-t2BHht91.js} +7 -7
  126. package/dist/_chunks/{pregnancy-dating-DcyV9ZRD.js → pregnancy-dating-lfjjZVZH.js} +5 -5
  127. package/dist/_chunks/{pregnancy-weight-gain-Bfq4Kwt5.js → pregnancy-weight-gain-WpNt-S0q.js} +3 -3
  128. package/dist/_chunks/{privacy-lock-CbFCAMM3.js → privacy-lock-D6gq0GDg.js} +3 -3
  129. package/dist/_chunks/privacy-mask-BC5lw2zB.js +81 -0
  130. package/dist/_chunks/{product-hub-panel-w40-_-1s.js → product-hub-panel-CKeSCSeE.js} +3 -3
  131. package/dist/_chunks/{province-select-BaUnkg4S.js → province-select-BiszMRRY.js} +2 -2
  132. package/dist/_chunks/{public-header.agent-D-EBVskf.js → public-header.agent-B9wDmUeB.js} +3 -3
  133. package/dist/_chunks/{radiograph-panel.agent-LrILY2lN.js → radiograph-panel.agent-TmyIvTOa.js} +6 -6
  134. package/dist/_chunks/{reviews-panel-2GVuxGeT.js → reviews-panel-BdwFp_0c.js} +4 -4
  135. package/dist/_chunks/{rich-text-editor-BwDV2XkZ.js → rich-text-editor-y6ML0KeV.js} +12 -11
  136. package/dist/_chunks/{search-bar-CCmViqaa.js → search-bar-6bHatpYJ.js} +69 -67
  137. package/dist/_chunks/{select-CLSUnKjF.js → select-upNAltly.js} +89 -88
  138. package/dist/_chunks/{session-countdown-BqppPrw6.js → session-countdown-ACJyTXH2.js} +2 -2
  139. package/dist/_chunks/{sheet-C8WIDFS8.js → sheet-D0Lh0KR2.js} +2 -2
  140. package/dist/_chunks/{sign-in-with-alfadocs-button-DWwBJtyE.js → sign-in-with-alfadocs-button-CDyJAIzW.js} +2 -2
  141. package/dist/_chunks/{signature-request-D_j2aQu1.js → signature-request-15D363w5.js} +6 -6
  142. package/dist/_chunks/{signature-status-chip-D4NsrdeI.js → signature-status-chip-Dz6sS2oA.js} +2 -2
  143. package/dist/_chunks/{slot-grid-B3eOPkKD.js → slot-grid-4fWH3Euk.js} +4 -4
  144. package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
  145. package/dist/_chunks/{streaming-text-CE1u_oGa.js → streaming-text-eRiizArc.js} +2 -2
  146. package/dist/_chunks/{tab-bar-Cw9UK18Z.js → tab-bar-BHFf6knq.js} +9 -9
  147. package/dist/_chunks/{tabs-BnRaLT0y.js → tabs-CFsuMQ5H.js} +82 -81
  148. package/dist/_chunks/{tag-Ci3xJPcH.js → tag-B65tLWvD.js} +24 -21
  149. package/dist/_chunks/{task-card-qTKD1fIT.js → task-card-CTTQfPS6.js} +72 -55
  150. package/dist/_chunks/task-editor-DlvTwAfv.js +1243 -0
  151. package/dist/_chunks/{task-tray-DIwjAIes.js → task-tray-JA-qp_pB.js} +4 -4
  152. package/dist/_chunks/tasks-panel-C_dVDQKJ.js +1243 -0
  153. package/dist/_chunks/{theme-toggle-BP0XRGMM.js → theme-toggle-LUBxlNDm.js} +4 -4
  154. package/dist/_chunks/{toast-ZZfhA5u0.js → toast-CT8hjr9r.js} +2 -2
  155. package/dist/_chunks/{token-insert-menu-A9B5AJw6.js → token-insert-menu-klwbxVKh.js} +3 -3
  156. package/dist/_chunks/{tool-rail-CCFqDfAn.js → tool-rail-DEeX4PdN.js} +144 -137
  157. package/dist/_chunks/{tooth-scheme-DPAq0vQK.js → tooth-scheme-BkjhkI8g.js} +4 -4
  158. package/dist/_chunks/{treatment-receipt-DU0OewqH.js → treatment-receipt-C-gWZ6uv.js} +3 -3
  159. package/dist/_chunks/{unit-converter-C-LpGzrN.js → unit-converter-Dp_KDxE6.js} +3 -3
  160. package/dist/_chunks/use-appointment-details-read-D2FH-cHF.js +2045 -0
  161. package/dist/_chunks/use-list-reflow-C7O4Uqnl.js +133 -0
  162. package/dist/_chunks/use-priority-overflow-Cdmb5EiR.js +108 -0
  163. package/dist/_chunks/{variables-menu-vXUaSBj4.js → variables-menu-aJLKJ_cu.js} +127 -136
  164. package/dist/_chunks/{warning-stack-C0glSB7p.js → warning-stack-CEgYkI1z.js} +3 -3
  165. package/dist/_chunks/{widget-picker-B1sj6uyf.js → widget-picker-CilQvcNL.js} +2 -2
  166. package/dist/_chunks/{workflow-map-DhR_h5yw.js → workflow-map-qGkQTNvS.js} +30 -29
  167. package/dist/_chunks/{workflow-status-CuJAOuKL.js → workflow-status-ClHfz4Kr.js} +209 -167
  168. package/dist/agent-catalog.json +371 -26
  169. package/dist/agent-i18n/en.json +41 -9
  170. package/dist/components/_shared/appointment-format.d.ts +52 -0
  171. package/dist/{patterns/calendar/calendar-editor-fields.d.ts → components/_shared/compact-editor-fields.d.ts} +6 -5
  172. package/dist/components/_shared/handled-rejection.d.ts +2 -0
  173. package/dist/components/_shared/menu-row.d.ts +17 -0
  174. package/dist/components/_shared/patient-identity.d.ts +7 -0
  175. package/dist/components/_shared/patient-picker.d.ts +24 -0
  176. package/dist/components/_shared/privacy-mask.d.ts +29 -0
  177. package/dist/components/address-autocomplete/index.js +1 -1
  178. package/dist/components/address-fields/index.js +1 -1
  179. package/dist/components/agenda-card/index.js +1 -1
  180. package/dist/components/agenda-tray/index.js +1 -1
  181. package/dist/components/ai-credits-notice/index.js +1 -1
  182. package/dist/components/ai-permission-notice/index.js +1 -1
  183. package/dist/components/ai-prompt-input/index.js +1 -1
  184. package/dist/components/anamnesis-card/index.js +1 -1
  185. package/dist/components/anamnesis-summary-card/index.js +1 -1
  186. package/dist/components/appointment-card/index.js +2 -2
  187. package/dist/components/appointment-details-panel/appointment-details-panel.agent.d.ts +4 -0
  188. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +134 -0
  189. package/dist/components/appointment-details-panel/appointment-details-panel.focus.d.ts +7 -0
  190. package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +12 -0
  191. package/dist/components/appointment-details-panel/appointment-details-panel.identity.d.ts +41 -0
  192. package/dist/{patterns/calendar/calendar-info-hover.d.ts → components/appointment-details-panel/appointment-details-panel.info-hover.d.ts} +1 -1
  193. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +51 -0
  194. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +326 -0
  195. package/dist/components/appointment-details-panel/index.d.ts +8 -0
  196. package/dist/components/appointment-details-panel/index.js +8 -0
  197. package/dist/components/appointment-details-panel/use-appointment-details-read.d.ts +32 -0
  198. package/dist/components/appointment-peek/index.js +1 -1
  199. package/dist/components/appointment-timeline/index.js +1 -1
  200. package/dist/components/audio-recorder/index.js +1 -1
  201. package/dist/components/autocomplete/index.js +1 -1
  202. package/dist/components/badge/index.js +1 -1
  203. package/dist/components/bishop-score/index.js +1 -1
  204. package/dist/components/bmi-calculator/index.js +1 -1
  205. package/dist/components/booking/index.js +1 -1
  206. package/dist/components/breadcrumb/index.js +1 -1
  207. package/dist/components/button/button.d.ts +2 -1
  208. package/dist/components/button/index.js +2 -2
  209. package/dist/components/button-group/button-group.d.ts +19 -2
  210. package/dist/components/button-group/index.js +1 -1
  211. package/dist/components/calendar/calendar.d.ts +5 -1
  212. package/dist/components/calendar/index.js +1 -1
  213. package/dist/components/calendar-event-card/index.js +1 -1
  214. package/dist/components/care-plan-card/index.js +1 -1
  215. package/dist/components/care-plan-entry-card/index.js +1 -1
  216. package/dist/components/care-plan-header/index.js +1 -1
  217. package/dist/components/carousel/index.js +1 -1
  218. package/dist/components/chart/index.js +1 -1
  219. package/dist/components/chat-input/index.js +1 -1
  220. package/dist/components/chat-message/index.js +1 -1
  221. package/dist/components/city-input/index.js +1 -1
  222. package/dist/components/clinical-note-card/clinical-note-card.d.ts +13 -5
  223. package/dist/components/clinical-note-card/index.js +1 -1
  224. package/dist/components/combobox/combobox.d.ts +9 -4
  225. package/dist/components/combobox/index.js +1 -1
  226. package/dist/components/command-palette/index.js +1 -1
  227. package/dist/components/connection-status/index.js +1 -1
  228. package/dist/components/contact-profile-card/index.js +1 -1
  229. package/dist/components/control-room-rail/control-room-rail.d.ts +14 -3
  230. package/dist/components/control-room-rail/index.js +1 -1
  231. package/dist/components/copy-field/index.js +1 -1
  232. package/dist/components/country-select/index.js +1 -1
  233. package/dist/components/cycle-calculator/index.js +1 -1
  234. package/dist/components/dashboard-grid/index.js +1 -1
  235. package/dist/components/data-table/index.js +4 -4
  236. package/dist/components/data-table-tabs/index.js +1 -1
  237. package/dist/components/dependent-selector/index.js +1 -1
  238. package/dist/components/description-list/index.js +1 -1
  239. package/dist/components/document-preview/index.js +1 -1
  240. package/dist/components/document-scanner/index.js +1 -1
  241. package/dist/components/dropdown-menu/index.js +1 -1
  242. package/dist/components/due-date-calculator/index.js +2 -2
  243. package/dist/components/editable-description/index.js +1 -1
  244. package/dist/components/editor-overlay/index.js +1 -1
  245. package/dist/components/empty-state/index.js +1 -1
  246. package/dist/components/entity-summary/index.js +1 -1
  247. package/dist/components/error-boundary/index.js +1 -1
  248. package/dist/components/face-scheme/index.js +1 -1
  249. package/dist/components/fetal-weight/index.js +1 -1
  250. package/dist/components/field-array/index.js +1 -1
  251. package/dist/components/file-manager/index.js +1 -1
  252. package/dist/components/file-upload/index.js +1 -1
  253. package/dist/components/finished-terminal/index.js +1 -1
  254. package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +7 -0
  255. package/dist/components/fiscal-code-input/index.d.ts +1 -1
  256. package/dist/components/fiscal-code-input/index.js +8 -7
  257. package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +19 -4
  258. package/dist/components/freemium-paywall/index.js +1 -1
  259. package/dist/components/gestational-age-calculator/index.js +1 -1
  260. package/dist/components/hcg-doubling/index.js +1 -1
  261. package/dist/components/header/index.js +1 -1
  262. package/dist/components/header-settings/index.js +1 -1
  263. package/dist/components/hover-card/index.js +1 -1
  264. package/dist/components/icon-button/index.js +1 -1
  265. package/dist/components/icon-button-group/index.js +1 -1
  266. package/dist/components/icon-picker/index.js +1 -1
  267. package/dist/components/image-cropper/index.js +1 -1
  268. package/dist/components/index.d.ts +2 -0
  269. package/dist/components/info-tip/index.js +1 -1
  270. package/dist/components/key-value-pair/index.js +1 -1
  271. package/dist/components/locale-picker/index.js +1 -1
  272. package/dist/components/map-view/index.js +1 -1
  273. package/dist/components/message-card/index.js +1 -1
  274. package/dist/components/message-tray/index.js +1 -1
  275. package/dist/components/multi-select/index.js +1 -1
  276. package/dist/components/muscle-scheme/index.js +1 -1
  277. package/dist/components/note-timeline/index.js +1 -1
  278. package/dist/components/notes-panel/index.d.ts +1 -1
  279. package/dist/components/notes-panel/index.js +1 -1
  280. package/dist/components/notes-panel/notes-panel.d.ts +102 -26
  281. package/dist/components/notification-card/index.js +1 -1
  282. package/dist/components/notification-tray/index.js +1 -1
  283. package/dist/components/operator-hero/index.js +1 -1
  284. package/dist/components/optical-prescription/index.js +1 -1
  285. package/dist/components/pagination/index.js +1 -1
  286. package/dist/components/panel-subview/index.js +1 -1
  287. package/dist/components/patient-details/index.js +1 -1
  288. package/dist/components/patient-search/index.js +1 -1
  289. package/dist/components/patient-summary-card/index.js +1 -1
  290. package/dist/components/patient-table/index.js +1 -1
  291. package/dist/components/payment-card/index.js +1 -1
  292. package/dist/components/periodontal-chart/index.js +1 -1
  293. package/dist/components/periodontal-chart-card/index.js +1 -1
  294. package/dist/components/periodontal-diagnosis/index.js +1 -1
  295. package/dist/components/periodontal-risk-chart/index.js +1 -1
  296. package/dist/components/phone-input/index.js +1 -1
  297. package/dist/components/popover/index.js +1 -1
  298. package/dist/components/practice-profile-hero/index.js +1 -1
  299. package/dist/components/practice-results/index.js +1 -1
  300. package/dist/components/pregnancy-dating/index.js +1 -1
  301. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  302. package/dist/components/privacy-lock/index.js +1 -1
  303. package/dist/components/product-hub-tray/index.js +1 -1
  304. package/dist/components/province-select/index.js +1 -1
  305. package/dist/components/public-header/index.js +1 -1
  306. package/dist/components/radiograph-panel/index.js +1 -1
  307. package/dist/components/reviews-panel/index.js +1 -1
  308. package/dist/components/rich-text-editor/index.js +2 -2
  309. package/dist/components/search-bar/index.js +1 -1
  310. package/dist/components/select/index.js +1 -1
  311. package/dist/components/session-countdown/index.js +1 -1
  312. package/dist/components/sheet/index.js +1 -1
  313. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  314. package/dist/components/signature-field/signature-field.d.ts +1 -1
  315. package/dist/components/signature-status-chip/index.js +1 -1
  316. package/dist/components/skeleton-scheme/index.js +17 -17
  317. package/dist/components/slot-grid/index.js +1 -1
  318. package/dist/components/streaming-text/index.js +1 -1
  319. package/dist/components/tab-bar/index.js +1 -1
  320. package/dist/components/tabs/index.js +1 -1
  321. package/dist/components/tag/index.js +1 -1
  322. package/dist/components/task-card/index.js +1 -1
  323. package/dist/components/task-card/task-card.d.ts +6 -0
  324. package/dist/components/task-editor/index.d.ts +4 -0
  325. package/dist/components/task-editor/index.js +6 -0
  326. package/dist/components/task-editor/task-editor.agent.d.ts +4 -0
  327. package/dist/components/task-editor/task-editor.d.ts +240 -0
  328. package/dist/components/task-editor/use-task-editor-form.d.ts +101 -0
  329. package/dist/components/task-tray/index.js +1 -1
  330. package/dist/components/tasks-panel/index.d.ts +1 -1
  331. package/dist/components/tasks-panel/index.js +1 -1
  332. package/dist/components/tasks-panel/tasks-panel.d.ts +84 -12
  333. package/dist/components/theme-toggle/index.js +1 -1
  334. package/dist/components/toast/index.js +1 -1
  335. package/dist/components/token-insert-menu/index.js +1 -1
  336. package/dist/components/tool-rail/index.js +1 -1
  337. package/dist/components/tooth-scheme/index.js +1 -1
  338. package/dist/components/treatment-receipt/index.js +1 -1
  339. package/dist/components/unit-converter/index.js +1 -1
  340. package/dist/components/variables-menu/index.js +1 -1
  341. package/dist/components/warning-stack/index.js +1 -1
  342. package/dist/components/widget-picker/index.js +1 -1
  343. package/dist/components/workflow/index.js +1 -1
  344. package/dist/components/workflow-status/appointment-workflow-status.d.ts +55 -0
  345. package/dist/components/workflow-status/index.d.ts +2 -0
  346. package/dist/components/workflow-status/index.js +7 -2
  347. package/dist/components/workflow-status/workflow-status.d.ts +35 -0
  348. package/dist/hooks/index.js +2 -2
  349. package/dist/hooks/use-exit-transition.d.ts +5 -0
  350. package/dist/hooks/use-priority-overflow.d.ts +11 -2
  351. package/dist/host-compat.css +7 -1
  352. package/dist/i18n/locales/ar.d.ts +29 -10
  353. package/dist/i18n/locales/ar.js +33 -14
  354. package/dist/i18n/locales/de.d.ts +29 -10
  355. package/dist/i18n/locales/de.js +33 -14
  356. package/dist/i18n/locales/el.d.ts +29 -10
  357. package/dist/i18n/locales/el.js +33 -14
  358. package/dist/i18n/locales/en.d.ts +29 -10
  359. package/dist/i18n/locales/en.js +33 -14
  360. package/dist/i18n/locales/es.d.ts +29 -10
  361. package/dist/i18n/locales/es.js +33 -14
  362. package/dist/i18n/locales/fr.d.ts +29 -10
  363. package/dist/i18n/locales/fr.js +33 -14
  364. package/dist/i18n/locales/hi.d.ts +29 -10
  365. package/dist/i18n/locales/hi.js +33 -14
  366. package/dist/i18n/locales/it.d.ts +29 -10
  367. package/dist/i18n/locales/it.js +33 -14
  368. package/dist/i18n/locales/ja.d.ts +29 -10
  369. package/dist/i18n/locales/ja.js +33 -14
  370. package/dist/i18n/locales/nl.d.ts +29 -10
  371. package/dist/i18n/locales/nl.js +33 -14
  372. package/dist/i18n/locales/pl.d.ts +29 -10
  373. package/dist/i18n/locales/pl.js +33 -14
  374. package/dist/i18n/locales/pt.d.ts +29 -10
  375. package/dist/i18n/locales/pt.js +33 -14
  376. package/dist/i18n/locales/ro.d.ts +29 -10
  377. package/dist/i18n/locales/ro.js +33 -14
  378. package/dist/i18n/locales/ru.d.ts +29 -10
  379. package/dist/i18n/locales/ru.js +33 -14
  380. package/dist/i18n/locales/sq.d.ts +29 -10
  381. package/dist/i18n/locales/sq.js +33 -14
  382. package/dist/i18n/locales/sv.d.ts +29 -10
  383. package/dist/i18n/locales/sv.js +33 -14
  384. package/dist/i18n/locales/tr.d.ts +29 -10
  385. package/dist/i18n/locales/tr.js +33 -14
  386. package/dist/i18n/locales/zh.d.ts +29 -10
  387. package/dist/i18n/locales/zh.js +33 -14
  388. package/dist/i18n/registerUiBundle.d.ts +5 -9
  389. package/dist/index.js +742 -728
  390. package/dist/locales/ar.json +33 -14
  391. package/dist/locales/de.json +33 -14
  392. package/dist/locales/el.json +33 -14
  393. package/dist/locales/en.json +33 -14
  394. package/dist/locales/es.json +33 -14
  395. package/dist/locales/fr.json +33 -14
  396. package/dist/locales/hi.json +33 -14
  397. package/dist/locales/it.json +33 -14
  398. package/dist/locales/ja.json +33 -14
  399. package/dist/locales/nl.json +33 -14
  400. package/dist/locales/pl.json +33 -14
  401. package/dist/locales/pt.json +33 -14
  402. package/dist/locales/ro.json +33 -14
  403. package/dist/locales/ru.json +33 -14
  404. package/dist/locales/sq.json +33 -14
  405. package/dist/locales/sv.json +33 -14
  406. package/dist/locales/tr.json +33 -14
  407. package/dist/locales/zh.json +33 -14
  408. package/dist/patterns/alia-assistant/index.js +1 -1
  409. package/dist/patterns/anamnesis/index.js +1 -1
  410. package/dist/patterns/calendar/calendar-appointment-details.d.ts +25 -95
  411. package/dist/patterns/calendar/calendar-patient-picker.d.ts +4 -3
  412. package/dist/patterns/calendar/calendar-privacy.d.ts +1 -22
  413. package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -13
  414. package/dist/patterns/calendar/calendar-task-editor.d.ts +9 -13
  415. package/dist/patterns/calendar/calendar-workspace.d.ts +79 -8
  416. package/dist/patterns/calendar/calendar-workspace.model.d.ts +17 -12
  417. package/dist/patterns/calendar/calendar.journey.d.ts +40 -6
  418. package/dist/patterns/calendar/calendar.model.d.ts +10 -17
  419. package/dist/patterns/calendar/calendar.sheets.d.ts +18 -16
  420. package/dist/patterns/calendar/calendar.types.d.ts +24 -100
  421. package/dist/patterns/calendar/index.d.ts +4 -3
  422. package/dist/patterns/calendar/index.js +1 -1
  423. package/dist/patterns/help-me-write-templates/index.js +1 -1
  424. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  425. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  426. package/dist/patterns/signature-request/index.js +1 -1
  427. package/dist/tokens.css +1 -1
  428. package/package.json +22 -5
  429. package/dist/_chunks/button-group-CA1tmu39.js +0 -325
  430. package/dist/_chunks/calendar-workspace-BmscntRR.js +0 -12528
  431. package/dist/_chunks/combobox-DnSdYssy.js +0 -522
  432. package/dist/_chunks/control-room-rail-CdBOXIqX.js +0 -366
  433. package/dist/_chunks/fiscal-code-input-ODQRd_Sw.js +0 -553
  434. package/dist/_chunks/icon-button-group-DZKC6KGf.js +0 -428
  435. package/dist/_chunks/notes-panel-CHbDDMx8.js +0 -683
  436. package/dist/_chunks/panel-subview-CYnuX-KR.js +0 -171
  437. package/dist/_chunks/tasks-panel-DncuBPIZ.js +0 -844
  438. package/dist/_chunks/use-list-reflow-Cw43nxw5.js +0 -100
  439. package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +0 -101
  440. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +0 -37
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as m, Fragment as V } from "react/jsx-runtime";
2
2
  import { forwardRef as M, useRef as k, useImperativeHandle as N, useMemo as _, useCallback as S } from "react";
3
3
  import { c as P } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as g } from "react-i18next";
5
- import { I as y } from "./icon-button-CehAeZoP.js";
6
- import { I as j } from "./icon-button-group-DZKC6KGf.js";
5
+ import { I as y } from "./icon-button-CY7GU_Se.js";
6
+ import { I as j } from "./icon-button-group-B_426QN_.js";
7
7
  import { S as K } from "./switch-OILsBLWo.js";
8
- import { D as o } from "./dropdown-menu-DU-Hrf33.js";
8
+ import { D as o } from "./dropdown-menu-C8PaW3lR.js";
9
9
  import { u as x } from "./use-theme-CAuo6EYT.js";
10
10
  import { u as z } from "./registry-DvAUVLHh.js";
11
11
  import { M as v, S as C } from "./sun-Bj9Mr553.js";
@@ -364,4 +364,4 @@ export {
364
364
  F as T,
365
365
  D as t
366
366
  };
367
- //# sourceMappingURL=theme-toggle-BP0XRGMM.js.map
367
+ //# sourceMappingURL=theme-toggle-LUBxlNDm.js.map
@@ -2,7 +2,7 @@ import { jsx as H, jsxs as Ht } from "react/jsx-runtime";
2
2
  import s, { useState as Ot, useRef as Zt, useEffect as jt } from "react";
3
3
  import te from "react-dom";
4
4
  import { useTranslation as ee } from "react-i18next";
5
- import { I as ae } from "./icon-button-CehAeZoP.js";
5
+ import { I as ae } from "./icon-button-CY7GU_Se.js";
6
6
  import { C as se } from "./circle-alert-rGDZ73Wh.js";
7
7
  import { T as ne } from "./triangle-alert-CBnO6nq_.js";
8
8
  import { C as oe } from "./circle-check-BN6rz4NV.js";
@@ -950,4 +950,4 @@ export {
950
950
  Ze as d,
951
951
  ea as t
952
952
  };
953
- //# sourceMappingURL=toast-ZZfhA5u0.js.map
953
+ //# sourceMappingURL=toast-CT8hjr9r.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as v, useState as O, useRef as w, useEffect as x, useMemo as y, Fragment as R } from "react";
3
- import { B as S } from "./button-CaUe1uyd.js";
4
- import { D as r } from "./dropdown-menu-DU-Hrf33.js";
3
+ import { B as S } from "./button-18oBsI3n.js";
4
+ import { D as r } from "./dropdown-menu-C8PaW3lR.js";
5
5
  import { u as C } from "./registry-DvAUVLHh.js";
6
6
  const K = {
7
7
  id: "token-insert-menu",
@@ -144,4 +144,4 @@ export {
144
144
  j as T,
145
145
  K as t
146
146
  };
147
- //# sourceMappingURL=token-insert-menu-A9B5AJw6.js.map
147
+ //# sourceMappingURL=token-insert-menu-klwbxVKh.js.map
@@ -1,14 +1,14 @@
1
1
  import { jsxs as R, jsx as g } from "react/jsx-runtime";
2
- import { forwardRef as ot, useRef as h, useState as S, useMemo as j, useId as lt, useCallback as z, useEffect as ie, useImperativeHandle as dt, Fragment as ct } from "react";
2
+ import { forwardRef as ot, useRef as h, useState as S, useMemo as j, useId as lt, useCallback as z, useEffect as re, useImperativeHandle as dt, Fragment as ct } from "react";
3
3
  import { c as A } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ut } from "react-i18next";
5
- import { I as ze } from "./icon-button-CehAeZoP.js";
5
+ import { I as ze } from "./icon-button-CY7GU_Se.js";
6
6
  import { S as ft } from "./scroll-area-BZOvUhwQ.js";
7
7
  import { a as pt } from "./tooltip-Cp-PLePW.js";
8
8
  import { u as vt } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as mt } from "./use-edge-resize-BHesP0kg.js";
10
10
  import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
- import { a as gt, u as Ne, R as bt } from "./use-list-reflow-Cw43nxw5.js";
11
+ import { a as gt, u as Ne, R as bt } from "./use-list-reflow-C7O4Uqnl.js";
12
12
  import { u as ht } from "./use-prefers-reduced-motion-BMwIQRjB.js";
13
13
  import { u as yt } from "./use-presence-transition-cDwWUXV-.js";
14
14
  import { u as It } from "./use-theme-CAuo6EYT.js";
@@ -40,8 +40,8 @@ const wt = {
40
40
  descriptionKey: "ui.toolRail.agent.actions.open",
41
41
  description: "Open the given tool's panel.",
42
42
  examples: [{ args: { id: "inbox" }, note: "Open the inbox tool panel." }],
43
- invoke: (l, s) => {
44
- l.open(s.id);
43
+ invoke: (l, n) => {
44
+ l.open(n.id);
45
45
  }
46
46
  },
47
47
  close: {
@@ -64,8 +64,8 @@ const wt = {
64
64
  idempotent: !0,
65
65
  descriptionKey: "ui.toolRail.agent.actions.selectTool",
66
66
  description: "Set the active tool by id (opens its panel), or pass null to collapse.",
67
- invoke: (l, s) => {
68
- l.setActiveTool(s.id);
67
+ invoke: (l, n) => {
68
+ l.setActiveTool(n.id);
69
69
  }
70
70
  }
71
71
  },
@@ -169,26 +169,26 @@ const wt = {
169
169
  "data-testid"
170
170
  ];
171
171
  function Ct(l) {
172
- return window.getComputedStyle(l).transitionDuration.split(",").some((s) => Number.parseFloat(s) > 0);
172
+ return window.getComputedStyle(l).transitionDuration.split(",").some((n) => Number.parseFloat(n) > 0);
173
173
  }
174
174
  function Vt(l) {
175
- const s = l.cloneNode(!0), U = l.querySelectorAll("*"), P = s.querySelectorAll("*"), q = [];
175
+ const n = l.cloneNode(!0), U = l.querySelectorAll("*"), q = n.querySelectorAll("*"), P = [];
176
176
  return U.forEach((d, N) => {
177
177
  var F;
178
- const f = P[N];
179
- if (f && ((d.scrollTop !== 0 || d.scrollLeft !== 0) && q.push([f, d.scrollTop, d.scrollLeft]), d instanceof HTMLCanvasElement && f instanceof HTMLCanvasElement))
178
+ const f = q[N];
179
+ if (f && ((d.scrollTop !== 0 || d.scrollLeft !== 0) && P.push([f, d.scrollTop, d.scrollLeft]), d instanceof HTMLCanvasElement && f instanceof HTMLCanvasElement))
180
180
  try {
181
181
  (F = f.getContext("2d")) == null || F.drawImage(d, 0, 0);
182
182
  } catch {
183
183
  }
184
- }), P.forEach((d) => {
184
+ }), q.forEach((d) => {
185
185
  const N = d instanceof SVGElement;
186
186
  for (const f of Dt)
187
187
  N && f === "id" || d.removeAttribute(f);
188
188
  if (d.matches("iframe, video, audio, embed, object, source"))
189
189
  for (const f of ["src", "srcdoc", "data", "autoplay"])
190
190
  d.removeAttribute(f);
191
- }), { nodes: Array.from(s.childNodes), scrolls: q };
191
+ }), { nodes: Array.from(n.childNodes), scrolls: P };
192
192
  }
193
193
  const Bt = A(
194
194
  [
@@ -253,16 +253,16 @@ const Bt = A(
253
253
  "ds:transition-opacity ds:duration-[var(--animation-duration)]",
254
254
  "ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none"
255
255
  ].join(" ");
256
- function Pt(l, s) {
257
- return l > 99 ? s : String(l);
256
+ function qt(l, n) {
257
+ return l > 99 ? n : String(l);
258
258
  }
259
- const qt = ot(
259
+ const Pt = ot(
260
260
  ({
261
261
  id: l,
262
- tools: s,
262
+ tools: n,
263
263
  activeToolId: U,
264
- defaultActiveToolId: P = null,
265
- onActiveToolChange: q,
264
+ defaultActiveToolId: q = null,
265
+ onActiveToolChange: P,
266
266
  side: d = "end",
267
267
  railLabel: N,
268
268
  resizablePanel: f = !1,
@@ -271,56 +271,63 @@ const qt = ot(
271
271
  onReorder: K,
272
272
  formatReorderAnnouncement: W,
273
273
  renderToolAffordance: Z,
274
- renderPanelHeader: oe,
274
+ renderPanelHeader: ie,
275
275
  dataComponent: Me = "tool-rail",
276
- agentAdapter: Pe = wt,
277
- className: qe
276
+ agentAdapter: qe = wt,
277
+ className: Pe
278
278
  }, Fe) => {
279
- var Ae, Ee, ke;
279
+ var Ee, ke;
280
280
  const { t: y } = ut(), [Ke, I] = vt({
281
281
  value: U,
282
- defaultValue: P,
283
- onChange: q
284
- }), x = Ke ?? null, G = h([]), D = h(null), [Y, X] = S(0), E = h(!1), J = h(!1), w = j(
285
- () => s.findIndex((e) => e.id === x),
286
- [s, x]
287
- ), u = w >= 0 ? s[w] : null, Q = h(u);
288
- u && (Q.current = u);
282
+ defaultValue: q,
283
+ onChange: P
284
+ }), x = Ke ?? null, G = h([]), D = h(null), [oe, Y] = S(0), E = h(!1), X = h(!1), w = j(
285
+ () => n.findIndex((e) => e.id === x),
286
+ [n, x]
287
+ ), u = w >= 0 ? n[w] : null, J = h(u);
288
+ u && (J.current = u);
289
289
  const Oe = j(
290
- () => s.findIndex((e) => !e.disabled),
291
- [s]
290
+ () => n.findIndex((e) => !e.disabled),
291
+ [n]
292
292
  ), le = j(() => {
293
293
  var t;
294
- const e = (t = s[0]) == null ? void 0 : t.scope;
295
- return e ? s.findIndex((a) => a.scope && a.scope !== e) : -1;
296
- }, [s]), $e = le > 0, p = j(() => {
294
+ const e = (t = n[0]) == null ? void 0 : t.scope;
295
+ return e ? n.findIndex((a) => a.scope && a.scope !== e) : -1;
296
+ }, [n]), $e = le > 0, p = j(() => {
297
297
  var a;
298
- const e = s.findIndex((n) => n.reorderable);
298
+ const e = n.findIndex((s) => s.reorderable);
299
299
  if (e < 0) return null;
300
300
  let t = e;
301
- for (; t + 1 < s.length && ((a = s[t + 1]) != null && a.reorderable); ) t += 1;
301
+ for (; t + 1 < n.length && ((a = n[t + 1]) != null && a.reorderable); ) t += 1;
302
302
  return { first: e, last: t };
303
- }, [s]), de = !!K && p !== null, He = lt(), [C, ee] = S(null), [ce, O] = S(null), { resolvedTheme: Ue } = It(), k = Ue.endsWith("-accessible") || void 0, { containerRef: We } = gt({
304
- key: s.map((e) => e.id).join(),
303
+ }, [n]), de = !!K && p !== null, He = lt(), [C, Q] = S(null), [ce, O] = S(null), { resolvedTheme: Ue } = It(), k = Ue.endsWith("-accessible") || void 0, { containerRef: We } = gt({
304
+ key: n.map((e) => e.id).join(),
305
305
  reduceMotion: k
306
- }), te = Ne({ reduceMotion: k }), ae = yt(
306
+ }), ee = Ne({ reduceMotion: k }), te = yt(
307
307
  u !== null,
308
308
  { reduceMotion: k }
309
- ), T = u === null && ae.mounted, b = u ?? (T ? Q.current : null), { ref: ue } = ae, Ze = z(
309
+ ), T = u === null && te.mounted, b = u ?? (T ? J.current : null), { ref: ue } = te, Ze = z(
310
310
  (e) => {
311
311
  D.current = e, ue(e);
312
312
  },
313
313
  [ue]
314
314
  );
315
315
  M(() => {
316
- var a, n;
316
+ var a;
317
317
  const e = D.current;
318
318
  if (!e) return;
319
319
  const t = document.activeElement;
320
320
  if (T && t instanceof HTMLElement && e.contains(t)) {
321
- const i = (a = Q.current) == null ? void 0 : a.id, o = i ? (n = _.current) == null ? void 0 : n.querySelector(
322
- `[data-tool-id="${CSS.escape(i)}"]`
323
- ) : null;
321
+ const s = (a = J.current) == null ? void 0 : a.id, r = _.current, o = (s ? r == null ? void 0 : r.querySelector(
322
+ `[data-tool-id="${CSS.escape(s)}"]`
323
+ ) : null) ?? /* The tool left the strip with its panel (a host removed it as it
324
+ closed): the strip's tab stop, else its first enabled icon, so
325
+ focus never drops to <body>. */
326
+ (r == null ? void 0 : r.querySelector(
327
+ '[data-tool-id][tabindex="0"]'
328
+ )) ?? (r == null ? void 0 : r.querySelector(
329
+ "[data-tool-id]:not(:disabled)"
330
+ ));
324
331
  t.blur(), e.setAttribute("inert", ""), o == null || o.focus();
325
332
  return;
326
333
  }
@@ -338,14 +345,14 @@ const qt = ot(
338
345
  let e = 0;
339
346
  const t = () => pe(v), a = requestAnimationFrame(() => {
340
347
  e = requestAnimationFrame(t);
341
- }), n = window.setTimeout(t, 64);
348
+ }), s = window.setTimeout(t, 64);
342
349
  return () => {
343
- cancelAnimationFrame(a), cancelAnimationFrame(e), window.clearTimeout(n);
350
+ cancelAnimationFrame(a), cancelAnimationFrame(e), window.clearTimeout(s);
344
351
  };
345
352
  }, [v, $, H]);
346
353
  const Ge = !!k || fe, ve = h(null), [c, me] = S({ liveId: v, serial: 0, focusLost: !1, leaving: [] });
347
354
  if (c.liveId !== v) {
348
- const e = c.liveId !== null && v !== null ? ((Ae = ve.current) == null ? void 0 : Ae.querySelector(
355
+ const e = c.liveId !== null && v !== null ? ((Ee = ve.current) == null ? void 0 : Ee.querySelector(
349
356
  ':scope > [data-tool-rail-layer="live"]'
350
357
  )) ?? null : null, t = c.leaving.filter(
351
358
  (a) => a.toolId !== v
@@ -375,11 +382,11 @@ const qt = ot(
375
382
  reduceMotion: k,
376
383
  durationMs: Nt
377
384
  });
378
- ie(() => {
385
+ re(() => {
379
386
  for (const { exitId: e } of c.leaving)
380
387
  ge(e, () => V(e));
381
388
  }, [c.leaving, ge, V]);
382
- const Ye = b ? c.leaving : [], Xe = ((Ee = c.leaving[c.leaving.length - 1]) == null ? void 0 : Ee.exitId) ?? null, be = h(c.leaving);
389
+ const Ye = b ? c.leaving : [], Xe = ((ke = c.leaving[c.leaving.length - 1]) == null ? void 0 : ke.exitId) ?? null, be = h(c.leaving);
383
390
  be.current = c.leaving;
384
391
  const Je = z(
385
392
  (e) => {
@@ -393,8 +400,8 @@ const qt = ot(
393
400
  return;
394
401
  }
395
402
  e.setAttribute("inert", ""), e.append(...t.nodes);
396
- for (const [a, n, i] of t.scrolls)
397
- a.scrollTop = n, a.scrollLeft = i;
403
+ for (const [a, s, r] of t.scrolls)
404
+ a.scrollTop = s, a.scrollLeft = r;
398
405
  }
399
406
  },
400
407
  [V]
@@ -407,27 +414,27 @@ const qt = ot(
407
414
  `[data-tool-id="${CSS.escape(v)}"]`
408
415
  )) == null || a.focus();
409
416
  }, [c.serial]);
410
- const [Qe, he] = S([]), ye = h(s);
411
- ie(() => {
412
- const e = ye.current, t = new Set(s.map((n) => n.id)), a = e.filter((n) => !t.has(n.id));
417
+ const [Qe, he] = S([]), ye = h(n);
418
+ re(() => {
419
+ const e = ye.current, t = new Set(n.map((s) => s.id)), a = e.filter((s) => !t.has(s.id));
413
420
  if (a.length > 0) {
414
- he((n) => {
415
- const i = new Set(n.map((o) => o.id));
421
+ he((s) => {
422
+ const r = new Set(s.map((o) => o.id));
416
423
  return [
417
- ...n,
418
- ...a.filter((o) => !i.has(o.id))
424
+ ...s,
425
+ ...a.filter((o) => !r.has(o.id))
419
426
  ];
420
427
  });
421
- for (const n of a)
422
- te.leave(n.id, () => {
428
+ for (const s of a)
429
+ ee.leave(s.id, () => {
423
430
  he(
424
- (i) => i.filter((o) => o.id !== n.id)
431
+ (r) => r.filter((o) => o.id !== s.id)
425
432
  );
426
433
  });
427
434
  }
428
- ye.current = s;
429
- }, [s, te]);
430
- const [et, tt] = S(""), se = h(!1), Ie = z(
435
+ ye.current = n;
436
+ }, [n, ee]);
437
+ const [et, tt] = S(""), ae = h(!1), Ie = z(
431
438
  (e, t) => {
432
439
  if (!K || !p) return;
433
440
  const a = Math.max(
@@ -436,49 +443,49 @@ const qt = ot(
436
443
  );
437
444
  if (a === e) return;
438
445
  K(e, a);
439
- const n = s[e];
440
- if (n) {
441
- const i = W ? W({ tool: n, from: e, to: a }) : y("toolRail.reorderAnnounce", {
442
- tool: n.label,
446
+ const s = n[e];
447
+ if (s) {
448
+ const r = W ? W({ tool: s, from: e, to: a }) : y("toolRail.reorderAnnounce", {
449
+ tool: s.label,
443
450
  to: a - p.first + 1,
444
451
  total: p.last - p.first + 1,
445
452
  defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
446
453
  });
447
- i && (se.current = !se.current, tt(se.current ? i : `${i}​`));
454
+ r && (ae.current = !ae.current, tt(ae.current ? r : `${r}​`));
448
455
  }
449
456
  },
450
- [K, p, s, y, W]
451
- ), B = w >= 0 ? w : Y >= 0 && !((ke = s[Y]) != null && ke.disabled) ? Y : Oe, at = z(
457
+ [K, p, n, y, W]
458
+ ), xe = n[oe], B = w >= 0 ? w : xe && !xe.disabled ? oe : Oe, at = z(
452
459
  (e, t) => {
453
- const a = s.find((n) => n.id === e);
460
+ const a = n.find((s) => s.id === e);
454
461
  !a || a.disabled || (E.current = t, I(x === e ? null : e));
455
462
  },
456
- [s, x, I]
457
- ), st = z(
463
+ [n, x, I]
464
+ ), nt = z(
458
465
  (e) => {
459
- var L, r, m;
460
- const t = s.length;
466
+ var L, i, m;
467
+ const t = n.length;
461
468
  if (t === 0 || e.altKey) return;
462
469
  let a = null;
463
470
  if (e.key === "ArrowDown" ? a = (B + 1) % t : e.key === "ArrowUp" ? a = (B - 1 + t) % t : e.key === "Home" ? a = 0 : e.key === "End" && (a = t - 1), a === null) return;
464
- const n = e.key === "ArrowUp" || e.key === "End";
465
- let i = a, o = 0;
466
- for (; o < t && ((L = s[i]) != null && L.disabled); )
467
- i = n ? (i - 1 + t) % t : (i + 1) % t, o += 1;
468
- (r = s[i]) != null && r.disabled || (e.preventDefault(), X(i), (m = G.current[i]) == null || m.focus());
471
+ const s = e.key === "ArrowUp" || e.key === "End";
472
+ let r = a, o = 0;
473
+ for (; o < t && ((L = n[r]) != null && L.disabled); )
474
+ r = s ? (r - 1 + t) % t : (r + 1) % t, o += 1;
475
+ (i = n[r]) != null && i.disabled || (e.preventDefault(), Y(r), (m = G.current[r]) == null || m.focus());
469
476
  },
470
- [s, B]
477
+ [n, B]
471
478
  ), _ = h(null);
472
- ie(() => {
479
+ re(() => {
473
480
  const e = _.current;
474
481
  if (!e) return;
475
482
  const t = (a) => {
476
483
  if (a.key !== "Escape" || w < 0) return;
477
484
  a.preventDefault();
478
- const n = w;
479
- I(null), X(n), requestAnimationFrame(() => {
480
- var i;
481
- (i = G.current[n]) == null || i.focus();
485
+ const s = w;
486
+ I(null), Y(s), requestAnimationFrame(() => {
487
+ var r;
488
+ (r = G.current[s]) == null || r.focus();
482
489
  });
483
490
  };
484
491
  return e.addEventListener("keydown", t), () => e.removeEventListener("keydown", t);
@@ -486,8 +493,8 @@ const qt = ot(
486
493
  var e;
487
494
  u && E.current && ((e = D.current) == null || e.focus()), E.current = !1;
488
495
  }, [u]);
489
- const xe = d === "end" ? "inline-start" : "inline-end", { separatorProps: we, isResizing: Te, isResized: Re } = mt({
490
- edge: xe,
496
+ const we = d === "end" ? "inline-start" : "inline-end", { separatorProps: Te, isResizing: Re, isResized: Se } = mt({
497
+ edge: we,
491
498
  targetRef: D,
492
499
  cssProperty: De,
493
500
  minSize: St,
@@ -498,24 +505,24 @@ const qt = ot(
498
505
  // value applies only while the handle is on.
499
506
  size: f ? F : void 0,
500
507
  onResize: je
501
- }), Se = we["aria-valuenow"];
508
+ }), Ae = Te["aria-valuenow"];
502
509
  M(() => {
503
510
  var e;
504
- !f || !Re || !u || (e = D.current) == null || e.style.setProperty(
511
+ !f || !Se || !u || (e = D.current) == null || e.style.setProperty(
505
512
  De,
506
- `${Se}px`
513
+ `${Ae}px`
507
514
  );
508
- }, [u, f, Re, Se]);
515
+ }, [u, f, Se, Ae]);
509
516
  const ne = h(x);
510
517
  ne.current = x;
511
- const re = j(
518
+ const se = j(
512
519
  () => ({
513
520
  getActiveToolId: () => ne.current,
514
521
  setActiveTool: (e) => {
515
522
  E.current = !1, I(e);
516
523
  },
517
524
  open: (e) => {
518
- const t = s.find((a) => a.id === e);
525
+ const t = n.find((a) => a.id === e);
519
526
  !t || t.disabled || (E.current = !1, I(e));
520
527
  },
521
528
  close: () => {
@@ -528,10 +535,10 @@ const qt = ot(
528
535
  });
529
536
  }
530
537
  }),
531
- [s, I]
538
+ [n, I]
532
539
  );
533
- dt(Fe, () => re, [re]), xt(Pe, re, l);
534
- const nt = y("toolRail.badgeCountOverflow", {
540
+ dt(Fe, () => se, [se]), xt(qe, se, l);
541
+ const st = y("toolRail.badgeCountOverflow", {
535
542
  defaultValue: "99+"
536
543
  });
537
544
  return /* @__PURE__ */ R(
@@ -541,7 +548,7 @@ const qt = ot(
541
548
  "data-component": Me,
542
549
  "data-component-id": l,
543
550
  "data-side": d,
544
- className: [kt({ side: d }), qe].filter(Boolean).join(" "),
551
+ className: [kt({ side: d }), Pe].filter(Boolean).join(" "),
545
552
  children: [
546
553
  de ? /* @__PURE__ */ g("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: et }) : null,
547
554
  b ? /* @__PURE__ */ R(
@@ -555,9 +562,9 @@ const qt = ot(
555
562
  }),
556
563
  "aria-hidden": T || void 0,
557
564
  "data-tool-rail-state": T ? "collapsing" : "expanded",
558
- "data-presence": ae.phase,
565
+ "data-presence": te.phase,
559
566
  "data-active-tool": b.id,
560
- "data-resizing": Te ? "" : void 0,
567
+ "data-resizing": Re ? "" : void 0,
561
568
  className: [
562
569
  Lt({ side: d }),
563
570
  // Subtle shadow — not a line — separating the panel from the
@@ -575,7 +582,7 @@ const qt = ot(
575
582
  "ds:focus-visible:outline-none"
576
583
  ].join(" "),
577
584
  children: [
578
- oe ? oe(b, { isActive: !T }) : null,
585
+ ie ? ie(b, { isActive: !T }) : null,
579
586
  /* @__PURE__ */ R("div", { ref: ve, className: zt, children: [
580
587
  Ye.map((e) => /* @__PURE__ */ g(
581
588
  "div",
@@ -623,12 +630,12 @@ const qt = ot(
623
630
  f ? /* @__PURE__ */ g(
624
631
  "div",
625
632
  {
626
- ...we,
633
+ ...Te,
627
634
  "aria-label": y("toolRail.resizePanel", {
628
635
  defaultValue: "Resize tool panel"
629
636
  }),
630
- "data-resizing": Te ? "" : void 0,
631
- className: Bt({ edge: xe })
637
+ "data-resizing": Re ? "" : void 0,
638
+ className: Bt({ edge: we })
632
639
  }
633
640
  ) : null
634
641
  ]
@@ -642,10 +649,10 @@ const qt = ot(
642
649
  "aria-orientation": "vertical",
643
650
  "aria-label": N ?? y("toolRail.railLabel", { defaultValue: "Tools" }),
644
651
  className: _t(),
645
- onKeyDown: st,
652
+ onKeyDown: nt,
646
653
  children: [
647
- s.map((e, t) => {
648
- const a = e.id === x, n = typeof e.badgeCount == "number" && e.badgeCount > 0, i = n ? y("toolRail.toolWithCount", {
654
+ n.map((e, t) => {
655
+ const a = e.id === x, s = typeof e.badgeCount == "number" && e.badgeCount > 0, r = s ? y("toolRail.toolWithCount", {
649
656
  tool: e.label,
650
657
  count: e.badgeCount,
651
658
  defaultValue: "{{tool}}, {{count}} updates"
@@ -674,34 +681,34 @@ const qt = ot(
674
681
  "data-reflow-id": e.id,
675
682
  "data-dragging": C === t ? "" : void 0,
676
683
  draggable: o || void 0,
677
- onDragStart: o ? (r) => {
678
- ee(t), r.dataTransfer.effectAllowed = "move", r.dataTransfer.setData(
684
+ onDragStart: o ? (i) => {
685
+ Q(t), i.dataTransfer.effectAllowed = "move", i.dataTransfer.setData(
679
686
  "text/plain",
680
687
  String(t)
681
688
  );
682
689
  } : void 0,
683
- onDragOver: o ? (r) => {
684
- C !== null && (r.preventDefault(), r.dataTransfer.dropEffect = "move", ce !== t && O(t));
690
+ onDragOver: o ? (i) => {
691
+ C !== null && (i.preventDefault(), i.dataTransfer.dropEffect = "move", ce !== t && O(t));
685
692
  } : void 0,
686
- onDragLeave: o ? () => O((r) => r === t ? null : r) : void 0,
687
- onDrop: o ? (r) => {
688
- r.preventDefault();
693
+ onDragLeave: o ? () => O((i) => i === t ? null : i) : void 0,
694
+ onDrop: o ? (i) => {
695
+ i.preventDefault();
689
696
  const m = C;
690
- O(null), ee(null), !(m === null || m === t) && Ie(m, t);
697
+ O(null), Q(null), !(m === null || m === t) && Ie(m, t);
691
698
  } : void 0,
692
699
  onDragEnd: o ? () => {
693
- ee(null), O(null);
700
+ Q(null), O(null);
694
701
  } : void 0,
695
702
  children: [
696
703
  /* @__PURE__ */ g(
697
704
  ze,
698
705
  {
699
- ref: (r) => {
700
- G.current[t] = r;
706
+ ref: (i) => {
707
+ G.current[t] = i;
701
708
  },
702
709
  icon: e.icon,
703
710
  tooltip: e.label,
704
- "aria-label": i,
711
+ "aria-label": r,
705
712
  intent: "ghost",
706
713
  size: "sm",
707
714
  disabled: e.disabled,
@@ -713,18 +720,18 @@ const qt = ot(
713
720
  "aria-keyshortcuts": o ? "Alt+ArrowUp Alt+ArrowDown" : void 0,
714
721
  tabIndex: t === B ? 0 : -1,
715
722
  onFocus: () => {
716
- e.disabled || X(t);
723
+ e.disabled || Y(t);
717
724
  },
718
- onClick: () => at(e.id, J.current),
719
- onKeyDown: (r) => {
720
- if (r.key === "Enter" || r.key === " ") {
721
- J.current = !0;
725
+ onClick: () => at(e.id, X.current),
726
+ onKeyDown: (i) => {
727
+ if (i.key === "Enter" || i.key === " ") {
728
+ X.current = !0;
722
729
  return;
723
730
  }
724
- if (o && r.altKey && p) {
731
+ if (o && i.altKey && p) {
725
732
  let m = null;
726
- if (r.key === "ArrowUp" ? m = t - 1 : r.key === "ArrowDown" ? m = t + 1 : r.key === "Home" ? m = p.first : r.key === "End" && (m = p.last), m !== null) {
727
- r.preventDefault();
733
+ if (i.key === "ArrowUp" ? m = t - 1 : i.key === "ArrowDown" ? m = t + 1 : i.key === "Home" ? m = p.first : i.key === "End" && (m = p.last), m !== null) {
734
+ i.preventDefault();
728
735
  const rt = Math.max(
729
736
  p.first,
730
737
  Math.min(p.last, m)
@@ -738,14 +745,14 @@ const qt = ot(
738
745
  }
739
746
  }
740
747
  },
741
- onKeyUp: (r) => {
742
- (r.key === "Enter" || r.key === " ") && (J.current = !1);
748
+ onKeyUp: (i) => {
749
+ (i.key === "Enter" || i.key === " ") && (X.current = !1);
743
750
  }
744
751
  }
745
752
  ),
746
- n ? /* @__PURE__ */ g("span", { "aria-hidden": "true", className: jt(), children: Pt(
753
+ s ? /* @__PURE__ */ g("span", { "aria-hidden": "true", className: jt(), children: qt(
747
754
  e.badgeCount,
748
- nt
755
+ st
749
756
  ) }) : null,
750
757
  Z == null ? void 0 : Z(e, {
751
758
  index: t,
@@ -762,7 +769,7 @@ const qt = ot(
762
769
  ] }, e.id);
763
770
  }),
764
771
  Qe.map(
765
- (e) => te.isLeaving(e.id) ? /* @__PURE__ */ g(
772
+ (e) => ee.isLeaving(e.id) ? /* @__PURE__ */ g(
766
773
  "div",
767
774
  {
768
775
  className: [
@@ -797,9 +804,9 @@ const qt = ot(
797
804
  );
798
805
  }
799
806
  );
800
- qt.displayName = "ToolRail";
807
+ Pt.displayName = "ToolRail";
801
808
  export {
802
- qt as T,
809
+ Pt as T,
803
810
  wt as t
804
811
  };
805
- //# sourceMappingURL=tool-rail-CCFqDfAn.js.map
812
+ //# sourceMappingURL=tool-rail-DEeX4PdN.js.map
@@ -5,9 +5,9 @@ import * as E from "@radix-ui/react-tooltip";
5
5
  import { c as ie } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as io } from "react-i18next";
7
7
  import { u as Xo } from "./registry-DvAUVLHh.js";
8
- import { I as Jo } from "./icon-button-CehAeZoP.js";
9
- import { P as rt } from "./popover-DO-pssF3.js";
10
- import { S as en } from "./select-CLSUnKjF.js";
8
+ import { I as Jo } from "./icon-button-CY7GU_Se.js";
9
+ import { P as rt } from "./popover-Dvb40vPH.js";
10
+ import { S as en } from "./select-upNAltly.js";
11
11
  import { S as at } from "./switch-OILsBLWo.js";
12
12
  import { o as zt, K as tn, a0 as on, J as Ke, R as Ue, u as ro, U as ao, G as nn, S as rn, w as Ve, X as F, f as de, $ as st, _ as Vt, E as ft, a1 as ce, H as Bt, z as ut, y as an, l as ct, A as so, L as sn, t as pt, W as dt, s as co, Y as lo, x as cn, V as dn, a2 as ln, a3 as $, a4 as U, a5 as hn, Z as un, C as ho, Q as pn, a6 as fn, k as Gt, T as mn, O as gn, q as vn, N as bn } from "./tooth-data-DR8Kdnup.js";
13
13
  import { S as yn } from "./settings-d25ju_6L.js";
@@ -2048,4 +2048,4 @@ export {
2048
2048
  Nn as r,
2049
2049
  $n as t
2050
2050
  };
2051
- //# sourceMappingURL=tooth-scheme-DPAq0vQK.js.map
2051
+ //# sourceMappingURL=tooth-scheme-BkjhkI8g.js.map