@alfadocs/ui-kit 1.56.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
  5. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
  6. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  7. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  8. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  9. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
  10. package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
  11. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  12. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
  13. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  15. package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
  16. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  17. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  18. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  19. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  20. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  21. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
  22. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  23. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
  24. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
  25. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  26. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  27. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  28. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  29. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  30. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  31. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  32. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  33. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
  34. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
  35. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
  36. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  37. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  38. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  39. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
  40. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
  41. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  42. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
  43. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  44. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  45. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
  46. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  47. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  48. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  49. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
  50. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
  51. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
  52. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  53. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  54. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  55. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  56. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  57. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
  58. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
  59. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
  60. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
  61. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
  62. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
  63. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
  64. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  65. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  66. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  67. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  68. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
  69. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
  71. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  72. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
  73. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  74. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
  75. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
  76. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  77. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  78. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
  79. package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
  80. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  81. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
  82. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
  83. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  84. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
  85. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
  86. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
  87. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  88. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
  89. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
  90. package/dist/agent-catalog.json +3 -3
  91. package/dist/agent-i18n/en.json +1 -1
  92. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  93. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  94. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  95. package/dist/components/address-fields/index.js +1 -1
  96. package/dist/components/ai-credits-notice/index.js +1 -1
  97. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  98. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  99. package/dist/components/ai-permission-notice/index.js +1 -1
  100. package/dist/components/app-frame/index.js +1 -1
  101. package/dist/components/appointment-details-panel/index.js +1 -1
  102. package/dist/components/appointment-peek/index.js +1 -1
  103. package/dist/components/appointment-timeline/index.js +1 -1
  104. package/dist/components/booking/index.js +1 -1
  105. package/dist/components/calculator-dialog/index.js +1 -1
  106. package/dist/components/care-plan-card/index.js +1 -1
  107. package/dist/components/care-plan-header/index.js +1 -1
  108. package/dist/components/chart/chart.d.ts +5 -5
  109. package/dist/components/chart/index.js +1 -1
  110. package/dist/components/city-input/index.js +1 -1
  111. package/dist/components/clinical-note-card/index.js +1 -1
  112. package/dist/components/color-picker/index.js +1 -1
  113. package/dist/components/contact-card/index.js +1 -1
  114. package/dist/components/contact-profile-card/index.js +1 -1
  115. package/dist/components/control-room-rail/index.js +1 -1
  116. package/dist/components/cycle-calculator/index.js +1 -1
  117. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  118. package/dist/components/dashboard-grid/index.js +1 -1
  119. package/dist/components/data-table/index.js +2 -2
  120. package/dist/components/data-table-tabs/index.js +1 -1
  121. package/dist/components/date-picker/index.js +1 -1
  122. package/dist/components/date-range-picker/index.js +1 -1
  123. package/dist/components/date-time-picker/index.js +1 -1
  124. package/dist/components/dialog/index.js +1 -1
  125. package/dist/components/document-preview/index.js +1 -1
  126. package/dist/components/due-date-calculator/index.js +1 -1
  127. package/dist/components/entity-summary/index.js +1 -1
  128. package/dist/components/face-scheme/index.js +1 -1
  129. package/dist/components/file-manager/index.js +1 -1
  130. package/dist/components/gestational-age-calculator/index.js +1 -1
  131. package/dist/components/hcg-doubling/index.js +1 -1
  132. package/dist/components/header-settings/index.js +1 -1
  133. package/dist/components/heatmap/index.js +1 -1
  134. package/dist/components/hover-card/index.js +1 -1
  135. package/dist/components/icon-picker/index.js +1 -1
  136. package/dist/components/info-tip/index.js +1 -1
  137. package/dist/components/link/index.js +1 -1
  138. package/dist/components/link/link.d.ts +5 -3
  139. package/dist/components/list/index.js +1 -1
  140. package/dist/components/locale-picker/index.js +1 -1
  141. package/dist/components/message-tray/index.js +1 -1
  142. package/dist/components/nav-grid/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/notes-panel/index.js +1 -1
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/panel-subview/index.js +1 -1
  147. package/dist/components/patient-details/index.js +1 -1
  148. package/dist/components/patient-summary-card/index.js +1 -1
  149. package/dist/components/patient-table/index.js +1 -1
  150. package/dist/components/payment-card/index.js +1 -1
  151. package/dist/components/pdf-viewer/index.js +1 -1
  152. package/dist/components/phone-input/index.js +1 -1
  153. package/dist/components/popover/index.js +1 -1
  154. package/dist/components/popover/popover.d.ts +1 -1
  155. package/dist/components/practice-results/index.js +1 -1
  156. package/dist/components/pregnancy-dating/index.js +1 -1
  157. package/dist/components/product-hub-tray/index.js +1 -1
  158. package/dist/components/public-footer/index.js +1 -1
  159. package/dist/components/public-header/index.js +1 -1
  160. package/dist/components/radiograph-panel/index.js +1 -1
  161. package/dist/components/rich-text-editor/index.js +2 -2
  162. package/dist/components/scroll-area/index.js +1 -1
  163. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  164. package/dist/components/search-bar/index.js +1 -1
  165. package/dist/components/search-bar/search-bar.d.ts +1 -1
  166. package/dist/components/sheet/index.js +1 -1
  167. package/dist/components/sidebar/index.d.ts +1 -1
  168. package/dist/components/sidebar/index.js +1 -1
  169. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  170. package/dist/components/sidebar/sidebar.d.ts +26 -1
  171. package/dist/components/sign-document/index.js +1 -1
  172. package/dist/components/task-editor/index.js +1 -1
  173. package/dist/components/tool-rail/index.js +1 -1
  174. package/dist/components/voice-control-panel/index.js +1 -1
  175. package/dist/components/widget-picker/index.js +1 -1
  176. package/dist/host-compat.css +2 -1
  177. package/dist/i18n/locales/ar.d.ts +24 -0
  178. package/dist/i18n/locales/ar.js +26 -2
  179. package/dist/i18n/locales/de.d.ts +24 -0
  180. package/dist/i18n/locales/de.js +26 -2
  181. package/dist/i18n/locales/el.d.ts +24 -0
  182. package/dist/i18n/locales/el.js +26 -2
  183. package/dist/i18n/locales/en.d.ts +24 -0
  184. package/dist/i18n/locales/en.js +26 -2
  185. package/dist/i18n/locales/es.d.ts +24 -0
  186. package/dist/i18n/locales/es.js +26 -2
  187. package/dist/i18n/locales/fr.d.ts +24 -0
  188. package/dist/i18n/locales/fr.js +26 -2
  189. package/dist/i18n/locales/hi.d.ts +24 -0
  190. package/dist/i18n/locales/hi.js +26 -2
  191. package/dist/i18n/locales/it.d.ts +24 -0
  192. package/dist/i18n/locales/it.js +26 -2
  193. package/dist/i18n/locales/ja.d.ts +24 -0
  194. package/dist/i18n/locales/ja.js +26 -2
  195. package/dist/i18n/locales/nl.d.ts +24 -0
  196. package/dist/i18n/locales/nl.js +26 -2
  197. package/dist/i18n/locales/pl.d.ts +24 -0
  198. package/dist/i18n/locales/pl.js +26 -2
  199. package/dist/i18n/locales/pt.d.ts +24 -0
  200. package/dist/i18n/locales/pt.js +26 -2
  201. package/dist/i18n/locales/ro.d.ts +24 -0
  202. package/dist/i18n/locales/ro.js +26 -2
  203. package/dist/i18n/locales/ru.d.ts +24 -0
  204. package/dist/i18n/locales/ru.js +26 -2
  205. package/dist/i18n/locales/sq.d.ts +24 -0
  206. package/dist/i18n/locales/sq.js +26 -2
  207. package/dist/i18n/locales/sv.d.ts +24 -0
  208. package/dist/i18n/locales/sv.js +26 -2
  209. package/dist/i18n/locales/tr.d.ts +24 -0
  210. package/dist/i18n/locales/tr.js +26 -2
  211. package/dist/i18n/locales/zh.d.ts +24 -0
  212. package/dist/i18n/locales/zh.js +26 -2
  213. package/dist/index.js +204 -203
  214. package/dist/locales/ar.json +26 -2
  215. package/dist/locales/de.json +26 -2
  216. package/dist/locales/el.json +26 -2
  217. package/dist/locales/en.json +26 -2
  218. package/dist/locales/es.json +26 -2
  219. package/dist/locales/fr.json +26 -2
  220. package/dist/locales/hi.json +26 -2
  221. package/dist/locales/it.json +26 -2
  222. package/dist/locales/ja.json +26 -2
  223. package/dist/locales/nl.json +26 -2
  224. package/dist/locales/pl.json +26 -2
  225. package/dist/locales/pt.json +26 -2
  226. package/dist/locales/ro.json +26 -2
  227. package/dist/locales/ru.json +26 -2
  228. package/dist/locales/sq.json +26 -2
  229. package/dist/locales/sv.json +26 -2
  230. package/dist/locales/tr.json +26 -2
  231. package/dist/locales/zh.json +26 -2
  232. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  233. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  234. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  235. package/dist/patterns/alia-assistant/index.js +6 -5
  236. package/dist/patterns/anamnesis/index.js +1 -1
  237. package/dist/patterns/calendar/index.js +1 -1
  238. package/dist/patterns/forgot-password-form/index.js +1 -1
  239. package/dist/patterns/help-me-write-templates/index.js +1 -1
  240. package/dist/patterns/login-form/index.js +1 -1
  241. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  242. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
  243. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  244. package/dist/patterns/registration-form/index.js +1 -1
  245. package/dist/patterns/signature-request/index.js +1 -1
  246. package/dist/patterns/signed-out-frame/index.js +1 -1
  247. package/dist/tokens.css +1 -1
  248. package/package.json +1 -1
  249. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  250. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  251. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  252. package/dist/_chunks/link-2HokYuIi.js +0 -130
  253. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
  254. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  255. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  256. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  257. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
