@trinityui/design-system 2.11.1 → 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 (515) hide show
  1. package/CHANGELOG.md +2155 -0
  2. package/CONTRIBUTING.md +180 -69
  3. package/LICENSE +21 -0
  4. package/MIGRATION.md +505 -28
  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 +18458 -10385
  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 +159 -77
  23. package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
  24. package/dist/components/AI/AIChainOfThought.types.d.ts +292 -40
  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 +81 -11
  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 +104 -16
  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 +47 -4
  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.map +1 -1
  275. package/dist/components/Icon.d.ts +567 -10
  276. package/dist/components/Icon.d.ts.map +1 -1
  277. package/dist/components/IllustratedMessage.d.ts +52 -3
  278. package/dist/components/IllustratedMessage.d.ts.map +1 -1
  279. package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
  280. package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
  281. package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
  282. package/dist/components/InsightCard/types.d.ts +10 -3
  283. package/dist/components/InsightCard/types.d.ts.map +1 -1
  284. package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
  285. package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
  286. package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
  287. package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
  288. package/dist/components/LandingPage/LandingPage.d.ts +43 -4
  289. package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
  290. package/dist/components/LandingPage/heroTone.d.ts +54 -0
  291. package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
  292. package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
  293. package/dist/components/MetaChip/MetaChip.d.ts +113 -0
  294. package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
  295. package/dist/components/Modal/Modal.d.ts +222 -20
  296. package/dist/components/Modal/Modal.d.ts.map +1 -1
  297. package/dist/components/Modal/index.d.ts +1 -1
  298. package/dist/components/Modal/index.d.ts.map +1 -1
  299. package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
  300. package/dist/components/OrgChart/OrgChart.d.ts +5 -0
  301. package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
  302. package/dist/components/OrgChart/types.d.ts +31 -7
  303. package/dist/components/OrgChart/types.d.ts.map +1 -1
  304. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
  305. package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
  306. package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
  307. package/dist/components/PageTOC/PageTOC.d.ts +2 -1
  308. package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
  309. package/dist/components/Popper/Popper.d.ts +80 -9
  310. package/dist/components/Popper/Popper.d.ts.map +1 -1
  311. package/dist/components/Popper/index.d.ts +1 -1
  312. package/dist/components/Popper/index.d.ts.map +1 -1
  313. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
  314. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
  315. package/dist/components/SearchInput/SearchInput.d.ts +49 -0
  316. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  317. package/dist/components/SearchInput/index.d.ts +1 -1
  318. package/dist/components/SearchInput/index.d.ts.map +1 -1
  319. package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
  320. package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
  321. package/dist/components/SplitPane/SplitPane.d.ts +2 -1
  322. package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
  323. package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
  324. package/dist/components/StatusIndicator/Badge.d.ts +6 -1
  325. package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
  326. package/dist/components/StatusIndicator/Chip.d.ts +3 -1
  327. package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
  328. package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
  329. package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
  330. package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
  331. package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
  332. package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  333. package/dist/components/StatusIndicator/index.d.ts +2 -2
  334. package/dist/components/StatusIndicator/index.d.ts.map +1 -1
  335. package/dist/components/StatusIndicator/types.d.ts +48 -1
  336. package/dist/components/StatusIndicator/types.d.ts.map +1 -1
  337. package/dist/components/StepList/StepList.d.ts +80 -0
  338. package/dist/components/StepList/StepList.d.ts.map +1 -0
  339. package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
  340. package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
  341. package/dist/components/StepList/stepStatus.d.ts +30 -0
  342. package/dist/components/StepList/stepStatus.d.ts.map +1 -0
  343. package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
  344. package/dist/components/Timeline/Timeline.d.ts +57 -3
  345. package/dist/components/Timeline/Timeline.d.ts.map +1 -1
  346. package/dist/components/Timeline/index.d.ts +1 -1
  347. package/dist/components/Timeline/index.d.ts.map +1 -1
  348. package/dist/components/Timeline/timelineLabels.d.ts +70 -0
  349. package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
  350. package/dist/components/Toast/Toast.d.ts.map +1 -1
  351. package/dist/components/TopNavHeader.d.ts +6 -0
  352. package/dist/components/TopNavHeader.d.ts.map +1 -1
  353. package/dist/components/TopNavWithSidebar.d.ts +49 -1
  354. package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
  355. package/dist/components/Tour/Tour.d.ts +18 -1
  356. package/dist/components/Tour/Tour.d.ts.map +1 -1
  357. package/dist/components/TransferList/TransferList.d.ts +123 -4
  358. package/dist/components/TransferList/TransferList.d.ts.map +1 -1
  359. package/dist/components/TransferList/index.d.ts +1 -1
  360. package/dist/components/TransferList/index.d.ts.map +1 -1
  361. package/dist/components/TreeView/TreeView.d.ts +97 -8
  362. package/dist/components/TreeView/TreeView.d.ts.map +1 -1
  363. package/dist/components/TreeView/index.d.ts +1 -1
  364. package/dist/components/TreeView/index.d.ts.map +1 -1
  365. package/dist/components/TrinityLoader.d.ts.map +1 -1
  366. package/dist/components/icons/featherExtensions.d.ts +55 -0
  367. package/dist/components/icons/featherExtensions.d.ts.map +1 -0
  368. package/dist/components/icons/materialExtensions.d.ts +20 -0
  369. package/dist/components/icons/materialExtensions.d.ts.map +1 -0
  370. package/dist/components/internal/index.d.ts +87 -0
  371. package/dist/components/internal/index.d.ts.map +1 -1
  372. package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
  373. package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
  374. package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
  375. package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
  376. package/dist/components/navigation/components.d.ts +6 -0
  377. package/dist/components/navigation/components.d.ts.map +1 -1
  378. package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
  379. package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
  380. package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
  381. package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
  382. package/dist/components/shared/bidi.d.ts +44 -0
  383. package/dist/components/shared/bidi.d.ts.map +1 -0
  384. package/dist/components/shared/bidiText.d.ts +25 -0
  385. package/dist/components/shared/bidiText.d.ts.map +1 -0
  386. package/dist/components/shared/containerQueries.d.ts +73 -0
  387. package/dist/components/shared/containerQueries.d.ts.map +1 -0
  388. package/dist/components/shared/createStringsContext.d.ts +69 -0
  389. package/dist/components/shared/createStringsContext.d.ts.map +1 -0
  390. package/dist/components/shared/direction.d.ts +46 -0
  391. package/dist/components/shared/direction.d.ts.map +1 -0
  392. package/dist/components/shared/focusTrap.d.ts +36 -0
  393. package/dist/components/shared/focusTrap.d.ts.map +1 -0
  394. package/dist/components/shared/getInitials.d.ts +29 -0
  395. package/dist/components/shared/getInitials.d.ts.map +1 -0
  396. package/dist/components/shared/headingLevel.d.ts +69 -0
  397. package/dist/components/shared/headingLevel.d.ts.map +1 -0
  398. package/dist/components/shared/mergeSlotProps.d.ts +50 -0
  399. package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
  400. package/dist/components/shared/mergeSx.d.ts +26 -0
  401. package/dist/components/shared/mergeSx.d.ts.map +1 -0
  402. package/dist/components/shared/motion.d.ts +110 -0
  403. package/dist/components/shared/motion.d.ts.map +1 -0
  404. package/dist/components/shared/occurrenceKeys.d.ts +23 -0
  405. package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
  406. package/dist/components/shared/primaryAction.d.ts +89 -0
  407. package/dist/components/shared/primaryAction.d.ts.map +1 -0
  408. package/dist/components/shared/resizeKeyboard.d.ts +68 -0
  409. package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
  410. package/dist/components/shared/rootProps.d.ts +117 -0
  411. package/dist/components/shared/rootProps.d.ts.map +1 -0
  412. package/dist/components/shared/safeContent.d.ts +9 -2
  413. package/dist/components/shared/safeContent.d.ts.map +1 -1
  414. package/dist/components/shared/targetSize.d.ts +64 -0
  415. package/dist/components/shared/targetSize.d.ts.map +1 -0
  416. package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
  417. package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
  418. package/dist/components/shared/useCopyAction.d.ts +35 -0
  419. package/dist/components/shared/useCopyAction.d.ts.map +1 -0
  420. package/dist/components/shared/useOverflow.d.ts +44 -0
  421. package/dist/components/shared/useOverflow.d.ts.map +1 -0
  422. package/dist/components/shared/useResizable.d.ts +106 -7
  423. package/dist/components/shared/useResizable.d.ts.map +1 -1
  424. package/dist/components/shared/warnDeprecated.d.ts +89 -15
  425. package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
  426. package/dist/components/shared/zIndexRoles.d.ts +62 -0
  427. package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
  428. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
  429. package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
  430. package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
  431. package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
  432. package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
  433. package/dist/components/templates/Auth/types.d.ts +4 -1
  434. package/dist/components/templates/Auth/types.d.ts.map +1 -1
  435. package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
  436. package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
  437. package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
  438. package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
  439. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
  440. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
  441. package/dist/components/templates/ListDetail/index.d.ts +1 -1
  442. package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
  443. package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
  444. package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
  445. package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
  446. package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
  447. package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
  448. package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
  449. package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
  450. package/dist/components/templates/index.d.ts +2 -1
  451. package/dist/components/templates/index.d.ts.map +1 -1
  452. package/dist/data-table.d.ts +1 -1
  453. package/dist/data-table.d.ts.map +1 -1
  454. package/dist/data-table.js +1 -0
  455. package/dist/data-table2.js +13522 -13465
  456. package/dist/data.js +213 -194
  457. package/dist/elk.bundled.js +47371 -0
  458. package/dist/essentials.d.ts +3 -3
  459. package/dist/essentials.d.ts.map +1 -1
  460. package/dist/essentials.js +179 -147
  461. package/dist/focus-on-replace.js +49 -0
  462. package/dist/form.d.ts +26 -4
  463. package/dist/form.d.ts.map +1 -1
  464. package/dist/forms.js +575 -483
  465. package/dist/foundation.js +3704 -0
  466. package/dist/hooks/storageStore.d.ts +51 -0
  467. package/dist/hooks/storageStore.d.ts.map +1 -0
  468. package/dist/hooks/useAsyncAction.d.ts +65 -0
  469. package/dist/hooks/useAsyncAction.d.ts.map +1 -0
  470. package/dist/hooks/useDisclosure.d.ts +190 -0
  471. package/dist/hooks/useDisclosure.d.ts.map +1 -0
  472. package/dist/hooks/useFocusOnReplace.d.ts +95 -0
  473. package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
  474. package/dist/hooks/useTrinityPalette.d.ts +38 -40
  475. package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
  476. package/dist/hooks.d.ts +44 -6
  477. package/dist/hooks.d.ts.map +1 -1
  478. package/dist/hooks.js +301 -0
  479. package/dist/index.d.ts +71 -26
  480. package/dist/index.d.ts.map +1 -1
  481. package/dist/index.js +13923 -60619
  482. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
  483. package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
  484. package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
  485. package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
  486. package/dist/patterns/index.d.ts +15 -0
  487. package/dist/patterns/index.d.ts.map +1 -0
  488. package/dist/presets/analytics.d.ts +8 -1
  489. package/dist/presets/analytics.d.ts.map +1 -1
  490. package/dist/presets/crm.d.ts +8 -1
  491. package/dist/presets/crm.d.ts.map +1 -1
  492. package/dist/presets/index.d.ts +1 -1
  493. package/dist/presets/portal.d.ts +8 -1
  494. package/dist/presets/portal.d.ts.map +1 -1
  495. package/dist/safe-content.js +69 -69
  496. package/dist/theme-augmentation.d.ts +388 -0
  497. package/dist/theme-augmentation.d.ts.map +1 -0
  498. package/dist/theme.d.ts +116 -30
  499. package/dist/theme.d.ts.map +1 -1
  500. package/dist/theme.js +891 -436
  501. package/dist/token-color.d.ts +14 -0
  502. package/dist/token-color.d.ts.map +1 -0
  503. package/dist/token-merge.d.ts +56 -0
  504. package/dist/token-merge.d.ts.map +1 -0
  505. package/dist/token-serialization.d.ts +65 -0
  506. package/dist/token-serialization.d.ts.map +1 -0
  507. package/dist/tokens.d.ts +882 -13
  508. package/dist/tokens.d.ts.map +1 -1
  509. package/dist/tokens.js +21 -19
  510. package/dist/trinity.css +1077 -414
  511. package/package.json +111 -90
  512. package/dist/components/index.d.ts +0 -145
  513. package/dist/components/index.d.ts.map +0 -1
  514. package/dist/components/shared.d.ts +0 -92
  515. package/dist/components/shared.d.ts.map +0 -1
