themelia-react-ui 1.0.2 → 2.0.1

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 (748) hide show
  1. package/CHANGELOG.md +632 -1
  2. package/README.md +31 -13
  3. package/dist/accordion-B6a3vVgA.js +207 -0
  4. package/dist/accordion-B6a3vVgA.js.map +1 -0
  5. package/dist/action-menu-TzCoSlwL.js +280 -0
  6. package/dist/action-menu-TzCoSlwL.js.map +1 -0
  7. package/dist/{affordance-geometry.generated-CL84ZN9A.js → affordance-geometry.generated-B5iu-Mkr.js} +9 -3
  8. package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +1 -0
  9. package/dist/{ai-artifact-DLVdK0Py.js → ai-artifact-BMJdv-6q.js} +389 -391
  10. package/dist/ai-artifact-BMJdv-6q.js.map +1 -0
  11. package/dist/{app-shell-C_fKpljx.js → app-shell-ZK5RWdo6.js} +4 -4
  12. package/dist/{app-shell-C_fKpljx.js.map → app-shell-ZK5RWdo6.js.map} +1 -1
  13. package/dist/attachment-BtfhGm8i.js +245 -0
  14. package/dist/attachment-BtfhGm8i.js.map +1 -0
  15. package/dist/{auth-CAQcasMV.js → auth-CYxKfo69.js} +239 -237
  16. package/dist/auth-CYxKfo69.js.map +1 -0
  17. package/dist/{avatar-Bu2HhitA.js → avatar-BBnEJIx8.js} +71 -68
  18. package/dist/avatar-BBnEJIx8.js.map +1 -0
  19. package/dist/badge-MrKVNzW9.js +93 -0
  20. package/dist/badge-MrKVNzW9.js.map +1 -0
  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 +3 -0
  27. package/dist/base/buttons.js +2 -3
  28. package/dist/base/cards.js +2 -2
  29. package/dist/base/carousel.js +19 -19
  30. package/dist/base/carousel.js.map +1 -1
  31. package/dist/base/cascader.js +234 -224
  32. package/dist/base/cascader.js.map +1 -1
  33. package/dist/base/chart.js +1 -1
  34. package/dist/base/choice-inputs.js +3 -3
  35. package/dist/base/code-block.js +1 -1
  36. package/dist/base/combobox.js +1 -1
  37. package/dist/base/command.js +1 -1
  38. package/dist/base/copyable.js +1 -1
  39. package/dist/base/date-pickers.js +2 -2
  40. package/dist/base/display.js +7 -7
  41. package/dist/base/feedback.js +3 -3
  42. package/dist/base/forms-numeric.js +1 -1
  43. package/dist/base/forms.js +2 -2
  44. package/dist/base/inline-edit.js +81 -76
  45. package/dist/base/inline-edit.js.map +1 -1
  46. package/dist/base/item.js +1 -1
  47. package/dist/base/media-gallery.js +1 -1
  48. package/dist/base/metadata-list.js +3 -0
  49. package/dist/base/navigation.js +7 -7
  50. package/dist/base/popover-menu.js +1 -1
  51. package/dist/base/popover.js +1 -1
  52. package/dist/base/qr-code.js +7 -4
  53. package/dist/base/qr-code.js.map +1 -1
  54. package/dist/base/repeaters.js +175 -174
  55. package/dist/base/repeaters.js.map +1 -1
  56. package/dist/base/sheet.js +1 -1
  57. package/dist/base/sidebar.js +1 -1
  58. package/dist/base/signature-pad.js +148 -138
  59. package/dist/base/signature-pad.js.map +1 -1
  60. package/dist/base/skeleton.js +1 -1
  61. package/dist/base/spinner.js +1 -1
  62. package/dist/base/structure.js +1 -1
  63. package/dist/base/table.js +1 -1
  64. package/dist/base/text-inputs.js +2 -2
  65. package/dist/base/toaster.js +4 -4
  66. package/dist/base/toaster.js.map +1 -1
  67. package/dist/base/tree.js +1 -1
  68. package/dist/base/upload-queue.js +1 -1
  69. package/dist/base/upload.js +3 -3
  70. package/dist/base/value-inputs.js +2 -2
  71. package/dist/batch-action-bar-BZGDG-Si.js +104 -0
  72. package/dist/batch-action-bar-BZGDG-Si.js.map +1 -0
  73. package/dist/blocks/admin.js +264 -253
  74. package/dist/blocks/admin.js.map +1 -1
  75. package/dist/blocks/ai.js +293 -323
  76. package/dist/blocks/ai.js.map +1 -1
  77. package/dist/blocks/analytics/usage-card.js +1 -1
  78. package/dist/blocks/analytics.js +596 -587
  79. package/dist/blocks/analytics.js.map +1 -1
  80. package/dist/blocks/collaboration.js +1 -1
  81. package/dist/blocks/commerce/receipt.js +1 -1
  82. package/dist/blocks/commerce.js +2246 -1693
  83. package/dist/blocks/commerce.js.map +1 -1
  84. package/dist/blocks/data-display.js +3 -2
  85. package/dist/blocks/onboarding.js +50 -49
  86. package/dist/blocks/onboarding.js.map +1 -1
  87. package/dist/blocks/planning.js +82 -91
  88. package/dist/blocks/planning.js.map +1 -1
  89. package/dist/blocks/timelines.js +1 -1
  90. package/dist/breadcrumbs-D5t7I023.js +129 -0
  91. package/dist/breadcrumbs-D5t7I023.js.map +1 -0
  92. package/dist/{button-BZyfTvwm.js → button-QYwiyhD2.js} +15 -14
  93. package/dist/button-QYwiyhD2.js.map +1 -0
  94. package/dist/buttons-SbIcm1HJ.js +661 -0
  95. package/dist/buttons-SbIcm1HJ.js.map +1 -0
  96. package/dist/{cards-qGSErLw_.js → cards-CiiHpKYd.js} +8 -8
  97. package/dist/cards-CiiHpKYd.js.map +1 -0
  98. package/dist/{chart-Bsc5BICK.js → chart-QfrARkXl.js} +17 -15
  99. package/dist/chart-QfrARkXl.js.map +1 -0
  100. package/dist/checkbox-DhB6K0bK.js +36 -0
  101. package/dist/checkbox-DhB6K0bK.js.map +1 -0
  102. package/dist/choice-inputs-t6w3ATNz.js +766 -0
  103. package/dist/choice-inputs-t6w3ATNz.js.map +1 -0
  104. package/dist/code-block-Dgbu-CU3.js +185 -0
  105. package/dist/code-block-Dgbu-CU3.js.map +1 -0
  106. package/dist/{collapsible-ClvC7Bj3.js → collapsible-D8AEGU1-.js} +4 -4
  107. package/dist/{collapsible-ClvC7Bj3.js.map → collapsible-D8AEGU1-.js.map} +1 -1
  108. package/dist/{collection-content-D6S8cv_n.js → collection-content-uK16Grv0.js} +3 -3
  109. package/dist/{collection-content-D6S8cv_n.js.map → collection-content-uK16Grv0.js.map} +1 -1
  110. package/dist/{combobox-BFnbJJp3.js → combobox-2Ic8N9bL.js} +103 -98
  111. package/dist/combobox-2Ic8N9bL.js.map +1 -0
  112. package/dist/combobox-DLl0bfiq.js +867 -0
  113. package/dist/combobox-DLl0bfiq.js.map +1 -0
  114. package/dist/{command-BnmSchli.js → command-kNR20o7x.js} +34 -30
  115. package/dist/command-kNR20o7x.js.map +1 -0
  116. package/dist/{comments-u5L0OGip.js → comments-BpDuCUUu.js} +304 -301
  117. package/dist/comments-BpDuCUUu.js.map +1 -0
  118. package/dist/components/base/accordion/accordion-variants.d.ts +3 -3
  119. package/dist/components/base/action-menu/action-menu.d.ts +27 -5
  120. package/dist/components/base/action-menu/action-menu.recipes.d.ts +21 -0
  121. package/dist/components/base/action-menu/index.d.ts +1 -0
  122. package/dist/components/base/avatar/stacked-avatars.d.ts +5 -4
  123. package/dist/components/base/badge/badge.d.ts +1 -1
  124. package/dist/components/base/badge/badge.recipes.d.ts +6 -6
  125. package/dist/components/base/batch-action-bar/batch-action-bar.d.ts +50 -0
  126. package/dist/components/base/batch-action-bar/batch-action-bar.strings.d.ts +20 -0
  127. package/dist/components/base/batch-action-bar/index.d.ts +8 -0
  128. package/dist/components/base/buttons/base-button.d.ts +7 -0
  129. package/dist/components/base/buttons/button-group.recipes.d.ts +2 -2
  130. package/dist/components/base/buttons/button.recipes.d.ts +2 -2
  131. package/dist/components/base/buttons/button.variants.d.ts +1 -0
  132. package/dist/components/base/buttons/loader-button.d.ts +3 -1
  133. package/dist/components/base/buttons/text-button.d.ts +2 -2
  134. package/dist/components/base/carousel/carousel.d.ts +3 -1
  135. package/dist/components/base/chart/chart.d.ts +7 -7
  136. package/dist/components/base/choice-inputs/checkbox.d.ts +6 -7
  137. package/dist/components/base/choice-inputs/choice-types.d.ts +24 -3
  138. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +9 -0
  139. package/dist/components/base/choice-inputs/select-popup.d.ts +9 -1
  140. package/dist/components/base/choice-inputs/switch-card.d.ts +1 -1
  141. package/dist/components/base/date-pickers/date-picker-field.d.ts +23 -0
  142. package/dist/components/base/date-pickers/datepicker.types.d.ts +13 -3
  143. package/dist/components/base/display/alert-dialog.d.ts +10 -3
  144. package/dist/components/base/display/content-block.d.ts +4 -2
  145. package/dist/components/base/display/date-block.d.ts +1 -1
  146. package/dist/components/base/display/dialog.d.ts +8 -5
  147. package/dist/components/base/display/icon-badge/icon-badge.d.ts +1 -1
  148. package/dist/components/base/display/surface-title.d.ts +6 -1
  149. package/dist/components/base/feedback/alert.d.ts +1 -1
  150. package/dist/components/base/feedback/state-display.d.ts +5 -4
  151. package/dist/components/base/forms/form-sizing.d.ts +43 -8
  152. package/dist/components/base/forms/workflow.d.ts +2 -0
  153. package/dist/components/base/forms-numeric/coordinates-input.d.ts +3 -0
  154. package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +4 -1
  155. package/dist/components/base/metadata-list/index.d.ts +12 -0
  156. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.d.ts +28 -25
  157. package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-value.d.ts +2 -2
  158. package/dist/components/base/navigation/dropdown-menu.d.ts +2 -2
  159. package/dist/components/base/navigation/index.d.ts +1 -1
  160. package/dist/components/base/navigation/language-switcher.d.ts +4 -1
  161. package/dist/components/base/navigation/overflow-tab-bar.d.ts +7 -0
  162. package/dist/components/base/navigation/page-header/index.d.ts +1 -0
  163. package/dist/components/base/navigation/page-header/page-header-commands.d.ts +73 -0
  164. package/dist/components/base/navigation/page-header/page-header.d.ts +30 -4
  165. package/dist/components/base/qr-code/qr-code.d.ts +2 -0
  166. package/dist/components/base/sheet/index.d.ts +29 -1
  167. package/dist/components/base/sheet/sheet.d.ts +10 -5
  168. package/dist/components/base/signature-pad/signature-pad.types.d.ts +5 -1
  169. package/dist/components/base/signature-pad/signature-pad.utils.d.ts +11 -3
  170. package/dist/components/base/spinner/spinner.d.ts +3 -2
  171. package/dist/components/base/structure/structure.types.d.ts +1 -1
  172. package/dist/components/base/text-inputs/field-clear-button.d.ts +6 -0
  173. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  174. package/dist/components/base/upload/upload.recipes.d.ts +33 -0
  175. package/dist/components/base/value-inputs/date-time-input.d.ts +4 -2
  176. package/dist/components/base/value-inputs/index.d.ts +5 -5
  177. package/dist/components/base/value-inputs/tags-input.d.ts +38 -12
  178. package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +1 -1
  179. package/dist/components/blocks/analytics/format-metric-value.d.ts +11 -1
  180. package/dist/components/blocks/analytics/index.d.ts +1 -1
  181. package/dist/components/blocks/analytics/use-metric-format-options.d.ts +3 -0
  182. package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
  183. package/dist/components/blocks/commerce/address-card/types.d.ts +4 -1
  184. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +4 -0
  185. package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +2 -2
  186. package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +3 -1
  187. package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
  188. package/dist/components/blocks/commerce/cart-summary/types.d.ts +6 -1
  189. package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +3 -1
  190. package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
  191. package/dist/components/blocks/commerce/discount-stack/types.d.ts +16 -4
  192. package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +5 -0
  193. package/dist/components/blocks/commerce/fulfillment-group/index.d.ts +2 -0
  194. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +43 -0
  195. package/dist/components/blocks/commerce/index.d.ts +13 -5
  196. package/dist/components/blocks/commerce/inventory-section/types.d.ts +4 -1
  197. package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +1 -1
  198. package/dist/components/blocks/commerce/invoice-header/types.d.ts +4 -2
  199. package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +1 -1
  200. package/dist/components/blocks/commerce/invoice-mini/types.d.ts +2 -1
  201. package/dist/components/blocks/commerce/loyalty-points/types.d.ts +1 -1
  202. package/dist/components/blocks/commerce/order-customer/index.d.ts +2 -0
  203. package/dist/components/blocks/commerce/order-customer/order-customer.d.ts +5 -0
  204. package/dist/components/blocks/commerce/order-customer/types.d.ts +48 -0
  205. package/dist/components/blocks/commerce/order-header/index.d.ts +2 -0
  206. package/dist/components/blocks/commerce/order-header/order-header.d.ts +5 -0
  207. package/dist/components/blocks/commerce/order-header/types.d.ts +37 -0
  208. package/dist/components/blocks/commerce/order-line-item/index.d.ts +2 -0
  209. package/dist/components/blocks/commerce/order-line-item/order-line-item.d.ts +5 -0
  210. package/dist/components/blocks/commerce/order-line-item/types.d.ts +46 -0
  211. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  212. package/dist/components/blocks/commerce/order-summary/index.d.ts +2 -0
  213. package/dist/components/blocks/commerce/order-summary/order-summary.d.ts +5 -0
  214. package/dist/components/blocks/commerce/order-summary/types.d.ts +42 -0
  215. package/dist/components/blocks/commerce/order-transactions/index.d.ts +2 -0
  216. package/dist/components/blocks/commerce/order-transactions/order-transactions.d.ts +5 -0
  217. package/dist/components/blocks/commerce/order-transactions/types.d.ts +46 -0
  218. package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
  219. package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +9 -1
  220. package/dist/components/blocks/commerce/payment-method/types.d.ts +14 -1
  221. package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
  222. package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +3 -1
  223. package/dist/components/blocks/commerce/refund-status/types.d.ts +6 -3
  224. package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +1 -1
  225. package/dist/components/blocks/commerce/seo-listing/types.d.ts +3 -1
  226. package/dist/components/blocks/commerce/shared/address-lines.d.ts +21 -0
  227. package/dist/components/blocks/commerce/shared/line-thumbnail.d.ts +9 -0
  228. package/dist/components/blocks/commerce/shared/order-status.d.ts +51 -0
  229. package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +1 -1
  230. package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +27 -6
  231. package/dist/components/blocks/commerce/summary-panel/amount-row.d.ts +2 -0
  232. package/dist/components/blocks/commerce/summary-panel/index.d.ts +3 -0
  233. package/dist/components/blocks/commerce/summary-panel/summary-panel.d.ts +2 -0
  234. package/dist/components/blocks/commerce/summary-panel/types.d.ts +26 -0
  235. package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +1 -1
  236. package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +2 -1
  237. package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -1
  238. package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +4 -1
  239. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +4 -1
  240. package/dist/components/blocks/data-display/metadata/index.d.ts +30 -4
  241. package/dist/components/features/activities/partials/activity-row.d.ts +6 -2
  242. package/dist/components/features/activities/partials/tone-tokens.d.ts +0 -6
  243. package/dist/components/features/global-search/partials/global-search-group-heading.d.ts +15 -0
  244. package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +1 -1
  245. package/dist/components/features/global-search/partials/tone-palettes.d.ts +0 -5
  246. package/dist/components/features/kanban/kanban.d.ts +1 -1
  247. package/dist/components/features/kanban/kanban.strings.d.ts +1 -1
  248. package/dist/components/features/kanban/kanban.types.d.ts +2 -2
  249. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  250. package/dist/components/features/media-library/index.d.ts +1 -1
  251. package/dist/components/features/media-library/media-library.d.ts +1 -1
  252. package/dist/components/features/media-library/media-library.strings.d.ts +4 -0
  253. package/dist/components/features/media-library/media-library.types.d.ts +74 -1
  254. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  255. package/dist/components/features/mentions/partials/mention-kind-toggles.d.ts +16 -0
  256. package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
  257. package/dist/components/features/overlays/dialog.d.ts +1 -1
  258. package/dist/components/features/overlays/drawer.d.ts +1 -1
  259. package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +2 -2
  260. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +11 -4
  261. package/dist/components/features/overlays/index.d.ts +1 -1
  262. package/dist/components/features/overlays/overlay-tone-icon.d.ts +37 -0
  263. package/dist/components/features/overlays/overlays.types.d.ts +62 -19
  264. package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
  265. package/dist/components/features/products/components/product-details-card.d.ts +5 -0
  266. package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
  267. package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
  268. package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
  269. package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
  270. package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
  271. package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
  272. package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
  273. package/dist/components/features/products/components/product-variant-action-menu.d.ts +23 -1
  274. package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
  275. package/dist/components/features/products/partials/index.d.ts +1 -1
  276. package/dist/components/features/products/partials/product-metric-tile.d.ts +6 -0
  277. package/dist/components/features/products/partials/product-tone.d.ts +11 -1
  278. package/dist/components/features/products/products.types.d.ts +11 -3
  279. package/dist/components/features/resource/index.d.ts +1 -1
  280. package/dist/components/features/resource/resource.d.ts +1 -1
  281. package/dist/components/features/resource/resource.types.d.ts +34 -6
  282. package/dist/components/features/rich-text-editor/index.d.ts +2 -1
  283. package/dist/components/features/rich-text-editor/partials/image-nodes.d.ts +13 -0
  284. package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +66 -0
  285. package/dist/components/features/rich-text-editor/partials/inline-reference-node.d.ts +19 -0
  286. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
  287. package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +14 -0
  288. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +45 -0
  289. package/dist/components/features/rich-text-editor/use-rich-text-images.d.ts +18 -0
  290. package/dist/components/features/sync/index.d.ts +26 -3
  291. package/dist/components/features/table/data-table.d.ts +1 -1
  292. package/dist/components/features/table/partials/cell-renderers.d.ts +1 -1
  293. package/dist/components/features/table/table.types.d.ts +32 -7
  294. package/dist/components/layout/page/index.d.ts +1 -1
  295. package/dist/components/layout/page/page.types.d.ts +51 -4
  296. package/dist/components/layout/page/partials/page-actions.d.ts +1 -0
  297. package/dist/components/layout/page/partials/page-header.d.ts +1 -1
  298. package/dist/components/layout/settings/settings.d.ts +16 -2
  299. package/dist/components/layout/workspace/workspace.types.d.ts +21 -4
  300. package/dist/components/primitives/date.d.ts +16 -3
  301. package/dist/components/primitives/dimensions.d.ts +6 -0
  302. package/dist/components/primitives/duration.d.ts +6 -0
  303. package/dist/components/primitives/file-size.d.ts +6 -0
  304. package/dist/components/primitives/index.d.ts +1 -1
  305. package/dist/components/primitives/initials.d.ts +11 -2
  306. package/dist/components/primitives/link.d.ts +7 -0
  307. package/dist/components/primitives/money.d.ts +29 -7
  308. package/dist/components/primitives/number.d.ts +17 -0
  309. package/dist/components/primitives/value-typography.d.ts +54 -0
  310. package/dist/components/primitives/value.d.ts +31 -6
  311. package/dist/components/typography/heading.d.ts +9 -1
  312. package/dist/components/typography/label.d.ts +3 -0
  313. package/dist/components/typography/rich-text/index.d.ts +1 -1
  314. package/dist/components/typography/rich-text/rich-text-tree.d.ts +19 -0
  315. package/dist/components/typography/rich-text/rich-text.d.ts +16 -0
  316. package/dist/components/typography/running-text.d.ts +12 -0
  317. package/dist/components/typography/text-link.d.ts +24 -1
  318. package/dist/components/typography/text.d.ts +12 -0
  319. package/dist/components/typography/text.styles.d.ts +35 -13
  320. package/dist/components/ui/button.d.ts +1 -1
  321. package/dist/components/ui/checkbox.d.ts +6 -0
  322. package/dist/components/ui/overlay.recipes.d.ts +6 -2
  323. package/dist/components/ui/select.d.ts +3 -1
  324. package/dist/components/ui/switch.d.ts +5 -0
  325. package/dist/{containers-DqB-bSYE.js → containers-DmWiJa2I.js} +36 -35
  326. package/dist/containers-DmWiJa2I.js.map +1 -0
  327. package/dist/{copyable-BTSByfmq.js → copyable-B3Gwgdqc.js} +6 -6
  328. package/dist/{copyable-BTSByfmq.js.map → copyable-B3Gwgdqc.js.map} +1 -1
  329. package/dist/data-display-DafIvCl5.js +960 -0
  330. package/dist/data-display-DafIvCl5.js.map +1 -0
  331. package/dist/date-BgK3bTdo.js +144 -0
  332. package/dist/date-BgK3bTdo.js.map +1 -0
  333. package/dist/date-picker-CF-DtUpF.js +1529 -0
  334. package/dist/date-picker-CF-DtUpF.js.map +1 -0
  335. package/dist/date-pickers-BmzxJl5l.js +174 -0
  336. package/dist/date-pickers-BmzxJl5l.js.map +1 -0
  337. package/dist/{display-CS6Hbk18.js → display-DsQTVzMz.js} +88 -87
  338. package/dist/display-DsQTVzMz.js.map +1 -0
  339. package/dist/{dropdown-menu-D-boNgGO.js → dropdown-menu-E2qmdC7o.js} +23 -16
  340. package/dist/dropdown-menu-E2qmdC7o.js.map +1 -0
  341. package/dist/features/activities.js +437 -521
  342. package/dist/features/activities.js.map +1 -1
  343. package/dist/features/ai-chat.js +174 -172
  344. package/dist/features/ai-chat.js.map +1 -1
  345. package/dist/features/async-preview.js +8 -8
  346. package/dist/features/async-preview.js.map +1 -1
  347. package/dist/features/combobox.js +1 -1
  348. package/dist/features/comments.js +1 -1
  349. package/dist/features/data-view.js +139 -138
  350. package/dist/features/data-view.js.map +1 -1
  351. package/dist/features/email-composer/engine.js +1 -1
  352. package/dist/features/email-composer.js +353 -352
  353. package/dist/features/email-composer.js.map +1 -1
  354. package/dist/features/event-calendar.js +262 -269
  355. package/dist/features/event-calendar.js.map +1 -1
  356. package/dist/features/filters.js +1 -1
  357. package/dist/features/global-search.js +307 -310
  358. package/dist/features/global-search.js.map +1 -1
  359. package/dist/features/kanban.js +95 -97
  360. package/dist/features/kanban.js.map +1 -1
  361. package/dist/features/map.js +56 -57
  362. package/dist/features/map.js.map +1 -1
  363. package/dist/features/media-library.js +914 -824
  364. package/dist/features/media-library.js.map +1 -1
  365. package/dist/features/mentions.js +1 -1
  366. package/dist/features/overlays.js +1 -1
  367. package/dist/features/products.js +1272 -1311
  368. package/dist/features/products.js.map +1 -1
  369. package/dist/features/questionnaire.js +204 -194
  370. package/dist/features/questionnaire.js.map +1 -1
  371. package/dist/features/resource-assignment.js +103 -95
  372. package/dist/features/resource-assignment.js.map +1 -1
  373. package/dist/features/resource.js +77 -69
  374. package/dist/features/resource.js.map +1 -1
  375. package/dist/features/rich-text-editor.js +30 -11
  376. package/dist/features/rich-text-editor.js.map +1 -1
  377. package/dist/features/schema-form.js +193 -189
  378. package/dist/features/schema-form.js.map +1 -1
  379. package/dist/features/suggestions.js +3 -3
  380. package/dist/features/sync.js +7 -7
  381. package/dist/features/sync.js.map +1 -1
  382. package/dist/features/table.js +1 -1
  383. package/dist/features/theme-tweaker.js +455 -455
  384. package/dist/features/theme-tweaker.js.map +1 -1
  385. package/dist/feedback-qNuMBtRH.js +233 -0
  386. package/dist/feedback-qNuMBtRH.js.map +1 -0
  387. package/dist/field-affordance-recipes-qQeIf4lG.js +48 -0
  388. package/dist/field-affordance-recipes-qQeIf4lG.js.map +1 -0
  389. package/dist/field-state-recipes-BVA2CWHo.js +12 -0
  390. package/dist/field-state-recipes-BVA2CWHo.js.map +1 -0
  391. package/dist/{filters-D6FF8L6s.js → filters-BkHH53uv.js} +414 -412
  392. package/dist/filters-BkHH53uv.js.map +1 -0
  393. package/dist/focus-recipes-B653VaLq.js +12 -0
  394. package/dist/focus-recipes-B653VaLq.js.map +1 -0
  395. package/dist/{form-field-CZwrkP7m.js → form-field-DUt4UxSV.js} +7 -7
  396. package/dist/{form-field-CZwrkP7m.js.map → form-field-DUt4UxSV.js.map} +1 -1
  397. package/dist/form-sizing-By94KzXE.js +130 -0
  398. package/dist/form-sizing-By94KzXE.js.map +1 -0
  399. package/dist/{forms-B5NCbkSC.js → forms-Bzha-Y3B.js} +25 -25
  400. package/dist/forms-Bzha-Y3B.js.map +1 -0
  401. package/dist/forms-numeric-C0bvjRPZ.js +906 -0
  402. package/dist/forms-numeric-C0bvjRPZ.js.map +1 -0
  403. package/dist/{header-kxruN3RM.js → header-BOefOKd1.js} +38 -41
  404. package/dist/header-BOefOKd1.js.map +1 -0
  405. package/dist/{hooks-BrlnCwQd.js → hooks-9k_TtmKh.js} +2 -2
  406. package/dist/{hooks-BrlnCwQd.js.map → hooks-9k_TtmKh.js.map} +1 -1
  407. package/dist/{http-CdEIHyQf.js → http-D_6rOnzU.js} +2 -2
  408. package/dist/{http-CdEIHyQf.js.map → http-D_6rOnzU.js.map} +1 -1
  409. package/dist/icon-badge-CAuKupo9.js +55 -0
  410. package/dist/icon-badge-CAuKupo9.js.map +1 -0
  411. package/dist/index.js +7 -7
  412. package/dist/input-DWhBBBww.js +262 -0
  413. package/dist/input-DWhBBBww.js.map +1 -0
  414. package/dist/{input-vxcaNCYC.js → input-Ddi_LSYv.js} +3 -3
  415. package/dist/{input-vxcaNCYC.js.map → input-Ddi_LSYv.js.map} +1 -1
  416. package/dist/interaction-recipes-CHr0dJUs.js +24 -0
  417. package/dist/interaction-recipes-CHr0dJUs.js.map +1 -0
  418. package/dist/item-DEmDiTlD.js +265 -0
  419. package/dist/item-DEmDiTlD.js.map +1 -0
  420. package/dist/layer-recipes-CCpklYME.js +13 -0
  421. package/dist/layer-recipes-CCpklYME.js.map +1 -0
  422. package/dist/layout/app-shell.js +1 -1
  423. package/dist/layout/auth.js +1 -1
  424. package/dist/layout/containers.js +1 -1
  425. package/dist/layout/header.js +1 -1
  426. package/dist/layout/hooks.js +1 -1
  427. package/dist/layout/navigation.js +1 -1
  428. package/dist/layout/page.js +1 -1
  429. package/dist/layout/settings.js +1 -1
  430. package/dist/layout/sidebar.js +2 -2
  431. package/dist/layout/workspace.js +1 -1
  432. package/dist/layout.js +10 -10
  433. package/dist/lib/affordance-geometry.generated.d.ts +7 -1
  434. package/dist/lib/field-affordance-recipes.d.ts +41 -1
  435. package/dist/lib/field-state-recipes.d.ts +9 -6
  436. package/dist/lib/focus-recipes.d.ts +24 -0
  437. package/dist/lib/format.d.ts +9 -0
  438. package/dist/lib/interaction-recipes.d.ts +35 -0
  439. package/dist/lib/layer-recipes.d.ts +19 -0
  440. package/dist/lib/money-format.d.ts +30 -0
  441. package/dist/lib/motion-recipes.d.ts +1 -0
  442. package/dist/lib/overlay-anatomy-recipes.d.ts +2 -1
  443. package/dist/lib/safe-image-src.d.ts +10 -0
  444. package/dist/lib/sanitize-html.d.ts +15 -3
  445. package/dist/lib/surface-recipes.d.ts +48 -6
  446. package/dist/lib/token-merge.generated.d.ts +17 -14
  447. package/dist/lib/tone-recipes.d.ts +79 -0
  448. package/dist/lib/track-recipes.d.ts +1 -1
  449. package/dist/lib/ui-provider/hooks.d.ts +2 -1
  450. package/dist/lib/ui-provider/index.d.ts +2 -2
  451. package/dist/lib/ui-provider/provider.d.ts +7 -2
  452. package/dist/lib/ui-provider/store.d.ts +6 -2
  453. package/dist/lib/ui-provider/types.d.ts +14 -2
  454. package/dist/lib/utils.js +1 -1
  455. package/dist/media-gallery-DcTtAaeC.js +203 -0
  456. package/dist/media-gallery-DcTtAaeC.js.map +1 -0
  457. package/dist/mentions-D-uyCh01.js +568 -0
  458. package/dist/mentions-D-uyCh01.js.map +1 -0
  459. package/dist/{message-SZUNB1eX.js → message-CdHgIWKf.js} +5 -5
  460. package/dist/{message-SZUNB1eX.js.map → message-CdHgIWKf.js.map} +1 -1
  461. package/dist/metadata-list-X5rYAKSB.js +394 -0
  462. package/dist/metadata-list-X5rYAKSB.js.map +1 -0
  463. package/dist/{motion-recipes-B6jKXEcN.js → motion-recipes-ChBg4HBq.js} +3 -2
  464. package/dist/{motion-recipes-B6jKXEcN.js.map → motion-recipes-ChBg4HBq.js.map} +1 -1
  465. package/dist/navigation-D3KwXmaq.js +145 -0
  466. package/dist/navigation-D3KwXmaq.js.map +1 -0
  467. package/dist/navigation-HJf5zxlH.js +268 -0
  468. package/dist/navigation-HJf5zxlH.js.map +1 -0
  469. package/dist/{navigation-row-recipes-DQEXQcqY.js → navigation-row-recipes-BVowojQw.js} +2 -2
  470. package/dist/{navigation-row-recipes-DQEXQcqY.js.map → navigation-row-recipes-BVowojQw.js.map} +1 -1
  471. package/dist/number-DMhe-Vsk.js +352 -0
  472. package/dist/number-DMhe-Vsk.js.map +1 -0
  473. package/dist/overflow-tab-bar-sQHXLlwQ.js +280 -0
  474. package/dist/overflow-tab-bar-sQHXLlwQ.js.map +1 -0
  475. package/dist/overlay.recipes-8GHqmlb4.js +6 -0
  476. package/dist/overlay.recipes-8GHqmlb4.js.map +1 -0
  477. package/dist/overlays-I0axtYA6.js +999 -0
  478. package/dist/overlays-I0axtYA6.js.map +1 -0
  479. package/dist/{page-hGmT4nWK.js → page-B5dTH9gE.js} +79 -68
  480. package/dist/page-B5dTH9gE.js.map +1 -0
  481. package/dist/page-header-commands-DjzFEq3E.js +126 -0
  482. package/dist/page-header-commands-DjzFEq3E.js.map +1 -0
  483. package/dist/{pagination-NLGqRirf.js → pagination-3bPA_a6K.js} +19 -19
  484. package/dist/{pagination-NLGqRirf.js.map → pagination-3bPA_a6K.js.map} +1 -1
  485. package/dist/{popover-CghIYdQf.js → popover-Di55PyAI.js} +8 -8
  486. package/dist/popover-Di55PyAI.js.map +1 -0
  487. package/dist/{popover-menu-B4PoWhRl.js → popover-menu-B71Tn2Qz.js} +6 -6
  488. package/dist/{popover-menu-B4PoWhRl.js.map → popover-menu-B71Tn2Qz.js.map} +1 -1
  489. package/dist/{popover.recipes-QlD4JenO.js → popover.recipes-Bdyhj2db.js} +2 -2
  490. package/dist/{popover.recipes-QlD4JenO.js.map → popover.recipes-Bdyhj2db.js.map} +1 -1
  491. package/dist/primitives-B-CkiEMU.js +379 -0
  492. package/dist/primitives-B-CkiEMU.js.map +1 -0
  493. package/dist/primitives.js +5 -5
  494. package/dist/{progress-BroqrAyV.js → progress-rnS8-uAW.js} +11 -11
  495. package/dist/progress-rnS8-uAW.js.map +1 -0
  496. package/dist/{receipt-BuJynLgf.js → receipt-D0oswZ0p.js} +6 -6
  497. package/dist/{receipt-BuJynLgf.js.map → receipt-D0oswZ0p.js.map} +1 -1
  498. package/dist/rich-text-DvGulsNJ.js +78 -0
  499. package/dist/rich-text-DvGulsNJ.js.map +1 -0
  500. package/dist/rich-text-editor-sMU_Scqm.js +1204 -0
  501. package/dist/rich-text-editor-sMU_Scqm.js.map +1 -0
  502. package/dist/rich-text-editor.recipes-CadiF_Uu.js +88 -0
  503. package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +1 -0
  504. package/dist/rich-text-editor.strings-CB59ekH2.js +38 -0
  505. package/dist/rich-text-editor.strings-CB59ekH2.js.map +1 -0
  506. package/dist/safe-image-src-C6kQSMBZ.js +17 -0
  507. package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
  508. package/dist/sanitize-html-DsQmI48u.js +92 -0
  509. package/dist/sanitize-html-DsQmI48u.js.map +1 -0
  510. package/dist/scroll-area-Bt_vXY2b.js +48 -0
  511. package/dist/scroll-area-Bt_vXY2b.js.map +1 -0
  512. package/dist/{separator-BNIgG3au.js → separator-C8DlRGwF.js} +4 -4
  513. package/dist/separator-C8DlRGwF.js.map +1 -0
  514. package/dist/{separator-BhtFyo4x.js → separator-CYHnjsAb.js} +2 -2
  515. package/dist/{separator-BhtFyo4x.js.map → separator-CYHnjsAb.js.map} +1 -1
  516. package/dist/services/actions/action-adapters.d.ts +22 -0
  517. package/dist/services/actions/index.d.ts +1 -1
  518. package/dist/services/actions.js +23 -6
  519. package/dist/services/actions.js.map +1 -1
  520. package/dist/settings-CQW3b-Cu.js +170 -0
  521. package/dist/settings-CQW3b-Cu.js.map +1 -0
  522. package/dist/sheet-4SEvVYzA.js +210 -0
  523. package/dist/sheet-4SEvVYzA.js.map +1 -0
  524. package/dist/{sidebar-CyR4XKwR.js → sidebar-C7WWR29L.js} +181 -180
  525. package/dist/sidebar-C7WWR29L.js.map +1 -0
  526. package/dist/sidebar-d7Dg80ln.js +511 -0
  527. package/dist/sidebar-d7Dg80ln.js.map +1 -0
  528. package/dist/{skeleton-3F0uhYn3.js → skeleton-Cz890JZF.js} +10 -10
  529. package/dist/skeleton-Cz890JZF.js.map +1 -0
  530. package/dist/smart-card-lFKxn5Hu.js +595 -0
  531. package/dist/smart-card-lFKxn5Hu.js.map +1 -0
  532. package/dist/{spinner-Cpf7oRkF.js → spinner-fa3h1Aif.js} +10 -8
  533. package/dist/spinner-fa3h1Aif.js.map +1 -0
  534. package/dist/{structure-CRdqVawd.js → structure-DC2dygdA.js} +3 -3
  535. package/dist/{structure-CRdqVawd.js.map → structure-DC2dygdA.js.map} +1 -1
  536. package/dist/{structure.recipes-Bqhf9oIh.js → structure.recipes-EPz60cU8.js} +37 -19
  537. package/dist/structure.recipes-EPz60cU8.js.map +1 -0
  538. package/dist/style.css +1 -1
  539. package/dist/surface-recipes-BKRVW8Os.js +43 -0
  540. package/dist/surface-recipes-BKRVW8Os.js.map +1 -0
  541. package/dist/table-CIKyLUsy.js +163 -0
  542. package/dist/table-CIKyLUsy.js.map +1 -0
  543. package/dist/{table-CcRDZiLP.js → table-CrcLN9Io.js} +544 -530
  544. package/dist/table-CrcLN9Io.js.map +1 -0
  545. package/dist/tabs-DwBJfjxX.js +190 -0
  546. package/dist/tabs-DwBJfjxX.js.map +1 -0
  547. package/dist/{text-inputs-DsR56TR-.js → text-inputs-aaK9wcDT.js} +151 -155
  548. package/dist/text-inputs-aaK9wcDT.js.map +1 -0
  549. package/dist/{text.styles-Q4sGAIgA.js → text.styles-g4He6UIW.js} +17 -14
  550. package/dist/text.styles-g4He6UIW.js.map +1 -0
  551. package/dist/theme.css +16 -12
  552. package/dist/themes/green.css +24 -0
  553. package/dist/{timelines-D1pkt3se.js → timelines-C_SBwHNP.js} +154 -164
  554. package/dist/timelines-C_SBwHNP.js.map +1 -0
  555. package/dist/tone-recipes-CPoExcTE.js +70 -0
  556. package/dist/tone-recipes-CPoExcTE.js.map +1 -0
  557. package/dist/tooltip-CsfgrfS7.js +111 -0
  558. package/dist/tooltip-CsfgrfS7.js.map +1 -0
  559. package/dist/track-recipes-CDcKmndW.js +10 -0
  560. package/dist/track-recipes-CDcKmndW.js.map +1 -0
  561. package/dist/{tree-BtmYyMZV.js → tree-BiKhg8AY.js} +72 -70
  562. package/dist/tree-BiKhg8AY.js.map +1 -0
  563. package/dist/typography/rich-text.js +1 -1
  564. package/dist/typography-DTRkE9zL.js +117 -0
  565. package/dist/typography-DTRkE9zL.js.map +1 -0
  566. package/dist/typography.js +2 -2
  567. package/dist/{ui-provider-DRPn3qNl.js → ui-provider-1D_NSYzO.js} +30 -23
  568. package/dist/ui-provider-1D_NSYzO.js.map +1 -0
  569. package/dist/ui-provider.js +3 -3
  570. package/dist/{upload-CDbYw1WN.js → upload-BO8-CLN6.js} +294 -293
  571. package/dist/upload-BO8-CLN6.js.map +1 -0
  572. package/dist/{upload-queue-CNd_hH_a.js → upload-queue-EOC8g1gf.js} +133 -138
  573. package/dist/upload-queue-EOC8g1gf.js.map +1 -0
  574. package/dist/upload.recipes-BbxTqrCT.js +61 -0
  575. package/dist/upload.recipes-BbxTqrCT.js.map +1 -0
  576. package/dist/{usage-card-VyJLUwRr.js → usage-card-obRaBskq.js} +42 -43
  577. package/dist/{usage-card-VyJLUwRr.js.map → usage-card-obRaBskq.js.map} +1 -1
  578. package/dist/{utils-BvH9PSmq.js → utils-l5LpDw2z.js} +264 -62
  579. package/dist/utils-l5LpDw2z.js.map +1 -0
  580. package/dist/value-inputs-TAYMX111.js +947 -0
  581. package/dist/value-inputs-TAYMX111.js.map +1 -0
  582. package/dist/value-typography-b8wpz1eX.js +116 -0
  583. package/dist/value-typography-b8wpz1eX.js.map +1 -0
  584. package/dist/workspace-DH0v0KcB.js +407 -0
  585. package/dist/workspace-DH0v0KcB.js.map +1 -0
  586. package/docs/consumer-skill/SKILL.md +62 -50
  587. package/docs/consumer-skill/examples/app-layout.tsx +3 -5
  588. package/docs/consumer-skill/examples/composition.tsx +3 -3
  589. package/docs/consumer-skill/examples/detail.tsx +59 -13
  590. package/docs/consumer-skill/examples/edit.tsx +2 -2
  591. package/docs/consumer-skill/examples/layout-blocks.tsx +20 -0
  592. package/docs/consumer-skill/examples/manifest.json +28 -6
  593. package/docs/consumer-skill/examples/receipt.tsx +2 -2
  594. package/docs/consumer-skill/examples/scoped-directory.tsx +3 -3
  595. package/docs/consumer-skill/examples/website.tsx +1 -1
  596. package/docs/consumer-skill/references/agents-md.md +33 -0
  597. package/docs/consumer-skill/references/analytics.md +1 -1
  598. package/docs/consumer-skill/references/composition.md +139 -24
  599. package/docs/consumer-skill/references/design-contract.md +12 -3
  600. package/docs/consumer-skill/references/discovery.md +4 -0
  601. package/docs/consumer-skill/references/installation.md +33 -1
  602. package/docs/consumer-skill/references/integration.md +32 -1
  603. package/docs/consumer-skill/references/public-api.json +1051 -610
  604. package/docs/consumer-skill/references/review.md +44 -8
  605. package/docs/consumer-skill/references/theming.md +14 -4
  606. package/docs/consumer-skill/references/tokens.json +5 -2
  607. package/docs/consumer-skill/references/workflows.md +30 -9
  608. package/docs/consumer-skill/scripts/composition-policy.mjs +127 -6
  609. package/docs/consumer-skill/scripts/discovery.mjs +11 -3
  610. package/docs/consumer-skill/scripts/pin-button-defaults.mjs +95 -0
  611. package/docs/consumer-skill/scripts/surface-policy.mjs +139 -5
  612. package/package.json +13 -3
  613. package/dist/accordion-BRTcsp8J.js +0 -205
  614. package/dist/accordion-BRTcsp8J.js.map +0 -1
  615. package/dist/action-menu-Drxw_vJk.js +0 -265
  616. package/dist/action-menu-Drxw_vJk.js.map +0 -1
  617. package/dist/affordance-geometry.generated-CL84ZN9A.js.map +0 -1
  618. package/dist/ai-artifact-DLVdK0Py.js.map +0 -1
  619. package/dist/attachment-DbjUWsP0.js +0 -244
  620. package/dist/attachment-DbjUWsP0.js.map +0 -1
  621. package/dist/auth-CAQcasMV.js.map +0 -1
  622. package/dist/avatar-Bu2HhitA.js.map +0 -1
  623. package/dist/badge-CzId1Wlm.js +0 -92
  624. package/dist/badge-CzId1Wlm.js.map +0 -1
  625. package/dist/breadcrumbs-BuYz5SDU.js +0 -128
  626. package/dist/breadcrumbs-BuYz5SDU.js.map +0 -1
  627. package/dist/button-BZDasD04.js +0 -651
  628. package/dist/button-BZDasD04.js.map +0 -1
  629. package/dist/button-BZyfTvwm.js.map +0 -1
  630. package/dist/buttons-D_6KJvEE.js +0 -99
  631. package/dist/buttons-D_6KJvEE.js.map +0 -1
  632. package/dist/cards-qGSErLw_.js.map +0 -1
  633. package/dist/chart-Bsc5BICK.js.map +0 -1
  634. package/dist/checkbox-BQNDjUCh.js +0 -34
  635. package/dist/checkbox-BQNDjUCh.js.map +0 -1
  636. package/dist/choice-inputs-Mk3iWbhr.js +0 -725
  637. package/dist/choice-inputs-Mk3iWbhr.js.map +0 -1
  638. package/dist/code-block-DzHKRybS.js +0 -183
  639. package/dist/code-block-DzHKRybS.js.map +0 -1
  640. package/dist/combobox-BFnbJJp3.js.map +0 -1
  641. package/dist/combobox-hozNwUcc.js +0 -847
  642. package/dist/combobox-hozNwUcc.js.map +0 -1
  643. package/dist/command-BnmSchli.js.map +0 -1
  644. package/dist/comments-u5L0OGip.js.map +0 -1
  645. package/dist/containers-DqB-bSYE.js.map +0 -1
  646. package/dist/data-display-Bihs9Ven.js +0 -1342
  647. package/dist/data-display-Bihs9Ven.js.map +0 -1
  648. package/dist/date-DOKhJPu7.js +0 -140
  649. package/dist/date-DOKhJPu7.js.map +0 -1
  650. package/dist/date-picker-DzP5HQq7.js +0 -1541
  651. package/dist/date-picker-DzP5HQq7.js.map +0 -1
  652. package/dist/date-pickers-BpgGz7S-.js +0 -196
  653. package/dist/date-pickers-BpgGz7S-.js.map +0 -1
  654. package/dist/display-CS6Hbk18.js.map +0 -1
  655. package/dist/dropdown-menu-D-boNgGO.js.map +0 -1
  656. package/dist/feedback-CJkUAapr.js +0 -233
  657. package/dist/feedback-CJkUAapr.js.map +0 -1
  658. package/dist/field-affordance-recipes-uKY4MsZ_.js +0 -25
  659. package/dist/field-affordance-recipes-uKY4MsZ_.js.map +0 -1
  660. package/dist/field-state-recipes-DQQpiLWC.js +0 -11
  661. package/dist/field-state-recipes-DQQpiLWC.js.map +0 -1
  662. package/dist/filters-D6FF8L6s.js.map +0 -1
  663. package/dist/form-sizing-QP8aIRaW.js +0 -103
  664. package/dist/form-sizing-QP8aIRaW.js.map +0 -1
  665. package/dist/format-iamDSqs2.js +0 -110
  666. package/dist/format-iamDSqs2.js.map +0 -1
  667. package/dist/forms-B5NCbkSC.js.map +0 -1
  668. package/dist/forms-numeric-Crrm80Lm.js +0 -867
  669. package/dist/forms-numeric-Crrm80Lm.js.map +0 -1
  670. package/dist/header-kxruN3RM.js.map +0 -1
  671. package/dist/icon-badge-Btc6pQrp.js +0 -53
  672. package/dist/icon-badge-Btc6pQrp.js.map +0 -1
  673. package/dist/input-SX9V0AL3.js +0 -255
  674. package/dist/input-SX9V0AL3.js.map +0 -1
  675. package/dist/item-DE4YnuJx.js +0 -258
  676. package/dist/item-DE4YnuJx.js.map +0 -1
  677. package/dist/media-gallery-DLp3HAz0.js +0 -201
  678. package/dist/media-gallery-DLp3HAz0.js.map +0 -1
  679. package/dist/mentions-Cl0Kt_Pd.js +0 -565
  680. package/dist/mentions-Cl0Kt_Pd.js.map +0 -1
  681. package/dist/navigation-DnQSNMT0.js +0 -276
  682. package/dist/navigation-DnQSNMT0.js.map +0 -1
  683. package/dist/navigation-DyytsLRB.js +0 -265
  684. package/dist/navigation-DyytsLRB.js.map +0 -1
  685. package/dist/number-DasMFWEG.js +0 -269
  686. package/dist/number-DasMFWEG.js.map +0 -1
  687. package/dist/overlay.recipes-BxW5FIfK.js +0 -6
  688. package/dist/overlay.recipes-BxW5FIfK.js.map +0 -1
  689. package/dist/overlays-DUbs1KEi.js +0 -1011
  690. package/dist/overlays-DUbs1KEi.js.map +0 -1
  691. package/dist/page-hGmT4nWK.js.map +0 -1
  692. package/dist/page-header-D8nERkn5.js +0 -112
  693. package/dist/page-header-D8nERkn5.js.map +0 -1
  694. package/dist/popover-CghIYdQf.js.map +0 -1
  695. package/dist/primitives-C7ff0QaI.js +0 -337
  696. package/dist/primitives-C7ff0QaI.js.map +0 -1
  697. package/dist/progress-BroqrAyV.js.map +0 -1
  698. package/dist/rich-text-DlxDOtf4.js +0 -32
  699. package/dist/rich-text-DlxDOtf4.js.map +0 -1
  700. package/dist/rich-text-editor-BKyG7rWz.js +0 -574
  701. package/dist/rich-text-editor-BKyG7rWz.js.map +0 -1
  702. package/dist/rich-text-editor.recipes-B72Nfuze.js +0 -81
  703. package/dist/rich-text-editor.recipes-B72Nfuze.js.map +0 -1
  704. package/dist/rich-text-editor.strings-BpnIQgMl.js +0 -25
  705. package/dist/rich-text-editor.strings-BpnIQgMl.js.map +0 -1
  706. package/dist/sanitize-html-BG9FGe-j.js +0 -64
  707. package/dist/sanitize-html-BG9FGe-j.js.map +0 -1
  708. package/dist/scroll-area-D-pIhEKl.js +0 -47
  709. package/dist/scroll-area-D-pIhEKl.js.map +0 -1
  710. package/dist/separator-BNIgG3au.js.map +0 -1
  711. package/dist/settings-DOTOzeZ2.js +0 -161
  712. package/dist/settings-DOTOzeZ2.js.map +0 -1
  713. package/dist/sheet-BFhrNehm.js +0 -205
  714. package/dist/sheet-BFhrNehm.js.map +0 -1
  715. package/dist/sidebar-CyR4XKwR.js.map +0 -1
  716. package/dist/sidebar-SvGJ0Zwi.js +0 -506
  717. package/dist/sidebar-SvGJ0Zwi.js.map +0 -1
  718. package/dist/skeleton-3F0uhYn3.js.map +0 -1
  719. package/dist/smart-card-DjGVV2xr.js +0 -584
  720. package/dist/smart-card-DjGVV2xr.js.map +0 -1
  721. package/dist/spinner-Cpf7oRkF.js.map +0 -1
  722. package/dist/structure.recipes-Bqhf9oIh.js.map +0 -1
  723. package/dist/surface-recipes-Dd__PD-w.js +0 -28
  724. package/dist/surface-recipes-Dd__PD-w.js.map +0 -1
  725. package/dist/table-CLtJTxoR.js +0 -147
  726. package/dist/table-CLtJTxoR.js.map +0 -1
  727. package/dist/table-CcRDZiLP.js.map +0 -1
  728. package/dist/tabs-BNgu7g0u.js +0 -188
  729. package/dist/tabs-BNgu7g0u.js.map +0 -1
  730. package/dist/text-inputs-DsR56TR-.js.map +0 -1
  731. package/dist/text.styles-Q4sGAIgA.js.map +0 -1
  732. package/dist/timelines-D1pkt3se.js.map +0 -1
  733. package/dist/track-recipes-LLPNVwFg.js +0 -10
  734. package/dist/track-recipes-LLPNVwFg.js.map +0 -1
  735. package/dist/tree-BtmYyMZV.js.map +0 -1
  736. package/dist/typography-BxQgiZyw.js +0 -96
  737. package/dist/typography-BxQgiZyw.js.map +0 -1
  738. package/dist/ui-provider-DRPn3qNl.js.map +0 -1
  739. package/dist/upload-CDbYw1WN.js.map +0 -1
  740. package/dist/upload-queue-CNd_hH_a.js.map +0 -1
  741. package/dist/use-file-drop-target-BX7GnhoQ.js +0 -39
  742. package/dist/use-file-drop-target-BX7GnhoQ.js.map +0 -1
  743. package/dist/utils-BvH9PSmq.js.map +0 -1
  744. package/dist/value-inputs-D0KCrfVC.js +0 -840
  745. package/dist/value-inputs-D0KCrfVC.js.map +0 -1
  746. package/dist/workspace-CcR8r-Nt.js +0 -395
  747. package/dist/workspace-CcR8r-Nt.js.map +0 -1
  748. /package/dist/components/{blocks/data-display/metadata → base/metadata-list}/metadata-list.strings.d.ts +0 -0