@@ -42,13 +42,13 @@ export interface DashboardGridProps extends Omit<VariantProps<typeof dashboardGr
42
42
  * Opt-in narrow mode. When the board's OWN inline size (px, measured with
43
43
  * a ResizeObserver, not the viewport) is below this value, the widgets
44
44
  * render as one full-width, read-only column in reading order (`y`, then
45
- * logical `x`), each at least its grid height. No move/resize/remove
46
- * chrome or add tile shows, even while `editing` is on, and
47
- * `onLayoutChange` never fires because of stacking: the saved layout is
48
- * untouched and the grid returns exactly once the board is at least
49
- * `stackBelow + 24` px wide (the 24 px band stops a width hovering on the
50
- * threshold, or a page scrollbar, from flipping the board). Unset: the
51
- * board never stacks.
45
+ * logical `x`), each at least its grid height (see `stackedHeight`). No
46
+ * move/resize/remove chrome or add tile shows, even while `editing` is
47
+ * on, and `onLayoutChange` never fires because of stacking: the saved
48
+ * layout is untouched and the grid returns exactly once the board is at
49
+ * least `stackBelow + 24` px wide (the 24 px band stops a width hovering
50
+ * on the threshold, or a page scrollbar, from flipping the board). Unset:
51
+ * the board never stacks.
52
52
  *