@@ -12,15 +12,16 @@
12
12
  *
13
13
  * Section Hierarchy:
14
14
  * 1. Header (title, controls)
15
- * 2. Messages Area (scrollable)
16
- * - Empty State
17
- * - Message List (response → evidence → actions)
18
- * 3. Input Area (text input → toolbar → voice overlay)
15
+ * 2. Messages: ChatThread (H-08), the panel's scroll container and its one role=log
16
+ * - Before the first message: AIChatWelcome, the start screen, with the composer centred in
17
+ * it (`welcome`); an app's `emptyState` wins and keeps the composer at the bottom
18
+ * - Messages: UserMessage and AIMessage (response, then sources and related questions as
19
+ * attachments, then the actions)
20
+ * 3. Input Area (text input → toolbar → listening indicator when the consumer wires voice)
19
21
  *
20
22
  * Uses Trinity AI components:
21
- * - AIChatMessage, AITypingIndicator, AIAvatar
22
- * - AISourcesPanel, AIRelatedQuestions
23
- * - AIVoiceOverlay, AIListeningIndicator
23
+ * - ChatThread (AIMessage, UserMessage), AIAvatar, UserAvatar
24
+ * - InsightEngineInput, AIListeningIndicator
24
25
  * @example
25
26
  * ```tsx
26
27
  * import { InsightEnginePanel } from '@trinityui/design-system';
@@ -29,7 +30,12 @@
29
30
  * ```
