@alfadocs/ui-kit 0.1.9 → 0.2.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 (281) hide show
  1. package/README.md +30 -0
  2. package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
  3. package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
  4. package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
  5. package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
  6. package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
  7. package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
  8. package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
  9. package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
  10. package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
  11. package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
  12. package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
  13. package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
  14. package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
  15. package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
  16. package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
  17. package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
  18. package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
  19. package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
  20. package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
  21. package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
  22. package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
  23. package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
  24. package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
  25. package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
  26. package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
  27. package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
  28. package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
  29. package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
  30. package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
  31. package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
  32. package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
  33. package/dist/_chunks/file-upload-C947ACDK.js +829 -0
  34. package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
  35. package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
  36. package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
  37. package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
  38. package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
  39. package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
  40. package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
  41. package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
  42. package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
  43. package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
  44. package/dist/_chunks/list-qP6p0NTw.js +434 -0
  45. package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
  46. package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
  47. package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
  48. package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
  49. package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
  50. package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
  51. package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
  52. package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
  53. package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
  54. package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
  55. package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
  56. package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
  57. package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
  58. package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
  59. package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
  60. package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
  61. package/dist/_chunks/popover-DekUKNBk.js +293 -0
  62. package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
  63. package/dist/_chunks/progress-C11tqhoI.js +298 -0
  64. package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
  65. package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
  66. package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
  67. package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
  68. package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
  69. package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
  70. package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
  71. package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
  72. package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
  73. package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
  74. package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
  75. package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
  76. package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
  77. package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
  78. package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
  79. package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
  80. package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
  81. package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
  82. package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
  83. package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
  84. package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
  85. package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
  86. package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
  87. package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
  88. package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
  89. package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
  90. package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
  91. package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
  92. package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
  93. package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
  94. package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
  95. package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
  96. package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
  97. package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
  98. package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
  99. package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
  100. package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
  101. package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
  102. package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
  103. package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
  104. package/dist/agent-catalog.json +580 -15
  105. package/dist/components/_shared/index.d.ts +2 -2
  106. package/dist/components/accordion/index.d.ts +1 -1
  107. package/dist/components/accordion/index.js +5 -6
  108. package/dist/components/agenda-card/index.js +1 -1
  109. package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
  110. package/dist/components/agenda-tray/index.js +1 -1
  111. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
  112. package/dist/components/ai-prompt-input/index.js +1 -1
  113. package/dist/components/alert/index.d.ts +1 -1
  114. package/dist/components/alert/index.js +1 -1
  115. package/dist/components/app-frame/index.js +1 -1
  116. package/dist/components/audio-recorder/index.js +1 -1
  117. package/dist/components/audio-visualiser/index.js +1 -1
  118. package/dist/components/autocomplete/index.js +1 -1
  119. package/dist/components/badge/index.js +1 -1
  120. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  121. package/dist/components/breadcrumb/index.js +1 -1
  122. package/dist/components/button/index.js +2 -2
  123. package/dist/components/calendar/index.js +1 -1
  124. package/dist/components/card/index.js +1 -1
  125. package/dist/components/chart/index.d.ts +1 -1
  126. package/dist/components/chart/index.js +1 -1
  127. package/dist/components/chat-container/chat-container.d.ts +1 -1
  128. package/dist/components/chat-container/index.js +2 -3
  129. package/dist/components/chat-input/chat-input.d.ts +1 -1
  130. package/dist/components/chat-input/index.js +3 -4
  131. package/dist/components/chat-message/index.js +1 -1
  132. package/dist/components/checkbox-group/index.d.ts +1 -1
  133. package/dist/components/collapsible/collapsible.d.ts +1 -1
  134. package/dist/components/collapsible/index.d.ts +1 -1
  135. package/dist/components/collapsible/index.js +1 -1
  136. package/dist/components/color-picker/index.js +1 -1
  137. package/dist/components/combobox/index.d.ts +1 -1
  138. package/dist/components/combobox/index.js +1 -1
  139. package/dist/components/command-palette/command-palette.d.ts +46 -13
  140. package/dist/components/command-palette/index.js +1 -1
  141. package/dist/components/data-table/data-table.d.ts +3 -1
  142. package/dist/components/data-table/index.js +1 -1
  143. package/dist/components/data-table/toolbar.d.ts +6 -5
  144. package/dist/components/date-picker/date-picker.d.ts +1 -1
  145. package/dist/components/date-picker/index.d.ts +1 -1
  146. package/dist/components/date-picker/index.js +1 -1
  147. package/dist/components/date-range-picker/index.js +1 -1
  148. package/dist/components/date-time-picker/index.d.ts +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/description-list/description-list.d.ts +1 -2
  151. package/dist/components/description-list/index.js +1 -1
  152. package/dist/components/dialog/dialog.d.ts +2 -2
  153. package/dist/components/dialog/index.js +1 -1
  154. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
  155. package/dist/components/dropdown-menu/index.js +3 -4
  156. package/dist/components/empty-state/index.js +1 -1
  157. package/dist/components/file-upload/index.d.ts +1 -1
  158. package/dist/components/file-upload/index.js +1 -1
  159. package/dist/components/floating-action-button/index.js +1 -1
  160. package/dist/components/form-field/index.js +2 -2
  161. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  162. package/dist/components/freemium-paywall/index.js +1 -1
  163. package/dist/components/header/index.js +1 -1
  164. package/dist/components/icon-button/index.js +1 -1
  165. package/dist/components/kbd/index.js +1 -1
  166. package/dist/components/key-value-pair/index.js +1 -1
  167. package/dist/components/link/index.js +1 -1
  168. package/dist/components/list/index.js +1 -1
  169. package/dist/components/logo/index.js +1 -1
  170. package/dist/components/matrix-rain/index.js +1 -1
  171. package/dist/components/message-card/index.d.ts +1 -1
  172. package/dist/components/message-card/index.js +1 -1
  173. package/dist/components/message-tray/index.js +1 -1
  174. package/dist/components/message-tray/message-tray.d.ts +1 -1
  175. package/dist/components/multi-select/index.js +1 -1
  176. package/dist/components/navigation-menu/index.js +1 -1
  177. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  178. package/dist/components/notification-card/index.d.ts +1 -1
  179. package/dist/components/notification-card/index.js +1 -1
  180. package/dist/components/notification-tray/index.js +1 -1
  181. package/dist/components/notification-tray/notification-tray.d.ts +1 -1
  182. package/dist/components/number-input/index.js +1 -1
  183. package/dist/components/otp-input/index.js +1 -1
  184. package/dist/components/pagination/index.js +1 -1
  185. package/dist/components/pagination/pagination.d.ts +4 -6
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/payment-form/index.js +7 -8
  188. package/dist/components/payment-form/payment-form.d.ts +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.d.ts +1 -1
  191. package/dist/components/phone-input/index.js +1 -1
  192. package/dist/components/popover/index.js +3 -4
  193. package/dist/components/privacy-lock/index.js +1 -1
  194. package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
  195. package/dist/components/progress/index.js +3 -4
  196. package/dist/components/recaptcha-widget/index.js +1 -1
  197. package/dist/components/resizable/index.d.ts +1 -1
  198. package/dist/components/resizable/index.js +1 -1
  199. package/dist/components/rich-text-editor/index.js +1 -1
  200. package/dist/components/scroll-area/index.js +1 -1
  201. package/dist/components/search-bar/index.js +1 -1
  202. package/dist/components/search-bar/search-bar.d.ts +1 -1
  203. package/dist/components/search-input/index.js +1 -1
  204. package/dist/components/select/index.js +1 -1
  205. package/dist/components/select/select.d.ts +1 -1
  206. package/dist/components/separator/index.js +1 -1
  207. package/dist/components/sheet/index.js +3 -4
  208. package/dist/components/sheet/sheet.d.ts +2 -2
  209. package/dist/components/sidebar/index.js +7 -8
  210. package/dist/components/sidebar/sidebar.d.ts +0 -2
  211. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/skeleton/index.js +1 -1
  214. package/dist/components/slider/index.js +1 -1
  215. package/dist/components/slot-grid/index.js +1 -1
  216. package/dist/components/sparkline/index.js +1 -1
  217. package/dist/components/spinner/index.js +1 -1
  218. package/dist/components/stat/index.js +1 -1
  219. package/dist/components/stepper-calendar/index.js +1 -1
  220. package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
  221. package/dist/components/stepper-progress/index.d.ts +1 -1
  222. package/dist/components/stepper-progress/index.js +1 -2
  223. package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
  224. package/dist/components/suggestion-chip/index.js +1 -1
  225. package/dist/components/switch/index.js +1 -1
  226. package/dist/components/tabs/index.d.ts +1 -1
  227. package/dist/components/tabs/index.js +1 -1
  228. package/dist/components/tag/index.js +1 -1
  229. package/dist/components/task-card/index.js +1 -1
  230. package/dist/components/task-tray/index.js +1 -1
  231. package/dist/components/task-tray/task-tray.d.ts +1 -1
  232. package/dist/components/text-area/index.js +1 -1
  233. package/dist/components/text-input/index.js +1 -1
  234. package/dist/components/theme-root/index.js +1 -1
  235. package/dist/components/theme-toggle/index.js +1 -1
  236. package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
  237. package/dist/components/time-picker/index.js +1 -1
  238. package/dist/components/time-picker/time-picker.d.ts +1 -1
  239. package/dist/components/timeline/index.js +1 -1
  240. package/dist/components/timeline/timeline.d.ts +1 -1
  241. package/dist/components/toast/index.js +1 -1
  242. package/dist/components/tooth-scheme/index.js +1 -1
  243. package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
  244. package/dist/components/transcript-panel/index.js +1 -1
  245. package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
  246. package/dist/components/typing-indicator/index.js +1 -1
  247. package/dist/components/visually-hidden/index.js +1 -1
  248. package/dist/components/warning-stack/index.js +1 -1
  249. package/dist/components/workflow/index.js +1 -1
  250. package/dist/components/workflow/workflow-editor.d.ts +1 -1
  251. package/dist/hooks/index.js +1 -1
  252. package/dist/index.js +392 -402
  253. package/dist/patterns/leo-assistant/index.js +1 -1
  254. package/dist/patterns/patient-shell/index.js +1 -1
  255. package/dist/safe-html/index.js +20 -3
  256. package/dist/tokens.css +2 -2
  257. package/package.json +12 -2
  258. package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
  259. package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
  260. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
  261. package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
  262. package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
  263. package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
  264. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
  265. package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
  266. package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
  267. package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
  268. package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
  269. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
  270. package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
  271. package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
  272. package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
  273. package/dist/_chunks/popover-kFN8s84V.js +0 -229
  274. package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
  275. package/dist/_chunks/progress-wNsqkw8I.js +0 -253
  276. package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
  277. package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
  278. package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
  279. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
  280. package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
  281. package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
