themelia-react-ui 2.0.5 → 2.0.6

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 (489) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/MIGRATION.md +119 -0
  3. package/README.md +13 -6
  4. package/dist/{accordion-B9MHG0cT.js → accordion-0tQUZ20r.js} +7 -7
  5. package/dist/accordion-0tQUZ20r.js.map +1 -0
  6. package/dist/{action-menu-Dr8K-ghE.js → action-menu-C0gjzLyE.js} +7 -7
  7. package/dist/{action-menu-Dr8K-ghE.js.map → action-menu-C0gjzLyE.js.map} +1 -1
  8. package/dist/{ai-artifact-C58tQcBy.js → ai-artifact-CGGpQryR.js} +172 -157
  9. package/dist/ai-artifact-CGGpQryR.js.map +1 -0
  10. package/dist/{app-shell-B_IuNWOo.js → app-shell-EHuuRDGy.js} +5 -5
  11. package/dist/{app-shell-B_IuNWOo.js.map → app-shell-EHuuRDGy.js.map} +1 -1
  12. package/dist/{attachment-Dg_69lPS.js → attachment-BCpA4e7i.js} +8 -8
  13. package/dist/{attachment-Dg_69lPS.js.map → attachment-BCpA4e7i.js.map} +1 -1
  14. package/dist/{auth-DTkkshS8.js → auth-B0girIk_.js} +15 -15
  15. package/dist/auth-B0girIk_.js.map +1 -0
  16. package/dist/{avatar-CeZaFmNH.js → avatar-B9Jnp-T-.js} +3 -3
  17. package/dist/{avatar-CeZaFmNH.js.map → avatar-B9Jnp-T-.js.map} +1 -1
  18. package/dist/{badge-xIiV_E7f.js → badge-wWauMgAt.js} +3 -3
  19. package/dist/{badge-xIiV_E7f.js.map → badge-wWauMgAt.js.map} +1 -1
  20. package/dist/base/accordion.js +1 -1
  21. package/dist/base/action-menu.js +1 -1
  22. package/dist/base/attachment.js +1 -1
  23. package/dist/base/avatar.js +1 -1
  24. package/dist/base/badge.js +1 -1
  25. package/dist/base/batch-action-bar.js +1 -1
  26. package/dist/base/buttons.js +1 -1
  27. package/dist/base/cards.js +2 -2
  28. package/dist/base/carousel.js +3 -3
  29. package/dist/base/cascader.js +1 -1
  30. package/dist/base/chart.js +1 -1
  31. package/dist/base/choice-inputs.js +2 -2
  32. package/dist/base/code-block.js +1 -1
  33. package/dist/base/combobox.js +1 -1
  34. package/dist/base/command.js +1 -1
  35. package/dist/base/copyable.js +1 -1
  36. package/dist/base/date-pickers.js +2 -2
  37. package/dist/base/display.js +6 -6
  38. package/dist/base/feedback.js +4 -4
  39. package/dist/base/forms-numeric.js +1 -1
  40. package/dist/base/forms.js +2 -2
  41. package/dist/base/inline-edit.js +8 -8
  42. package/dist/base/item.js +1 -1
  43. package/dist/base/media-gallery.js +1 -1
  44. package/dist/base/metadata-list.js +1 -1
  45. package/dist/base/navigation.js +6 -6
  46. package/dist/base/popover-menu.js +1 -1
  47. package/dist/base/popover.js +1 -1
  48. package/dist/base/qr-code.js +1 -1
  49. package/dist/base/repeaters.js +195 -188
  50. package/dist/base/repeaters.js.map +1 -1
  51. package/dist/base/sheet.js +1 -1
  52. package/dist/base/sidebar.js +2 -2
  53. package/dist/base/signature-pad.js +7 -7
  54. package/dist/base/skeleton.js +1 -1
  55. package/dist/base/spinner.js +5 -5
  56. package/dist/base/spinner.js.map +1 -1
  57. package/dist/base/structure.js +1 -1
  58. package/dist/base/table.js +1 -1
  59. package/dist/base/text-inputs.js +2 -2
  60. package/dist/base/toaster.js +1 -1
  61. package/dist/base/tree.js +1 -1
  62. package/dist/base/upload-queue.js +1 -1
  63. package/dist/base/upload.js +3 -3
  64. package/dist/base/value-inputs.js +1 -1
  65. package/dist/{batch-action-bar-Cb8cuvyy.js → batch-action-bar-BoqWIIpV.js} +5 -5
  66. package/dist/{batch-action-bar-Cb8cuvyy.js.map → batch-action-bar-BoqWIIpV.js.map} +1 -1
  67. package/dist/blocks/admin.js +17 -17
  68. package/dist/blocks/ai.js +227 -221
  69. package/dist/blocks/ai.js.map +1 -1
  70. package/dist/blocks/analytics/usage-card.js +1 -1
  71. package/dist/blocks/analytics.js +424 -449
  72. package/dist/blocks/analytics.js.map +1 -1
  73. package/dist/blocks/collaboration.js +1 -1
  74. package/dist/blocks/commerce/receipt.js +1 -1
  75. package/dist/blocks/commerce.js +225 -220
  76. package/dist/blocks/commerce.js.map +1 -1
  77. package/dist/blocks/data-display.js +2 -2
  78. package/dist/blocks/onboarding.js +5 -5
  79. package/dist/blocks/planning.js +11 -11
  80. package/dist/blocks/timelines.js +1 -1
  81. package/dist/{breadcrumbs-J-K2kl4c.js → breadcrumbs-Bp9Ke7kd.js} +4 -4
  82. package/dist/breadcrumbs-Bp9Ke7kd.js.map +1 -0
  83. package/dist/{button-S2Cubiiz.js → button-ChBovTx0.js} +2 -2
  84. package/dist/{button-S2Cubiiz.js.map → button-ChBovTx0.js.map} +1 -1
  85. package/dist/{buttons-BedGfygC.js → buttons-DeW0bQeK.js} +6 -6
  86. package/dist/{buttons-BedGfygC.js.map → buttons-DeW0bQeK.js.map} +1 -1
  87. package/dist/{cards-rNX1M4Xn.js → cards-CNXnmvV5.js} +8 -8
  88. package/dist/{cards-rNX1M4Xn.js.map → cards-CNXnmvV5.js.map} +1 -1
  89. package/dist/{cascader-B1MiqkBq.js → cascader-CrAl9zD5.js} +15 -15
  90. package/dist/{cascader-B1MiqkBq.js.map → cascader-CrAl9zD5.js.map} +1 -1
  91. package/dist/{chart-Darg_0Kv.js → chart-I7ROnsl8.js} +5 -5
  92. package/dist/{chart-Darg_0Kv.js.map → chart-I7ROnsl8.js.map} +1 -1
  93. package/dist/{checkbox-fflqmODR.js → checkbox-MoyHIAPs.js} +3 -3
  94. package/dist/{checkbox-fflqmODR.js.map → checkbox-MoyHIAPs.js.map} +1 -1
  95. package/dist/{choice-inputs-zUgBZfE4.js → choice-inputs-DHGtx0QV.js} +122 -110
  96. package/dist/choice-inputs-DHGtx0QV.js.map +1 -0
  97. package/dist/{code-block-BzmM9Eig.js → code-block-BSJyq9e-.js} +7 -7
  98. package/dist/{code-block-BzmM9Eig.js.map → code-block-BSJyq9e-.js.map} +1 -1
  99. package/dist/{collapsible-BkAI_XD4.js → collapsible-BzJ91LUG.js} +3 -3
  100. package/dist/{collapsible-BkAI_XD4.js.map → collapsible-BzJ91LUG.js.map} +1 -1
  101. package/dist/{collection-content-gDh1v6O4.js → collection-content-CSnwtOTH.js} +3 -3
  102. package/dist/{collection-content-gDh1v6O4.js.map → collection-content-CSnwtOTH.js.map} +1 -1
  103. package/dist/{combobox-BEx0vJgF.js → combobox-Bcvu5J8O.js} +11 -10
  104. package/dist/{combobox-BEx0vJgF.js.map → combobox-Bcvu5J8O.js.map} +1 -1
  105. package/dist/combobox-C2JiSQPc.js +915 -0
  106. package/dist/combobox-C2JiSQPc.js.map +1 -0
  107. package/dist/{command-CrlPIL6m.js → command-9e52NPgK.js} +6 -6
  108. package/dist/{command-CrlPIL6m.js.map → command-9e52NPgK.js.map} +1 -1
  109. package/dist/{comments-Dmpp0YIc.js → comments-BsgErEqd.js} +33 -28
  110. package/dist/comments-BsgErEqd.js.map +1 -0
  111. package/dist/components/base/choice-inputs/choice-types.d.ts +4 -0
  112. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +7 -6
  113. package/dist/components/base/combobox/combobox-field.d.ts +2 -2
  114. package/dist/components/base/date-pickers/date-picker-internals.d.ts +3 -1
  115. package/dist/components/base/date-pickers/datepicker.types.d.ts +10 -4
  116. package/dist/components/base/date-pickers/time-picker.d.ts +17 -3
  117. package/dist/components/base/feedback/state-display.d.ts +5 -1
  118. package/dist/components/base/feedback/state-display.strings.d.ts +9 -0
  119. package/dist/components/base/forms/form-field.d.ts +7 -2
  120. package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -1
  121. package/dist/components/base/forms-numeric/decimal-input.d.ts +2 -2
  122. package/dist/components/base/forms-numeric/dimensions-input.d.ts +4 -1
  123. package/dist/components/base/forms-numeric/numeric-composite-field.d.ts +12 -0
  124. package/dist/components/base/forms-numeric/weight-input.d.ts +6 -1
  125. package/dist/components/base/navigation/language-switcher.d.ts +12 -4
  126. package/dist/components/base/repeaters/key-value-editor.d.ts +2 -1
  127. package/dist/components/base/sidebar/sidebar.d.ts +2 -0
  128. package/dist/components/base/upload/avatar-upload.d.ts +2 -1
  129. package/dist/components/base/upload/image-upload.d.ts +2 -1
  130. package/dist/components/blocks/ai/ai-citation/types.d.ts +2 -0
  131. package/dist/components/blocks/ai/ai-reasoning/types.d.ts +2 -0
  132. package/dist/components/blocks/ai/ai-sources/types.d.ts +2 -0
  133. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +2 -0
  134. package/dist/components/blocks/analytics/metric/metric.d.ts +4 -0
  135. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
  136. package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +4 -5
  137. package/dist/components/blocks/analytics/types.d.ts +2 -2
  138. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  139. package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +4 -3
  140. package/dist/components/features/activities/activities.types.d.ts +18 -11
  141. package/dist/components/features/activities/hooks/use-activity-resources.d.ts +2 -1
  142. package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +1 -1
  143. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
  144. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +4 -2
  145. package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
  146. package/dist/components/features/combobox/combobox.d.ts +2 -2
  147. package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -1
  148. package/dist/components/features/combobox/hooks/use-combobox-state.d.ts +1 -0
  149. package/dist/components/features/combobox/hooks/use-load-more.d.ts +1 -0
  150. package/dist/components/features/combobox/types.d.ts +37 -8
  151. package/dist/components/features/email-composer/types.d.ts +3 -1
  152. package/dist/components/features/filters/facets/date-facet.d.ts +4 -2
  153. package/dist/components/features/filters/facets/range-facet.d.ts +12 -0
  154. package/dist/components/features/filters/filters.types.d.ts +3 -3
  155. package/dist/components/features/filters/partials/date-filter-content.d.ts +3 -2
  156. package/dist/components/features/filters/partials/filter-popover-content.d.ts +4 -2
  157. package/dist/components/features/filters/partials/range-filter-content.d.ts +12 -0
  158. package/dist/components/features/filters/utils/filter-utils.d.ts +5 -1
  159. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  160. package/dist/components/features/media-library/media-library.d.ts +1 -1
  161. package/dist/components/features/media-library/media-library.strings.d.ts +6 -0
  162. package/dist/components/features/media-library/media-library.types.d.ts +36 -8
  163. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  164. package/dist/components/features/mentions/hooks/use-mentions.d.ts +16 -1
  165. package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +5 -1
  166. package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +1 -7
  167. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +2 -2
  168. package/dist/components/features/products/products.types.d.ts +2 -2
  169. package/dist/components/features/questionnaire/questionnaire.types.d.ts +3 -0
  170. package/dist/components/features/resource/resource.d.ts +1 -1
  171. package/dist/components/features/resource/resource.types.d.ts +2 -0
  172. package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +1 -1
  173. package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +1 -1
  174. package/dist/components/features/rich-text-editor/partials/editor-field-aria.d.ts +14 -0
  175. package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +3 -1
  176. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
  177. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +17 -3
  178. package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -1
  179. package/dist/components/features/schema-form/partials/schema-form-field.d.ts +3 -1
  180. package/dist/components/features/schema-form/schema-form.utils.d.ts +1 -1
  181. package/dist/components/features/suggestions/suggestions.types.d.ts +1 -1
  182. package/dist/components/features/table/data-table.d.ts +1 -1
  183. package/dist/components/features/table/index.d.ts +1 -0
  184. package/dist/components/features/table/table-body.d.ts +1 -1
  185. package/dist/components/features/table/table-helpers.d.ts +6 -3
  186. package/dist/components/features/table/table.strings.d.ts +3 -0
  187. package/dist/components/features/table/table.types.d.ts +17 -1
  188. package/dist/components/layout/header/header.types.d.ts +3 -2
  189. package/dist/components/layout/layout.types.d.ts +5 -3
  190. package/dist/components/layout/navigation/side-nav.d.ts +3 -2
  191. package/dist/components/layout/normalize-layout-path.d.ts +1 -0
  192. package/dist/components/layout/settings/settings.d.ts +1 -1
  193. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  194. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +3 -1
  195. package/dist/components/layout/sidebar/sidebar.context.d.ts +1 -0
  196. package/dist/components/layout/sidebar/sidebar.types.d.ts +2 -0
  197. package/dist/components/primitives/link.d.ts +3 -2
  198. package/dist/components/primitives/money.d.ts +1 -1
  199. package/dist/components/primitives/number.d.ts +1 -1
  200. package/dist/components/typography/rich-text/rich-text-tree.d.ts +7 -5
  201. package/dist/{containers-CIxwbZt5.js → containers-CSdc32h9.js} +2 -2
  202. package/dist/{containers-CIxwbZt5.js.map → containers-CSdc32h9.js.map} +1 -1
  203. package/dist/{copyable-DIznBqiT.js → copyable-3fdHfMR3.js} +4 -4
  204. package/dist/{copyable-DIznBqiT.js.map → copyable-3fdHfMR3.js.map} +1 -1
  205. package/dist/{data-display-BdgCAw8T.js → data-display-Cmj-xZYl.js} +16 -15
  206. package/dist/data-display-Cmj-xZYl.js.map +1 -0
  207. package/dist/{date-Cq8ioE4o.js → date-Br0FicVv.js} +4 -4
  208. package/dist/{date-Cq8ioE4o.js.map → date-Br0FicVv.js.map} +1 -1
  209. package/dist/date-picker-CyQlFYsP.js +1617 -0
  210. package/dist/date-picker-CyQlFYsP.js.map +1 -0
  211. package/dist/date-pickers-tj2MXmXd.js +185 -0
  212. package/dist/date-pickers-tj2MXmXd.js.map +1 -0
  213. package/dist/{display-KsZLw9Ov.js → display-CT_N2a3w.js} +7 -7
  214. package/dist/{display-KsZLw9Ov.js.map → display-CT_N2a3w.js.map} +1 -1
  215. package/dist/{dropdown-menu-CLs8Lihj.js → dropdown-menu-C08iIugv.js} +6 -6
  216. package/dist/{dropdown-menu-CLs8Lihj.js.map → dropdown-menu-C08iIugv.js.map} +1 -1
  217. package/dist/features/activities.js +283 -270
  218. package/dist/features/activities.js.map +1 -1
  219. package/dist/features/ai-chat.js +40 -27
  220. package/dist/features/ai-chat.js.map +1 -1
  221. package/dist/features/appointment-calendar.js +126 -126
  222. package/dist/features/appointment-calendar.js.map +1 -1
  223. package/dist/features/async-preview.js +9 -9
  224. package/dist/features/combobox.js +1 -1
  225. package/dist/features/comments.js +1 -1
  226. package/dist/features/data-view.js +10 -10
  227. package/dist/features/email-composer.js +24 -19
  228. package/dist/features/email-composer.js.map +1 -1
  229. package/dist/features/event-calendar.js +129 -125
  230. package/dist/features/event-calendar.js.map +1 -1
  231. package/dist/features/filters.js +2 -2
  232. package/dist/features/global-search.js +16 -20
  233. package/dist/features/global-search.js.map +1 -1
  234. package/dist/features/kanban.js +18 -28
  235. package/dist/features/kanban.js.map +1 -1
  236. package/dist/features/map/style.css +15 -0
  237. package/dist/features/map.js +331 -314
  238. package/dist/features/map.js.map +1 -1
  239. package/dist/features/media-library.js +1044 -866
  240. package/dist/features/media-library.js.map +1 -1
  241. package/dist/features/mentions.js +2 -2
  242. package/dist/features/overlays.js +1 -1
  243. package/dist/features/products.js +978 -964
  244. package/dist/features/products.js.map +1 -1
  245. package/dist/features/questionnaire.js +159 -152
  246. package/dist/features/questionnaire.js.map +1 -1
  247. package/dist/features/resource-assignment.js +8 -8
  248. package/dist/features/resource.js +74 -71
  249. package/dist/features/resource.js.map +1 -1
  250. package/dist/features/rich-text-editor.js +28 -19
  251. package/dist/features/rich-text-editor.js.map +1 -1
  252. package/dist/features/schema-form.js +297 -256
  253. package/dist/features/schema-form.js.map +1 -1
  254. package/dist/features/suggestions.js +57 -50
  255. package/dist/features/suggestions.js.map +1 -1
  256. package/dist/features/sync.js +3 -3
  257. package/dist/features/table.js +1 -1
  258. package/dist/features/theme-tweaker.js +400 -399
  259. package/dist/features/theme-tweaker.js.map +1 -1
  260. package/dist/feedback-Dzo1xtAU.js +246 -0
  261. package/dist/feedback-Dzo1xtAU.js.map +1 -0
  262. package/dist/{field-affordance-recipes-DWcNcOjh.js → field-affordance-recipes-D6H7tVJi.js} +2 -2
  263. package/dist/{field-affordance-recipes-DWcNcOjh.js.map → field-affordance-recipes-D6H7tVJi.js.map} +1 -1
  264. package/dist/field-control-attributes-B6i335wr.js +18 -0
  265. package/dist/field-control-attributes-B6i335wr.js.map +1 -0
  266. package/dist/{field-state-recipes-BVA2CWHo.js → field-state-recipes-7sza8QbC.js} +4 -2
  267. package/dist/{field-state-recipes-BVA2CWHo.js.map → field-state-recipes-7sza8QbC.js.map} +1 -1
  268. package/dist/{filters-DzgSJpMK.js → filters-Dl80yYtN.js} +763 -605
  269. package/dist/filters-Dl80yYtN.js.map +1 -0
  270. package/dist/form-field-CAPdwdnZ.js +74 -0
  271. package/dist/form-field-CAPdwdnZ.js.map +1 -0
  272. package/dist/{form-sizing-Bs2qFUeE.js → form-sizing-CgcrUbLU.js} +2 -2
  273. package/dist/{form-sizing-Bs2qFUeE.js.map → form-sizing-CgcrUbLU.js.map} +1 -1
  274. package/dist/{forms-C0RGnJTe.js → forms-B3W8CH7-.js} +8 -8
  275. package/dist/{forms-C0RGnJTe.js.map → forms-B3W8CH7-.js.map} +1 -1
  276. package/dist/forms-numeric-CwjQJe-O.js +991 -0
  277. package/dist/forms-numeric-CwjQJe-O.js.map +1 -0
  278. package/dist/{header-DMMxG__r.js → header-ZIIsRKxP.js} +113 -113
  279. package/dist/header-ZIIsRKxP.js.map +1 -0
  280. package/dist/hooks/use-files.d.ts +2 -0
  281. package/dist/{hooks-DB6CJ4MR.js → hooks-BitHSh-Y.js} +3 -3
  282. package/dist/{hooks-DB6CJ4MR.js.map → hooks-BitHSh-Y.js.map} +1 -1
  283. package/dist/{icon-badge-DZF-YjQp.js → icon-badge-npxF1SLX.js} +2 -2
  284. package/dist/{icon-badge-DZF-YjQp.js.map → icon-badge-npxF1SLX.js.map} +1 -1
  285. package/dist/index.js +1 -1
  286. package/dist/{input-CvyDQlY7.js → input-7KAc7XQL.js} +6 -6
  287. package/dist/{input-CvyDQlY7.js.map → input-7KAc7XQL.js.map} +1 -1
  288. package/dist/{input-DMBwAZmr.js → input-DIREVYHs.js} +3 -3
  289. package/dist/{input-DMBwAZmr.js.map → input-DIREVYHs.js.map} +1 -1
  290. package/dist/{interaction-recipes-XR9ZpVYL.js → interaction-recipes-4wZ2tvfb.js} +2 -2
  291. package/dist/{interaction-recipes-XR9ZpVYL.js.map → interaction-recipes-4wZ2tvfb.js.map} +1 -1
  292. package/dist/{item-DjCcM18E.js → item-FfWnaYST.js} +99 -98
  293. package/dist/item-FfWnaYST.js.map +1 -0
  294. package/dist/layout/app-shell.js +1 -1
  295. package/dist/layout/auth.js +1 -1
  296. package/dist/layout/containers.js +1 -1
  297. package/dist/layout/header.js +1 -1
  298. package/dist/layout/hooks.js +1 -1
  299. package/dist/layout/navigation.js +1 -1
  300. package/dist/layout/page.js +1 -1
  301. package/dist/layout/settings.js +1 -1
  302. package/dist/layout/sidebar.js +2 -2
  303. package/dist/layout/workspace.js +1 -1
  304. package/dist/layout.js +11 -11
  305. package/dist/layout.types-E_GAApzO.js +30 -0
  306. package/dist/layout.types-E_GAApzO.js.map +1 -0
  307. package/dist/lib/field-control-attributes.d.ts +11 -0
  308. package/dist/lib/field-state-recipes.d.ts +2 -0
  309. package/dist/lib/format.d.ts +1 -0
  310. package/dist/lib/surface-recipes.d.ts +1 -1
  311. package/dist/lib/token-merge.generated.d.ts +6 -6
  312. package/dist/lib/utils.js +1 -1
  313. package/dist/{media-gallery-C-vChPmE.js → media-gallery-C81DAnKI.js} +6 -6
  314. package/dist/{media-gallery-C-vChPmE.js.map → media-gallery-C81DAnKI.js.map} +1 -1
  315. package/dist/{mentions-0_4nWuI-.js → mentions-qOnedSt4.js} +236 -167
  316. package/dist/mentions-qOnedSt4.js.map +1 -0
  317. package/dist/message-BJHnn43M.js +135 -0
  318. package/dist/message-BJHnn43M.js.map +1 -0
  319. package/dist/{metadata-list-C3MkU-Om.js → metadata-list-XkqZ_UXH.js} +11 -11
  320. package/dist/{metadata-list-C3MkU-Om.js.map → metadata-list-XkqZ_UXH.js.map} +1 -1
  321. package/dist/{navigation-DaRjthVk.js → navigation-BgtPJAhi.js} +119 -119
  322. package/dist/navigation-BgtPJAhi.js.map +1 -0
  323. package/dist/{navigation-C90-oQFq.js → navigation-Bt-v7rWP.js} +52 -46
  324. package/dist/navigation-Bt-v7rWP.js.map +1 -0
  325. package/dist/normalize-layout-path-BmEgg6fu.js +14 -0
  326. package/dist/normalize-layout-path-BmEgg6fu.js.map +1 -0
  327. package/dist/{number-CRU3kGuk.js → number-CYqBcrSj.js} +78 -86
  328. package/dist/number-CYqBcrSj.js.map +1 -0
  329. package/dist/{overflow-tab-bar-IVFVQFV6.js → overflow-tab-bar-BQCA2Zn2.js} +7 -7
  330. package/dist/{overflow-tab-bar-IVFVQFV6.js.map → overflow-tab-bar-BQCA2Zn2.js.map} +1 -1
  331. package/dist/{overlays-BSgCtM2v.js → overlays-CC8zI3Du.js} +264 -260
  332. package/dist/overlays-CC8zI3Du.js.map +1 -0
  333. package/dist/{page-DUUKDAjo.js → page-BoQ1VaFJ.js} +13 -13
  334. package/dist/{page-DUUKDAjo.js.map → page-BoQ1VaFJ.js.map} +1 -1
  335. package/dist/{page-header-commands-7P3sfE9u.js → page-header-commands-DIKspJfx.js} +4 -4
  336. package/dist/{page-header-commands-7P3sfE9u.js.map → page-header-commands-DIKspJfx.js.map} +1 -1
  337. package/dist/{pagination-CgCjElfu.js → pagination-Br8TdV9A.js} +4 -4
  338. package/dist/{pagination-CgCjElfu.js.map → pagination-Br8TdV9A.js.map} +1 -1
  339. package/dist/{popover-B85RenIl.js → popover-k8TdUcAt.js} +10 -10
  340. package/dist/popover-k8TdUcAt.js.map +1 -0
  341. package/dist/{popover-menu-DlnQ2zlR.js → popover-menu-yn-o0kyA.js} +7 -7
  342. package/dist/{popover-menu-DlnQ2zlR.js.map → popover-menu-yn-o0kyA.js.map} +1 -1
  343. package/dist/{popover.recipes-DdiEp0rd.js → popover.recipes-DJ0AkUan.js} +2 -2
  344. package/dist/{popover.recipes-DdiEp0rd.js.map → popover.recipes-DJ0AkUan.js.map} +1 -1
  345. package/dist/{portal-recipes-BpsV_iRw.js → portal-recipes-DyUXqUtD.js} +2 -2
  346. package/dist/{portal-recipes-BpsV_iRw.js.map → portal-recipes-DyUXqUtD.js.map} +1 -1
  347. package/dist/{primitives-ByWgGUgt.js → primitives-BkkQjYl7.js} +22 -17
  348. package/dist/primitives-BkkQjYl7.js.map +1 -0
  349. package/dist/primitives.js +4 -4
  350. package/dist/{progress-BJhQP9WX.js → progress-DZFXXzPs.js} +4 -4
  351. package/dist/{progress-BJhQP9WX.js.map → progress-DZFXXzPs.js.map} +1 -1
  352. package/dist/{receipt-tOc7B3hw.js → receipt-C7LhOg7Q.js} +6 -6
  353. package/dist/{receipt-tOc7B3hw.js.map → receipt-C7LhOg7Q.js.map} +1 -1
  354. package/dist/rich-text-BnTzZjIo.js +45 -0
  355. package/dist/rich-text-BnTzZjIo.js.map +1 -0
  356. package/dist/rich-text-editor-CAurDwT5.js +1273 -0
  357. package/dist/rich-text-editor-CAurDwT5.js.map +1 -0
  358. package/dist/{rich-text-editor-toolbar-laT3tpBT.js → rich-text-editor-toolbar-DbXig7Jk.js} +36 -35
  359. package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +1 -0
  360. package/dist/rich-text-tree-BqyQ_7-R.js +66 -0
  361. package/dist/rich-text-tree-BqyQ_7-R.js.map +1 -0
  362. package/dist/{sanitize-html-DsQmI48u.js → sanitize-html-BWkH4dLM.js} +29 -16
  363. package/dist/sanitize-html-BWkH4dLM.js.map +1 -0
  364. package/dist/{scroll-area-B0dB2cBi.js → scroll-area-Bj6CRUif.js} +2 -2
  365. package/dist/{scroll-area-B0dB2cBi.js.map → scroll-area-Bj6CRUif.js.map} +1 -1
  366. package/dist/{separator-Bb17I4pu.js → separator-B9ewiCGO.js} +2 -2
  367. package/dist/{separator-Bb17I4pu.js.map → separator-B9ewiCGO.js.map} +1 -1
  368. package/dist/{separator-Ct_WSWTJ.js → separator-DM6gs2vu.js} +3 -3
  369. package/dist/{separator-Ct_WSWTJ.js.map → separator-DM6gs2vu.js.map} +1 -1
  370. package/dist/services/actions.js +1 -1
  371. package/dist/settings-DZPHgpx4.js +155 -0
  372. package/dist/settings-DZPHgpx4.js.map +1 -0
  373. package/dist/{sheet-BGPERY55.js → sheet-C4DHsgLk.js} +6 -6
  374. package/dist/{sheet-BGPERY55.js.map → sheet-C4DHsgLk.js.map} +1 -1
  375. package/dist/sidebar-C8BnDwTH.js +709 -0
  376. package/dist/sidebar-C8BnDwTH.js.map +1 -0
  377. package/dist/{sidebar-f9gRWXIR.js → sidebar-CmD6a-HK.js} +16 -13
  378. package/dist/sidebar-CmD6a-HK.js.map +1 -0
  379. package/dist/{skeleton-BapcJd9C.js → skeleton-DDgdhmu9.js} +5 -5
  380. package/dist/{skeleton-BapcJd9C.js.map → skeleton-DDgdhmu9.js.map} +1 -1
  381. package/dist/{smart-card-CW0hjetE.js → smart-card-B6vLxqa_.js} +8 -8
  382. package/dist/{smart-card-CW0hjetE.js.map → smart-card-B6vLxqa_.js.map} +1 -1
  383. package/dist/{structure-DuxKl954.js → structure-DZJ2wbAU.js} +2 -2
  384. package/dist/{structure-DuxKl954.js.map → structure-DZJ2wbAU.js.map} +1 -1
  385. package/dist/style.css +1 -1
  386. package/dist/{surface-recipes-BKRVW8Os.js → surface-recipes-C8mNycaY.js} +2 -2
  387. package/dist/{surface-recipes-BKRVW8Os.js.map → surface-recipes-C8mNycaY.js.map} +1 -1
  388. package/dist/{table-CFOWY9pQ.js → table-CBonSdTp.js} +534 -486
  389. package/dist/table-CBonSdTp.js.map +1 -0
  390. package/dist/{table-B4TE7iOV.js → table-CXSPHH25.js} +75 -71
  391. package/dist/table-CXSPHH25.js.map +1 -0
  392. package/dist/{tabs-e7ko9S2o.js → tabs-C4Kr_hCr.js} +50 -49
  393. package/dist/tabs-C4Kr_hCr.js.map +1 -0
  394. package/dist/{text-inputs-B1culiSK.js → text-inputs-jdkS3ReG.js} +9 -9
  395. package/dist/{text-inputs-B1culiSK.js.map → text-inputs-jdkS3ReG.js.map} +1 -1
  396. package/dist/{timelines-D3Sl9ueq.js → timelines-CoPwdJP0.js} +10 -10
  397. package/dist/{timelines-D3Sl9ueq.js.map → timelines-CoPwdJP0.js.map} +1 -1
  398. package/dist/{tooltip-8wz5S_Zr.js → tooltip-31NwIpTo.js} +4 -4
  399. package/dist/{tooltip-8wz5S_Zr.js.map → tooltip-31NwIpTo.js.map} +1 -1
  400. package/dist/{tree-CzUJHnFs.js → tree-CeYVzdFE.js} +6 -6
  401. package/dist/{tree-CzUJHnFs.js.map → tree-CeYVzdFE.js.map} +1 -1
  402. package/dist/typography/rich-text.js +1 -1
  403. package/dist/{typography-BQnine1k.js → typography-C7-YMW1S.js} +2 -2
  404. package/dist/{typography-BQnine1k.js.map → typography-C7-YMW1S.js.map} +1 -1
  405. package/dist/typography.js +1 -1
  406. package/dist/{upload-BOW6U2tI.js → upload-Hdm5gObf.js} +303 -291
  407. package/dist/upload-Hdm5gObf.js.map +1 -0
  408. package/dist/{upload-queue-qUXn1ykN.js → upload-queue-D0sYPuqo.js} +8 -8
  409. package/dist/{upload-queue-qUXn1ykN.js.map → upload-queue-D0sYPuqo.js.map} +1 -1
  410. package/dist/{usage-card-BeSLY0i0.js → usage-card-9s8hLDfn.js} +9 -9
  411. package/dist/{usage-card-BeSLY0i0.js.map → usage-card-9s8hLDfn.js.map} +1 -1
  412. package/dist/{utils-B6kKb8jB.js → utils-DhuoqFy4.js} +31 -37
  413. package/dist/utils-DhuoqFy4.js.map +1 -0
  414. package/dist/{value-inputs-skdVB2zh.js → value-inputs-D3aPgq9H.js} +15 -15
  415. package/dist/{value-inputs-skdVB2zh.js.map → value-inputs-D3aPgq9H.js.map} +1 -1
  416. package/dist/{value-typography-uAmWUAL1.js → value-typography-uSzzG9Gf.js} +32 -26
  417. package/dist/value-typography-uSzzG9Gf.js.map +1 -0
  418. package/dist/{workspace-DHeHv0qw.js → workspace-CC8Vchiu.js} +12 -12
  419. package/dist/{workspace-DHeHv0qw.js.map → workspace-CC8Vchiu.js.map} +1 -1
  420. package/docs/consumer-skill/examples/edit.tsx +3 -3
  421. package/docs/consumer-skill/references/agents-md.md +19 -19
  422. package/docs/consumer-skill/references/analytics.md +15 -0
  423. package/docs/consumer-skill/references/component-contracts.json +14724 -13057
  424. package/docs/consumer-skill/references/composition.md +21 -4
  425. package/docs/consumer-skill/references/design-contract.md +1 -0
  426. package/docs/consumer-skill/references/installation.md +51 -8
  427. package/docs/consumer-skill/references/integration.md +24 -1
  428. package/docs/consumer-skill/references/public-api.json +172 -34
  429. package/docs/consumer-skill/references/review.md +51 -11
  430. package/docs/consumer-skill/references/rhf-workflows.md +72 -0
  431. package/docs/consumer-skill/references/theming.md +7 -2
  432. package/docs/consumer-skill/references/tokens.json +1 -1
  433. package/docs/consumer-skill/scripts/composition-policy.mjs +144 -30
  434. package/docs/consumer-skill/scripts/setup-skills.mjs +46 -9
  435. package/package.json +4 -2
  436. package/templates/admin-shell-template.tsx +1 -2
  437. package/templates/customers-template.tsx +18 -16
  438. package/dist/accordion-B9MHG0cT.js.map +0 -1
  439. package/dist/ai-artifact-C58tQcBy.js.map +0 -1
  440. package/dist/auth-DTkkshS8.js.map +0 -1
  441. package/dist/breadcrumbs-J-K2kl4c.js.map +0 -1
  442. package/dist/choice-inputs-zUgBZfE4.js.map +0 -1
  443. package/dist/combobox-BwzoXFSG.js +0 -884
  444. package/dist/combobox-BwzoXFSG.js.map +0 -1
  445. package/dist/comments-Dmpp0YIc.js.map +0 -1
  446. package/dist/data-display-BdgCAw8T.js.map +0 -1
  447. package/dist/date-picker-RlIzKom_.js +0 -1551
  448. package/dist/date-picker-RlIzKom_.js.map +0 -1
  449. package/dist/date-pickers-DY-CpXS1.js +0 -179
  450. package/dist/date-pickers-DY-CpXS1.js.map +0 -1
  451. package/dist/feedback-Dm4izqFn.js +0 -240
  452. package/dist/feedback-Dm4izqFn.js.map +0 -1
  453. package/dist/filters-DzgSJpMK.js.map +0 -1
  454. package/dist/form-field-BriWAXyg.js +0 -63
  455. package/dist/form-field-BriWAXyg.js.map +0 -1
  456. package/dist/forms-numeric-DIhghX1Q.js +0 -910
  457. package/dist/forms-numeric-DIhghX1Q.js.map +0 -1
  458. package/dist/header-DMMxG__r.js.map +0 -1
  459. package/dist/item-DjCcM18E.js.map +0 -1
  460. package/dist/layout.types-Cn7aUzJp.js +0 -20
  461. package/dist/layout.types-Cn7aUzJp.js.map +0 -1
  462. package/dist/mentions-0_4nWuI-.js.map +0 -1
  463. package/dist/message-g8p7eVtN.js +0 -128
  464. package/dist/message-g8p7eVtN.js.map +0 -1
  465. package/dist/navigation-C90-oQFq.js.map +0 -1
  466. package/dist/navigation-DaRjthVk.js.map +0 -1
  467. package/dist/number-CRU3kGuk.js.map +0 -1
  468. package/dist/overlays-BSgCtM2v.js.map +0 -1
  469. package/dist/popover-B85RenIl.js.map +0 -1
  470. package/dist/primitives-ByWgGUgt.js.map +0 -1
  471. package/dist/rich-text-Dth5E882.js +0 -78
  472. package/dist/rich-text-Dth5E882.js.map +0 -1
  473. package/dist/rich-text-editor-C1fOjBTd.js +0 -1195
  474. package/dist/rich-text-editor-C1fOjBTd.js.map +0 -1
  475. package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +0 -1
  476. package/dist/safe-image-src-C6kQSMBZ.js +0 -17
  477. package/dist/safe-image-src-C6kQSMBZ.js.map +0 -1
  478. package/dist/sanitize-html-DsQmI48u.js.map +0 -1
  479. package/dist/settings-Bar5wiSo.js +0 -167
  480. package/dist/settings-Bar5wiSo.js.map +0 -1
  481. package/dist/sidebar-D-JYMMbY.js +0 -686
  482. package/dist/sidebar-D-JYMMbY.js.map +0 -1
  483. package/dist/sidebar-f9gRWXIR.js.map +0 -1
  484. package/dist/table-B4TE7iOV.js.map +0 -1
  485. package/dist/table-CFOWY9pQ.js.map +0 -1
  486. package/dist/tabs-e7ko9S2o.js.map +0 -1
  487. package/dist/upload-BOW6U2tI.js.map +0 -1
  488. package/dist/utils-B6kKb8jB.js.map +0 -1
  489. package/dist/value-typography-uAmWUAL1.js.map +0 -1