30
31
  */
31
32
  import React from 'react';
32
- import { type AISourceCategory } from '../AI';
33
+ import { type SxProps, type Theme } from '@mui/material';
34
+ import { type AIActionErrorContext, type AIBlockEvent, type AIChainOfThoughtProps, type AIFeedbackRating, type AIMessageProps, type AIRelatedQuestion, type AIResponse, type AISourceCategory, type InsightModelOption, type InsightSourceOption } from '../AI';
35
+ import { type ChatThreadMessageActions, type ChatThreadMessageSlots } from '../AI/ChatThread';
36
+ import { type AIChatWelcomeOptions } from '../AI/AIChatWelcome';
37
+ import { type HeadingLevel } from '../shared/headingLevel';
38
+ import { type TrinityRootProps } from '../shared/rootProps';
33
39
  import { type ThreadGroup } from './ThreadHistorySidebar';
34
40
  export interface ChatMessage {
35
41
  id: string;
@@ -37,10 +43,51 @@ export interface ChatMessage {
37
43
  content: string;
38
44
  timestamp: Date;
39
45
  sources?: AISourceCategory[];
46
+ /**
47
+ * Whether this assistant message is still loading.
48
+ * @deprecated Use `streaming` (E-21's alias rule; `streaming` wins when both are set). Removed
49
+ * in v3.0.
50
+ */
40
51
  isLoading?: boolean;
41
- relatedQuestions?: string[];
52
+ /**
53
+ * Follow-up questions shown under the answer. Strings, or {@link AIRelatedQuestion} objects
54
+ * for an id and the verified flag (a verified question shows the 'Verified' badge) since
55
+ * 2.13.0. Picking one puts its text in the composer.
56
+ */
57
+ relatedQuestions?: Array<string | AIRelatedQuestion>;
58
+ /**
59
+ * A structured answer (assistant messages): its blocks render instead of `content`, the
60
+ * interactive ones (a query, a clarification, a plan review) by default, with citations from
61
+ * `response.sources` and the confidence and verification badges from `response.metadata`.
62
+ * @since 2.13.0
63
+ */
64
+ response?: AIResponse;
65
+ /**
66
+ * Whether this assistant message is still being streamed in: its article is busy, and an empty
67
+ * one shows the shimmer placeholder. When it turns false the thread announces 'Response ready'
68
+ * once.
69
+ * @since 2.13.0
70
+ */
71
+ streaming?: boolean;
72
+ /**
73
+ * The rating already given to this assistant message (for example after a reload): it seeds
74
+ * the thumbs.
75
+ * @since 2.13.0
76
+ */
77
+ feedback?: AIFeedbackRating | null;
42
78
  }
43
79
  export type { AISourceCategory };
80
+ /**
81
+ * The actions of each assistant message in the panel (H-08, D24): ChatThread's message actions,
82
+ * typed with the panel's own message. Every callback receives the panel's `ChatMessage` (looked up
83
+ * by id in the panel's messages), never the ChatThread message it renders from.
84
+ *
85
+ * An action shows only when its handler is passed; Copy always shows and, without `onCopy`,
86
+ * writes the message to the clipboard and announces 'Copied' or "Couldn't copy".
87
+ *
88
+ * @since 2.13.0
89
+ */
90
+ export type InsightEnginePanelMessageActions = ChatThreadMessageActions<ChatMessage>;
44
91
  /**
45
92
  * @deprecated Use AISourceCategory from '@trinityui/design-system' instead.
46
93
  * Kept for backwards compatibility only.
@@ -72,28 +119,166 @@ export interface SourceReference {
72
119
  favicon?: string;
73
120
  }
74
121
  /**
75
- * Props for InsightEnginePanel component.
122
+ * InsightEnginePanel's own props, without the root element's HTML attributes.
123
+ * @since 2.13.0
76
124
  */
77
- export interface InsightEnginePanelProps {
78
- /** Initial messages to display (uncontrolled mode) */
125
+ export interface InsightEnginePanelOwnProps {
126
+ /** Initial messages to display (uncontrolled mode); read on the first render only. */
79
127
  initialMessages?: ChatMessage[];
80
128
  /** Controlled messages - when provided, component uses external state */
81
129
  messages?: ChatMessage[];
82
- /** Callback when messages change - required for controlled mode */
130
+ /**
131
+ * Called with the next messages on every change, in both modes. Required with `messages`:
132
+ * without it the panel cannot add the user's message (a development warning says so).
133
+ */
83
134
  onMessagesChange?: (messages: ChatMessage[]) => void;
84
- /** Placeholder text for input */
135
+ /** Placeholder of the composer. @default 'Ask anything. Type @ for mentions and / for shortcuts.' (`ai.insightEnginePanel.composerPlaceholder`) */
85
136
  placeholder?: string;
86
- /** Title for the panel */
137
+ /** Title for the panel. @default 'Insight Engine' (`ai.insightEnginePanel.title`) */
87
138
  title?: string;
88
- /** Subtitle for the panel */
139
+ /**
140
+ * Heading level of the title: 2 to 6 for h2 to h6. Set it to fit the page outline;
141
+ * `headingLevel={6}` restores the h6 the title rendered before the prop existed.
142
+ * @default 2
143
+ * @since 2.13.0
144
+ */
145
+ headingLevel?: HeadingLevel;
146
+ /**
147
+ * Id of the title heading, for `aria-labelledby` on the region or dialog that holds the
148
+ * panel. Without it, the panel generates one.
149
+ * @since 2.13.0
150
+ */
151
+ titleId?: string;
152
+ /** A caption under the title, outside the heading. Nothing renders without it. */
89
153
  subtitle?: string;
90
- /** Callback when user sends a message */
154
+ /**
155
+ * Called once per send with the message and its options: `proSearch` (deep thinking),
156
+ * `model` (the selected model's id) and `sources` (the enabled sources' ids).
157
+ * `model` and `sources` @since 2.13.0.
158
+ */
91
159
  onSendMessage?: (message: string, options?: {
92
160
  proSearch?: boolean;
93
161
  focus?: string;
162
+ model?: string;
163
+ sources?: string[];
94
164
  }) => void;
95
- /** Show typing indicator */
165
+ /**
166
+ * Shows a streaming entry (the shimmer placeholder) after the last message while an answer is
167
+ * awaited.
168
+ * @deprecated Use `streaming` (E-21's alias rule; `streaming` wins when both are passed).
169
+ * Removed in v3.0.
170
+ */
96
171
  isTyping?: boolean;
172
+ /**
173
+ * Whether an answer is on its way: a streaming entry (the shimmer placeholder) follows the last
174
+ * message. Replaces `isTyping`.
175
+ * @default false
176
+ * @since 2.13.0
177
+ */
178
+ streaming?: boolean;
179
+ /**
180
+ * Whether the conversation is loading (for example a thread opened from the history): the log
181
+ * is `aria-busy`, and without messages it shows decorative placeholders instead of the empty
182
+ * state.
183
+ * @default false
184
+ * @since 2.13.0
185
+ */
186
+ loading?: boolean;
187
+ /**
188
+ * The actions of each assistant message (D24): `onCopy` and `copyBehavior`, `onFeedback` (the
189
+ * thumbs), `onFeedbackSubmit` (the detailed feedback form), `onShare`, `onDownload`,
190
+ * `onRegenerate`, `getActions` (app actions) and `getGoldenDataset` (the built-in 'Add to golden
191
+ * dataset' action, shown only when it returns `canAdd: true` for your permitted users; GA-01).
192
+ * Each callback receives the panel's message. An
193
+ * action shows only when its handler is passed; Copy always shows and, without `onCopy`, writes
194
+ * to the clipboard. In demo mode the panel supplies working demo thumbs and Regenerate; a
195
+ * handler passed here wins.
196
+ * @since 2.13.0
197
+ */
198
+ messageActions?: InsightEnginePanelMessageActions;
199
+ /**
200
+ * Shows Regenerate on each assistant message and is called with the panel's message. Return a
201
+ * promise to show the action as busy until it settles; a rejection shows "Couldn't regenerate
202
+ * the response" with Try again. Shorthand for `messageActions.onRegenerate`, which wins when
203
+ * both are passed.
204
+ * @since 2.13.0
205
+ */
206
+ onRegenerate?: (message: ChatMessage) => void | Promise<void>;
207
+ /**
208
+ * Formats a message's `timestamp` into the time shown in its footer. Return `undefined` for
209
+ * none.
210
+ * @default () => undefined (no timestamp, as before)
211
+ * @since 2.13.0
212
+ */
213
+ formatTimestamp?: (date: Date) => string | undefined;
214
+ /**
215
+ * Called with the panel's message and what the user did in an interactive block of its
216
+ * `response` (answered a clarification, confirmed or edited a plan, opened a query). Return the
217
+ * promise of your request: it drives the block's pending state, and a rejection shows the
218
+ * block's error and reaches `onActionError`. While the latest answer holds a required
219
+ * clarification, the composer is unavailable with the reason shown; without this handler there
220
+ * is no gate.
221
+ * @since 2.13.0
222
+ */
223
+ onBlockEvent?: (message: ChatMessage, event: AIBlockEvent) => void | Promise<void>;
224
+ /**
225
+ * Block renderers by block type (ChatThread `blockRenderers`): the interactive blocks render by
226
+ * default with `hitlBlockRenderers`; an entry here wins for its type and `null` turns a default
227
+ * off. Keep the object stable (module scope or `useMemo`).
228
+ * @since 2.13.0
229
+ */
230
+ blockRenderers?: AIMessageProps['blockRenderers'];
231
+ /**
232
+ * Renders any block first: return a node, `null` to skip the block, or `undefined` to fall
233
+ * through (ChatThread `renderBlock`).
234
+ * @since 2.13.0
235
+ */
236
+ renderBlock?: AIMessageProps['renderBlock'];
237
+ /**
238
+ * Overrides the slots of an assistant message (`badges`, `feedbackControl`, `attachments`),
239
+ * called with the panel's message and the slots the panel built for it: return a node to
240
+ * replace a slot, `null` to leave it empty, or leave the key out to keep the default. With
241
+ * `getReasoning`, `defaults.attachments` already holds the reasoning before the sources and
242
+ * related questions.
243
+ * @since 2.13.0
244
+ */
245
+ getMessageSlots?: (message: ChatMessage, defaults: ChatThreadMessageSlots) => {
246
+ [K in keyof ChatThreadMessageSlots]?: React.ReactNode | null;
247
+ } | undefined;
248
+ /**
249
+ * The reasoning of an assistant message: return AIChainOfThought's props (its phases: the
250
+ * thinking, a plan awaiting confirmation, a failed task with Retry) to show the chain in the
251
+ * message, ahead of its sources and related questions, or nothing for none. The chain's
252
+ * content is markdown unless you pass `contentFormat`; its failures reach `onActionError`.
253
+ * @since 2.13.0
254
+ */
255
+ getReasoning?: (message: ChatMessage) => AIChainOfThoughtProps | null | undefined;
256
+ /**
257
+ * Called when an action of a message fails (Regenerate, Copy, an app action, a block event, the
258
+ * reasoning's Retry), with the message's id in the context. Without it the error goes to
259
+ * `globalThis.reportError`.
260
+ * @since 2.13.0
261
+ */
262
+ onActionError?: (error: unknown, context: AIActionErrorContext) => void;
263
+ /**
264
+ * The start screen before the first message: AIChatWelcome with the panel's composer centred
265
+ * in it, which moves to the bottom after the first message (no motion under reduced motion).
266
+ * Pass its options (`variant`, `userName`, `greeting`, `subtitle`, `suggestions`,
267
+ * `suggestionBehavior`, `onSuggestionSelect`, `updates`, `scope`, `recentThreads`,
268
+ * `onRecentThreadClick`, `disclaimer`, `guidelinesHref`, …). Without `recentThreads` the
269
+ * context variant's "Continue" lists the first two threads of `threadGroups`, opened through
270
+ * `onThreadSelect`. A suggestion sends through the panel by default. `false` shows the
271
+ * previous empty state ('What do you want to know?') above the bottom composer.
272
+ * @default {} (the showcase variant with the default greeting)
273
+ * @since 2.13.0
274
+ */
275
+ welcome?: AIChatWelcomeOptions | false;
276
+ /**
277
+ * What the thread shows before the first message, instead of the start screen: your node, in
278
+ * the thread, with the composer at the bottom (as before `welcome`). It wins over `welcome`.
279
+ * @since 2.13.0
280
+ */
281
+ emptyState?: React.ReactNode;
97
282
  /** Custom AI avatar */
98
283
  aiAvatar?: React.ReactNode;
99
284
  /** Callback when close button is clicked */
@@ -104,17 +289,30 @@ export interface InsightEnginePanelProps {
104
289
  onFullscreenToggle?: () => void;
105
290
  /** Show the panel controls (close, fullscreen) */
106
291
  showControls?: boolean;
107
- /** Enable demo mode with fake responses */
292
+ /**
293
+ * Demo mode: canned answers after a 2 s delay and a sample thread history, labelled
294
+ * 'Demo responses' in the title. Undefined means derived: on when neither
295
+ * `onSendMessage` nor `messages` is passed, off when either is (a development warning
296
+ * says the demo was suppressed). Leaving it undefined on an unwired panel is
297
+ * deprecated: the default becomes `false` in v3.0, so pass `demoMode` explicitly.
298
+ */
108
299
  demoMode?: boolean;
109
300
  /** Callback when new thread is created */
110
301
  onNewThread?: () => void;
111
- /** Theme mode - defaults to MUI theme */
302
+ /**
303
+ * Has no effect: the panel takes its mode from the MUI theme. Passing it logs a one-time
304
+ * development warning.
305
+ * @deprecated The mode comes from the theme (`ThemeProvider`); remove the prop. Removed in v3.0.
306
+ */
112
307
  themeMode?: 'light' | 'dark';
113
308
  /** Whether to use boxed layout (centered content with max-width) in fullscreen */
114
309
  boxedLayout?: boolean;
115
310
  /** Callback when boxed layout toggle is clicked */
116
311
  onBoxedLayoutToggle?: () => void;
117
- /** User initials to display in avatar */
312
+ /**
313
+ * The signed-in user's initials, shown in the avatar of their messages. Without it the
314
+ * avatar shows the generic user avatar.
315
+ */
118
316
  userInitials?: string;
119
317
  /** Whether to show the history sidebar */
120
318
  showHistory?: boolean;
@@ -132,6 +330,102 @@ export interface InsightEnginePanelProps {
132
330
  onThreadRename?: (threadId: string, newTitle: string) => void;
133
331
  /** Callback when thread is starred/unstarred */
134
332
  onThreadStar?: (threadId: string) => void;
333
+ /**
334
+ * Adds 'Add files or photos' to the composer's tools menu and is called when it is chosen.
335
+ * Without it the item does not render.
336
+ * @since 2.13.0
337
+ */
338
+ onAttachmentClick?: () => void;
339
+ /**
340
+ * Whether web search is on: the checked state of the tools menu's 'Web search' item. Needs
341
+ * `onWebSearchToggle`.
342
+ * @default false
343
+ * @since 2.13.0
344
+ */
345
+ webSearchEnabled?: boolean;
346
+ /**
347
+ * Adds the 'Web search' toggle to the composer's tools menu and is called with the next
348
+ * value. Without it the item does not render.
349
+ * @since 2.13.0
350
+ */
351
+ onWebSearchToggle?: (enabled: boolean) => void;
352
+ /**
353
+ * Adds the 'Dictate' button to the composer and is called when it is pressed (start or stop
354
+ * your speech capture there). Without it the button does not render.
355
+ * @since 2.13.0
356
+ */
357
+ onVoiceClick?: () => void;
358
+ /**
359
+ * Whether your speech capture is listening (controlled): the pressed state of 'Dictate',
360
+ * and, with `onVoiceClick`, the listening indicator under the composer.
361
+ * @default false
362
+ * @since 2.13.0
363
+ */
364
+ listening?: boolean;
365
+ /**
366
+ * The models of the composer's model menu. Without it the panel shows a built-in sample list
367
+ * (deprecated: it becomes empty in v3.0, and a one-time development warning says so).
368
+ * @since 2.13.0
369
+ */
370
+ modelOptions?: InsightModelOption[];
371
+ /**
372
+ * The data sources of the composer's source menu. Without it the panel shows a built-in
373
+ * sample list (deprecated: it becomes empty in v3.0, and a one-time development warning says
374
+ * so).
375
+ * @since 2.13.0
376
+ */
377
+ sourceOptions?: InsightSourceOption[];
378
+ /**
379
+ * The selected model's id (controlled). Pair it with `onModelChange`.
380
+ * @since 2.13.0
381
+ */
382
+ selectedModel?: string;
383
+ /**
384
+ * The model selected first (uncontrolled).
385
+ * @default the first of `modelOptions`, else 'gpt-4o'
386
+ * @since 2.13.0
387
+ */
388
+ defaultSelectedModel?: string;
389
+ /**
390
+ * Called with the model id the user chooses, in both modes.
391
+ * @since 2.13.0
392
+ */
393
+ onModelChange?: (modelId: string) => void;
394
+ /**
395
+ * The enabled sources' ids (controlled). Pair it with `onSourcesChange`.
396
+ * @since 2.13.0
397
+ */
398
+ enabledSources?: string[];
399
+ /**
400
+ * The sources enabled first (uncontrolled).
401
+ * @default the `sourceOptions` marked `enabled`, else ['web', 'documents']
402
+ * @since 2.13.0
403
+ */
404
+ defaultEnabledSources?: string[];
405
+ /**
406
+ * Called with the next enabled sources' ids when the user toggles one, in both modes.
407
+ * @since 2.13.0
408
+ */
409
+ onSourcesChange?: (sourceIds: string[]) => void;
410
+ /**
411
+ * Added to the root's own class names.
412
+ * @since 2.13.0
413
+ */
414
+ className?: string;
415
+ /**
416
+ * Styles for the root, applied after its own. Object, array and function forms all apply.
417
+ * @since 2.13.0
418
+ */
419
+ sx?: SxProps<Theme>;
420
+ }
421
+ /**
422
+ * Props for InsightEnginePanel component.
423
+ *
424
+ * Besides its own props, the root takes the HTML attributes of its `div` (`id`, `data-*`,
425
+ * `aria-*`, event handlers), spread before its own (ADR-04). The panel owns no attribute on its
426
+ * root.
427
+ */
428
+ export interface InsightEnginePanelProps extends InsightEnginePanelOwnProps, TrinityRootProps<HTMLDivElement, InsightEnginePanelOwnProps> {
135
429
  }
136
430
  /**
137
431
  * InsightEnginePanel - AI chat interface with Trinity branding
@@ -1 +1 @@
1
- {"version":3,"file":"InsightEnginePanel.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout/InsightEnginePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAWL,KAAK,gBAAg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E,MAAM,CAAC;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAChD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAwB,SAAQ,0BAA0B,EAAE,gBAAgB,CAAC,cAAc,EAAE,0BAA0B,CAAC;CAAG;AAwB5I;;GAEG;AACH,eAAO,MAAM,kBAAkB,gGAu1B7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -2,7 +2,8 @@
2
2
  * @fileoverview ResizablePanel component.
3
3
  * @module components/AppLayout/ResizablePanel
4
4
  * ResizablePanel Component
5
- * A panel that can be resized by dragging its edge
5
+ * A panel that can be resized by dragging its edge or, with the keyboard,
6
+ * through its focusable window-splitter handle.
6
7
  * @example
7
8
  * ```tsx
8
9
  * import { ResizablePanel } from '@trinityui/design-system';
@@ -13,26 +14,153 @@
13
14
  * <div>Example content</div>
14
15
  * </ResizablePanel>
15
16
  * ```
17
+ * @example
18
+ * ```tsx
19
+ * // Controlled width: the parent owns the value.
20
+ * const [width, setWidth] = React.useState(400);
21
+ * <ResizablePanel open width={width} onWidthChange={setWidth}>
22
+ * <div>Example content</div>
23
+ * </ResizablePanel>
24
+ * ```
16
25
  */
17
26
  import React from 'react';
18
27
  import { SxProps, Theme } from '@mui/material';
28
+ /**
29
+ * The strings ResizablePanel renders, for `labels` (docs/NAMING.md, "Label
30
+ * overrides (non-AI)").
31
+ * @since 2.13.0
32
+ */
33
+ export interface ResizablePanelLabels {
34
+ /**
35
+ * Accessible name of the resize handle (the window splitter,
36
+ * `role="separator"`).
37
+ * @default 'Resize panel'
38
+ */
39
+ resizeHandle: string;
40
+ /**
41
+ * Tooltip and accessible name of the header close button.
42
+ * @default 'Close panel'
43
+ */
44
+ close: string;
45
+ }
19
46
  /**
20
47
  * Props for ResizablePanel component.
21
48
  */
22
49
  export interface ResizablePanelProps {
23
- /** Whether the panel is open */
50
+ /**
51
+ * Whether the panel is open. A closed panel renders nothing (or, with
52
+ * `keepMounted`, stays mounted but hidden). Closing it during a pointer
53
+ * drag ends the drag (`onResizeEnd` fires once with the width reached), as
54
+ * `disableResize` does.
55
+ */
24
56
  open: boolean;
57
+ /**
58
+ * Keep the panel and its children mounted while it is closed, so their
59
+ * state (a draft, a scroll position, a conversation) survives closing and
60
+ * reopening. A closed kept-mounted panel is `display: none` (through `sx`,
61
+ * after the consumer's `sx`), `hidden` and `inert`: invisible, out of the
62
+ * Tab sequence and out of the accessibility tree.
63
+ * @default false
64
+ * @since 2.13.0
65
+ */
66
+ keepMounted?: boolean;
25
67
  /** Panel content */
26
68
  children: React.ReactNode;
27
- /** Default width of the panel */
69
+ /**
70
+ * Initial width in px when uncontrolled (no `width` prop). Read on mount
71
+ * only: changing it later does not resize the panel. To reset an
72
+ * uncontrolled panel, remount it with a new `key`, or control `width`.
73
+ * @default 400
74
+ */
28
75
  defaultWidth?: number;
29
- /** Minimum width the panel can be resized to */
76
+ /**
77
+ * Controlled width in px. When set, the panel renders this width (kept
78
+ * within `minWidth`–`maxWidth`) and never changes it on its own: drag and
79
+ * keyboard resizes report the next width through `onWidthChange`, and the
80
+ * parent applies it. Both start from the width the panel renders, so a
81
+ * width outside the range moves with the first pointer move or key press.
82
+ * Omit it to let the panel manage its own width from `defaultWidth`. The
83
+ * mode is decided on the first render; switching between `undefined` and a
84
+ * number afterwards is unsupported and logs a warning in development that
85
+ * names `ResizablePanel` and `width`.
86
+ * @since 2.13.0
87
+ */
88
+ width?: number;
89
+ /**
90
+ * Called with the next width in px, already clamped to
91
+ * `minWidth`–`maxWidth`, whenever the user resizes the panel, in both
92
+ * controlled and uncontrolled mode. During a drag it fires on every pointer
93
+ * move (the value can repeat at a bound); with the keyboard it fires once
94
+ * per key press that changes the width. Not called when a controlled
95
+ * `width` changes.
96
+ * @since 2.13.0
97
+ */
98
+ onWidthChange?: (width: number) => void;
99
+ /**
100
+ * Called once when a pointer (mouse or touch) drag on the handle starts.
101
+ * Keyboard resizes do not call it; they report through `onWidthChange`.
102
+ * Same contract as SplitPane's `onResizeStart`.
103
+ * @since 2.13.0
104
+ */
105
+ onResizeStart?: () => void;
106
+ /**
107
+ * Called once when a pointer (mouse or touch) drag on the handle ends, with
108
+ * the final width in px. Keyboard resizes do not call it. Same contract as
109
+ * SplitPane's `onResizeEnd`. The panel's own width animation stays off from
110
+ * `onResizeStart` until this call, so a parent that pauses its own
111
+ * transitions between the two callbacks turns them back on in the same
112
+ * commit as the panel.
113
+ * @since 2.13.0
114
+ */
115
+ onResizeEnd?: (width: number) => void;
116
+ /**
117
+ * Accessible name of the resize handle (a focusable window splitter,
118
+ * `role="separator"`). Same as `labels.resizeHandle`, which wins when both
119
+ * are passed.
120
+ * @default 'Resize panel'
121
+ * @since 2.13.0
122
+ */
123
+ resizeHandleLabel?: string;
124
+ /**
125
+ * Overrides for the strings the panel renders: `resizeHandle` (the
126
+ * splitter's accessible name, default 'Resize panel') and `close` (the close
127
+ * button's tooltip and name, default 'Close panel'). Pass only the keys you
128
+ * change; a key set to `undefined` keeps its default.
129
+ * @since 2.13.0
130
+ */
131
+ labels?: Partial<ResizablePanelLabels>;
132
+ /**
133
+ * Turns resizing off: the resize handle is not rendered, so there is no
134
+ * Tab stop, no drag and no `aria-valuenow` to read. Use it while the panel
135
+ * does not show its width, for example when it fills the screen. A drag in
136
+ * progress ends (`onResizeEnd` fires). The width is kept: an uncontrolled
137
+ * panel shows the same width when resizing is turned back on.
138
+ * @default false
139
+ * @since 2.13.0
140
+ */
141
+ disableResize?: boolean;
142
+ /**
143
+ * Minimum width the panel can be resized to. Also the handle's
144
+ * `aria-valuemin` and the width the Home key moves to.
145
+ * @default 320
146
+ */
30
147
  minWidth?: number;
31
- /** Maximum width the panel can be resized to */
148
+ /**
149
+ * Maximum width the panel can be resized to. Also the handle's
150
+ * `aria-valuemax` and the width the End key moves to.
151
+ * @default 800
152
+ */
32
153
  maxWidth?: number;
33
154
  /** Callback when panel is closed */
34
155
  onClose?: () => void;
35
- /** Which side the panel is on */
156
+ /**
157
+ * Which side the panel is on, as a logical side: `'right'` is the inline
158
+ * end and `'left'` the inline start. Left to right that is the right and
159
+ * the left edge; under a right-to-left theme (`theme.direction: 'rtl'`)
160
+ * the sides swap, and the drag and the arrow keys follow (the arrow that
161
+ * points toward the content widens the panel).
162
+ * @default 'right'
163
+ */
36
164
  side?: 'left' | 'right';
37
165
  /** Header content */
38
166
  header?: React.ReactNode;
@@ -44,8 +172,17 @@ export interface ResizablePanelProps {
44
172
  contentSx?: SxProps<Theme>;
45
173
  }
46
174
  /**
47
- * ResizablePanel - A panel that can be resized by dragging.
48
- * Used for sidebars, AI chat panels, and other expandable content areas.
175
+ * ResizablePanel - A panel that can be resized by dragging its edge or with
176
+ * the keyboard. Used for sidebars, AI chat panels, and other expandable
177
+ * content areas.
178
+ *
179
+ * The edge handle is a focusable window splitter (WAI-ARIA APG Window
180
+ * Splitter): `role="separator"` with `aria-orientation="vertical"`,
181
+ * `aria-valuenow` / `aria-valuemin` / `aria-valuemax` in px and
182
+ * `aria-controls` pointing at the panel. Left/Right Arrow move the splitter
183
+ * by 10px (50px with Shift) in the arrow's direction, also right to left;
184
+ * Home and End move it to `minWidth` and `maxWidth` (the shared keyboard
185
+ * model of SplitPane). With `disableResize` the handle is not rendered.
49
186
  */
50
187
  export declare const ResizablePanel: React.ForwardRefExoticComponent<ResizablePanelProps & React.RefAttributes<HTMLDivElement>>;
51
188
  export default ResizablePanel;
@@ -1 +1 @@
1
- {"version":3,"file":"ResizablePanel.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout/ResizablePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAA4B,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGzE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,iCAAiC;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,qBAAqB;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kCAAkC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sBAAsB;IACtB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,4FA2L1B,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ResizablePanel.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout/ResizablePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAA4B,OAAO,EAAE,KAAK,EAAY,MAAM,eAAe,CAAC;AASnF;;;;GAIG;AACH,MAAM,WAA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;IACpB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CAC5B;AAQD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,4FA4R1B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -11,6 +11,7 @@
11
11
  * ```
12
12
  */
13
13
  import React from 'react';
14
+ import { type SxProps, type Theme } from '@mui/material';
14
15
  export interface ThreadItem {
15
16
  id: string;
16
17
  title: string;
@@ -47,6 +48,11 @@ export interface ThreadHistorySidebarProps {
47
48
  open?: boolean;
48
49
  /** Width of the sidebar */
49
50
  width?: number;
51
+ /**
52
+ * Styles merged after the root's own, for the host's layout (InsightEnginePanel stacks the
53
+ * history above the thread in a narrow panel).
54
+ */
55
+ sx?: SxProps<Theme>;
50
56
  }
51
57
  export declare const ThreadHistorySidebar: React.ForwardRefExoticComponent<ThreadHistorySidebarProps & React.RefAttributes<HTMLDivElement>>;
52
58
  export default ThreadHistorySidebar;
@@ -1 +1 @@
1
- {"version":3,"file":"ThreadHistorySidebar.d.ts","sourceRoot":"","sources":["../../../src/components/AppLayout/ThreadHistorySidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AA6BxC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,mCAAmC;IACnC,gBAA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vB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,sCAAsC;IACtC,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,gDAAgD;IAChD,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kCAAkC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AA+CD,eAAO,MAAM,oBAAoB,kGAkXhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -3,11 +3,11 @@
3
3
  * Reusable application layout templates with navigation and AI panel support
4
4
  */
5
5
  export { AppLayout } from './AppLayout';
6
- export type { AppLayoutProps, NavStyle, AITrigger, NavItem } from './AppLayout';
6
+ export type { AppLayoutProps, AppLayoutAiPanelApi, NavStyle, AITrigger, NavItem } from './AppLayout';
7
7
  export { ResizablePanel } from './ResizablePanel';
8
- export type { ResizablePanelProps } from './ResizablePanel';
8
+ export type { ResizablePanelProps, ResizablePanelLabels } from './ResizablePanel';
9
9
  export { InsightEnginePanel } from './InsightEnginePanel';
10
- export type { InsightEnginePanelProps, ChatMessage, SourceCategory, SourceItem, SourceReference } from './InsightEnginePanel';
10
+ export type { InsightEnginePanelProps, InsightEnginePanelOwnProps, InsightEnginePanelMessageActions, ChatMessage, SourceCategory, SourceItem, SourceReference, } from './InsightEnginePanel';
11
11
  export { ThreadHistorySidebar } from './ThreadHistorySidebar';
12
12
  export type { ThreadHistorySidebarProps, ThreadItem, ThreadGroup } from './ThreadHistorySidebar';
13
13
  export { AIFab } from './AIFab';