themelia-react-ui 2.0.3 → 2.0.5

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 (648) hide show
  1. package/CHANGELOG.md +185 -0
  2. package/README.md +168 -36
  3. package/dist/{accordion-Cjb6sx0G.js → accordion-B9MHG0cT.js} +11 -11
  4. package/dist/accordion-B9MHG0cT.js.map +1 -0
  5. package/dist/action-menu-Dr8K-ghE.js +284 -0
  6. package/dist/action-menu-Dr8K-ghE.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-tF36bREk.js → affordance-geometry.generated-P-aVJisu.js} +42 -36
  8. package/dist/affordance-geometry.generated-P-aVJisu.js.map +1 -0
  9. package/dist/{ai-artifact-DvTwDVyL.js → ai-artifact-C58tQcBy.js} +387 -350
  10. package/dist/ai-artifact-C58tQcBy.js.map +1 -0
  11. package/dist/app-shell-B_IuNWOo.js +321 -0
  12. package/dist/app-shell-B_IuNWOo.js.map +1 -0
  13. package/dist/{attachment-BxDfL2mw.js → attachment-Dg_69lPS.js} +9 -9
  14. package/dist/{attachment-BxDfL2mw.js.map → attachment-Dg_69lPS.js.map} +1 -1
  15. package/dist/{auth-BGua8ouh.js → auth-DTkkshS8.js} +44 -47
  16. package/dist/auth-DTkkshS8.js.map +1 -0
  17. package/dist/{avatar-DAPlDvhJ.js → avatar-CeZaFmNH.js} +8 -8
  18. package/dist/avatar-CeZaFmNH.js.map +1 -0
  19. package/dist/{badge-HpFqoqSY.js → badge-xIiV_E7f.js} +5 -5
  20. package/dist/{badge-HpFqoqSY.js.map → badge-xIiV_E7f.js.map} +1 -1
  21. package/dist/base/accordion.js +1 -1
  22. package/dist/base/action-menu.js +1 -1
  23. package/dist/base/attachment.js +1 -1
  24. package/dist/base/avatar.js +1 -1
  25. package/dist/base/badge.js +1 -1
  26. package/dist/base/batch-action-bar.js +1 -1
  27. package/dist/base/buttons.js +1 -1
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +3 -3
  30. package/dist/base/cascader.js +2 -372
  31. package/dist/base/chart.js +1 -1
  32. package/dist/base/choice-inputs.js +2 -2
  33. package/dist/base/code-block.js +1 -1
  34. package/dist/base/combobox.js +2 -2
  35. package/dist/base/command.js +1 -1
  36. package/dist/base/copyable.js +1 -1
  37. package/dist/base/date-pickers.js +2 -2
  38. package/dist/base/display.js +6 -6
  39. package/dist/base/feedback.js +3 -3
  40. package/dist/base/forms-numeric.js +1 -1
  41. package/dist/base/forms.js +3 -3
  42. package/dist/base/inline-edit.js +10 -10
  43. package/dist/base/item.js +1 -1
  44. package/dist/base/media-gallery.js +1 -1
  45. package/dist/base/metadata-list.js +1 -1
  46. package/dist/base/navigation.js +7 -7
  47. package/dist/base/popover-menu.js +1 -1
  48. package/dist/base/popover.js +1 -1
  49. package/dist/base/qr-code.js +1 -1
  50. package/dist/base/repeaters.js +12 -12
  51. package/dist/base/repeaters.js.map +1 -1
  52. package/dist/base/sheet.js +1 -1
  53. package/dist/base/sidebar.js +2 -2
  54. package/dist/base/signature-pad.js +7 -7
  55. package/dist/base/signature-pad.js.map +1 -1
  56. package/dist/base/skeleton.js +1 -1
  57. package/dist/base/spinner.js +4 -4
  58. package/dist/base/structure.js +1 -1
  59. package/dist/base/table.js +1 -1
  60. package/dist/base/text-inputs.js +2 -2
  61. package/dist/base/toaster.js +36 -36
  62. package/dist/base/toaster.js.map +1 -1
  63. package/dist/base/tree.js +1 -1
  64. package/dist/base/upload-queue.js +1 -1
  65. package/dist/base/upload.js +3 -3
  66. package/dist/base/value-inputs.js +1 -1
  67. package/dist/{batch-action-bar-DnUJ21NQ.js → batch-action-bar-Cb8cuvyy.js} +6 -6
  68. package/dist/batch-action-bar-Cb8cuvyy.js.map +1 -0
  69. package/dist/blocks/admin.js +23 -23
  70. package/dist/blocks/admin.js.map +1 -1
  71. package/dist/blocks/ai.js +230 -216
  72. package/dist/blocks/ai.js.map +1 -1
  73. package/dist/blocks/analytics/usage-card.js +1 -1
  74. package/dist/blocks/analytics.js +326 -307
  75. package/dist/blocks/analytics.js.map +1 -1
  76. package/dist/blocks/collaboration.js +1 -1
  77. package/dist/blocks/commerce/receipt.js +1 -1
  78. package/dist/blocks/commerce.js +1247 -1169
  79. package/dist/blocks/commerce.js.map +1 -1
  80. package/dist/blocks/data-display.js +2 -2
  81. package/dist/blocks/onboarding.js +6 -6
  82. package/dist/blocks/onboarding.js.map +1 -1
  83. package/dist/blocks/planning.js +11 -11
  84. package/dist/blocks/timelines.js +1 -1
  85. package/dist/{breadcrumbs-C-oqs1sQ.js → breadcrumbs-J-K2kl4c.js} +6 -6
  86. package/dist/{breadcrumbs-C-oqs1sQ.js.map → breadcrumbs-J-K2kl4c.js.map} +1 -1
  87. package/dist/{button-DVzspB_G.js → button-S2Cubiiz.js} +3 -3
  88. package/dist/button-S2Cubiiz.js.map +1 -0
  89. package/dist/{buttons-DPZekJFu.js → buttons-BedGfygC.js} +16 -16
  90. package/dist/buttons-BedGfygC.js.map +1 -0
  91. package/dist/cards-rNX1M4Xn.js +69 -0
  92. package/dist/cards-rNX1M4Xn.js.map +1 -0
  93. package/dist/cascader-B1MiqkBq.js +439 -0
  94. package/dist/cascader-B1MiqkBq.js.map +1 -0
  95. package/dist/chart-Darg_0Kv.js +162 -0
  96. package/dist/chart-Darg_0Kv.js.map +1 -0
  97. package/dist/{checkbox-AWIhNhmo.js → checkbox-fflqmODR.js} +9 -5
  98. package/dist/checkbox-fflqmODR.js.map +1 -0
  99. package/dist/choice-inputs-zUgBZfE4.js +777 -0
  100. package/dist/choice-inputs-zUgBZfE4.js.map +1 -0
  101. package/dist/{code-block-DeneBJR_.js → code-block-BzmM9Eig.js} +9 -9
  102. package/dist/code-block-BzmM9Eig.js.map +1 -0
  103. package/dist/{collapsible-C-_l4hpy.js → collapsible-BkAI_XD4.js} +5 -5
  104. package/dist/{collapsible-C-_l4hpy.js.map → collapsible-BkAI_XD4.js.map} +1 -1
  105. package/dist/{collection-content-By56pLog.js → collection-content-gDh1v6O4.js} +3 -3
  106. package/dist/{collection-content-By56pLog.js.map → collection-content-gDh1v6O4.js.map} +1 -1
  107. package/dist/combobox-BEx0vJgF.js +362 -0
  108. package/dist/combobox-BEx0vJgF.js.map +1 -0
  109. package/dist/{combobox-Dxo2fAYQ.js → combobox-BwzoXFSG.js} +254 -247
  110. package/dist/combobox-BwzoXFSG.js.map +1 -0
  111. package/dist/{command-C25VMRII.js → command-CrlPIL6m.js} +12 -12
  112. package/dist/command-CrlPIL6m.js.map +1 -0
  113. package/dist/{comments-DD0DUPwJ.js → comments-Dmpp0YIc.js} +380 -379
  114. package/dist/comments-Dmpp0YIc.js.map +1 -0
  115. package/dist/components/base/action-menu/action-menu.d.ts +9 -1
  116. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  117. package/dist/components/base/cards/card.recipes.d.ts +16 -7
  118. package/dist/components/base/cards/partials/card-primitives.d.ts +9 -2
  119. package/dist/components/base/cards/partials/smart-card-header-row.d.ts +3 -1
  120. package/dist/components/base/cards/smart-card.types.d.ts +11 -7
  121. package/dist/components/base/cascader/cascader-panel.d.ts +76 -0
  122. package/dist/components/base/chart/chart.d.ts +6 -1
  123. package/dist/components/base/choice-inputs/checkbox.d.ts +7 -2
  124. package/dist/components/base/choice-inputs/choice-types.d.ts +1 -1
  125. package/dist/components/base/choice-inputs/switch-card.d.ts +7 -0
  126. package/dist/components/base/choice-inputs/toggle-field.d.ts +7 -0
  127. package/dist/components/base/combobox/index.d.ts +4 -2
  128. package/dist/components/base/date-pickers/datepicker.types.d.ts +7 -0
  129. package/dist/components/base/feedback/alert.d.ts +1 -1
  130. package/dist/components/base/forms/controlled-form-field.d.ts +6 -6
  131. package/dist/components/base/forms/form-field.d.ts +5 -3
  132. package/dist/components/base/forms/form-sizing.d.ts +7 -7
  133. package/dist/components/base/forms/index.d.ts +1 -0
  134. package/dist/components/base/forms/server-errors.d.ts +16 -0
  135. package/dist/components/base/forms/workflow.d.ts +11 -2
  136. package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -0
  137. package/dist/components/base/metadata-list/metadata-list.d.ts +3 -1
  138. package/dist/components/base/navigation/dropdown-menu.d.ts +1 -1
  139. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +14 -7
  140. package/dist/components/base/navigation/page-header/page-header.d.ts +13 -4
  141. package/dist/components/base/popover/popover.d.ts +3 -3
  142. package/dist/components/base/popover/popover.recipes.d.ts +10 -6
  143. package/dist/components/base/sheet/sheet.d.ts +2 -0
  144. package/dist/components/base/sidebar/index.d.ts +1 -1
  145. package/dist/components/base/sidebar/sidebar.d.ts +27 -5
  146. package/dist/components/base/structure/composition.recipes.d.ts +17 -0
  147. package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +7 -2
  148. package/dist/components/base/text-inputs/input.d.ts +4 -2
  149. package/dist/components/base/text-inputs/textarea.d.ts +4 -2
  150. package/dist/components/base/toaster/index.d.ts +1 -0
  151. package/dist/components/base/value-inputs/date-time-input.d.ts +2 -1
  152. package/dist/components/base/value-inputs/slider.d.ts +5 -1
  153. package/dist/components/base/value-inputs/tags-input.d.ts +5 -1
  154. package/dist/components/blocks/ai/ai-file-tree/types.d.ts +1 -1
  155. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +3 -1
  156. package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
  157. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
  158. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
  159. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +1 -1
  160. package/dist/components/blocks/commerce/cart-summary/types.d.ts +3 -1
  161. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +1 -1
  162. package/dist/components/blocks/commerce/discount-stack/types.d.ts +3 -1
  163. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
  164. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +11 -2
  165. package/dist/components/blocks/commerce/index.d.ts +7 -6
  166. package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +1 -1
  167. package/dist/components/blocks/commerce/inventory-section/types.d.ts +7 -2
  168. package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -1
  169. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  170. package/dist/components/blocks/commerce/invoice-header/types.d.ts +20 -6
  171. package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +1 -1
  172. package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +24 -7
  173. package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -1
  174. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +7 -1
  175. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +1 -1
  176. package/dist/components/blocks/commerce/order-customer/types.d.ts +9 -1
  177. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +1 -1
  178. package/dist/components/blocks/commerce/refund-status/types.d.ts +3 -1
  179. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  180. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +3 -1
  181. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  182. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +3 -1
  183. package/dist/components/features/activities/activities.types.d.ts +8 -2
  184. package/dist/components/features/activities/partials/activity-marker.d.ts +7 -3
  185. package/dist/components/features/activities/partials/activity-row.d.ts +24 -0
  186. package/dist/components/features/event-calendar/colors.d.ts +2 -2
  187. package/dist/components/features/event-calendar/event-calendar.types.d.ts +4 -0
  188. package/dist/components/features/filters/facets/select-facet.d.ts +2 -1
  189. package/dist/components/features/filters/filters.strings.d.ts +4 -0
  190. package/dist/components/features/filters/filters.types.d.ts +3 -0
  191. package/dist/components/features/filters/partials/filter-editor-header.d.ts +16 -0
  192. package/dist/components/features/filters/partials/filter-popover-content.d.ts +1 -1
  193. package/dist/components/features/filters/partials/nested-filter-options.d.ts +21 -0
  194. package/dist/components/features/filters/partials/regular-filter-content.d.ts +2 -1
  195. package/dist/components/features/filters/utils/filter-utils.d.ts +21 -3
  196. package/dist/components/features/global-search/global-search.types.d.ts +2 -0
  197. package/dist/components/features/global-search/partials/global-search-input.d.ts +10 -0
  198. package/dist/components/features/global-search/partials/global-search-result-row.d.ts +7 -1
  199. package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
  200. package/dist/components/features/media-library/media-library.types.d.ts +14 -4
  201. package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
  202. package/dist/components/features/products/components/product-options-matrix.d.ts +1 -1
  203. package/dist/components/features/products/components/product-variant-editor.d.ts +1 -1
  204. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  205. package/dist/components/features/products/products.strings.d.ts +9 -1
  206. package/dist/components/features/products/products.types.d.ts +43 -6
  207. package/dist/components/features/resource/resource.d.ts +5 -1
  208. package/dist/components/features/resource/resource.types.d.ts +12 -1
  209. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +1 -1
  210. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +12 -2
  211. package/dist/components/features/table/partials/resource-cell.d.ts +22 -5
  212. package/dist/components/features/table/table.types.d.ts +1 -1
  213. package/dist/components/layout/app-shell/app-shell.types.d.ts +35 -6
  214. package/dist/components/layout/app-shell/index.d.ts +1 -1
  215. package/dist/components/layout/app-shell/shell-regions.d.ts +27 -0
  216. package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
  217. package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
  218. package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
  219. package/dist/components/layout/containers/two-column-layout.d.ts +2 -0
  220. package/dist/components/layout/header/header.recipes.d.ts +6 -0
  221. package/dist/components/layout/header/header.types.d.ts +6 -6
  222. package/dist/components/layout/navigation/section-nav/section-nav.d.ts +5 -0
  223. package/dist/components/layout/page/index.d.ts +2 -1
  224. package/dist/components/layout/page/page.d.ts +1 -0
  225. package/dist/components/layout/page/page.strings.d.ts +11 -0
  226. package/dist/components/layout/page/page.types.d.ts +69 -17
  227. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  228. package/dist/components/layout/settings/settings.d.ts +9 -2
  229. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  230. package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
  231. package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
  232. package/dist/components/layout/sidebar/index.d.ts +2 -1
  233. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +36 -0
  234. package/dist/components/layout/sidebar/sidebar.context.d.ts +5 -7
  235. package/dist/components/layout/sidebar/sidebar.types.d.ts +48 -10
  236. package/dist/components/layout/sidebar/sidebar.utils.d.ts +9 -1
  237. package/dist/components/layout/workspace/workspace.types.d.ts +8 -1
  238. package/dist/components/typography/text.styles.d.ts +26 -1
  239. package/dist/components/ui/alert-dialog.d.ts +2 -2
  240. package/dist/components/ui/combobox.d.ts +1 -1
  241. package/dist/components/ui/dialog.d.ts +2 -2
  242. package/dist/components/ui/overlay-layer.d.ts +18 -0
  243. package/dist/components/ui/sheet.d.ts +5 -1
  244. package/dist/components/ui/sidebar-state.d.ts +82 -0
  245. package/dist/components/ui/sidebar.d.ts +5 -17
  246. package/dist/composition.recipes-COdiFhxB.js +19 -0
  247. package/dist/composition.recipes-COdiFhxB.js.map +1 -0
  248. package/dist/containers-CIxwbZt5.js +112 -0
  249. package/dist/containers-CIxwbZt5.js.map +1 -0
  250. package/dist/{control-group-recipes-DBXmfh2E.js → control-group-recipes-fMuFo0H7.js} +6 -6
  251. package/dist/control-group-recipes-fMuFo0H7.js.map +1 -0
  252. package/dist/{copyable-ClBuk_UK.js → copyable-DIznBqiT.js} +7 -7
  253. package/dist/{copyable-ClBuk_UK.js.map → copyable-DIznBqiT.js.map} +1 -1
  254. package/dist/{data-display-DT_khPl_.js → data-display-BdgCAw8T.js} +277 -285
  255. package/dist/data-display-BdgCAw8T.js.map +1 -0
  256. package/dist/{date-DCrsDTZc.js → date-Cq8ioE4o.js} +5 -5
  257. package/dist/{date-DCrsDTZc.js.map → date-Cq8ioE4o.js.map} +1 -1
  258. package/dist/{date-picker-B2K3ucWn.js → date-picker-RlIzKom_.js} +501 -480
  259. package/dist/date-picker-RlIzKom_.js.map +1 -0
  260. package/dist/date-pickers-DY-CpXS1.js +179 -0
  261. package/dist/date-pickers-DY-CpXS1.js.map +1 -0
  262. package/dist/{display-hAc1HjpI.js → display-KsZLw9Ov.js} +9 -9
  263. package/dist/{display-hAc1HjpI.js.map → display-KsZLw9Ov.js.map} +1 -1
  264. package/dist/dropdown-menu-CLs8Lihj.js +194 -0
  265. package/dist/dropdown-menu-CLs8Lihj.js.map +1 -0
  266. package/dist/features/activities.js +302 -253
  267. package/dist/features/activities.js.map +1 -1
  268. package/dist/features/ai-chat.js +15 -14
  269. package/dist/features/ai-chat.js.map +1 -1
  270. package/dist/features/appointment-calendar.js +222 -220
  271. package/dist/features/appointment-calendar.js.map +1 -1
  272. package/dist/features/async-preview.js +11 -10
  273. package/dist/features/async-preview.js.map +1 -1
  274. package/dist/features/combobox.js +1 -1
  275. package/dist/features/comments.js +1 -1
  276. package/dist/features/data-view.js +13 -13
  277. package/dist/features/data-view.js.map +1 -1
  278. package/dist/features/email-composer.js +249 -249
  279. package/dist/features/email-composer.js.map +1 -1
  280. package/dist/features/event-calendar.js +264 -269
  281. package/dist/features/event-calendar.js.map +1 -1
  282. package/dist/features/filters.js +1 -1
  283. package/dist/features/global-search.js +167 -138
  284. package/dist/features/global-search.js.map +1 -1
  285. package/dist/features/kanban.js +6 -7
  286. package/dist/features/kanban.js.map +1 -1
  287. package/dist/features/map.js +269 -260
  288. package/dist/features/map.js.map +1 -1
  289. package/dist/features/media-library.js +827 -777
  290. package/dist/features/media-library.js.map +1 -1
  291. package/dist/features/mentions.js +1 -1
  292. package/dist/features/overlays.js +1 -1
  293. package/dist/features/products.js +1246 -1169
  294. package/dist/features/products.js.map +1 -1
  295. package/dist/features/questionnaire.js +13 -13
  296. package/dist/features/questionnaire.js.map +1 -1
  297. package/dist/features/resource-assignment.js +8 -8
  298. package/dist/features/resource.js +127 -123
  299. package/dist/features/resource.js.map +1 -1
  300. package/dist/features/rich-text-editor.js +2 -2
  301. package/dist/features/schema-form.js +254 -253
  302. package/dist/features/schema-form.js.map +1 -1
  303. package/dist/features/suggestions.js +3 -3
  304. package/dist/features/sync.js +3 -3
  305. package/dist/features/table.js +1 -1
  306. package/dist/features/theme-tweaker.js +95 -96
  307. package/dist/features/theme-tweaker.js.map +1 -1
  308. package/dist/{feedback-BYIhtitP.js → feedback-Dm4izqFn.js} +81 -80
  309. package/dist/feedback-Dm4izqFn.js.map +1 -0
  310. package/dist/{field-affordance-recipes-DZhnIL_Y.js → field-affordance-recipes-DWcNcOjh.js} +4 -4
  311. package/dist/field-affordance-recipes-DWcNcOjh.js.map +1 -0
  312. package/dist/{filters-DJVAveHA.js → filters-DzgSJpMK.js} +693 -645
  313. package/dist/filters-DzgSJpMK.js.map +1 -0
  314. package/dist/{form-field-CwH9y77i.js → form-field-BriWAXyg.js} +14 -8
  315. package/dist/form-field-BriWAXyg.js.map +1 -0
  316. package/dist/{form-sizing-BdP_Mf5p.js → form-sizing-Bs2qFUeE.js} +4 -4
  317. package/dist/form-sizing-Bs2qFUeE.js.map +1 -0
  318. package/dist/forms-C0RGnJTe.js +216 -0
  319. package/dist/forms-C0RGnJTe.js.map +1 -0
  320. package/dist/{forms-numeric-B_jraJaQ.js → forms-numeric-DIhghX1Q.js} +295 -291
  321. package/dist/forms-numeric-DIhghX1Q.js.map +1 -0
  322. package/dist/{header-BSfIEWbI.js → header-DMMxG__r.js} +67 -63
  323. package/dist/header-DMMxG__r.js.map +1 -0
  324. package/dist/header.recipes-BigdJjw1.js +6 -0
  325. package/dist/header.recipes-BigdJjw1.js.map +1 -0
  326. package/dist/hooks/useFormErrors.d.ts +1 -1
  327. package/dist/{hooks-ClH9thn4.js → hooks-DB6CJ4MR.js} +26 -14
  328. package/dist/hooks-DB6CJ4MR.js.map +1 -0
  329. package/dist/{icon-badge-DYKIwvOV.js → icon-badge-DZF-YjQp.js} +4 -4
  330. package/dist/{icon-badge-DYKIwvOV.js.map → icon-badge-DZF-YjQp.js.map} +1 -1
  331. package/dist/index.js +4 -5
  332. package/dist/input-CvyDQlY7.js +289 -0
  333. package/dist/input-CvyDQlY7.js.map +1 -0
  334. package/dist/input-DMBwAZmr.js +21 -0
  335. package/dist/input-DMBwAZmr.js.map +1 -0
  336. package/dist/item-DjCcM18E.js +277 -0
  337. package/dist/item-DjCcM18E.js.map +1 -0
  338. package/dist/layout/app-shell.js +1 -1
  339. package/dist/layout/auth.js +1 -1
  340. package/dist/layout/containers.js +1 -1
  341. package/dist/layout/header.js +1 -1
  342. package/dist/layout/hooks.js +1 -1
  343. package/dist/layout/navigation.js +1 -1
  344. package/dist/layout/page.js +2 -2
  345. package/dist/layout/settings.js +1 -1
  346. package/dist/layout/sidebar.js +3 -3
  347. package/dist/layout/workspace.js +1 -1
  348. package/dist/layout.js +11 -11
  349. package/dist/lib/affordance-geometry.generated.d.ts +41 -35
  350. package/dist/lib/control-group-recipes.d.ts +5 -5
  351. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  352. package/dist/lib/motion-recipes.d.ts +3 -0
  353. package/dist/lib/navigation-row-recipes.d.ts +7 -7
  354. package/dist/lib/overlay-anatomy-recipes.d.ts +3 -3
  355. package/dist/lib/portal-recipes.d.ts +3 -0
  356. package/dist/lib/token-merge.generated.d.ts +13 -10
  357. package/dist/lib/ui-provider/types.d.ts +1 -1
  358. package/dist/lib/utils.js +1 -1
  359. package/dist/map-demo-tile.svg +1 -1
  360. package/dist/{media-gallery-3zIVLMWH.js → media-gallery-C-vChPmE.js} +6 -6
  361. package/dist/{media-gallery-3zIVLMWH.js.map → media-gallery-C-vChPmE.js.map} +1 -1
  362. package/dist/{mentions-CGlEJ15c.js → mentions-0_4nWuI-.js} +10 -10
  363. package/dist/{mentions-CGlEJ15c.js.map → mentions-0_4nWuI-.js.map} +1 -1
  364. package/dist/{message-DZ_ruyUV.js → message-g8p7eVtN.js} +7 -7
  365. package/dist/message-g8p7eVtN.js.map +1 -0
  366. package/dist/metadata-list-C3MkU-Om.js +443 -0
  367. package/dist/metadata-list-C3MkU-Om.js.map +1 -0
  368. package/dist/{motion-recipes-ChBg4HBq.js → motion-recipes-DitYv6P2.js} +10 -2
  369. package/dist/motion-recipes-DitYv6P2.js.map +1 -0
  370. package/dist/navigation-C90-oQFq.js +255 -0
  371. package/dist/navigation-C90-oQFq.js.map +1 -0
  372. package/dist/{navigation-BzhHI3lo.js → navigation-DaRjthVk.js} +101 -82
  373. package/dist/navigation-DaRjthVk.js.map +1 -0
  374. package/dist/{navigation-row-recipes-BFLCk_Aq.js → navigation-row-recipes-BGVLvU_O.js} +9 -9
  375. package/dist/navigation-row-recipes-BGVLvU_O.js.map +1 -0
  376. package/dist/{number-DbV1Dija.js → number-CRU3kGuk.js} +5 -5
  377. package/dist/{number-DbV1Dija.js.map → number-CRU3kGuk.js.map} +1 -1
  378. package/dist/overflow-tab-bar-IVFVQFV6.js +172 -0
  379. package/dist/overflow-tab-bar-IVFVQFV6.js.map +1 -0
  380. package/dist/overlays-BSgCtM2v.js +1013 -0
  381. package/dist/overlays-BSgCtM2v.js.map +1 -0
  382. package/dist/page-DUUKDAjo.js +331 -0
  383. package/dist/page-DUUKDAjo.js.map +1 -0
  384. package/dist/page-header-commands-7P3sfE9u.js +193 -0
  385. package/dist/page-header-commands-7P3sfE9u.js.map +1 -0
  386. package/dist/{pagination-BL25hu2s.js → pagination-CgCjElfu.js} +7 -7
  387. package/dist/{pagination-BL25hu2s.js.map → pagination-CgCjElfu.js.map} +1 -1
  388. package/dist/popover-B85RenIl.js +201 -0
  389. package/dist/popover-B85RenIl.js.map +1 -0
  390. package/dist/{popover-menu-Cn9rUkdc.js → popover-menu-DlnQ2zlR.js} +7 -7
  391. package/dist/{popover-menu-Cn9rUkdc.js.map → popover-menu-DlnQ2zlR.js.map} +1 -1
  392. package/dist/{popover.recipes-D3j8R8Yp.js → popover.recipes-DdiEp0rd.js} +18 -11
  393. package/dist/popover.recipes-DdiEp0rd.js.map +1 -0
  394. package/dist/portal-recipes-BpsV_iRw.js +9 -0
  395. package/dist/portal-recipes-BpsV_iRw.js.map +1 -0
  396. package/dist/{primitives-BFK08r9M.js → primitives-ByWgGUgt.js} +6 -6
  397. package/dist/{primitives-BFK08r9M.js.map → primitives-ByWgGUgt.js.map} +1 -1
  398. package/dist/primitives.js +4 -4
  399. package/dist/{progress-B1VnCT0K.js → progress-BJhQP9WX.js} +9 -9
  400. package/dist/{progress-B1VnCT0K.js.map → progress-BJhQP9WX.js.map} +1 -1
  401. package/dist/{receipt-BVSOH3Xo.js → receipt-tOc7B3hw.js} +7 -7
  402. package/dist/receipt-tOc7B3hw.js.map +1 -0
  403. package/dist/{rich-text-GOUyKQ-s.js → rich-text-Dth5E882.js} +4 -4
  404. package/dist/{rich-text-GOUyKQ-s.js.map → rich-text-Dth5E882.js.map} +1 -1
  405. package/dist/{rich-text-editor-cRLC-eBK.js → rich-text-editor-C1fOjBTd.js} +429 -430
  406. package/dist/rich-text-editor-C1fOjBTd.js.map +1 -0
  407. package/dist/{rich-text-editor-toolbar-DfXg0-VC.js → rich-text-editor-toolbar-laT3tpBT.js} +33 -29
  408. package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +1 -0
  409. package/dist/{scroll-area-DcI-M1UT.js → scroll-area-B0dB2cBi.js} +2 -2
  410. package/dist/{scroll-area-DcI-M1UT.js.map → scroll-area-B0dB2cBi.js.map} +1 -1
  411. package/dist/{separator-Bom7NsGO.js → separator-Bb17I4pu.js} +2 -2
  412. package/dist/{separator-Bom7NsGO.js.map → separator-Bb17I4pu.js.map} +1 -1
  413. package/dist/{separator-BDV-Y648.js → separator-Ct_WSWTJ.js} +3 -3
  414. package/dist/{separator-BDV-Y648.js.map → separator-Ct_WSWTJ.js.map} +1 -1
  415. package/dist/services/actions.js +1 -1
  416. package/dist/settings-Bar5wiSo.js +167 -0
  417. package/dist/settings-Bar5wiSo.js.map +1 -0
  418. package/dist/sheet-BGPERY55.js +250 -0
  419. package/dist/sheet-BGPERY55.js.map +1 -0
  420. package/dist/sidebar-D-JYMMbY.js +686 -0
  421. package/dist/sidebar-D-JYMMbY.js.map +1 -0
  422. package/dist/sidebar-f9gRWXIR.js +1001 -0
  423. package/dist/sidebar-f9gRWXIR.js.map +1 -0
  424. package/dist/skeleton-BapcJd9C.js +265 -0
  425. package/dist/skeleton-BapcJd9C.js.map +1 -0
  426. package/dist/smart-card-CW0hjetE.js +617 -0
  427. package/dist/smart-card-CW0hjetE.js.map +1 -0
  428. package/dist/{structure-BmisBK-3.js → structure-DuxKl954.js} +3 -3
  429. package/dist/{structure-BmisBK-3.js.map → structure-DuxKl954.js.map} +1 -1
  430. package/dist/{structure.recipes-EPz60cU8.js → structure.recipes-BB4-n58V.js} +2 -2
  431. package/dist/{structure.recipes-EPz60cU8.js.map → structure.recipes-BB4-n58V.js.map} +1 -1
  432. package/dist/style.css +1 -1
  433. package/dist/{table-DsfzoUia.js → table-B4TE7iOV.js} +3 -3
  434. package/dist/{table-DsfzoUia.js.map → table-B4TE7iOV.js.map} +1 -1
  435. package/dist/{table-BweFy_P9.js → table-CFOWY9pQ.js} +394 -388
  436. package/dist/table-CFOWY9pQ.js.map +1 -0
  437. package/dist/{tabs-CDocW5D1.js → tabs-e7ko9S2o.js} +11 -11
  438. package/dist/tabs-e7ko9S2o.js.map +1 -0
  439. package/dist/{text-inputs-f9Ia-aCi.js → text-inputs-B1culiSK.js} +107 -104
  440. package/dist/text-inputs-B1culiSK.js.map +1 -0
  441. package/dist/{text.styles-g4He6UIW.js → text.styles-B64My8RZ.js} +25 -10
  442. package/dist/text.styles-B64My8RZ.js.map +1 -0
  443. package/dist/theme.css +192 -149
  444. package/dist/{timelines-CwM_9IhD.js → timelines-D3Sl9ueq.js} +13 -12
  445. package/dist/timelines-D3Sl9ueq.js.map +1 -0
  446. package/dist/tooltip-8wz5S_Zr.js +113 -0
  447. package/dist/tooltip-8wz5S_Zr.js.map +1 -0
  448. package/dist/{tree-WnKQzwbq.js → tree-CzUJHnFs.js} +9 -9
  449. package/dist/{tree-WnKQzwbq.js.map → tree-CzUJHnFs.js.map} +1 -1
  450. package/dist/typography/rich-text.js +1 -1
  451. package/dist/typography-BQnine1k.js +117 -0
  452. package/dist/typography-BQnine1k.js.map +1 -0
  453. package/dist/typography.js +1 -1
  454. package/dist/ui-provider-C-74NVLc.js +178 -0
  455. package/dist/ui-provider-C-74NVLc.js.map +1 -0
  456. package/dist/ui-provider.js +2 -3
  457. package/dist/{upload-CXyxmQBP.js → upload-BOW6U2tI.js} +25 -24
  458. package/dist/upload-BOW6U2tI.js.map +1 -0
  459. package/dist/{upload-queue-Boscubn9.js → upload-queue-qUXn1ykN.js} +16 -14
  460. package/dist/upload-queue-qUXn1ykN.js.map +1 -0
  461. package/dist/{usage-card-BhO5eqkX.js → usage-card-BeSLY0i0.js} +145 -137
  462. package/dist/usage-card-BeSLY0i0.js.map +1 -0
  463. package/dist/{utils-BRhFDwuU.js → utils-B6kKb8jB.js} +303 -144
  464. package/dist/utils-B6kKb8jB.js.map +1 -0
  465. package/dist/value-inputs-skdVB2zh.js +980 -0
  466. package/dist/value-inputs-skdVB2zh.js.map +1 -0
  467. package/dist/{value-typography-BP8OG6h5.js → value-typography-uAmWUAL1.js} +2 -2
  468. package/dist/{value-typography-BP8OG6h5.js.map → value-typography-uAmWUAL1.js.map} +1 -1
  469. package/dist/workspace-DHeHv0qw.js +411 -0
  470. package/dist/workspace-DHeHv0qw.js.map +1 -0
  471. package/docs/consumer-skill/SKILL.md +15 -129
  472. package/docs/consumer-skill/agents/themelia-ui-designer.md +96 -0
  473. package/docs/consumer-skill/examples/app-layout.tsx +74 -13
  474. package/docs/consumer-skill/examples/authentication.tsx +77 -0
  475. package/docs/consumer-skill/examples/commerce-lines.tsx +271 -0
  476. package/docs/consumer-skill/examples/custom-composition.tsx +21 -0
  477. package/docs/consumer-skill/examples/detail.tsx +5 -4
  478. package/docs/consumer-skill/examples/edit.tsx +30 -38
  479. package/docs/consumer-skill/examples/editable-sections.tsx +38 -0
  480. package/docs/consumer-skill/examples/index-table.tsx +4 -4
  481. package/docs/consumer-skill/examples/manifest.json +88 -1
  482. package/docs/consumer-skill/examples/product-media.tsx +41 -0
  483. package/docs/consumer-skill/examples/product-parts.tsx +81 -0
  484. package/docs/consumer-skill/examples/rhf-bindings.tsx +86 -0
  485. package/docs/consumer-skill/examples/rhf-edit-page.tsx +141 -0
  486. package/docs/consumer-skill/examples/rhf-overlay-form.tsx +105 -0
  487. package/docs/consumer-skill/examples/rhf-transport.tsx +28 -0
  488. package/docs/consumer-skill/examples/token-domain-structure.tsx +68 -0
  489. package/docs/consumer-skill/references/agents-md.md +23 -11
  490. package/docs/consumer-skill/references/analytics.md +18 -1
  491. package/docs/consumer-skill/references/authentication.md +42 -0
  492. package/docs/consumer-skill/references/commerce-composition.md +97 -0
  493. package/docs/consumer-skill/references/component-contracts.json +325201 -0
  494. package/docs/consumer-skill/references/composition-mapping.md +106 -0
  495. package/docs/consumer-skill/references/composition.md +198 -46
  496. package/docs/consumer-skill/references/critique-rubric.md +98 -0
  497. package/docs/consumer-skill/references/custom-composition.md +261 -0
  498. package/docs/consumer-skill/references/data-reading.md +79 -0
  499. package/docs/consumer-skill/references/design-contract.md +43 -9
  500. package/docs/consumer-skill/references/discovery.md +109 -8
  501. package/docs/consumer-skill/references/domain-structures.md +124 -0
  502. package/docs/consumer-skill/references/installation.md +51 -36
  503. package/docs/consumer-skill/references/integration.md +41 -2
  504. package/docs/consumer-skill/references/product-composition.md +94 -0
  505. package/docs/consumer-skill/references/public-api.json +4390 -475
  506. package/docs/consumer-skill/references/review.md +47 -5
  507. package/docs/consumer-skill/references/rhf-workflows.md +93 -0
  508. package/docs/consumer-skill/references/screen-archetypes.md +34 -0
  509. package/docs/consumer-skill/references/screen-decisions.md +126 -0
  510. package/docs/consumer-skill/references/theming.md +25 -27
  511. package/docs/consumer-skill/references/tokens.json +20 -11
  512. package/docs/consumer-skill/references/view-craft.md +153 -0
  513. package/docs/consumer-skill/references/view-spec.md +73 -0
  514. package/docs/consumer-skill/references/workflows.md +9 -2
  515. package/docs/consumer-skill/scripts/composition-policy.mjs +39 -3
  516. package/docs/consumer-skill/scripts/composition-schema.d.mts +2 -0
  517. package/docs/consumer-skill/scripts/composition-schema.mjs +32 -0
  518. package/docs/consumer-skill/scripts/composition.mjs +254 -0
  519. package/docs/consumer-skill/scripts/discovery.mjs +96 -10
  520. package/docs/consumer-skill/scripts/inspect-component.mjs +11 -0
  521. package/docs/consumer-skill/scripts/inspect-tokens.mjs +11 -0
  522. package/docs/consumer-skill/scripts/inspection.mjs +193 -0
  523. package/docs/consumer-skill/scripts/map-composition.mjs +12 -0
  524. package/docs/consumer-skill/scripts/setup-skills.mjs +111 -0
  525. package/docs/consumer-skill/scripts/surface-policy.mjs +5 -5
  526. package/docs/consumer-skills/themelia-components/SKILL.md +31 -0
  527. package/docs/consumer-skills/themelia-composition/SKILL.md +34 -0
  528. package/docs/consumer-skills/themelia-design/SKILL.md +55 -0
  529. package/docs/consumer-skills/themelia-forms/SKILL.md +12 -0
  530. package/docs/consumer-skills/themelia-foundation/SKILL.md +15 -0
  531. package/docs/consumer-skills/themelia-tokenization/SKILL.md +42 -0
  532. package/package.json +4 -2
  533. package/templates/README.md +39 -0
  534. package/templates/admin-shell-template.tsx +382 -0
  535. package/templates/analytics-operations-template.tsx +376 -0
  536. package/templates/customers-template.tsx +509 -0
  537. package/templates/index.ts +29 -0
  538. package/templates/orders-template.tsx +1102 -0
  539. package/templates/products-template.tsx +834 -0
  540. package/templates/user-permissions-template.tsx +450 -0
  541. package/dist/accordion-Cjb6sx0G.js.map +0 -1
  542. package/dist/action-menu-CllU52Mm.js +0 -280
  543. package/dist/action-menu-CllU52Mm.js.map +0 -1
  544. package/dist/affordance-geometry.generated-tF36bREk.js.map +0 -1
  545. package/dist/ai-artifact-DvTwDVyL.js.map +0 -1
  546. package/dist/app-shell-C4FhvCqF.js +0 -236
  547. package/dist/app-shell-C4FhvCqF.js.map +0 -1
  548. package/dist/auth-BGua8ouh.js.map +0 -1
  549. package/dist/avatar-DAPlDvhJ.js.map +0 -1
  550. package/dist/base/cascader.js.map +0 -1
  551. package/dist/batch-action-bar-DnUJ21NQ.js.map +0 -1
  552. package/dist/button-DVzspB_G.js.map +0 -1
  553. package/dist/buttons-DPZekJFu.js.map +0 -1
  554. package/dist/cards-BaBZR-AU.js +0 -68
  555. package/dist/cards-BaBZR-AU.js.map +0 -1
  556. package/dist/chart-ZOYyK2xG.js +0 -155
  557. package/dist/chart-ZOYyK2xG.js.map +0 -1
  558. package/dist/checkbox-AWIhNhmo.js.map +0 -1
  559. package/dist/choice-inputs-CNHvARCJ.js +0 -770
  560. package/dist/choice-inputs-CNHvARCJ.js.map +0 -1
  561. package/dist/code-block-DeneBJR_.js.map +0 -1
  562. package/dist/combobox-DaHESuiL.js +0 -355
  563. package/dist/combobox-DaHESuiL.js.map +0 -1
  564. package/dist/combobox-Dxo2fAYQ.js.map +0 -1
  565. package/dist/command-C25VMRII.js.map +0 -1
  566. package/dist/comments-DD0DUPwJ.js.map +0 -1
  567. package/dist/containers-Mu1LMGV1.js +0 -103
  568. package/dist/containers-Mu1LMGV1.js.map +0 -1
  569. package/dist/control-group-recipes-DBXmfh2E.js.map +0 -1
  570. package/dist/data-display-DT_khPl_.js.map +0 -1
  571. package/dist/date-picker-B2K3ucWn.js.map +0 -1
  572. package/dist/date-pickers-Ds8gLaoP.js +0 -175
  573. package/dist/date-pickers-Ds8gLaoP.js.map +0 -1
  574. package/dist/dropdown-menu-Cl4X7L5S.js +0 -193
  575. package/dist/dropdown-menu-Cl4X7L5S.js.map +0 -1
  576. package/dist/feedback-BYIhtitP.js.map +0 -1
  577. package/dist/field-affordance-recipes-DZhnIL_Y.js.map +0 -1
  578. package/dist/filters-DJVAveHA.js.map +0 -1
  579. package/dist/form-field-CwH9y77i.js.map +0 -1
  580. package/dist/form-sizing-BdP_Mf5p.js.map +0 -1
  581. package/dist/forms-B9G_xwzi.js +0 -194
  582. package/dist/forms-B9G_xwzi.js.map +0 -1
  583. package/dist/forms-numeric-B_jraJaQ.js.map +0 -1
  584. package/dist/header-BSfIEWbI.js.map +0 -1
  585. package/dist/hooks-ClH9thn4.js.map +0 -1
  586. package/dist/input-CZw8iU99.js +0 -21
  587. package/dist/input-CZw8iU99.js.map +0 -1
  588. package/dist/input-DQdEd0YD.js +0 -263
  589. package/dist/input-DQdEd0YD.js.map +0 -1
  590. package/dist/item-K5_ghvze.js +0 -275
  591. package/dist/item-K5_ghvze.js.map +0 -1
  592. package/dist/message-DZ_ruyUV.js.map +0 -1
  593. package/dist/metadata-list-8N16ZMW_.js +0 -405
  594. package/dist/metadata-list-8N16ZMW_.js.map +0 -1
  595. package/dist/motion-recipes-ChBg4HBq.js.map +0 -1
  596. package/dist/navigation-Bnotn4AQ.js +0 -145
  597. package/dist/navigation-Bnotn4AQ.js.map +0 -1
  598. package/dist/navigation-BzhHI3lo.js.map +0 -1
  599. package/dist/navigation-row-recipes-BFLCk_Aq.js.map +0 -1
  600. package/dist/overflow-tab-bar-CWY7Nogn.js +0 -282
  601. package/dist/overflow-tab-bar-CWY7Nogn.js.map +0 -1
  602. package/dist/overlays-tMkF-VAN.js +0 -1003
  603. package/dist/overlays-tMkF-VAN.js.map +0 -1
  604. package/dist/page-CL9YeH_V.js +0 -224
  605. package/dist/page-CL9YeH_V.js.map +0 -1
  606. package/dist/page-header-commands-DOb6WsfD.js +0 -126
  607. package/dist/page-header-commands-DOb6WsfD.js.map +0 -1
  608. package/dist/popover-gnTOhbFM.js +0 -198
  609. package/dist/popover-gnTOhbFM.js.map +0 -1
  610. package/dist/popover.recipes-D3j8R8Yp.js.map +0 -1
  611. package/dist/receipt-BVSOH3Xo.js.map +0 -1
  612. package/dist/rich-text-editor-cRLC-eBK.js.map +0 -1
  613. package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +0 -1
  614. package/dist/settings-ybnjVwbd.js +0 -171
  615. package/dist/settings-ybnjVwbd.js.map +0 -1
  616. package/dist/sheet-ijlsjq-n.js +0 -213
  617. package/dist/sheet-ijlsjq-n.js.map +0 -1
  618. package/dist/sidebar-Db6gkh3U.js +0 -619
  619. package/dist/sidebar-Db6gkh3U.js.map +0 -1
  620. package/dist/sidebar-DkTO4VTO.js +0 -512
  621. package/dist/sidebar-DkTO4VTO.js.map +0 -1
  622. package/dist/skeleton-Byjnt7qr.js +0 -264
  623. package/dist/skeleton-Byjnt7qr.js.map +0 -1
  624. package/dist/smart-card-DiC5aac3.js +0 -604
  625. package/dist/smart-card-DiC5aac3.js.map +0 -1
  626. package/dist/table-BweFy_P9.js.map +0 -1
  627. package/dist/tabs-CDocW5D1.js.map +0 -1
  628. package/dist/text-inputs-f9Ia-aCi.js.map +0 -1
  629. package/dist/text.styles-g4He6UIW.js.map +0 -1
  630. package/dist/theme-scope-BJ6eE2xt.js +0 -50
  631. package/dist/theme-scope-BJ6eE2xt.js.map +0 -1
  632. package/dist/timelines-CwM_9IhD.js.map +0 -1
  633. package/dist/tooltip-yiRJUFjp.js +0 -111
  634. package/dist/tooltip-yiRJUFjp.js.map +0 -1
  635. package/dist/typography-UTnveOEy.js +0 -117
  636. package/dist/typography-UTnveOEy.js.map +0 -1
  637. package/dist/ui-provider-C_U0Xma4.js +0 -136
  638. package/dist/ui-provider-C_U0Xma4.js.map +0 -1
  639. package/dist/upload-CXyxmQBP.js.map +0 -1
  640. package/dist/upload-queue-Boscubn9.js.map +0 -1
  641. package/dist/usage-card-BhO5eqkX.js.map +0 -1
  642. package/dist/use-mobile-vaLKwgyf.js +0 -15
  643. package/dist/use-mobile-vaLKwgyf.js.map +0 -1
  644. package/dist/utils-BRhFDwuU.js.map +0 -1
  645. package/dist/value-inputs-TaX4OjNk.js +0 -963
  646. package/dist/value-inputs-TaX4OjNk.js.map +0 -1
  647. package/dist/workspace-B-OEm3Kf.js +0 -408
  648. package/dist/workspace-B-OEm3Kf.js.map +0 -1