package/dist/blocks/ai.js CHANGED
@@ -1,28 +1,28 @@
1
1
  "use client";
2
2
  import { mergeStrings as e, useStrings as t } from "../lib/strings.js";
3
- import { t as n } from "../utils-B6kKb8jB.js";
4
- import { n as r } from "../buttons-BedGfygC.js";
5
- import { c as i, o as a, t as o } from "../typography-BQnine1k.js";
3
+ import { t as n } from "../utils-DhuoqFy4.js";
4
+ import { n as r } from "../buttons-DeW0bQeK.js";
5
+ import { c as i, o as a, t as o } from "../typography-C7-YMW1S.js";
6
6
  import { t as s } from "../focus-recipes-B653VaLq.js";
7
- import { r as c, t as l } from "../structure-DuxKl954.js";
7
+ import { r as c, t as l } from "../structure-DZJ2wbAU.js";
8
8
  import { i as u } from "../tone-recipes-BPsRAvhu.js";
9
- import { t as d } from "../smart-card-CW0hjetE.js";
10
- import { t as f } from "../progress-BJhQP9WX.js";
11
- import { t as p } from "../interaction-recipes-XR9ZpVYL.js";
12
- import { _ as m, g as h, m as g } from "../primitives-ByWgGUgt.js";
13
- import { n as _, t as v } from "../number-CRU3kGuk.js";
14
- import { t as y } from "../icon-badge-DZF-YjQp.js";
15
- import { t as b } from "../badge-xIiV_E7f.js";
16
- import { d as x } from "../text-inputs-B1culiSK.js";
17
- import { a as S, c as C, i as w, n as ee, o as te, r as T, t as E, u as D } from "../item-DjCcM18E.js";
18
- import { m as O } from "../data-display-BdgCAw8T.js";
19
- import { C as ne, S as re, _ as ie, a as ae, b as oe, c as se, d as ce, f as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, p as _e, r as ve, s as ye, t as be, u as xe, v as Se, x as Ce, y as we } from "../ai-artifact-C58tQcBy.js";
20
- import { t as Te } from "../tree-CzUJHnFs.js";
21
- import { useMemo as Ee, useState as k } from "react";
22
- import { Fragment as De, jsx as A, jsxs as j } from "react/jsx-runtime";
23
- import { ChevronDown as Oe, ChevronRight as ke, ExternalLink as M, File as Ae, FileCode as je, FileText as Me, Folder as Ne, FolderOpen as Pe, ThumbsDown as Fe, ThumbsUp as N } from "lucide-react";
9
+ import { t as d } from "../smart-card-B6vLxqa_.js";
10
+ import { t as f } from "../progress-DZFXXzPs.js";
11
+ import { t as p } from "../interaction-recipes-4wZ2tvfb.js";
12
+ import { _ as m, g as h, m as g } from "../primitives-BkkQjYl7.js";
13
+ import { n as _, t as v } from "../number-CYqBcrSj.js";
14
+ import { t as y } from "../icon-badge-npxF1SLX.js";
15
+ import { t as b } from "../badge-wWauMgAt.js";
16
+ import { d as x } from "../text-inputs-jdkS3ReG.js";
17
+ import { a as S, c as C, i as w, n as ee, o as te, r as T, t as E, u as D } from "../item-FfWnaYST.js";
18
+ import { m as O } from "../data-display-Cmj-xZYl.js";
19
+ import { C as ne, S as re, _ as ie, a as ae, b as oe, c as se, d as ce, f as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, p as _e, r as ve, s as ye, t as be, u as xe, v as Se, x as Ce, y as we } from "../ai-artifact-CGGpQryR.js";
20
+ import { t as Te } from "../tree-CeYVzdFE.js";
21
+ import { useId as k, useMemo as Ee, useState as A } from "react";
22
+ import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
23
+ import { ChevronDown as De, ChevronRight as Oe, ExternalLink as P, File as ke, FileCode as Ae, FileText as je, Folder as Me, FolderOpen as Ne, ThumbsDown as Pe, ThumbsUp as F } from "lucide-react";
24
24
  //#region src/components/blocks/ai/ai.strings.ts