package/dist/blocks/ai.js CHANGED
@@ -1,56 +1,58 @@
1
1
  "use client";
2
2
  import { mergeStrings as e, useStrings as t } from "../lib/strings.js";
3
- import { t as n } from "../utils-BvH9PSmq.js";
4
- import { a as r, r as i, t as a } from "../typography-BxQgiZyw.js";
5
- import { t as o } from "../button-BZDasD04.js";
6
- import { i as s, t as c } from "../structure-CRdqVawd.js";
7
- import { t as l } from "../progress-BroqrAyV.js";
8
- import { g as u, m as d } from "../primitives-C7ff0QaI.js";
9
- import { n as f, t as p } from "../number-DasMFWEG.js";
10
- import { t as m } from "../icon-badge-Btc6pQrp.js";
11
- import { t as h } from "../badge-CzId1Wlm.js";
12
- import { t as g } from "../separator-BNIgG3au.js";
13
- import { d as _ } from "../text-inputs-DsR56TR-.js";
14
- import { a as v, c as y, i as b, n as x, o as S, r as C, t as w, u as T } from "../item-DE4YnuJx.js";
15
- import { g as E } from "../data-display-Bihs9Ven.js";
16
- import { C as ee, S as te, _ as D, a as O, b as ne, c as re, d as ie, f as ae, g as oe, h as se, i as ce, l as le, m as ue, n as de, o as fe, p as pe, r as me, s as he, t as ge, u as _e, v as ve, x as ye, y as be } from "../ai-artifact-DLVdK0Py.js";
17
- import { t as xe } from "../tree-BtmYyMZV.js";
18
- import { useMemo as Se, useState as k } from "react";
3
+ import { t as n } from "../utils-l5LpDw2z.js";
4
+ import { n as r } from "../buttons-SbIcm1HJ.js";
5
+ import { a as i, s as a, t as o } from "../typography-DTRkE9zL.js";
6
+ import { t as s } from "../focus-recipes-B653VaLq.js";
7
+ import { r as c, t as l } from "../structure-DC2dygdA.js";
8
+ import { r as u } from "../tone-recipes-CPoExcTE.js";
9
+ import { t as d } from "../progress-rnS8-uAW.js";
10
+ import { t as f } from "../interaction-recipes-CHr0dJUs.js";
11
+ import { g as p, m } from "../primitives-B-CkiEMU.js";
12
+ import { n as h, t as g } from "../number-DMhe-Vsk.js";
13
+ import { t as _ } from "../icon-badge-CAuKupo9.js";
14
+ import { t as v } from "../badge-MrKVNzW9.js";
15
+ import { d as y } from "../text-inputs-aaK9wcDT.js";
16
+ import { a as b, c as x, i as S, n as C, o as ee, r as w, t as T, u as E } from "../item-DEmDiTlD.js";
17
+ import { m as D } from "../data-display-DafIvCl5.js";
18
+ import { C as te, S as ne, _ as re, a as ie, b as ae, c as O, d as oe, f as se, g as ce, h as le, i as ue, l as de, m as fe, n as pe, o as me, p as he, r as ge, s as _e, t as ve, u as ye, v as be, x as xe, y as Se } from "../ai-artifact-BMJdv-6q.js";
19
+ import { t as Ce } from "../tree-BiKhg8AY.js";
20
+ import { useMemo as we, useState as k } from "react";
19
21
  import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
