@trinityui/design-system 2.11.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (518) hide show
  1. package/CHANGELOG.md +2209 -0
  2. package/CONTRIBUTING.md +180 -69
  3. package/LICENSE +21 -0
  4. package/MIGRATION.md +523 -21
  5. package/README.md +281 -120
  6. package/dist/IllustratedMessage.js +546 -1341
  7. package/dist/accessibility.d.ts +596 -18
  8. package/dist/accessibility.d.ts.map +1 -1
  9. package/dist/accessibility.js +458 -0
  10. package/dist/app-shell.js +17230 -9097
  11. package/dist/assets/index.d.ts +1 -1
  12. package/dist/charts.js +8507 -6059
  13. package/dist/color-contrast.d.ts +35 -0
  14. package/dist/color-contrast.d.ts.map +1 -0
  15. package/dist/commonjs-helpers.js +8 -0
  16. package/dist/component-color-references.d.ts +175 -0
  17. package/dist/component-color-references.d.ts.map +1 -0
  18. package/dist/components/AI/AIActions.d.ts +72 -12
  19. package/dist/components/AI/AIActions.d.ts.map +1 -1
  20. package/dist/components/AI/AIAvatar.d.ts +31 -3
  21. package/dist/components/AI/AIAvatar.d.ts.map +1 -1
  22. package/dist/components/AI/AIChainOfThought.d.ts +192 -72
  23. package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
  24. package/dist/components/AI/AIChainOfThought.types.d.ts +296 -34
  25. package/dist/components/AI/AIChainOfThought.types.d.ts.map +1 -1
  26. package/dist/components/AI/AIChainOfThought.utils.d.ts +25 -7
  27. package/dist/components/AI/AIChainOfThought.utils.d.ts.map +1 -1
  28. package/dist/components/AI/AIChat.d.ts +12 -0
  29. package/dist/components/AI/AIChat.d.ts.map +1 -1
  30. package/dist/components/AI/AIChatWelcome.d.ts +254 -0
  31. package/dist/components/AI/AIChatWelcome.d.ts.map +1 -0
  32. package/dist/components/AI/AIClarificationPrompt.d.ts +134 -0
  33. package/dist/components/AI/AIClarificationPrompt.d.ts.map +1 -0
  34. package/dist/components/AI/AIConfidenceBadge.d.ts +117 -0
  35. package/dist/components/AI/AIConfidenceBadge.d.ts.map +1 -0
  36. package/dist/components/AI/AIConfigContext.d.ts +100 -0
  37. package/dist/components/AI/AIConfigContext.d.ts.map +1 -0
  38. package/dist/components/AI/AIConfigProvider.d.ts +66 -0
  39. package/dist/components/AI/AIConfigProvider.d.ts.map +1 -0
  40. package/dist/components/AI/AIContainer.d.ts +80 -11
  41. package/dist/components/AI/AIContainer.d.ts.map +1 -1
  42. package/dist/components/AI/AIExplainability.d.ts +39 -5
  43. package/dist/components/AI/AIExplainability.d.ts.map +1 -1
  44. package/dist/components/AI/AIFeedbackControl.d.ts +113 -0
  45. package/dist/components/AI/AIFeedbackControl.d.ts.map +1 -0
  46. package/dist/components/AI/AIFeedbackForm.d.ts +117 -0
  47. package/dist/components/AI/AIFeedbackForm.d.ts.map +1 -0
  48. package/dist/components/AI/AIFeedbackHostContext.d.ts +16 -0
  49. package/dist/components/AI/AIFeedbackHostContext.d.ts.map +1 -0
  50. package/dist/components/AI/AILabel.d.ts +39 -6
  51. package/dist/components/AI/AILabel.d.ts.map +1 -1
  52. package/dist/components/AI/AIMessage.d.ts +337 -42
  53. package/dist/components/AI/AIMessage.d.ts.map +1 -1
  54. package/dist/components/AI/AIPlanReview.d.ts +194 -0
  55. package/dist/components/AI/AIPlanReview.d.ts.map +1 -0
  56. package/dist/components/AI/AIQueryDisclosure.d.ts +119 -0
  57. package/dist/components/AI/AIQueryDisclosure.d.ts.map +1 -0
  58. package/dist/components/AI/AIRelatedQuestions.d.ts +50 -11
  59. package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -1
  60. package/dist/components/AI/AIResponseRenderer.d.ts +133 -21
  61. package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -1
  62. package/dist/components/AI/AIResponseSourcesContext.d.ts +83 -0
  63. package/dist/components/AI/AIResponseSourcesContext.d.ts.map +1 -0
  64. package/dist/components/AI/AIReviewItem.d.ts +142 -0
  65. package/dist/components/AI/AIReviewItem.d.ts.map +1 -0
  66. package/dist/components/AI/AISourceChip.d.ts +135 -0
  67. package/dist/components/AI/AISourceChip.d.ts.map +1 -0
  68. package/dist/components/AI/AISources.d.ts +91 -13
  69. package/dist/components/AI/AISources.d.ts.map +1 -1
  70. package/dist/components/AI/AISourcesPanel.d.ts +43 -7
  71. package/dist/components/AI/AISourcesPanel.d.ts.map +1 -1
  72. package/dist/components/AI/AITextBlock.d.ts +107 -17
  73. package/dist/components/AI/AITextBlock.d.ts.map +1 -1
  74. package/dist/components/AI/AITextBlock.parser.d.ts +153 -0
  75. package/dist/components/AI/AITextBlock.parser.d.ts.map +1 -0
  76. package/dist/components/AI/AIVerificationBadge.d.ts +94 -0
  77. package/dist/components/AI/AIVerificationBadge.d.ts.map +1 -0
  78. package/dist/components/AI/AIVisuals.d.ts +92 -23
  79. package/dist/components/AI/AIVisuals.d.ts.map +1 -1
  80. package/dist/components/AI/AIVoiceInput.d.ts +42 -11
  81. package/dist/components/AI/AIVoiceInput.d.ts.map +1 -1
  82. package/dist/components/AI/AIVoiceMode.d.ts +16 -2
  83. package/dist/components/AI/AIVoiceMode.d.ts.map +1 -1
  84. package/dist/components/AI/BlockErrorBoundary.d.ts +77 -0
  85. package/dist/components/AI/BlockErrorBoundary.d.ts.map +1 -0
  86. package/dist/components/AI/ChatHeader.d.ts +41 -4
  87. package/dist/components/AI/ChatHeader.d.ts.map +1 -1
  88. package/dist/components/AI/ChatHistoryList.d.ts +25 -12
  89. package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
  90. package/dist/components/AI/ChatThread.d.ts +263 -13
  91. package/dist/components/AI/ChatThread.d.ts.map +1 -1
  92. package/dist/components/AI/InThreadContext.d.ts +14 -0
  93. package/dist/components/AI/InThreadContext.d.ts.map +1 -0
  94. package/dist/components/AI/InsightEngine.d.ts +270 -46
  95. package/dist/components/AI/InsightEngine.d.ts.map +1 -1
  96. package/dist/components/AI/InsightEngineInput.d.ts +52 -5
  97. package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
  98. package/dist/components/AI/MessageActionButton.d.ts +72 -0
  99. package/dist/components/AI/MessageActionButton.d.ts.map +1 -0
  100. package/dist/components/AI/QueryInput.d.ts.map +1 -1
  101. package/dist/components/AI/UserAvatar.d.ts +50 -4
  102. package/dist/components/AI/UserAvatar.d.ts.map +1 -1
  103. package/dist/components/AI/UserMessage.d.ts +32 -3
  104. package/dist/components/AI/UserMessage.d.ts.map +1 -1
  105. package/dist/components/AI/blockRendererContext.d.ts +64 -0
  106. package/dist/components/AI/blockRendererContext.d.ts.map +1 -0
  107. package/dist/components/AI/hitlBlockRenderers.d.ts +48 -0
  108. package/dist/components/AI/hitlBlockRenderers.d.ts.map +1 -0
  109. package/dist/components/AI/index.d.ts +23 -6
  110. package/dist/components/AI/index.d.ts.map +1 -1
  111. package/dist/components/AI/moleculeBlockRenderers.d.ts +15 -0
  112. package/dist/components/AI/moleculeBlockRenderers.d.ts.map +1 -0
  113. package/dist/components/AI/planReviewBlockRenderer.d.ts +8 -0
  114. package/dist/components/AI/planReviewBlockRenderer.d.ts.map +1 -0
  115. package/dist/components/AI/strings/defaults.d.ts +31 -0
  116. package/dist/components/AI/strings/defaults.d.ts.map +1 -0
  117. package/dist/components/AI/tokens.d.ts +185 -20
  118. package/dist/components/AI/tokens.d.ts.map +1 -1
  119. package/dist/components/AI/types/hitl.d.ts +2294 -0
  120. package/dist/components/AI/types/hitl.d.ts.map +1 -0
  121. package/dist/components/AI/types/index.d.ts +2 -1
  122. package/dist/components/AI/types/index.d.ts.map +1 -1
  123. package/dist/components/AI/types/response.d.ts +428 -40
  124. package/dist/components/AI/types/response.d.ts.map +1 -1
  125. package/dist/components/AI/useBlockSources.d.ts +67 -0
  126. package/dist/components/AI/useBlockSources.d.ts.map +1 -0
  127. package/dist/components/AI/useBrowserVoiceMode.d.ts +31 -2
  128. package/dist/components/AI/useBrowserVoiceMode.d.ts.map +1 -1
  129. package/dist/components/AI/useWelcomeComposerHandoff.d.ts +30 -0
  130. package/dist/components/AI/useWelcomeComposerHandoff.d.ts.map +1 -0
  131. package/dist/components/AI/utils/alphaIndex.d.ts +19 -0
  132. package/dist/components/AI/utils/alphaIndex.d.ts.map +1 -0
  133. package/dist/components/AI/utils/blockReady.d.ts +54 -0
  134. package/dist/components/AI/utils/blockReady.d.ts.map +1 -0
  135. package/dist/components/AI/utils/blocks.d.ts +28 -0
  136. package/dist/components/AI/utils/blocks.d.ts.map +1 -0
  137. package/dist/components/AI/utils/confidence.d.ts +182 -0
  138. package/dist/components/AI/utils/confidence.d.ts.map +1 -0
  139. package/dist/components/AI/utils/filters.d.ts +31 -0
  140. package/dist/components/AI/utils/filters.d.ts.map +1 -0
  141. package/dist/components/AI/utils/responseText.d.ts +8 -0
  142. package/dist/components/AI/utils/responseText.d.ts.map +1 -0
  143. package/dist/components/AI/utils/sources.d.ts +110 -0
  144. package/dist/components/AI/utils/sources.d.ts.map +1 -0
  145. package/dist/components/AIDigestCard/AIDigestCard.d.ts.map +1 -1
  146. package/dist/components/AIDigestCard/types.d.ts +42 -5
  147. package/dist/components/AIDigestCard/types.d.ts.map +1 -1
  148. package/dist/components/AppLayout/AIFab.d.ts +33 -6
  149. package/dist/components/AppLayout/AIFab.d.ts.map +1 -1
  150. package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -1
  151. package/dist/components/AppLayout/AppLayout.d.ts +135 -7
  152. package/dist/components/AppLayout/AppLayout.d.ts.map +1 -1
  153. package/dist/components/AppLayout/InsightEnginePanel.d.ts +315 -21
  154. package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
  155. package/dist/components/AppLayout/ResizablePanel.d.ts +145 -8
  156. package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -1
  157. package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +6 -0
  158. package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
  159. package/dist/components/AppLayout/index.d.ts +3 -3
  160. package/dist/components/AppLayout/index.d.ts.map +1 -1
  161. package/dist/components/AppLayout/insightEnginePanel.demo.d.ts +32 -0
  162. package/dist/components/AppLayout/insightEnginePanel.demo.d.ts.map +1 -0
  163. package/dist/components/AppLayout/panelPropsPath.d.ts +26 -0
  164. package/dist/components/AppLayout/panelPropsPath.d.ts.map +1 -0
  165. package/dist/components/AppLayout/panelResizeTransition.d.ts +49 -0
  166. package/dist/components/AppLayout/panelResizeTransition.d.ts.map +1 -0
  167. package/dist/components/AppLayout/toChatThreadMessage.d.ts +40 -0
  168. package/dist/components/AppLayout/toChatThreadMessage.d.ts.map +1 -0
  169. package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts +5 -1
  170. package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts.map +1 -1
  171. package/dist/components/AuditDrawer/AuditDrawer.d.ts +4 -3
  172. package/dist/components/AuditDrawer/AuditDrawer.d.ts.map +1 -1
  173. package/dist/components/AuditDrawer/index.d.ts +1 -1
  174. package/dist/components/AuditDrawer/index.d.ts.map +1 -1
  175. package/dist/components/AuditDrawer/types.d.ts +39 -5
  176. package/dist/components/AuditDrawer/types.d.ts.map +1 -1
  177. package/dist/components/Autocomplete/Autocomplete.d.ts +6 -1
  178. package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  179. package/dist/components/BulkActionDock/BulkActionDock.d.ts.map +1 -1
  180. package/dist/components/Carousel/Carousel.d.ts +10 -2
  181. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  182. package/dist/components/Charts/AreaChart.d.ts.map +1 -1
  183. package/dist/components/Charts/BarChart.d.ts.map +1 -1
  184. package/dist/components/Charts/ChartWrapper.d.ts.map +1 -1
  185. package/dist/components/Charts/ComposedChart.d.ts.map +1 -1
  186. package/dist/components/Charts/CustomLegend.d.ts +11 -2
  187. package/dist/components/Charts/CustomLegend.d.ts.map +1 -1
  188. package/dist/components/Charts/LineChart.d.ts.map +1 -1
  189. package/dist/components/Charts/PieChart.d.ts.map +1 -1
  190. package/dist/components/Charts/RadialChart.d.ts.map +1 -1
  191. package/dist/components/Charts/ScatterChart.d.ts.map +1 -1
  192. package/dist/components/Charts/Sparkline.d.ts.map +1 -1
  193. package/dist/components/Charts/gaugeGeometry.d.ts +35 -0
  194. package/dist/components/Charts/gaugeGeometry.d.ts.map +1 -0
  195. package/dist/components/Charts/highcharts.d.ts +23 -0
  196. package/dist/components/Charts/highcharts.d.ts.map +1 -0
  197. package/dist/components/Charts/highchartsUtils.d.ts +101 -6
  198. package/dist/components/Charts/highchartsUtils.d.ts.map +1 -1
  199. package/dist/components/Charts/index.d.ts +1 -1
  200. package/dist/components/Charts/index.d.ts.map +1 -1
  201. package/dist/components/Charts/tokens.d.ts +21 -0
  202. package/dist/components/Charts/tokens.d.ts.map +1 -1
  203. package/dist/components/Charts/types.d.ts +7 -7
  204. package/dist/components/Charts/types.d.ts.map +1 -1
  205. package/dist/components/ChipsInput/ChipsInput.d.ts.map +1 -1
  206. package/dist/components/ChoiceChips/ChoiceChips.d.ts +106 -0
  207. package/dist/components/ChoiceChips/ChoiceChips.d.ts.map +1 -0
  208. package/dist/components/ClearableTextField/ClearableTextField.d.ts +23 -2
  209. package/dist/components/ClearableTextField/ClearableTextField.d.ts.map +1 -1
  210. package/dist/components/CodeBlock/CodeBlock.d.ts +80 -0
  211. package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
  212. package/dist/components/Combobox/Combobox.d.ts +3 -2
  213. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  214. package/dist/components/CommandPalette/CommandPalette.d.ts +54 -3
  215. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  216. package/dist/components/CommandPalette/index.d.ts +1 -1
  217. package/dist/components/CommandPalette/index.d.ts.map +1 -1
  218. package/dist/components/CopyButton/CopyButton.d.ts +80 -0
  219. package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
  220. package/dist/components/DataCard/DataCard.d.ts +11 -1
  221. package/dist/components/DataCard/DataCard.d.ts.map +1 -1
  222. package/dist/components/DataTable/CellRenderers.d.ts +8 -11
  223. package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
  224. package/dist/components/DataTable/DataTable.d.ts +1 -1
  225. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  226. package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -1
  227. package/dist/components/DataTable/columnContext.d.ts +8 -0
  228. package/dist/components/DataTable/columnContext.d.ts.map +1 -0
  229. package/dist/components/DataTable/index.d.ts +2 -2
  230. package/dist/components/DataTable/index.d.ts.map +1 -1
  231. package/dist/components/DataTable/labels.d.ts +13 -0
  232. package/dist/components/DataTable/labels.d.ts.map +1 -0
  233. package/dist/components/DataTable/types.d.ts +34 -0
  234. package/dist/components/DataTable/types.d.ts.map +1 -1
  235. package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  236. package/dist/components/DetailsPopover/DetailsPopover.d.ts +185 -0
  237. package/dist/components/DetailsPopover/DetailsPopover.d.ts.map +1 -0
  238. package/dist/components/DiffViewer/DiffViewer.d.ts +3 -2
  239. package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -1
  240. package/dist/components/Disclosure/Disclosure.d.ts +83 -0
  241. package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
  242. package/dist/components/DockLayout/DockLayout.d.ts +58 -0
  243. package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
  244. package/dist/components/DockLayout/index.d.ts +1 -1
  245. package/dist/components/DockLayout/index.d.ts.map +1 -1
  246. package/dist/components/DocumentCard/DocumentCard.d.ts +5 -1
  247. package/dist/components/DocumentCard/DocumentCard.d.ts.map +1 -1
  248. package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts +6 -2
  249. package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts.map +1 -1
  250. package/dist/components/FileUpload/FileUpload.d.ts +141 -6
  251. package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
  252. package/dist/components/FileUpload/index.d.ts +1 -1
  253. package/dist/components/FileUpload/index.d.ts.map +1 -1
  254. package/dist/components/FilterBar/FilterBar.d.ts +27 -1
  255. package/dist/components/FilterBar/FilterBar.d.ts.map +1 -1
  256. package/dist/components/FilterBar/index.d.ts +1 -1
  257. package/dist/components/FilterBar/index.d.ts.map +1 -1
  258. package/dist/components/FlowAutoLayout/useFlowAutoLayout.d.ts.map +1 -1
  259. package/dist/components/GanttView/GanttView.d.ts +24 -0
  260. package/dist/components/GanttView/GanttView.d.ts.map +1 -1
  261. package/dist/components/GanttView/types.d.ts +33 -7
  262. package/dist/components/GanttView/types.d.ts.map +1 -1
  263. package/dist/components/GaugeCard/GaugeCard.d.ts +4 -3
  264. package/dist/components/GaugeCard/GaugeCard.d.ts.map +1 -1
  265. package/dist/components/GaugeCard/geometry.d.ts +59 -0
  266. package/dist/components/GaugeCard/geometry.d.ts.map +1 -0
  267. package/dist/components/GeoStatusMap/GeoStatusMap.d.ts.map +1 -1
  268. package/dist/components/GeoStatusMap/types.d.ts +8 -5
  269. package/dist/components/GeoStatusMap/types.d.ts.map +1 -1
  270. package/dist/components/GoToTop/GoToTop.d.ts +1 -1
  271. package/dist/components/GoToTop/GoToTop.d.ts.map +1 -1
  272. package/dist/components/HierarchicalDrillDown/HierarchicalDrillDown.d.ts.map +1 -1
  273. package/dist/components/HistoricalDataIndicator/HistoricalDataIndicator.d.ts.map +1 -1
  274. package/dist/components/HtmlToMui/HtmlToMui.d.ts +32 -2
  275. package/dist/components/HtmlToMui/HtmlToMui.d.ts.map +1 -1
  276. package/dist/components/Icon.d.ts +567 -10
  277. package/dist/components/Icon.d.ts.map +1 -1
  278. package/dist/components/IllustratedMessage.d.ts +52 -3
  279. package/dist/components/IllustratedMessage.d.ts.map +1 -1
  280. package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
  281. package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
  282. package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
  283. package/dist/components/InsightCard/types.d.ts +10 -3
  284. package/dist/components/InsightCard/types.d.ts.map +1 -1
  285. package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
  286. package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
  287. package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
  288. package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
  289. package/dist/components/LandingPage/LandingPage.d.ts +43 -4
  290. package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
  291. package/dist/components/LandingPage/heroTone.d.ts +54 -0
  292. package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
  293. package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
  294. package/dist/components/MetaChip/MetaChip.d.ts +113 -0
  295. package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
  296. package/dist/components/Modal/Modal.d.ts +222 -20
  297. package/dist/components/Modal/Modal.d.ts.map +1 -1
  298. package/dist/components/Modal/index.d.ts +1 -1
  299. package/dist/components/Modal/index.d.ts.map +1 -1
  300. package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
  301. package/dist/components/OrgChart/OrgChart.d.ts +5 -0
  302. package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
  303. package/dist/components/OrgChart/types.d.ts +31 -7
  304. package/dist/components/OrgChart/types.d.ts.map +1 -1
  305. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
  306. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
  307. package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
  308. package/dist/components/PageTOC/PageTOC.d.ts +2 -1
  309. package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
  310. package/dist/components/Popper/Popper.d.ts +80 -9
  311. package/dist/components/Popper/Popper.d.ts.map +1 -1
  312. package/dist/components/Popper/index.d.ts +1 -1
  313. package/dist/components/Popper/index.d.ts.map +1 -1
  314. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
  315. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
  316. package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts +48 -4
  317. package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts.map +1 -1
  318. package/dist/components/SearchInput/SearchInput.d.ts +49 -0
  319. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  320. package/dist/components/SearchInput/index.d.ts +1 -1
  321. package/dist/components/SearchInput/index.d.ts.map +1 -1
  322. package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
  323. package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
  324. package/dist/components/SplitPane/SplitPane.d.ts +2 -1
  325. package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
  326. package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
  327. package/dist/components/StatusIndicator/Badge.d.ts +6 -1
  328. package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
  329. package/dist/components/StatusIndicator/Chip.d.ts +3 -1
  330. package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
  331. package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
  332. package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
  333. package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
  334. package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
  335. package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  336. package/dist/components/StatusIndicator/index.d.ts +2 -2
  337. package/dist/components/StatusIndicator/index.d.ts.map +1 -1
  338. package/dist/components/StatusIndicator/types.d.ts +48 -1
  339. package/dist/components/StatusIndicator/types.d.ts.map +1 -1
  340. package/dist/components/StepList/StepList.d.ts +80 -0
  341. package/dist/components/StepList/StepList.d.ts.map +1 -0
  342. package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
  343. package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
  344. package/dist/components/StepList/stepStatus.d.ts +30 -0
  345. package/dist/components/StepList/stepStatus.d.ts.map +1 -0
  346. package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
  347. package/dist/components/Timeline/Timeline.d.ts +57 -3
  348. package/dist/components/Timeline/Timeline.d.ts.map +1 -1
  349. package/dist/components/Timeline/index.d.ts +1 -1
  350. package/dist/components/Timeline/index.d.ts.map +1 -1
  351. package/dist/components/Timeline/timelineLabels.d.ts +70 -0
  352. package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
  353. package/dist/components/Toast/Toast.d.ts.map +1 -1
  354. package/dist/components/TopNavHeader.d.ts +6 -0
  355. package/dist/components/TopNavHeader.d.ts.map +1 -1
  356. package/dist/components/TopNavWithSidebar.d.ts +49 -1
  357. package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
  358. package/dist/components/Tour/Tour.d.ts +18 -1
  359. package/dist/components/Tour/Tour.d.ts.map +1 -1
  360. package/dist/components/TransferList/TransferList.d.ts +123 -4
  361. package/dist/components/TransferList/TransferList.d.ts.map +1 -1
  362. package/dist/components/TransferList/index.d.ts +1 -1
  363. package/dist/components/TransferList/index.d.ts.map +1 -1
  364. package/dist/components/TreeView/TreeView.d.ts +97 -8
  365. package/dist/components/TreeView/TreeView.d.ts.map +1 -1
  366. package/dist/components/TreeView/index.d.ts +1 -1
  367. package/dist/components/TreeView/index.d.ts.map +1 -1
  368. package/dist/components/TrinityLoader.d.ts.map +1 -1
  369. package/dist/components/icons/featherExtensions.d.ts +55 -0
  370. package/dist/components/icons/featherExtensions.d.ts.map +1 -0
  371. package/dist/components/icons/materialExtensions.d.ts +20 -0
  372. package/dist/components/icons/materialExtensions.d.ts.map +1 -0
  373. package/dist/components/internal/index.d.ts +87 -0
  374. package/dist/components/internal/index.d.ts.map +1 -1
  375. package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
  376. package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
  377. package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
  378. package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
  379. package/dist/components/navigation/components.d.ts +6 -0
  380. package/dist/components/navigation/components.d.ts.map +1 -1
  381. package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
  382. package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
  383. package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
  384. package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
  385. package/dist/components/shared/bidi.d.ts +44 -0
  386. package/dist/components/shared/bidi.d.ts.map +1 -0
  387. package/dist/components/shared/bidiText.d.ts +25 -0
  388. package/dist/components/shared/bidiText.d.ts.map +1 -0
  389. package/dist/components/shared/containerQueries.d.ts +73 -0
  390. package/dist/components/shared/containerQueries.d.ts.map +1 -0
  391. package/dist/components/shared/createStringsContext.d.ts +69 -0
  392. package/dist/components/shared/createStringsContext.d.ts.map +1 -0
  393. package/dist/components/shared/direction.d.ts +46 -0
  394. package/dist/components/shared/direction.d.ts.map +1 -0
  395. package/dist/components/shared/focusTrap.d.ts +36 -0
  396. package/dist/components/shared/focusTrap.d.ts.map +1 -0
  397. package/dist/components/shared/getInitials.d.ts +29 -0
  398. package/dist/components/shared/getInitials.d.ts.map +1 -0
  399. package/dist/components/shared/headingLevel.d.ts +69 -0
  400. package/dist/components/shared/headingLevel.d.ts.map +1 -0
  401. package/dist/components/shared/mergeSlotProps.d.ts +50 -0
  402. package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
  403. package/dist/components/shared/mergeSx.d.ts +26 -0
  404. package/dist/components/shared/mergeSx.d.ts.map +1 -0
  405. package/dist/components/shared/motion.d.ts +110 -0
  406. package/dist/components/shared/motion.d.ts.map +1 -0
  407. package/dist/components/shared/occurrenceKeys.d.ts +23 -0
  408. package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
  409. package/dist/components/shared/primaryAction.d.ts +89 -0
  410. package/dist/components/shared/primaryAction.d.ts.map +1 -0
  411. package/dist/components/shared/resizeKeyboard.d.ts +68 -0
  412. package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
  413. package/dist/components/shared/rootProps.d.ts +117 -0
  414. package/dist/components/shared/rootProps.d.ts.map +1 -0
  415. package/dist/components/shared/safeContent.d.ts +136 -0
  416. package/dist/components/shared/safeContent.d.ts.map +1 -0
  417. package/dist/components/shared/targetSize.d.ts +64 -0
  418. package/dist/components/shared/targetSize.d.ts.map +1 -0
  419. package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
  420. package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
  421. package/dist/components/shared/useCopyAction.d.ts +35 -0
  422. package/dist/components/shared/useCopyAction.d.ts.map +1 -0
  423. package/dist/components/shared/useOverflow.d.ts +44 -0
  424. package/dist/components/shared/useOverflow.d.ts.map +1 -0
  425. package/dist/components/shared/useResizable.d.ts +106 -7
  426. package/dist/components/shared/useResizable.d.ts.map +1 -1
  427. package/dist/components/shared/warnDeprecated.d.ts +89 -15
  428. package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
  429. package/dist/components/shared/zIndexRoles.d.ts +62 -0
  430. package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
  431. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
  432. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
  433. package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
  434. package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
  435. package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
  436. package/dist/components/templates/Auth/types.d.ts +4 -1
  437. package/dist/components/templates/Auth/types.d.ts.map +1 -1
  438. package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
  439. package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
  440. package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
  441. package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
  442. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
  443. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
  444. package/dist/components/templates/ListDetail/index.d.ts +1 -1
  445. package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
  446. package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
  447. package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
  448. package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
  449. package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
  450. package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
  451. package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
  452. package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
  453. package/dist/components/templates/index.d.ts +2 -1
  454. package/dist/components/templates/index.d.ts.map +1 -1
  455. package/dist/data-table.d.ts +1 -1
  456. package/dist/data-table.d.ts.map +1 -1
  457. package/dist/data-table.js +1 -0
  458. package/dist/data-table2.js +13522 -13465
  459. package/dist/data.js +213 -194
  460. package/dist/elk.bundled.js +47371 -0
  461. package/dist/essentials.d.ts +3 -3
  462. package/dist/essentials.d.ts.map +1 -1
  463. package/dist/essentials.js +179 -147
  464. package/dist/focus-on-replace.js +49 -0
  465. package/dist/form.d.ts +26 -4
  466. package/dist/form.d.ts.map +1 -1
  467. package/dist/forms.js +575 -483
  468. package/dist/foundation.js +3704 -0
  469. package/dist/hooks/storageStore.d.ts +51 -0
  470. package/dist/hooks/storageStore.d.ts.map +1 -0
  471. package/dist/hooks/useAsyncAction.d.ts +65 -0
  472. package/dist/hooks/useAsyncAction.d.ts.map +1 -0
  473. package/dist/hooks/useDisclosure.d.ts +190 -0
  474. package/dist/hooks/useDisclosure.d.ts.map +1 -0
  475. package/dist/hooks/useFocusOnReplace.d.ts +95 -0
  476. package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
  477. package/dist/hooks/useTrinityPalette.d.ts +38 -40
  478. package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
  479. package/dist/hooks.d.ts +44 -6
  480. package/dist/hooks.d.ts.map +1 -1
  481. package/dist/hooks.js +301 -0
  482. package/dist/index.d.ts +71 -26
  483. package/dist/index.d.ts.map +1 -1
  484. package/dist/index.js +13923 -60619
  485. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
  486. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
  487. package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
  488. package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
  489. package/dist/patterns/index.d.ts +15 -0
  490. package/dist/patterns/index.d.ts.map +1 -0
  491. package/dist/presets/analytics.d.ts +8 -1
  492. package/dist/presets/analytics.d.ts.map +1 -1
  493. package/dist/presets/crm.d.ts +8 -1
  494. package/dist/presets/crm.d.ts.map +1 -1
  495. package/dist/presets/index.d.ts +1 -1
  496. package/dist/presets/portal.d.ts +8 -1
  497. package/dist/presets/portal.d.ts.map +1 -1
  498. package/dist/safe-content.js +792 -0
  499. package/dist/theme-augmentation.d.ts +388 -0
  500. package/dist/theme-augmentation.d.ts.map +1 -0
  501. package/dist/theme.d.ts +116 -30
  502. package/dist/theme.d.ts.map +1 -1
  503. package/dist/theme.js +891 -436
  504. package/dist/token-color.d.ts +14 -0
  505. package/dist/token-color.d.ts.map +1 -0
  506. package/dist/token-merge.d.ts +56 -0
  507. package/dist/token-merge.d.ts.map +1 -0
  508. package/dist/token-serialization.d.ts +65 -0
  509. package/dist/token-serialization.d.ts.map +1 -0
  510. package/dist/tokens.d.ts +882 -13
  511. package/dist/tokens.d.ts.map +1 -1
  512. package/dist/tokens.js +21 -19
  513. package/dist/trinity.css +1077 -414
  514. package/package.json +111 -90
  515. package/dist/components/index.d.ts +0 -145
  516. package/dist/components/index.d.ts.map +0 -1
  517. package/dist/components/shared.d.ts +0 -92
  518. package/dist/components/shared.d.ts.map +0 -1