53
53
  * Give the board a container whose width does not depend on its content
54
54
  * (normal block flow, or a stretched flex/grid item). In a shrink-to-fit
@@ -67,6 +67,24 @@ export interface DashboardGridProps extends Omit<VariantProps<typeof dashboardGr
67
67
  * unmount.
68
68
  */
69
69
  onStackedChange?: (stacked: boolean) => void;
70
+ /**
71
+ * Block size of each widget while the board is stacked (`stackBelow`).
72
+ * `'grid'` (the default, unchanged) keeps at least the widget's grid
73
+ * height, so a widget showing one figure leaves empty space below it on a
74
+ * phone. `'content'` makes each stacked widget as tall as its content.
75
+ * A chart that fills its container has no height of its own and would
76
+ * collapse: give its widget a `minStackedHeight`. The grid itself is
77
+ * unchanged either way.
78
+ */
79
+ stackedHeight?: 'grid' | 'content';
80
+ /**
81
+ * Opt-in heading level for every widget title. Unset (the default), a
82
+ * title is plain text, as before. Set it to one level below the heading
83
+ * that introduces the board, so screen-reader users can jump between
84
+ * widgets by heading. A title cut short by the widget's width is
85
+ * focusable and shows the full title in a Tooltip either way.
86
+ */
87
+ widgetHeadingLevel?: 2 | 3 | 4 | 5 | 6;
70
88
  /** `DashboardGrid.Widget` children. */
71
89
  children: ReactNode;
72
90
  className?: string;