@@ -1,27 +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-BRhFDwuU.js";
4
- import { n as r } from "./buttons-DPZekJFu.js";
5
- import { c as i, o as a, t as o } from "./typography-UTnveOEy.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";
6
6
  import { t as s } from "./focus-recipes-B653VaLq.js";
7
- import { t as c } from "./structure-BmisBK-3.js";
7
+ import { t as c } from "./structure-DuxKl954.js";
8
8
  import { i as l } from "./tone-recipes-BPsRAvhu.js";
9
- import { t as u } from "./smart-card-DiC5aac3.js";
10
- import { t as d } from "./interaction-recipes-XR9ZpVYL.js";
11
- import { g as f, m as p, r as m } from "./primitives-BFK08r9M.js";
12
- import { t as h } from "./number-DbV1Dija.js";
13
- import { t as g } from "./icon-badge-DYKIwvOV.js";
14
- import { t as _ } from "./badge-HpFqoqSY.js";
15
- import { a as v, c as y, i as b, n as x, o as S, r as C, s as w, t as T } from "./attachment-BxDfL2mw.js";
16
- import { t as E } from "./message-DZ_ruyUV.js";
17
- import { t as D } from "./code-block-DeneBJR_.js";
18
- import { useEffect as O, useRef as k, useState as A } from "react";
19
- import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
20
- import { AlertCircle as P, Bot as F, Brain as ee, Check as I, ChevronDown as L, ChevronRight as R, Circle as te, Copy as ne, Download as re, ExternalLink as z, FileText as ie, Globe as ae, Loader2 as B, MinusCircle as oe, RotateCcw as se, User as ce, X as V, XCircle as le } from "lucide-react";
9
+ import { t as u } from "./smart-card-CW0hjetE.js";
10
+ import { n as d } from "./composition.recipes-COdiFhxB.js";
11
+ import { t as f } from "./interaction-recipes-XR9ZpVYL.js";
12
+ import { g as p, m, r as h } from "./primitives-ByWgGUgt.js";
13
+ import { t as g } from "./number-CRU3kGuk.js";
14
+ import { t as _ } from "./icon-badge-DZF-YjQp.js";
15
+ import { t as v } from "./badge-xIiV_E7f.js";
16
+ import { a as y, c as b, i as x, n as S, o as C, r as w, s as T, t as E } from "./attachment-Dg_69lPS.js";
17
+ import { t as D } from "./message-g8p7eVtN.js";
18
+ import { t as O } from "./code-block-BzmM9Eig.js";
19
+ import { useEffect as k, useRef as A, useState as j } from "react";
20
+ import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
21
+ import { AlertCircle as F, Bot as I, Brain as ee, Check as L, ChevronDown as R, ChevronRight as z, Circle as te, Copy as ne, Download as re, ExternalLink as ie, FileText as ae, Globe as oe, Loader2 as B, MinusCircle as se, RotateCcw as ce, User as le, X as V, XCircle as ue } from "lucide-react";
21
22
  //#region src/components/blocks/ai/use-copy-feedback.ts