@@ -1,9 +1,42 @@
1
1
  import { jsx as i, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as pt, useId as gt, useMemo as Z, useState as G, useEffect as nt, useRef as vt, useCallback as U, useImperativeHandle as xt } from "react";
2
+ import { forwardRef as xt, useId as wt, useMemo as U, useState as K, useEffect as rt, useRef as at, useCallback as H, useImperativeHandle as yt } from "react";
3
3
  import * as D from "@radix-ui/react-tooltip";
4
4
  import { c as M } from "./index-D2ZczOXr.js";
5
- import { useTranslation as ct } from "react-i18next";
6
- const X = [
5
+ import { useTranslation as lt } from "react-i18next";
6
+ import { u as bt } from "./registry-C9nwlNyL.js";
7
+ const Ct = {
8
+ id: "tooth-scheme",
9
+ capabilities: ["pick"],
10
+ state: {
11
+ chart: {
12
+ type: "object",
13
+ description: "Current dental chart state — tooth conditions keyed by FDI id.",
14
+ read: (n) => n.getChart()
15
+ }
16
+ },
17
+ actions: {
18
+ focus_tooth: {
19
+ safety: "read",
20
+ argsType: "{ id: FdiId }",
21
+ description: "Move focus to a specific tooth by FDI id.",
22
+ invoke: (n, e) => {
23
+ n.focusTooth(e.id);
24
+ }
25
+ }
26
+ },
27
+ domHooks: {
28
+ root: { attr: "data-component", value: "tooth-scheme" },
29
+ instanceId: {
30
+ attr: "data-component-id",
31
+ sourceProp: "id",
32
+ description: "Sourced from the id prop."
33
+ },
34
+ item: {
35
+ attr: "data-fdi",
36
+ description: 'Each rendered tooth `<g>` carries its FDI id as `data-fdi`. Tests still use `data-testid="tooth-<fdi>"` separately.'
37
+ }
38
+ }
39
+ }, J = [
7
40
  // upper
8
41
  "18",
9
42
  "17",
@@ -38,7 +71,7 @@ const X = [
38
71
  "36",
39
72
  "37",
40
73
  "38"
41
- ], J = [
74
+ ], Y = [
42
75
  // upper
43
76
  "55",
44
77
  "54",
@@ -62,17 +95,17 @@ const X = [
62
95
  "74",
63
96
  "75"
64
97
  ];
65
- function wt(n) {
98
+ function Tt(n) {
66
99
  return n <= 2 ? "incisor" : n === 3 ? "canine" : n <= 5 ? "premolar" : "molar";
67
100
  }
68
- function yt(n) {
101
+ function kt(n) {
69
102
  return n <= 2 ? "incisor" : n === 3 ? "canine" : "molar";
70
103
  }
71
- function bt(n, e) {
104
+ function Lt(n, e) {
72
105
  const r = (n - 1) % 4 + 1;
73
106
  return `${r === 1 ? "UR" : r === 2 ? "UL" : r === 3 ? "LL" : "LR"}${e}`;
74
107
  }
75
- function Ct(n, e) {
108
+ function Ot(n, e) {
76
109
  switch (n) {
77
110
  case 1:
78
111
  return String(1 + (8 - e));
@@ -86,7 +119,7 @@ function Ct(n, e) {
86
119
  return "";
87
120
  }
88
121
  }
89
- function Tt(n, e) {
122
+ function It(n, e) {
90
123
  const r = "ABCDEFGHIJKLMNOPQRST";
91
124
  let a = -1;
92
125
  switch (n) {
@@ -107,8 +140,8 @@ function Tt(n, e) {
107
140
  }
108
141
  return a >= 0 ? r[a] : "";
109
142
  }
110
- function kt(n) {
111
- const e = Number(n[0]), r = Number(n[1]), a = e >= 5, h = a ? yt(r) : wt(r), N = e === 1 || e === 2 || e === 5 || e === 6 ? "upper" : "lower", w = e === 1 || e === 4 || e === 5 || e === 8 ? "right" : "left", u = a ? Tt(e, r) : Ct(e, r), v = bt(e, r);
143
+ function St(n) {
144
+ const e = Number(n[0]), r = Number(n[1]), a = e >= 5, h = a ? kt(r) : Tt(r), N = e === 1 || e === 2 || e === 5 || e === 6 ? "upper" : "lower", w = e === 1 || e === 4 || e === 5 || e === 8 ? "right" : "left", u = a ? It(e, r) : Ot(e, r), v = Lt(e, r);
112
145
  return {
113
146
  fdi: n,
114
147
  universal: u,
@@ -122,13 +155,13 @@ function kt(n) {
122
155
  };
123
156
  }
124
157
  const b = [
125
- ...X,
126
- ...J
127
- ].reduce((n, e) => (n[e] = kt(e), n), {}), Lt = Object.fromEntries(
158
+ ...J,
159
+ ...Y
160
+ ].reduce((n, e) => (n[e] = St(e), n), {}), $t = Object.fromEntries(
128
161
  Object.entries(b).map(([n, e]) => [n, e.universal])
129
- ), Ot = Object.fromEntries(
162
+ ), Mt = Object.fromEntries(
130
163
  Object.entries(b).map(([n, e]) => [n, e.palmer])
131
- ), It = {
164
+ ), Nt = {
132
165
  caries: "--destructive",
133
166
  filled: "--info",
134
167
  crowned: "--warning",
@@ -149,7 +182,7 @@ const b = [
149
182
  missing: "tooth-scheme-pattern-blank",
150
183
  implant: "tooth-scheme-pattern-vertical",
151
184
  rootCanal: "tooth-scheme-pattern-horizontal"
152
- }, K = {
185
+ }, Q = {
153
186
  incisor: {
154
187
  width: 22,
155
188
  height: 50,
@@ -176,25 +209,25 @@ const b = [
176
209
  path: "M4 4 C4 2 6 0 8 0 L24 0 C26 0 28 2 28 4 L30 44 C30 47 28 50 24 50 L8 50 C4 50 2 47 2 44 Z",
177
210
  innerPath: "M6 32 L26 32 M16 22 L16 42"
178
211
  }
179
- }, _ = 4, rt = 24, O = 4;
180
- function St(n) {
181
- const e = n === "primary" ? J : n === "mixed" ? [...X, ...J] : X, r = [], a = [];
212
+ }, _ = 4, st = 24, O = 4;
213
+ function Rt(n) {
214
+ const e = n === "primary" ? Y : n === "mixed" ? [...J, ...Y] : J, r = [], a = [];
182
215
  for (const o of e)
183
216
  b[o].arch === "upper" ? r.push(o) : a.push(o);
184
217
  const h = 50, N = Math.max(r.length, a.length);
185
218
  function w(o, p) {
186
219
  const E = o.reduce((g, y) => {
187
- const x = K[b[y].anatomy];
220
+ const x = Q[b[y].anatomy];
188
221
  return g + x.width + _;
189
- }, 0), q = o.length > 0 ? E - _ : 0;
222
+ }, 0), z = o.length > 0 ? E - _ : 0;
190
223
  let C = ((function() {
191
- return (r.length >= a.length ? r : a).reduce((T, V) => {
192
- const R = K[b[V].anatomy];
224
+ return (r.length >= a.length ? r : a).reduce((T, B) => {
225
+ const R = Q[b[B].anatomy];
193
226
  return T + R.width + _;
194
227
  }, 0) - _;
195
- })() - q) / 2;
228
+ })() - z) / 2;
196
229
  return o.map((g) => {
197
- const y = b[g], x = K[y.anatomy], T = {
230
+ const y = b[g], x = Q[y.anatomy], T = {
198
231
  fdi: g,
199
232
  meta: y,
200
233
  shape: x,
@@ -204,87 +237,77 @@ function St(n) {
204
237
  return C += x.width + _, T;
205
238
  });
206
239
  }
207
- const u = w(r, 0), v = w(a, h + rt), j = Math.max(
240
+ const u = w(r, 0), v = w(a, h + st), j = Math.max(
208
241
  u.reduce((o, p) => Math.max(o, p.x + p.shape.width), 0),
209
242
  v.reduce((o, p) => Math.max(o, p.x + p.shape.width), 0)
210
- ), H = j > 0 ? j : N * 30, F = h * 2 + rt;
211
- return { teeth: [...u, ...v], width: H, height: F };
243
+ ), F = j > 0 ? j : N * 30, q = h * 2 + st;
244
+ return { teeth: [...u, ...v], width: F, height: q };
212
245
  }
213
- function at(n, e) {
246
+ function it(n, e) {
214
247
  switch (e) {
215
248
  case "universal":
216
- return Lt[n] ?? n;
249
+ return $t[n] ?? n;
217
250
  case "palmer":
218
- return Ot[n] ?? n;
251
+ return Mt[n] ?? n;
219
252
  case "fdi":
220
253
  default:
221
254
  return n;
222
255
  }
223
256
  }
224
- function Vt() {
257
+ function Qt() {
225
258
  return {};
226
259
  }
227
- function st(n) {
260
+ function ot(n) {
228
261
  const e = {};
229
262
  for (const [r, a] of Object.entries(n))
230
263
  !a || a.length === 0 || (e[r] = { conditions: a, surfaces: [] });
231
264
  return e;
232
265
  }
233
- const $t = M(
266
+ const At = M(
234
267
  [
235
268
  "ds:tooth-scheme-alfadocs",
236
269
  "ds:inline-flex ds:flex-col",
237
270
  "ds:gap-[var(--spacing-sm)]",
238
271
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]"
239
272
  ].join(" ")
240
- ), Mt = M(
241
- [
242
- "ds:block ds:max-w-full ds:h-auto",
243
- "ds:text-[var(--foreground)]"
244
- ].join(" ")
245
- ), Nt = M(
273
+ ), Dt = M(
274
+ ["ds:block ds:max-w-full ds:h-auto", "ds:text-[var(--foreground)]"].join(" ")
275
+ ), Pt = M(
246
276
  [
247
277
  "ds:group ds:cursor-pointer",
248
278
  "ds:focus:outline-none",
249
279
  "ds:transition-[fill,stroke,opacity] ds:duration-[var(--animation-duration)]",
250
280
  "ds:motion-reduce:transition-none"
251
281
  ].join(" ")
252
- ), Rt = M(
282
+ ), Et = M(
253
283
  [
254
284
  "ds:flex ds:flex-wrap ds:items-center",
255
285
  "ds:gap-[var(--spacing-sm)]",
256
286
  "type-meta ds:text-[var(--muted-foreground)]"
257
287
  ].join(" ")
258
- ), At = M(
259
- [
260
- "ds:inline-flex ds:items-center",
261
- "ds:gap-[var(--spacing-xs)]"
262
- ].join(" ")
263
- ), Dt = M(
288
+ ), _t = M(
289
+ ["ds:inline-flex ds:items-center", "ds:gap-[var(--spacing-xs)]"].join(" ")
290
+ ), jt = M(
264
291
  [
265
292
  "ds:inline-block",
266
293
  "ds:inline-size-[0.75rem] ds:block-size-[0.75rem]",
267
294
  "ds:rounded-[var(--radius-xs)]",
268
295
  "ds:border ds:border-[color:var(--border)]"
269
296
  ].join(" ")
270
- ), Pt = M(
271
- [
272
- "ds:sr-only"
273
- ].join(" ")
274
- );
275
- function Q(n) {
297
+ ), Wt = M(["ds:sr-only"].join(" "));
298
+ function X(n) {
276
299
  return n.value !== void 0;
277
300
  }
278
- function it() {
301
+ function ct() {
279
302
  return { conditions: [], surfaces: [] };
280
303
  }
281
- function ot(n) {
304
+ function dt(n) {
282
305
  return !n || n.length === 0 ? ["caries"] : [];
283
306
  }
284
- function Et(n) {
307
+ function Ut(n) {
285
308
  return n.replace(/[^a-zA-Z0-9-_]/g, "");
286
309
  }
287
- function _t({ idPrefix: n }) {
310
+ function Ht({ idPrefix: n }) {
288
311
  const e = (r) => `${n}-${r}`;
289
312
  return /* @__PURE__ */ S("defs", { children: [
290
313
  /* @__PURE__ */ i(
@@ -377,7 +400,7 @@ function _t({ idPrefix: n }) {
377
400
  )
378
401
  ] });
379
402
  }
380
- const jt = [
403
+ const Ft = [
381
404
  "caries",
382
405
  "filled",
383
406
  "crowned",
@@ -385,22 +408,22 @@ const jt = [
385
408
  "implant",
386
409
  "rootCanal"
387
410
  ];
388
- function Wt({ idPrefix: n }) {
389
- const { t: e } = ct();
411
+ function qt({ idPrefix: n }) {
412
+ const { t: e } = lt();
390
413
  return /* @__PURE__ */ i(
391
414
  "ul",
392
415
  {
393
- className: Rt(),
416
+ className: Et(),
394
417
  "data-testid": "tooth-scheme-legend",
395
418
  "aria-label": e("toothScheme.legendLabel"),
396
- children: jt.map((r) => /* @__PURE__ */ S("li", { className: At(), children: [
419
+ children: Ft.map((r) => /* @__PURE__ */ S("li", { className: _t(), children: [
397
420
  /* @__PURE__ */ i(
398
421
  "span",
399
422
  {
400
- className: Dt(),
423
+ className: jt(),
401
424
  "aria-hidden": "true",
402
425
  "data-condition": r,
403
- "data-token": It[r],
426
+ "data-token": Nt[r],
404
427
  "data-testid": `tooth-scheme-legend-swatch-${r}`
405
428
  }
406
429
  ),
@@ -409,7 +432,7 @@ function Wt({ idPrefix: n }) {
409
432
  }
410
433
  );
411
434
  }
412
- const Ut = pt(
435
+ const zt = xt(
413
436
  ({
414
437
  id: n,
415
438
  dentition: e = "permanent",
@@ -421,35 +444,27 @@ const Ut = pt(
421
444
  onSelect: u,
422
445
  conditions: v,
423
446
  ariaLabel: j,
424
- className: H
425
- }, F) => {
426
- const { t: o } = ct(), p = gt(), E = Z(
427
- () => `ts-${Et(p)}`,
428
- [p]
429
- ), [q, z] = G(() => h !== void 0 ? h : N !== void 0 ? N : v ? st(v) : {}), f = Q({ value: h }) ? h : q;
430
- nt(() => {
431
- Q({ value: h }) || v !== void 0 && z(st(v));
447
+ className: F
448
+ }, q) => {
449
+ const { t: o } = lt(), p = wt(), E = U(() => `ts-${Ut(p)}`, [p]), [z, V] = K(() => h !== void 0 ? h : N !== void 0 ? N : v ? ot(v) : {}), f = X({ value: h }) ? h : z;
450
+ rt(() => {
451
+ X({ value: h }) || v !== void 0 && V(ot(v));
432
452
  }, [v, h]);
433
- const C = Z(() => St(e), [e]), g = Z(
434
- () => C.teeth.map((t) => t.fdi),
435
- [C]
436
- ), y = g[0], [x, T] = G(y);
437
- nt(() => {
453
+ const C = U(() => Rt(e), [e]), g = U(() => C.teeth.map((t) => t.fdi), [C]), y = g[0], [x, T] = K(y);
454
+ rt(() => {
438
455
  (!x || !g.includes(x)) && T(y);
439
456
  }, [y, x, g]);
440
- const [V, R] = G(""), Y = vt(null), W = U(
457
+ const [B, R] = K(""), tt = at(null), W = H(
441
458
  (t) => {
442
- Q({ value: h }) || z(t), w == null || w(t);
459
+ X({ value: h }) || V(t), w == null || w(t);
443
460
  },
444
461
  [w, h]
445
- ), k = U((t) => {
446
- const c = Y.current;
462
+ ), k = H((t) => {
463
+ const c = tt.current;
447
464
  if (!c) return;
448
465
  const s = c.querySelector(`g[data-fdi="${t}"]`);
449
466
  s && (s.focus(), T(t));
450
- }, []);
451
- xt(
452
- F,
467
+ }, []), ht = at(null), Z = U(
453
468
  () => ({
454
469
  focusTooth: (t) => {
455
470
  k(t);
@@ -458,7 +473,8 @@ const Ut = pt(
458
473
  }),
459
474
  [f, k]
460
475
  );
461
- const dt = U(
476
+ yt(q, () => Z, [Z]), bt(Ct, Z, n);
477
+ const ut = H(
462
478
  (t, c) => {
463
479
  var A;
464
480
  if (a !== "interactive") return;
@@ -515,14 +531,14 @@ const Ut = pt(
515
531
  case " ":
516
532
  case "Enter": {
517
533
  t.preventDefault();
518
- const l = (A = f[c]) == null ? void 0 : A.conditions, m = ot(l), L = { ...f };
534
+ const l = (A = f[c]) == null ? void 0 : A.conditions, m = dt(l), L = { ...f };
519
535
  m.length === 0 ? (delete L[c], R(o("toothScheme.deselected", { id: c }))) : (L[c] = {
520
- ...f[c] ?? it(),
536
+ ...f[c] ?? ct(),
521
537
  conditions: m
522
538
  }, R(
523
539
  o("toothScheme.selected", {
524
540
  id: c,
525
- conditions: m.map((B) => o(`toothScheme.condition.${B}`)).join(", ")
541
+ conditions: m.map((G) => o(`toothScheme.condition.${G}`)).join(", ")
526
542
  })
527
543
  )), W(L), u == null || u(c);
528
544
  return;
@@ -532,14 +548,14 @@ const Ut = pt(
532
548
  }
533
549
  },
534
550
  [f, W, k, a, u, o, g]
535
- ), lt = U(
551
+ ), ft = H(
536
552
  (t) => {
537
553
  var I;
538
554
  if (a !== "interactive") return;
539
555
  T(t);
540
- const c = (I = f[t]) == null ? void 0 : I.conditions, s = ot(c), d = { ...f };
556
+ const c = (I = f[t]) == null ? void 0 : I.conditions, s = dt(c), d = { ...f };
541
557
  s.length === 0 ? (delete d[t], R(o("toothScheme.deselected", { id: t }))) : (d[t] = {
542
- ...f[t] ?? it(),
558
+ ...f[t] ?? ct(),
543
559
  conditions: s
544
560
  }, R(
545
561
  o("toothScheme.selected", {
@@ -549,13 +565,14 @@ const Ut = pt(
549
565
  )), W(d), u == null || u(t);
550
566
  },
551
567
  [f, W, a, u, o]
552
- ), ht = C.width + 4, ut = C.height + 4, tt = j ?? o("toothScheme.ariaLabel");
568
+ ), mt = C.width + 4, pt = C.height + 4, et = j ?? o("toothScheme.ariaLabel");
553
569
  return /* @__PURE__ */ i(D.Provider, { delayDuration: 200, children: /* @__PURE__ */ S(
554
570
  "div",
555
571
  {
572
+ ref: ht,
556
573
  role: "region",
557
- "aria-label": tt,
558
- className: [$t(), H].filter(Boolean).join(" "),
574
+ "aria-label": et,
575
+ className: [At(), F].filter(Boolean).join(" "),
559
576
  "data-component": "tooth-scheme",
560
577
  "data-component-id": n,
561
578
  "data-testid": "tooth-scheme-root",
@@ -566,25 +583,25 @@ const Ut = pt(
566
583
  /* @__PURE__ */ S(
567
584
  "svg",
568
585
  {
569
- ref: Y,
570
- viewBox: `0 0 ${ht} ${ut}`,
571
- className: Mt(),
586
+ ref: tt,
587
+ viewBox: `0 0 ${mt} ${pt}`,
588
+ className: Dt(),
572
589
  role: "group",
573
- "aria-label": tt,
590
+ "aria-label": et,
574
591
  "data-testid": "tooth-scheme-svg",
575
592
  focusable: "false",
576
593
  xmlns: "http://www.w3.org/2000/svg",
577
594
  children: [
578
- /* @__PURE__ */ i(_t, { idPrefix: E }),
595
+ /* @__PURE__ */ i(Ht, { idPrefix: E }),
579
596
  C.teeth.map((t) => {
580
- var et;
581
- const c = f[t.fdi], s = (et = c == null ? void 0 : c.conditions) == null ? void 0 : et[0], d = o(
597
+ var nt;
598
+ const c = f[t.fdi], s = (nt = c == null ? void 0 : c.conditions) == null ? void 0 : nt[0], d = o(
582
599
  `toothScheme.anatomy.${t.meta.anatomy}`
583
600
  ), I = s ? `, ${o(`toothScheme.condition.${s}`)}` : "", A = o("toothScheme.toothLabel", {
584
- id: at(t.fdi, r),
601
+ id: it(t.fdi, r),
585
602
  anatomy: d,
586
603
  conditionSuffix: I
587
- }), l = a === "interactive" ? t.fdi === x ? 0 : -1 : void 0, m = s && s !== "missing" ? `url(#${E}-${P[s]})` : "var(--muted)", L = s && s !== "missing" ? $[s] : "var(--border)", B = s ? `${d} · ${o(`toothScheme.condition.${s}`)}` : d, ft = at(t.fdi, r);
604
+ }), l = a === "interactive" ? t.fdi === x ? 0 : -1 : void 0, m = s && s !== "missing" ? `url(#${E}-${P[s]})` : "var(--muted)", L = s && s !== "missing" ? $[s] : "var(--border)", G = s ? `${d} · ${o(`toothScheme.condition.${s}`)}` : d, gt = it(t.fdi, r);
588
605
  return /* @__PURE__ */ S(D.Root, { children: [
589
606
  /* @__PURE__ */ i(D.Trigger, { asChild: !0, children: /* @__PURE__ */ S(
590
607
  "g",
@@ -598,13 +615,13 @@ const Ut = pt(
598
615
  "data-testid": `tooth-${t.fdi}`,
599
616
  transform: `translate(${t.x}, ${t.y})`,
600
617
  tabIndex: l,
601
- role: a === "interactive" ? "button" : void 0,
618
+ role: a === "interactive" ? "button" : "img",
602
619
  "aria-label": A,
603
620
  "aria-pressed": a === "interactive" ? s !== void 0 : void 0,
604
- className: Nt(),
605
- onClick: a === "interactive" ? () => lt(t.fdi) : void 0,
621
+ className: Pt(),
622
+ onClick: a === "interactive" ? () => ft(t.fdi) : void 0,
606
623
  onFocus: () => T(t.fdi),
607
- onKeyDown: (mt) => dt(mt, t.fdi),
624
+ onKeyDown: (vt) => ut(vt, t.fdi),
608
625
  children: [
609
626
  /* @__PURE__ */ i(
610
627
  "rect",
@@ -675,7 +692,7 @@ const Ut = pt(
675
692
  fill: "var(--muted-foreground)",
676
693
  className: "ds:select-none",
677
694
  "aria-hidden": "true",
678
- children: ft
695
+ children: gt
679
696
  }
680
697
  )
681
698
  ]
@@ -688,7 +705,7 @@ const Ut = pt(
688
705
  sideOffset: 6,
689
706
  className: "ds:z-[var(--z-tooltip)] ds:rounded-[var(--radius-sm)] ds:bg-[var(--foreground)] ds:text-[var(--background)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:pt-[calc(var(--spacing-xs)/2)] ds:pb-[calc(var(--spacing-xs)/2)] ds:text-[length:var(--font-size-xs)]",
690
707
  children: [
691
- B,
708
+ G,
692
709
  /* @__PURE__ */ i(D.Arrow, { className: "ds:fill-[var(--foreground)]" })
693
710
  ]
694
711
  }
@@ -698,15 +715,15 @@ const Ut = pt(
698
715
  ]
699
716
  }
700
717
  ),
701
- /* @__PURE__ */ i(Wt, { idPrefix: E }),
718
+ /* @__PURE__ */ i(qt, { idPrefix: E }),
702
719
  /* @__PURE__ */ i(
703
720
  "div",
704
721
  {
705
- className: Pt(),
722
+ className: Wt(),
706
723
  "aria-live": "polite",
707
724
  "aria-atomic": "true",
708
725
  "data-testid": "tooth-scheme-live",
709
- children: V
726
+ children: B
710
727
  }
711
728
  )
712
729
  ]
@@ -714,56 +731,23 @@ const Ut = pt(
714
731
  ) });
715
732
  }
716
733
  );
717
- Ut.displayName = "ToothScheme";
718
- const Bt = {
719
- id: "tooth-scheme",
720
- capabilities: ["pick"],
721
- state: {
722
- chart: {
723
- type: "object",
724
- description: "Current dental chart state — tooth conditions keyed by FDI id.",
725
- read: (n) => n.getChart()
726
- }
727
- },
728
- actions: {
729
- focus_tooth: {
730
- safety: "read",
731
- argsType: "{ id: FdiId }",
732
- description: "Move focus to a specific tooth by FDI id.",
733
- invoke: (n, e) => {
734
- n.focusTooth(e.id);
735
- }
736
- }
737
- },
738
- domHooks: {
739
- root: { attr: "data-component", value: "tooth-scheme" },
740
- instanceId: {
741
- attr: "data-component-id",
742
- sourceProp: "id",
743
- description: "Sourced from the id prop."
744
- },
745
- item: {
746
- attr: "data-fdi",
747
- description: 'Each rendered tooth `<g>` carries its FDI id as `data-fdi`. Tests still use `data-testid="tooth-<fdi>"` separately.'
748
- }
749
- }
750
- };
734
+ zt.displayName = "ToothScheme";
751
735
  export {
752
736
  $ as C,
753
737
  b as F,
754
- X as P,
755
- K as T,
738
+ J as P,
739
+ Q as T,
756
740
  P as a,
757
- It as b,
758
- Ot as c,
759
- Lt as d,
760
- J as e,
761
- Ut as f,
762
- st as g,
763
- Vt as h,
764
- St as i,
765
- at as l,
766
- $t as r,
767
- Bt as t
741
+ Nt as b,
742
+ Mt as c,
743
+ $t as d,
744
+ Y as e,
745
+ zt as f,
746
+ ot as g,
747
+ Qt as h,
748
+ Rt as i,
749
+ it as l,
750
+ At as r,
751
+ Ct as t
768
752
  };
769
- //# sourceMappingURL=tooth-scheme.agent-CWrQBjJM.js.map
753
+ //# sourceMappingURL=tooth-scheme-3mITSXiZ.js.map