@alfadocs/ui-kit-debug 0.70.0 → 0.71.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 (568) hide show
  1. package/dist/_chunks/address-fields-CPbFJ8e8.js +246 -0
  2. package/dist/_chunks/address-fields-CPbFJ8e8.js.map +1 -0
  3. package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-V4DdOeqv.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js.map → ai-prompt-input-V4DdOeqv.js.map} +1 -1
  5. package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-DvIUzIX9.js} +107 -106
  6. package/dist/_chunks/alia-sidebar-DvIUzIX9.js.map +1 -0
  7. package/dist/_chunks/{anatomy-scheme-CJB6dI6p.js → anatomy-scheme-CXSk11UJ.js} +2 -2
  8. package/dist/_chunks/{anatomy-scheme-CJB6dI6p.js.map → anatomy-scheme-CXSk11UJ.js.map} +1 -1
  9. package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
  10. package/dist/_chunks/app-frame-DIEMIC5V.js.map +1 -0
  11. package/dist/_chunks/{appointment-card-C06aZqA7.js → appointment-card-DVaeJNVB.js} +82 -98
  12. package/dist/_chunks/appointment-card-DVaeJNVB.js.map +1 -0
  13. package/dist/_chunks/{appointment-timeline-BJM0S_Fg.js → appointment-timeline-PJgnrjFb.js} +159 -157
  14. package/dist/_chunks/appointment-timeline-PJgnrjFb.js.map +1 -0
  15. package/dist/_chunks/{appointment-tray-DRRw5ROi.js → appointment-tray-B16QPGbm.js} +2 -2
  16. package/dist/_chunks/{appointment-tray-DRRw5ROi.js.map → appointment-tray-B16QPGbm.js.map} +1 -1
  17. package/dist/_chunks/{audio-recorder-Cpdk5qpQ.js → audio-recorder-DNDsOLqO.js} +2 -2
  18. package/dist/_chunks/{audio-recorder-Cpdk5qpQ.js.map → audio-recorder-DNDsOLqO.js.map} +1 -1
  19. package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
  20. package/dist/_chunks/autocomplete-BrONKN8l.js.map +1 -0
  21. package/dist/_chunks/{bishop-score-DnYWtZa_.js → bishop-score-Cym_TeQY.js} +2 -2
  22. package/dist/_chunks/{bishop-score-DnYWtZa_.js.map → bishop-score-Cym_TeQY.js.map} +1 -1
  23. package/dist/_chunks/{booking-DUBI0oqt.js → booking-C7do4vaR.js} +4 -4
  24. package/dist/_chunks/{booking-DUBI0oqt.js.map → booking-C7do4vaR.js.map} +1 -1
  25. package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
  26. package/dist/_chunks/{button-group-Ciq6J4IW.js.map → button-group-CvEnVzY7.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-card-C5sTfY9G.js → care-plan-card-DzPDYgtK.js} +3 -3
  28. package/dist/_chunks/{care-plan-card-C5sTfY9G.js.map → care-plan-card-DzPDYgtK.js.map} +1 -1
  29. package/dist/_chunks/{care-plan-entry-card-CXnxGCWA.js → care-plan-entry-card-CEnQy7YP.js} +3 -3
  30. package/dist/_chunks/{care-plan-entry-card-CXnxGCWA.js.map → care-plan-entry-card-CEnQy7YP.js.map} +1 -1
  31. package/dist/_chunks/care-plan-header-DcXFXWit.js +198 -0
  32. package/dist/_chunks/care-plan-header-DcXFXWit.js.map +1 -0
  33. package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DzpcJR-q.js} +25 -23
  34. package/dist/_chunks/chat-message-DzpcJR-q.js.map +1 -0
  35. package/dist/_chunks/city-input-Dkgaak7I.js +169 -0
  36. package/dist/_chunks/city-input-Dkgaak7I.js.map +1 -0
  37. package/dist/_chunks/clipboard-list-S7s-MXQq.js +25 -0
  38. package/dist/_chunks/clipboard-list-S7s-MXQq.js.map +1 -0
  39. package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DnqSF0IH.js} +131 -114
  40. package/dist/_chunks/combobox-DnqSF0IH.js.map +1 -0
  41. package/dist/_chunks/connection-status-CY1HV8Wg.js +108 -0
  42. package/dist/_chunks/connection-status-CY1HV8Wg.js.map +1 -0
  43. package/dist/_chunks/control-room-rail-FAQZrGVL.js +333 -0
  44. package/dist/_chunks/control-room-rail-FAQZrGVL.js.map +1 -0
  45. package/dist/_chunks/country-select-BwUZQvTa.js +709 -0
  46. package/dist/_chunks/country-select-BwUZQvTa.js.map +1 -0
  47. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +410 -0
  48. package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js.map +1 -0
  49. package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
  50. package/dist/_chunks/{entity-card-9_62gY7l.js.map → entity-card-DmrgYSEX.js.map} +1 -1
  51. package/dist/_chunks/entity-summary-CaM1Y-xE.js +291 -0
  52. package/dist/_chunks/entity-summary-CaM1Y-xE.js.map +1 -0
  53. package/dist/_chunks/field-array-siUZzfYe.js +146 -0
  54. package/dist/_chunks/field-array-siUZzfYe.js.map +1 -0
  55. package/dist/_chunks/{field-value-NXYczdpO.js → field-value-3jMM0uDx.js} +2 -2
  56. package/dist/_chunks/field-value-3jMM0uDx.js.map +1 -0
  57. package/dist/_chunks/{gestational-age-calculator-CF2ISaYQ.js → gestational-age-calculator-DKzEV5Qi.js} +2 -2
  58. package/dist/_chunks/{gestational-age-calculator-CF2ISaYQ.js.map → gestational-age-calculator-DKzEV5Qi.js.map} +1 -1
  59. package/dist/_chunks/iban-input-B0TWzR1R.js +436 -0
  60. package/dist/_chunks/iban-input-B0TWzR1R.js.map +1 -0
  61. package/dist/_chunks/icon-picker-0B7KhrF1.js +272 -0
  62. package/dist/_chunks/icon-picker-0B7KhrF1.js.map +1 -0
  63. package/dist/_chunks/image-cropper-D9jqJy19.js +367 -0
  64. package/dist/_chunks/image-cropper-D9jqJy19.js.map +1 -0
  65. package/dist/_chunks/{link-cell-renderer-CTXqtXV-.js → link-cell-renderer-De_SLjSq.js} +262 -261
  66. package/dist/_chunks/link-cell-renderer-De_SLjSq.js.map +1 -0
  67. package/dist/_chunks/list-checks-BUs75d_o.js +18 -0
  68. package/dist/_chunks/list-checks-BUs75d_o.js.map +1 -0
  69. package/dist/_chunks/{marketplace-app-shell-Skhfp6vK.js → marketplace-app-shell-BGqkywsi.js} +3 -3
  70. package/dist/_chunks/{marketplace-app-shell-Skhfp6vK.js.map → marketplace-app-shell-BGqkywsi.js.map} +1 -1
  71. package/dist/_chunks/message-card-DsHFFiL1.js +319 -0
  72. package/dist/_chunks/message-card-DsHFFiL1.js.map +1 -0
  73. package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-C0a6CL1_.js} +172 -135
  74. package/dist/_chunks/message-tray-C0a6CL1_.js.map +1 -0
  75. package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-WE4S9FIF.js} +75 -63
  76. package/dist/_chunks/{multi-select-BdHHDrRN.js.map → multi-select-WE4S9FIF.js.map} +1 -1
  77. package/dist/_chunks/nav-grid-9xphY3FM.js +169 -0
  78. package/dist/_chunks/nav-grid-9xphY3FM.js.map +1 -0
  79. package/dist/_chunks/notes-panel-DXiMfuvp.js +320 -0
  80. package/dist/_chunks/notes-panel-DXiMfuvp.js.map +1 -0
  81. package/dist/_chunks/notification-card-BMqNzCIt.js +290 -0
  82. package/dist/_chunks/notification-card-BMqNzCIt.js.map +1 -0
  83. package/dist/_chunks/{notification-tray-AEun6DN2.js → notification-tray-BmUlCx3g.js} +201 -166
  84. package/dist/_chunks/notification-tray-BmUlCx3g.js.map +1 -0
  85. package/dist/_chunks/{operator-hero-CR0Rqh4-.js → operator-hero-BO8TqzX2.js} +2 -2
  86. package/dist/_chunks/{operator-hero-CR0Rqh4-.js.map → operator-hero-BO8TqzX2.js.map} +1 -1
  87. package/dist/_chunks/panel-header-D313n_9-.js +105 -0
  88. package/dist/_chunks/panel-header-D313n_9-.js.map +1 -0
  89. package/dist/_chunks/{patient-details-Dlhqb5ig.js → patient-details-DgfTJimE.js} +280 -196
  90. package/dist/_chunks/patient-details-DgfTJimE.js.map +1 -0
  91. package/dist/_chunks/{patient-search-Be6cLrHR.js → patient-search-CSWQKOSP.js} +2 -2
  92. package/dist/_chunks/{patient-search-Be6cLrHR.js.map → patient-search-CSWQKOSP.js.map} +1 -1
  93. package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-BMwsIKlW.js} +3 -3
  94. package/dist/_chunks/{patient-shell-DV3XEtIB.js.map → patient-shell-BMwsIKlW.js.map} +1 -1
  95. package/dist/_chunks/{patient-summary-card-WySCMwwA.js → patient-summary-card-D4NdgYJB.js} +27 -12
  96. package/dist/_chunks/{patient-summary-card-WySCMwwA.js.map → patient-summary-card-D4NdgYJB.js.map} +1 -1
  97. package/dist/_chunks/{patient-table-CHxf3Oqk.js → patient-table-CERknpd8.js} +3 -3
  98. package/dist/_chunks/{patient-table-CHxf3Oqk.js.map → patient-table-CERknpd8.js.map} +1 -1
  99. package/dist/_chunks/{payment-request-card-BcZJwu9z.js → payment-request-card-Blf-MFNY.js} +2 -2
  100. package/dist/_chunks/{payment-request-card-BcZJwu9z.js.map → payment-request-card-Blf-MFNY.js.map} +1 -1
  101. package/dist/_chunks/permission-matrix-Bw5oexUt.js +174 -0
  102. package/dist/_chunks/permission-matrix-Bw5oexUt.js.map +1 -0
  103. package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
  104. package/dist/_chunks/position-grid-CcvqHaKN.js.map +1 -0
  105. package/dist/_chunks/postal-code-input-UCOYuRY2.js +192 -0
  106. package/dist/_chunks/postal-code-input-UCOYuRY2.js.map +1 -0
  107. package/dist/_chunks/{practice-results-C6qDfxos.js → practice-results-El5Z-oVp.js} +2 -2
  108. package/dist/_chunks/{practice-results-C6qDfxos.js.map → practice-results-El5Z-oVp.js.map} +1 -1
  109. package/dist/_chunks/{pregnancy-dating-CRVWswD-.js → pregnancy-dating-CunHrOpO.js} +2 -2
  110. package/dist/_chunks/{pregnancy-dating-CRVWswD-.js.map → pregnancy-dating-CunHrOpO.js.map} +1 -1
  111. package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-DtU7KXxm.js} +257 -217
  112. package/dist/_chunks/product-hub-panel-DtU7KXxm.js.map +1 -0
  113. package/dist/_chunks/province-select-D_TZvix3.js +261 -0
  114. package/dist/_chunks/province-select-D_TZvix3.js.map +1 -0
  115. package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-TxmC_x1I.js} +2 -2
  116. package/dist/_chunks/{public-header.agent-DqkqA-ca.js.map → public-header.agent-TxmC_x1I.js.map} +1 -1
  117. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +553 -0
  118. package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js.map +1 -0
  119. package/dist/_chunks/reviews-panel-DxkSrgMl.js +559 -0
  120. package/dist/_chunks/reviews-panel-DxkSrgMl.js.map +1 -0
  121. package/dist/_chunks/rich-text-editor-C8tyGjfb.js +2621 -0
  122. package/dist/_chunks/rich-text-editor-C8tyGjfb.js.map +1 -0
  123. package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
  124. package/dist/_chunks/scroll-area-BZOvUhwQ.js.map +1 -0
  125. package/dist/_chunks/{select-DMLG44F5.js → select-KsyRr8WH.js} +114 -102
  126. package/dist/_chunks/select-KsyRr8WH.js.map +1 -0
  127. package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-umkfZjF6.js} +53 -42
  128. package/dist/_chunks/sheet-umkfZjF6.js.map +1 -0
  129. package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-QCp9wHNP.js} +125 -113
  130. package/dist/_chunks/sidebar-QCp9wHNP.js.map +1 -0
  131. package/dist/_chunks/{tabs-BxcOziCo.js → tabs-CYZVKKDl.js} +2 -2
  132. package/dist/_chunks/{tabs-BxcOziCo.js.map → tabs-CYZVKKDl.js.map} +1 -1
  133. package/dist/_chunks/task-card-DCdsI0ZT.js +189 -0
  134. package/dist/_chunks/task-card-DCdsI0ZT.js.map +1 -0
  135. package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DNVejijD.js} +2 -2
  136. package/dist/_chunks/{task-tray-qOEQflu4.js.map → task-tray-DNVejijD.js.map} +1 -1
  137. package/dist/_chunks/tasks-panel-C9odmawT.js +757 -0
  138. package/dist/_chunks/tasks-panel-C9odmawT.js.map +1 -0
  139. package/dist/_chunks/token-insert-menu-CFQqTe_n.js +147 -0
  140. package/dist/_chunks/token-insert-menu-CFQqTe_n.js.map +1 -0
  141. package/dist/_chunks/{ai-tools-rail-B5NEghsp.js → tool-rail-BZx0-yIr.js} +152 -139
  142. package/dist/_chunks/tool-rail-BZx0-yIr.js.map +1 -0
  143. package/dist/_chunks/{tooth-scheme-BhQoPNBD.js → tooth-scheme-DJZtzfeY.js} +470 -468
  144. package/dist/_chunks/tooth-scheme-DJZtzfeY.js.map +1 -0
  145. package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-CHGHHHdT.js} +95 -83
  146. package/dist/_chunks/transcript-panel-CHGHHHdT.js.map +1 -0
  147. package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-CwlZbfdn.js} +2 -2
  148. package/dist/_chunks/{unit-converter-YEpD9evj.js.map → unit-converter-CwlZbfdn.js.map} +1 -1
  149. package/dist/_chunks/use-edge-resize-ZnGG7gyO.js.map +1 -1
  150. package/dist/_chunks/{workflow-map-Dy8mLCqF.js → workflow-map-M8MBBHQm.js} +106 -118
  151. package/dist/_chunks/workflow-map-M8MBBHQm.js.map +1 -0
  152. package/dist/agent-catalog.json +2062 -226
  153. package/dist/agent-i18n/en.json +206 -8
  154. package/dist/components/_shared/option.d.ts +2 -0
  155. package/dist/components/_shared/option.d.ts.map +1 -1
  156. package/dist/components/_shared/patient-fields.d.ts +1 -1
  157. package/dist/components/_shared/patient-fields.d.ts.map +1 -1
  158. package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
  159. package/dist/components/address-fields/address-fields.agent.d.ts.map +1 -0
  160. package/dist/components/address-fields/address-fields.d.ts +29 -0
  161. package/dist/components/address-fields/address-fields.d.ts.map +1 -0
  162. package/dist/components/address-fields/index.d.ts +5 -0
  163. package/dist/components/address-fields/index.d.ts.map +1 -0
  164. package/dist/components/address-fields/index.js +6 -0
  165. package/dist/components/ai-prompt-input/index.js +1 -1
  166. package/dist/components/anatomy-scheme/index.js +1 -1
  167. package/dist/components/app-frame/app-frame.d.ts +2 -2
  168. package/dist/components/app-frame/app-frame.d.ts.map +1 -1
  169. package/dist/components/app-frame/index.js +1 -1
  170. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
  171. package/dist/components/appointment-card/index.js +2 -2
  172. package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -1
  173. package/dist/components/appointment-timeline/index.js +1 -1
  174. package/dist/components/audio-recorder/index.js +1 -1
  175. package/dist/components/autocomplete/autocomplete.d.ts +10 -0
  176. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  177. package/dist/components/autocomplete/index.js +1 -1
  178. package/dist/components/bishop-score/index.js +1 -1
  179. package/dist/components/booking/index.js +1 -1
  180. package/dist/components/button-group/button-group.d.ts.map +1 -1
  181. package/dist/components/button-group/index.js +1 -1
  182. package/dist/components/care-plan-card/index.js +1 -1
  183. package/dist/components/care-plan-entry-card/index.js +1 -1
  184. package/dist/components/care-plan-header/care-plan-header.d.ts +16 -5
  185. package/dist/components/care-plan-header/care-plan-header.d.ts.map +1 -1
  186. package/dist/components/care-plan-header/index.js +1 -1
  187. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  188. package/dist/components/chat-message/index.js +1 -1
  189. package/dist/components/city-input/city-input.agent.d.ts +8 -0
  190. package/dist/components/city-input/city-input.agent.d.ts.map +1 -0
  191. package/dist/components/city-input/city-input.d.ts +57 -0
  192. package/dist/components/city-input/city-input.d.ts.map +1 -0
  193. package/dist/components/city-input/index.d.ts +5 -0
  194. package/dist/components/city-input/index.d.ts.map +1 -0
  195. package/dist/components/city-input/index.js +6 -0
  196. package/dist/components/city-input/index.js.map +1 -0
  197. package/dist/components/combobox/combobox.d.ts +17 -0
  198. package/dist/components/combobox/combobox.d.ts.map +1 -1
  199. package/dist/components/combobox/index.js +1 -1
  200. package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
  201. package/dist/components/connection-status/connection-status.agent.d.ts.map +1 -0
  202. package/dist/components/connection-status/connection-status.d.ts +36 -0
  203. package/dist/components/connection-status/connection-status.d.ts.map +1 -0
  204. package/dist/components/connection-status/index.d.ts +4 -0
  205. package/dist/components/connection-status/index.d.ts.map +1 -0
  206. package/dist/components/connection-status/index.js +6 -0
  207. package/dist/components/connection-status/index.js.map +1 -0
  208. package/dist/components/control-room-rail/control-room-context.d.ts +5 -5
  209. package/dist/components/control-room-rail/control-room-context.d.ts.map +1 -1
  210. package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
  211. package/dist/components/control-room-rail/control-room-rail.agent.d.ts.map +1 -0
  212. package/dist/components/control-room-rail/control-room-rail.d.ts +5 -5
  213. package/dist/components/control-room-rail/control-room-rail.d.ts.map +1 -1
  214. package/dist/components/control-room-rail/index.d.ts +1 -0
  215. package/dist/components/control-room-rail/index.d.ts.map +1 -1
  216. package/dist/components/control-room-rail/index.js +4 -3
  217. package/dist/components/counter/counter.d.ts +1 -1
  218. package/dist/components/country-select/country-select.agent.d.ts +8 -0
  219. package/dist/components/country-select/country-select.agent.d.ts.map +1 -0
  220. package/dist/components/country-select/country-select.d.ts +51 -0
  221. package/dist/components/country-select/country-select.d.ts.map +1 -0
  222. package/dist/components/country-select/index.d.ts +6 -0
  223. package/dist/components/country-select/index.d.ts.map +1 -0
  224. package/dist/components/country-select/index.js +9 -0
  225. package/dist/components/country-select/index.js.map +1 -0
  226. package/dist/components/country-select/iso-3166.d.ts +15 -0
  227. package/dist/components/country-select/iso-3166.d.ts.map +1 -0
  228. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
  229. package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts.map +1 -0
  230. package/dist/components/data-table/filters/select-filter.d.ts.map +1 -1
  231. package/dist/components/data-table/index.d.ts +2 -0
  232. package/dist/components/data-table/index.d.ts.map +1 -1
  233. package/dist/components/data-table/index.js +13 -11
  234. package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
  235. package/dist/components/entity-summary/entity-summary.agent.d.ts.map +1 -0
  236. package/dist/components/entity-summary/entity-summary.d.ts +53 -4
  237. package/dist/components/entity-summary/entity-summary.d.ts.map +1 -1
  238. package/dist/components/entity-summary/index.js +1 -1
  239. package/dist/components/field-array/field-array.agent.d.ts +4 -0
  240. package/dist/components/field-array/field-array.agent.d.ts.map +1 -0
  241. package/dist/components/field-array/field-array.d.ts +45 -0
  242. package/dist/components/field-array/field-array.d.ts.map +1 -0
  243. package/dist/components/field-array/index.d.ts +4 -0
  244. package/dist/components/field-array/index.d.ts.map +1 -0
  245. package/dist/components/field-array/index.js +6 -0
  246. package/dist/components/field-array/index.js.map +1 -0
  247. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  248. package/dist/components/gestational-age-calculator/index.js +1 -1
  249. package/dist/components/iban-input/iban-input.agent.d.ts +4 -0
  250. package/dist/components/iban-input/iban-input.agent.d.ts.map +1 -0
  251. package/dist/components/iban-input/iban-input.d.ts +51 -0
  252. package/dist/components/iban-input/iban-input.d.ts.map +1 -0
  253. package/dist/components/iban-input/index.d.ts +5 -0
  254. package/dist/components/iban-input/index.d.ts.map +1 -0
  255. package/dist/components/iban-input/index.js +13 -0
  256. package/dist/components/iban-input/index.js.map +1 -0
  257. package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
  258. package/dist/components/iban-input/is-valid-iban.d.ts.map +1 -0
  259. package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
  260. package/dist/components/icon-picker/icon-picker.agent.d.ts.map +1 -0
  261. package/dist/components/icon-picker/icon-picker.d.ts +41 -0
  262. package/dist/components/icon-picker/icon-picker.d.ts.map +1 -0
  263. package/dist/components/icon-picker/index.d.ts +4 -0
  264. package/dist/components/icon-picker/index.d.ts.map +1 -0
  265. package/dist/components/icon-picker/index.js +6 -0
  266. package/dist/components/icon-picker/index.js.map +1 -0
  267. package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
  268. package/dist/components/image-cropper/crop-geometry.d.ts.map +1 -0
  269. package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
  270. package/dist/components/image-cropper/image-cropper.agent.d.ts.map +1 -0
  271. package/dist/components/image-cropper/image-cropper.d.ts +32 -0
  272. package/dist/components/image-cropper/image-cropper.d.ts.map +1 -0
  273. package/dist/components/image-cropper/index.d.ts +5 -0
  274. package/dist/components/image-cropper/index.d.ts.map +1 -0
  275. package/dist/components/image-cropper/index.js +11 -0
  276. package/dist/components/image-cropper/index.js.map +1 -0
  277. package/dist/components/index.d.ts +16 -1
  278. package/dist/components/index.d.ts.map +1 -1
  279. package/dist/components/message-card/index.js +1 -1
  280. package/dist/components/message-card/message-card.d.ts +14 -0
  281. package/dist/components/message-card/message-card.d.ts.map +1 -1
  282. package/dist/components/message-tray/index.js +1 -1
  283. package/dist/components/message-tray/message-tray.agent.d.ts.map +1 -1
  284. package/dist/components/message-tray/message-tray.d.ts +4 -0
  285. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  286. package/dist/components/multi-select/index.js +1 -1
  287. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  288. package/dist/components/nav-grid/index.d.ts +4 -0
  289. package/dist/components/nav-grid/index.d.ts.map +1 -0
  290. package/dist/components/nav-grid/index.js +7 -0
  291. package/dist/components/nav-grid/index.js.map +1 -0
  292. package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
  293. package/dist/components/nav-grid/nav-grid.agent.d.ts.map +1 -0
  294. package/dist/components/nav-grid/nav-grid.d.ts +41 -0
  295. package/dist/components/nav-grid/nav-grid.d.ts.map +1 -0
  296. package/dist/components/notes-panel/index.js +1 -1
  297. package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
  298. package/dist/components/notes-panel/notes-panel.agent.d.ts.map +1 -0
  299. package/dist/components/notes-panel/notes-panel.d.ts +30 -0
  300. package/dist/components/notes-panel/notes-panel.d.ts.map +1 -1
  301. package/dist/components/notification-card/index.js +1 -1
  302. package/dist/components/notification-card/notification-card.d.ts +15 -0
  303. package/dist/components/notification-card/notification-card.d.ts.map +1 -1
  304. package/dist/components/notification-tray/index.js +1 -1
  305. package/dist/components/notification-tray/notification-tray.agent.d.ts.map +1 -1
  306. package/dist/components/notification-tray/notification-tray.d.ts +4 -0
  307. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  308. package/dist/components/operator-hero/index.js +1 -1
  309. package/dist/components/panel-header/index.d.ts +3 -0
  310. package/dist/components/panel-header/index.d.ts.map +1 -0
  311. package/dist/components/panel-header/index.js +7 -0
  312. package/dist/components/panel-header/index.js.map +1 -0
  313. package/dist/components/panel-header/panel-header.d.ts +41 -0
  314. package/dist/components/panel-header/panel-header.d.ts.map +1 -0
  315. package/dist/components/patient-details/index.js +1 -1
  316. package/dist/components/patient-details/patient-details.d.ts.map +1 -1
  317. package/dist/components/patient-search/index.js +1 -1
  318. package/dist/components/patient-summary-card/index.js +1 -1
  319. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  320. package/dist/components/patient-table/index.js +1 -1
  321. package/dist/components/payment-card/index.js +1 -1
  322. package/dist/components/permission-matrix/index.d.ts +4 -0
  323. package/dist/components/permission-matrix/index.d.ts.map +1 -0
  324. package/dist/components/permission-matrix/index.js +7 -0
  325. package/dist/components/permission-matrix/index.js.map +1 -0
  326. package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
  327. package/dist/components/permission-matrix/permission-matrix.agent.d.ts.map +1 -0
  328. package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
  329. package/dist/components/permission-matrix/permission-matrix.d.ts.map +1 -0
  330. package/dist/components/position-grid/index.d.ts +4 -0
  331. package/dist/components/position-grid/index.d.ts.map +1 -0
  332. package/dist/components/position-grid/index.js +7 -0
  333. package/dist/components/position-grid/index.js.map +1 -0
  334. package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
  335. package/dist/components/position-grid/position-grid.agent.d.ts.map +1 -0
  336. package/dist/components/position-grid/position-grid.d.ts +39 -0
  337. package/dist/components/position-grid/position-grid.d.ts.map +1 -0
  338. package/dist/components/postal-code-input/index.d.ts +5 -0
  339. package/dist/components/postal-code-input/index.d.ts.map +1 -0
  340. package/dist/components/postal-code-input/index.js +6 -0
  341. package/dist/components/postal-code-input/index.js.map +1 -0
  342. package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
  343. package/dist/components/postal-code-input/postal-code-input.agent.d.ts.map +1 -0
  344. package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
  345. package/dist/components/postal-code-input/postal-code-input.d.ts.map +1 -0
  346. package/dist/components/practice-results/index.js +1 -1
  347. package/dist/components/pregnancy-dating/index.js +1 -1
  348. package/dist/components/product-hub-tray/index.js +1 -1
  349. package/dist/components/product-hub-tray/product-hub-tray.d.ts +13 -1
  350. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  351. package/dist/components/province-select/index.d.ts +6 -0
  352. package/dist/components/province-select/index.d.ts.map +1 -0
  353. package/dist/components/province-select/index.js +7 -0
  354. package/dist/components/province-select/index.js.map +1 -0
  355. package/dist/components/province-select/it-provinces.d.ts +8 -0
  356. package/dist/components/province-select/it-provinces.d.ts.map +1 -0
  357. package/dist/components/province-select/province-select.agent.d.ts +8 -0
  358. package/dist/components/province-select/province-select.agent.d.ts.map +1 -0
  359. package/dist/components/province-select/province-select.d.ts +38 -0
  360. package/dist/components/province-select/province-select.d.ts.map +1 -0
  361. package/dist/components/public-footer/public-footer.d.ts +1 -1
  362. package/dist/components/public-header/index.js +1 -1
  363. package/dist/components/radiograph-panel/index.js +1 -1
  364. package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -1
  365. package/dist/components/reviews-panel/index.js +1 -1
  366. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  367. package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
  368. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  369. package/dist/components/rich-text-editor/index.js +1 -1
  370. package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -1
  371. package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
  372. package/dist/components/scroll-area/index.js +1 -1
  373. package/dist/components/select/index.js +1 -1
  374. package/dist/components/select/select.d.ts +8 -2
  375. package/dist/components/select/select.d.ts.map +1 -1
  376. package/dist/components/sheet/index.js +1 -1
  377. package/dist/components/sheet/sheet.d.ts.map +1 -1
  378. package/dist/components/sidebar/index.js +1 -1
  379. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  380. package/dist/components/skeleton/skeleton.d.ts +1 -1
  381. package/dist/components/tabs/index.js +1 -1
  382. package/dist/components/task-card/index.js +1 -1
  383. package/dist/components/task-card/task-card.d.ts +14 -6
  384. package/dist/components/task-card/task-card.d.ts.map +1 -1
  385. package/dist/components/task-tray/index.js +1 -1
  386. package/dist/components/tasks-panel/index.d.ts +4 -0
  387. package/dist/components/tasks-panel/index.d.ts.map +1 -0
  388. package/dist/components/tasks-panel/index.js +6 -0
  389. package/dist/components/tasks-panel/index.js.map +1 -0
  390. package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
  391. package/dist/components/tasks-panel/tasks-panel.agent.d.ts.map +1 -0
  392. package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
  393. package/dist/components/tasks-panel/tasks-panel.d.ts.map +1 -0
  394. package/dist/components/token-insert-menu/index.d.ts +4 -0
  395. package/dist/components/token-insert-menu/index.d.ts.map +1 -0
  396. package/dist/components/token-insert-menu/index.js +6 -0
  397. package/dist/components/token-insert-menu/index.js.map +1 -0
  398. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
  399. package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts.map +1 -0
  400. package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
  401. package/dist/components/token-insert-menu/token-insert-menu.d.ts.map +1 -0
  402. package/dist/components/tool-rail/index.d.ts +4 -0
  403. package/dist/components/tool-rail/index.d.ts.map +1 -0
  404. package/dist/components/tool-rail/index.js +6 -0
  405. package/dist/components/tool-rail/index.js.map +1 -0
  406. package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
  407. package/dist/components/tool-rail/tool-rail.agent.d.ts.map +1 -0
  408. package/dist/components/{ai-tools-rail/ai-tools-rail.d.ts → tool-rail/tool-rail.d.ts} +29 -12
  409. package/dist/components/tool-rail/tool-rail.d.ts.map +1 -0
  410. package/dist/components/tooth-scheme/index.js +1 -1
  411. package/dist/components/tooth-scheme/tooth-scheme.d.ts +9 -0
  412. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  413. package/dist/components/transcript-panel/index.js +1 -1
  414. package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
  415. package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
  416. package/dist/components/unit-converter/index.js +1 -1
  417. package/dist/components/workflow/index.js +1 -1
  418. package/dist/hooks/use-edge-resize.d.ts +2 -2
  419. package/dist/i18n/locales/ar.d.ts +167 -2
  420. package/dist/i18n/locales/ar.d.ts.map +1 -1
  421. package/dist/i18n/locales/ar.js +157 -5
  422. package/dist/i18n/locales/ar.js.map +1 -1
  423. package/dist/i18n/locales/de.d.ts +167 -2
  424. package/dist/i18n/locales/de.d.ts.map +1 -1
  425. package/dist/i18n/locales/de.js +159 -5
  426. package/dist/i18n/locales/de.js.map +1 -1
  427. package/dist/i18n/locales/el.d.ts +167 -2
  428. package/dist/i18n/locales/el.d.ts.map +1 -1
  429. package/dist/i18n/locales/el.js +164 -5
  430. package/dist/i18n/locales/el.js.map +1 -1
  431. package/dist/i18n/locales/en.d.ts +167 -2
  432. package/dist/i18n/locales/en.d.ts.map +1 -1
  433. package/dist/i18n/locales/en.js +170 -5
  434. package/dist/i18n/locales/en.js.map +1 -1
  435. package/dist/i18n/locales/es.d.ts +167 -2
  436. package/dist/i18n/locales/es.d.ts.map +1 -1
  437. package/dist/i18n/locales/es.js +156 -5
  438. package/dist/i18n/locales/es.js.map +1 -1
  439. package/dist/i18n/locales/fr.d.ts +167 -2
  440. package/dist/i18n/locales/fr.d.ts.map +1 -1
  441. package/dist/i18n/locales/fr.js +159 -5
  442. package/dist/i18n/locales/fr.js.map +1 -1
  443. package/dist/i18n/locales/hi.d.ts +167 -2
  444. package/dist/i18n/locales/hi.d.ts.map +1 -1
  445. package/dist/i18n/locales/hi.js +155 -5
  446. package/dist/i18n/locales/hi.js.map +1 -1
  447. package/dist/i18n/locales/it.d.ts +167 -2
  448. package/dist/i18n/locales/it.d.ts.map +1 -1
  449. package/dist/i18n/locales/it.js +159 -5
  450. package/dist/i18n/locales/it.js.map +1 -1
  451. package/dist/i18n/locales/ja.d.ts +167 -2
  452. package/dist/i18n/locales/ja.d.ts.map +1 -1
  453. package/dist/i18n/locales/ja.js +160 -5
  454. package/dist/i18n/locales/ja.js.map +1 -1
  455. package/dist/i18n/locales/nl.d.ts +167 -2
  456. package/dist/i18n/locales/nl.d.ts.map +1 -1
  457. package/dist/i18n/locales/nl.js +152 -5
  458. package/dist/i18n/locales/nl.js.map +1 -1
  459. package/dist/i18n/locales/pl.d.ts +167 -2
  460. package/dist/i18n/locales/pl.d.ts.map +1 -1
  461. package/dist/i18n/locales/pl.js +160 -5
  462. package/dist/i18n/locales/pl.js.map +1 -1
  463. package/dist/i18n/locales/pt.d.ts +167 -2
  464. package/dist/i18n/locales/pt.d.ts.map +1 -1
  465. package/dist/i18n/locales/pt.js +164 -5
  466. package/dist/i18n/locales/pt.js.map +1 -1
  467. package/dist/i18n/locales/ro.d.ts +167 -2
  468. package/dist/i18n/locales/ro.d.ts.map +1 -1
  469. package/dist/i18n/locales/ro.js +164 -5
  470. package/dist/i18n/locales/ro.js.map +1 -1
  471. package/dist/i18n/locales/ru.d.ts +167 -2
  472. package/dist/i18n/locales/ru.d.ts.map +1 -1
  473. package/dist/i18n/locales/ru.js +157 -5
  474. package/dist/i18n/locales/ru.js.map +1 -1
  475. package/dist/i18n/locales/sq.d.ts +167 -2
  476. package/dist/i18n/locales/sq.d.ts.map +1 -1
  477. package/dist/i18n/locales/sq.js +161 -5
  478. package/dist/i18n/locales/sq.js.map +1 -1
  479. package/dist/i18n/locales/sv.d.ts +167 -2
  480. package/dist/i18n/locales/sv.d.ts.map +1 -1
  481. package/dist/i18n/locales/sv.js +159 -5
  482. package/dist/i18n/locales/sv.js.map +1 -1
  483. package/dist/i18n/locales/tr.d.ts +167 -2
  484. package/dist/i18n/locales/tr.d.ts.map +1 -1
  485. package/dist/i18n/locales/tr.js +157 -5
  486. package/dist/i18n/locales/tr.js.map +1 -1
  487. package/dist/i18n/locales/zh.d.ts +167 -2
  488. package/dist/i18n/locales/zh.d.ts.map +1 -1
  489. package/dist/i18n/locales/zh.js +152 -5
  490. package/dist/i18n/locales/zh.js.map +1 -1
  491. package/dist/index.js +823 -755
  492. package/dist/index.js.map +1 -1
  493. package/dist/locales/ar.json +170 -5
  494. package/dist/locales/de.json +170 -5
  495. package/dist/locales/el.json +170 -5
  496. package/dist/locales/en.json +170 -5
  497. package/dist/locales/es.json +170 -5
  498. package/dist/locales/fr.json +170 -5
  499. package/dist/locales/hi.json +170 -5
  500. package/dist/locales/it.json +170 -5
  501. package/dist/locales/ja.json +170 -5
  502. package/dist/locales/nl.json +170 -5
  503. package/dist/locales/pl.json +170 -5
  504. package/dist/locales/pt.json +170 -5
  505. package/dist/locales/ro.json +170 -5
  506. package/dist/locales/ru.json +170 -5
  507. package/dist/locales/sq.json +170 -5
  508. package/dist/locales/sv.json +170 -5
  509. package/dist/locales/tr.json +170 -5
  510. package/dist/locales/zh.json +170 -5
  511. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  512. package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
  513. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  514. package/dist/patterns/alia-assistant/index.js +1 -1
  515. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  516. package/dist/patterns/patient-shell/index.js +1 -1
  517. package/dist/tokens.css +9 -1
  518. package/package.json +65 -5
  519. package/dist/_chunks/ai-tools-rail-B5NEghsp.js.map +0 -1
  520. package/dist/_chunks/alia-sidebar-B47qRQb5.js.map +0 -1
  521. package/dist/_chunks/app-frame-BYx1gcV7.js.map +0 -1
  522. package/dist/_chunks/appointment-card-C06aZqA7.js.map +0 -1
  523. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js.map +0 -1
  524. package/dist/_chunks/autocomplete-DOeGouCL.js.map +0 -1
  525. package/dist/_chunks/care-plan-header-BUwqDTtz.js +0 -206
  526. package/dist/_chunks/care-plan-header-BUwqDTtz.js.map +0 -1
  527. package/dist/_chunks/chat-message-3V54YipB.js.map +0 -1
  528. package/dist/_chunks/combobox-Clum7gJ1.js.map +0 -1
  529. package/dist/_chunks/control-room-rail-Y8ryLYsP.js +0 -229
  530. package/dist/_chunks/control-room-rail-Y8ryLYsP.js.map +0 -1
  531. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +0 -328
  532. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js.map +0 -1
  533. package/dist/_chunks/entity-summary-BxRjFh_4.js +0 -138
  534. package/dist/_chunks/entity-summary-BxRjFh_4.js.map +0 -1
  535. package/dist/_chunks/field-value-NXYczdpO.js.map +0 -1
  536. package/dist/_chunks/link-cell-renderer-CTXqtXV-.js.map +0 -1
  537. package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
  538. package/dist/_chunks/message-card-Bx4GmLvf.js.map +0 -1
  539. package/dist/_chunks/message-tray-DwrBLJlf.js.map +0 -1
  540. package/dist/_chunks/notes-panel-ay8_lPrA.js +0 -158
  541. package/dist/_chunks/notes-panel-ay8_lPrA.js.map +0 -1
  542. package/dist/_chunks/notification-card-D2jiKSJJ.js +0 -259
  543. package/dist/_chunks/notification-card-D2jiKSJJ.js.map +0 -1
  544. package/dist/_chunks/notification-tray-AEun6DN2.js.map +0 -1
  545. package/dist/_chunks/patient-details-Dlhqb5ig.js.map +0 -1
  546. package/dist/_chunks/product-hub-panel-e6pW220e.js.map +0 -1
  547. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +0 -558
  548. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js.map +0 -1
  549. package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
  550. package/dist/_chunks/reviews-panel-Dq7LMDcH.js.map +0 -1
  551. package/dist/_chunks/rich-text-editor-DlCqPixb.js +0 -2158
  552. package/dist/_chunks/rich-text-editor-DlCqPixb.js.map +0 -1
  553. package/dist/_chunks/scroll-area-5wNK0Cyz.js.map +0 -1
  554. package/dist/_chunks/select-DMLG44F5.js.map +0 -1
  555. package/dist/_chunks/sheet-BxsE7eQm.js.map +0 -1
  556. package/dist/_chunks/sidebar-DY9jGjgt.js.map +0 -1
  557. package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
  558. package/dist/_chunks/task-card-BwY9jaV1.js.map +0 -1
  559. package/dist/_chunks/tooth-scheme-BhQoPNBD.js.map +0 -1
  560. package/dist/_chunks/transcript-panel-3THQX6nJ.js.map +0 -1
  561. package/dist/_chunks/workflow-map-Dy8mLCqF.js.map +0 -1
  562. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
  563. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +0 -1
  564. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +0 -1
  565. package/dist/components/ai-tools-rail/index.d.ts +0 -4
  566. package/dist/components/ai-tools-rail/index.d.ts.map +0 -1
  567. package/dist/components/ai-tools-rail/index.js +0 -6
  568. /package/dist/components/{ai-tools-rail → address-fields}/index.js.map +0 -0