20
- import { ChevronDown as Ce, ChevronRight as we, Code2 as Te, ExternalLink as N, File as Ee, FileCode as De, FileText as Oe, Folder as ke, FolderOpen as Ae, Globe as je, Package as P, Quote as Me, RefreshCw as Ne, ThumbsDown as Pe, ThumbsUp as F } from "lucide-react";
22
+ import { ChevronDown as Te, ChevronRight as Ee, ExternalLink as N, File as De, FileCode as Oe, FileText as ke, Folder as Ae, FolderOpen as je, ThumbsDown as Me, ThumbsUp as P } from "lucide-react";
21
23
  //#region src/components/blocks/ai/ai.strings.ts
22
- var Fe = {
24
+ var F = {
23
25
  regenerate: "Regenerate",
24
26
  confidenceLevels: {
25
27
  low: "low",
26
28
  medium: "medium",
27
29
  high: "high"
28
30
  }
29
- }, Ie = {
31
+ }, Ne = {
30
32
  title: "Classification",
31
33
  complexityLabel: "Complexity",
32
34
  flagsLabel: "Flags",
33
- nextStepLabel: "Next Step",
35
+ nextStepLabel: "Next step",
34
36
  confidencePrefix: "Confidence",
35
37
  confidenceBands: {
36
38
  low: "Low",
37
39
  medium: "Medium",
38
40
  high: "High"
39
41
  }
40
- }, Le = {
42
+ }, Pe = {
41
43
  low: 1,
42
44
  medium: 2,
43
45
  high: 3
44
46
  };
45
- function Re({ level: e, label: t }) {
46
- let i = Le[e];
47
+ function Fe({ level: e, label: t }) {
48
+ let r = Pe[e];
47
49
  return /* @__PURE__ */ M("div", {
48
50
  className: "ai-summary--confidence flex items-center gap-space-sm",
49
51
  children: [/* @__PURE__ */ j("div", {
50
52
  className: "flex items-center gap-space-2xs",
51
53
  "aria-hidden": "true",
52
- children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ j("div", { className: n("h-2.5 w-1 rounded-radius-sm", t < i ? "bg-foreground/60" : "bg-muted-foreground/20") }, `bar-${String(t)}`))
53
- }), /* @__PURE__ */ j(r, {
54
+ children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ j("div", { className: n("h-2.5 w-1 rounded-radius-sm", t < r ? "bg-muted-foreground" : "bg-muted") }, `bar-${String(t)}`))
55
+ }), /* @__PURE__ */ j(a, {
54
56
  size: "xs",
55
57
  type: "secondary",
56
58
  tag: "span",
@@ -59,49 +61,49 @@ function Re({ level: e, label: t }) {
59
61
  })]
60
62
  });
61
63
  }
62
- function ze({ data: e, children: i, metadata: a, actions: s, footer: l, className: d, strings: f }) {
63
- let p = t(Fe, f), m = /* @__PURE__ */ M("div", {
64
+ function Ie({ data: e, children: i, metadata: o, actions: s, footer: c, className: u, strings: d }) {
65
+ let f = t(F, d), m = /* @__PURE__ */ M("div", {
64
66
  className: "ai-summary--metadata flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-xs",
65
- children: [!!e.generatedAt && /* @__PURE__ */ j(u, {
67
+ children: [!!e.generatedAt && /* @__PURE__ */ j(p, {
66
68
  size: "xs",
67
69
  className: "min-w-0",
68
70
  children: e.generatedAt
69
- }), !!e.model && /* @__PURE__ */ j(u, {
71
+ }), !!e.model && /* @__PURE__ */ j(p, {
70
72
  size: "xs",
71
73
  className: "min-w-0 truncate",
72
74
  children: e.model
73
75
  })]
74
- }), g = e.onRegenerate ? /* @__PURE__ */ M(o, {
76
+ }), h = e.onRegenerate ? /* @__PURE__ */ j(r, {
75
77
  tone: "secondary",
76
78
  buttonStyle: "ghost",
77
79
  onClick: e.onRegenerate,
78
- children: [/* @__PURE__ */ j(Ne, { className: "mr-1 h-3 w-3" }), p.regenerate]
79
- }) : null, _ = a === void 0 ? m : a, v = s === void 0 ? g : s, y = l === void 0 ? (_ || v) && /* @__PURE__ */ M(A, { children: [_, v] }) : l;
80
- return /* @__PURE__ */ M(c, {
80
+ children: f.regenerate
81
+ }) : null, g = o === void 0 ? m : o, _ = s === void 0 ? h : s, y = c === void 0 ? (g || _) && /* @__PURE__ */ M(A, { children: [g, _] }) : c;
82
+ return /* @__PURE__ */ M(l, {
81
83
  "data-component": "ai-summary",
82
84
  "data-slot": "ai-summary",
83
- className: n("ai-summary--component", d),
85
+ className: n("ai-summary--component", u),
84
86
  children: [
85
- /* @__PURE__ */ j(r, {
87
+ /* @__PURE__ */ j(a, {
86
88
  lineHeight: "relaxed",
87
89
  children: e.summary
88
90
  }),
89
- e.entities.length > 0 && /* @__PURE__ */ j(c, {
91
+ e.entities.length > 0 && /* @__PURE__ */ j(l, {
90
92
  direction: "horizontal",
91
93
  wrap: !0,
92
94
  gap: "sm",
93
95
  className: "ai-summary--entities min-w-0",
94
- children: e.entities.map((e) => /* @__PURE__ */ j(h, {
96
+ children: e.entities.map((e) => /* @__PURE__ */ j(v, {
95
97
  tone: "secondary",
96
98
  children: e
97
99
  }, e))
98
100
  }),
99
- /* @__PURE__ */ j(Re, {
101
+ /* @__PURE__ */ j(Fe, {
100
102
  level: e.confidence,
101
- label: p.confidenceLevels[e.confidence]
103
+ label: f.confidenceLevels[e.confidence]
102
104
  }),
103
105
  i,
104
- !!y && /* @__PURE__ */ j(c, {
106
+ !!y && /* @__PURE__ */ j(l, {
105
107
  direction: {
106
108
  base: "vertical",
107
109
  sm: "horizontal"
@@ -116,43 +118,40 @@ function ze({ data: e, children: i, metadata: a, actions: s, footer: l, classNam
116
118
  }
117
119
  //#endregion
118
120
  //#region src/components/blocks/ai/ai-classification/ai-classification.tsx
119
- function Be({ data: e, children: i, className: a, strings: o }) {
120
- let s = t(Ie, o), l = e.confidence >= .9 ? s.confidenceBands.high : e.confidence >= .7 ? s.confidenceBands.medium : s.confidenceBands.low;
121
- return /* @__PURE__ */ M(c, {
121
+ function Le({ data: e, children: r, className: i, strings: o }) {
122
+ let s = t(Ne, o), c = e.confidence >= .9 ? s.confidenceBands.high : e.confidence >= .7 ? s.confidenceBands.medium : s.confidenceBands.low;
123
+ return /* @__PURE__ */ M(l, {
122
124
  "data-component": "ai-classification",
123
125
  "data-slot": "ai-classification",
124
- className: n("ai-classification--component", a),
126
+ className: n("ai-classification--component", i),
125
127
  children: [
126
- /* @__PURE__ */ M(c, {
128
+ /* @__PURE__ */ M(l, {
127
129
  direction: "horizontal",
128
130
  wrap: !0,
129
131
  align: "center",
130
132
  gap: "sm",
131
133
  children: [
132
- /* @__PURE__ */ j(h, {
133
- tone: "primary",
134
- children: e.requestType
135
- }),
136
- /* @__PURE__ */ j(h, {
134
+ /* @__PURE__ */ j(v, { children: e.requestType }),
135
+ /* @__PURE__ */ j(v, {
137
136
  tone: e.urgencyTone,
138
137
  children: e.urgency
139
138
  }),
140
- /* @__PURE__ */ j(h, {
139
+ /* @__PURE__ */ j(v, {
141
140
  tone: e.sentimentTone,
142
141
  dot: !0,
143
142
  children: e.tone
144
143
  })
145
144
  ]
146
145
  }),
147
- /* @__PURE__ */ j(E, {
146
+ /* @__PURE__ */ j(D, {
148
147
  label: s.complexityLabel,
149
148
  labelClassName: "text-sm font-medium text-foreground",
150
149
  value: /* @__PURE__ */ M("span", {
151
150
  className: "flex items-center gap-space-md",
152
151
  children: [/* @__PURE__ */ j("span", {
153
152
  className: "flex items-center gap-space-xs",
154
- children: Array.from({ length: 5 }, (t, r) => /* @__PURE__ */ j("span", { className: n("h-1.5 w-3 rounded-radius-sm", r < e.complexityScore ? "bg-foreground/60" : "bg-muted") }, `cx-${String(r)}`))
155
- }), /* @__PURE__ */ M(r, {
153
+ children: Array.from({ length: 5 }, (t, r) => /* @__PURE__ */ j("span", { className: n("h-1.5 w-3 rounded-radius-sm", r < e.complexityScore ? "bg-muted-foreground" : "bg-muted") }, `cx-${String(r)}`))
154
+ }), /* @__PURE__ */ M(a, {
156
155
  tag: "span",
157
156
  size: "xs",
158
157
  type: "secondary",
@@ -160,48 +159,42 @@ function Be({ data: e, children: i, className: a, strings: o }) {
160
159
  })]
161
160
  })
162
161
  }),
163
- e.flags.length > 0 && /* @__PURE__ */ j(E, {
162
+ e.flags.length > 0 && /* @__PURE__ */ j(D, {
164
163
  label: s.flagsLabel,
165
164
  labelClassName: "text-sm font-medium text-foreground",
166
165
  value: /* @__PURE__ */ j("span", {
167
166
  className: "flex gap-space-xs",
168
- children: e.flags.map((e) => /* @__PURE__ */ j(h, {
169
- tone: "warning",
170
- children: e
171
- }, e))
167
+ children: e.flags.map((e) => /* @__PURE__ */ j(v, { children: e }, e))
172
168
  })
173
169
  }),
174
- /* @__PURE__ */ j(E, {
170
+ /* @__PURE__ */ j(D, {
175
171
  label: s.nextStepLabel,
176
172
  labelClassName: "text-sm font-medium text-foreground",
177
- value: /* @__PURE__ */ j(h, {
178
- tone: "info",
179
- children: e.suggestedAction
180
- })
173
+ value: e.suggestedAction,
174
+ valueClassName: "text-right"
181
175
  }),
182
- /* @__PURE__ */ j(r, {
176
+ /* @__PURE__ */ j(a, {
183
177
  lineHeight: "relaxed",
184
178
  type: "secondary",
185
179
  children: e.summary
186
180
  }),
187
- /* @__PURE__ */ j(g, {}),
188
181
  /* @__PURE__ */ M("div", {
189
182
  className: "flex items-center gap-space-md",
190
- children: [/* @__PURE__ */ M(h, {
183
+ children: [/* @__PURE__ */ M(v, {
191
184
  tone: "secondary",
192
185
  children: [
193
186
  s.confidencePrefix,
194
187
  ": ",
195
- l
188
+ c
196
189
  ]
197
- }), /* @__PURE__ */ j(r, {
190
+ }), /* @__PURE__ */ j(a, {
198
191
  size: "xs",
199
192
  type: "discrete",
200
193
  tag: "span",
201
194
  children: e.model
202
195
  })]
203
196
  }),
204
- i
197
+ r
205
198
  ]
206
199
  });
207
200
  }
@@ -217,17 +210,17 @@ var I = {
217
210
  };
218
211
  //#endregion
219
212
  //#region src/components/blocks/ai/ai-confidence/ai-confidence.tsx
220
- function Ve(e) {
213
+ function Re(e) {
221
214
  return e >= .85 ? "success" : e >= .6 ? "warning" : "destructive";
222
215
  }
223
- function L({ score: e, model: a, factors: o, className: s, strings: u }) {
224
- let d = t(I, u), p = Math.round(e * 100), m = Ve(e), g = m === "success" ? d.levelHigh : m === "warning" ? d.levelMedium : d.levelLow, _ = 2 * Math.PI * 24, v = _ - p / 100 * _;
225
- return /* @__PURE__ */ M(c, {
216
+ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
217
+ let u = t(I, c), f = Math.round(e * 100), p = Re(e), m = p === "success" ? u.levelHigh : p === "warning" ? u.levelMedium : u.levelLow, g = 2 * Math.PI * 24, _ = g - f / 100 * g;
218
+ return /* @__PURE__ */ M(l, {
226
219
  "data-component": "ai-confidence",
227
220
  "data-slot": "ai-confidence",
228
221
  gap: "xl",
229
222
  className: n("ai-confidence--component @container/ai-confidence", s),
230
- "aria-label": d.title,
223
+ "aria-label": u.title,
231
224
  children: [/* @__PURE__ */ M("div", {
232
225
  className: "grid gap-space-xl @md/ai-confidence:grid-cols-[auto_minmax(0,1fr)] @md/ai-confidence:items-center",
233
226
  children: [/* @__PURE__ */ M("div", {
@@ -253,50 +246,48 @@ function L({ score: e, model: a, factors: o, className: s, strings: u }) {
253
246
  stroke: "currentColor",
254
247
  strokeWidth: "5",
255
248
  strokeLinecap: "round",
256
- strokeDasharray: _,
257
- strokeDashoffset: v,
249
+ strokeDasharray: g,
250
+ strokeDashoffset: _,
258
251
  transform: "rotate(-90 32 32)",
259
- className: n(m === "success" && "text-success", m === "warning" && "text-warning-accent", m === "destructive" && "text-destructive")
252
+ className: n(p === "success" && "text-success", p === "warning" && "text-warning-accent", p === "destructive" && "text-destructive")
260
253
  })]
261
254
  }), /* @__PURE__ */ j("div", {
262
255
  className: "absolute inset-0 flex flex-col items-center justify-center",
263
- children: /* @__PURE__ */ j(f, {
264
- value: p,
256
+ children: /* @__PURE__ */ j(h, {
257
+ value: f,
265
258
  scaled: !0,
266
259
  weight: "semibold",
267
260
  className: "leading-none"
268
261
  })
269
262
  })]
270
- }), /* @__PURE__ */ M(c, {
263
+ }), /* @__PURE__ */ M(l, {
271
264
  gap: "sm",
272
- children: [/* @__PURE__ */ j(i, { children: d.confidenceLabel }), /* @__PURE__ */ M(c, {
265
+ children: [/* @__PURE__ */ j(i, { children: u.confidenceLabel }), /* @__PURE__ */ M(l, {
273
266
  direction: "horizontal",
274
267
  gap: "sm",
275
- children: [/* @__PURE__ */ j(h, {
276
- tone: m,
277
- children: g
278
- }), !!a && /* @__PURE__ */ j(r, {
268
+ children: [/* @__PURE__ */ j(v, {
269
+ tone: p,
270
+ children: m
271
+ }), !!r && /* @__PURE__ */ j(a, {
279
272
  size: "xs",
280
273
  type: "secondary",
281
274
  className: "truncate",
282
- children: a
275
+ children: r
283
276
  })]
284
277
  })]
285
278
  })]
286
- }), !!o && o.length > 0 && /* @__PURE__ */ M(c, {
279
+ }), !!o && o.length > 0 && /* @__PURE__ */ M(l, {
287
280
  gap: "md",
288
- className: "mt-space-xl",
289
- children: [/* @__PURE__ */ j(i, { children: d.factorsLabel }), o.map((e) => /* @__PURE__ */ M(c, {
281
+ children: [/* @__PURE__ */ j(i, { children: u.factorsLabel }), o.map((e) => /* @__PURE__ */ M(l, {
290
282
  gap: "sm",
291
- children: [/* @__PURE__ */ j(E, {
283
+ children: [/* @__PURE__ */ j(D, {
292
284
  label: e.label,
293
- value: /* @__PURE__ */ j(f, {
285
+ value: /* @__PURE__ */ j(h, {
294
286
  value: e.score,
295
287
  size: "xs",
296
288
  weight: "semibold"
297
- }),
298
- mono: !0
299
- }), /* @__PURE__ */ j(l, {
289
+ })
290
+ }), /* @__PURE__ */ j(d, {
300
291
  value: Math.round(e.score * 100),
301
292
  "aria-label": e.label
302
293
  })]
@@ -315,33 +306,33 @@ var R = {
315
306
  //#region src/components/blocks/ai/ai-prompt-suggestions/ai-prompt-suggestions.tsx
316
307
  function z({ suggestions: e, onPick: r, className: i, strings: a }) {
317
308
  let o = t(R, a);
318
- return /* @__PURE__ */ M(c, {
309
+ return /* @__PURE__ */ M(l, {
319
310
  "data-component": "ai-prompt-suggestions",
320
311
  "data-slot": "ai-prompt-suggestions",
321
312
  className: n("ai-prompt-suggestions--component", i),
322
- children: [/* @__PURE__ */ M(c, {
313
+ children: [/* @__PURE__ */ M(l, {
323
314
  gap: "normal",
324
315
  className: "ai-prompt-suggestions--intro",
325
- children: [/* @__PURE__ */ j(T, { children: o.title }), /* @__PURE__ */ j(b, { children: o.hint })]
316
+ children: [/* @__PURE__ */ j(E, { children: o.title }), /* @__PURE__ */ j(S, { children: o.hint })]
326
317
  }), /* @__PURE__ */ j("div", {
327
318
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(15rem,100%),1fr))] gap-space-xl",
328
319
  children: e.map((e) => {
329
320
  let t = e.icon;
330
- return /* @__PURE__ */ M(w, {
321
+ return /* @__PURE__ */ M(T, {
331
322
  variant: "outline",
332
323
  render: /* @__PURE__ */ j("button", {
333
324
  type: "button",
334
325
  onClick: () => r?.(e)
335
326
  }),
336
- className: n("ai-prompt-suggestions--item h-full items-start gap-space-lg p-surface transition-[border-color,background] duration-150", "hover:border-foreground/20 hover:bg-muted/40"),
337
- children: [!!t && /* @__PURE__ */ j(y, { children: /* @__PURE__ */ j(m, {
327
+ className: n("ai-prompt-suggestions--item h-full items-start gap-space-lg p-surface", f.rowHover),
328
+ children: [!!t && /* @__PURE__ */ j(x, { children: /* @__PURE__ */ j(_, {
338
329
  icon: t,
339
- tone: "primary",
330
+ tone: "neutral",
340
331
  size: "md",
341
332
  shape: "square"
342
- }) }), /* @__PURE__ */ M(C, {
333
+ }) }), /* @__PURE__ */ M(w, {
343
334
  className: "min-w-0 gap-space-sm",
344
- children: [/* @__PURE__ */ j(T, { children: e.label }), !!e.description && /* @__PURE__ */ j(b, { children: e.description })]
335
+ children: [/* @__PURE__ */ j(E, { children: e.label }), !!e.description && /* @__PURE__ */ j(S, { children: e.description })]
345
336
  })]
346
337
  }, e.id);
347
338
  })
@@ -360,101 +351,95 @@ var B = {
360
351
  };
361
352
  //#endregion
362
353
  //#region src/components/blocks/ai/ai-token-usage/ai-token-usage.tsx
363
- function V({ model: e, inputTokens: a, outputTokens: o, cost: l, maxTokens: u, className: d, strings: m }) {
364
- let g = t(B, m), _ = a + o, v = u ? Math.min(100, Math.round(_ / u * 100)) : 0;
365
- return /* @__PURE__ */ M(c, {
354
+ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, className: d, strings: f }) {
355
+ let p = t(B, f), m = r + o, _ = u ? Math.min(100, Math.round(m / u * 100)) : 0;
356
+ return /* @__PURE__ */ M(l, {
366
357
  "data-component": "ai-token-usage",
367
358
  "data-slot": "ai-token-usage",
368
359
  className: n("ai-token-usage--component", d),
369
360
  children: [
370
361
  !!e && /* @__PURE__ */ j("div", {
371
362
  className: "ai-token-usage--metadata flex min-w-0 justify-start",
372
- children: /* @__PURE__ */ j(h, {
363
+ children: /* @__PURE__ */ j(v, {
373
364
  tone: "secondary",
374
365
  children: e
375
366
  })
376
367
  }),
377
- /* @__PURE__ */ j(s, {
378
- minColumnWidth: "sm",
368
+ /* @__PURE__ */ j(c, {
369
+ columns: 3,
379
370
  gap: "md",
380
371
  children: [
381
372
  {
382
- label: g.input,
383
- value: a
373
+ label: p.input,
374
+ value: r
384
375
  },
385
376
  {
386
- label: g.output,
377
+ label: p.output,
387
378
  value: o
388
379
  },
389
380
  {
390
- label: g.total,
391
- value: _
381
+ label: p.total,
382
+ value: m
392
383
  }
393
- ].map((e) => /* @__PURE__ */ j("div", {
394
- className: "rounded-radius bg-muted/40 p-surface-xs",
395
- children: /* @__PURE__ */ M(c, {
396
- gap: "2xs",
397
- children: [/* @__PURE__ */ j(i, { children: e.label }), /* @__PURE__ */ j(p, {
398
- value: e.value,
399
- weight: "semibold",
400
- align: "left"
401
- })]
402
- })
384
+ ].map((e) => /* @__PURE__ */ M(l, {
385
+ gap: "2xs",
386
+ children: [/* @__PURE__ */ j(i, { children: e.label }), /* @__PURE__ */ j(g, {
387
+ value: e.value,
388
+ weight: "semibold",
389
+ align: "left"
390
+ })]
403
391
  }, e.label))
404
392
  }),
405
- !!u && /* @__PURE__ */ M("div", {
406
- className: "mt-space-lg",
407
- children: [/* @__PURE__ */ j(E, {
393
+ !!u && /* @__PURE__ */ M(l, {
394
+ gap: "xs",
395
+ children: [/* @__PURE__ */ j(D, {
408
396
  label: /* @__PURE__ */ M("span", {
409
397
  className: "inline-flex items-center gap-space-xs",
410
398
  children: [
411
- /* @__PURE__ */ j(p, {
412
- value: _,
399
+ /* @__PURE__ */ j(g, {
400
+ value: m,
413
401
  size: "xs",
414
402
  align: "left"
415
403
  }),
416
- /* @__PURE__ */ j(r, {
404
+ /* @__PURE__ */ j(a, {
417
405
  tag: "span",
418
406
  size: "xs",
419
407
  "aria-hidden": !0,
420
408
  children: "/"
421
409
  }),
422
- /* @__PURE__ */ j(p, {
410
+ /* @__PURE__ */ j(g, {
423
411
  value: u,
424
412
  size: "xs",
425
413
  align: "left"
426
414
  })
427
415
  ]
428
416
  }),
429
- value: /* @__PURE__ */ j(f, {
430
- value: v,
417
+ value: /* @__PURE__ */ j(h, {
418
+ value: _,
431
419
  scaled: !0,
432
420
  size: "xs",
433
421
  weight: "semibold",
434
422
  align: "right"
435
423
  }),
436
- mono: !0,
437
424
  valueClassName: "text-xs font-semibold"
438
425
  }), /* @__PURE__ */ j("div", {
439
- className: "mt-1 h-1.5 w-full overflow-hidden rounded-full bg-muted",
426
+ className: "h-1.5 w-full overflow-hidden rounded-full bg-muted",
440
427
  children: /* @__PURE__ */ j("div", {
441
428
  className: "h-full rounded-full bg-primary",
442
- style: { width: `${v}%` }
429
+ style: { width: `${_}%` }
443
430
  })
444
431
  })]
445
432
  }),
446
- !!l && /* @__PURE__ */ j(E, {
447
- className: "mt-space-lg rounded-radius bg-primary/5 p-surface-xs",
448
- label: /* @__PURE__ */ j(r, {
433
+ !!s && /* @__PURE__ */ j(D, {
434
+ label: /* @__PURE__ */ j(a, {
449
435
  tag: "span",
450
436
  size: "xs",
451
437
  weight: "medium",
452
438
  lineHeight: "tight",
453
- children: g.cost
439
+ children: p.cost
454
440
  }),
455
- value: l,
456
- mono: !0,
457
- valueClassName: "text-sm font-bold"
441
+ value: s,
442
+ valueClassName: "text-sm font-bold tabular-nums"
458
443
  })
459
444
  ]
460
445
  });
@@ -472,72 +457,73 @@ var H = {
472
457
  };
473
458
  //#endregion
474
459
  //#region src/components/blocks/ai/ai-feedback/ai-feedback.tsx
475
- function U({ value: e, onVote: i, onSubmitComment: a, allowComment: s = !0, submitted: l = !1, className: u, strings: d }) {
476
- let f = t(H, d), [p, m] = k(null), [h, g] = k(""), v = e ?? p, y = (t) => {
477
- let n = v === t ? null : t;
478
- e === void 0 && m(n), i?.(n);
460
+ function U({ value: e, onVote: i, onSubmitComment: o, allowComment: s = !0, submitted: c = !1, className: d, strings: p }) {
461
+ let m = t(H, p), [h, g] = k(null), [_, v] = k(""), b = e ?? h, x = (t) => {
462
+ let n = b === t ? null : t;
463
+ e === void 0 && g(n), i?.(n);
479
464
  };
480
- return l ? /* @__PURE__ */ M("div", {
481
- className: n("ai-feedback--component", "inline-flex items-center gap-space-md rounded-radius bg-success/10 px-space-lg py-space-sm", u),
482
- children: [/* @__PURE__ */ j(F, { className: "size-icon-md text-success" }), /* @__PURE__ */ j(r, {
465
+ return c ? /* @__PURE__ */ M("div", {
466
+ className: n("ai-feedback--component", "inline-flex items-center gap-space-md rounded-radius px-space-lg py-space-sm", u.success.wash, d),
467
+ children: [/* @__PURE__ */ j(P, { className: "size-icon-md text-success" }), /* @__PURE__ */ j(a, {
483
468
  size: "xs",
484
469
  type: "success",
485
470
  weight: "medium",
486
- children: f.thanks
471
+ children: m.thanks
487
472
  })]
488
473
  }) : /* @__PURE__ */ M("div", {
489
- className: n("ai-feedback--component inline-flex flex-col gap-space-md", u),
474
+ className: n("ai-feedback--component inline-flex flex-col gap-space-md", d),
490
475
  children: [/* @__PURE__ */ M("div", {
491
476
  className: "flex items-center gap-space-md",
492
477
  children: [
493
- /* @__PURE__ */ j(r, {
478
+ /* @__PURE__ */ j(a, {
494
479
  size: "xs",
495
480
  type: "secondary",
496
- children: f.prompt
481
+ children: m.prompt
497
482
  }),
498
- /* @__PURE__ */ j(o, {
483
+ /* @__PURE__ */ j(r, {
499
484
  type: "button",
500
485
  tone: "secondary",
501
- buttonStyle: v === "up" ? "solid" : "ghost",
486
+ buttonStyle: "ghost",
502
487
  size: "sm",
503
488
  iconOnly: !0,
504
- "aria-label": f.thumbsUpAria,
505
- "aria-pressed": v === "up",
506
- onClick: () => y("up"),
507
- className: n(v === "up" && "text-success bg-success/15 hover:bg-success/20"),
508
- children: /* @__PURE__ */ j(F, { className: "size-icon-md" })
489
+ "aria-label": m.thumbsUpAria,
490
+ "aria-pressed": b === "up",
491
+ onClick: () => x("up"),
492
+ className: b === "up" ? f.togglePressed : f.toggleHoverButton,
493
+ children: /* @__PURE__ */ j(P, { className: "size-icon-md" })
509
494
  }),
510
- /* @__PURE__ */ j(o, {
495
+ /* @__PURE__ */ j(r, {
511
496
  type: "button",
512
497
  tone: "secondary",
513
- buttonStyle: v === "down" ? "solid" : "ghost",
498
+ buttonStyle: "ghost",
514
499
  size: "sm",
515
500
  iconOnly: !0,
516
- "aria-label": f.thumbsDownAria,
517
- "aria-pressed": v === "down",
518
- onClick: () => y("down"),
519
- className: n(v === "down" && "text-destructive bg-destructive/10 hover:bg-destructive/10"),
520
- children: /* @__PURE__ */ j(Pe, { className: "size-icon-md" })
501
+ "aria-label": m.thumbsDownAria,
502
+ "aria-pressed": b === "down",
503
+ onClick: () => x("down"),
504
+ className: b === "down" ? f.togglePressed : f.toggleHoverButton,
505
+ children: /* @__PURE__ */ j(Me, { className: "size-icon-md" })
521
506
  })
522
507
  ]
523
- }), !!s && !!v && /* @__PURE__ */ M(c, {
508
+ }), !!s && !!b && /* @__PURE__ */ M(l, {
524
509
  gap: "md",
525
- children: [/* @__PURE__ */ j(_, {
526
- value: h,
527
- onChange: (e) => g(e.target.value),
528
- placeholder: f.commentPlaceholder,
510
+ children: [/* @__PURE__ */ j(y, {
511
+ value: _,
512
+ onChange: (e) => v(e.target.value),
513
+ placeholder: m.commentPlaceholder,
529
514
  minRows: 2
530
- }), /* @__PURE__ */ j(c, {
515
+ }), /* @__PURE__ */ j(l, {
531
516
  direction: "horizontal",
532
517
  gap: "none",
533
518
  justify: "end",
534
- children: /* @__PURE__ */ j(o, {
519
+ children: /* @__PURE__ */ j(r, {
520
+ tone: "primary",
535
521
  type: "button",
536
522
  onClick: () => {
537
- a?.(h, v), g("");
523
+ o?.(_, b), v("");
538
524
  },
539
- disabled: !h.trim(),
540
- children: f.submit
525
+ disabled: !_.trim(),
526
+ children: m.submit
541
527
  })
542
528
  })]
543
529
  })]
@@ -557,60 +543,56 @@ var W = {
557
543
  };
558
544
  //#endregion
559
545
  //#region src/components/blocks/ai/ai-citation/ai-citation.tsx
560
- function G({ sources: t, expanded: i, defaultExpanded: a = !1, onExpandedChange: s, maxCollapsedRows: l = 0, className: u, strings: d }) {
561
- let f = e(W, d), [p, m] = k(a), h = i ?? p, g = (e) => {
562
- i === void 0 && m(e), s?.(e);
563
- }, _ = h ? t : t.slice(0, Math.max(0, l)), v = t.length - _.length;
546
+ function G({ sources: t, expanded: i, defaultExpanded: o = !1, onExpandedChange: s, maxCollapsedRows: c = 0, className: u, strings: d }) {
547
+ let p = e(W, d), [m, h] = k(o), g = i ?? m, _ = (e) => {
548
+ i === void 0 && h(e), s?.(e);
549
+ }, v = g ? t : t.slice(0, Math.max(0, c)), y = t.length - v.length;
564
550
  return /* @__PURE__ */ j("div", {
565
551
  className: n("ai-citation--component", "rounded-radius border border-border bg-card px-surface-xs py-surface-xs shadow-xs", u),
566
- children: /* @__PURE__ */ M(c, {
552
+ children: /* @__PURE__ */ M(l, {
567
553
  gap: "lg",
568
- children: [/* @__PURE__ */ M(o, {
554
+ children: [/* @__PURE__ */ M(r, {
569
555
  type: "button",
570
556
  tone: "secondary",
571
557
  buttonStyle: "ghost",
572
558
  size: "sm",
573
- onClick: () => g(!h),
574
- className: n("ai-citation--trigger h-auto justify-start gap-space-sm rounded-inner px-control py-row-y", "text-muted-foreground hover:text-foreground hover:bg-muted/40"),
575
- "aria-expanded": h,
576
- "aria-label": h ? f.collapse : f.expand,
577
- children: [
578
- /* @__PURE__ */ j(Me, { className: "size-icon-md" }),
579
- /* @__PURE__ */ M(r, {
580
- weight: "medium",
581
- children: [
582
- f.title,
583
- " · ",
584
- f.sourceCount(t.length)
585
- ]
586
- }),
587
- j(h ? Ce : we, { className: "size-icon-md" })
588
- ]
589
- }), (h || l > 0) && /* @__PURE__ */ M(S, { children: [_.map((e, t) => /* @__PURE__ */ j(He, {
559
+ onClick: () => _(!g),
560
+ className: n("ai-citation--trigger h-auto min-h-0 justify-start gap-space-sm rounded-inner px-control py-row-y", `text-muted-foreground ${f.rowHover}`),
561
+ "aria-expanded": g,
562
+ "aria-label": g ? p.collapse : p.expand,
563
+ children: [/* @__PURE__ */ M(a, {
564
+ weight: "medium",
565
+ children: [
566
+ p.title,
567
+ " · ",
568
+ p.sourceCount(t.length)
569
+ ]
570
+ }), j(g ? Te : Ee, { className: "size-icon-md" })]
571
+ }), (g || c > 0) && /* @__PURE__ */ M(ee, { children: [v.map((e, t) => /* @__PURE__ */ j(ze, {
590
572
  source: e,
591
573
  index: t + 1,
592
- strings: f
593
- }, e.id)), !h && v > 0 && /* @__PURE__ */ j(r, {
574
+ strings: p
575
+ }, e.id)), !g && y > 0 && /* @__PURE__ */ j(a, {
594
576
  size: "xs",
595
577
  type: "secondary",
596
- children: f.hiddenCount(v)
578
+ children: p.hiddenCount(y)
597
579
  })] })]
598
580
  })
599
581
  });
600
582
  }
601
583
  G.displayName = "AiCitation";
602
- function He({ source: e, index: t, strings: i }) {
603
- let a = typeof e.relevance == "number" ? Math.round(Math.max(0, Math.min(1, e.relevance)) * 100) : null, o = e.url ? "a" : "span", s = e.url ? {
584
+ function ze({ source: e, index: t, strings: r }) {
585
+ let i = typeof e.relevance == "number" ? Math.round(Math.max(0, Math.min(1, e.relevance)) * 100) : null, o = e.url ? "a" : "span", s = e.url ? {
604
586
  href: e.url,
605
587
  target: "_blank",
606
588
  rel: "noopener noreferrer"
607
589
  } : {};
608
- return /* @__PURE__ */ M(w, {
590
+ return /* @__PURE__ */ M(T, {
609
591
  variant: "outline",
610
592
  size: "sm",
611
593
  className: "items-start px-surface-xs py-surface-xs",
612
594
  children: [
613
- /* @__PURE__ */ j(y, { children: /* @__PURE__ */ j(p, {
595
+ /* @__PURE__ */ j(x, { children: /* @__PURE__ */ j(g, {
614
596
  value: t,
615
597
  size: "xs",
616
598
  weight: "semibold",
@@ -618,8 +600,8 @@ function He({ source: e, index: t, strings: i }) {
618
600
  align: "center",
619
601
  className: "inline-flex size-icon-lg shrink-0 items-center justify-center rounded-full bg-muted"
620
602
  }) }),
621
- /* @__PURE__ */ M(C, { children: [
622
- /* @__PURE__ */ j(T, {
603
+ /* @__PURE__ */ M(w, { children: [
604
+ /* @__PURE__ */ j(E, {
623
605
  className: "truncate",
624
606
  children: /* @__PURE__ */ M(o, {
625
607
  ...s,
@@ -627,24 +609,24 @@ function He({ source: e, index: t, strings: i }) {
627
609
  children: [e.title, !!e.url && /* @__PURE__ */ j(N, { className: "ml-1 inline size-icon-sm align-baseline" })]
628
610
  })
629
611
  }),
630
- !!e.snippet && /* @__PURE__ */ j(b, {
612
+ !!e.snippet && /* @__PURE__ */ j(S, {
631
613
  clamp: 2,
632
614
  children: e.snippet
633
615
  }),
634
- (e.publisher || e.publishedAt) && /* @__PURE__ */ M(v, {
616
+ (e.publisher || e.publishedAt) && /* @__PURE__ */ M(b, {
635
617
  className: "mt-1 justify-start gap-space-sm",
636
618
  children: [
637
- !!e.publisher && /* @__PURE__ */ j(r, {
619
+ !!e.publisher && /* @__PURE__ */ j(a, {
638
620
  size: "xs",
639
621
  type: "discrete",
640
622
  children: e.publisher
641
623
  }),
642
- !!e.publisher && !!e.publishedAt && /* @__PURE__ */ j(r, {
624
+ !!e.publisher && !!e.publishedAt && /* @__PURE__ */ j(a, {
643
625
  size: "xs",
644
626
  type: "discrete",
645
627
  children: "·"
646
628
  }),
647
- !!e.publishedAt && /* @__PURE__ */ j(u, {
629
+ !!e.publishedAt && /* @__PURE__ */ j(p, {
648
630
  size: "xs",
649
631
  className: "tabular-nums opacity-80",
650
632
  children: e.publishedAt
@@ -652,10 +634,10 @@ function He({ source: e, index: t, strings: i }) {
652
634
  ]
653
635
  })
654
636
  ] }),
655
- a !== null && /* @__PURE__ */ M(x, {
637
+ i !== null && /* @__PURE__ */ M(C, {
656
638
  className: "w-16 flex-col items-end gap-space-2xs",
657
- children: [/* @__PURE__ */ j(f, {
658
- value: a,
639
+ children: [/* @__PURE__ */ j(h, {
640
+ value: i,
659
641
  scaled: !0,
660
642
  size: "xs",
661
643
  type: "secondary",
@@ -663,13 +645,13 @@ function He({ source: e, index: t, strings: i }) {
663
645
  }), /* @__PURE__ */ j("div", {
664
646
  className: "h-1 w-full overflow-hidden rounded-full bg-muted",
665
647
  role: "progressbar",
666
- "aria-label": i.relevance,
648
+ "aria-label": r.relevance,
667
649
  "aria-valuemin": 0,
668
650
  "aria-valuemax": 100,
669
- "aria-valuenow": a,
651
+ "aria-valuenow": i,
670
652
  children: /* @__PURE__ */ j("div", {
671
653
  className: "h-full rounded-full bg-primary",
672
- style: { width: `${a}%` }
654
+ style: { width: `${i}%` }
673
655
  })
674
656
  })]
675
657
  })
@@ -684,40 +666,40 @@ var K = {
684
666
  };
685
667
  //#endregion
686
668
  //#region src/components/blocks/ai/ai-inline-citation/ai-inline-citation.tsx
687
- function Ue(e, t) {
669
+ function Be(e, t) {
688
670
  return e.replace(/\{\{\s*(\w+)\s*\}\}/g, (e, n) => {
689
671
  let r = t[n];
690
672
  return r === void 0 ? e : String(r);
691
673
  });
692
674
  }
693
- function q({ index: t, title: i, url: o, onSelect: s, className: c, strings: l }) {
694
- let u = e(K, l), d = Ue(u.openAria, {
675
+ function q({ index: t, title: r, url: i, onSelect: c, className: l, strings: u }) {
676
+ let d = e(K, u), p = Be(d.openAria, {
695
677
  n: t,
696
- title: i ?? ""
697
- }), f = i ? `${u.sourcePrefix} ${t}: ${i}` : `${u.sourcePrefix} ${t}`, p = n("box-border inline-flex h-action-xs min-w-action-xs -translate-y-px items-center justify-center rounded-inner border-0 px-control-xs font-sans", "align-middle tabular-nums", "bg-muted text-muted-foreground", "hover:bg-primary/10 hover:text-primary-accent", "transition-colors duration-150", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", c);
698
- return o ? /* @__PURE__ */ j(a, {
699
- href: o,
678
+ title: r ?? ""
679
+ }), m = r ? `${d.sourcePrefix} ${t}: ${r}` : `${d.sourcePrefix} ${t}`, h = n("box-border inline-flex h-action-xs min-w-action-xs -translate-y-px items-center justify-center rounded-inner border-0 px-control-xs font-sans", "align-middle tabular-nums", "bg-muted text-muted-foreground", f.rowHover, "transition-colors duration-150", `focus-visible:outline-none ${s.edge}`, l);
680
+ return i ? /* @__PURE__ */ j(o, {
681
+ href: i,
700
682
  size: "inherit",
701
683
  underline: !1,
702
684
  target: "_blank",
703
685
  rel: "noopener noreferrer",
704
- title: f,
705
- "aria-label": d,
706
- className: n("ai-inline-citation--component", p),
707
- children: /* @__PURE__ */ j(r, {
686
+ title: m,
687
+ "aria-label": p,
688
+ className: n("ai-inline-citation--component", h),
689
+ children: /* @__PURE__ */ j(a, {
708
690
  tag: "span",
709
691
  size: "xs",
710
692
  weight: "medium",
711
693
  className: "leading-none",
712
694
  children: t
713
695
  })
714
- }) : s ? /* @__PURE__ */ j("button", {
696
+ }) : c ? /* @__PURE__ */ j("button", {
715
697
  type: "button",
716
- onClick: s,
717
- title: f,
718
- "aria-label": d,
719
- className: n("ai-inline-citation--component", p),
720
- children: /* @__PURE__ */ j(r, {
698
+ onClick: c,
699
+ title: m,
700
+ "aria-label": p,
701
+ className: n("ai-inline-citation--component", h),
702
+ children: /* @__PURE__ */ j(a, {
721
703
  tag: "span",
722
704
  size: "xs",
723
705
  weight: "medium",
@@ -725,10 +707,10 @@ function q({ index: t, title: i, url: o, onSelect: s, className: c, strings: l }
725
707
  children: t
726
708
  })
727
709
  }) : /* @__PURE__ */ j("span", {
728
- title: f,
729
- "aria-label": d,
730
- className: n("ai-inline-citation--component", p),
731
- children: /* @__PURE__ */ j(r, {
710
+ title: m,
711
+ "aria-label": p,
712
+ className: n("ai-inline-citation--component", h),
713
+ children: /* @__PURE__ */ j(a, {
732
714
  tag: "span",
733
715
  size: "xs",
734
716
  weight: "medium",
@@ -752,104 +734,96 @@ var J = {
752
734
  };
753
735
  //#endregion
754
736
  //#region src/components/blocks/ai/ai-package-info/ai-package-info.tsx
755
- function Y({ name: e, version: i, description: s, license: l, publishedAt: u, homepage: f, repository: p, weeklyDownloads: m, keywords: g, onSelect: _, className: v, strings: y }) {
756
- let b = t(J, y), x = /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
757
- "aria-hidden": !0,
758
- className: "inline-flex size-9 shrink-0 items-center justify-center rounded-inner bg-muted text-muted-foreground",
759
- children: /* @__PURE__ */ j(P, { className: "size-icon" })
760
- }), /* @__PURE__ */ M("div", {
737
+ function Y({ name: e, version: i, description: s, license: c, publishedAt: u, homepage: d, repository: p, weeklyDownloads: h, keywords: g, onSelect: _, className: y, strings: b }) {
738
+ let x = t(J, b), S = /* @__PURE__ */ j(A, { children: /* @__PURE__ */ M("div", {
761
739
  className: "min-w-0 flex-1",
762
740
  children: [
763
- /* @__PURE__ */ M(c, {
741
+ /* @__PURE__ */ M(l, {
764
742
  gap: "dense",
765
- children: [/* @__PURE__ */ M(c, {
743
+ children: [/* @__PURE__ */ M(l, {
766
744
  direction: "horizontal",
767
745
  gap: "md",
768
746
  align: "center",
769
- children: [/* @__PURE__ */ j(d, {
747
+ children: [/* @__PURE__ */ j(m, {
770
748
  weight: "semibold",
771
749
  className: "truncate",
772
750
  children: e
773
- }), !!i && /* @__PURE__ */ j(h, {
751
+ }), !!i && /* @__PURE__ */ j(v, {
774
752
  tone: "secondary",
775
- children: /* @__PURE__ */ M(d, {
753
+ children: /* @__PURE__ */ M(m, {
776
754
  size: "xs",
777
755
  className: "text-inherit",
778
756
  children: ["v", i.replace(/^v/, "")]
779
757
  })
780
758
  })]
781
- }), !!s && /* @__PURE__ */ j(r, {
759
+ }), !!s && /* @__PURE__ */ j(a, {
782
760
  size: "xs",
783
761
  type: "secondary",
784
762
  className: "line-clamp-2",
785
763
  children: s
786
764
  })]
787
765
  }),
788
- (l || u || m !== void 0) && /* @__PURE__ */ M("div", {
766
+ (c || u || h !== void 0) && /* @__PURE__ */ M("div", {
789
767
  className: "mt-space-md flex flex-wrap items-center gap-x-space-lg gap-y-space-xs",
790
768
  children: [
791
- !!l && /* @__PURE__ */ j(X, {
792
- label: b.licenseLabel,
793
- value: l
769
+ !!c && /* @__PURE__ */ j(X, {
770
+ label: x.licenseLabel,
771
+ value: c
794
772
  }),
795
773
  !!u && /* @__PURE__ */ j(X, {
796
- label: b.publishedLabel,
774
+ label: x.publishedLabel,
797
775
  value: u
798
776
  }),
799
- m !== void 0 && /* @__PURE__ */ j(X, {
800
- label: b.weeklyDownloadsLabel,
801
- value: String(m)
777
+ h !== void 0 && /* @__PURE__ */ j(X, {
778
+ label: x.weeklyDownloadsLabel,
779
+ value: String(h)
802
780
  })
803
781
  ]
804
782
  }),
805
783
  !!g?.length && /* @__PURE__ */ j("div", {
806
784
  className: "mt-space-md flex flex-wrap gap-space-xs",
807
- children: g.slice(0, 6).map((e) => /* @__PURE__ */ j(h, {
785
+ children: g.slice(0, 6).map((e) => /* @__PURE__ */ j(v, {
808
786
  tone: "secondary",
809
787
  children: e
810
788
  }, e))
811
789
  })
812
790
  ]
813
- })] }), S = "ai-package-info--body flex w-full items-start gap-space-lg p-surface-xs text-left";
791
+ }) }), C = "ai-package-info--body flex w-full items-start gap-space-lg p-surface-xs text-left";
814
792
  return /* @__PURE__ */ M("div", {
815
- className: n("ai-package-info--component block w-full overflow-hidden rounded-radius border border-border/60 bg-card", v),
816
- children: [_ ? /* @__PURE__ */ j(o, {
793
+ className: n("ai-package-info--component block w-full overflow-hidden rounded-radius border border-border/60 bg-card", y),
794
+ children: [_ ? /* @__PURE__ */ j(r, {
817
795
  type: "button",
818
796
  tone: "secondary",
819
797
  buttonStyle: "ghost",
820
798
  onClick: _,
821
- className: n(S, "h-auto justify-start rounded-none whitespace-normal transition-colors hover:bg-muted/40"),
822
- children: x
799
+ className: n(C, `h-auto min-h-0 justify-start rounded-none whitespace-normal transition-colors ${f.rowHover}`),
800
+ children: S
823
801
  }) : /* @__PURE__ */ j("div", {
824
- className: S,
825
- children: x
826
- }), (f || p) && /* @__PURE__ */ j("div", {
827
- className: "ai-package-info--footer border-t border-border/60 bg-muted/20 px-surface-xs py-row-y",
828
- children: /* @__PURE__ */ M(c, {
802
+ className: C,
803
+ children: S
804
+ }), (d || p) && /* @__PURE__ */ j("div", {
805
+ className: "ai-package-info--footer px-surface-xs pb-surface-xs",
806
+ children: /* @__PURE__ */ M(l, {
829
807
  direction: "horizontal",
830
808
  align: "center",
831
809
  gap: "md",
832
810
  children: [
833
- !!f && /* @__PURE__ */ M(a, {
834
- href: f,
811
+ !!d && /* @__PURE__ */ M(o, {
812
+ href: d,
835
813
  size: "inherit",
836
814
  underline: !1,
837
815
  target: "_blank",
838
816
  rel: "noopener noreferrer",
839
817
  onClick: (e) => e.stopPropagation(),
840
- "aria-label": b.homepageAria,
841
- className: "inline-flex items-center gap-space-xs rounded text-muted-foreground hover:text-foreground",
842
- children: [
843
- /* @__PURE__ */ j(je, { className: "size-icon-sm" }),
844
- /* @__PURE__ */ j(r, {
845
- tag: "span",
846
- weight: "medium",
847
- children: b.homepageLabel
848
- }),
849
- /* @__PURE__ */ j(N, { className: "size-icon-sm" })
850
- ]
818
+ "aria-label": x.homepageAria,
819
+ className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
820
+ children: [/* @__PURE__ */ j(a, {
821
+ tag: "span",
822
+ weight: "medium",
823
+ children: x.homepageLabel
824
+ }), /* @__PURE__ */ j(N, { className: "size-icon-sm" })]
851
825
  }),
852
- !!f && !!p && /* @__PURE__ */ j(r, {
826
+ !!d && !!p && /* @__PURE__ */ j(a, {
853
827
  tag: "span",
854
828
  size: "xs",
855
829
  type: "secondary",
@@ -857,24 +831,20 @@ function Y({ name: e, version: i, description: s, license: l, publishedAt: u, ho
857
831
  "aria-hidden": !0,
858
832
  children: "·"
859
833
  }),
860
- !!p && /* @__PURE__ */ M(a, {
834
+ !!p && /* @__PURE__ */ M(o, {
861
835
  href: p,
862
836
  size: "inherit",
863
837
  underline: !1,
864
838
  target: "_blank",
865
839
  rel: "noopener noreferrer",
866
840
  onClick: (e) => e.stopPropagation(),
867
- "aria-label": b.repositoryAria,
868
- className: "inline-flex items-center gap-space-xs rounded text-muted-foreground hover:text-foreground",
869
- children: [
870
- /* @__PURE__ */ j(Te, { className: "size-icon-sm" }),
871
- /* @__PURE__ */ j(r, {
872
- tag: "span",
873
- weight: "medium",
874
- children: b.repositoryLabel
875
- }),
876
- /* @__PURE__ */ j(N, { className: "size-icon-sm" })
877
- ]
841
+ "aria-label": x.repositoryAria,
842
+ className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
843
+ children: [/* @__PURE__ */ j(a, {
844
+ tag: "span",
845
+ weight: "medium",
846
+ children: x.repositoryLabel
847
+ }), /* @__PURE__ */ j(N, { className: "size-icon-sm" })]
878
848
  })
879
849
  ]
880
850
  })
@@ -885,11 +855,11 @@ Y.displayName = "AiPackageInfo";
885
855
  function X({ label: e, value: t }) {
886
856
  return /* @__PURE__ */ M("div", {
887
857
  className: "inline-flex items-baseline gap-space-xs",
888
- children: [/* @__PURE__ */ j(r, {
858
+ children: [/* @__PURE__ */ j(a, {
889
859
  size: "xs",
890
860
  type: "discrete",
891
861
  children: e
892
- }), /* @__PURE__ */ j(u, {
862
+ }), /* @__PURE__ */ j(p, {
893
863
  size: "xs",
894
864
  weight: "medium",
895
865
  className: "tabular-nums",
@@ -909,18 +879,18 @@ var Z = {
909
879
  removed: "D",
910
880
  renamed: "R"
911
881
  }
912
- }, We = {
882
+ }, Ve = {
913
883
  added: "success",
914
884
  modified: "warning",
915
885
  removed: "destructive",
916
886
  renamed: "info"
917
- }, Ge = {
887
+ }, He = {
918
888
  added: "text-success",
919
889
  modified: "text-warning-accent",
920
890
  removed: "text-destructive",
921
891
  renamed: "text-info"
922
892
  };
923
- function Ke(e) {
893
+ function Ue(e) {
924
894
  let t = e.split(".").pop()?.toLowerCase() ?? "";
925
895
  return [
926
896
  "ts",
@@ -937,20 +907,20 @@ function Ke(e) {
937
907
  "py",
938
908
  "rs",
939
909
  "go"
940
- ].includes(t) ? De : [
910
+ ].includes(t) ? Oe : [
941
911
  "md",
942
912
  "mdx",
943
913
  "txt"
944
- ].includes(t) ? Oe : Ee;
914
+ ].includes(t) ? ke : De;
945
915
  }
946
916
  function Q(e, t = 0) {
947
917
  return e.flatMap((e) => [...e.kind === "directory" && (e.defaultExpanded ?? t < 1) ? [e.id] : [], ...Q(e.children ?? [], t + 1)]);
948
918
  }
949
- function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, indent: o, density: s = "compact", disabled: l, expandedIds: f, defaultExpandedIds: p, onExpandedIdsChange: m, className: g, strings: _, ...v }) {
950
- let y = t(Z, _), [b, x] = k(() => p ?? Q(e)), S = f ?? b, C = Se(() => {
919
+ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, indent: o, density: s = "compact", disabled: c, expandedIds: u, defaultExpandedIds: d, onExpandedIdsChange: f, className: h, strings: g, ..._ }) {
920
+ let y = t(Z, g), [b, x] = k(() => d ?? Q(e)), S = u ?? b, C = we(() => {
951
921
  function t(e) {
952
922
  return e.map((e) => {
953
- let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ? Ae : ke : Ke(e.name));
923
+ let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ? je : Ae : Ue(e.name));
954
924
  return {
955
925
  value: e.id,
956
926
  label: e.name,
@@ -960,19 +930,19 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
960
930
  children: r ? t(e.children ?? []) : void 0,
961
931
  icon: /* @__PURE__ */ j(i, {
962
932
  "aria-hidden": "true",
963
- className: n("size-icon", e.status && Ge[e.status])
933
+ className: n("size-icon", e.status && He[e.status])
964
934
  }),
965
- trailing: /* @__PURE__ */ M(c, {
935
+ trailing: /* @__PURE__ */ M(l, {
966
936
  direction: "horizontal",
967
937
  gap: "xs",
968
938
  align: "center",
969
939
  className: "shrink-0",
970
- children: [e.status && !a && /* @__PURE__ */ j(h, {
971
- tone: We[e.status],
940
+ children: [e.status && !a && /* @__PURE__ */ j(v, {
941
+ tone: Ve[e.status],
972
942
  size: "sm",
973
943
  title: e.status,
974
944
  children: y.statusLabels[e.status]
975
- }), e.trailing != null && /* @__PURE__ */ j(u, {
945
+ }), e.trailing != null && /* @__PURE__ */ j(p, {
976
946
  size: "xs",
977
947
  className: "tabular-nums",
978
948
  children: e.trailing
@@ -988,37 +958,37 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
988
958
  a,
989
959
  y.statusLabels
990
960
  ]);
991
- return /* @__PURE__ */ j(xe, {
992
- ...v,
993
- "aria-label": v["aria-label"] ?? y.treeAria,
961
+ return /* @__PURE__ */ j(Ce, {
962
+ ..._,
963
+ "aria-label": _["aria-label"] ?? y.treeAria,
994
964
  items: C,
995
965
  selectedValues: r === void 0 ? [] : [r],
996
966
  expandedValues: S,
997
967
  branchActivation: "toggle",
998
968
  density: s,
999
- disabled: l,
969
+ disabled: c,
1000
970
  indent: o,
1001
971
  strings: {
1002
972
  expand: (e) => `${y.expandAria}: ${e}`,
1003
973
  collapse: (e) => `${y.collapseAria}: ${e}`
1004
974
  },
1005
975
  onExpandedValuesChange: (e, t) => {
1006
- f === void 0 && x(e), m?.(e, t.data);
976
+ u === void 0 && x(e), f?.(e, t.data);
1007
977
  },
1008
978
  onSelectedValuesChange: (e, t) => {
1009
979
  t.data?.kind === "file" && i?.(t.data);
1010
980
  },
1011
- renderLabel: (e) => /* @__PURE__ */ j(d, {
981
+ renderLabel: (e) => /* @__PURE__ */ j(m, {
1012
982
  size: "inherit",
1013
983
  weight: "regular",
1014
984
  className: n("ai-file-tree--name text-inherit wrap-anywhere", e.data?.status === "removed" && "line-through"),
1015
985
  children: e.label
1016
986
  }),
1017
- className: n("ai-file-tree--component", g)
987
+ className: n("ai-file-tree--component", h)
1018
988
  });
1019
989
  }
1020
990
  $.displayName = "AiFileTree";
1021
991
  //#endregion
1022
- export { pe as AiAgent, ge as AiArtifact, se as AiAttachment, O as AiChainOfThought, G as AiCitation, Be as AiClassificationPanel, D as AiCodeBlock, L as AiConfidence, ie as AiConfirmation, U as AiFeedback, $ as AiFileTree, q as AiInlineCitation, te as AiMessageBubble, Y as AiPackageInfo, z as AiPromptSuggestions, he as AiReasoning, be as AiShimmer, le as AiSources, ze as AiSummaryBlock, me as AiTask, V as AiTokenUsage, ne as AiToolCall, ue as defaultAiAgentStrings, de as defaultAiArtifactStrings, oe as defaultAiAttachmentStrings, fe as defaultAiChainOfThoughtStrings, W as defaultAiCitationStrings, ve as defaultAiCodeBlockStrings, I as defaultAiConfidenceStrings, ae as defaultAiConfirmationStrings, H as defaultAiFeedbackStrings, Z as defaultAiFileTreeStrings, K as defaultAiInlineCitationStrings, ee as defaultAiMessageBubbleStrings, J as defaultAiPackageInfoStrings, R as defaultAiPromptSuggestionsStrings, re as defaultAiReasoningStrings, _e as defaultAiSourcesStrings, ce as defaultAiTaskStrings, B as defaultAiTokenUsageStrings, ye as defaultAiToolCallStrings };
992
+ export { he as AiAgent, ve as AiArtifact, le as AiAttachment, ie as AiChainOfThought, G as AiCitation, Le as AiClassificationPanel, re as AiCodeBlock, L as AiConfidence, oe as AiConfirmation, U as AiFeedback, $ as AiFileTree, q as AiInlineCitation, ne as AiMessageBubble, Y as AiPackageInfo, z as AiPromptSuggestions, _e as AiReasoning, Se as AiShimmer, de as AiSources, Ie as AiSummaryBlock, ge as AiTask, V as AiTokenUsage, ae as AiToolCall, fe as defaultAiAgentStrings, pe as defaultAiArtifactStrings, ce as defaultAiAttachmentStrings, me as defaultAiChainOfThoughtStrings, W as defaultAiCitationStrings, be as defaultAiCodeBlockStrings, I as defaultAiConfidenceStrings, se as defaultAiConfirmationStrings, H as defaultAiFeedbackStrings, Z as defaultAiFileTreeStrings, K as defaultAiInlineCitationStrings, te as defaultAiMessageBubbleStrings, J as defaultAiPackageInfoStrings, R as defaultAiPromptSuggestionsStrings, O as defaultAiReasoningStrings, ye as defaultAiSourcesStrings, ue as defaultAiTaskStrings, B as defaultAiTokenUsageStrings, xe as defaultAiToolCallStrings };
1023
993
 
1024
994
  //# sourceMappingURL=ai.js.map