@@ -2,22 +2,35 @@
2
2
  * @fileoverview Types for AIChainOfThought.
3
3
  * @module components/AI/AIChainOfThought.types
4
4
  *
5
- * Extracted from `AIChainOfThought.tsx` so the type surface can be imported
6
- * without pulling in the full 1800-line component (e.g. for test fixtures,
7
- * mock data generators, or server-side rendering of chain data).
5
+ * Extracted from `AIChainOfThought.tsx` so the types can be imported without
6
+ * the component (for test fixtures, mock data generators, or server code that
7
+ * builds chain data).
8
8
  */
9
+ import type * as React from 'react';
9
10
  import type { SxProps, Theme } from '@mui/material';
11
+ import type { TrinityRootProps, TrinitySlotProps } from '../shared/rootProps';
12
+ import type { HeadingLevel } from '../shared/headingLevel';
10
13
  import type { AISourceCategory } from './AISourcesPanel';
11
- /** Status of an individual execution step */
12
- export type StepStatus = 'pending' | 'running' | 'completed' | 'error' | 'retrying';
13
- /** Status of a phase overall */
14
- export type PhaseStatus = 'pending' | 'active' | 'completed' | 'error';
14
+ import type { AIActionErrorContext, AIBlockEvent, AIFeedbackRating, AIPlan } from './types/hitl';
15
+ import type { AIMessageAction } from './AIMessage';
16
+ import type { AIRelatedQuestion } from './AIRelatedQuestions';
17
+ import type { AIBlockRendererMap } from './blockRendererContext';
18
+ /**
19
+ * Status of an individual execution step. `'awaiting-input'` (since 2.13.0): the step waits for
20
+ * the user (shown as "Needs your input"). Switches over it need a default branch.
21
+ */
22
+ export type StepStatus = 'pending' | 'running' | 'completed' | 'error' | 'retrying' | 'awaiting-input';
23
+ /**
24
+ * Status of a phase overall. `'awaiting-input'` (since 2.13.0): the phase waits for the user, for
25
+ * example a plan to confirm; the chain keeps it open. Switches over it need a default branch.
26
+ */
27
+ export type PhaseStatus = 'pending' | 'active' | 'completed' | 'error' | 'awaiting-input';
15
28
  export interface ChainSource {
16
29
  /** Icon name */
17
30
  icon?: string;
18
31
  /** Source label */
19
32
  label: string;
20
- /** Source type badge text */
33
+ /** The source's type (for example "Database"), rendered as the chip label: "Database: metrics-store". */
21
34
  type?: string;
22
35
  }