@@ -1,21 +1,21 @@
1
1
  import { jsxs as D, jsx as f } from "react/jsx-runtime";
2
- import { forwardRef as Ie, useRef as m, useState as E, useMemo as T, useId as xe, useCallback as U, useEffect as Te, useImperativeHandle as Re, Fragment as ke } from "react";
2
+ import { forwardRef as Re, useRef as m, useState as E, useMemo as R, useId as ke, useCallback as F, useEffect as Te, useImperativeHandle as ze, Fragment as _e } from "react";
3
3
  import { c as w } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ae } from "react-i18next";
5
- import { I as _e } from "./icon-button-LqoiKcUN.js";
6
- import { S as ze } from "./scroll-area-5wNK0Cyz.js";
7
- import { a as De } from "./tooltip-DvmfrNvB.js";
8
- import { u as Ee } from "./use-controllable-state-BiY4xTzM.js";
9
- import { u as Se } from "./use-edge-resize-ZnGG7gyO.js";
10
- import { u as ae } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
- import { u as Ne } from "./registry-DvAUVLHh.js";
12
- const Ve = {
13
- id: "ai-tools-rail",
5
+ import { I as Se } from "./icon-button-LqoiKcUN.js";
6
+ import { S as De } from "./scroll-area-BZOvUhwQ.js";
7
+ import { a as Ee } from "./tooltip-DvmfrNvB.js";
8
+ import { u as Ne } from "./use-controllable-state-BiY4xTzM.js";
9
+ import { u as Ce } from "./use-edge-resize-ZnGG7gyO.js";
10
+ import { u as te } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
+ import { u as Ve } from "./registry-DvAUVLHh.js";
12
+ const Le = {
13
+ id: "tool-rail",
14
14
  capabilities: ["open", "close", "select_single"],
15
15
  state: {
16
16
  activeToolId: {
17
17
  type: "string | null",
18
- descriptionKey: "ui.aiToolsRail.agent.state.activeToolId",
18
+ descriptionKey: "ui.toolRail.agent.state.activeToolId",
19
19
  description: "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed.",
20
20
  read: (o) => o.getActiveToolId()
21
21
  }
@@ -33,7 +33,7 @@ const Ve = {
33
33
  idempotent: !0,
34
34
  // descriptionKey shape is intentionally pre-existing — already resolves to
35
35
  // real multi-locale translations; do not canonicalise.
36
- descriptionKey: "ui.aiToolsRail.agent.actions.open",
36
+ descriptionKey: "ui.toolRail.agent.actions.open",
37
37
  description: "Open the given tool's panel.",
38
38
  examples: [{ args: { id: "inbox" }, note: "Open the inbox tool panel." }],
39
39
  invoke: (o, a) => {
@@ -43,7 +43,7 @@ const Ve = {
43
43
  close: {
44
44
  safety: "read",
45
45
  idempotent: !0,
46
- descriptionKey: "ui.aiToolsRail.agent.actions.close",
46
+ descriptionKey: "ui.toolRail.agent.actions.close",
47
47
  description: "Collapse the rail to its strip (no active tool).",
48
48
  invoke: (o) => {
49
49
  o.close();
@@ -58,7 +58,7 @@ const Ve = {
58
58
  required: ["id"]
59
59
  },
60
60
  idempotent: !0,
61
- descriptionKey: "ui.aiToolsRail.agent.actions.selectTool",
61
+ descriptionKey: "ui.toolRail.agent.actions.selectTool",
62
62
  description: "Set the active tool by id (opens its panel), or pass null to collapse.",
63
63
  invoke: (o, a) => {
64
64
  o.setActiveTool(a.id);
@@ -68,8 +68,8 @@ const Ve = {
68
68
  domHooks: {
69
69
  root: {
70
70
  attr: "data-component",
71
- value: "ai-tools-rail",
72
- description: "Marks the AiToolsRail wrapper."
71
+ value: "tool-rail",
72
+ description: "Marks the ToolRail wrapper."
73
73
  },
74
74
  instanceId: {
75
75
  attr: "data-component-id",
@@ -81,7 +81,7 @@ const Ve = {
81
81
  description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
82
82
  }
83
83
  }
84
- }, Ce = "ds:[inline-size:3rem]", Le = "ds:[inline-size:var(--ai-tools-rail-panel-inline-size,22rem)]", te = "--ai-tools-rail-panel-inline-size", Ke = 288, je = 640, Pe = 352, Me = w(
84
+ }, Ke = "ds:[inline-size:3rem]", je = "ds:[inline-size:var(--tool-rail-panel-inline-size,var(--ai-tools-rail-panel-inline-size,22rem))]", ae = "--tool-rail-panel-inline-size", Pe = 288, Me = 640, qe = 352, Be = w(
85
85
  ["ds:flex ds:shrink-0 ds:h-full", "ds:bg-[var(--background)]"].join(" "),
86
86
  {
87
87
  variants: {
@@ -99,23 +99,23 @@ const Ve = {
99
99
  },
100
100
  defaultVariants: { side: "end" }
101
101
  }
102
- ), Be = w(
102
+ ), Fe = w(
103
103
  [
104
104
  "ds:flex ds:shrink-0 ds:flex-col ds:items-center",
105
105
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]",
106
106
  "ds:gap-[var(--spacing-xs)]",
107
- Ce
107
+ Ke
108
108
  ].join(" ")
109
109
  ), Ue = w(
110
110
  [
111
111
  "ds:relative ds:flex ds:min-h-0 ds:flex-col ds:h-full",
112
112
  "ds:bg-[var(--background)]",
113
- Le,
113
+ je,
114
114
  // Defensive: the panel doesn't animate its width today, but if a
115
115
  // consumer adds a transition on the var, suppress it mid-drag.
116
116
  "ds:data-[resizing]:transition-none"
117
117
  ].join(" ")
118
- ), qe = w(
118
+ ), He = w(
119
119
  [
120
120
  "ds:absolute ds:[inset-block:0] ds:z-[1] ds:select-none ds:touch-none",
121
121
  "ds:[inline-size:var(--resizable-handle-size)] ds:cursor-col-resize",
@@ -139,7 +139,7 @@ const Ve = {
139
139
  },
140
140
  defaultVariants: { edge: "inline-start" }
141
141
  }
142
- ), Fe = w(
142
+ ), $e = w(
143
143
  [
144
144
  "ds:absolute ds:-top-[var(--spacing-xs)] ds:-end-[var(--spacing-xs)]",
145
145
  "ds:inline-flex ds:items-center ds:justify-center",
@@ -152,7 +152,7 @@ const Ve = {
152
152
  "ds:pointer-events-none ds:select-none",
153
153
  "ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
154
154
  ].join(" ")
155
- ), He = w(
155
+ ), Oe = w(
156
156
  // `group/rail-tool` lets an affordance overlay (e.g. a pin star) reveal on
157
157
  // hover / focus-within of the whole slot.
158
158
  ["ds:group/rail-tool ds:relative", "ds:rounded-[var(--radius-sm)]"],
@@ -160,7 +160,7 @@ const Ve = {
160
160
  variants: {
161
161
  dragging: { true: "ds:opacity-60", false: "" },
162
162
  dropTarget: {
163
- true: "ds:outline-[length:var(--focus-ring-width)] ds:outline-dashed ds:outline-[var(--primary)] ds:outline-offset-[-2px]",
163
+ true: "ds:outline-[length:var(--focus-ring-width)] ds:outline-dashed ds:outline-[var(--accent)] ds:outline-offset-[length:var(--focus-ring-offset)]",
164
164
  false: ""
165
165
  },
166
166
  reorderable: {
@@ -175,127 +175,129 @@ const Ve = {
175
175
  }
176
176
  }
177
177
  );
178
- function Oe(o, a) {
178
+ function We(o, a) {
179
179
  return o > 99 ? a : String(o);
180
180
  }
181
- const $e = Ie(
181
+ const Ze = Re(
182
182
  ({
183
183
  id: o,
184
184
  tools: a,
185
185
  activeToolId: re,
186
- defaultActiveToolId: ie = null,
187
- onActiveToolChange: ne,
188
- side: R = "end",
186
+ defaultActiveToolId: ne = null,
187
+ onActiveToolChange: ie,
188
+ side: k = "end",
189
189
  railLabel: oe,
190
- resizablePanel: k = !1,
191
- onReorder: A,
192
- formatReorderAnnouncement: S,
193
- renderToolAffordance: N,
194
- renderPanelHeader: q,
195
- className: le
196
- }, de) => {
190
+ resizablePanel: T = !1,
191
+ onReorder: z,
192
+ formatReorderAnnouncement: N,
193
+ renderToolAffordance: C,
194
+ renderPanelHeader: U,
195
+ dataComponent: le = "tool-rail",
196
+ agentAdapter: de = Le,
197
+ className: ce
198
+ }, ue) => {
197
199
  var Q;
198
- const { t: p } = Ae(), [ce, v] = Ee({
200
+ const { t: p } = Ae(), [fe, v] = Ne({
199
201
  value: re,
200
- defaultValue: ie,
201
- onChange: ne
202
- }), g = ce ?? null, V = m([]), _ = m(null), [C, L] = E(0), h = m(!1), K = m(!1), b = T(
202
+ defaultValue: ne,
203
+ onChange: ie
204
+ }), g = fe ?? null, V = m([]), _ = m(null), [L, K] = E(0), h = m(!1), j = m(!1), b = R(
203
205
  () => a.findIndex((e) => e.id === g),
204
206
  [a, g]
205
- ), l = b >= 0 ? a[b] : null, ue = T(
207
+ ), l = b >= 0 ? a[b] : null, pe = R(
206
208
  () => a.findIndex((e) => !e.disabled),
207
209
  [a]
208
- ), F = T(() => {
210
+ ), H = R(() => {
209
211
  var s;
210
212
  const e = (s = a[0]) == null ? void 0 : s.scope;
211
213
  return e ? a.findIndex((t) => t.scope && t.scope !== e) : -1;
212
- }, [a]), fe = F > 0, d = T(() => {
214
+ }, [a]), ve = H > 0, d = R(() => {
213
215
  var t;
214
- const e = a.findIndex((n) => n.reorderable);
216
+ const e = a.findIndex((i) => i.reorderable);
215
217
  if (e < 0) return null;
216
218
  let s = e;
217
219
  for (; s + 1 < a.length && ((t = a[s + 1]) != null && t.reorderable); ) s += 1;
218
220
  return { first: e, last: s };
219
- }, [a]), H = !!A && d !== null, pe = xe(), [I, j] = E(null), [O, z] = E(null), [ve, ge] = E(""), P = m(!1), $ = U(
221
+ }, [a]), $ = !!z && d !== null, ge = ke(), [I, P] = E(null), [O, A] = E(null), [be, me] = E(""), M = m(!1), W = F(
220
222
  (e, s) => {
221
- if (!A || !d) return;
223
+ if (!z || !d) return;
222
224
  const t = Math.max(
223
225
  d.first,
224
226
  Math.min(d.last, s)
225
227
  );
226
228
  if (t === e) return;
227
- A(e, t);
228
- const n = a[e];
229
- if (n) {
230
- const i = S ? S({ tool: n, from: e, to: t }) : p("aiToolsRail.reorderAnnounce", {
231
- tool: n.label,
229
+ z(e, t);
230
+ const i = a[e];
231
+ if (i) {
232
+ const n = N ? N({ tool: i, from: e, to: t }) : p("toolRail.reorderAnnounce", {
233
+ tool: i.label,
232
234
  to: t - d.first + 1,
233
235
  total: d.last - d.first + 1,
234
236
  defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
235
237
  });
236
- i && (P.current = !P.current, ge(P.current ? i : `${i}​`));
238
+ n && (M.current = !M.current, me(M.current ? n : `${n}​`));
237
239
  }
238
240
  },
239
- [A, d, a, p, S]
240
- ), x = b >= 0 ? b : C >= 0 && !((Q = a[C]) != null && Q.disabled) ? C : ue, be = U(
241
+ [z, d, a, p, N]
242
+ ), x = b >= 0 ? b : L >= 0 && !((Q = a[L]) != null && Q.disabled) ? L : pe, he = F(
241
243
  (e, s) => {
242
- const t = a.find((n) => n.id === e);
244
+ const t = a.find((i) => i.id === e);
243
245
  !t || t.disabled || (h.current = s, v(g === e ? null : e));
244
246
  },
245
247
  [a, g, v]
246
- ), me = U(
248
+ ), ye = F(
247
249
  (e) => {
248
250
  var y, r, u;
249
251
  const s = a.length;
250
252
  if (s === 0 || e.altKey) return;
251
253
  let t = null;
252
254
  if (e.key === "ArrowDown" ? t = (x + 1) % s : e.key === "ArrowUp" ? t = (x - 1 + s) % s : e.key === "Home" ? t = 0 : e.key === "End" && (t = s - 1), t === null) return;
253
- const n = e.key === "ArrowUp" || e.key === "End";
254
- let i = t, c = 0;
255
- for (; c < s && ((y = a[i]) != null && y.disabled); )
256
- i = n ? (i - 1 + s) % s : (i + 1) % s, c += 1;
257
- (r = a[i]) != null && r.disabled || (e.preventDefault(), L(i), (u = V.current[i]) == null || u.focus());
255
+ const i = e.key === "ArrowUp" || e.key === "End";
256
+ let n = t, c = 0;
257
+ for (; c < s && ((y = a[n]) != null && y.disabled); )
258
+ n = i ? (n - 1 + s) % s : (n + 1) % s, c += 1;
259
+ (r = a[n]) != null && r.disabled || (e.preventDefault(), K(n), (u = V.current[n]) == null || u.focus());
258
260
  },
259
261
  [a, x]
260
- ), M = m(null);
262
+ ), S = m(null);
261
263
  Te(() => {
262
- const e = M.current;
264
+ const e = S.current;
263
265
  if (!e) return;
264
266
  const s = (t) => {
265
267
  if (t.key !== "Escape" || b < 0) return;
266
268
  t.preventDefault();
267
- const n = b;
268
- v(null), L(n), requestAnimationFrame(() => {
269
- var i;
270
- (i = V.current[n]) == null || i.focus();
269
+ const i = b;
270
+ v(null), K(i), requestAnimationFrame(() => {
271
+ var n;
272
+ (n = V.current[i]) == null || n.focus();
271
273
  });
272
274
  };
273
275
  return e.addEventListener("keydown", s), () => e.removeEventListener("keydown", s);
274
- }, [b, v]), ae(() => {
276
+ }, [b, v]), te(() => {
275
277
  var e;
276
278
  l && h.current && ((e = _.current) == null || e.focus()), h.current = !1;
277
279
  }, [l]);
278
- const W = R === "end" ? "inline-start" : "inline-end", { separatorProps: Z, isResizing: X, isResized: Y } = Se({
279
- edge: W,
280
+ const Z = k === "end" ? "inline-start" : "inline-end", { separatorProps: X, isResizing: Y, isResized: G } = Ce({
281
+ edge: Z,
280
282
  targetRef: _,
281
- cssProperty: te,
282
- minSize: Ke,
283
- maxSize: je,
284
- defaultSize: Pe,
285
- disabled: !k
286
- }), G = Z["aria-valuenow"];
287
- ae(() => {
283
+ cssProperty: ae,
284
+ minSize: Pe,
285
+ maxSize: Me,
286
+ defaultSize: qe,
287
+ disabled: !T
288
+ }), J = X["aria-valuenow"];
289
+ te(() => {
288
290
  var e;
289
- !k || !Y || !l || (e = _.current) == null || e.style.setProperty(
290
- te,
291
- `${G}px`
291
+ !T || !G || !l || (e = _.current) == null || e.style.setProperty(
292
+ ae,
293
+ `${J}px`
292
294
  );
293
- }, [l, k, Y, G]);
294
- const J = m(g);
295
- J.current = g;
296
- const B = T(
295
+ }, [l, T, G, J]);
296
+ const q = m(g);
297
+ q.current = g;
298
+ const B = R(
297
299
  () => ({
298
- getActiveToolId: () => J.current,
300
+ getActiveToolId: () => q.current,
299
301
  setActiveTool: (e) => {
300
302
  h.current = !1, v(e);
301
303
  },
@@ -304,37 +306,43 @@ const $e = Ie(
304
306
  !s || s.disabled || (h.current = !1, v(e));
305
307
  },
306
308
  close: () => {
307
- h.current = !1, v(null);
309
+ const e = q.current;
310
+ h.current = !1, v(null), e != null && requestAnimationFrame(() => {
311
+ var s, t;
312
+ (t = (s = S.current) == null ? void 0 : s.querySelector(
313
+ `[data-tool-id="${CSS.escape(e)}"]`
314
+ )) == null || t.focus();
315
+ });
308
316
  }
309
317
  }),
310
318
  [a, v]
311
319
  );
312
- Re(de, () => B, [B]), Ne(Ve, B, o);
313
- const he = p("aiToolsRail.badgeCountOverflow", {
320
+ ze(ue, () => B, [B]), Ve(de, B, o);
321
+ const we = p("toolRail.badgeCountOverflow", {
314
322
  defaultValue: "99+"
315
323
  });
316
324
  return /* @__PURE__ */ D(
317
325
  "div",
318
326
  {
319
- ref: M,
320
- "data-component": "ai-tools-rail",
327
+ ref: S,
328
+ "data-component": le,
321
329
  "data-component-id": o,
322
- "data-side": R,
323
- className: [Me({ side: R }), le].filter(Boolean).join(" "),
330
+ "data-side": k,
331
+ className: [Be({ side: k }), ce].filter(Boolean).join(" "),
324
332
  children: [
325
- H ? /* @__PURE__ */ f("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: ve }) : null,
333
+ $ ? /* @__PURE__ */ f("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: be }) : null,
326
334
  l ? /* @__PURE__ */ D(
327
335
  "aside",
328
336
  {
329
337
  ref: _,
330
338
  tabIndex: -1,
331
- "aria-label": p("aiToolsRail.panelLabel", {
339
+ "aria-label": p("toolRail.panelLabel", {
332
340
  tool: l.label,
333
341
  defaultValue: "{{tool}} panel"
334
342
  }),
335
- "data-ai-tools-rail-state": "expanded",
343
+ "data-tool-rail-state": "expanded",
336
344
  "data-active-tool": l.id,
337
- "data-resizing": X ? "" : void 0,
345
+ "data-resizing": Y ? "" : void 0,
338
346
  className: [
339
347
  Ue(),
340
348
  // Subtle shadow — not a line — separating the panel from the
@@ -348,61 +356,66 @@ const $e = Ie(
348
356
  // theme the soft shadow becomes a solid 1px border on that same
349
357
  // strip-facing edge.
350
358
  "ds:z-[1]",
351
- R === "end" ? "ds:shadow-[var(--shadow-chrome-end)] ds:[.theme-accessible_&]:border-e ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none" : "ds:shadow-[var(--shadow-chrome-start)] ds:[.theme-accessible_&]:border-s ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none",
359
+ k === "end" ? "ds:shadow-[var(--shadow-chrome-end)] ds:[.theme-accessible_&]:border-e ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none" : "ds:shadow-[var(--shadow-chrome-start)] ds:[.theme-accessible_&]:border-s ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none",
352
360
  "ds:focus-visible:outline-none"
353
361
  ].join(" "),
354
362
  children: [
355
- q ? q(l, { isActive: !0 }) : null,
363
+ U ? U(l, { isActive: !0 }) : null,
356
364
  l.header ? /* @__PURE__ */ f("div", { className: "ds:shrink-0", children: l.header }) : null,
357
- l.fill ? /* @__PURE__ */ f("div", { className: "ds:flex-1 ds:min-h-0", children: l.panel }) : /* @__PURE__ */ f(
358
- ze,
365
+ l.fill ? (
366
+ // data-tool-fill: a self-scrolling panel owns its own native
367
+ // scroll (it can't use the rail's ScrollArea), so a token rule
368
+ // paints its scrollbar to match the 8px overlay. See tokens/index.css.
369
+ /* @__PURE__ */ f("div", { "data-tool-fill": "", className: "ds:flex-1 ds:min-h-0", children: l.panel })
370
+ ) : /* @__PURE__ */ f(
371
+ De,
359
372
  {
360
373
  orientation: "vertical",
361
374
  className: "ds:flex-1 ds:min-h-0",
362
375
  children: l.panel
363
376
  }
364
377
  ),
365
- k ? /* @__PURE__ */ f(
378
+ T ? /* @__PURE__ */ f(
366
379
  "div",
367
380
  {
368
- ...Z,
369
- "aria-label": p("aiToolsRail.resizePanel", {
381
+ ...X,
382
+ "aria-label": p("toolRail.resizePanel", {
370
383
  defaultValue: "Resize tool panel"
371
384
  }),
372
- "data-resizing": X ? "" : void 0,
373
- className: qe({ edge: W })
385
+ "data-resizing": Y ? "" : void 0,
386
+ className: He({ edge: Z })
374
387
  }
375
388
  ) : null
376
389
  ]
377
390
  }
378
391
  ) : null,
379
- /* @__PURE__ */ f(De, { children: /* @__PURE__ */ f(
392
+ /* @__PURE__ */ f(Ee, { children: /* @__PURE__ */ f(
380
393
  "div",
381
394
  {
382
395
  role: "toolbar",
383
396
  "aria-orientation": "vertical",
384
- "aria-label": oe ?? p("aiToolsRail.railLabel", { defaultValue: "AI tools" }),
385
- className: Be(),
386
- onKeyDown: me,
397
+ "aria-label": oe ?? p("toolRail.railLabel", { defaultValue: "Tools" }),
398
+ className: Fe(),
399
+ onKeyDown: ye,
387
400
  children: a.map((e, s) => {
388
- const t = e.id === g, n = typeof e.badgeCount == "number" && e.badgeCount > 0, i = n ? p("aiToolsRail.toolWithCount", {
401
+ const t = e.id === g, i = typeof e.badgeCount == "number" && e.badgeCount > 0, n = i ? p("toolRail.toolWithCount", {
389
402
  tool: e.label,
390
403
  count: e.badgeCount,
391
404
  defaultValue: "{{tool}}, {{count}} updates"
392
- }) : e.label, c = H && !!e.reorderable && !e.disabled, y = c ? `${pe}-${e.id}` : void 0;
393
- return /* @__PURE__ */ D(ke, { children: [
394
- fe && s === F ? /* @__PURE__ */ f(
405
+ }) : e.label, c = $ && !!e.reorderable && !e.disabled, y = c ? `${ge}-${e.id}` : void 0;
406
+ return /* @__PURE__ */ D(_e, { children: [
407
+ ve && s === H ? /* @__PURE__ */ f(
395
408
  "div",
396
409
  {
397
410
  role: "separator",
398
411
  "aria-orientation": "horizontal",
399
- className: "ds:my-[var(--spacing-2xs)] ds:h-px ds:w-[var(--spacing-lg)] ds:shrink-0 ds:bg-[var(--border)]"
412
+ className: "ds:my-[var(--spacing-2xs)] ds:h-px ds:w-[var(--spacing-lg)] ds:shrink-0 ds:bg-[var(--border)] ds:forced-colors:bg-[CanvasText]"
400
413
  }
401
414
  ) : null,
402
415
  /* @__PURE__ */ D(
403
416
  "div",
404
417
  {
405
- className: He({
418
+ className: Oe({
406
419
  dragging: I === s,
407
420
  dropTarget: O === s && I !== s,
408
421
  reorderable: c
@@ -410,33 +423,33 @@ const $e = Ie(
410
423
  "data-dragging": I === s ? "" : void 0,
411
424
  draggable: c || void 0,
412
425
  onDragStart: c ? (r) => {
413
- j(s), r.dataTransfer.effectAllowed = "move", r.dataTransfer.setData(
426
+ P(s), r.dataTransfer.effectAllowed = "move", r.dataTransfer.setData(
414
427
  "text/plain",
415
428
  String(s)
416
429
  );
417
430
  } : void 0,
418
431
  onDragOver: c ? (r) => {
419
- I !== null && (r.preventDefault(), r.dataTransfer.dropEffect = "move", O !== s && z(s));
432
+ I !== null && (r.preventDefault(), r.dataTransfer.dropEffect = "move", O !== s && A(s));
420
433
  } : void 0,
421
- onDragLeave: c ? () => z((r) => r === s ? null : r) : void 0,
434
+ onDragLeave: c ? () => A((r) => r === s ? null : r) : void 0,
422
435
  onDrop: c ? (r) => {
423
436
  r.preventDefault();
424
437
  const u = I;
425
- z(null), j(null), !(u === null || u === s) && $(u, s);
438
+ A(null), P(null), !(u === null || u === s) && W(u, s);
426
439
  } : void 0,
427
440
  onDragEnd: c ? () => {
428
- j(null), z(null);
441
+ P(null), A(null);
429
442
  } : void 0,
430
443
  children: [
431
444
  /* @__PURE__ */ f(
432
- _e,
445
+ Se,
433
446
  {
434
447
  ref: (r) => {
435
448
  V.current[s] = r;
436
449
  },
437
450
  icon: e.icon,
438
451
  tooltip: e.label,
439
- "aria-label": i,
452
+ "aria-label": n,
440
453
  intent: "ghost",
441
454
  size: "sm",
442
455
  disabled: e.disabled,
@@ -448,46 +461,46 @@ const $e = Ie(
448
461
  "aria-keyshortcuts": c ? "Alt+ArrowUp Alt+ArrowDown" : void 0,
449
462
  tabIndex: s === x ? 0 : -1,
450
463
  onFocus: () => {
451
- e.disabled || L(s);
464
+ e.disabled || K(s);
452
465
  },
453
- onClick: () => be(e.id, K.current),
466
+ onClick: () => he(e.id, j.current),
454
467
  onKeyDown: (r) => {
455
468
  if (r.key === "Enter" || r.key === " ") {
456
- K.current = !0;
469
+ j.current = !0;
457
470
  return;
458
471
  }
459
472
  if (c && r.altKey && d) {
460
473
  let u = null;
461
474
  if (r.key === "ArrowUp" ? u = s - 1 : r.key === "ArrowDown" ? u = s + 1 : r.key === "Home" ? u = d.first : r.key === "End" && (u = d.last), u !== null) {
462
475
  r.preventDefault();
463
- const ye = Math.max(
476
+ const Ie = Math.max(
464
477
  d.first,
465
478
  Math.min(d.last, u)
466
- ), we = e.id;
467
- $(s, ye), requestAnimationFrame(() => {
479
+ ), xe = e.id;
480
+ W(s, Ie), requestAnimationFrame(() => {
468
481
  var ee, se;
469
- (se = (ee = M.current) == null ? void 0 : ee.querySelector(
470
- `[data-tool-id="${CSS.escape(we)}"]`
482
+ (se = (ee = S.current) == null ? void 0 : ee.querySelector(
483
+ `[data-tool-id="${CSS.escape(xe)}"]`
471
484
  )) == null || se.focus();
472
485
  });
473
486
  }
474
487
  }
475
488
  },
476
489
  onKeyUp: (r) => {
477
- (r.key === "Enter" || r.key === " ") && (K.current = !1);
490
+ (r.key === "Enter" || r.key === " ") && (j.current = !1);
478
491
  }
479
492
  }
480
493
  ),
481
- n ? /* @__PURE__ */ f("span", { "aria-hidden": "true", className: Fe(), children: Oe(
494
+ i ? /* @__PURE__ */ f("span", { "aria-hidden": "true", className: $e(), children: We(
482
495
  e.badgeCount,
483
- he
496
+ we
484
497
  ) }) : null,
485
- N == null ? void 0 : N(e, {
498
+ C == null ? void 0 : C(e, {
486
499
  index: s,
487
500
  isActive: t,
488
501
  isRovingTarget: s === x
489
502
  }),
490
- y ? /* @__PURE__ */ f("span", { id: y, className: "ds:sr-only", children: p("aiToolsRail.reorderInstructions", {
503
+ y ? /* @__PURE__ */ f("span", { id: y, className: "ds:sr-only", children: p("toolRail.reorderInstructions", {
491
504
  tool: e.label,
492
505
  defaultValue: "Reorder {{tool}}. Press Alt + Up or Alt + Down to move."
493
506
  }) }) : null
@@ -503,9 +516,9 @@ const $e = Ie(
503
516
  );
504
517
  }
505
518
  );
506
- $e.displayName = "AiToolsRail";
519
+ Ze.displayName = "ToolRail";
507
520
  export {
508
- $e as A,
509
- Ve as a
521
+ Ze as T,
522
+ Le as t
510
523
  };
511
- //# sourceMappingURL=ai-tools-rail-B5NEghsp.js.map
524
+ //# sourceMappingURL=tool-rail-BZx0-yIr.js.map