@@ -104,11 +122,18 @@ export interface DashboardGridWidgetProps {
104
122
  /** Cell span used when the widget has no layout entry yet. */
105
123
  defaultW?: number;
106
124
  defaultH?: number;
125
+ /**
126
+ * Minimum block size in px while the board is stacked with
127
+ * `stackedHeight="content"`; ignored otherwise. A chart that fills its
128
+ * container needs it, or it collapses to nothing: the body fills this
129
+ * height, less the title row. Content taller than it still grows.
130
+ */
131
+ minStackedHeight?: number;
107
132
  /** Extra header actions (view mode and edit mode). */
108
133
  actionsSlot?: ReactNode;
109
134
  children?: ReactNode;
110
135
  }
111
- declare function DashboardGridWidget({ id, title, actionsSlot, children, }: DashboardGridWidgetProps): import("react/jsx-runtime").JSX.Element | null;
136
+ declare function DashboardGridWidget({ id, title, minStackedHeight, actionsSlot, children, }: DashboardGridWidgetProps): import("react/jsx-runtime").JSX.Element | null;
112
137
  declare namespace DashboardGridWidget {
113
138
  var displayName: string;
114
139
  }
@@ -1,4 +1,4 @@
1
- import { D as r, d as o } from "../../_chunks/dashboard-grid-DfEY2qci.js";
1
+ import { D as r, d as o } from "../../_chunks/dashboard-grid-Cs7cJAsA.js";
2
2
  export {
3
3
  r as DashboardGrid,
4
4
  o as dashboardGridAgent
@@ -1,6 +1,6 @@
1
- import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-D8fuhqO1.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-Yn5xiGzs.js";
2
2
  import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-CmYcMuwi.js";
3
- import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-TeJNvymP.js";
3
+ import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-C1wOyxDF.js";
4
4
  import { A as X, a as j } from "../../_chunks/actions-cell-renderer-Dj1ZkvJj.js";
5
5
  export {
6
6
  X as ActionsCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as b, d as t, a as T, b as e } from "../../_chunks/data-table-tabs-Xhg5G0gU.js";
1
+ import { D as b, d as t, a as T, b as e } from "../../_chunks/data-table-tabs-CHYAAeHy.js";
2
2
  export {
3
3
  b as DataTableTabs,
4
4
  t as dataTableTabsAgent,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-wRAcq2lt.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-BSZuKo13.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-CtUOI38x.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-CFk-5O3R.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-CLeLKuv9.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-CjxTkblD.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as g, d } from "../../_chunks/dialog-CUzbnKLw.js";
1
+ import { D as g, d } from "../../_chunks/dialog-Dn-iQ0Jp.js";
2
2
  export {
3
3
  g as Dialog,
4
4
  d as dialogAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/document-preview-uoTekVR7.js";
1
+ import { D as r, d as t } from "../../_chunks/document-preview-CHGGG0l_.js";
2
2
  export {
3
3
  r as DocumentPreview,
4
4
  t as documentPreviewAgent
@@ -1,4 +1,4 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-CSjklbyw.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-D_qFUiHp.js";
2
2
  import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-Kf2Yg8uo.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
@@ -1,4 +1,4 @@
1
- import { E as t } from "../../_chunks/entity-summary-DcB0fIiv.js";
1
+ import { E as t } from "../../_chunks/entity-summary-CWcCSThK.js";
2
2
  export {
3
3
  t as EntitySummary
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-BicuUA2K.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-DSKDdIsb.js";
2
2
  export {
3
3
  e as ANNOTATION_TOOL_KIND,
4
4
  o as FACE_ANNOTATION_TOOLS,
@@ -1,4 +1,4 @@
1
- import { F as r, f } from "../../_chunks/file-manager-Cc_uO8r2.js";
1
+ import { F as r, f } from "../../_chunks/file-manager-DEtkQR1F.js";
2
2
  export {
3
3
  r as FileManager,
4
4
  f as fileManagerAgent
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-DqVeJke2.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-CZi43xKG.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H, M as g, a as o } from "../../_chunks/hcg-doubling-BIYyI2Yo.js";
1
+ import { H, M as g, a as o } from "../../_chunks/hcg-doubling-Ccvh7OaU.js";
2
2
  export {
3
3
  H as HcgDoubling,
4
4
  g as MINIMAL_48H_RISE_PERCENT,
@@ -1,4 +1,4 @@
1
- import { H as t } from "../../_chunks/header-settings-ge_3gYEq.js";
1
+ import { H as t } from "../../_chunks/header-settings-BMcCx2LC.js";
2
2
  export {
3
3
  t as HeaderSettings
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-Gf9r7Tn1.js";
1
+ import { H as t, a as p, b as m, h as o } from "../../_chunks/heatmap-DiyOSQk9.js";
2
2
  export {
3
3
  t as Heatmap,
4
4
  p as HeatmapLegend,
@@ -1,4 +1,4 @@
1
- import { H as e, h as o, u as s } from "../../_chunks/hover-card-BnTueNS2.js";
1
+ import { H as e, h as o, u as s } from "../../_chunks/hover-card-U_ZYoh1n.js";
2
2
  export {
3
3
  e as HoverCard,
4
4
  o as hoverCardAgent,
@@ -1,4 +1,4 @@
1
- import { I as i, i as o } from "../../_chunks/icon-picker-DWrqmI1c.js";
1
+ import { I as i, i as o } from "../../_chunks/icon-picker-rOFTawXk.js";
2
2
  export {
3
3
  i as IconPicker,
4
4
  o as iconPickerAgent
@@ -1,4 +1,4 @@
1
- import { I as f, i as n } from "../../_chunks/info-tip-B0jmIt6M.js";
1
+ import { I as f, i as n } from "../../_chunks/info-tip-CJpNpzZe.js";
2
2
  export {
3
3
  f as InfoTip,
4
4
  n as infoTipAgent
@@ -1,4 +1,4 @@
1
- import { L } from "../../_chunks/link-2HokYuIi.js";
1
+ import { L } from "../../_chunks/link-gRw3NtOt.js";
2
2
  export {
3
3
  L as Link
4
4
  };
@@ -12,7 +12,6 @@ import { type VariantProps } from 'class-variance-authority';
12
12
  declare const linkVariants: (props?: ({
13
13
  intent?: "default" | "subtle" | "inverted" | null | undefined;
14
14
  weight?: "strong" | "normal" | null | undefined;
15
- hasIcon?: "yes" | "no" | null | undefined;
16
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
16
  export interface LinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>, VariantProps<typeof linkVariants> {
18
17
  /** Anchor target. Required — the whole point of the component. */
@@ -20,14 +19,15 @@ export interface LinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>,
20
19
  /**
21
20
  * Flag the link as opening in a new browsing context. Automatically
22
21
  * adds `target="_blank"` + `rel="noopener noreferrer"` and renders a
23
- * trailing `ExternalLink` icon with an i18n'd aria-label.
22
+ * decorative trailing `ExternalLink` icon plus an i18n'd "Opens in a
23
+ * new tab" label for assistive tech.
24
24
  */
25
25
  external?: boolean;
26
26
  /**
27
27
  * Render the trailing external-link glyph. Default `true` — set to
28
28
  * `false` for surfaces (footer, social rows, dense nav) where the
29
29
  * indicator adds visual noise. The `target` / `rel` / "opens in new
30
- * tab" aria-label are still applied.
30
+ * tab" screen-reader text are still applied.
31
31
  */
32
32
  externalIcon?: boolean;
33
33
  /**
@@ -41,6 +41,8 @@ export interface LinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>,
41
41
  startIcon?: ReactNode;
42
42
  /** Optional trailing icon (inline-end). Ignored when `external`. */
43
43
  endIcon?: ReactNode;
44
+ /** @deprecated No effect: the icon layout follows the icon props. Kept so existing callers compile. */
45
+ hasIcon?: 'yes' | 'no' | null;
44
46
  }
45
47
  export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
46
48
  export {};
@@ -1,4 +1,4 @@
1
- import { L as a, l as e } from "../../_chunks/list-RRN2TJ_7.js";
1
+ import { L as a, l as e } from "../../_chunks/list-CNnn7DOD.js";
2
2
  export {
3
3
  a as List,
4
4
  e as listAgent
@@ -1,4 +1,4 @@
1
- import { L, a as c, b as r } from "../../_chunks/locale-picker-DfNSdOpy.js";
1
+ import { L, a as c, b as r } from "../../_chunks/locale-picker-BGfrZyTw.js";
2
2
  export {
3
3
  L as LOCALE_STORAGE_KEY,
4
4
  c as LocalePicker,
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-BB95DA82.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-DmU0poD7.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { N as i, n, t as s } from "../../_chunks/nav-grid-BqCPH8sm.js";
1
+ import { N as i, n, t as s } from "../../_chunks/nav-grid-Byx8PxuB.js";
2
2
  export {
3
3
  i as NavGrid,
4
4
  n as navGridAgent,
@@ -1,4 +1,4 @@
1
- import { N as i, n as o } from "../../_chunks/note-timeline-CsY8YOE7.js";
1
+ import { N as i, n as o } from "../../_chunks/note-timeline-CX9nAgAR.js";
2
2
  export {
3
3
  i as NoteTimeline,
4
4
  o as noteTimelineAgent
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-DceRhthG.js";
1
+ import { N as a } from "../../_chunks/notes-panel-DHLHsxpW.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,4 +1,4 @@
1
- import { N as o, n as t } from "../../_chunks/notification-tray-__sJXnsz.js";
1
+ import { N as o, n as t } from "../../_chunks/notification-tray-DPU-Xg0i.js";
2
2
  export {
3
3
  o as NotificationTray,
4
4
  t as notificationTrayAgent
@@ -1,4 +1,4 @@
1
- import { P as o } from "../../_chunks/panel-subview-BT-Apwgb.js";
1
+ import { P as o } from "../../_chunks/panel-subview-D4o6ar6_.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-DsTtjpuX.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-BCaVuaXz.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-9nQWTQf6.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-kQIfPQOE.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -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-DmDcXw0c.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-CGoJZlKf.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-CwDpwXUC.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-DAniJNLX.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { P as p, p as a } from "../../_chunks/pdf-viewer-C3minW5b.js";
1
+ import { P as p, p as a } from "../../_chunks/pdf-viewer-CNQxa4tv.js";
2
2
  export {
3
3
  p as PDFViewer,
4
4
  a as pdfViewerAgent
@@ -1,4 +1,4 @@
1
- import { P as n, c as p, p as t, a as e } from "../../_chunks/phone-input-DxkHMYmu.js";
1
+ import { P as n, c as p, p as t, a as e } from "../../_chunks/phone-input-O9camxkq.js";
2
2
  export {
3
3
  n as PhoneInput,
4
4
  p as countryTriggerVariants,
@@ -1,4 +1,4 @@
1
- import { P as e, p as r } from "../../_chunks/popover-BI3oV3eY.js";
1
+ import { P as e, p as r } from "../../_chunks/popover-BG75rYjN.js";
2
2
  export {
3
3
  e as Popover,
4
4
  r as popoverAgent
@@ -33,7 +33,7 @@ interface PopoverHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
33
33
  export declare const Popover: typeof PopoverRoot & {
34
34
  Root: typeof PopoverRoot;
35
35
  Trigger: import("react").ForwardRefExoticComponent<Omit<RadixPopover.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
36
- Anchor: import("react").ForwardRefExoticComponent<RadixPopover.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
36
+ Anchor: import("react").ForwardRefExoticComponent<Omit<RadixPopover.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
37
37
  Content: import("react").ForwardRefExoticComponent<PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
38
38
  Close: import("react").ForwardRefExoticComponent<{
39
39
  className?: string;
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-Dhbo-fc_.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-D07wgCqV.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-Bfu0Cq4H.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-BFzv9g1N.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-BSSiGGG4.js";
1
+ import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-DCYX0rPG.js";
2
2
  import { i as s } from "../../_chunks/is-safe-url-DkETxeHz.js";
3
3
  export {
4
4
  u as ProductHubPanel,
@@ -1,4 +1,4 @@
1
- import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-CxpG6J1M.js";
1
+ import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-ZWTEG1Rq.js";
2
2
  import { p as _ } from "../../_chunks/public-footer.agent-CRZCrq3_.js";
3
3
  export {
4
4
  s as DEFAULT_MARKETING_BASE_URL,
@@ -1,4 +1,4 @@
1
- import { P as r, p } from "../../_chunks/public-header.agent-pr2hyiND.js";
1
+ import { P as r, p } from "../../_chunks/public-header.agent-C1SlVSYt.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-DkUokbEa.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-DyqbTECc.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,5 +1,5 @@
1
- import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-CkFfmA3v.js";
2
- import { k as s } from "../../_chunks/kit-extensions-Byfxy6sy.js";
1
+ import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-UgXri8h6.js";
2
+ import { k as s } from "../../_chunks/kit-extensions-DYVxWcqv.js";
3
3
  export {
4
4
  i as RichTextEditor,
5
5
  s as kitEditorExtensions,
@@ -1,4 +1,4 @@
1
- import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-ZtFCv9K7.js";
1
+ import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-CY5SLYNw.js";
2
2
  export {
3
3
  l as ScrollArea,
4
4
  o as ScrollAreaCorner,
@@ -17,11 +17,12 @@ export interface ScrollAreaProps extends Omit<ComponentPropsWithoutRef<typeof Sc
17
17
  */
18
18
  type?: 'auto' | 'always' | 'scroll' | 'hover' | 'native';
19
19
  /**
20
- * Names the scroll container. Its viewport is a tab stop, so keyboard
21
- * users can scroll it with the arrow keys, and a tab stop needs a name.
22
- * Given `aria-label` or `aria-labelledby`, the viewport (not the outer
23
- * wrapper) carries the name and becomes a `region`. Prefer
24
- * `aria-labelledby` pointing at a heading or landmark already on screen.
20
+ * Names the scroll container. While its content overflows, the viewport
21
+ * is a tab stop so keyboard users can scroll it with the arrow keys, and a
22
+ * tab stop needs a name. Given `aria-label` or `aria-labelledby`, the
23
+ * viewport (not the outer wrapper) carries the name and becomes a
24
+ * `region`. Prefer `aria-labelledby` pointing at a heading or landmark
25
+ * already on screen.
25
26
  */
26
27
  'aria-label'?: string;
27
28
  /** The id of an element whose text names the scroll container. See `aria-label`. */
@@ -1,4 +1,4 @@
1
- import { S as e, f as s, s as t } from "../../_chunks/search-bar-DQJS0wJN.js";
1
+ import { S as e, f as s, s as t } from "../../_chunks/search-bar-mA4bPe3t.js";
2
2
  export {
3
3
  e as SearchBar,
4
4
  s as filterSearchResults,
@@ -78,7 +78,7 @@ type InlineProps = SharedProps & {
78
78
  debounceMs?: number;
79
79
  onOpenCommandPalette?: never;
80
80
  };
81
- export type SearchBarProps = (LauncherProps | InlineProps) & Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'onChange' | 'children' | 'defaultValue' | 'results'> & VariantProps<typeof launcherVariants>;
81
+ export type SearchBarProps = (LauncherProps | InlineProps) & Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'onChange' | 'onSelect' | 'children' | 'defaultValue' | 'results'> & VariantProps<typeof launcherVariants>;
82
82
  export declare function filterSearchResults(query: string, groups: SearchBarResultGroup[]): SearchBarResultGroup[];
83
83
  export declare const SearchBar: import("react").ForwardRefExoticComponent<SearchBarProps & import("react").RefAttributes<HTMLDivElement>>;
84
84
  export {};
@@ -1,4 +1,4 @@
1
- import { S as t, s as a } from "../../_chunks/sheet-C7SwIxwB.js";
1
+ import { S as t, s as a } from "../../_chunks/sheet-Dtjk0CVv.js";
2
2
  export {
3
3
  t as Sheet,
4
4
  a as sheetAgent
@@ -1,4 +1,4 @@
1
1
  export { Sidebar, SidebarHeader, SidebarBody, SidebarFooter, SidebarSection, SidebarGroup, SidebarItem, SidebarItemIcon, SidebarItemLabel, SidebarItemBadge, SidebarWorkspaceSwitcher, SidebarPrimaryAction, SidebarFavorites, SidebarFavoriteItem, SidebarPinButton, SidebarProfilePill, SidebarCollapseTrigger, SidebarUpgradeChip, useSidebar, usePersistentState, } from './sidebar';
2
- export type { SidebarProps, SidebarMode, SidebarDensity, SidebarContextValue, SidebarSectionProps, SidebarGroupProps, SidebarItemProps, SidebarWorkspaceSwitcherProps, SidebarPrimaryActionProps, SidebarFavoritesProps, SidebarFavoriteItemProps, SidebarPinButtonProps, SidebarProfilePillProps, SidebarCollapseTriggerProps, SidebarUpgradeChipProps, } from './sidebar';
2
+ export type { SidebarItemMove, SidebarProps, SidebarMode, SidebarDensity, SidebarContextValue, SidebarSectionProps, SidebarGroupProps, SidebarItemProps, SidebarWorkspaceSwitcherProps, SidebarPrimaryActionProps, SidebarFavoritesProps, SidebarFavoriteItemProps, SidebarPinButtonProps, SidebarProfilePillProps, SidebarCollapseTriggerProps, SidebarUpgradeChipProps, } from './sidebar';
3
3
  export { sidebarAgent } from './sidebar.agent';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-DLsG2AIk.js";
1
+ import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-D4Wllqfz.js";
2
2
  import { u as k } from "../../_chunks/use-persistent-state-nZwZAnE9.js";
3
3
  export {
4
4
  r as Sidebar,
@@ -0,0 +1,88 @@
1
+ import { type KeyboardEvent as ReactKeyboardEvent, type PointerEvent as ReactPointerEvent, type RefObject } from 'react';
2
+ /** One move, as reported to the host. */
3
+ export interface SidebarItemMove {
4
+ /** The moved item's `navId`. */
5
+ itemId: string;
6
+ /** The `sectionId` of the section it lands in, or `null` for the list
7
+ * outside every section. */
8
+ toSectionId: string | null;
9
+ /** Its index in that section (or that list) after the move, from 0. */
10
+ index: number;
11
+ }
12
+ /** Where the drop indicator shows for the current target. */
13
+ export type SidebarDropIndicator = {
14
+ kind: 'item';
15
+ itemId: string;
16
+ edge: 'before' | 'after';
17
+ } | {
18
+ kind: 'section';
19
+ sectionId: string;
20
+ } | {
21
+ kind: 'list';
22
+ };
23
+ interface Place {
24
+ sectionId: string | null;
25
+ index: number;
26
+ /** Items in that section or list once the moved item is in it. */
27
+ total: number;
28
+ indicator: SidebarDropIndicator;
29
+ }
30
+ export interface SidebarMoveState {
31
+ itemId: string;
32
+ /** The item's name, for the announcements. */
33
+ label: string;
34
+ via: 'keyboard' | 'pointer';
35
+ origin: Place;
36
+ target: Place;
37
+ /** Open sections holding no item but the moved one: they show a zone. */
38
+ emptySectionIds: string[];
39
+ /** No item sits outside a section: the body shows a zone for that list. */
40
+ listEmpty: boolean;
41
+ }
42
+ export interface SidebarMoveContextValue {
43
+ enabled: boolean;
44
+ /** Id of the hidden keyboard instructions every movable item cites. */
45
+ instructionsId?: string;
46
+ move: SidebarMoveState | null;
47
+ onItemKeyDown?: (event: ReactKeyboardEvent<HTMLElement>, itemId: string) => void;
48
+ onItemPointerDown?: (event: ReactPointerEvent<HTMLElement>, itemId: string) => void;
49
+ onItemBlur?: (itemId: string) => void;
50
+ /** A section's way to open itself when an item is dropped into it. */
51
+ registerSection?: (sectionId: string, open: () => void) => () => void;
52
+ }
53
+ export declare const SidebarMoveContext: import("react").Context<SidebarMoveContextValue>;
54
+ export declare const useSidebarMove: () => SidebarMoveContextValue;
55
+ /** The enclosing SidebarSection: an item in one without an id cannot move. */
56
+ export declare const SidebarSectionContext: import("react").Context<{
57
+ sectionId?: string;
58
+ } | null>;
59
+ export declare const samePlace: (a: Pick<Place, "sectionId" | "index">, b: Pick<Place, "sectionId" | "index">) => boolean;
60
+ interface Layout {
61
+ places: Place[];
62
+ originIndex: number;
63
+ emptySectionIds: string[];
64
+ listEmpty: boolean;
65
+ sectionLabels: Map<string, string>;
66
+ }
67
+ /**
68
+ * Every place the moving item can go, in reading order: before each other
69
+ * item, after the last item of each section and of the outside list, and
70
+ * into an empty or collapsed section as a whole.
71
+ */
72
+ export declare function readLayout(nav: HTMLElement, movingId: string): Layout | null;
73
+ export declare function useSidebarMoveController({ onMoveItem, enabled, rootRef, quietFocusRef, }: {
74
+ onMoveItem?: (move: SidebarItemMove) => void;
75
+ enabled: boolean;
76
+ rootRef: RefObject<HTMLElement | null>;
77
+ quietFocusRef: RefObject<boolean>;
78
+ }): {
79
+ context: SidebarMoveContextValue;
80
+ message: string;
81
+ instructionsId: string;
82
+ restoreFocus: () => void;
83
+ touchGuardRef: (node: HTMLElement | null) => void;
84
+ /** True while any move runs: Escape cancels it, not the drawer. */
85
+ cancelIfMoving: () => boolean;
86
+ };
87
+ export {};
88
+ //# sourceMappingURL=sidebar-move.d.ts.map