23
36
  export interface TaskError {
@@ -29,6 +42,12 @@ export interface TaskError {
29
42
  resolution?: string;
30
43
  }
31
44
  export interface ExecutionTask {
45
+ /**
46
+ * Stable id of the task, used as its row key and as `taskId` in `onActionError`. Default
47
+ * `<phase id>-task-<index>`. Unique within its phase (a duplicate warns once in development).
48
+ * @since 2.13.0
49
+ */
50
+ id?: string;
32
51
  /** Task label */
33
52
  label: string;
34
53
  /** Sub-detail text shown while running */
@@ -43,23 +62,44 @@ export interface ExecutionTask {
43
62
  retryDetail?: string;
44
63
  /** Retry timing */
45
64
  retryTime?: string;
65
+ /**
66
+ * Whether a failed task offers Retry when the chain has `onTaskRetry`. `false` hides Retry for
67
+ * this task. @default true
68
+ * @since 2.13.0
69
+ */
70
+ retryable?: boolean;
46
71
  }
47
72
  export interface ChainArtifact {
48
73
  /** Unique id */
49
74
  id: string;
50
75
  /** Display label */
51
76
  label: string;
52
- /** Icon name */
77
+ /** Icon name for the card's white tile. Default: a file glyph. */
53
78
  icon?: string;
54
79
  /** Short description */
55
80
  description?: string;
56
- /** File format badge (e.g. "CSV", "Interactive", "PDF") */
81
+ /** File format (e.g. "CSV", "Interactive", "PDF"), shown with `meta` as the card's second line ("CSV · 5 rows"). */
57
82
  format?: string;
58
- /** Meta text (e.g. "12,420 records") */
83
+ /** Meta text (e.g. "5 rows", "12,420 records") */
59
84
  meta?: string;
60
- /** Whether to show mini chart bars */
85
+ /**
86
+ * Whether to show the mini chart. Its bars come from `chartData` only; without
87
+ * data a neutral chart glyph shows instead. The chart is decorative and hidden
88
+ * from assistive technology.
89
+ */
61
90
  showChart?: boolean;
62
- /** Click handler */
91
+ /**
92
+ * Values for the mini chart, one bar per value, scaled so the smallest value
93
+ * gets the shortest bar and the largest the tallest. Keep it short (about 12
94
+ * values fit a card). Values that are not finite numbers get the shortest bar.
95
+ * @since 2.13.0
96
+ */
97
+ chartData?: number[];
98
+ /**
99
+ * Called when the card is activated. With it, the card's primary action is a
100
+ * button named by `label` that covers the card (click, Enter or Space);
101
+ * without it the card is plain content.
102
+ */
63
103
  onClick?: () => void;
64
104
  }
65
105
  export interface OutputStat {
@@ -93,19 +133,33 @@ export interface PhaseBase {
93
133
  id: string;
94
134
  /** Display title */
95
135
  title: string;
96
- /** Subtitle / description */
136
+ /** The phase's one line of text under its title (for example "Three steps, shown before anything runs."). */
97
137
  subtitle?: string;
98
- /** Phase status */
138
+ /**
139
+ * Explicit status. When set it always wins; otherwise `derivePhaseStatus()`
140
+ * derives it (an execution phase from its tasks, every other type
141
+ * `completed`). See the table in AIChainOfThought.tsx.
142
+ */
99
143
  status?: PhaseStatus;
100
144
  /** Duration string shown when completed */
101
145
  duration?: string;
102
- /** Whether phase body is initially expanded */
146
+ /**
147
+ * Whether the phase body starts expanded. Read the first time the phase id is
148
+ * seen, including a phase that streams in after mount; later changes do not
149
+ * reseed it. @default true
150
+ */
103
151
  defaultExpanded?: boolean;
104
152
  }
105
153
  /** Understanding phase — thought bubbles + sources */
106
154
  export interface UnderstandingPhase extends PhaseBase {
107
155
  type: 'understanding';
108
- /** Thought bubble contents (supports HTML: strong, code) */
156
+ /**
157
+ * Thought bubble contents. Treated as untrusted and read as the chain's
158
+ * `contentFormat` says: by default safe-content HTML (the allowlist b, strong, i,
159
+ * em, code, br, p, ul, ol, li, span, a, mark; links keep only
160
+ * http(s)/mailto/tel/relative hrefs; every other tag, attribute and handler is
161
+ * removed or shown as text), or markdown, or plain text.
162
+ */
109
163
  thoughts: string[];
110
164
  /** Sources consulted */
111
165
  sources?: ChainSource[];
@@ -141,7 +195,14 @@ export interface OutputPhase extends PhaseBase {
141
195
  /** Insight phase — highlighted body, metrics, references */
142
196
  export interface InsightPhase extends PhaseBase {
143
197
  type: 'insight';
144
- /** The insight body (supports HTML: p, strong, code, span.insight-highlight) */
198
+ /**
199
+ * The insight body. Treated as untrusted and read as the chain's
200
+ * `contentFormat` says: by default safe-content HTML (the allowlist b, strong, i,
201
+ * em, code, br, p, ul, ol, li, span, a, mark, with
202
+ * `<span class="insight-highlight">` for highlights; links keep only
203
+ * http(s)/mailto/tel/relative hrefs; everything else is removed or shown as
204
+ * text), or markdown, or plain text.
205
+ */
145
206
  content: string;
146
207
  /** Optional confidence 0-1 */
147
208
  confidence?: number;
@@ -150,30 +211,106 @@ export interface InsightPhase extends PhaseBase {
150
211
  /** References / sources */
151
212
  references?: InsightReference[];
152
213
  }
153
- /** Discriminated union of all phase types */
154
- export type ChainPhase = UnderstandingPhase | PlanPhase | ExecutionPhase | OutputPhase | InsightPhase;
155
- export interface AIChainOfThoughtProps {
156
- /** The original user query (shown at top) */
214
+ /**
215
+ * Plan review phase (G-22): a plan the user confirms, edits or clarifies before it runs. A
216
+ * thinking phase: it shows in the thought process, never in the response, and keeps the
217
+ * thought process open while the plan waits for the user (`plan.status` 'review'). The body is
218
+ * the `plan-review` block renderer (AIPlanReview by default) with a block whose id is the
219
+ * phase's id; its events reach `onBlockEvent`.
220
+ *
221
+ * Status without an explicit `status`: 'review' (or none) is `awaiting-input`, 'replanning' is
222
+ * `active`, every other plan status is `completed`.
223
+ *
224
+ * @since 2.13.0
225
+ */
226
+ export interface PlanReviewPhase extends PhaseBase {
227
+ type: 'plan-review';
228
+ /** The plan under review. */
229
+ plan: AIPlan;
230
+ /** Where the review shows: in the phase (`'inline'`) or in a dialog (`'dialog'`). @default 'inline' */
231
+ presentation?: 'inline' | 'dialog';
232
+ }
233
+ /**
234
+ * Discriminated union of all phase types. `PlanReviewPhase` joined it in 2.13.0: switches over
235
+ * `type` need a default branch.
236
+ */
237
+ export type ChainPhase = UnderstandingPhase | PlanPhase | PlanReviewPhase | ExecutionPhase | OutputPhase | InsightPhase;
238
+ /**
239
+ * AIChainOfThought's own props. The root `<div>`'s HTML attributes are the rest (ADR-04 (3)).
240
+ */
241
+ export interface AIChainOfThoughtOwnProps {
242
+ /**
243
+ * The original user query, used as the accessible name of the reasoning group
244
+ * ("Reasoning for {query}"; without it, "AI reasoning chain"). Not shown on
245
+ * screen.
246
+ */
157
247
  query?: string;
248
+ /**
249
+ * Shows the query as visible text above the thought process (G-OD3). Off by default: the query
250
+ * names the reasoning group either way.
251
+ * @default false
252
+ * @since 2.13.0
253
+ */
254
+ showQuery?: boolean;
158
255
  /** Ordered list of reasoning phases */
159
256
  phases: ChainPhase[];
160
- /** Whether to show the collapsible thought-process toggle bar */
257
+ /**
258
+ * How thought bubbles (`thoughts`) and insight bodies (`content`) are read.
259
+ * All three treat the strings as untrusted model output.
260
+ *
261
+ * - `'html'` (default): safe-content HTML. Only b, strong, i, em, code, br, p,
262
+ * ul, ol, li, span, a and mark are kept, plus `<span class="insight-highlight">`.
263
+ * Links keep only http(s), mailto, tel and relative hrefs. Scripts, event
264
+ * handlers, frames, styles and every other tag or attribute are removed or
265
+ * shown as text.
266
+ * - `'markdown'`: parsed by AITextBlock's markdown renderer (bold, italic,
267
+ * inline code, links through the same URL policy, headings, lists, quotes,
268
+ * rules and paragraphs). HTML in the string is shown as text.
269
+ * Recommended for new integrations.
270
+ * - `'text'`: plain text; nothing is parsed.
271
+ *
272
+ * @default 'html'
273
+ * @since 2.13.0
274
+ */
275
+ contentFormat?: 'html' | 'markdown' | 'text';
276
+ /**
277
+ * Wraps each phase trigger in a heading of this level (`<h3><button>…</button></h3>`), so
278
+ * screen-reader users can move between phases by heading. The trigger keeps its name (the
279
+ * title, then the status). Unset, no heading element is rendered.
280
+ * @since 2.13.0
281
+ */
282
+ phaseHeadingLevel?: HeadingLevel;
283
+ /** Whether to show the "Thought process" header (the collapsible disclosure with the status line and progress dots). @default true */
161
284
  showToggle?: boolean;
162
285
  /** Whether the thought process starts collapsed */
163
286
  defaultCollapsed?: boolean;
164
287
  /** Which phase IDs are "thinking" phases (shown in toggle, collapsible).
165
288
  * Output and Insight phases are always shown outside the collapsible area. */
166
289
  thinkingPhaseIds?: string[];
167
- /** Whether to animate phase entrance */
290
+ /**
291
+ * Whether phase entrance and expand/collapse transitions animate (the Fade and
292
+ * Collapse timeouts). CSS animations such as spinners and entrance keyframes
293
+ * run either way. @default true
294
+ */
168
295
  animated?: boolean;
169
- /** Elapsed time string shown in toggle bar */
296
+ /** Elapsed time string shown in the header's status line ("Done · 4.2s") */
170
297
  elapsedTime?: string;
171
298
  /** Source citations displayed after the AI response (reuses AISourcesPanel) */
172
299
  sources?: AISourceCategory[];
173
- /** Related follow-up questions (reuses AIRelatedQuestions) */
174
- relatedQuestions?: string[];
175
- /** Callback when a related question is clicked */
300
+ /**
301
+ * Related follow-up questions (reuses AIRelatedQuestions): strings, or `AIRelatedQuestion`
302
+ * objects (since 2.13.0) for an id and the verified flag ('Verified' badge). Both can be mixed.
303
+ */
304
+ relatedQuestions?: Array<string | AIRelatedQuestion>;
305
+ /** Callback when a related question is clicked: the question's text. */
176
306
  onQuestionClick?: (question: string) => void;
307
+ /**
308
+ * Callback when a related question is clicked: the question (a string is passed as `{ text }`)
309
+ * and its index. Fires alongside `onQuestionClick`; the chain then reports the content-free
310
+ * `followup.select` interaction (`{ verified, index, questionId? }`) once.
311
+ * @since 2.13.0
312
+ */
313
+ onQuestionSelect?: (question: AIRelatedQuestion, index: number) => void;
177
314
  /** Suggested actions shown after the response (reuses AISuggestedAction) */
178
315
  suggestedActions?: Array<{
179
316
  label: string;
@@ -181,15 +318,140 @@ export interface AIChainOfThoughtProps {
181
318
  }>;
182
319
  /** Timestamp displayed in the AI message footer */
183
320
  timestamp?: string;
184
- /** Callback for copy action on the AI message */
185
- onCopy?: () => void;
186
- /** Callback for feedback (thumbs up/down) on the AI message */
321
+ /**
322
+ * Called with the copied text when Copy is pressed. Without it, Copy writes the response to the
323
+ * clipboard and announces the result (AIMessage's `'auto'` copy). Copy always shows.
324
+ */
325
+ onCopy?: (text: string) => void;
326
+ /**
327
+ * The text Copy uses. Default: the visible text of the final phases (output and insight), without
328
+ * hidden parts.
329
+ * @since 2.13.0
330
+ */
331
+ copyText?: string;
332
+ /**
333
+ * Called with the new rating when a thumb is pressed (`true` good, `false` poor). The thumbs show
334
+ * only when this, `onFeedbackChange` or a controlled `feedback` is passed.
335
+ */
187
336
  onFeedback?: (positive: boolean) => void;
188
- /** Callback for share action on the AI message */
337
+ /**
338
+ * The rating, controlled: `'positive'`, `'negative'` or `null`. Passed to AIMessage.
339
+ * @since 2.13.0
340
+ */
341
+ feedback?: AIFeedbackRating | null;
342
+ /**
343
+ * The initial rating when `feedback` is not controlled. Passed to AIMessage.
344
+ * @default null
345
+ * @since 2.13.0
346
+ */
347
+ defaultFeedback?: AIFeedbackRating | null;
348
+ /**
349
+ * Called with every rating change, `null` when the pressed thumb is pressed again. Passed to
350
+ * AIMessage.
351
+ * @since 2.13.0
352
+ */
353
+ onFeedbackChange?: (value: AIFeedbackRating | null) => void;
354
+ /**
355
+ * Replaces the built-in thumbs in the footer, for example with a detailed AIFeedbackControl.
356
+ * @since 2.13.0
357
+ */
358
+ feedbackControl?: React.ReactNode;
359
+ /** Share callback. The Share action shows only when it is passed. */
189
360
  onShare?: () => void;
190
- /** Callback for download action on the AI message */
361
+ /** Download callback. The Download action shows only when it is passed. */
191
362
  onDownload?: () => void;
192
- /** Custom sx */
363
+ /**
364
+ * Regenerates the response. When passed, the footer shows Regenerate (AIMessage's action: pending
365
+ * state, the failure alert with "Try again", `onActionError` with `{ source: 'action', actionId:
366
+ * 'regenerate' }`).
367
+ * @since 2.13.0
368
+ */
369
+ onRegenerate?: () => void | Promise<void>;
370
+ /**
371
+ * App actions after the built-in ones in the response footer (see `AIMessageAction`).
372
+ * @since 2.13.0
373
+ */
374
+ actions?: AIMessageAction[];
375
+ /**
376
+ * Non-interactive content at the start of the response footer: AIConfidenceBadge,
377
+ * AIVerificationBadge.
378
+ * @since 2.13.0
379
+ */
380
+ badges?: React.ReactNode;
381
+ /**
382
+ * Retries a failed execution task. When set, every task whose status is `error` shows a
383
+ * "Retry" button in its error alert. The button runs this through the shared async contract:
384
+ * while the returned promise is pending it is `aria-disabled` and `aria-busy` and keeps focus,
385
+ * and a rejection shows an inline "Couldn't retry the task" alert with "Try again". On success
386
+ * the parent moves the task on by updating `phases` (for example to `running` or `retrying`).
387
+ * Named apart from the message-level `onRegenerate`, which regenerates the whole response.
388
+ * @since 2.13.0
389
+ */
390
+ onTaskRetry?: (task: ExecutionTask, phase: ExecutionPhase) => void | PromiseLike<void>;
391
+ /**
392
+ * Called when a task retry (`onTaskRetry`) rejects, with
393
+ * `{ source: 'task', phaseId, taskId }` (`taskId` is `<phase id>-task-<index>`). The inline
394
+ * failure shows either way. Without it, the error goes to `globalThis.reportError` (ADR-07).
395
+ * @since 2.13.0
396
+ */
397
+ onActionError?: (error: unknown, context: AIActionErrorContext) => void;
398
+ /**
399
+ * Called with what the user did in a plan-review phase (`plan.confirm`, `plan.stepEdit`,
400
+ * `plan.clarify`, `plan.cancel`; the block id is the phase id). A returned promise drives the
401
+ * plan's pending state, its rejection the plan's error. Without it a plan renders read-only.
402
+ * @since 2.13.0
403
+ */
404
+ onBlockEvent?: (event: AIBlockEvent) => void | Promise<void>;
405
+ /**
406
+ * Block renderers by block type, merged over the ones a host provides (ChatThread,
407
+ * InsightEngine). The `plan-review` entry renders plan-review phases; `null` turns a provided
408
+ * one off. Keep the object stable (module scope or `useMemo`).
409
+ * @since 2.13.0
410
+ */
411
+ blockRenderers?: AIBlockRendererMap;
412
+ /**
413
+ * What the chain announces to screen readers (ADR-19).
414
+ *
415
+ * - `'transitions'` (default): one polite message per transition: "Thinking"
416
+ * when the first thinking phase becomes active, "Plan's ready — needs your
417
+ * confirmation" when a plan-review phase starts waiting for the user,
418
+ * "Response ready" when the final phases appear. A chain that mounts already
419
+ * thinking, waiting or complete does not announce that state.
420
+ * - `'stream'`: the 2.12 behavior: the chain is a polite live container, so
421
+ * added text is read as it streams.
422
+ * - `'off'`: nothing is announced.
423
+ *
424
+ * Inside a chat thread (which announces new messages itself) the chain
425
+ * announces nothing and is never a live container, whatever this is.
426
+ *
427
+ * @default 'transitions'
428
+ * @since 2.13.0
429
+ */
430
+ announcements?: 'transitions' | 'stream' | 'off';
431
+ /** Added to the root's own class names. @since 2.13.0 */
432
+ className?: string;
433
+ /** Custom sx, applied to the root after its own styles (object, array or function form). */
193
434
  sx?: SxProps<Theme>;
435
+ /**
436
+ * Props for the parts (ADR-04 (6)): `root` (the root; its role and busy and live attributes stay
437
+ * the component's), `toggle` (the thought-process disclosure), `phaseCard` (each phase card) and
438
+ * `response` (the box around the response AIMessage). Each takes `className`, `data-*` and `sx`.
439
+ * @since 2.13.0
440
+ */
441
+ slotProps?: {
442
+ root?: TrinitySlotProps<HTMLDivElement>;
443
+ toggle?: TrinitySlotProps<HTMLDivElement>;
444
+ phaseCard?: TrinitySlotProps<HTMLDivElement>;
445
+ response?: TrinitySlotProps<HTMLDivElement>;
446
+ };
447
+ }
448
+ /**
449
+ * Props for AIChainOfThought: its own props plus the root `<div>`'s HTML attributes (`id`,
450
+ * `data-*`, `aria-*`, event handlers), spread on the root (ADR-04). `role`, `aria-busy`,
451
+ * `aria-live`, `aria-relevant` and `aria-atomic` stay the component's. The own `onCopy` (Copy's
452
+ * callback) shadows the DOM clipboard handler by design; a consumer `aria-label` replaces the
453
+ * group name.
454
+ */
455
+ export interface AIChainOfThoughtProps extends AIChainOfThoughtOwnProps, TrinityRootProps<HTMLDivElement, AIChainOfThoughtOwnProps> {
194
456
  }
195
457
  //# sourceMappingURL=AIChainOfThought.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AIChainOfThought.types.d.ts","sourceRoot":"","sources":["../../../src/components/AI/AIChainOfThought.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,6CAA6C;AAC7C,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC;AAEpF,gCAAgC;AAChC,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAIvE,MAAM,WAAW,WAAW;IAC1B,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IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IACvF;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxE;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;;;;;;;;;;;;;;;OAiBG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,QAAQ,GAAG,KAAK,CAAC;IACjD,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;QACxC,MAAM,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;QAC1C,SAAS,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;QAC7C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;KAC7C,CAAC;CACH;AAED;;;;;;GAMG;AACH,MAAM,WAAW,qBACf,SAAQ,wBAAwB,EAC9B,gBAAgB,CAAC,cAAc,EAAE,wBAAwB,CAAC;CAAG"}
@@ -2,19 +2,37 @@
2
2
  * @fileoverview Pure helpers for AIChainOfThought.
3
3
  * @module components/AI/AIChainOfThought.utils
4
4
  *
5
- * Extracted from `AIChainOfThought.tsx` so the state-derivation logic can be
6
- * unit-tested in isolation without mounting the full 1800-line component.
5
+ * Extracted from `AIChainOfThought.tsx` so the state-derivation logic and the marker colour
6
+ * derivations can be unit-tested without mounting the component.
7
7
  */
8
+ import { type Theme } from '@mui/material/styles';
8
9
  import type { ChainPhase, PhaseStatus } from './AIChainOfThought.types';
9
10
  /**
10
- * Derive a `PhaseStatus` from a `ChainPhase`. If the phase has an explicit
11
- * `status` field, that wins; otherwise the status is inferred from phase-type
12
- * signals (execution tasks' statuses, output artifacts, etc.).
11
+ * Derive a `PhaseStatus` from a `ChainPhase`. An explicit `status` wins.
12
+ * Otherwise a plan-review phase reads its plan's status ('review' or none:
13
+ * awaiting-input; 'replanning': active; any other: completed), an execution
14
+ * phase derives it from its tasks (error, then awaiting-input, then all
15
+ * completed, then running or retrying, else pending), and every other phase
16
+ * type is `completed`.
13
17
  *
14
- * See the "State Machine" section in `AIChainOfThought.tsx` for the full
15
- * decision table.
18
+ * See the "Phase status" table in `AIChainOfThought.tsx`.
16
19
  *
17
20
  * This function is pure and side-effect-free — safe to call during render.
18
21
  */
19
22
  export declare function derivePhaseStatus(phase: ChainPhase): PhaseStatus;
23
+ /**
24
+ * The tint behind a done marker's check: the success text at 16%. The check (the success text)
25
+ * measures 3:1 or more on it and on the card in light and dark (asserted in the contrast tests).
26
+ */
27
+ export declare const DONE_TINT_ALPHA = 0.16;
28
+ /**
29
+ * The neutral graphic of a pending step (the gray progress dot, the pending marker's dot and a
30
+ * pending task's ring): the primary text at 50%, a mid gray that measures 3:1 or more on the
31
+ * header, the card and the neutral wash in light and dark (asserted in the contrast tests).
32
+ */
33
+ export declare const PENDING_GRAPHIC_ALPHA = 0.5;
34
+ /** @internal The pending graphic colour of a theme (see PENDING_GRAPHIC_ALPHA). */
35
+ export declare function pendingGraphic(theme: Theme): string;
36
+ /** @internal The done marker's tint of a theme (see DONE_TINT_ALPHA). */
37
+ export declare function doneTint(theme: Theme): string;
20
38
  //# sourceMappingURL=AIChainOfThought.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AIChainOfThought.utils.d.ts","sourceRoot":"","sources":["../../../src/components/AI/AIChainOfThought.utils.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAExE;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,CAYhE"}
1
+ {"version":3,"file":"AIChainOfThought.utils.d.ts","sourceRoot":"","sources":["../../../src/components/AI/AIChainOfThought.utils.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,CAoBhE;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,OAAO,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEnD;AAED,yEAAyE;AACzE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAE7C"}
@@ -75,6 +75,9 @@ export interface AIChatMessageProps {
75
75
  /**
76
76
  * AI Chat Message - Individual message in a chat conversation.
77
77
  *
78
+ * @deprecated Removed in v3.0 (planned). Use `AIMessage` instead (MIGRATION.md, "Deprecated
79
+ * exports removed in v3.0").
80
+ *
78
81
  * Structure:
79
82
  * - User messages: Right-aligned with bubble and avatar
80
83
  * - Assistant messages: Left-aligned with avatar, content, actions, and children
@@ -109,6 +112,9 @@ export interface AIChatInputProps {
109
112
  }
110
113
  /**
111
114
  * AI Chat Input - Input field for chat messages with send and voice buttons.
115
+ *
116
+ * @deprecated Removed in v3.0 (planned). Use `InsightEngineInput` for the input, or `ChatThread`
117
+ * for a whole conversation (MIGRATION.md, "Deprecated exports removed in v3.0").
112
118
  */
113
119
  export declare const AIChatInput: React.ForwardRefExoticComponent<AIChatInputProps & React.RefAttributes<HTMLDivElement>>;
114
120
  /**
@@ -122,6 +128,9 @@ export interface AITypingIndicatorProps {
122
128
  }
123
129
  /**
124
130
  * AI Typing Indicator - Shows when AI is generating a response.
131
+ *
132
+ * @deprecated Removed in v3.0 (planned). Use `AIMessage`'s streaming state with `AIShimmer`
133
+ * (MIGRATION.md, "Deprecated exports removed in v3.0").
125
134
  */
126
135
  export declare const AITypingIndicator: React.ForwardRefExoticComponent<AITypingIndicatorProps & React.RefAttributes<HTMLDivElement>>;
127
136
  /**
@@ -137,6 +146,9 @@ export interface AIQuickReplyProps {
137
146
  }
138
147
  /**
139
148
  * AI Quick Reply - Suggested quick reply options.
149
+ *
150
+ * @deprecated Removed in v3.0 (planned). Use `AISuggestedAction` or `AIActionsGroup`
151
+ * (MIGRATION.md, "Deprecated exports removed in v3.0").
140
152
  */
141
153
  export declare const AIQuickReply: React.ForwardRefExoticComponent<AIQuickReplyProps & React.RefAttributes<HTMLDivElement>>;
142
154
  //# sourceMappingURL=AIChat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AIChat.d.ts","sourceRoot":"","sources":["../../../src/components/AI/AIChat.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAUL,OAAO,EACP,KAAK,EACN,MAAM,eAAe,CAAC;AAoBvB,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,CAAC;AAE/C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,kBAAkB;IACjC,sBAAsB;IACtB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,iCAAiC;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,S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