25
- var P = {
25
+ var I = {
26
26
  regenerate: "Regenerate",
27
27
  confidenceLevels: {
28
28
  low: "low",
@@ -30,7 +30,7 @@ var P = {
30
30
  high: "high"
31
31
  },
32
32
  confidenceLabel: "Confidence"
33
- }, Ie = {
33
+ }, Fe = {
34
34
  title: "Classification",
35
35
  complexityLabel: "Complexity",
36
36
  flagsLabel: "Flags",
@@ -41,29 +41,29 @@ var P = {
41
41
  medium: "Medium",
42
42
  high: "High"
43
43
  }
44
- }, F = {
44
+ }, Ie = {
45
45
  low: 1,
46
46
  medium: 2,
47
47
  high: 3
48
48
  };
49
49
  function Le({ level: e, label: t, name: r }) {
50
- let a = F[e];
51
- return /* @__PURE__ */ j("div", {
50
+ let a = Ie[e];
51
+ return /* @__PURE__ */ N("div", {
52
52
  className: "ai-summary--confidence flex items-center gap-space-sm",
53
53
  children: [
54
- /* @__PURE__ */ A(i, {
54
+ /* @__PURE__ */ M(i, {
55
55
  size: "xs",
56
56
  type: "secondary",
57
57
  tag: "span",
58
58
  className: "ai-summary--confidence-label",
59
59
  children: r
60
60
  }),
61
- /* @__PURE__ */ A("div", {
61
+ /* @__PURE__ */ M("div", {
62
62
  className: "flex items-center gap-space-2xs",
63
63
  "aria-hidden": "true",
64
- children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ A("div", { className: n("h-2.5 w-1 rounded-radius-sm", t < a ? "bg-muted-foreground" : "bg-muted") }, `bar-${String(t)}`))
64
+ children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ M("div", { className: n("h-2.5 w-1 rounded-radius-sm", t < a ? "bg-muted-foreground" : "bg-muted") }, `bar-${String(t)}`))
65
65
  }),
66
- /* @__PURE__ */ A(i, {
66
+ /* @__PURE__ */ M(i, {
67
67
  size: "xs",
68
68
  type: "secondary",
69
69
  tag: "span",
@@ -74,50 +74,50 @@ function Le({ level: e, label: t, name: r }) {
74
74
  });
75
75
  }
76
76
  function Re({ data: e, children: a, metadata: o, actions: s, footer: c, className: u, strings: d }) {
77
- let f = t(P, d), p = /* @__PURE__ */ j("div", {
77
+ let f = t(I, d), p = /* @__PURE__ */ N("div", {
78
78
  className: "ai-summary--metadata flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-xs",
79
- children: [!!e.generatedAt && /* @__PURE__ */ A(h, {
79
+ children: [!!e.generatedAt && /* @__PURE__ */ M(h, {
80
80
  size: "xs",
81
81
  className: "min-w-0",
82
82
  children: e.generatedAt
83
- }), !!e.model && /* @__PURE__ */ A(h, {
83
+ }), !!e.model && /* @__PURE__ */ M(h, {
84
84
  size: "xs",
85
85
  className: "min-w-0 truncate",
86
86
  children: e.model
87
87
  })]
88
- }), m = e.onRegenerate ? /* @__PURE__ */ A(r, {
88
+ }), m = e.onRegenerate ? /* @__PURE__ */ M(r, {
89
89
  tone: "secondary",
90
90
  buttonStyle: "ghost",
91
91
  onClick: e.onRegenerate,
92
92
  children: f.regenerate
93
- }) : null, g = o === void 0 ? p : o, _ = s === void 0 ? m : s, v = c === void 0 ? (g || _) && /* @__PURE__ */ j(De, { children: [g, _] }) : c;
94
- return /* @__PURE__ */ j(l, {
93
+ }) : null, g = o === void 0 ? p : o, _ = s === void 0 ? m : s, v = c === void 0 ? (g || _) && /* @__PURE__ */ N(j, { children: [g, _] }) : c;
94
+ return /* @__PURE__ */ N(l, {
95
95
  "data-component": "ai-summary",
96
96
  "data-slot": "ai-summary",
97
97
  className: n("ai-summary--component", u),
98
98
  children: [
99
- /* @__PURE__ */ A(i, {
99
+ /* @__PURE__ */ M(i, {
100
100
  type: "inherit",
101
101
  lineHeight: "relaxed",
102
102
  children: e.summary
103
103
  }),
104
- e.entities.length > 0 && /* @__PURE__ */ A(l, {
104
+ e.entities.length > 0 && /* @__PURE__ */ M(l, {
105
105
  direction: "horizontal",
106
106
  wrap: !0,
107
107
  gap: "sm",
108
108
  className: "ai-summary--entities min-w-0",
109
- children: e.entities.map((e) => /* @__PURE__ */ A(b, {
109
+ children: e.entities.map((e) => /* @__PURE__ */ M(b, {
110
110
  tone: "secondary",
111
111
  children: e
112
112
  }, e))
113
113
  }),
114
- /* @__PURE__ */ A(Le, {
114
+ /* @__PURE__ */ M(Le, {
115
115
  level: e.confidence,
116
116
  label: f.confidenceLevels[e.confidence],
117
- name: f.confidenceLabel ?? P.confidenceLabel ?? ""
117
+ name: f.confidenceLabel ?? I.confidenceLabel ?? ""
118
118
  }),
119
119
  a,
120
- !!v && /* @__PURE__ */ A(l, {
120
+ !!v && /* @__PURE__ */ M(l, {
121
121
  direction: {
122
122
  base: "vertical",
123
123
  sm: "horizontal"
@@ -133,38 +133,38 @@ function Re({ data: e, children: a, metadata: o, actions: s, footer: c, classNam
133
133
  //#endregion
134
134
  //#region src/components/blocks/ai/ai-classification/ai-classification.tsx
135
135
  function ze({ data: e, children: r, className: a, strings: o }) {
136
- let s = t(Ie, o), c = e.confidence >= .9 ? s.confidenceBands.high : e.confidence >= .7 ? s.confidenceBands.medium : s.confidenceBands.low;
137
- return /* @__PURE__ */ j(l, {
136
+ let s = t(Fe, o), c = e.confidence >= .9 ? s.confidenceBands.high : e.confidence >= .7 ? s.confidenceBands.medium : s.confidenceBands.low;
137
+ return /* @__PURE__ */ N(l, {
138
138
  "data-component": "ai-classification",
139
139
  "data-slot": "ai-classification",
140
140
  className: n("ai-classification--component", a),
141
141
  children: [
142
- /* @__PURE__ */ j(l, {
142
+ /* @__PURE__ */ N(l, {
143
143
  direction: "horizontal",
144
144
  wrap: !0,
145
145
  align: "center",
146
146
  gap: "sm",
147
147
  children: [
148
- /* @__PURE__ */ A(b, { children: e.requestType }),
149
- /* @__PURE__ */ A(b, {
148
+ /* @__PURE__ */ M(b, { children: e.requestType }),
149
+ /* @__PURE__ */ M(b, {
150
150
  tone: e.urgencyTone,
151
151
  children: e.urgency
152
152
  }),
153
- /* @__PURE__ */ A(b, {
153
+ /* @__PURE__ */ M(b, {
154
154
  tone: e.sentimentTone,
155
155
  dot: !0,
156
156
  children: e.tone
157
157
  })
158
158
  ]
159
159
  }),
160
- /* @__PURE__ */ A(O, {
160
+ /* @__PURE__ */ M(O, {
161
161
  label: s.complexityLabel,
162
- value: /* @__PURE__ */ j("span", {
162
+ value: /* @__PURE__ */ N("span", {
163
163
  className: "flex items-center gap-space-md",
164
- children: [/* @__PURE__ */ A("span", {
164
+ children: [/* @__PURE__ */ M("span", {
165
165
  className: "flex items-center gap-space-xs",
166
- children: Array.from({ length: 5 }, (t, r) => /* @__PURE__ */ A("span", { className: n("h-1.5 w-3 rounded-radius-sm", r < e.complexityScore ? "bg-muted-foreground" : "bg-muted") }, `cx-${String(r)}`))
167
- }), /* @__PURE__ */ j(i, {
166
+ children: Array.from({ length: 5 }, (t, r) => /* @__PURE__ */ M("span", { className: n("h-1.5 w-3 rounded-radius-sm", r < e.complexityScore ? "bg-muted-foreground" : "bg-muted") }, `cx-${String(r)}`))
167
+ }), /* @__PURE__ */ N(i, {
168
168
  tag: "span",
169
169
  size: "xs",
170
170
  type: "secondary",
@@ -172,33 +172,33 @@ function ze({ data: e, children: r, className: a, strings: o }) {
172
172
  })]
173
173
  })
174
174
  }),
175
- e.flags.length > 0 && /* @__PURE__ */ A(O, {
175
+ e.flags.length > 0 && /* @__PURE__ */ M(O, {
176
176
  label: s.flagsLabel,
177
- value: /* @__PURE__ */ A("span", {
177
+ value: /* @__PURE__ */ M("span", {
178
178
  className: "flex gap-space-xs",
179
- children: e.flags.map((e) => /* @__PURE__ */ A(b, { children: e }, e))
179
+ children: e.flags.map((e) => /* @__PURE__ */ M(b, { children: e }, e))
180
180
  })
181
181
  }),
182
- /* @__PURE__ */ A(O, {
182
+ /* @__PURE__ */ M(O, {
183
183
  label: s.nextStepLabel,
184
184
  value: e.suggestedAction,
185
185
  valueClassName: "text-right"
186
186
  }),
187
- /* @__PURE__ */ A(i, {
187
+ /* @__PURE__ */ M(i, {
188
188
  lineHeight: "relaxed",
189
189
  type: "secondary",
190
190
  children: e.summary
191
191
  }),
192
- /* @__PURE__ */ j("div", {
192
+ /* @__PURE__ */ N("div", {
193
193
  className: "flex items-center gap-space-md",
194
- children: [/* @__PURE__ */ j(b, {
194
+ children: [/* @__PURE__ */ N(b, {
195
195
  tone: "secondary",
196
196
  children: [
197
197
  s.confidencePrefix,
198
198
  ": ",
199
199
  c
200
200
  ]
201
- }), /* @__PURE__ */ A(i, {
201
+ }), /* @__PURE__ */ M(i, {
202
202
  size: "xs",
203
203
  type: "discrete",
204
204
  tag: "span",
@@ -211,7 +211,7 @@ function ze({ data: e, children: r, className: a, strings: o }) {
211
211
  }
212
212
  //#endregion
213
213
  //#region src/components/blocks/ai/ai-confidence/types.ts
214
- var I = {
214
+ var L = {
215
215
  title: "AI Confidence",
216
216
  confidenceLabel: "Overall",
217
217
  factorsLabel: "Contributing factors",
@@ -224,24 +224,24 @@ var I = {
224
224
  function Be(e) {
225
225
  return e >= .85 ? "success" : e >= .6 ? "warning" : "destructive";
226
226
  }
227
- function L({ score: e, model: r, factors: o, className: s, strings: c }) {
228
- let u = t(I, c), d = Math.round(e * 100), p = Be(e), m = p === "success" ? u.levelHigh : p === "warning" ? u.levelMedium : u.levelLow, h = 2 * Math.PI * 24, g = h - d / 100 * h;
229
- return /* @__PURE__ */ j(l, {
227
+ function R({ score: e, model: r, factors: o, className: s, strings: c }) {
228
+ let u = t(L, c), d = Math.round(e * 100), p = Be(e), m = p === "success" ? u.levelHigh : p === "warning" ? u.levelMedium : u.levelLow, h = 2 * Math.PI * 24, g = h - d / 100 * h;
229
+ return /* @__PURE__ */ N(l, {
230
230
  "data-component": "ai-confidence",
231
231
  "data-slot": "ai-confidence",
232
232
  gap: "xl",
233
233
  className: n("ai-confidence--component @container/ai-confidence", s),
234
234
  "aria-label": u.title,
235
- children: [/* @__PURE__ */ j("div", {
235
+ children: [/* @__PURE__ */ N("div", {
236
236
  className: "grid gap-space-xl @md/ai-confidence:grid-cols-[auto_minmax(0,1fr)] @md/ai-confidence:items-center",
237
- children: [/* @__PURE__ */ j("div", {
237
+ children: [/* @__PURE__ */ N("div", {
238
238
  className: "relative w-fit shrink-0",
239
- children: [/* @__PURE__ */ j("svg", {
239
+ children: [/* @__PURE__ */ N("svg", {
240
240
  width: "56",
241
241
  height: "56",
242
242
  viewBox: "0 0 64 64",
243
243
  "aria-hidden": "true",
244
- children: [/* @__PURE__ */ A("circle", {
244
+ children: [/* @__PURE__ */ M("circle", {
245
245
  cx: "32",
246
246
  cy: "32",
247
247
  r: "24",
@@ -249,7 +249,7 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
249
249
  stroke: "currentColor",
250
250
  strokeWidth: "5",
251
251
  className: "text-muted/60"
252
- }), /* @__PURE__ */ A("circle", {
252
+ }), /* @__PURE__ */ M("circle", {
253
253
  cx: "32",
254
254
  cy: "32",
255
255
  r: "24",
@@ -262,9 +262,9 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
262
262
  transform: "rotate(-90 32 32)",
263
263
  className: n(p === "success" && "text-success", p === "warning" && "text-warning-accent", p === "destructive" && "text-destructive")
264
264
  })]
265
- }), /* @__PURE__ */ A("div", {
265
+ }), /* @__PURE__ */ M("div", {
266
266
  className: "absolute inset-0 flex flex-col items-center justify-center",
267
- children: /* @__PURE__ */ A(_, {
267
+ children: /* @__PURE__ */ M(_, {
268
268
  type: "inherit",
269
269
  value: d,
270
270
  scaled: !0,
@@ -272,15 +272,15 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
272
272
  lineHeight: "none"
273
273
  })
274
274
  })]
275
- }), /* @__PURE__ */ j(l, {
275
+ }), /* @__PURE__ */ N(l, {
276
276
  gap: "sm",
277
- children: [/* @__PURE__ */ A(a, { children: u.confidenceLabel }), /* @__PURE__ */ j(l, {
277
+ children: [/* @__PURE__ */ M(a, { children: u.confidenceLabel }), /* @__PURE__ */ N(l, {
278
278
  direction: "horizontal",
279
279
  gap: "sm",
280
- children: [/* @__PURE__ */ A(b, {
280
+ children: [/* @__PURE__ */ M(b, {
281
281
  tone: p,
282
282
  children: m
283
- }), !!r && /* @__PURE__ */ A(i, {
283
+ }), !!r && /* @__PURE__ */ M(i, {
284
284
  size: "xs",
285
285
  type: "secondary",
286
286
  className: "truncate",
@@ -288,19 +288,19 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
288
288
  })]
289
289
  })]
290
290
  })]
291
- }), !!o && o.length > 0 && /* @__PURE__ */ j(l, {
291
+ }), !!o && o.length > 0 && /* @__PURE__ */ N(l, {
292
292
  gap: "md",
293
- children: [/* @__PURE__ */ A(a, { children: u.factorsLabel }), o.map((e) => /* @__PURE__ */ j(l, {
293
+ children: [/* @__PURE__ */ M(a, { children: u.factorsLabel }), o.map((e) => /* @__PURE__ */ N(l, {
294
294
  gap: "sm",
295
- children: [/* @__PURE__ */ A(O, {
295
+ children: [/* @__PURE__ */ M(O, {
296
296
  label: e.label,
297
- value: /* @__PURE__ */ A(_, {
297
+ value: /* @__PURE__ */ M(_, {
298
298
  type: "inherit",
299
299
  value: e.score,
300
300
  size: "xs",
301
301
  weight: "semibold"
302
302
  })
303
- }), /* @__PURE__ */ A(f, {
303
+ }), /* @__PURE__ */ M(f, {
304
304
  value: Math.round(e.score * 100),
305
305
  "aria-label": e.label
306
306
  })]
@@ -308,54 +308,54 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
308
308
  })]
309
309
  });
310
310
  }
311
- L.displayName = "AiConfidence";
311
+ R.displayName = "AiConfidence";
312
312
  //#endregion
313
313
  //#region src/components/blocks/ai/ai-prompt-suggestions/types.ts
314
- var R = {
314
+ var z = {
315
315
  title: "Try asking",
316
316
  hint: "Tap a prompt to start"
317
317
  };
318
318
  //#endregion
319
319
  //#region src/components/blocks/ai/ai-prompt-suggestions/ai-prompt-suggestions.tsx
320
- function z({ suggestions: e, onPick: r, className: i, strings: a }) {
321
- let o = t(R, a);
322
- return /* @__PURE__ */ j(l, {
320
+ function B({ suggestions: e, onPick: r, className: i, strings: a }) {
321
+ let o = t(z, a);
322
+ return /* @__PURE__ */ N(l, {
323
323
  "data-component": "ai-prompt-suggestions",
324
324
  "data-slot": "ai-prompt-suggestions",
325
325
  className: n("ai-prompt-suggestions--component", i),
326
- children: [/* @__PURE__ */ j(l, {
326
+ children: [/* @__PURE__ */ N(l, {
327
327
  gap: "normal",
328
328
  className: "ai-prompt-suggestions--intro",
329
- children: [/* @__PURE__ */ A(D, { children: o.title }), /* @__PURE__ */ A(w, { children: o.hint })]
330
- }), /* @__PURE__ */ A("div", {
329
+ children: [/* @__PURE__ */ M(D, { children: o.title }), /* @__PURE__ */ M(w, { children: o.hint })]
330
+ }), /* @__PURE__ */ M("div", {
331
331
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(15rem,100%),1fr))] gap-space-xl",
332
332
  children: e.map((e) => {
333
333
  let t = e.icon;
334
- return /* @__PURE__ */ j(E, {
334
+ return /* @__PURE__ */ N(E, {
335
335
  variant: "outline",
336
- render: /* @__PURE__ */ A("button", {
336
+ render: /* @__PURE__ */ M("button", {
337
337
  type: "button",
338
338
  onClick: () => r?.(e)
339
339
  }),
340
340
  className: n("ai-prompt-suggestions--item h-full items-start gap-space-lg p-surface", p.rowHover),
341
- children: [!!t && /* @__PURE__ */ A(C, { children: /* @__PURE__ */ A(y, {
341
+ children: [!!t && /* @__PURE__ */ M(C, { children: /* @__PURE__ */ M(y, {
342
342
  icon: t,
343
343
  tone: "neutral",
344
344
  size: "md",
345
345
  shape: "square"
346
- }) }), /* @__PURE__ */ j(T, {
346
+ }) }), /* @__PURE__ */ N(T, {
347
347
  className: "min-w-0 gap-space-sm",
348
- children: [/* @__PURE__ */ A(D, { children: e.label }), !!e.description && /* @__PURE__ */ A(w, { children: e.description })]
348
+ children: [/* @__PURE__ */ M(D, { children: e.label }), !!e.description && /* @__PURE__ */ M(w, { children: e.description })]
349
349
  })]
350
350
  }, e.id);
351
351
  })
352
352
  })]
353
353
  });
354
354
  }
355
- z.displayName = "AiPromptSuggestions";
355
+ B.displayName = "AiPromptSuggestions";
356
356
  //#endregion
357
357
  //#region src/components/blocks/ai/ai-token-usage/types.ts
358
- var B = {
358
+ var V = {
359
359
  title: "Token usage",
360
360
  input: "Input",
361
361
  output: "Output",
@@ -364,21 +364,21 @@ var B = {
364
364
  };
365
365
  //#endregion
366
366
  //#region src/components/blocks/ai/ai-token-usage/ai-token-usage.tsx
367
- function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, className: d, strings: p }) {
368
- let h = t(B, p), g = r + o, y = u ? Math.min(100, Math.round(g / u * 100)) : 0;
369
- return /* @__PURE__ */ j(l, {
367
+ function H({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, className: d, strings: p }) {
368
+ let h = t(V, p), g = r + o, y = u ? Math.min(100, Math.round(g / u * 100)) : 0;
369
+ return /* @__PURE__ */ N(l, {
370
370
  "data-component": "ai-token-usage",
371
371
  "data-slot": "ai-token-usage",
372
372
  className: n("ai-token-usage--component", d),
373
373
  children: [
374
- !!e && /* @__PURE__ */ A("div", {
374
+ !!e && /* @__PURE__ */ M("div", {
375
375
  className: "ai-token-usage--metadata flex min-w-0 justify-start",
376
- children: /* @__PURE__ */ A(b, {
376
+ children: /* @__PURE__ */ M(b, {
377
377
  tone: "secondary",
378
378
  children: e
379
379
  })
380
380
  }),
381
- /* @__PURE__ */ A(c, {
381
+ /* @__PURE__ */ M(c, {
382
382
  columns: 3,
383
383
  gap: "md",
384
384
  children: [
@@ -394,9 +394,9 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
394
394
  label: h.total,
395
395
  value: g
396
396
  }
397
- ].map((e) => /* @__PURE__ */ j(l, {
397
+ ].map((e) => /* @__PURE__ */ N(l, {
398
398
  gap: "2xs",
399
- children: [/* @__PURE__ */ A(a, { children: e.label }), /* @__PURE__ */ A(v, {
399
+ children: [/* @__PURE__ */ M(a, { children: e.label }), /* @__PURE__ */ M(v, {
400
400
  type: "inherit",
401
401
  value: e.value,
402
402
  weight: "semibold",
@@ -404,26 +404,26 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
404
404
  })]
405
405
  }, e.label))
406
406
  }),
407
- !!u && /* @__PURE__ */ j(l, {
407
+ !!u && /* @__PURE__ */ N(l, {
408
408
  gap: "xs",
409
- children: [/* @__PURE__ */ A(O, {
410
- label: /* @__PURE__ */ j("span", {
409
+ children: [/* @__PURE__ */ M(O, {
410
+ label: /* @__PURE__ */ N("span", {
411
411
  className: "inline-flex items-center gap-space-xs",
412
412
  children: [
413
- /* @__PURE__ */ A(v, {
413
+ /* @__PURE__ */ M(v, {
414
414
  type: "inherit",
415
415
  value: g,
416
416
  size: "xs",
417
417
  align: "left"
418
418
  }),
419
- /* @__PURE__ */ A(i, {
419
+ /* @__PURE__ */ M(i, {
420
420
  type: "inherit",
421
421
  tag: "span",
422
422
  size: "xs",
423
423
  "aria-hidden": !0,
424
424
  children: "/"
425
425
  }),
426
- /* @__PURE__ */ A(v, {
426
+ /* @__PURE__ */ M(v, {
427
427
  type: "inherit",
428
428
  value: u,
429
429
  size: "xs",
@@ -431,7 +431,7 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
431
431
  })
432
432
  ]
433
433
  }),
434
- value: /* @__PURE__ */ A(_, {
434
+ value: /* @__PURE__ */ M(_, {
435
435
  type: "inherit",
436
436
  value: y,
437
437
  scaled: !0,
@@ -439,14 +439,14 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
439
439
  weight: "semibold",
440
440
  align: "right"
441
441
  })
442
- }), /* @__PURE__ */ A(f, {
442
+ }), /* @__PURE__ */ M(f, {
443
443
  value: y,
444
444
  "aria-label": h.title,
445
445
  className: "ai-token-usage--bar"
446
446
  })]
447
447
  }),
448
- !!s && /* @__PURE__ */ A(O, {
449
- label: /* @__PURE__ */ A(i, {
448
+ !!s && /* @__PURE__ */ M(O, {
449
+ label: /* @__PURE__ */ M(i, {
450
450
  type: "inherit",
451
451
  tag: "span",
452
452
  size: "xs",
@@ -454,7 +454,7 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
454
454
  lineHeight: "tight",
455
455
  children: h.cost
456
456
  }),
457
- value: /* @__PURE__ */ A(m, {
457
+ value: /* @__PURE__ */ M(m, {
458
458
  type: "inherit",
459
459
  weight: "semibold",
460
460
  children: s
@@ -464,10 +464,10 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
464
464
  ]
465
465
  });
466
466
  }
467
- V.displayName = "AiTokenUsage";
467
+ H.displayName = "AiTokenUsage";
468
468
  //#endregion
469
469
  //#region src/components/blocks/ai/ai-feedback/types.ts
470
- var H = {
470
+ var U = {
471
471
  prompt: "Was this helpful?",
472
472
  thumbsUpAria: "Mark as helpful",
473
473
  thumbsDownAria: "Mark as not helpful",
@@ -477,30 +477,30 @@ var H = {
477
477
  };
478
478
  //#endregion
479
479
  //#region src/components/blocks/ai/ai-feedback/ai-feedback.tsx
480
- function U({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, submitted: c = !1, className: d, strings: f }) {
481
- let m = t(H, f), [h, g] = k(null), [_, v] = k(""), y = e ?? h, b = (t) => {
480
+ function W({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, submitted: c = !1, className: d, strings: f }) {
481
+ let m = t(U, f), [h, g] = A(null), [_, v] = A(""), y = e ?? h, b = (t) => {
482
482
  let n = y === t ? null : t;
483
483
  e === void 0 && g(n), a?.(n);
484
484
  };
485
- return c ? /* @__PURE__ */ j("div", {
485
+ return c ? /* @__PURE__ */ N("div", {
486
486
  className: n("ai-feedback--component", "inline-flex items-center gap-space-md rounded-radius px-space-lg py-space-sm", u.success.wash, d),
487
- children: [/* @__PURE__ */ A(N, { className: "size-icon-md text-success" }), /* @__PURE__ */ A(i, {
487
+ children: [/* @__PURE__ */ M(F, { className: "size-icon-md text-success" }), /* @__PURE__ */ M(i, {
488
488
  size: "xs",
489
489
  type: "success",
490
490
  weight: "medium",
491
491
  children: m.thanks
492
492
  })]
493
- }) : /* @__PURE__ */ j("div", {
493
+ }) : /* @__PURE__ */ N("div", {
494
494
  className: n("ai-feedback--component inline-flex flex-col gap-space-md", d),
495
- children: [/* @__PURE__ */ j("div", {
495
+ children: [/* @__PURE__ */ N("div", {
496
496
  className: "flex items-center gap-space-md",
497
497
  children: [
498
- /* @__PURE__ */ A(i, {
498
+ /* @__PURE__ */ M(i, {
499
499
  size: "xs",
500
500
  type: "secondary",
501
501
  children: m.prompt
502
502
  }),
503
- /* @__PURE__ */ A(r, {
503
+ /* @__PURE__ */ M(r, {
504
504
  type: "button",
505
505
  tone: "secondary",
506
506
  buttonStyle: "ghost",
@@ -510,9 +510,9 @@ function U({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, subm
510
510
  "aria-pressed": y === "up",
511
511
  onClick: () => b("up"),
512
512
  className: y === "up" ? p.togglePressed : p.toggleHoverButton,
513
- children: /* @__PURE__ */ A(N, { className: "size-icon-md" })
513
+ children: /* @__PURE__ */ M(F, { className: "size-icon-md" })
514
514
  }),
515
- /* @__PURE__ */ A(r, {
515
+ /* @__PURE__ */ M(r, {
516
516
  type: "button",
517
517
  tone: "secondary",
518
518
  buttonStyle: "ghost",
@@ -522,21 +522,21 @@ function U({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, subm
522
522
  "aria-pressed": y === "down",
523
523
  onClick: () => b("down"),
524
524
  className: y === "down" ? p.togglePressed : p.toggleHoverButton,
525
- children: /* @__PURE__ */ A(Fe, { className: "size-icon-md" })
525
+ children: /* @__PURE__ */ M(Pe, { className: "size-icon-md" })
526
526
  })
527
527
  ]
528
- }), !!s && !!y && /* @__PURE__ */ j(l, {
528
+ }), !!s && !!y && /* @__PURE__ */ N(l, {
529
529
  gap: "md",
530
- children: [/* @__PURE__ */ A(x, {
530
+ children: [/* @__PURE__ */ M(x, {
531
531
  value: _,
532
532
  onChange: (e) => v(e.target.value),
533
533
  placeholder: m.commentPlaceholder,
534
534
  minRows: 2
535
- }), /* @__PURE__ */ A(l, {
535
+ }), /* @__PURE__ */ M(l, {
536
536
  direction: "horizontal",
537
537
  gap: "none",
538
538
  justify: "end",
539
- children: /* @__PURE__ */ A(r, {
539
+ children: /* @__PURE__ */ M(r, {
540
540
  tone: "primary",
541
541
  type: "button",
542
542
  onClick: () => {
@@ -549,10 +549,10 @@ function U({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, subm
549
549
  })]
550
550
  });
551
551
  }
552
- U.displayName = "AiFeedback";
552
+ W.displayName = "AiFeedback";
553
553
  //#endregion
554
554
  //#region src/components/blocks/ai/ai-citation/types.ts
555
- var W = {
555
+ var G = {
556
556
  title: "Sources",
557
557
  sourceCount: (e) => e === 1 ? "1 source" : `${e} sources`,
558
558
  hiddenCount: (e) => e === 1 ? "+1 more" : `+${e} more`,
@@ -563,25 +563,29 @@ var W = {
563
563
  };
564
564
  //#endregion
565
565
  //#region src/components/blocks/ai/ai-citation/ai-citation.tsx
566
- function G({ sources: t, expanded: a, defaultExpanded: o = !1, onExpandedChange: c, maxCollapsedRows: u = 0, className: f, strings: m }) {
567
- let h = e(W, m), [g, _] = k(o), v = a ?? g, y = (e) => {
568
- a === void 0 && _(e), c?.(e);
569
- }, b = v ? t : t.slice(0, Math.max(0, u)), x = t.length - b.length;
570
- return /* @__PURE__ */ j(d, {
566
+ function K({ sources: t, expanded: a, defaultExpanded: o = !1, onExpandedChange: c, maxCollapsedRows: u = 0, className: f, strings: m }) {
567
+ let h = e(G, m), g = k(), _ = k(), [v, y] = A(o), b = a ?? v, x = (e) => {
568
+ a === void 0 && y(e), c?.(e);
569
+ }, S = b ? t : t.slice(0, Math.max(0, u)), C = t.length - S.length, w = b || u > 0;
570
+ return /* @__PURE__ */ N(d, {
571
571
  surface: "card",
572
572
  padding: "none",
573
573
  contentGap: "none",
574
574
  className: n("ai-citation--component", f),
575
- children: [/* @__PURE__ */ j(r, {
575
+ children: [/* @__PURE__ */ N(r, {
576
576
  type: "button",
577
577
  tone: "secondary",
578
578
  buttonStyle: "ghost",
579
579
  size: "sm",
580
- onClick: () => y(!v),
580
+ onClick: () => x(!b),
581
581
  className: n("ai-citation--trigger h-auto min-h-0 w-full justify-start gap-space-sm rounded-radius border-0 px-surface-xs py-row-y text-left", `text-muted-foreground ${p.rowHover} ${s.inset}`),
582
- "aria-expanded": v,
583
- "aria-label": v ? h.collapse : h.expand,
584
- children: [/* @__PURE__ */ j(i, {
582
+ "aria-expanded": b,
583
+ "aria-controls": _,
584
+ "aria-labelledby": g,
585
+ "aria-description": b ? m?.collapse : m?.expand,
586
+ children: [/* @__PURE__ */ N(i, {
587
+ id: g,
588
+ tag: "span",
585
589
  type: "inherit",
586
590
  weight: "medium",
587
591
  children: [
@@ -589,40 +593,42 @@ function G({ sources: t, expanded: a, defaultExpanded: o = !1, onExpandedChange:
589
593
  " · ",
590
594
  h.sourceCount(t.length)
591
595
  ]
592
- }), A(v ? Oe : ke, { className: "size-icon-md" })]
593
- }), (v || u > 0) && /* @__PURE__ */ j(l, {
596
+ }), M(b ? De : Oe, { className: "size-icon-md" })]
597
+ }), /* @__PURE__ */ M(l, {
598
+ id: _,
599
+ hidden: !w,
594
600
  gap: "sm",
595
- className: "ai-citation--list border-t border-border/60 px-surface-xs py-row-y",
596
- children: [/* @__PURE__ */ A(te, { children: b.map((e, t) => /* @__PURE__ */ A(Ve, {
601
+ className: n("ai-citation--list border-t border-border/60 px-surface-xs py-row-y", !w && "hidden"),
602
+ children: w && /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(te, { children: S.map((e, t) => /* @__PURE__ */ M(Ve, {
597
603
  source: e,
598
604
  index: t + 1,
599
605
  strings: h
600
- }, e.id)) }), !v && x > 0 && /* @__PURE__ */ A(i, {
606
+ }, e.id)) }), !b && C > 0 && /* @__PURE__ */ M(i, {
601
607
  size: "xs",
602
608
  type: "secondary",
603
609
  className: "ai-citation--hidden-count",
604
- children: h.hiddenCount(x)
605
- })]
610
+ children: h.hiddenCount(C)
611
+ })] })
606
612
  })]
607
613
  });
608
614
  }
609
- G.displayName = "AiCitation";
615
+ K.displayName = "AiCitation";
610
616
  function Ve({ source: e, index: t, strings: r }) {
611
617
  let a = typeof e.relevance == "number" ? Math.round(Math.max(0, Math.min(1, e.relevance)) * 100) : null, o = e.url ? "a" : "span", s = e.url ? {
612
618
  href: e.url,
613
619
  target: "_blank",
614
620
  rel: "noopener noreferrer"
615
621
  } : {};
616
- return /* @__PURE__ */ j(E, {
622
+ return /* @__PURE__ */ N(E, {
617
623
  size: "sm",
618
624
  className: "items-start",
619
625
  children: [
620
- /* @__PURE__ */ A(C, { children: /* @__PURE__ */ A(y, {
626
+ /* @__PURE__ */ M(C, { children: /* @__PURE__ */ M(y, {
621
627
  tone: "neutral",
622
628
  size: "sm",
623
629
  "aria-hidden": !1,
624
630
  className: "shrink-0",
625
- children: /* @__PURE__ */ A(v, {
631
+ children: /* @__PURE__ */ M(v, {
626
632
  value: t,
627
633
  size: "xs",
628
634
  weight: "semibold",
@@ -630,33 +636,33 @@ function Ve({ source: e, index: t, strings: r }) {
630
636
  align: "center"
631
637
  })
632
638
  }) }),
633
- /* @__PURE__ */ j(T, { children: [
634
- /* @__PURE__ */ A(D, {
639
+ /* @__PURE__ */ N(T, { children: [
640
+ /* @__PURE__ */ M(D, {
635
641
  className: "truncate",
636
- children: /* @__PURE__ */ j(o, {
642
+ children: /* @__PURE__ */ N(o, {
637
643
  ...s,
638
644
  className: n("truncate", e.url && "hover:text-primary-accent hover:underline"),
639
- children: [e.title, !!e.url && /* @__PURE__ */ A(M, { className: "ml-1 inline size-icon-sm align-baseline" })]
645
+ children: [e.title, !!e.url && /* @__PURE__ */ M(P, { className: "ml-1 inline size-icon-sm align-baseline" })]
640
646
  })
641
647
  }),
642
- !!e.snippet && /* @__PURE__ */ A(w, {
648
+ !!e.snippet && /* @__PURE__ */ M(w, {
643
649
  clamp: 2,
644
650
  children: e.snippet
645
651
  }),
646
- (e.publisher || e.publishedAt) && /* @__PURE__ */ j(S, {
652
+ (e.publisher || e.publishedAt) && /* @__PURE__ */ N(S, {
647
653
  className: "mt-1 justify-start gap-space-sm",
648
654
  children: [
649
- !!e.publisher && /* @__PURE__ */ A(i, {
655
+ !!e.publisher && /* @__PURE__ */ M(i, {
650
656
  size: "xs",
651
657
  type: "discrete",
652
658
  children: e.publisher
653
659
  }),
654
- !!e.publisher && !!e.publishedAt && /* @__PURE__ */ A(i, {
660
+ !!e.publisher && !!e.publishedAt && /* @__PURE__ */ M(i, {
655
661
  size: "xs",
656
662
  type: "discrete",
657
663
  children: "·"
658
664
  }),
659
- !!e.publishedAt && /* @__PURE__ */ A(h, {
665
+ !!e.publishedAt && /* @__PURE__ */ M(h, {
660
666
  size: "xs",
661
667
  className: "tabular-nums",
662
668
  children: e.publishedAt
@@ -664,15 +670,15 @@ function Ve({ source: e, index: t, strings: r }) {
664
670
  ]
665
671
  })
666
672
  ] }),
667
- a !== null && /* @__PURE__ */ j(ee, {
673
+ a !== null && /* @__PURE__ */ N(ee, {
668
674
  className: "w-16 flex-col items-end gap-space-2xs",
669
- children: [/* @__PURE__ */ A(_, {
675
+ children: [/* @__PURE__ */ M(_, {
670
676
  value: a,
671
677
  scaled: !0,
672
678
  size: "xs",
673
679
  type: "secondary",
674
680
  weight: "medium"
675
- }), /* @__PURE__ */ A(f, {
681
+ }), /* @__PURE__ */ M(f, {
676
682
  value: a,
677
683
  size: "sm",
678
684
  "aria-label": r.relevance,
@@ -684,7 +690,7 @@ function Ve({ source: e, index: t, strings: r }) {
684
690
  }
685
691
  //#endregion
686
692
  //#region src/components/blocks/ai/ai-inline-citation/types.ts
687
- var K = {
693
+ var q = {
688
694
  sourcePrefix: "Source",
689
695
  openAria: "Open source {{n}}: {{title}}"
690
696
  };
@@ -696,12 +702,12 @@ function He(e, t) {
696
702
  return r === void 0 ? e : String(r);
697
703
  });
698
704
  }
699
- function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }) {
700
- let d = e(K, u), f = He(d.openAria, {
705
+ function J({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }) {
706
+ let d = e(q, u), f = He(d.openAria, {
701
707
  n: t,
702
708
  title: r ?? ""
703
709
  }), m = r ? `${d.sourcePrefix} ${t}: ${r}` : `${d.sourcePrefix} ${t}`, h = n("box-border inline-flex h-action-xs min-w-action-xs -translate-y-px items-center justify-center rounded-radius border-0 px-control-xs font-sans", "align-middle tabular-nums", "bg-muted text-muted-foreground", p.rowHover, "transition-colors duration-150", `focus-visible:outline-none ${s.edge}`, l);
704
- return a ? /* @__PURE__ */ A(o, {
710
+ return a ? /* @__PURE__ */ M(o, {
705
711
  href: a,
706
712
  size: "inherit",
707
713
  underline: !1,
@@ -710,7 +716,7 @@ function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }
710
716
  title: m,
711
717
  "aria-label": f,
712
718
  className: n("ai-inline-citation--component", h),
713
- children: /* @__PURE__ */ A(i, {
719
+ children: /* @__PURE__ */ M(i, {
714
720
  type: "inherit",
715
721
  tag: "span",
716
722
  size: "xs",
@@ -718,13 +724,13 @@ function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }
718
724
  lineHeight: "none",
719
725
  children: t
720
726
  })
721
- }) : c ? /* @__PURE__ */ A("button", {
727
+ }) : c ? /* @__PURE__ */ M("button", {
722
728
  type: "button",
723
729
  onClick: c,
724
730
  title: m,
725
731
  "aria-label": f,
726
732
  className: n("ai-inline-citation--component", h),
727
- children: /* @__PURE__ */ A(i, {
733
+ children: /* @__PURE__ */ M(i, {
728
734
  type: "inherit",
729
735
  tag: "span",
730
736
  size: "xs",
@@ -732,11 +738,11 @@ function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }
732
738
  lineHeight: "none",
733
739
  children: t
734
740
  })
735
- }) : /* @__PURE__ */ A("span", {
741
+ }) : /* @__PURE__ */ M("span", {
736
742
  title: m,
737
743
  "aria-label": f,
738
744
  className: n("ai-inline-citation--component", h),
739
- children: /* @__PURE__ */ A(i, {
745
+ children: /* @__PURE__ */ M(i, {
740
746
  type: "inherit",
741
747
  tag: "span",
742
748
  size: "xs",
@@ -746,10 +752,10 @@ function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }
746
752
  })
747
753
  });
748
754
  }
749
- q.displayName = "AiInlineCitation";
755
+ J.displayName = "AiInlineCitation";
750
756
  //#endregion
751
757
  //#region src/components/blocks/ai/ai-package-info/types.ts
752
- var J = {
758
+ var Y = {
753
759
  versionLabel: "Version",
754
760
  licenseLabel: "License",
755
761
  publishedLabel: "Published",
@@ -761,87 +767,87 @@ var J = {
761
767
  };
762
768
  //#endregion
763
769
  //#region src/components/blocks/ai/ai-package-info/ai-package-info.tsx
764
- function Y({ name: e, version: a, description: s, license: c, publishedAt: u, homepage: f, repository: m, weeklyDownloads: h, keywords: _, onSelect: v, className: y, strings: x }) {
765
- let S = t(J, x), C = /* @__PURE__ */ j(l, {
770
+ function X({ name: e, version: a, description: s, license: c, publishedAt: u, homepage: f, repository: m, weeklyDownloads: h, keywords: _, onSelect: v, className: y, strings: x }) {
771
+ let S = t(Y, x), C = /* @__PURE__ */ N(l, {
766
772
  gap: "md",
767
773
  className: "min-w-0 flex-1",
768
774
  children: [
769
- /* @__PURE__ */ j(l, {
775
+ /* @__PURE__ */ N(l, {
770
776
  gap: "dense",
771
- children: [/* @__PURE__ */ j(l, {
777
+ children: [/* @__PURE__ */ N(l, {
772
778
  direction: "horizontal",
773
779
  gap: "md",
774
780
  align: "center",
775
- children: [/* @__PURE__ */ A(g, {
781
+ children: [/* @__PURE__ */ M(g, {
776
782
  type: "inherit",
777
783
  weight: "semibold",
778
784
  className: "truncate",
779
785
  children: e
780
- }), !!a && /* @__PURE__ */ A(b, {
786
+ }), !!a && /* @__PURE__ */ M(b, {
781
787
  tone: "secondary",
782
- children: /* @__PURE__ */ j(g, {
788
+ children: /* @__PURE__ */ N(g, {
783
789
  size: "xs",
784
790
  className: "text-inherit",
785
791
  children: ["v", a.replace(/^v/, "")]
786
792
  })
787
793
  })]
788
- }), !!s && /* @__PURE__ */ A(i, {
794
+ }), !!s && /* @__PURE__ */ M(i, {
789
795
  size: "xs",
790
796
  type: "secondary",
791
797
  className: "line-clamp-2",
792
798
  children: s
793
799
  })]
794
800
  }),
795
- (c || u || h !== void 0) && /* @__PURE__ */ j("div", {
801
+ (c || u || h !== void 0) && /* @__PURE__ */ N("div", {
796
802
  className: "ai-package-info--meta flex flex-wrap items-center gap-x-space-lg gap-y-space-xs",
797
803
  children: [
798
- !!c && /* @__PURE__ */ A(X, {
804
+ !!c && /* @__PURE__ */ M(Z, {
799
805
  label: S.licenseLabel,
800
806
  value: c
801
807
  }),
802
- !!u && /* @__PURE__ */ A(X, {
808
+ !!u && /* @__PURE__ */ M(Z, {
803
809
  label: S.publishedLabel,
804
810
  value: u
805
811
  }),
806
- h !== void 0 && /* @__PURE__ */ A(X, {
812
+ h !== void 0 && /* @__PURE__ */ M(Z, {
807
813
  label: S.weeklyDownloadsLabel,
808
814
  value: String(h)
809
815
  })
810
816
  ]
811
817
  }),
812
- !!_?.length && /* @__PURE__ */ A(l, {
818
+ !!_?.length && /* @__PURE__ */ M(l, {
813
819
  direction: "horizontal",
814
820
  gap: "xs",
815
821
  className: "ai-package-info--keywords",
816
- children: _.slice(0, 6).map((e) => /* @__PURE__ */ A(b, {
822
+ children: _.slice(0, 6).map((e) => /* @__PURE__ */ M(b, {
817
823
  tone: "secondary",
818
824
  children: e
819
825
  }, e))
820
826
  })
821
827
  ]
822
828
  }), w = "ai-package-info--body flex w-full items-start gap-space-lg p-surface-xs text-left";
823
- return /* @__PURE__ */ j(d, {
829
+ return /* @__PURE__ */ N(d, {
824
830
  surface: "card",
825
831
  padding: "none",
826
832
  className: n("ai-package-info--component", y),
827
- children: [v ? /* @__PURE__ */ A(r, {
833
+ children: [v ? /* @__PURE__ */ M(r, {
828
834
  type: "button",
829
835
  tone: "secondary",
830
836
  buttonStyle: "ghost",
831
837
  onClick: v,
832
838
  className: n(w, `h-auto min-h-0 justify-start rounded-none whitespace-normal transition-colors ${p.rowHover}`),
833
839
  children: C
834
- }) : /* @__PURE__ */ A("div", {
840
+ }) : /* @__PURE__ */ M("div", {
835
841
  className: w,
836
842
  children: C
837
- }), (f || m) && /* @__PURE__ */ A("div", {
843
+ }), (f || m) && /* @__PURE__ */ M("div", {
838
844
  className: "ai-package-info--footer px-surface-xs pb-surface-xs",
839
- children: /* @__PURE__ */ j(l, {
845
+ children: /* @__PURE__ */ N(l, {
840
846
  direction: "horizontal",
841
847
  align: "center",
842
848
  gap: "md",
843
849
  children: [
844
- !!f && /* @__PURE__ */ j(o, {
850
+ !!f && /* @__PURE__ */ N(o, {
845
851
  href: f,
846
852
  size: "inherit",
847
853
  underline: !1,
@@ -850,21 +856,21 @@ function Y({ name: e, version: a, description: s, license: c, publishedAt: u, ho
850
856
  onClick: (e) => e.stopPropagation(),
851
857
  "aria-label": S.homepageAria,
852
858
  className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
853
- children: [/* @__PURE__ */ A(i, {
859
+ children: [/* @__PURE__ */ M(i, {
854
860
  type: "inherit",
855
861
  tag: "span",
856
862
  weight: "medium",
857
863
  children: S.homepageLabel
858
- }), /* @__PURE__ */ A(M, { className: "size-icon-sm" })]
864
+ }), /* @__PURE__ */ M(P, { className: "size-icon-sm" })]
859
865
  }),
860
- !!f && !!m && /* @__PURE__ */ A(i, {
866
+ !!f && !!m && /* @__PURE__ */ M(i, {
861
867
  tag: "span",
862
868
  size: "xs",
863
869
  type: "secondary",
864
870
  "aria-hidden": !0,
865
871
  children: "·"
866
872
  }),
867
- !!m && /* @__PURE__ */ j(o, {
873
+ !!m && /* @__PURE__ */ N(o, {
868
874
  href: m,
869
875
  size: "inherit",
870
876
  underline: !1,
@@ -873,27 +879,27 @@ function Y({ name: e, version: a, description: s, license: c, publishedAt: u, ho
873
879
  onClick: (e) => e.stopPropagation(),
874
880
  "aria-label": S.repositoryAria,
875
881
  className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
876
- children: [/* @__PURE__ */ A(i, {
882
+ children: [/* @__PURE__ */ M(i, {
877
883
  type: "inherit",
878
884
  tag: "span",
879
885
  weight: "medium",
880
886
  children: S.repositoryLabel
881
- }), /* @__PURE__ */ A(M, { className: "size-icon-sm" })]
887
+ }), /* @__PURE__ */ M(P, { className: "size-icon-sm" })]
882
888
  })
883
889
  ]
884
890
  })
885
891
  })]
886
892
  });
887
893
  }
888
- Y.displayName = "AiPackageInfo";
889
- function X({ label: e, value: t }) {
890
- return /* @__PURE__ */ j("div", {
894
+ X.displayName = "AiPackageInfo";
895
+ function Z({ label: e, value: t }) {
896
+ return /* @__PURE__ */ N("div", {
891
897
  className: "inline-flex items-baseline gap-space-xs",
892
- children: [/* @__PURE__ */ A(i, {
898
+ children: [/* @__PURE__ */ M(i, {
893
899
  size: "xs",
894
900
  type: "discrete",
895
901
  children: e
896
- }), /* @__PURE__ */ A(h, {
902
+ }), /* @__PURE__ */ M(h, {
897
903
  size: "xs",
898
904
  weight: "medium",
899
905
  className: "tabular-nums",
@@ -903,7 +909,7 @@ function X({ label: e, value: t }) {
903
909
  }
904
910
  //#endregion
905
911
  //#region src/components/blocks/ai/ai-file-tree/types.ts
906
- var Z = {
912
+ var Q = {
907
913
  treeAria: "Files",
908
914
  expandAria: "Expand directory",
909
915
  collapseAria: "Collapse directory",
@@ -941,20 +947,20 @@ function Ge(e) {
941
947
  "py",
942
948
  "rs",
943
949
  "go"
944
- ].includes(t) ? je : [
950
+ ].includes(t) ? Ae : [
945
951
  "md",
946
952
  "mdx",
947
953
  "txt"
948
- ].includes(t) ? Me : Ae;
954
+ ].includes(t) ? je : ke;
949
955
  }
950
- function Q(e, t = 0) {
951
- return e.flatMap((e) => [...e.kind === "directory" && (e.defaultExpanded ?? t < 1) ? [e.id] : [], ...Q(e.children ?? [], t + 1)]);
956
+ function Ke(e, t = 0) {
957
+ return e.flatMap((e) => [...e.kind === "directory" && (e.defaultExpanded ?? t < 1) ? [e.id] : [], ...Ke(e.children ?? [], t + 1)]);
952
958
  }
953
959
  function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, indent: o, density: s = "compact", disabled: c, expandedIds: u, defaultExpandedIds: d, onExpandedIdsChange: f, className: p, strings: m, ..._ }) {
954
- let v = t(Z, m), [y, x] = k(() => d ?? Q(e)), S = u ?? y, C = Ee(() => {
960
+ let v = t(Q, m), [y, x] = A(() => d ?? Ke(e)), S = u ?? y, C = Ee(() => {
955
961
  function t(e) {
956
962
  return e.map((e) => {
957
- let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ? Pe : Ne : Ge(e.name));
963
+ let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ? Ne : Me : Ge(e.name));
958
964
  return {
959
965
  value: e.id,
960
966
  label: e.name,
@@ -962,21 +968,21 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
962
968
  disabled: e.disabled,
963
969
  hasChildren: r,
964
970
  children: r ? t(e.children ?? []) : void 0,
965
- icon: /* @__PURE__ */ A(i, {
971
+ icon: /* @__PURE__ */ M(i, {
966
972
  "aria-hidden": "true",
967
973
  className: n("size-icon", a && e.status && We[e.status])
968
974
  }),
969
- trailing: /* @__PURE__ */ j(l, {
975
+ trailing: /* @__PURE__ */ N(l, {
970
976
  direction: "horizontal",
971
977
  gap: "xs",
972
978
  align: "center",
973
979
  className: "shrink-0",
974
- children: [e.status && !a && /* @__PURE__ */ A(b, {
980
+ children: [e.status && !a && /* @__PURE__ */ M(b, {
975
981
  tone: Ue[e.status],
976
982
  size: "sm",
977
983
  title: e.status,
978
984
  children: v.statusLabels[e.status]
979
- }), e.trailing != null && /* @__PURE__ */ A(h, {
985
+ }), e.trailing != null && /* @__PURE__ */ M(h, {
980
986
  size: "xs",
981
987
  className: "tabular-nums",
982
988
  children: e.trailing
@@ -992,7 +998,7 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
992
998
  a,
993
999
  v.statusLabels
994
1000
  ]);
995
- return /* @__PURE__ */ A(Te, {
1001
+ return /* @__PURE__ */ M(Te, {
996
1002
  ..._,
997
1003
  "aria-label": _["aria-label"] ?? v.treeAria,
998
1004
  items: C,
@@ -1012,7 +1018,7 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
1012
1018
  onSelectedValuesChange: (e, t) => {
1013
1019
  t.data?.kind === "file" && i?.(t.data);
1014
1020
  },
1015
- renderLabel: (e) => /* @__PURE__ */ A(g, {
1021
+ renderLabel: (e) => /* @__PURE__ */ M(g, {
1016
1022
  size: "inherit",
1017
1023
  weight: "regular",
1018
1024
  className: n("ai-file-tree--name text-inherit wrap-anywhere", e.data?.status === "removed" && "line-through"),
@@ -1023,6 +1029,6 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
1023
1029
  }
1024
1030
  $.displayName = "AiFileTree";
1025
1031
  //#endregion
1026
- export { _e as AiAgent, be as AiArtifact, de as AiAttachment, ae as AiChainOfThought, G as AiCitation, ze as AiClassificationPanel, ie as AiCodeBlock, L as AiConfidence, ce as AiConfirmation, U as AiFeedback, $ as AiFileTree, q as AiInlineCitation, re as AiMessageBubble, Y as AiPackageInfo, z as AiPromptSuggestions, ye as AiReasoning, we as AiShimmer, pe as AiSources, Re as AiSummaryBlock, ve as AiTask, V as AiTokenUsage, oe as AiToolCall, me as defaultAiAgentStrings, he as defaultAiArtifactStrings, ue as defaultAiAttachmentStrings, ge as defaultAiChainOfThoughtStrings, W as defaultAiCitationStrings, Se as defaultAiCodeBlockStrings, I as defaultAiConfidenceStrings, le as defaultAiConfirmationStrings, H as defaultAiFeedbackStrings, Z as defaultAiFileTreeStrings, K as defaultAiInlineCitationStrings, ne as defaultAiMessageBubbleStrings, J as defaultAiPackageInfoStrings, R as defaultAiPromptSuggestionsStrings, se as defaultAiReasoningStrings, xe as defaultAiSourcesStrings, fe as defaultAiTaskStrings, B as defaultAiTokenUsageStrings, Ce as defaultAiToolCallStrings };
1032
+ export { _e as AiAgent, be as AiArtifact, de as AiAttachment, ae as AiChainOfThought, K as AiCitation, ze as AiClassificationPanel, ie as AiCodeBlock, R as AiConfidence, ce as AiConfirmation, W as AiFeedback, $ as AiFileTree, J as AiInlineCitation, re as AiMessageBubble, X as AiPackageInfo, B as AiPromptSuggestions, ye as AiReasoning, we as AiShimmer, pe as AiSources, Re as AiSummaryBlock, ve as AiTask, H as AiTokenUsage, oe as AiToolCall, me as defaultAiAgentStrings, he as defaultAiArtifactStrings, ue as defaultAiAttachmentStrings, ge as defaultAiChainOfThoughtStrings, G as defaultAiCitationStrings, Se as defaultAiCodeBlockStrings, L as defaultAiConfidenceStrings, le as defaultAiConfirmationStrings, U as defaultAiFeedbackStrings, Q as defaultAiFileTreeStrings, q as defaultAiInlineCitationStrings, ne as defaultAiMessageBubbleStrings, Y as defaultAiPackageInfoStrings, z as defaultAiPromptSuggestionsStrings, se as defaultAiReasoningStrings, xe as defaultAiSourcesStrings, fe as defaultAiTaskStrings, V as defaultAiTokenUsageStrings, Ce as defaultAiToolCallStrings };
1027
1033
 
1028
1034
  //# sourceMappingURL=ai.js.map