22
23
  function H(e, t) {
23
- let [n, r] = A(!1), [i, a] = A(!1), o = k(!1), s = k(0), c = k(void 0);
24
- return O(() => (o.current = !0, r(!1), a(!1), () => {
24
+ let [n, r] = j(!1), [i, a] = j(!1), o = A(!1), s = A(0), c = A(void 0);
25
+ return k(() => (o.current = !0, r(!1), a(!1), () => {
25
26
  o.current = !1, s.current += 1, clearTimeout(c.current);
26
27
  }), [t]), {
27
28
  copied: n,
@@ -49,14 +50,14 @@ var U = {
49
50
  };
50
51
  //#endregion
51
52
  //#region src/components/blocks/ai/ai-message-bubble/ai-message-bubble.tsx
52
- function W({ role: e = "assistant", avatar: a, avatarLabel: o, authorName: s, timestamp: c, children: l, plainText: u, loading: d = !1, onCopy: f, onRegenerate: p, onCopyError: m, className: h, strings: _ }) {
53
- let v = t(U, _), y = u ?? (typeof l == "string" ? l : ""), { copied: b, failed: x, copy: S } = H(m, y), C = a ?? /* @__PURE__ */ M(g, {
54
- icon: e === "user" ? ce : F,
53
+ function W({ role: e = "assistant", avatar: a, avatarLabel: o, authorName: s, timestamp: c, children: l, plainText: u, loading: d = !1, onCopy: f, onRegenerate: p, onCopyError: m, className: h, strings: g }) {
54
+ let v = t(U, g), y = u ?? (typeof l == "string" ? l : ""), { copied: b, failed: x, copy: S } = H(m, y), C = a ?? /* @__PURE__ */ N(_, {
55
+ icon: e === "user" ? le : I,
55
56
  tone: "neutral",
56
57
  size: "sm",
57
58
  "aria-label": o
58
59
  }), w = (f !== void 0 || u || p) && e === "assistant";
59
- return /* @__PURE__ */ M(E, {
60
+ return /* @__PURE__ */ N(D, {
60
61
  align: e === "user" ? "end" : "start",
61
62
  tone: e === "user" ? "primary" : e === "system" ? "muted" : "surface",
62
63
  avatar: C,
@@ -65,8 +66,8 @@ function W({ role: e = "assistant", avatar: a, avatarLabel: o, authorName: s, ti
65
66
  loading: d,
66
67
  strings: { loading: v.loading },
67
68
  className: n("ai-message-bubble--component", h),
68
- actions: w ? /* @__PURE__ */ N(j, { children: [
69
- /* @__PURE__ */ M(r, {
69
+ actions: w ? /* @__PURE__ */ P(M, { children: [
70
+ /* @__PURE__ */ N(r, {
70
71
  type: "button",
71
72
  tone: "secondary",
72
73
  buttonStyle: "ghost",
@@ -77,17 +78,17 @@ function W({ role: e = "assistant", avatar: a, avatarLabel: o, authorName: s, ti
77
78
  onClick: async () => {
78
79
  y && await S(y) && f?.();
79
80
  },
80
- children: /* @__PURE__ */ M(ne, {
81
+ children: /* @__PURE__ */ N(ne, {
81
82
  "aria-hidden": "true",
82
83
  className: "size-icon-md"
83
84
  })
84
85
  }),
85
- b && /* @__PURE__ */ M(i, {
86
+ b && /* @__PURE__ */ N(i, {
86
87
  size: "xs",
87
88
  type: "success",
88
89
  children: v.copied
89
90
  }),
90
- p && /* @__PURE__ */ M(r, {
91
+ p && /* @__PURE__ */ N(r, {
91
92
  type: "button",
92
93
  tone: "secondary",
93
94
  buttonStyle: "ghost",
@@ -95,12 +96,12 @@ function W({ role: e = "assistant", avatar: a, avatarLabel: o, authorName: s, ti
95
96
  iconOnly: !0,
96
97
  "aria-label": v.regenerateAria,
97
98
  onClick: p,
98
- children: /* @__PURE__ */ M(se, {
99
+ children: /* @__PURE__ */ N(ce, {
99
100
  "aria-hidden": "true",
100
101
  className: "size-icon-md"
101
102
  })
102
103
  }),
103
- x && /* @__PURE__ */ M(i, {
104
+ x && /* @__PURE__ */ N(i, {
104
105
  role: "alert",
105
106
  size: "xs",
106
107
  type: "error",
@@ -122,8 +123,9 @@ var G = {
122
123
  collapse: "Hide details",
123
124
  args: "Arguments",
124
125
  result: "Result",
125
- durationLabel: "Took"
126
- }, ue = {
126
+ durationLabel: "Took",
127
+ elapsedLabel: "Elapsed"
128
+ }, de = {
127
129
  pending: { tone: "secondary" },
128
130
  running: {
129
131
  tone: "info",
@@ -132,13 +134,13 @@ var G = {
132
134
  success: { tone: "success" },
133
135
  error: { tone: "destructive" }
134
136
  };
135
- function de({ label: e, ms: t }) {
136
- return /* @__PURE__ */ N("span", {
137
+ function fe({ label: e, ms: t }) {
138
+ return /* @__PURE__ */ P("span", {
137
139
  className: "inline-flex shrink-0 items-baseline gap-space-xs",
138
- children: [/* @__PURE__ */ M(f, {
140
+ children: [/* @__PURE__ */ N(p, {
139
141
  size: "xs",
140
142
  children: e
141
- }), /* @__PURE__ */ M(m, {
143
+ }), /* @__PURE__ */ N(h, {
142
144
  value: t,
143
145
  from: "milliseconds",
144
146
  maxParts: 1,
@@ -149,68 +151,71 @@ function de({ label: e, ms: t }) {
149
151
  })]
150
152
  });
151
153
  }
152
- function K({ name: e, status: i, icon: a, args: o, result: s, error: f, durationMs: m, expanded: h, defaultExpanded: v = !1, onExpandedChange: y, className: b, strings: x }) {
153
- let S = t(G, x), [C, w] = A(v), T = h ?? C, E = (e) => {
154
+ function K({ name: e, status: i, icon: a, args: o, result: s, error: d, durationMs: p, expanded: h, defaultExpanded: g = !1, onExpandedChange: y, className: b, strings: x }) {
155
+ let S = t(G, x), [C, w] = j(g), T = h ?? C, E = (e) => {
154
156
  h === void 0 && w(e), y?.(e);
155
157
  }, D = {
156
158
  pending: S.pending,
157
159
  running: S.running,
158
160
  success: S.success,
159
161
  error: S.error
160
- }, O = ue[i], k = !!(o || s || f);
161
- return /* @__PURE__ */ N(u, {
162
+ }, O = de[i], k = !!(o || s || d), A = i === "success" || i === "error";
163
+ return /* @__PURE__ */ P(u, {
162
164
  surface: "card",
163
165
  padding: "none",
164
166
  className: n("ai-tool-call--component", i === "error" && n(l.destructive.edge, l.destructive.wash), b),
165
- children: [/* @__PURE__ */ N(r, {
167
+ children: [/* @__PURE__ */ P(r, {
166
168
  type: "button",
167
169
  tone: "secondary",
168
170
  buttonStyle: "ghost",
169
171
  size: "md",
170
172
  onClick: () => k && E(!T),
171
- className: n("ai-tool-call--trigger h-auto min-h-0 w-full flex-wrap justify-start gap-space-md whitespace-normal rounded-none px-space-lg py-space-md text-left @md/card:flex-nowrap", k ? `cursor-pointer ${d.rowHover}` : "cursor-default"),
173
+ className: n("ai-tool-call--trigger h-auto min-h-0 w-full flex-wrap justify-start gap-space-md whitespace-normal rounded-none px-space-lg py-space-md text-left @md/card:flex-nowrap", k ? `cursor-pointer ${f.rowHover}` : "cursor-default"),
172
174
  "aria-expanded": k ? T : void 0,
173
175
  "aria-label": k ? T ? S.collapse : S.expand : void 0,
174
176
  children: [
175
- !!a && /* @__PURE__ */ M(g, {
177
+ !!a && /* @__PURE__ */ N(_, {
176
178
  icon: a,
177
179
  tone: "neutral",
178
180
  size: "md",
179
181
  shape: "square"
180
182
  }),
181
- /* @__PURE__ */ M("div", {
183
+ /* @__PURE__ */ N("div", {
182
184
  className: "min-w-0 flex-1",
183
- children: /* @__PURE__ */ M(p, {
185
+ children: /* @__PURE__ */ N(m, {
184
186
  type: "inherit",
185
187
  className: "truncate",
186
188
  children: e
187
189
  })
188
190
  }),
189
- /* @__PURE__ */ N("span", {
191
+ /* @__PURE__ */ P("span", {
190
192
  className: "ai-tool-call--meta order-last flex w-full flex-wrap items-center gap-space-sm @md/card:order-none @md/card:w-auto @md/card:flex-nowrap",
191
- children: [/* @__PURE__ */ M(_, {
193
+ children: [/* @__PURE__ */ N(v, {
192
194
  tone: O.tone,
193
195
  dot: O.live,
194
196
  pulse: O.live,
195
197
  children: D[i]
196
- }), !!m && /* @__PURE__ */ M(de, {
197
- label: S.durationLabel,
198
- ms: m
198
+ }), !!p && /* @__PURE__ */ N(fe, {
199
+ label: A ? S.durationLabel : S.elapsedLabel ?? G.elapsedLabel ?? S.durationLabel,
200
+ ms: p
199
201
  })]
200
202
  }),
201
- k && M(T ? L : R, { className: "size-icon-md shrink-0 text-muted-foreground" })
203
+ k ? N(T ? R : z, { className: "size-icon-md shrink-0 text-muted-foreground" }) : /* @__PURE__ */ N("span", {
204
+ "aria-hidden": "true",
205
+ className: "ai-tool-call--affordance hidden size-icon-md shrink-0 @md/card:block"
206
+ })
202
207
  ]
203
- }), !!T && k && /* @__PURE__ */ N(c, {
208
+ }), !!T && k && /* @__PURE__ */ P(c, {
204
209
  gap: "md",
205
210
  className: "ai-tool-call--details border-t border-border/60 bg-muted/30 px-space-lg py-space-md",
206
- children: [!!o && /* @__PURE__ */ M(q, {
211
+ children: [!!o && /* @__PURE__ */ N(q, {
207
212
  label: S.args,
208
213
  children: o
209
- }), i === "error" && f ? /* @__PURE__ */ M(q, {
214
+ }), i === "error" && d ? /* @__PURE__ */ N(q, {
210
215
  label: S.error,
211
216
  tone: "destructive",
212
- children: f
213
- }) : !!s && /* @__PURE__ */ M(q, {
217
+ children: d
218
+ }) : !!s && /* @__PURE__ */ N(q, {
214
219
  label: S.result,
215
220
  children: s
216
221
  })]
@@ -219,12 +224,12 @@ function K({ name: e, status: i, icon: a, args: o, result: s, error: f, duration
219
224
  }
220
225
  K.displayName = "AiToolCall";
221
226
  function q({ label: e, children: t, tone: r = "neutral" }) {
222
- return /* @__PURE__ */ N(c, {
227
+ return /* @__PURE__ */ P(c, {
223
228
  gap: "sm",
224
229
  className: "ai-tool-call--detail-block",
225
- children: [/* @__PURE__ */ M(a, { children: e }), /* @__PURE__ */ M("pre", {
230
+ children: [/* @__PURE__ */ N(a, { children: e }), /* @__PURE__ */ N("pre", {
226
231
  tabIndex: 0,
227
- className: n("box-border m-0 max-w-full overflow-x-auto rounded-inner bg-card text-card-foreground px-space-md py-space-md font-mono text-xs leading-relaxed", r === "destructive" && n(l.destructive.ink, l.destructive.wash)),
232
+ className: n("box-border m-0 max-w-full overflow-x-auto rounded-radius bg-card text-card-foreground px-space-md py-space-md font-mono text-xs leading-relaxed", r === "destructive" && n(l.destructive.ink, l.destructive.wash)),
228
233
  children: t
229
234
  })]
230
235
  });
@@ -232,7 +237,7 @@ function q({ label: e, children: t, tone: r = "neutral" }) {
232
237
  //#endregion
233
238
  //#region src/components/blocks/ai/ai-shimmer/ai-shimmer.tsx
234
239
  function J({ children: e = "Thinking…", paused: t = !1, duration: r = 2.4, size: a, className: o }) {
235
- if (t) return /* @__PURE__ */ M(i, {
240
+ if (t) return /* @__PURE__ */ N(i, {
236
241
  tag: "span",
237
242
  type: "secondary",
238
243
  size: a,
@@ -241,7 +246,7 @@ function J({ children: e = "Thinking…", paused: t = !1, duration: r = 2.4, siz
241
246
  children: e
242
247
  });
243
248
  let s = { "--ai-shimmer-duration": `${r}s` };
244
- return /* @__PURE__ */ M(i, {
249
+ return /* @__PURE__ */ N(i, {
245
250
  tag: "span",
246
251
  size: a,
247
252
  weight: "medium",
@@ -256,7 +261,7 @@ function J({ children: e = "Thinking…", paused: t = !1, duration: r = 2.4, siz
256
261
  J.displayName = "AiShimmer";
257
262
  //#endregion
258
263
  //#region src/components/blocks/ai/ai-code-block/types.ts
259
- var Y = {
264
+ var pe = {
260
265
  copy: "Copy",
261
266
  copied: "Copied",
262
267
  copyError: "Could not copy. Please try again.",
@@ -265,9 +270,9 @@ var Y = {
265
270
  };
266
271
  //#endregion
267
272
  //#region src/components/blocks/ai/ai-code-block/ai-code-block.tsx
268
- function X({ strings: e, className: r, onCopy: i, ...a }) {
269
- let o = t(Y, e);
270
- return /* @__PURE__ */ M(D, {
273
+ function me({ strings: e, className: r, onCopy: i, ...a }) {
274
+ let o = t(pe, e);
275
+ return /* @__PURE__ */ N(O, {
271
276
  ...a,
272
277
  className: n("ai-code-block--component", r),
273
278
  onCopy: i ? () => i() : void 0,
@@ -279,10 +284,10 @@ function X({ strings: e, className: r, onCopy: i, ...a }) {
279
284
  }
280
285
  });
281
286
  }
282
- X.displayName = "AiCodeBlock";
287
+ me.displayName = "AiCodeBlock";
283
288
  //#endregion
284
289
  //#region src/components/blocks/ai/ai-attachment/types.ts
285
- var Z = {
290
+ var Y = {
286
291
  removeAria: "Remove attachment",
287
292
  openAria: "Open attachment",
288
293
  uploadProgressAria: "Upload progress",
@@ -290,9 +295,9 @@ var Z = {
290
295
  };
291
296
  //#endregion
292
297
  //#region src/components/blocks/ai/ai-attachment/ai-attachment.tsx
293
- function fe({ name: e, meta: a, kind: o = "generic", icon: s, thumbnailUrl: c, progress: l, errored: u = !1, onOpen: d, onRemove: f, className: p, strings: m }) {
294
- let h = t(Z, m), g = !u && typeof l == "number" && l >= 0 && l < 1;
295
- return /* @__PURE__ */ N(T, {
298
+ function he({ name: e, meta: a, kind: o = "generic", icon: s, thumbnailUrl: c, progress: l, errored: u = !1, onOpen: d, onRemove: f, className: p, strings: m }) {
299
+ let h = t(Y, m), g = !u && typeof l == "number" && l >= 0 && l < 1;
300
+ return /* @__PURE__ */ P(E, {
296
301
  name: e,
297
302
  layout: "compact",
298
303
  status: u ? "error" : g ? "uploading" : void 0,
@@ -300,42 +305,42 @@ function fe({ name: e, meta: a, kind: o = "generic", icon: s, thumbnailUrl: c, p
300
305
  strings: { preview: () => h.openAria },
301
306
  className: n("ai-attachment--component inline-flex w-auto", p),
302
307
  children: [
303
- /* @__PURE__ */ M(S, {
308
+ /* @__PURE__ */ N(C, {
304
309
  variant: c ? "image" : "icon",
305
- children: c ? /* @__PURE__ */ M("img", {
310
+ children: c ? /* @__PURE__ */ N("img", {
306
311
  src: c,
307
312
  alt: ""
308
- }) : u ? /* @__PURE__ */ M(P, { "aria-hidden": "true" }) : s ? /* @__PURE__ */ M(s, { "aria-hidden": "true" }) : /* @__PURE__ */ M(v, {
313
+ }) : u ? /* @__PURE__ */ N(F, { "aria-hidden": "true" }) : s ? /* @__PURE__ */ N(s, { "aria-hidden": "true" }) : /* @__PURE__ */ N(y, {
309
314
  name: e,
310
315
  kind: o
311
316
  })
312
317
  }),
313
- /* @__PURE__ */ N(C, { children: [
314
- /* @__PURE__ */ M(y, {
318
+ /* @__PURE__ */ P(w, { children: [
319
+ /* @__PURE__ */ N(b, {
315
320
  title: e,
316
321
  children: e
317
322
  }),
318
- a && /* @__PURE__ */ M(b, {
323
+ a && /* @__PURE__ */ N(x, {
319
324
  clamp: 1,
320
325
  children: a
321
326
  }),
322
- u && /* @__PURE__ */ M(b, {
327
+ u && /* @__PURE__ */ N(x, {
323
328
  clamp: "none",
324
- children: /* @__PURE__ */ M(i, {
329
+ children: /* @__PURE__ */ N(i, {
325
330
  tag: "span",
326
331
  size: "xs",
327
332
  type: "error",
328
333
  role: "alert",
329
- children: h.error ?? Z.error
334
+ children: h.error ?? Y.error
330
335
  })
331
336
  }),
332
- g && /* @__PURE__ */ M(w, {
337
+ g && /* @__PURE__ */ N(T, {
333
338
  value: Math.round((l ?? 0) * 100),
334
339
  size: "sm",
335
340
  "aria-label": h.uploadProgressAria
336
341
  })
337
342
  ] }),
338
- f && /* @__PURE__ */ M(x, { children: /* @__PURE__ */ M(r, {
343
+ f && /* @__PURE__ */ N(S, { children: /* @__PURE__ */ N(r, {
339
344
  type: "button",
340
345
  tone: "secondary",
341
346
  buttonStyle: "ghost",
@@ -343,7 +348,7 @@ function fe({ name: e, meta: a, kind: o = "generic", icon: s, thumbnailUrl: c, p
343
348
  iconOnly: !0,
344
349
  "aria-label": h.removeAria,
345
350
  onClick: f,
346
- children: /* @__PURE__ */ M(V, {
351
+ children: /* @__PURE__ */ N(V, {
347
352
  "aria-hidden": "true",
348
353
  className: "size-icon-sm"
349
354
  })
@@ -351,17 +356,17 @@ function fe({ name: e, meta: a, kind: o = "generic", icon: s, thumbnailUrl: c, p
351
356
  ]
352
357
  });
353
358
  }
354
- fe.displayName = "AiAttachment";
359
+ he.displayName = "AiAttachment";
355
360
  //#endregion
356
361
  //#region src/components/blocks/ai/ai-agent/types.ts
357
- var pe = { statusLabels: {
362
+ var ge = { statusLabels: {
358
363
  idle: "Idle",
359
364
  thinking: "Thinking",
360
365
  working: "Working",
361
366
  done: "Done",
362
367
  error: "Error",
363
368
  offline: "Offline"
364
- } }, me = {
369
+ } }, _e = {
365
370
  idle: "secondary",
366
371
  thinking: "info",
367
372
  working: "info",
@@ -369,68 +374,68 @@ var pe = { statusLabels: {
369
374
  error: "destructive",
370
375
  offline: "secondary"
371
376
  };
372
- function he({ name: e, icon: r, avatar: a, subtitle: o, tone: s = "primary", status: l, variant: d = "inline", trailing: f, className: p, strings: m }) {
373
- let h = t(pe, m), v = a ?? /* @__PURE__ */ M(g, {
374
- icon: r ?? F,
377
+ function ve({ name: e, icon: r, avatar: a, subtitle: o, tone: s = "primary", status: l, variant: d = "inline", trailing: f, className: p, strings: m }) {
378
+ let h = t(ge, m), g = a ?? /* @__PURE__ */ N(_, {
379
+ icon: r ?? I,
375
380
  tone: s,
376
381
  size: d === "card" ? "md" : "sm"
377
- }), y = l === "thinking" || l === "working", b = !!l && /* @__PURE__ */ M(_, {
378
- tone: me[l],
382
+ }), y = l === "thinking" || l === "working", b = !!l && /* @__PURE__ */ N(v, {
383
+ tone: _e[l],
379
384
  dot: !0,
380
385
  pulse: y,
381
386
  children: h.statusLabels[l]
382
387
  });
383
- return d === "card" ? /* @__PURE__ */ M(u, {
388
+ return d === "card" ? /* @__PURE__ */ N(u, {
384
389
  surface: "card",
385
390
  padding: "sm",
386
391
  className: n("ai-agent--component", p),
387
- children: /* @__PURE__ */ N(c, {
392
+ children: /* @__PURE__ */ P(c, {
388
393
  direction: "horizontal",
389
394
  align: "center",
390
395
  gap: "lg",
391
396
  children: [
392
- v,
393
- /* @__PURE__ */ N(c, {
397
+ g,
398
+ /* @__PURE__ */ P(c, {
394
399
  gap: "dense",
395
400
  className: "min-w-0 flex-1",
396
- children: [/* @__PURE__ */ N("div", {
401
+ children: [/* @__PURE__ */ P("div", {
397
402
  className: "flex items-center gap-space-md",
398
- children: [/* @__PURE__ */ M(i, {
403
+ children: [/* @__PURE__ */ N(i, {
399
404
  type: "inherit",
400
405
  weight: "semibold",
401
406
  className: "truncate",
402
407
  children: e
403
408
  }), b]
404
- }), !!o && /* @__PURE__ */ M(i, {
409
+ }), !!o && /* @__PURE__ */ N(i, {
405
410
  size: "xs",
406
411
  type: "secondary",
407
412
  className: "line-clamp-1",
408
413
  children: o
409
414
  })]
410
415
  }),
411
- !!f && /* @__PURE__ */ M("div", {
416
+ !!f && /* @__PURE__ */ N("div", {
412
417
  className: "ml-auto flex items-center gap-space-xs",
413
418
  children: f
414
419
  })
415
420
  ]
416
421
  })
417
- }) : /* @__PURE__ */ N("div", {
422
+ }) : /* @__PURE__ */ P("div", {
418
423
  className: n("ai-agent--component", "inline-flex items-center gap-space-md", p),
419
424
  children: [
420
- v,
421
- /* @__PURE__ */ N(c, {
425
+ g,
426
+ /* @__PURE__ */ P(c, {
422
427
  direction: "horizontal",
423
428
  align: "center",
424
429
  gap: "md",
425
430
  className: "min-w-0",
426
431
  children: [
427
- /* @__PURE__ */ M(i, {
432
+ /* @__PURE__ */ N(i, {
428
433
  type: "inherit",
429
434
  weight: "medium",
430
435
  className: "truncate",
431
436
  children: e
432
437
  }),
433
- !!o && /* @__PURE__ */ M(i, {
438
+ !!o && /* @__PURE__ */ N(i, {
434
439
  size: "xs",
435
440
  type: "secondary",
436
441
  className: "truncate",
@@ -439,23 +444,23 @@ function he({ name: e, icon: r, avatar: a, subtitle: o, tone: s = "primary", sta
439
444
  b
440
445
  ]
441
446
  }),
442
- !!f && /* @__PURE__ */ M("div", {
447
+ !!f && /* @__PURE__ */ N("div", {
443
448
  className: "ml-1 flex items-center gap-space-xs",
444
449
  children: f
445
450
  })
446
451
  ]
447
452
  });
448
453
  }
449
- he.displayName = "AiAgent";
454
+ ve.displayName = "AiAgent";
450
455
  //#endregion
451
456
  //#region src/components/blocks/ai/ai-confirmation/types.ts
452
- var ge = {
457
+ var ye = {
453
458
  approve: "Approve",
454
459
  reject: "Reject",
455
460
  pending: "Awaiting your approval",
456
461
  approved: "Approved",
457
462
  rejected: "Rejected"
458
- }, _e = {
463
+ }, be = {
459
464
  neutral: { icon: "neutral" },
460
465
  destructive: {
461
466
  ring: `${l.destructive.edge} ${l.destructive.wash}`,
@@ -474,93 +479,93 @@ var ge = {
474
479
  icon: "primary"
475
480
  }
476
481
  };
477
- function ve({ title: e, description: a, icon: o, tone: s = "neutral", status: l = "pending", onApprove: d, onReject: f, approveLabel: p, rejectLabel: m, details: h, className: _, strings: v }) {
478
- let y = t(ge, v), b = o, x = _e[s];
479
- return /* @__PURE__ */ M(u, {
482
+ function xe({ title: e, description: a, icon: o, tone: s = "neutral", status: l = "pending", onApprove: f, onReject: p, approveLabel: m, rejectLabel: h, details: g, className: v, strings: y }) {
483
+ let b = t(ye, y), x = o, S = be[s];
484
+ return /* @__PURE__ */ N(u, {
480
485
  role: "region",
481
486
  "aria-live": "polite",
482
487
  surface: "card",
483
488
  padding: "sm",
484
- className: n("ai-confirmation--component", x.ring, _),
485
- children: /* @__PURE__ */ N(c, {
489
+ className: n("ai-confirmation--component", S.ring, v),
490
+ children: /* @__PURE__ */ P(c, {
486
491
  gap: "lg",
487
- children: [/* @__PURE__ */ N("div", {
492
+ children: [/* @__PURE__ */ P("div", {
488
493
  className: "ai-confirmation--header flex items-start gap-space-lg",
489
- children: [!!b && /* @__PURE__ */ M(g, {
490
- icon: b,
491
- tone: x.icon,
494
+ children: [!!x && /* @__PURE__ */ N(_, {
495
+ icon: x,
496
+ tone: S.icon,
492
497
  size: "md",
493
498
  shape: "square"
494
- }), /* @__PURE__ */ N(c, {
499
+ }), /* @__PURE__ */ P(c, {
495
500
  gap: "md",
496
501
  className: "min-w-0 flex-1",
497
- children: [/* @__PURE__ */ N(c, {
502
+ children: [/* @__PURE__ */ P(c, {
498
503
  gap: "normal",
499
- children: [/* @__PURE__ */ M(i, {
504
+ children: [/* @__PURE__ */ N(i, {
500
505
  type: "inherit",
501
506
  weight: "semibold",
502
507
  children: e
503
- }), !!a && /* @__PURE__ */ M(i, {
508
+ }), !!a && /* @__PURE__ */ N(i, {
504
509
  type: "secondary",
505
510
  children: a
506
511
  })]
507
- }), !!h && /* @__PURE__ */ M("div", {
512
+ }), !!g && /* @__PURE__ */ N("div", {
508
513
  className: "ai-confirmation--details min-w-0",
509
- children: h
514
+ children: g
510
515
  })]
511
516
  })]
512
- }), l === "pending" ? /* @__PURE__ */ N("div", {
517
+ }), l === "pending" ? /* @__PURE__ */ P("div", {
513
518
  className: "ai-confirmation--footer flex flex-col items-stretch gap-space-md @sm/card:flex-row @sm/card:items-center @sm/card:justify-between",
514
- children: [/* @__PURE__ */ M(i, {
519
+ children: [/* @__PURE__ */ N(i, {
515
520
  size: "xs",
516
521
  type: "secondary",
517
- children: y.pending
518
- }), /* @__PURE__ */ N(c, {
522
+ children: b.pending
523
+ }), /* @__PURE__ */ P(c, {
519
524
  direction: "horizontal",
520
525
  align: "center",
521
526
  justify: "end",
522
- gap: "md",
527
+ gap: d.commands,
523
528
  className: "ai-confirmation--actions",
524
- children: [/* @__PURE__ */ M(r, {
529
+ children: [/* @__PURE__ */ N(r, {
525
530
  type: "button",
526
531
  tone: "secondary",
527
532
  buttonStyle: "ghost",
528
- onClick: f,
529
- children: m ?? y.reject
530
- }), /* @__PURE__ */ M(r, {
533
+ onClick: p,
534
+ children: h ?? b.reject
535
+ }), /* @__PURE__ */ N(r, {
531
536
  type: "button",
532
537
  tone: s === "destructive" ? "destructive" : "primary",
533
- onClick: d,
534
- children: p ?? y.approve
538
+ onClick: f,
539
+ children: m ?? b.approve
535
540
  })]
536
541
  })]
537
- }) : /* @__PURE__ */ M("div", {
542
+ }) : /* @__PURE__ */ N("div", {
538
543
  className: "ai-confirmation--footer flex items-center gap-space-md",
539
- children: l === "approved" ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(I, {
544
+ children: l === "approved" ? /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(L, {
540
545
  "aria-hidden": "true",
541
546
  className: "size-icon-md text-success"
542
- }), /* @__PURE__ */ M(i, {
547
+ }), /* @__PURE__ */ N(i, {
543
548
  size: "xs",
544
549
  type: "success",
545
550
  weight: "medium",
546
- children: y.approved
547
- })] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(V, {
551
+ children: b.approved
552
+ })] }) : /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(V, {
548
553
  "aria-hidden": "true",
549
554
  className: "size-icon-md text-muted-foreground"
550
- }), /* @__PURE__ */ M(i, {
555
+ }), /* @__PURE__ */ N(i, {
551
556
  size: "xs",
552
557
  type: "secondary",
553
558
  weight: "medium",
554
- children: y.rejected
559
+ children: b.rejected
555
560
  })] })
556
561
  })]
557
562
  })
558
563
  });
559
564
  }
560
- ve.displayName = "AiConfirmation";
565
+ xe.displayName = "AiConfirmation";
561
566
  //#endregion
562
567
  //#region src/components/blocks/ai/ai-sources/types.ts
563
- var ye = {
568
+ var Se = {
564
569
  title: "{{count}} sources",
565
570
  expand: "Show all sources",
566
571
  collapse: "Hide sources",
@@ -568,17 +573,17 @@ var ye = {
568
573
  };
569
574
  //#endregion
570
575
  //#region src/components/blocks/ai/ai-sources/ai-sources.tsx
571
- function be(e, t) {
576
+ function Ce(e, t) {
572
577
  return e.replace(/\{\{\s*(\w+)\s*\}\}/g, (e, n) => {
573
578
  let r = t[n];
574
579
  return r === void 0 ? e : String(r);
575
580
  });
576
581
  }
577
- function xe({ sources: t, variant: a = "list", maxAvatars: o = 5, expanded: s, defaultExpanded: l = !1, onExpandedChange: f, onSelect: p, className: m, strings: h }) {
578
- let g = e(ye, h), [_, v] = A(l), y = s ?? _, b = (e) => {
579
- s === void 0 && v(e), f?.(e);
580
- }, x = be(g.title, { count: t.length });
581
- if (a === "avatars") return /* @__PURE__ */ M(Se, {
582
+ function we({ sources: t, variant: a = "list", maxAvatars: o = 5, expanded: s, defaultExpanded: l = !1, onExpandedChange: d, onSelect: p, className: m, strings: h }) {
583
+ let g = e(Se, h), [_, v] = j(l), y = s ?? _, b = (e) => {
584
+ s === void 0 && v(e), d?.(e);
585
+ }, x = Ce(g.title, { count: t.length });
586
+ if (a === "avatars") return /* @__PURE__ */ N(Te, {
582
587
  sources: t,
583
588
  max: o,
584
589
  title: x,
@@ -587,11 +592,11 @@ function xe({ sources: t, variant: a = "list", maxAvatars: o = 5, expanded: s, d
587
592
  className: n("ai-sources--component", m)
588
593
  });
589
594
  let S = y ? t : t.slice(0, 0);
590
- return /* @__PURE__ */ N(u, {
595
+ return /* @__PURE__ */ P(u, {
591
596
  surface: "card",
592
597
  padding: "none",
593
598
  className: n("ai-sources--component", m),
594
- children: [/* @__PURE__ */ N(r, {
599
+ children: [/* @__PURE__ */ P(r, {
595
600
  type: "button",
596
601
  tone: "secondary",
597
602
  buttonStyle: "ghost",
@@ -599,24 +604,24 @@ function xe({ sources: t, variant: a = "list", maxAvatars: o = 5, expanded: s, d
599
604
  onClick: () => b(!y),
600
605
  "aria-expanded": y,
601
606
  "aria-label": y ? g.collapse : g.expand,
602
- className: n("ai-sources--trigger h-auto min-h-0 w-full justify-start gap-space-md px-surface-xs py-row-y text-left", `rounded-inner ${d.rowHover}`),
607
+ className: n("ai-sources--trigger h-auto min-h-0 w-full justify-start gap-space-md px-surface-xs py-row-y text-left", `rounded-radius ${f.rowHover}`),
603
608
  children: [
604
- /* @__PURE__ */ M(Ce, { sources: t.slice(0, 4) }),
605
- /* @__PURE__ */ M(i, {
609
+ /* @__PURE__ */ N(Ee, { sources: t.slice(0, 4) }),
610
+ /* @__PURE__ */ N(i, {
606
611
  type: "inherit",
607
612
  weight: "medium",
608
613
  className: "flex-1",
609
614
  children: x
610
615
  }),
611
- M(y ? L : R, { className: "size-icon-md text-muted-foreground" })
616
+ N(y ? R : z, { className: "size-icon-md text-muted-foreground" })
612
617
  ]
613
- }), y && /* @__PURE__ */ M("div", {
618
+ }), y && /* @__PURE__ */ N("div", {
614
619
  className: "ai-sources--list border-t border-border/60 px-surface-xs py-row-y",
615
- children: /* @__PURE__ */ M(c, {
616
- render: /* @__PURE__ */ M("ol", {}),
620
+ children: /* @__PURE__ */ N(c, {
621
+ render: /* @__PURE__ */ N("ol", {}),
617
622
  gap: "2xs",
618
623
  className: "m-0 list-none p-0 font-sans",
619
- children: S.map((e, t) => /* @__PURE__ */ M(Te, {
624
+ children: S.map((e, t) => /* @__PURE__ */ N(Oe, {
620
625
  source: e,
621
626
  index: t + 1,
622
627
  onSelect: p ? () => p(e, t) : void 0,
@@ -626,96 +631,96 @@ function xe({ sources: t, variant: a = "list", maxAvatars: o = 5, expanded: s, d
626
631
  })]
627
632
  });
628
633
  }
629
- xe.displayName = "AiSources";
630
- function Se({ sources: e, max: t, title: r, visitLabel: a, onSelect: o, className: s }) {
634
+ we.displayName = "AiSources";
635
+ function Te({ sources: e, max: t, title: r, visitLabel: a, onSelect: o, className: s }) {
631
636
  let c = e.slice(0, t), l = e.length - c.length;
632
- return /* @__PURE__ */ N("div", {
637
+ return /* @__PURE__ */ P("div", {
633
638
  className: n("inline-flex items-center gap-space-md", s),
634
- children: [
635
- /* @__PURE__ */ M(Ce, {
636
- sources: c,
637
- onSelect: o,
638
- visitLabel: a
639
- }),
640
- /* @__PURE__ */ M(i, {
641
- size: "xs",
642
- type: "secondary",
643
- children: r
644
- }),
645
- l > 0 && /* @__PURE__ */ N(f, {
646
- size: "xs",
647
- className: "tabular-nums",
648
- children: ["+", /* @__PURE__ */ M(h, {
649
- value: l,
650
- size: "xs",
651
- type: "secondary",
652
- align: "left"
653
- })]
654
- })
655
- ]
639
+ children: [/* @__PURE__ */ N(Ee, {
640
+ sources: c,
641
+ onSelect: o,
642
+ visitLabel: a,
643
+ overflow: l
644
+ }), /* @__PURE__ */ N(i, {
645
+ size: "xs",
646
+ type: "secondary",
647
+ children: r
648
+ })]
656
649
  });
657
650
  }
658
- function Ce({ sources: e, onSelect: t, visitLabel: r }) {
659
- return /* @__PURE__ */ M("div", {
660
- className: n("flex", t ? "gap-space-2xs" : "-space-x-space-sm"),
661
- children: e.map((e, n) => {
662
- let i = /* @__PURE__ */ M("span", {
651
+ function Ee({ sources: e, onSelect: t, visitLabel: r, overflow: i = 0 }) {
652
+ return /* @__PURE__ */ P("div", {
653
+ className: n("flex items-center", t ? "gap-space-2xs" : "-space-x-space-sm"),
654
+ children: [e.map((e, n) => {
655
+ let i = /* @__PURE__ */ N("span", {
663
656
  "aria-hidden": !0,
664
657
  title: typeof e.title == "string" ? e.title : void 0,
665
658
  className: "inline-flex size-icon-lg items-center justify-center overflow-hidden rounded-full border border-card bg-muted text-muted-foreground ring-1 ring-border/60",
666
- children: /* @__PURE__ */ M(we, { src: e.faviconUrl })
659
+ children: /* @__PURE__ */ N(De, { src: e.faviconUrl })
667
660
  }, e.id);
668
- return t ? /* @__PURE__ */ M("button", {
661
+ return t ? /* @__PURE__ */ N("button", {
669
662
  type: "button",
670
663
  onClick: () => t(e, n),
671
664
  "aria-label": typeof e.title == "string" ? `${r}: ${e.title}` : r,
672
- className: `${d.nativeButtonReset} inline-flex size-action-xs shrink-0 items-center justify-center rounded-inner focus-visible:outline-none ${s.edge}`,
665
+ className: `${f.nativeButtonReset} inline-flex size-action-xs shrink-0 items-center justify-center rounded-radius focus-visible:outline-none ${s.edge}`,
673
666
  children: i
674
667
  }, e.id) : i;
675
- })
668
+ }), i > 0 && /* @__PURE__ */ N("span", {
669
+ className: "ai-sources--overflow inline-flex size-icon-lg items-center justify-center overflow-hidden rounded-full border border-card bg-muted text-muted-foreground ring-1 ring-border/60",
670
+ children: /* @__PURE__ */ P(p, {
671
+ size: "xxs",
672
+ className: "tabular-nums",
673
+ children: ["+", /* @__PURE__ */ N(g, {
674
+ value: i,
675
+ size: "xxs",
676
+ type: "secondary",
677
+ align: "left"
678
+ })]
679
+ })
680
+ })]
676
681
  });
677
682
  }
678
- function we({ src: e }) {
679
- let [t, n] = A(!1);
680
- return O(() => {
683
+ function De({ src: e }) {
684
+ let [t, n] = j(!1);
685
+ return k(() => {
681
686
  n(!1);
682
- }, [e]), !e || t ? /* @__PURE__ */ M(ae, { className: "size-icon-sm" }) : /* @__PURE__ */ M("img", {
687
+ }, [e]), !e || t ? /* @__PURE__ */ N(oe, { className: "size-icon-sm" }) : /* @__PURE__ */ N("img", {
683
688
  src: e,
684
689
  alt: "",
685
690
  className: "size-full object-cover",
686
691
  onError: () => n(!0)
687
692
  });
688
693
  }
689
- function Te({ source: e, index: t, onSelect: r, visitLabel: a }) {
690
- let l = !!(e.url || r), u = n(d.nativeButtonReset, "group flex w-full items-start gap-space-lg rounded-inner px-row-x py-row-y-sm text-left text-foreground", l && `${d.rowHover} focus-visible:outline-none ${s.edge}`), f = /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(g, {
694
+ function Oe({ source: e, index: t, onSelect: r, visitLabel: a }) {
695
+ let l = !!(e.url || r), u = n(f.nativeButtonReset, "group flex w-full items-start gap-space-lg rounded-radius px-row-x py-row-y-sm text-left text-foreground", l && `${f.rowHover} focus-visible:outline-none ${s.edge}`), d = /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ N(_, {
691
696
  tone: "neutral",
692
697
  size: "sm",
693
698
  "aria-hidden": !1,
694
699
  className: "shrink-0",
695
- children: /* @__PURE__ */ M(h, {
700
+ children: /* @__PURE__ */ N(g, {
696
701
  value: t,
697
702
  size: "xs",
698
703
  weight: "semibold",
699
704
  type: "secondary",
700
705
  align: "center"
701
706
  })
702
- }), /* @__PURE__ */ N(c, {
707
+ }), /* @__PURE__ */ P(c, {
703
708
  gap: "dense",
704
709
  className: "min-w-0 flex-1",
705
710
  children: [
706
- /* @__PURE__ */ N(i, {
711
+ /* @__PURE__ */ P(i, {
707
712
  type: "inherit",
708
713
  weight: "medium",
709
714
  className: "truncate",
710
- children: [e.title, !!e.url && /* @__PURE__ */ M(z, { className: "ml-1 inline size-icon-sm text-muted-foreground align-baseline" })]
715
+ children: [e.title, !!e.url && /* @__PURE__ */ N(ie, { className: "ml-1 inline size-icon-sm text-muted-foreground align-baseline" })]
711
716
  }),
712
- !!e.publisher && /* @__PURE__ */ M(i, {
717
+ !!e.publisher && /* @__PURE__ */ N(i, {
713
718
  size: "xs",
714
719
  type: "secondary",
715
720
  className: "truncate",
716
721
  children: e.publisher
717
722
  }),
718
- !!e.snippet && /* @__PURE__ */ M(i, {
723
+ !!e.snippet && /* @__PURE__ */ N(i, {
719
724
  size: "xs",
720
725
  type: "secondary",
721
726
  className: "line-clamp-2",
@@ -723,7 +728,7 @@ function Te({ source: e, index: t, onSelect: r, visitLabel: a }) {
723
728
  })
724
729
  ]
725
730
  })] });
726
- return /* @__PURE__ */ M("li", { children: e.url && !r ? /* @__PURE__ */ M(o, {
731
+ return /* @__PURE__ */ N("li", { children: e.url && !r ? /* @__PURE__ */ N(o, {
727
732
  href: e.url,
728
733
  target: "_blank",
729
734
  rel: "noopener noreferrer",
@@ -731,21 +736,21 @@ function Te({ source: e, index: t, onSelect: r, visitLabel: a }) {
731
736
  underline: !1,
732
737
  className: u,
733
738
  "aria-label": a,
734
- children: f
735
- }) : r ? /* @__PURE__ */ M("button", {
739
+ children: d
740
+ }) : r ? /* @__PURE__ */ N("button", {
736
741
  type: "button",
737
742
  onClick: r,
738
743
  className: n(u, "h-auto justify-start whitespace-normal"),
739
744
  "aria-label": e.url ? a : void 0,
740
- children: f
741
- }) : /* @__PURE__ */ M("span", {
745
+ children: d
746
+ }) : /* @__PURE__ */ N("span", {
742
747
  className: u,
743
- children: f
748
+ children: d
744
749
  }) });
745
750
  }
746
751
  //#endregion
747
752
  //#region src/components/blocks/ai/ai-reasoning/types.ts
748
- var Ee = {
753
+ var ke = {
749
754
  thinking: "Thinking…",
750
755
  thoughtFor: "Thought for {{duration}}",
751
756
  thoughtDone: "Reasoning complete",
@@ -754,11 +759,11 @@ var Ee = {
754
759
  };
755
760
  //#endregion
756
761
  //#region src/components/blocks/ai/ai-reasoning/ai-reasoning.tsx
757
- function De(e, t) {
762
+ function Ae(e, t) {
758
763
  let n = e.split(/\{\{\s*duration\s*\}\}/);
759
- return n.length === 1 ? e : /* @__PURE__ */ N(j, { children: [
764
+ return n.length === 1 ? e : /* @__PURE__ */ P(M, { children: [
760
765
  n[0],
761
- /* @__PURE__ */ M(m, {
766
+ /* @__PURE__ */ N(h, {
762
767
  value: t,
763
768
  maxParts: 1,
764
769
  align: "left"
@@ -766,30 +771,30 @@ function De(e, t) {
766
771
  n.slice(1).join("{{duration}}")
767
772
  ] });
768
773
  }
769
- function Oe({ children: e, streaming: a = !1, durationSeconds: o, expandWhileStreaming: s = !0, defaultExpanded: c = !1, expanded: l, onExpandedChange: u, className: f, strings: p }) {
770
- let m = t(Ee, p), [h, g] = A(c), _ = l ?? h, v = (e) => {
774
+ function X({ children: e, streaming: a = !1, durationSeconds: o, expandWhileStreaming: s = !0, defaultExpanded: c = !1, expanded: l, onExpandedChange: u, className: d, strings: p }) {
775
+ let m = t(ke, p), [h, g] = j(c), _ = l ?? h, v = (e) => {
771
776
  l === void 0 && g(e), u?.(e);
772
777
  };
773
- O(() => {
778
+ k(() => {
774
779
  a && s && !_ && v(!0), !a && s && _ && !c && l === void 0 && v(!1);
775
780
  }, [a]);
776
- let y = a ? /* @__PURE__ */ M(J, {
781
+ let y = a ? /* @__PURE__ */ N(J, {
777
782
  className: "flex-1",
778
783
  children: m.thinking
779
- }) : o === void 0 ? /* @__PURE__ */ M(i, {
784
+ }) : o === void 0 ? /* @__PURE__ */ N(i, {
780
785
  type: "inherit",
781
786
  weight: "medium",
782
787
  className: "flex-1",
783
788
  children: m.thoughtDone
784
- }) : /* @__PURE__ */ M(i, {
789
+ }) : /* @__PURE__ */ N(i, {
785
790
  type: "inherit",
786
791
  weight: "medium",
787
792
  className: "flex-1",
788
- children: De(m.thoughtFor, o)
793
+ children: Ae(m.thoughtFor, o)
789
794
  });
790
- return /* @__PURE__ */ N("div", {
791
- className: n("ai-reasoning--component", "overflow-hidden rounded-radius border border-border/60 bg-muted/30", f),
792
- children: [/* @__PURE__ */ N(r, {
795
+ return /* @__PURE__ */ P("div", {
796
+ className: n("ai-reasoning--component", "overflow-hidden rounded-radius border border-border/60 bg-muted/30", d),
797
+ children: [/* @__PURE__ */ P(r, {
793
798
  type: "button",
794
799
  tone: "secondary",
795
800
  buttonStyle: "ghost",
@@ -797,33 +802,33 @@ function Oe({ children: e, streaming: a = !1, durationSeconds: o, expandWhileStr
797
802
  onClick: () => v(!_),
798
803
  "aria-expanded": _,
799
804
  "aria-label": _ ? m.collapseAria : m.expandAria,
800
- className: n("ai-reasoning--trigger h-auto min-h-0 w-full justify-start gap-space-md rounded-none px-surface-xs py-row-y text-left", d.rowHover),
805
+ className: n("ai-reasoning--trigger h-auto min-h-0 w-full justify-start gap-space-md rounded-none px-surface-xs py-row-y text-left", f.rowHover),
801
806
  children: [
802
- /* @__PURE__ */ M(ee, { className: "size-icon-md text-muted-foreground" }),
807
+ /* @__PURE__ */ N(ee, { className: "size-icon-md text-muted-foreground" }),
803
808
  y,
804
- M(_ ? L : R, { className: "size-icon-md text-muted-foreground" })
809
+ N(_ ? R : z, { className: "size-icon-md text-muted-foreground" })
805
810
  ]
806
- }), _ && /* @__PURE__ */ M("div", {
811
+ }), _ && /* @__PURE__ */ N("div", {
807
812
  className: "ai-reasoning--body border-t border-border/60 p-surface-xs",
808
- children: typeof e == "string" ? /* @__PURE__ */ M(i, {
813
+ children: typeof e == "string" ? /* @__PURE__ */ N(i, {
809
814
  type: "secondary",
810
815
  lineHeight: "relaxed",
811
816
  className: "whitespace-pre-wrap",
812
817
  children: e
813
- }) : /* @__PURE__ */ M("div", {
818
+ }) : /* @__PURE__ */ N("div", {
814
819
  className: "whitespace-pre-wrap",
815
820
  children: e
816
821
  })
817
822
  })]
818
823
  });
819
824
  }
820
- Oe.displayName = "AiReasoning";
825
+ X.displayName = "AiReasoning";
821
826
  //#endregion
822
827
  //#region src/components/blocks/ai/ai-chain-of-thought/types.ts
823
- var Q = {
828
+ var je = {
824
829
  title: "Reasoning",
825
830
  streamingHint: "Working through the steps…"
826
- }, ke = {
831
+ }, Me = {
827
832
  pending: {
828
833
  icon: te,
829
834
  tone: "neutral"
@@ -834,65 +839,65 @@ var Q = {
834
839
  spin: !0
835
840
  },
836
841
  completed: {
837
- icon: I,
842
+ icon: L,
838
843
  tone: "success",
839
844
  solid: !0
840
845
  },
841
846
  failed: {
842
- icon: P,
847
+ icon: F,
843
848
  tone: "destructive",
844
849
  solid: !0
845
850
  }
846
851
  };
847
- function Ae({ steps: e, hideHeader: r = !1, streaming: o = !1, className: s, strings: l }) {
848
- let d = t(Q, l);
849
- return /* @__PURE__ */ M(u, {
852
+ function Ne({ steps: e, hideHeader: r = !1, streaming: o = !1, className: s, strings: l }) {
853
+ let d = t(je, l);
854
+ return /* @__PURE__ */ N(u, {
850
855
  surface: "card",
851
856
  className: n("ai-chain-of-thought--component", s),
852
- children: /* @__PURE__ */ N(c, {
857
+ children: /* @__PURE__ */ P(c, {
853
858
  gap: "lg",
854
- children: [!r && /* @__PURE__ */ M("div", {
859
+ children: [!r && /* @__PURE__ */ N("div", {
855
860
  className: "ai-chain-of-thought--header",
856
- children: /* @__PURE__ */ N(c, {
861
+ children: /* @__PURE__ */ P(c, {
857
862
  direction: "horizontal",
858
863
  gap: "sm",
859
864
  wrap: !1,
860
- children: [/* @__PURE__ */ M(a, { children: d.title }), o && /* @__PURE__ */ M(J, {
865
+ children: [/* @__PURE__ */ N(a, { children: d.title }), o && /* @__PURE__ */ N(J, {
861
866
  size: "xs",
862
867
  className: "ml-auto",
863
868
  children: d.streamingHint
864
869
  })]
865
870
  })
866
- }), /* @__PURE__ */ M("ol", {
871
+ }), /* @__PURE__ */ N("ol", {
867
872
  className: "ai-chain-of-thought--body m-0 list-none p-0 font-sans",
868
873
  children: e.map((t, r) => {
869
- let a = t.status ?? "pending", o = ke[a], s = t.icon ?? o.icon, l = r === e.length - 1;
870
- return /* @__PURE__ */ N("li", {
874
+ let a = t.status ?? "pending", o = Me[a], s = t.icon ?? o.icon, l = r === e.length - 1;
875
+ return /* @__PURE__ */ P("li", {
871
876
  className: "ai-chain-of-thought--step flex gap-space-lg",
872
- children: [/* @__PURE__ */ N("span", {
877
+ children: [/* @__PURE__ */ P("span", {
873
878
  "aria-hidden": !0,
874
879
  className: "ai-chain-of-thought--marker flex shrink-0 flex-col items-center",
875
- children: [/* @__PURE__ */ M(g, {
880
+ children: [/* @__PURE__ */ N(_, {
876
881
  tone: o.tone,
877
882
  solid: o.solid,
878
883
  size: "sm",
879
- children: /* @__PURE__ */ M(s, { className: n(o.spin && "animate-spin") })
880
- }), !l && /* @__PURE__ */ M("span", { className: "ai-chain-of-thought--rail w-px flex-1 bg-border/60" })]
881
- }), /* @__PURE__ */ N(c, {
884
+ children: /* @__PURE__ */ N(s, { className: n(o.spin && "animate-spin") })
885
+ }), !l && /* @__PURE__ */ N("span", { className: "ai-chain-of-thought--rail w-px flex-1 bg-border/60" })]
886
+ }), /* @__PURE__ */ P(c, {
882
887
  gap: "md",
883
888
  className: n("min-w-0 flex-1", !l && "pb-space-lg"),
884
- children: [/* @__PURE__ */ N(c, {
889
+ children: [/* @__PURE__ */ P(c, {
885
890
  gap: "dense",
886
- children: [/* @__PURE__ */ M(i, {
891
+ children: [/* @__PURE__ */ N(i, {
887
892
  weight: a === "active" ? "semibold" : "medium",
888
893
  type: a === "pending" ? "secondary" : "inherit",
889
894
  children: t.title
890
- }), !!t.description && /* @__PURE__ */ M(i, {
895
+ }), !!t.description && /* @__PURE__ */ N(i, {
891
896
  size: "xs",
892
897
  type: "secondary",
893
898
  children: t.description
894
899
  })]
895
- }), !!t.body && /* @__PURE__ */ M("div", {
900
+ }), !!t.body && /* @__PURE__ */ N("div", {
896
901
  className: "ai-chain-of-thought--step-body min-w-0",
897
902
  children: t.body
898
903
  })]
@@ -903,10 +908,10 @@ function Ae({ steps: e, hideHeader: r = !1, streaming: o = !1, className: s, str
903
908
  })
904
909
  });
905
910
  }
906
- Ae.displayName = "AiChainOfThought";
911
+ Ne.displayName = "AiChainOfThought";
907
912
  //#endregion
908
913
  //#region src/components/blocks/ai/ai-task/types.ts
909
- var je = {
914
+ var Pe = {
910
915
  statusLabels: {
911
916
  queued: "Queued",
912
917
  running: "Running",
@@ -917,7 +922,7 @@ var je = {
917
922
  },
918
923
  collapseSubtasks: "Collapse subtasks",
919
924
  expandSubtasks: "Expand subtasks"
920
- }, Me = {
925
+ }, Fe = {
921
926
  queued: {
922
927
  icon: te,
923
928
  cls: "text-muted-foreground"
@@ -928,22 +933,22 @@ var je = {
928
933
  spin: !0
929
934
  },
930
935
  completed: {
931
- icon: I,
936
+ icon: L,
932
937
  cls: "text-success"
933
938
  },
934
939
  failed: {
935
- icon: P,
940
+ icon: F,
936
941
  cls: "text-destructive"
937
942
  },
938
943
  cancelled: {
939
- icon: le,
944
+ icon: ue,
940
945
  cls: "text-muted-foreground"
941
946
  },
942
947
  skipped: {
943
- icon: oe,
948
+ icon: se,
944
949
  cls: "text-muted-foreground"
945
950
  }
946
- }, Ne = {
951
+ }, Ie = {
947
952
  queued: "secondary",
948
953
  running: "info",
949
954
  completed: "success",
@@ -951,83 +956,115 @@ var je = {
951
956
  cancelled: "secondary",
952
957
  skipped: "secondary"
953
958
  };
954
- function Pe({ task: e, density: r = "compact", indent: i = 18, className: a, strings: o }) {
955
- let s = t(je, o);
956
- return /* @__PURE__ */ M(u, {
959
+ function Le({ task: e, density: r = "compact", indent: i = 18, className: a, strings: o }) {
960
+ let s = t(Pe, o), c = {
961
+ status: Q(e, (e) => Z(e.status ?? "queued")),
962
+ slot: Q(e, (e) => e.rightSlot != null && e.rightSlot !== !1)
963
+ };
964
+ return /* @__PURE__ */ N(u, {
957
965
  surface: "card",
958
966
  padding: "none",
959
967
  className: n("ai-task--component", a),
960
- children: /* @__PURE__ */ M(Fe, {
961
- item: e,
962
- depth: 0,
963
- density: r,
964
- indent: i,
965
- strings: s
968
+ children: /* @__PURE__ */ N("div", {
969
+ className: n("ai-task--rows grid gap-x-space-md", Re[Number(c.status) + Number(c.slot)]),
970
+ children: /* @__PURE__ */ N(ze, {
971
+ item: e,
972
+ depth: 0,
973
+ density: r,
974
+ indent: i,
975
+ columns: c,
976
+ strings: s
977
+ })
966
978
  })
967
979
  });
968
980
  }
969
- Pe.displayName = "AiTask";
970
- function Fe({ item: e, depth: t, density: a, indent: o, strings: s }) {
971
- let c = e.status ?? "queued", l = Me[c], u = e.icon ?? l.icon, d = !!e.children?.length, [f, p] = A(a === "expanded" || t === 0), m = c === "queued" || c === "cancelled" || c === "skipped";
972
- return /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ N("div", {
973
- className: n("ai-task--row grid grid-cols-[auto_minmax(0,1fr)] items-center gap-x-space-md gap-y-space-md px-row-x py-row-y", t > 0 && "border-t border-border/60"),
974
- style: { paddingInlineStart: `calc(var(--row-x) * var(--space-scale) + ${t * o}px)` },
981
+ function Z(e) {
982
+ return e !== "completed";
983
+ }
984
+ function Q(e, t) {
985
+ return t(e) || !!e.children?.some((e) => Q(e, t));
986
+ }
987
+ var Re = [
988
+ "grid-cols-1",
989
+ "grid-cols-[minmax(0,1fr)_auto]",
990
+ "grid-cols-[minmax(0,1fr)_auto_auto]"
991
+ ];
992
+ Le.displayName = "AiTask";
993
+ function ze({ item: e, depth: t, density: a, indent: o, columns: s, strings: c }) {
994
+ let l = e.status ?? "queued", u = Fe[l], d = e.icon ?? u.icon, f = !!e.children?.length, [p, m] = j(a === "expanded" || t === 0), h = l === "queued" || l === "cancelled" || l === "skipped";
995
+ return /* @__PURE__ */ P(M, { children: [/* @__PURE__ */ P("div", {
996
+ className: n("ai-task--row col-span-full grid grid-cols-subgrid items-start px-row-x py-row-y", t > 0 && "border-t border-border/60"),
975
997
  children: [
976
- /* @__PURE__ */ N("span", {
977
- className: "ai-task--marker flex items-center gap-space-md",
978
- children: [d ? /* @__PURE__ */ M(r, {
979
- type: "button",
980
- tone: "secondary",
981
- buttonStyle: "ghost",
982
- size: "sm",
983
- iconOnly: !0,
984
- onClick: () => p((e) => !e),
985
- "aria-expanded": f,
986
- "aria-label": f ? s.collapseSubtasks : s.expandSubtasks,
987
- className: "ai-task--toggle",
988
- children: M(f ? L : R, {
989
- "aria-hidden": "true",
990
- className: "size-icon-md"
991
- })
992
- }) : t > 0 && /* @__PURE__ */ M("span", {
993
- "aria-hidden": !0,
994
- className: "w-action-sm shrink-0"
995
- }), /* @__PURE__ */ M(u, {
996
- "aria-hidden": "true",
997
- className: n("size-icon-md shrink-0", l.cls, l.spin && "animate-spin")
998
- })]
999
- }),
1000
- /* @__PURE__ */ N("div", {
1001
- className: "flex min-w-0 items-center gap-space-md",
998
+ /* @__PURE__ */ P("div", {
999
+ className: "ai-task--lead grid min-w-0 grid-cols-[auto_minmax(0,1fr)] items-center gap-x-space-md gap-y-space-md",
1000
+ style: t > 0 ? { paddingInlineStart: `${t * o}px` } : void 0,
1002
1001
  children: [
1003
- /* @__PURE__ */ M(i, {
1004
- weight: c === "running" ? "semibold" : "medium",
1005
- type: m ? "secondary" : "inherit",
1006
- className: n("flex-1 truncate", c === "cancelled" && "line-through"),
1007
- children: e.title
1002
+ /* @__PURE__ */ P("span", {
1003
+ className: "ai-task--marker flex min-h-action-sm items-center gap-space-md",
1004
+ children: [f ? /* @__PURE__ */ N(r, {
1005
+ type: "button",
1006
+ tone: "secondary",
1007
+ buttonStyle: "ghost",
1008
+ size: "sm",
1009
+ iconOnly: !0,
1010
+ onClick: () => m((e) => !e),
1011
+ "aria-expanded": p,
1012
+ "aria-label": p ? c.collapseSubtasks : c.expandSubtasks,
1013
+ className: "ai-task--toggle",
1014
+ children: N(p ? R : z, {
1015
+ "aria-hidden": "true",
1016
+ className: "size-icon-md"
1017
+ })
1018
+ }) : t > 0 && /* @__PURE__ */ N("span", {
1019
+ "aria-hidden": !0,
1020
+ className: "w-action-sm shrink-0"
1021
+ }), /* @__PURE__ */ N(d, {
1022
+ "aria-hidden": "true",
1023
+ className: n("size-icon-md shrink-0", u.cls, u.spin && "animate-spin")
1024
+ })]
1008
1025
  }),
1009
- /* @__PURE__ */ M(_, {
1010
- tone: Ne[c],
1011
- children: s.statusLabels[c]
1026
+ /* @__PURE__ */ N(i, {
1027
+ weight: l === "running" ? "semibold" : "medium",
1028
+ type: h ? "secondary" : "inherit",
1029
+ className: n("ai-task--title min-w-0 truncate", l === "cancelled" && "line-through"),
1030
+ children: e.title
1012
1031
  }),
1013
- !!e.rightSlot && /* @__PURE__ */ M("span", {
1014
- className: "tabular-nums text-muted-foreground",
1015
- children: e.rightSlot
1032
+ !!e.body && /* @__PURE__ */ N("div", {
1033
+ className: "ai-task--body col-start-2 min-w-0",
1034
+ children: e.body
1016
1035
  })
1017
1036
  ]
1018
1037
  }),
1019
- !!e.body && /* @__PURE__ */ M("div", {
1020
- className: "ai-task--body col-start-2 min-w-0",
1021
- children: e.body
1038
+ s.status && /* @__PURE__ */ N("span", {
1039
+ className: "ai-task--status flex min-h-action-sm items-center justify-end",
1040
+ children: Z(l) ? /* @__PURE__ */ N(v, {
1041
+ tone: Ie[l],
1042
+ children: c.statusLabels[l]
1043
+ }) : /* @__PURE__ */ N("span", {
1044
+ className: "sr-only",
1045
+ children: c.statusLabels[l]
1046
+ })
1047
+ }),
1048
+ !s.status && !Z(l) && /* @__PURE__ */ N("span", {
1049
+ className: "sr-only",
1050
+ children: c.statusLabels[l]
1051
+ }),
1052
+ s.slot && /* @__PURE__ */ N("span", {
1053
+ className: "ai-task--slot flex min-h-action-sm items-center justify-end tabular-nums text-muted-foreground",
1054
+ children: e.rightSlot
1022
1055
  })
1023
1056
  ]
1024
- }), d && f && /* @__PURE__ */ M("div", { children: e.children.map((e) => /* @__PURE__ */ M(Fe, {
1025
- item: e,
1026
- depth: t + 1,
1027
- density: a,
1028
- indent: o,
1029
- strings: s
1030
- }, e.id)) })] });
1057
+ }), f && p && /* @__PURE__ */ N("div", {
1058
+ className: "ai-task--children col-span-full grid grid-cols-subgrid",
1059
+ children: e.children.map((e) => /* @__PURE__ */ N(ze, {
1060
+ item: e,
1061
+ depth: t + 1,
1062
+ density: a,
1063
+ indent: o,
1064
+ columns: s,
1065
+ strings: c
1066
+ }, e.id))
1067
+ })] });
1031
1068
  }
1032
1069
  //#endregion
1033
1070
  //#region src/components/blocks/ai/ai-artifact/types.ts
@@ -1042,54 +1079,54 @@ var $ = {
1042
1079
  };
1043
1080
  //#endregion
1044
1081
  //#region src/components/blocks/ai/ai-artifact/ai-artifact.tsx
1045
- function Ie({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapsed: d = !1, onOpen: f, actions: p, onDownload: m, onCopyError: h, className: _, strings: v }) {
1046
- let y = t($, v), b = o ?? ie, { copied: x, failed: S, copy: C } = H(h, s);
1047
- return /* @__PURE__ */ N(u, {
1082
+ function Be({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapsed: d = !1, onOpen: f, actions: p, onDownload: m, onCopyError: h, className: g, strings: v }) {
1083
+ let y = t($, v), b = o ?? ae, { copied: x, failed: S, copy: C } = H(h, s);
1084
+ return /* @__PURE__ */ P(u, {
1048
1085
  surface: "card",
1049
1086
  padding: "none",
1050
- className: n("ai-artifact--component", _),
1087
+ className: n("ai-artifact--component", g),
1051
1088
  children: [
1052
- /* @__PURE__ */ M("div", {
1089
+ /* @__PURE__ */ N("div", {
1053
1090
  className: "ai-artifact--header @container/ai-artifact-header border-b border-border/60 bg-muted/50 p-surface",
1054
- children: /* @__PURE__ */ N(c, {
1091
+ children: /* @__PURE__ */ P(c, {
1055
1092
  direction: "horizontal",
1056
1093
  align: "center",
1057
1094
  gap: "lg",
1058
- children: [/* @__PURE__ */ N("div", {
1095
+ children: [/* @__PURE__ */ P("div", {
1059
1096
  className: "ai-artifact--identity flex min-w-0 basis-full items-center gap-space-lg @sm/ai-artifact-header:flex-1 @sm/ai-artifact-header:basis-0",
1060
- children: [/* @__PURE__ */ M(g, {
1097
+ children: [/* @__PURE__ */ N(_, {
1061
1098
  icon: b,
1062
1099
  tone: "neutral",
1063
1100
  size: "md",
1064
1101
  shape: "square"
1065
- }), /* @__PURE__ */ N("div", {
1102
+ }), /* @__PURE__ */ P("div", {
1066
1103
  className: "min-w-0 flex-1",
1067
- children: [/* @__PURE__ */ M(i, {
1104
+ children: [/* @__PURE__ */ N(i, {
1068
1105
  type: "inherit",
1069
1106
  weight: "semibold",
1070
1107
  className: "break-words",
1071
1108
  children: e
1072
- }), !!a && /* @__PURE__ */ M(i, {
1109
+ }), !!a && /* @__PURE__ */ N(i, {
1073
1110
  size: "xs",
1074
1111
  type: "secondary",
1075
1112
  className: "break-words",
1076
1113
  children: a
1077
1114
  })]
1078
1115
  })]
1079
- }), /* @__PURE__ */ N("div", {
1116
+ }), /* @__PURE__ */ P("div", {
1080
1117
  className: "ai-artifact--actions flex flex-wrap items-center gap-space-xs",
1081
1118
  children: [
1082
1119
  p?.map((e) => {
1083
1120
  let t = e.icon;
1084
- return /* @__PURE__ */ N(r, {
1121
+ return /* @__PURE__ */ P(r, {
1085
1122
  type: "button",
1086
1123
  tone: "secondary",
1087
1124
  buttonStyle: "ghost",
1088
1125
  onClick: e.onSelect,
1089
- children: [!!t && /* @__PURE__ */ M(t, { className: "size-icon-md" }), e.label]
1126
+ children: [!!t && /* @__PURE__ */ N(t, { className: "size-icon-md" }), e.label]
1090
1127
  }, e.id);
1091
1128
  }),
1092
- !!s && /* @__PURE__ */ M(r, {
1129
+ !!s && /* @__PURE__ */ N(r, {
1093
1130
  type: "button",
1094
1131
  tone: "secondary",
1095
1132
  buttonStyle: "ghost",
@@ -1099,9 +1136,9 @@ function Ie({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapse
1099
1136
  onClick: async () => {
1100
1137
  s && await C(s);
1101
1138
  },
1102
- children: x ? /* @__PURE__ */ M(I, { className: "size-icon-md text-success" }) : /* @__PURE__ */ M(ne, { className: "size-icon-md" })
1139
+ children: x ? /* @__PURE__ */ N(L, { className: "size-icon-md text-success" }) : /* @__PURE__ */ N(ne, { className: "size-icon-md" })
1103
1140
  }),
1104
- !!m && /* @__PURE__ */ M(r, {
1141
+ !!m && /* @__PURE__ */ N(r, {
1105
1142
  type: "button",
1106
1143
  tone: "secondary",
1107
1144
  buttonStyle: "ghost",
@@ -1109,9 +1146,9 @@ function Ie({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapse
1109
1146
  iconOnly: !0,
1110
1147
  "aria-label": y.downloadAria,
1111
1148
  onClick: m,
1112
- children: /* @__PURE__ */ M(re, { className: "size-icon-md" })
1149
+ children: /* @__PURE__ */ N(re, { className: "size-icon-md" })
1113
1150
  }),
1114
- !!f && /* @__PURE__ */ M(r, {
1151
+ !!f && /* @__PURE__ */ N(r, {
1115
1152
  type: "button",
1116
1153
  tone: "secondary",
1117
1154
  buttonStyle: "ghost",
@@ -1119,19 +1156,19 @@ function Ie({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapse
1119
1156
  iconOnly: !0,
1120
1157
  "aria-label": y.openAria,
1121
1158
  onClick: f,
1122
- children: /* @__PURE__ */ M(z, { className: "size-icon-md" })
1159
+ children: /* @__PURE__ */ N(ie, { className: "size-icon-md" })
1123
1160
  })
1124
1161
  ]
1125
1162
  })]
1126
1163
  })
1127
1164
  }),
1128
- !d && !!l && /* @__PURE__ */ M("div", {
1129
- className: "ai-artifact--body min-w-0",
1165
+ !d && !!l && /* @__PURE__ */ N("div", {
1166
+ className: "ai-artifact--body min-w-0 [&>.code-block--component]:rounded-none [&>.code-block--component]:border-0",
1130
1167
  children: l
1131
1168
  }),
1132
- S && /* @__PURE__ */ M("div", {
1169
+ S && /* @__PURE__ */ N("div", {
1133
1170
  className: "px-control py-row-y",
1134
- children: /* @__PURE__ */ M(i, {
1171
+ children: /* @__PURE__ */ N(i, {
1135
1172
  role: "alert",
1136
1173
  size: "xs",
1137
1174
  type: "error",
@@ -1141,8 +1178,8 @@ function Ie({ title: e, subtitle: a, icon: o, copyText: s, children: l, collapse
1141
1178
  ]
1142
1179
  });
1143
1180
  }
1144
- Ie.displayName = "AiArtifact";
1181
+ Be.displayName = "AiArtifact";
1145
1182
  //#endregion
1146
- export { U as C, W as S, X as _, Ae as a, K as b, Ee as c, ve as d, ge as f, Z as g, fe as h, je as i, xe as l, pe as m, $ as n, Q as o, he as p, Pe as r, Oe as s, Ie as t, ye as u, Y as v, G as x, J as y };
1183
+ export { U as C, W as S, me as _, Ne as a, K as b, ke as c, xe as d, ye as f, Y as g, he as h, Pe as i, we as l, ge as m, $ as n, je as o, ve as p, Le as r, X as s, Be as t, Se as u, pe as v, G as x, J as y };
1147
1184
 
1148
- //# sourceMappingURL=ai-artifact-DvTwDVyL.js.map
1185
+ //# sourceMappingURL=ai-artifact-C58tQcBy.js.map