@carbon/ai-chat-components 0.7.1 → 0.8.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 (280) hide show
  1. package/README.md +4 -1
  2. package/custom-elements.json +1705 -467
  3. package/es/components/card/src/card-footer.d.ts +1 -0
  4. package/es/components/card/src/card-footer.js +3 -2
  5. package/es/components/card/src/card-footer.js.map +1 -1
  6. package/es/components/card/src/card-footer.scss.js +1 -1
  7. package/es/components/card/src/card-steps.d.ts +1 -0
  8. package/es/components/card/src/card-steps.js +2 -1
  9. package/es/components/card/src/card-steps.js.map +1 -1
  10. package/es/components/card/src/card.d.ts +1 -0
  11. package/es/components/card/src/card.js +3 -1
  12. package/es/components/card/src/card.js.map +1 -1
  13. package/es/components/card/src/card.scss.js +1 -1
  14. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
  15. package/es/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
  16. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  17. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
  18. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
  19. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  20. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
  21. package/es/components/chain-of-thought/src/chain-of-thought.js +5 -1
  22. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  23. package/es/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
  24. package/es/components/chain-of-thought/src/tool-call-data.js +5 -1
  25. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  26. package/es/components/chat-button/src/chat-button.js +4 -3
  27. package/es/components/chat-button/src/chat-button.js.map +1 -1
  28. package/es/components/chat-shell/index.d.ts +10 -0
  29. package/es/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
  30. package/es/components/chat-shell/index.js.map +1 -0
  31. package/es/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
  32. package/es/components/chat-shell/src/cds-aichat-panel.js +433 -0
  33. package/es/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
  34. package/es/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
  35. package/es/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
  36. package/es/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
  37. package/es/components/chat-shell/src/cds-aichat-shell.js +554 -0
  38. package/es/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
  39. package/es/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
  40. package/es/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
  41. package/es/components/chat-shell/src/panel-manager.d.ts +29 -0
  42. package/es/components/chat-shell/src/panel-manager.js +144 -0
  43. package/es/components/chat-shell/src/panel-manager.js.map +1 -0
  44. package/es/components/chat-shell/src/workspace-manager.d.ts +118 -0
  45. package/es/components/chat-shell/src/workspace-manager.js +465 -0
  46. package/es/components/chat-shell/src/workspace-manager.js.map +1 -0
  47. package/es/components/code-snippet/src/code-snippet-card.js +2 -1
  48. package/es/components/code-snippet/src/code-snippet-card.js.map +1 -1
  49. package/es/components/code-snippet/src/code-snippet.d.ts +1 -0
  50. package/es/components/code-snippet/src/code-snippet.js +3 -1
  51. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  52. package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
  53. package/es/components/feedback/src/feedback-buttons.d.ts +4 -0
  54. package/es/components/feedback/src/feedback-buttons.js +6 -1
  55. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  56. package/es/components/feedback/src/feedback.d.ts +1 -0
  57. package/es/components/feedback/src/feedback.js +3 -1
  58. package/es/components/feedback/src/feedback.js.map +1 -1
  59. package/es/components/feedback/src/feedback.scss.js +1 -1
  60. package/es/components/markdown/src/markdown-token-tree.js +1 -1
  61. package/es/components/markdown/src/markdown.d.ts +4 -0
  62. package/es/components/markdown/src/markdown.js +6 -1
  63. package/es/components/markdown/src/markdown.js.map +1 -1
  64. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
  65. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
  66. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
  67. package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
  68. package/es/components/processing/src/processing.d.ts +4 -0
  69. package/es/components/processing/src/processing.js +6 -1
  70. package/es/components/processing/src/processing.js.map +1 -1
  71. package/es/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
  72. package/es/components/reasoning-steps/src/reasoning-step.js +5 -1
  73. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  74. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
  75. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
  76. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  77. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
  78. package/es/components/reasoning-steps/src/reasoning-steps.js +5 -1
  79. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  80. package/es/components/table/src/table.d.ts +1 -0
  81. package/es/components/table/src/table.js +5 -3
  82. package/es/components/table/src/table.js.map +1 -1
  83. package/es/components/table/src/table.template.js +2 -2
  84. package/es/components/table/src/table.template.js.map +1 -1
  85. package/es/components/toolbar/src/toolbar.js +3 -4
  86. package/es/components/toolbar/src/toolbar.js.map +1 -1
  87. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  88. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -1
  89. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  90. package/es/components/workspace-shell/src/workspace-shell-footer.js +2 -2
  91. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  92. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  93. package/es/components/workspace-shell/src/workspace-shell-header.js +2 -2
  94. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  95. package/es/components/workspace-shell/src/workspace-shell.js +2 -1
  96. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
  97. package/es/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  98. package/es/react/__tests__/jest.setup.js +83 -0
  99. package/es/react/__tests__/jest.setup.js.map +1 -0
  100. package/es/react/chat-shell.d.ts +12 -0
  101. package/es/react/chat-shell.js +28 -0
  102. package/es/react/chat-shell.js.map +1 -0
  103. package/es/react/panel.d.ts +4 -0
  104. package/{es-custom/react/inline-notification.js → es/react/panel.js} +12 -6
  105. package/es/react/panel.js.map +1 -0
  106. package/es/react/toolbar.d.ts +14 -2
  107. package/es/react/toolbar.js +59 -9
  108. package/es/react/toolbar.js.map +1 -1
  109. package/es/react/utils/iconTransform.d.ts +37 -0
  110. package/es/react/utils/iconTransform.js +176 -0
  111. package/es/react/utils/iconTransform.js.map +1 -0
  112. package/es-custom/components/card/src/card-footer.d.ts +1 -0
  113. package/es-custom/components/card/src/card-footer.js +3 -2
  114. package/es-custom/components/card/src/card-footer.js.map +1 -1
  115. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  116. package/es-custom/components/card/src/card-steps.d.ts +1 -0
  117. package/es-custom/components/card/src/card-steps.js +2 -1
  118. package/es-custom/components/card/src/card-steps.js.map +1 -1
  119. package/es-custom/components/card/src/card.d.ts +1 -0
  120. package/es-custom/components/card/src/card.js +3 -1
  121. package/es-custom/components/card/src/card.js.map +1 -1
  122. package/es-custom/components/card/src/card.scss.js +1 -1
  123. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -0
  124. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +5 -1
  125. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  126. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +4 -0
  127. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +5 -1
  128. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  129. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -0
  130. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +5 -1
  131. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  132. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +4 -0
  133. package/es-custom/components/chain-of-thought/src/tool-call-data.js +5 -1
  134. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  135. package/es-custom/components/chat-button/src/chat-button.js +4 -3
  136. package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
  137. package/es-custom/components/chat-shell/index.d.ts +10 -0
  138. package/es-custom/{node_modules/@carbon/utilities/es/documentLang/documentLang.js → components/chat-shell/index.js} +3 -2
  139. package/es-custom/components/chat-shell/index.js.map +1 -0
  140. package/es-custom/components/chat-shell/src/cds-aichat-panel.d.ts +66 -0
  141. package/es-custom/components/chat-shell/src/cds-aichat-panel.js +433 -0
  142. package/es-custom/components/chat-shell/src/cds-aichat-panel.js.map +1 -0
  143. package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js +13 -0
  144. package/es-custom/components/chat-shell/src/cds-aichat-panel.scss.js.map +1 -0
  145. package/es-custom/components/chat-shell/src/cds-aichat-shell.d.ts +73 -0
  146. package/es-custom/components/chat-shell/src/cds-aichat-shell.js +554 -0
  147. package/es-custom/components/chat-shell/src/cds-aichat-shell.js.map +1 -0
  148. package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js +13 -0
  149. package/es-custom/components/chat-shell/src/cds-aichat-shell.scss.js.map +1 -0
  150. package/es-custom/components/chat-shell/src/panel-manager.d.ts +29 -0
  151. package/es-custom/components/chat-shell/src/panel-manager.js +144 -0
  152. package/es-custom/components/chat-shell/src/panel-manager.js.map +1 -0
  153. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +118 -0
  154. package/es-custom/components/chat-shell/src/workspace-manager.js +465 -0
  155. package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -0
  156. package/es-custom/components/code-snippet/src/code-snippet-card.js +2 -1
  157. package/es-custom/components/code-snippet/src/code-snippet-card.js.map +1 -1
  158. package/es-custom/components/code-snippet/src/code-snippet.d.ts +1 -0
  159. package/es-custom/components/code-snippet/src/code-snippet.js +3 -1
  160. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  161. package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
  162. package/es-custom/components/feedback/src/feedback-buttons.d.ts +4 -0
  163. package/es-custom/components/feedback/src/feedback-buttons.js +6 -1
  164. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  165. package/es-custom/components/feedback/src/feedback.d.ts +1 -0
  166. package/es-custom/components/feedback/src/feedback.js +3 -1
  167. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  168. package/es-custom/components/feedback/src/feedback.scss.js +1 -1
  169. package/es-custom/components/markdown/src/markdown-token-tree.js +1 -1
  170. package/es-custom/components/markdown/src/markdown.d.ts +4 -0
  171. package/es-custom/components/markdown/src/markdown.js +6 -1
  172. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  173. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +1 -1
  174. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +1 -1
  175. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +1 -1
  176. package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +1 -1
  177. package/es-custom/components/processing/src/processing.d.ts +4 -0
  178. package/es-custom/components/processing/src/processing.js +6 -1
  179. package/es-custom/components/processing/src/processing.js.map +1 -1
  180. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +4 -0
  181. package/es-custom/components/reasoning-steps/src/reasoning-step.js +5 -1
  182. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  183. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +4 -0
  184. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +6 -1
  185. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  186. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +4 -0
  187. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +5 -1
  188. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  189. package/es-custom/components/table/src/table.d.ts +1 -0
  190. package/es-custom/components/table/src/table.js +5 -3
  191. package/es-custom/components/table/src/table.js.map +1 -1
  192. package/es-custom/components/table/src/table.template.js +2 -2
  193. package/es-custom/components/table/src/table.template.js.map +1 -1
  194. package/es-custom/components/toolbar/src/toolbar.js +3 -4
  195. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  196. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  197. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -1
  198. package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  199. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +2 -2
  200. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  201. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +1 -1
  202. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +2 -2
  203. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  204. package/es-custom/components/workspace-shell/src/workspace-shell.js +2 -1
  205. package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -1
  206. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +1 -1
  207. package/es-custom/react/__tests__/jest.setup.js +83 -0
  208. package/es-custom/react/__tests__/jest.setup.js.map +1 -0
  209. package/es-custom/react/chat-shell.d.ts +12 -0
  210. package/es-custom/react/chat-shell.js +28 -0
  211. package/es-custom/react/chat-shell.js.map +1 -0
  212. package/es-custom/react/panel.d.ts +4 -0
  213. package/es-custom/react/{ai-label.js → panel.js} +12 -6
  214. package/es-custom/react/panel.js.map +1 -0
  215. package/es-custom/react/toolbar.d.ts +14 -2
  216. package/es-custom/react/toolbar.js +59 -9
  217. package/es-custom/react/toolbar.js.map +1 -1
  218. package/es-custom/react/utils/iconTransform.d.ts +37 -0
  219. package/es-custom/react/utils/iconTransform.js +176 -0
  220. package/es-custom/react/utils/iconTransform.js.map +1 -0
  221. package/package.json +21 -6
  222. package/telemetry.yml +125 -2
  223. package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  224. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  225. package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  226. package/es/react/ai-label.d.ts +0 -4
  227. package/es/react/ai-label.js +0 -28
  228. package/es/react/ai-label.js.map +0 -1
  229. package/es/react/button.d.ts +0 -6
  230. package/es/react/button.js +0 -29
  231. package/es/react/button.js.map +0 -1
  232. package/es/react/content-switcher.d.ts +0 -7
  233. package/es/react/content-switcher.js +0 -37
  234. package/es/react/content-switcher.js.map +0 -1
  235. package/es/react/icon-button.d.ts +0 -4
  236. package/es/react/icon-button.js +0 -28
  237. package/es/react/icon-button.js.map +0 -1
  238. package/es/react/icon.d.ts +0 -4
  239. package/es/react/icon.js +0 -28
  240. package/es/react/icon.js.map +0 -1
  241. package/es/react/inline-notification.d.ts +0 -4
  242. package/es/react/inline-notification.js +0 -28
  243. package/es/react/inline-notification.js.map +0 -1
  244. package/es/react/overflow-menu.d.ts +0 -9
  245. package/es/react/overflow-menu.js +0 -40
  246. package/es/react/overflow-menu.js.map +0 -1
  247. package/es/react/tag.d.ts +0 -4
  248. package/es/react/tag.js +0 -28
  249. package/es/react/tag.js.map +0 -1
  250. package/es/react/tile.d.ts +0 -7
  251. package/es/react/tile.js +0 -34
  252. package/es/react/tile.js.map +0 -1
  253. package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
  254. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
  255. package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
  256. package/es-custom/react/ai-label.d.ts +0 -4
  257. package/es-custom/react/ai-label.js.map +0 -1
  258. package/es-custom/react/button.d.ts +0 -6
  259. package/es-custom/react/button.js +0 -29
  260. package/es-custom/react/button.js.map +0 -1
  261. package/es-custom/react/content-switcher.d.ts +0 -7
  262. package/es-custom/react/content-switcher.js +0 -37
  263. package/es-custom/react/content-switcher.js.map +0 -1
  264. package/es-custom/react/icon-button.d.ts +0 -4
  265. package/es-custom/react/icon-button.js +0 -28
  266. package/es-custom/react/icon-button.js.map +0 -1
  267. package/es-custom/react/icon.d.ts +0 -4
  268. package/es-custom/react/icon.js +0 -28
  269. package/es-custom/react/icon.js.map +0 -1
  270. package/es-custom/react/inline-notification.d.ts +0 -4
  271. package/es-custom/react/inline-notification.js.map +0 -1
  272. package/es-custom/react/overflow-menu.d.ts +0 -9
  273. package/es-custom/react/overflow-menu.js +0 -40
  274. package/es-custom/react/overflow-menu.js.map +0 -1
  275. package/es-custom/react/tag.d.ts +0 -4
  276. package/es-custom/react/tag.js +0 -28
  277. package/es-custom/react/tag.js.map +0 -1
  278. package/es-custom/react/tile.d.ts +0 -7
  279. package/es-custom/react/tile.js +0 -34
  280. package/es-custom/react/tile.js.map +0 -1
@@ -26,86 +26,6 @@
26
26
  }
27
27
  ]
28
28
  },
29
- {
30
- "kind": "javascript-module",
31
- "path": "src/react/ai-label.ts",
32
- "declarations": [
33
- {
34
- "kind": "variable",
35
- "name": "AILabel"
36
- }
37
- ],
38
- "exports": [
39
- {
40
- "kind": "js",
41
- "name": "default",
42
- "declaration": {
43
- "name": "AILabel",
44
- "module": "src/react/ai-label.ts"
45
- }
46
- }
47
- ]
48
- },
49
- {
50
- "kind": "javascript-module",
51
- "path": "src/react/button.ts",
52
- "declarations": [
53
- {
54
- "kind": "variable",
55
- "name": "Button"
56
- }
57
- ],
58
- "exports": [
59
- {
60
- "kind": "js",
61
- "name": "default",
62
- "declaration": {
63
- "name": "Button",
64
- "module": "src/react/button.ts"
65
- }
66
- },
67
- {
68
- "kind": "js",
69
- "name": "BUTTON_KIND",
70
- "declaration": {
71
- "name": "BUTTON_KIND",
72
- "module": "src/react/button.ts"
73
- }
74
- },
75
- {
76
- "kind": "js",
77
- "name": "BUTTON_TYPE",
78
- "declaration": {
79
- "name": "BUTTON_TYPE",
80
- "module": "src/react/button.ts"
81
- }
82
- },
83
- {
84
- "kind": "js",
85
- "name": "BUTTON_SIZE",
86
- "declaration": {
87
- "name": "BUTTON_SIZE",
88
- "module": "src/react/button.ts"
89
- }
90
- },
91
- {
92
- "kind": "js",
93
- "name": "BUTTON_TOOLTIP_ALIGNMENT",
94
- "declaration": {
95
- "name": "BUTTON_TOOLTIP_ALIGNMENT",
96
- "module": "src/react/button.ts"
97
- }
98
- },
99
- {
100
- "kind": "js",
101
- "name": "BUTTON_TOOLTIP_POSITION",
102
- "declaration": {
103
- "name": "BUTTON_TOOLTIP_POSITION",
104
- "module": "src/react/button.ts"
105
- }
106
- }
107
- ]
108
- },
109
29
  {
110
30
  "kind": "javascript-module",
111
31
  "path": "src/react/card.ts",
@@ -320,11 +240,11 @@
320
240
  },
321
241
  {
322
242
  "kind": "javascript-module",
323
- "path": "src/react/code-snippet-card.ts",
243
+ "path": "src/react/chat-shell.ts",
324
244
  "declarations": [
325
245
  {
326
246
  "kind": "variable",
327
- "name": "CodeSnippetCard"
247
+ "name": "CdsAiChatShell"
328
248
  }
329
249
  ],
330
250
  "exports": [
@@ -332,19 +252,19 @@
332
252
  "kind": "js",
333
253
  "name": "default",
334
254
  "declaration": {
335
- "name": "CodeSnippetCard",
336
- "module": "src/react/code-snippet-card.ts"
255
+ "name": "CdsAiChatShell",
256
+ "module": "src/react/chat-shell.ts"
337
257
  }
338
258
  }
339
259
  ]
340
260
  },
341
261
  {
342
262
  "kind": "javascript-module",
343
- "path": "src/react/code-snippet.ts",
263
+ "path": "src/react/code-snippet-card.ts",
344
264
  "declarations": [
345
265
  {
346
266
  "kind": "variable",
347
- "name": "CodeSnippet"
267
+ "name": "CodeSnippetCard"
348
268
  }
349
269
  ],
350
270
  "exports": [
@@ -352,23 +272,19 @@
352
272
  "kind": "js",
353
273
  "name": "default",
354
274
  "declaration": {
355
- "name": "CodeSnippet",
356
- "module": "src/react/code-snippet.ts"
275
+ "name": "CodeSnippetCard",
276
+ "module": "src/react/code-snippet-card.ts"
357
277
  }
358
278
  }
359
279
  ]
360
280
  },
361
281
  {
362
282
  "kind": "javascript-module",
363
- "path": "src/react/content-switcher.ts",
283
+ "path": "src/react/code-snippet.ts",
364
284
  "declarations": [
365
285
  {
366
286
  "kind": "variable",
367
- "name": "ContentSwitcher"
368
- },
369
- {
370
- "kind": "variable",
371
- "name": "ContentSwitcherItem"
287
+ "name": "CodeSnippet"
372
288
  }
373
289
  ],
374
290
  "exports": [
@@ -376,24 +292,8 @@
376
292
  "kind": "js",
377
293
  "name": "default",
378
294
  "declaration": {
379
- "name": "ContentSwitcher",
380
- "module": "src/react/content-switcher.ts"
381
- }
382
- },
383
- {
384
- "kind": "js",
385
- "name": "ContentSwitcher",
386
- "declaration": {
387
- "name": "ContentSwitcher",
388
- "module": "src/react/content-switcher.ts"
389
- }
390
- },
391
- {
392
- "kind": "js",
393
- "name": "ContentSwitcherItem",
394
- "declaration": {
395
- "name": "ContentSwitcherItem",
396
- "module": "src/react/content-switcher.ts"
295
+ "name": "CodeSnippet",
296
+ "module": "src/react/code-snippet.ts"
397
297
  }
398
298
  }
399
299
  ]
@@ -454,66 +354,6 @@
454
354
  }
455
355
  ]
456
356
  },
457
- {
458
- "kind": "javascript-module",
459
- "path": "src/react/icon-button.ts",
460
- "declarations": [
461
- {
462
- "kind": "variable",
463
- "name": "IconButton"
464
- }
465
- ],
466
- "exports": [
467
- {
468
- "kind": "js",
469
- "name": "default",
470
- "declaration": {
471
- "name": "IconButton",
472
- "module": "src/react/icon-button.ts"
473
- }
474
- }
475
- ]
476
- },
477
- {
478
- "kind": "javascript-module",
479
- "path": "src/react/icon.ts",
480
- "declarations": [
481
- {
482
- "kind": "variable",
483
- "name": "Icon"
484
- }
485
- ],
486
- "exports": [
487
- {
488
- "kind": "js",
489
- "name": "default",
490
- "declaration": {
491
- "name": "Icon",
492
- "module": "src/react/icon.ts"
493
- }
494
- }
495
- ]
496
- },
497
- {
498
- "kind": "javascript-module",
499
- "path": "src/react/inline-notification.ts",
500
- "declarations": [
501
- {
502
- "kind": "variable",
503
- "name": "InlineNotification"
504
- }
505
- ],
506
- "exports": [
507
- {
508
- "kind": "js",
509
- "name": "default",
510
- "declaration": {
511
- "name": "InlineNotification",
512
- "module": "src/react/inline-notification.ts"
513
- }
514
- }
515
- ]
516
- },
517
357
  {
518
358
  "kind": "javascript-module",
519
359
  "path": "src/react/markdown.ts",
@@ -536,19 +376,11 @@
536
376
  },
537
377
  {
538
378
  "kind": "javascript-module",
539
- "path": "src/react/overflow-menu.ts",
379
+ "path": "src/react/panel.ts",
540
380
  "declarations": [
541
381
  {
542
382
  "kind": "variable",
543
- "name": "OverflowMenu"
544
- },
545
- {
546
- "kind": "variable",
547
- "name": "OverflowMenuBody"
548
- },
549
- {
550
- "kind": "variable",
551
- "name": "OverflowMenuItem"
383
+ "name": "CdsAiChatPanel"
552
384
  }
553
385
  ],
554
386
  "exports": [
@@ -556,32 +388,8 @@
556
388
  "kind": "js",
557
389
  "name": "default",
558
390
  "declaration": {
559
- "name": "OverflowMenu",
560
- "module": "src/react/overflow-menu.ts"
561
- }
562
- },
563
- {
564
- "kind": "js",
565
- "name": "OverflowMenu",
566
- "declaration": {
567
- "name": "OverflowMenu",
568
- "module": "src/react/overflow-menu.ts"
569
- }
570
- },
571
- {
572
- "kind": "js",
573
- "name": "OverflowMenuBody",
574
- "declaration": {
575
- "name": "OverflowMenuBody",
576
- "module": "src/react/overflow-menu.ts"
577
- }
578
- },
579
- {
580
- "kind": "js",
581
- "name": "OverflowMenuItem",
582
- "declaration": {
583
- "name": "OverflowMenuItem",
584
- "module": "src/react/overflow-menu.ts"
391
+ "name": "CdsAiChatPanel",
392
+ "module": "src/react/panel.ts"
585
393
  }
586
394
  }
587
395
  ]
@@ -674,66 +482,6 @@
674
482
  }
675
483
  ]
676
484
  },
677
- {
678
- "kind": "javascript-module",
679
- "path": "src/react/tag.ts",
680
- "declarations": [
681
- {
682
- "kind": "variable",
683
- "name": "Tag"
684
- }
685
- ],
686
- "exports": [
687
- {
688
- "kind": "js",
689
- "name": "default",
690
- "declaration": {
691
- "name": "Tag",
692
- "module": "src/react/tag.ts"
693
- }
694
- }
695
- ]
696
- },
697
- {
698
- "kind": "javascript-module",
699
- "path": "src/react/tile.ts",
700
- "declarations": [
701
- {
702
- "kind": "variable",
703
- "name": "Tile"
704
- },
705
- {
706
- "kind": "variable",
707
- "name": "ClickableTile"
708
- }
709
- ],
710
- "exports": [
711
- {
712
- "kind": "js",
713
- "name": "default",
714
- "declaration": {
715
- "name": "Tile",
716
- "module": "src/react/tile.ts"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "Tile",
722
- "declaration": {
723
- "name": "Tile",
724
- "module": "src/react/tile.ts"
725
- }
726
- },
727
- {
728
- "kind": "js",
729
- "name": "ClickableTile",
730
- "declaration": {
731
- "name": "ClickableTile",
732
- "module": "src/react/tile.ts"
733
- }
734
- }
735
- ]
736
- },
737
485
  {
738
486
  "kind": "javascript-module",
739
487
  "path": "src/react/tool-call-data.ts",
@@ -754,26 +502,6 @@
754
502
  }
755
503
  ]
756
504
  },
757
- {
758
- "kind": "javascript-module",
759
- "path": "src/react/toolbar.ts",
760
- "declarations": [
761
- {
762
- "kind": "variable",
763
- "name": "Toolbar"
764
- }
765
- ],
766
- "exports": [
767
- {
768
- "kind": "js",
769
- "name": "default",
770
- "declaration": {
771
- "name": "Toolbar",
772
- "module": "src/react/toolbar.ts"
773
- }
774
- }
775
- ]
776
- },
777
505
  {
778
506
  "kind": "javascript-module",
779
507
  "path": "src/react/workspace-shell.ts",
@@ -1008,6 +736,12 @@
1008
736
  "declarations": [],
1009
737
  "exports": []
1010
738
  },
739
+ {
740
+ "kind": "javascript-module",
741
+ "path": "src/components/chat-shell/index.ts",
742
+ "declarations": [],
743
+ "exports": []
744
+ },
1011
745
  {
1012
746
  "kind": "javascript-module",
1013
747
  "path": "src/components/code-snippet/index.ts",
@@ -1295,6 +1029,12 @@
1295
1029
  }
1296
1030
  ]
1297
1031
  },
1032
+ {
1033
+ "kind": "javascript-module",
1034
+ "path": "src/react/__tests__/jest.setup.ts",
1035
+ "declarations": [],
1036
+ "exports": []
1037
+ },
1298
1038
  {
1299
1039
  "kind": "javascript-module",
1300
1040
  "path": "src/components/card/src/card-footer.ts",
@@ -1546,7 +1286,7 @@
1546
1286
  "declarations": [
1547
1287
  {
1548
1288
  "kind": "class",
1549
- "description": "",
1289
+ "description": "Chain of though step",
1550
1290
  "name": "CDSAIChatChainOfThoughtStep",
1551
1291
  "members": [
1552
1292
  {
@@ -1930,7 +1670,7 @@
1930
1670
  "declarations": [
1931
1671
  {
1932
1672
  "kind": "class",
1933
- "description": "",
1673
+ "description": "Chain of thought toggle component",
1934
1674
  "name": "CDSAIChatChainOfThoughtToggle",
1935
1675
  "members": [
1936
1676
  {
@@ -2079,7 +1819,7 @@
2079
1819
  "declarations": [
2080
1820
  {
2081
1821
  "kind": "class",
2082
- "description": "",
1822
+ "description": "Chain of thought container component",
2083
1823
  "name": "CDSAIChatChainOfThought",
2084
1824
  "members": [
2085
1825
  {
@@ -2227,7 +1967,7 @@
2227
1967
  "declarations": [
2228
1968
  {
2229
1969
  "kind": "class",
2230
- "description": "",
1970
+ "description": "Tool call data component",
2231
1971
  "name": "CDSAIChatToolCallData",
2232
1972
  "members": [
2233
1973
  {
@@ -2275,229 +2015,1727 @@
2275
2015
  },
2276
2016
  {
2277
2017
  "kind": "method",
2278
- "name": "handleSlotChange",
2018
+ "name": "handleSlotChange",
2019
+ "privacy": "private",
2020
+ "parameters": [
2021
+ {
2022
+ "name": "slot",
2023
+ "type": {
2024
+ "text": "\"description\" | \"input\" | \"output\""
2025
+ }
2026
+ },
2027
+ {
2028
+ "name": "event",
2029
+ "type": {
2030
+ "text": "Event"
2031
+ }
2032
+ }
2033
+ ]
2034
+ },
2035
+ {
2036
+ "kind": "method",
2037
+ "name": "syncSlotContent",
2038
+ "privacy": "private"
2039
+ },
2040
+ {
2041
+ "kind": "method",
2042
+ "name": "hasAssignedContent",
2043
+ "privacy": "private",
2044
+ "parameters": [
2045
+ {
2046
+ "name": "nodes",
2047
+ "type": {
2048
+ "text": "readonly Node[]"
2049
+ }
2050
+ }
2051
+ ]
2052
+ }
2053
+ ],
2054
+ "attributes": [
2055
+ {
2056
+ "name": "tool-name",
2057
+ "type": {
2058
+ "text": "string"
2059
+ },
2060
+ "default": "\"\"",
2061
+ "description": "Plain text name of the tool.",
2062
+ "fieldName": "toolName"
2063
+ },
2064
+ {
2065
+ "name": "input-label-text",
2066
+ "type": {
2067
+ "text": "string"
2068
+ },
2069
+ "default": "\"Input\"",
2070
+ "description": "Text string used to label step input.",
2071
+ "fieldName": "inputLabelText"
2072
+ },
2073
+ {
2074
+ "name": "output-label-text",
2075
+ "type": {
2076
+ "text": "string"
2077
+ },
2078
+ "default": "\"Output\"",
2079
+ "description": "Text string used to label step output.",
2080
+ "fieldName": "outputLabelText"
2081
+ },
2082
+ {
2083
+ "name": "tool-label-text",
2084
+ "type": {
2085
+ "text": "string"
2086
+ },
2087
+ "default": "\"Tool\"",
2088
+ "description": "Text string used to label the tool.",
2089
+ "fieldName": "toolLabelText"
2090
+ }
2091
+ ],
2092
+ "superclass": {
2093
+ "name": "LitElement",
2094
+ "package": "lit"
2095
+ },
2096
+ "tagName": "cds-aichat-tool-call-data",
2097
+ "customElement": true
2098
+ }
2099
+ ],
2100
+ "exports": [
2101
+ {
2102
+ "kind": "js",
2103
+ "name": "CDSAIChatToolCallData",
2104
+ "declaration": {
2105
+ "name": "CDSAIChatToolCallData",
2106
+ "module": "src/components/chain-of-thought/src/tool-call-data.ts"
2107
+ }
2108
+ },
2109
+ {
2110
+ "kind": "js",
2111
+ "name": "default",
2112
+ "declaration": {
2113
+ "name": "CDSAIChatToolCallData",
2114
+ "module": "src/components/chain-of-thought/src/tool-call-data.ts"
2115
+ }
2116
+ }
2117
+ ]
2118
+ },
2119
+ {
2120
+ "kind": "javascript-module",
2121
+ "path": "src/components/chat-button/src/chat-button.ts",
2122
+ "declarations": [
2123
+ {
2124
+ "kind": "class",
2125
+ "description": "Component extending the",
2126
+ "name": "CDSAIChatButton",
2127
+ "members": [
2128
+ {
2129
+ "kind": "field",
2130
+ "name": "isQuickAction",
2131
+ "type": {
2132
+ "text": "boolean"
2133
+ },
2134
+ "default": "false",
2135
+ "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
2136
+ "attribute": "is-quick-action"
2137
+ },
2138
+ {
2139
+ "kind": "field",
2140
+ "name": "size",
2141
+ "type": {
2142
+ "text": "ChatButtonSize"
2143
+ },
2144
+ "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
2145
+ "attribute": "size",
2146
+ "reflects": true
2147
+ },
2148
+ {
2149
+ "kind": "method",
2150
+ "name": "_normalizeButtonState",
2151
+ "privacy": "private",
2152
+ "return": {
2153
+ "type": {
2154
+ "text": "void"
2155
+ }
2156
+ }
2157
+ }
2158
+ ],
2159
+ "attributes": [
2160
+ {
2161
+ "name": "is-quick-action",
2162
+ "type": {
2163
+ "text": "boolean"
2164
+ },
2165
+ "default": "false",
2166
+ "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
2167
+ "fieldName": "isQuickAction"
2168
+ },
2169
+ {
2170
+ "name": "size",
2171
+ "type": {
2172
+ "text": "ChatButtonSize"
2173
+ },
2174
+ "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
2175
+ "fieldName": "size"
2176
+ }
2177
+ ],
2178
+ "superclass": {
2179
+ "name": "CDSButton",
2180
+ "package": "@carbon/web-components/es/components/button/button.js"
2181
+ },
2182
+ "tagName": "cds-aichat-button",
2183
+ "customElement": true
2184
+ }
2185
+ ],
2186
+ "exports": [
2187
+ {
2188
+ "kind": "js",
2189
+ "name": "CHAT_BUTTON_KIND",
2190
+ "declaration": {
2191
+ "name": "CHAT_BUTTON_KIND",
2192
+ "module": "src/components/chat-button/src/chat-button.ts"
2193
+ }
2194
+ },
2195
+ {
2196
+ "kind": "js",
2197
+ "name": "CHAT_BUTTON_TYPE",
2198
+ "declaration": {
2199
+ "name": "CHAT_BUTTON_TYPE",
2200
+ "module": "src/components/chat-button/src/chat-button.ts"
2201
+ }
2202
+ },
2203
+ {
2204
+ "kind": "js",
2205
+ "name": "CHAT_BUTTON_SIZE",
2206
+ "declaration": {
2207
+ "name": "CHAT_BUTTON_SIZE",
2208
+ "module": "src/components/chat-button/src/chat-button.ts"
2209
+ }
2210
+ },
2211
+ {
2212
+ "kind": "js",
2213
+ "name": "CHAT_BUTTON_TOOLTIP_ALIGNMENT",
2214
+ "declaration": {
2215
+ "name": "CHAT_BUTTON_TOOLTIP_ALIGNMENT",
2216
+ "module": "src/components/chat-button/src/chat-button.ts"
2217
+ }
2218
+ },
2219
+ {
2220
+ "kind": "js",
2221
+ "name": "CHAT_BUTTON_TOOLTIP_POSITION",
2222
+ "declaration": {
2223
+ "name": "CHAT_BUTTON_TOOLTIP_POSITION",
2224
+ "module": "src/components/chat-button/src/chat-button.ts"
2225
+ }
2226
+ },
2227
+ {
2228
+ "kind": "js",
2229
+ "name": "CDSAIChatButton",
2230
+ "declaration": {
2231
+ "name": "CDSAIChatButton",
2232
+ "module": "src/components/chat-button/src/chat-button.ts"
2233
+ }
2234
+ },
2235
+ {
2236
+ "kind": "js",
2237
+ "name": "default",
2238
+ "declaration": {
2239
+ "name": "CDSAIChatButton",
2240
+ "module": "src/components/chat-button/src/chat-button.ts"
2241
+ }
2242
+ }
2243
+ ]
2244
+ },
2245
+ {
2246
+ "kind": "javascript-module",
2247
+ "path": "src/components/chat-shell/src/cds-aichat-panel.ts",
2248
+ "declarations": [
2249
+ {
2250
+ "kind": "class",
2251
+ "description": "",
2252
+ "name": "CdsAiChatPanel",
2253
+ "members": [
2254
+ {
2255
+ "kind": "field",
2256
+ "name": "open",
2257
+ "type": {
2258
+ "text": "boolean"
2259
+ },
2260
+ "default": "false",
2261
+ "description": "Controls whether the panel is open or closed",
2262
+ "attribute": "open",
2263
+ "reflects": true
2264
+ },
2265
+ {
2266
+ "kind": "field",
2267
+ "name": "priority",
2268
+ "type": {
2269
+ "text": "number"
2270
+ },
2271
+ "default": "0",
2272
+ "description": "Sets the stacking priority of the panel (higher values appear on top)",
2273
+ "attribute": "priority",
2274
+ "reflects": true
2275
+ },
2276
+ {
2277
+ "kind": "field",
2278
+ "name": "fullWidth",
2279
+ "type": {
2280
+ "text": "boolean"
2281
+ },
2282
+ "default": "false",
2283
+ "description": "Makes the panel take up the full width of its container",
2284
+ "attribute": "full-width",
2285
+ "reflects": true
2286
+ },
2287
+ {
2288
+ "kind": "field",
2289
+ "name": "showChatHeader",
2290
+ "type": {
2291
+ "text": "boolean"
2292
+ },
2293
+ "default": "false",
2294
+ "description": "Shows the chat header in the panel",
2295
+ "attribute": "show-chat-header",
2296
+ "reflects": true
2297
+ },
2298
+ {
2299
+ "kind": "field",
2300
+ "name": "showFrame",
2301
+ "type": {
2302
+ "text": "boolean"
2303
+ },
2304
+ "default": "false",
2305
+ "description": "Shows a frame border around the panel",
2306
+ "attribute": "show-frame",
2307
+ "reflects": true
2308
+ },
2309
+ {
2310
+ "kind": "field",
2311
+ "name": "animationOnOpen",
2312
+ "type": {
2313
+ "text": "string | undefined"
2314
+ },
2315
+ "description": "Specifies the animation to use when opening the panel",
2316
+ "attribute": "animation-on-open",
2317
+ "reflects": true
2318
+ },
2319
+ {
2320
+ "kind": "field",
2321
+ "name": "animationOnClose",
2322
+ "type": {
2323
+ "text": "string | undefined"
2324
+ },
2325
+ "description": "Specifies the animation to use when closing the panel",
2326
+ "attribute": "animation-on-close",
2327
+ "reflects": true
2328
+ },
2329
+ {
2330
+ "kind": "field",
2331
+ "name": "inert",
2332
+ "type": {
2333
+ "text": "boolean"
2334
+ },
2335
+ "default": "false",
2336
+ "description": "Makes the panel inert (non-interactive)",
2337
+ "attribute": "inert",
2338
+ "reflects": true
2339
+ },
2340
+ {
2341
+ "kind": "method",
2342
+ "name": "updateVisibilityState",
2343
+ "privacy": "private"
2344
+ },
2345
+ {
2346
+ "kind": "method",
2347
+ "name": "openPanel",
2348
+ "privacy": "private"
2349
+ },
2350
+ {
2351
+ "kind": "method",
2352
+ "name": "closePanel",
2353
+ "privacy": "private"
2354
+ },
2355
+ {
2356
+ "kind": "method",
2357
+ "name": "completeOpen",
2358
+ "privacy": "private"
2359
+ },
2360
+ {
2361
+ "kind": "method",
2362
+ "name": "completeClose",
2363
+ "privacy": "private"
2364
+ },
2365
+ {
2366
+ "kind": "method",
2367
+ "name": "updateHostClasses",
2368
+ "privacy": "private"
2369
+ },
2370
+ {
2371
+ "kind": "method",
2372
+ "name": "updateAnimationClass",
2373
+ "privacy": "private",
2374
+ "parameters": [
2375
+ {
2376
+ "name": "type",
2377
+ "type": {
2378
+ "text": "\"opening\" | \"closing\""
2379
+ }
2380
+ },
2381
+ {
2382
+ "name": "animation",
2383
+ "optional": true,
2384
+ "type": {
2385
+ "text": "string"
2386
+ }
2387
+ },
2388
+ {
2389
+ "name": "shouldApply",
2390
+ "optional": true,
2391
+ "type": {
2392
+ "text": "boolean"
2393
+ }
2394
+ }
2395
+ ]
2396
+ },
2397
+ {
2398
+ "kind": "method",
2399
+ "name": "shouldWaitForAnimation",
2400
+ "privacy": "private",
2401
+ "parameters": [
2402
+ {
2403
+ "name": "animation",
2404
+ "optional": true,
2405
+ "type": {
2406
+ "text": "string"
2407
+ }
2408
+ }
2409
+ ]
2410
+ },
2411
+ {
2412
+ "kind": "method",
2413
+ "name": "scheduleAnimationFallback",
2414
+ "privacy": "private"
2415
+ },
2416
+ {
2417
+ "kind": "method",
2418
+ "name": "clearAnimationFallback",
2419
+ "privacy": "private"
2420
+ },
2421
+ {
2422
+ "kind": "method",
2423
+ "name": "setupResizeObserver",
2424
+ "privacy": "private"
2425
+ },
2426
+ {
2427
+ "kind": "method",
2428
+ "name": "cleanupResizeObserver",
2429
+ "privacy": "private"
2430
+ },
2431
+ {
2432
+ "kind": "method",
2433
+ "name": "getMessagesMaxWidth",
2434
+ "privacy": "private",
2435
+ "return": {
2436
+ "type": {
2437
+ "text": "number"
2438
+ }
2439
+ }
2440
+ },
2441
+ {
2442
+ "kind": "method",
2443
+ "name": "updateWidthClass",
2444
+ "privacy": "private",
2445
+ "parameters": [
2446
+ {
2447
+ "name": "width",
2448
+ "type": {
2449
+ "text": "number"
2450
+ }
2451
+ }
2452
+ ]
2453
+ },
2454
+ {
2455
+ "kind": "method",
2456
+ "name": "hasSlotContent",
2457
+ "privacy": "private",
2458
+ "return": {
2459
+ "type": {
2460
+ "text": "boolean"
2461
+ }
2462
+ },
2463
+ "parameters": [
2464
+ {
2465
+ "name": "slotName",
2466
+ "type": {
2467
+ "text": "string"
2468
+ }
2469
+ }
2470
+ ]
2471
+ },
2472
+ {
2473
+ "kind": "method",
2474
+ "name": "observeSlotContent",
2475
+ "privacy": "private"
2476
+ }
2477
+ ],
2478
+ "events": [
2479
+ {
2480
+ "name": "openstart",
2481
+ "type": {
2482
+ "text": "CustomEvent"
2483
+ }
2484
+ },
2485
+ {
2486
+ "name": "closestart",
2487
+ "type": {
2488
+ "text": "CustomEvent"
2489
+ }
2490
+ },
2491
+ {
2492
+ "name": "openend",
2493
+ "type": {
2494
+ "text": "CustomEvent"
2495
+ }
2496
+ },
2497
+ {
2498
+ "name": "closeend",
2499
+ "type": {
2500
+ "text": "CustomEvent"
2501
+ }
2502
+ }
2503
+ ],
2504
+ "attributes": [
2505
+ {
2506
+ "name": "open",
2507
+ "type": {
2508
+ "text": "boolean"
2509
+ },
2510
+ "default": "false",
2511
+ "description": "Controls whether the panel is open or closed",
2512
+ "fieldName": "open"
2513
+ },
2514
+ {
2515
+ "name": "priority",
2516
+ "type": {
2517
+ "text": "number"
2518
+ },
2519
+ "default": "0",
2520
+ "description": "Sets the stacking priority of the panel (higher values appear on top)",
2521
+ "fieldName": "priority"
2522
+ },
2523
+ {
2524
+ "name": "full-width",
2525
+ "type": {
2526
+ "text": "boolean"
2527
+ },
2528
+ "default": "false",
2529
+ "description": "Makes the panel take up the full width of its container",
2530
+ "fieldName": "fullWidth"
2531
+ },
2532
+ {
2533
+ "name": "show-chat-header",
2534
+ "type": {
2535
+ "text": "boolean"
2536
+ },
2537
+ "default": "false",
2538
+ "description": "Shows the chat header in the panel",
2539
+ "fieldName": "showChatHeader"
2540
+ },
2541
+ {
2542
+ "name": "show-frame",
2543
+ "type": {
2544
+ "text": "boolean"
2545
+ },
2546
+ "default": "false",
2547
+ "description": "Shows a frame border around the panel",
2548
+ "fieldName": "showFrame"
2549
+ },
2550
+ {
2551
+ "name": "animation-on-open",
2552
+ "type": {
2553
+ "text": "string | undefined"
2554
+ },
2555
+ "description": "Specifies the animation to use when opening the panel",
2556
+ "fieldName": "animationOnOpen"
2557
+ },
2558
+ {
2559
+ "name": "animation-on-close",
2560
+ "type": {
2561
+ "text": "string | undefined"
2562
+ },
2563
+ "description": "Specifies the animation to use when closing the panel",
2564
+ "fieldName": "animationOnClose"
2565
+ },
2566
+ {
2567
+ "name": "inert",
2568
+ "type": {
2569
+ "text": "boolean"
2570
+ },
2571
+ "default": "false",
2572
+ "description": "Makes the panel inert (non-interactive)",
2573
+ "fieldName": "inert"
2574
+ }
2575
+ ],
2576
+ "superclass": {
2577
+ "name": "LitElement",
2578
+ "package": "lit"
2579
+ },
2580
+ "tagName": "cds-aichat-panel",
2581
+ "customElement": true
2582
+ }
2583
+ ],
2584
+ "exports": [
2585
+ {
2586
+ "kind": "js",
2587
+ "name": "default",
2588
+ "declaration": {
2589
+ "name": "CdsAiChatPanel",
2590
+ "module": "src/components/chat-shell/src/cds-aichat-panel.ts"
2591
+ }
2592
+ }
2593
+ ]
2594
+ },
2595
+ {
2596
+ "kind": "javascript-module",
2597
+ "path": "src/components/chat-shell/src/cds-aichat-shell.ts",
2598
+ "declarations": [
2599
+ {
2600
+ "kind": "class",
2601
+ "description": "",
2602
+ "name": "CdsAiChatShell",
2603
+ "members": [
2604
+ {
2605
+ "kind": "field",
2606
+ "name": "aiEnabled",
2607
+ "type": {
2608
+ "text": "boolean"
2609
+ },
2610
+ "default": "false",
2611
+ "description": "Enables AI-specific theming for the chat shell",
2612
+ "attribute": "ai-enabled",
2613
+ "reflects": true
2614
+ },
2615
+ {
2616
+ "kind": "field",
2617
+ "name": "showFrame",
2618
+ "type": {
2619
+ "text": "boolean"
2620
+ },
2621
+ "default": "false",
2622
+ "description": "Shows a frame border around the chat shell",
2623
+ "attribute": "show-frame",
2624
+ "reflects": true
2625
+ },
2626
+ {
2627
+ "kind": "field",
2628
+ "name": "roundedCorners",
2629
+ "type": {
2630
+ "text": "boolean"
2631
+ },
2632
+ "default": "false",
2633
+ "description": "Applies rounded corners to the chat shell",
2634
+ "attribute": "rounded-corners",
2635
+ "reflects": true
2636
+ },
2637
+ {
2638
+ "kind": "field",
2639
+ "name": "showHistory",
2640
+ "type": {
2641
+ "text": "boolean"
2642
+ },
2643
+ "default": "false",
2644
+ "description": "Shows the history panel in the chat shell",
2645
+ "attribute": "show-history",
2646
+ "reflects": true
2647
+ },
2648
+ {
2649
+ "kind": "field",
2650
+ "name": "showWorkspace",
2651
+ "type": {
2652
+ "text": "boolean"
2653
+ },
2654
+ "default": "false",
2655
+ "description": "Shows the workspace panel in the chat shell",
2656
+ "attribute": "show-workspace",
2657
+ "reflects": true
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "workspaceLocation",
2662
+ "type": {
2663
+ "text": "StartOrEnd"
2664
+ },
2665
+ "default": "\"start\"",
2666
+ "description": "Determines the location of the workspace panel (\"start\" or \"end\")",
2667
+ "attribute": "workspace-location",
2668
+ "reflects": true
2669
+ },
2670
+ {
2671
+ "kind": "field",
2672
+ "name": "historyLocation",
2673
+ "type": {
2674
+ "text": "StartOrEnd"
2675
+ },
2676
+ "default": "\"start\"",
2677
+ "description": "Determines the location of the history panel (\"start\" or \"end\")",
2678
+ "attribute": "history-location",
2679
+ "reflects": true
2680
+ },
2681
+ {
2682
+ "kind": "method",
2683
+ "name": "getWidgetClasses",
2684
+ "privacy": "private",
2685
+ "return": {
2686
+ "type": {
2687
+ "text": "string"
2688
+ }
2689
+ }
2690
+ },
2691
+ {
2692
+ "kind": "method",
2693
+ "name": "getInputAndMessagesClasses",
2694
+ "privacy": "private",
2695
+ "return": {
2696
+ "type": {
2697
+ "text": "string"
2698
+ }
2699
+ }
2700
+ },
2701
+ {
2702
+ "kind": "method",
2703
+ "name": "renderSlot",
2704
+ "privacy": "private",
2705
+ "parameters": [
2706
+ {
2707
+ "name": "name",
2708
+ "type": {
2709
+ "text": "string"
2710
+ }
2711
+ },
2712
+ {
2713
+ "name": "className",
2714
+ "type": {
2715
+ "text": "string"
2716
+ }
2717
+ },
2718
+ {
2719
+ "name": "condition",
2720
+ "default": "true"
2721
+ }
2722
+ ]
2723
+ },
2724
+ {
2725
+ "kind": "method",
2726
+ "name": "getSlotContentState",
2727
+ "privacy": "private",
2728
+ "return": {
2729
+ "type": {
2730
+ "text": "boolean"
2731
+ }
2732
+ },
2733
+ "parameters": [
2734
+ {
2735
+ "name": "slotName",
2736
+ "type": {
2737
+ "text": "string"
2738
+ }
2739
+ }
2740
+ ]
2741
+ },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "renderWorkspaceInline",
2745
+ "privacy": "private"
2746
+ },
2747
+ {
2748
+ "kind": "method",
2749
+ "name": "renderWorkspacePanel",
2750
+ "privacy": "private"
2751
+ },
2752
+ {
2753
+ "kind": "method",
2754
+ "name": "renderHeader",
2755
+ "privacy": "private"
2756
+ },
2757
+ {
2758
+ "kind": "method",
2759
+ "name": "renderHeaderSlot",
2760
+ "privacy": "private",
2761
+ "parameters": [
2762
+ {
2763
+ "name": "name",
2764
+ "type": {
2765
+ "text": "string"
2766
+ }
2767
+ },
2768
+ {
2769
+ "name": "className",
2770
+ "type": {
2771
+ "text": "string"
2772
+ }
2773
+ }
2774
+ ]
2775
+ },
2776
+ {
2777
+ "kind": "method",
2778
+ "name": "renderMessagesSection",
2779
+ "privacy": "private"
2780
+ },
2781
+ {
2782
+ "kind": "method",
2783
+ "name": "renderHistory",
2784
+ "privacy": "private"
2785
+ },
2786
+ {
2787
+ "kind": "method",
2788
+ "name": "hasSlotContent",
2789
+ "privacy": "private",
2790
+ "return": {
2791
+ "type": {
2792
+ "text": "boolean"
2793
+ }
2794
+ },
2795
+ "parameters": [
2796
+ {
2797
+ "name": "slotName",
2798
+ "type": {
2799
+ "text": "string"
2800
+ }
2801
+ }
2802
+ ]
2803
+ },
2804
+ {
2805
+ "kind": "method",
2806
+ "name": "observeSlotContent",
2807
+ "privacy": "private"
2808
+ },
2809
+ {
2810
+ "kind": "method",
2811
+ "name": "observeInputAndMessagesWidth",
2812
+ "privacy": "private"
2813
+ },
2814
+ {
2815
+ "kind": "method",
2816
+ "name": "observeMainContentBodyWidth",
2817
+ "privacy": "private"
2818
+ },
2819
+ {
2820
+ "kind": "method",
2821
+ "name": "getCssLengthFromProperty",
2822
+ "privacy": "private",
2823
+ "return": {
2824
+ "type": {
2825
+ "text": "number"
2826
+ }
2827
+ },
2828
+ "parameters": [
2829
+ {
2830
+ "name": "propertyName",
2831
+ "type": {
2832
+ "text": "string"
2833
+ }
2834
+ },
2835
+ {
2836
+ "name": "fallback",
2837
+ "type": {
2838
+ "text": "number"
2839
+ }
2840
+ }
2841
+ ]
2842
+ },
2843
+ {
2844
+ "kind": "method",
2845
+ "name": "getMessagesMaxWidth",
2846
+ "privacy": "private",
2847
+ "return": {
2848
+ "type": {
2849
+ "text": "number"
2850
+ }
2851
+ }
2852
+ },
2853
+ {
2854
+ "kind": "method",
2855
+ "name": "observeHeaderHeight",
2856
+ "privacy": "private"
2857
+ },
2858
+ {
2859
+ "kind": "method",
2860
+ "name": "observeCssProperties",
2861
+ "privacy": "private",
2862
+ "return": {
2863
+ "type": {
2864
+ "text": "void"
2865
+ }
2866
+ },
2867
+ "description": "Observe CSS custom properties that affect messages max width.\nWhen --cds-aichat-messages-max-width changes, recalculate the at-max-width state."
2868
+ },
2869
+ {
2870
+ "kind": "method",
2871
+ "name": "checkMessagesMaxWidthChange",
2872
+ "privacy": "private",
2873
+ "return": {
2874
+ "type": {
2875
+ "text": "void"
2876
+ }
2877
+ },
2878
+ "description": "Check if --cds-aichat-messages-max-width has changed and trigger recalculation."
2879
+ }
2880
+ ],
2881
+ "attributes": [
2882
+ {
2883
+ "name": "ai-enabled",
2884
+ "type": {
2885
+ "text": "boolean"
2886
+ },
2887
+ "default": "false",
2888
+ "description": "Enables AI-specific theming for the chat shell",
2889
+ "fieldName": "aiEnabled"
2890
+ },
2891
+ {
2892
+ "name": "show-frame",
2893
+ "type": {
2894
+ "text": "boolean"
2895
+ },
2896
+ "default": "false",
2897
+ "description": "Shows a frame border around the chat shell",
2898
+ "fieldName": "showFrame"
2899
+ },
2900
+ {
2901
+ "name": "rounded-corners",
2902
+ "type": {
2903
+ "text": "boolean"
2904
+ },
2905
+ "default": "false",
2906
+ "description": "Applies rounded corners to the chat shell",
2907
+ "fieldName": "roundedCorners"
2908
+ },
2909
+ {
2910
+ "name": "show-history",
2911
+ "type": {
2912
+ "text": "boolean"
2913
+ },
2914
+ "default": "false",
2915
+ "description": "Shows the history panel in the chat shell",
2916
+ "fieldName": "showHistory"
2917
+ },
2918
+ {
2919
+ "name": "show-workspace",
2920
+ "type": {
2921
+ "text": "boolean"
2922
+ },
2923
+ "default": "false",
2924
+ "description": "Shows the workspace panel in the chat shell",
2925
+ "fieldName": "showWorkspace"
2926
+ },
2927
+ {
2928
+ "name": "workspace-location",
2929
+ "type": {
2930
+ "text": "StartOrEnd"
2931
+ },
2932
+ "default": "\"start\"",
2933
+ "description": "Determines the location of the workspace panel (\"start\" or \"end\")",
2934
+ "fieldName": "workspaceLocation"
2935
+ },
2936
+ {
2937
+ "name": "history-location",
2938
+ "type": {
2939
+ "text": "StartOrEnd"
2940
+ },
2941
+ "default": "\"start\"",
2942
+ "description": "Determines the location of the history panel (\"start\" or \"end\")",
2943
+ "fieldName": "historyLocation"
2944
+ }
2945
+ ],
2946
+ "superclass": {
2947
+ "name": "LitElement",
2948
+ "package": "lit"
2949
+ },
2950
+ "tagName": "cds-aichat-shell",
2951
+ "customElement": true
2952
+ }
2953
+ ],
2954
+ "exports": [
2955
+ {
2956
+ "kind": "js",
2957
+ "name": "default",
2958
+ "declaration": {
2959
+ "name": "CdsAiChatShell",
2960
+ "module": "src/components/chat-shell/src/cds-aichat-shell.ts"
2961
+ }
2962
+ }
2963
+ ]
2964
+ },
2965
+ {
2966
+ "kind": "javascript-module",
2967
+ "path": "src/components/chat-shell/src/panel-manager.ts",
2968
+ "declarations": [
2969
+ {
2970
+ "kind": "class",
2971
+ "description": "",
2972
+ "name": "PanelManager",
2973
+ "members": [
2974
+ {
2975
+ "kind": "field",
2976
+ "name": "panelObservers",
2977
+ "privacy": "private",
2978
+ "default": "new Map<HTMLElement, MutationObserver>()"
2979
+ },
2980
+ {
2981
+ "kind": "field",
2982
+ "name": "slotElements",
2983
+ "type": {
2984
+ "text": "HTMLElement[]"
2985
+ },
2986
+ "privacy": "private",
2987
+ "default": "[]"
2988
+ },
2989
+ {
2990
+ "kind": "method",
2991
+ "name": "connect"
2992
+ },
2993
+ {
2994
+ "kind": "method",
2995
+ "name": "disconnect"
2996
+ },
2997
+ {
2998
+ "kind": "method",
2999
+ "name": "refresh"
3000
+ },
3001
+ {
3002
+ "kind": "field",
3003
+ "name": "onSlotChange",
3004
+ "privacy": "private"
3005
+ },
3006
+ {
3007
+ "kind": "method",
3008
+ "name": "observeAssignedPanels",
3009
+ "privacy": "private"
3010
+ },
3011
+ {
3012
+ "kind": "method",
3013
+ "name": "stopObservingPanels",
3014
+ "privacy": "private"
3015
+ },
3016
+ {
3017
+ "kind": "field",
3018
+ "name": "onPanelMutation",
3019
+ "privacy": "private"
3020
+ },
3021
+ {
3022
+ "kind": "method",
3023
+ "name": "updateState",
3024
+ "privacy": "private"
3025
+ },
3026
+ {
3027
+ "kind": "method",
3028
+ "name": "getAssignedPanelElements",
3029
+ "privacy": "private",
3030
+ "return": {
3031
+ "type": {
3032
+ "text": "HTMLElement[]"
3033
+ }
3034
+ }
3035
+ },
3036
+ {
3037
+ "kind": "method",
3038
+ "name": "getPanelStates",
3039
+ "privacy": "private",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "PanelState[]"
3043
+ }
3044
+ }
3045
+ },
3046
+ {
3047
+ "kind": "method",
3048
+ "name": "pickActivePanel",
3049
+ "privacy": "private",
3050
+ "return": {
3051
+ "type": {
3052
+ "text": "PanelState | undefined"
3053
+ }
3054
+ },
3055
+ "parameters": [
3056
+ {
3057
+ "name": "panels",
3058
+ "type": {
3059
+ "text": "PanelState[]"
3060
+ }
3061
+ }
3062
+ ]
3063
+ },
3064
+ {
3065
+ "kind": "method",
3066
+ "name": "setInert",
3067
+ "privacy": "private",
3068
+ "parameters": [
3069
+ {
3070
+ "name": "target",
3071
+ "type": {
3072
+ "text": "HTMLElement | undefined"
3073
+ }
3074
+ },
3075
+ {
3076
+ "name": "value",
3077
+ "type": {
3078
+ "text": "boolean"
3079
+ }
3080
+ }
3081
+ ]
3082
+ },
3083
+ {
3084
+ "kind": "method",
3085
+ "name": "isPanelAnimating",
3086
+ "privacy": "private",
3087
+ "parameters": [
3088
+ {
3089
+ "name": "panelElement",
3090
+ "type": {
3091
+ "text": "HTMLElement"
3092
+ }
3093
+ }
3094
+ ]
3095
+ },
3096
+ {
3097
+ "kind": "method",
3098
+ "name": "syncSlotElements",
3099
+ "privacy": "private"
3100
+ }
3101
+ ]
3102
+ }
3103
+ ],
3104
+ "exports": [
3105
+ {
3106
+ "kind": "js",
3107
+ "name": "PanelManager",
3108
+ "declaration": {
3109
+ "name": "PanelManager",
3110
+ "module": "src/components/chat-shell/src/panel-manager.ts"
3111
+ }
3112
+ }
3113
+ ]
3114
+ },
3115
+ {
3116
+ "kind": "javascript-module",
3117
+ "path": "src/components/chat-shell/src/workspace-manager.ts",
3118
+ "declarations": [
3119
+ {
3120
+ "kind": "class",
3121
+ "description": "Manages workspace layout, responsive behavior, and transitions for cds-aichat-shell.\nHandles switching between inline and panel modes based on available width,\nand orchestrates smooth transitions when workspace visibility changes.",
3122
+ "name": "WorkspaceManager",
3123
+ "members": [
3124
+ {
3125
+ "kind": "field",
3126
+ "name": "state",
3127
+ "type": {
3128
+ "text": "WorkspaceState"
3129
+ },
3130
+ "privacy": "private",
3131
+ "default": "{ inPanel: false, contentVisible: true, containerVisible: false, isExpanding: false, isContracting: false, }"
3132
+ },
3133
+ {
3134
+ "kind": "field",
3135
+ "name": "hostResizeObserver",
3136
+ "type": {
3137
+ "text": "ResizeObserver | undefined"
3138
+ },
3139
+ "privacy": "private"
3140
+ },
3141
+ {
3142
+ "kind": "field",
3143
+ "name": "windowResizeHandler",
3144
+ "type": {
3145
+ "text": "() => void | undefined"
3146
+ },
3147
+ "privacy": "private"
3148
+ },
3149
+ {
3150
+ "kind": "field",
3151
+ "name": "expansionCheckInterval",
3152
+ "type": {
3153
+ "text": "number | undefined"
3154
+ },
3155
+ "privacy": "private"
3156
+ },
3157
+ {
3158
+ "kind": "field",
3159
+ "name": "expansionLastInlineSize",
3160
+ "type": {
3161
+ "text": "number | undefined"
3162
+ },
3163
+ "privacy": "private"
3164
+ },
3165
+ {
3166
+ "kind": "field",
3167
+ "name": "closingCheckInterval",
3168
+ "type": {
3169
+ "text": "number | undefined"
3170
+ },
3171
+ "privacy": "private"
3172
+ },
3173
+ {
3174
+ "kind": "field",
3175
+ "name": "closingLastInlineSize",
3176
+ "type": {
3177
+ "text": "number | undefined"
3178
+ },
3179
+ "privacy": "private"
3180
+ },
3181
+ {
3182
+ "kind": "field",
3183
+ "name": "throttledHandleHostResize",
3184
+ "type": {
3185
+ "text": "(inlineSize: number) => void"
3186
+ },
3187
+ "privacy": "private"
3188
+ },
3189
+ {
3190
+ "kind": "field",
3191
+ "name": "cssPropertyObserver",
3192
+ "type": {
3193
+ "text": "MutationObserver | undefined"
3194
+ },
3195
+ "privacy": "private"
3196
+ },
3197
+ {
3198
+ "kind": "field",
3199
+ "name": "lastKnownCssValues",
3200
+ "type": {
3201
+ "text": "{\n workspaceMinWidth?: number;\n messagesMinWidth?: number;\n historyWidth?: number;\n }"
3202
+ },
3203
+ "privacy": "private",
3204
+ "default": "{}"
3205
+ },
3206
+ {
3207
+ "kind": "method",
3208
+ "name": "connect",
3209
+ "return": {
3210
+ "type": {
3211
+ "text": "void"
3212
+ }
3213
+ },
3214
+ "description": "Initialize workspace management and start observing resize events.\nShould be called after the shell component is fully rendered."
3215
+ },
3216
+ {
3217
+ "kind": "method",
3218
+ "name": "disconnect",
3219
+ "return": {
3220
+ "type": {
3221
+ "text": "void"
3222
+ }
3223
+ },
3224
+ "description": "Clean up observers and timers.\nShould be called when the shell component is disconnected."
3225
+ },
3226
+ {
3227
+ "kind": "method",
3228
+ "name": "refresh",
3229
+ "return": {
3230
+ "type": {
3231
+ "text": "void"
3232
+ }
3233
+ },
3234
+ "description": "Refresh workspace state and re-evaluate layout.\nUseful after external changes that might affect layout."
3235
+ },
3236
+ {
3237
+ "kind": "method",
3238
+ "name": "updateConfig",
3239
+ "return": {
3240
+ "type": {
3241
+ "text": "void"
3242
+ }
3243
+ },
3244
+ "parameters": [
3245
+ {
3246
+ "name": "newConfig",
3247
+ "type": {
3248
+ "text": "Partial<WorkspaceConfig>"
3249
+ }
3250
+ }
3251
+ ],
3252
+ "description": "Update workspace configuration.\nHandles transitions when workspace visibility or related settings change."
3253
+ },
3254
+ {
3255
+ "kind": "method",
3256
+ "name": "getState",
3257
+ "return": {
3258
+ "type": {
3259
+ "text": "Readonly<WorkspaceState>"
3260
+ }
3261
+ },
3262
+ "description": "Get current workspace state.\nReturns a readonly copy to prevent external mutations."
3263
+ },
3264
+ {
3265
+ "kind": "method",
3266
+ "name": "shouldRenderInline",
3267
+ "return": {
3268
+ "type": {
3269
+ "text": "boolean"
3270
+ }
3271
+ },
3272
+ "description": "Check if workspace should be rendered inline (side-by-side with messages)."
3273
+ },
3274
+ {
3275
+ "kind": "method",
3276
+ "name": "shouldRenderPanel",
3277
+ "return": {
3278
+ "type": {
3279
+ "text": "boolean"
3280
+ }
3281
+ },
3282
+ "description": "Check if workspace should be rendered as a panel (overlay)."
3283
+ },
3284
+ {
3285
+ "kind": "method",
3286
+ "name": "observeHostWidth",
3287
+ "privacy": "private",
3288
+ "return": {
3289
+ "type": {
3290
+ "text": "void"
3291
+ }
3292
+ }
3293
+ },
3294
+ {
3295
+ "kind": "method",
3296
+ "name": "setupWindowResizeListener",
3297
+ "privacy": "private",
3298
+ "return": {
3299
+ "type": {
3300
+ "text": "void"
3301
+ }
3302
+ }
3303
+ },
3304
+ {
3305
+ "kind": "method",
3306
+ "name": "createHostResizeObserver",
3307
+ "privacy": "private",
3308
+ "return": {
3309
+ "type": {
3310
+ "text": "void"
3311
+ }
3312
+ }
3313
+ },
3314
+ {
3315
+ "kind": "method",
3316
+ "name": "reconnectHostResizeObserver",
3317
+ "privacy": "private",
3318
+ "return": {
3319
+ "type": {
3320
+ "text": "void"
3321
+ }
3322
+ }
3323
+ },
3324
+ {
3325
+ "kind": "method",
3326
+ "name": "performInitialHostMeasurement",
3327
+ "privacy": "private",
3328
+ "return": {
3329
+ "type": {
3330
+ "text": "void"
3331
+ }
3332
+ }
3333
+ },
3334
+ {
3335
+ "kind": "method",
3336
+ "name": "handleHostResize",
3337
+ "privacy": "private",
3338
+ "return": {
3339
+ "type": {
3340
+ "text": "void"
3341
+ }
3342
+ },
3343
+ "parameters": [
3344
+ {
3345
+ "name": "inlineSize",
3346
+ "type": {
3347
+ "text": "number"
3348
+ }
3349
+ }
3350
+ ]
3351
+ },
3352
+ {
3353
+ "kind": "method",
3354
+ "name": "updateWorkspaceInPanelState",
3355
+ "privacy": "private",
3356
+ "return": {
3357
+ "type": {
3358
+ "text": "void"
3359
+ }
3360
+ },
3361
+ "parameters": [
3362
+ {
3363
+ "name": "inlineSize",
3364
+ "type": {
3365
+ "text": "number"
3366
+ }
3367
+ }
3368
+ ]
3369
+ },
3370
+ {
3371
+ "kind": "method",
3372
+ "name": "handleShowWorkspaceEnabled",
3373
+ "privacy": "private",
3374
+ "return": {
3375
+ "type": {
3376
+ "text": "void"
3377
+ }
3378
+ }
3379
+ },
3380
+ {
3381
+ "kind": "method",
3382
+ "name": "handleShowWorkspaceDisabled",
3383
+ "privacy": "private",
3384
+ "return": {
3385
+ "type": {
3386
+ "text": "void"
3387
+ }
3388
+ }
3389
+ },
3390
+ {
3391
+ "kind": "method",
3392
+ "name": "startExpansionPolling",
3393
+ "privacy": "private",
3394
+ "return": {
3395
+ "type": {
3396
+ "text": "void"
3397
+ }
3398
+ }
3399
+ },
3400
+ {
3401
+ "kind": "method",
3402
+ "name": "startClosingPolling",
3403
+ "privacy": "private",
3404
+ "return": {
3405
+ "type": {
3406
+ "text": "void"
3407
+ }
3408
+ }
3409
+ },
3410
+ {
3411
+ "kind": "method",
3412
+ "name": "finishWorkspaceExpansion",
3413
+ "privacy": "private",
3414
+ "return": {
3415
+ "type": {
3416
+ "text": "void"
3417
+ }
3418
+ },
3419
+ "parameters": [
3420
+ {
3421
+ "name": "sawMovement",
3422
+ "type": {
3423
+ "text": "boolean"
3424
+ }
3425
+ }
3426
+ ]
3427
+ },
3428
+ {
3429
+ "kind": "method",
3430
+ "name": "finishWorkspaceClosing",
3431
+ "privacy": "private",
3432
+ "return": {
3433
+ "type": {
3434
+ "text": "void"
3435
+ }
3436
+ }
3437
+ },
3438
+ {
3439
+ "kind": "method",
3440
+ "name": "trackExpectedExpansion",
3441
+ "privacy": "private",
3442
+ "return": {
3443
+ "type": {
3444
+ "text": "void"
3445
+ }
3446
+ },
3447
+ "parameters": [
3448
+ {
3449
+ "name": "inlineSize",
3450
+ "type": {
3451
+ "text": "number"
3452
+ }
3453
+ }
3454
+ ]
3455
+ },
3456
+ {
3457
+ "kind": "method",
3458
+ "name": "clearExpansionTimers",
3459
+ "privacy": "private",
3460
+ "return": {
3461
+ "type": {
3462
+ "text": "void"
3463
+ }
3464
+ }
3465
+ },
3466
+ {
3467
+ "kind": "method",
3468
+ "name": "clearClosingTimer",
3469
+ "privacy": "private",
3470
+ "return": {
3471
+ "type": {
3472
+ "text": "void"
3473
+ }
3474
+ }
3475
+ },
3476
+ {
3477
+ "kind": "method",
3478
+ "name": "setWorkspaceInPanel",
3479
+ "privacy": "private",
3480
+ "return": {
3481
+ "type": {
3482
+ "text": "void"
3483
+ }
3484
+ },
3485
+ "parameters": [
3486
+ {
3487
+ "name": "inPanel",
3488
+ "type": {
3489
+ "text": "boolean"
3490
+ }
3491
+ }
3492
+ ]
3493
+ },
3494
+ {
3495
+ "kind": "method",
3496
+ "name": "setWorkspaceContentVisible",
3497
+ "privacy": "private",
3498
+ "return": {
3499
+ "type": {
3500
+ "text": "void"
3501
+ }
3502
+ },
3503
+ "parameters": [
3504
+ {
3505
+ "name": "visible",
3506
+ "type": {
3507
+ "text": "boolean"
3508
+ }
3509
+ }
3510
+ ]
3511
+ },
3512
+ {
3513
+ "kind": "method",
3514
+ "name": "setShowWorkspaceContainer",
3515
+ "privacy": "private",
3516
+ "return": {
3517
+ "type": {
3518
+ "text": "void"
3519
+ }
3520
+ },
3521
+ "parameters": [
3522
+ {
3523
+ "name": "show",
3524
+ "type": {
3525
+ "text": "boolean"
3526
+ }
3527
+ }
3528
+ ]
3529
+ },
3530
+ {
3531
+ "kind": "method",
3532
+ "name": "setState",
3533
+ "privacy": "private",
3534
+ "return": {
3535
+ "type": {
3536
+ "text": "void"
3537
+ }
3538
+ },
3539
+ "parameters": [
3540
+ {
3541
+ "name": "updates",
3542
+ "type": {
3543
+ "text": "Partial<WorkspaceState>"
3544
+ }
3545
+ }
3546
+ ]
3547
+ },
3548
+ {
3549
+ "kind": "method",
3550
+ "name": "updateShellClasses",
3551
+ "privacy": "private",
3552
+ "return": {
3553
+ "type": {
3554
+ "text": "void"
3555
+ }
3556
+ }
3557
+ },
3558
+ {
3559
+ "kind": "method",
3560
+ "name": "requestHostUpdate",
3561
+ "privacy": "private",
3562
+ "return": {
3563
+ "type": {
3564
+ "text": "void"
3565
+ }
3566
+ }
3567
+ },
3568
+ {
3569
+ "kind": "method",
3570
+ "name": "getRequiredMinWidth",
3571
+ "privacy": "private",
3572
+ "return": {
3573
+ "type": {
3574
+ "text": "number"
3575
+ }
3576
+ }
3577
+ },
3578
+ {
3579
+ "kind": "method",
3580
+ "name": "isWideEnough",
2279
3581
  "privacy": "private",
3582
+ "return": {
3583
+ "type": {
3584
+ "text": "boolean"
3585
+ }
3586
+ },
2280
3587
  "parameters": [
2281
3588
  {
2282
- "name": "slot",
3589
+ "name": "inlineSize",
2283
3590
  "type": {
2284
- "text": "\"description\" | \"input\" | \"output\""
3591
+ "text": "number"
2285
3592
  }
2286
3593
  },
2287
3594
  {
2288
- "name": "event",
3595
+ "name": "requiredWidth",
2289
3596
  "type": {
2290
- "text": "Event"
3597
+ "text": "number"
2291
3598
  }
2292
3599
  }
2293
3600
  ]
2294
3601
  },
2295
3602
  {
2296
3603
  "kind": "method",
2297
- "name": "syncSlotContent",
2298
- "privacy": "private"
3604
+ "name": "canHostGrow",
3605
+ "privacy": "private",
3606
+ "return": {
3607
+ "type": {
3608
+ "text": "boolean"
3609
+ }
3610
+ },
3611
+ "parameters": [
3612
+ {
3613
+ "name": "requiredWidth",
3614
+ "type": {
3615
+ "text": "number"
3616
+ }
3617
+ }
3618
+ ]
2299
3619
  },
2300
3620
  {
2301
3621
  "kind": "method",
2302
- "name": "hasAssignedContent",
3622
+ "name": "finalizeImmediateDisplay",
2303
3623
  "privacy": "private",
3624
+ "return": {
3625
+ "type": {
3626
+ "text": "void"
3627
+ }
3628
+ },
2304
3629
  "parameters": [
2305
3630
  {
2306
- "name": "nodes",
3631
+ "name": "inlineSize",
2307
3632
  "type": {
2308
- "text": "readonly Node[]"
3633
+ "text": "number"
3634
+ }
3635
+ },
3636
+ {
3637
+ "name": "usePanel",
3638
+ "type": {
3639
+ "text": "boolean"
2309
3640
  }
2310
3641
  }
2311
3642
  ]
2312
- }
2313
- ],
2314
- "attributes": [
2315
- {
2316
- "name": "tool-name",
2317
- "type": {
2318
- "text": "string"
2319
- },
2320
- "default": "\"\"",
2321
- "description": "Plain text name of the tool.",
2322
- "fieldName": "toolName"
2323
3643
  },
2324
3644
  {
2325
- "name": "input-label-text",
2326
- "type": {
2327
- "text": "string"
2328
- },
2329
- "default": "\"Input\"",
2330
- "description": "Text string used to label step input.",
2331
- "fieldName": "inputLabelText"
3645
+ "kind": "method",
3646
+ "name": "setupExpansionTracking",
3647
+ "privacy": "private",
3648
+ "return": {
3649
+ "type": {
3650
+ "text": "void"
3651
+ }
3652
+ }
2332
3653
  },
2333
3654
  {
2334
- "name": "output-label-text",
2335
- "type": {
2336
- "text": "string"
3655
+ "kind": "method",
3656
+ "name": "getInlineSizeFromEntry",
3657
+ "privacy": "private",
3658
+ "return": {
3659
+ "type": {
3660
+ "text": "number"
3661
+ }
2337
3662
  },
2338
- "default": "\"Output\"",
2339
- "description": "Text string used to label step output.",
2340
- "fieldName": "outputLabelText"
3663
+ "parameters": [
3664
+ {
3665
+ "name": "entry",
3666
+ "type": {
3667
+ "text": "ResizeObserverEntry"
3668
+ }
3669
+ }
3670
+ ]
2341
3671
  },
2342
3672
  {
2343
- "name": "tool-label-text",
2344
- "type": {
2345
- "text": "string"
2346
- },
2347
- "default": "\"Tool\"",
2348
- "description": "Text string used to label the tool.",
2349
- "fieldName": "toolLabelText"
2350
- }
2351
- ],
2352
- "superclass": {
2353
- "name": "LitElement",
2354
- "package": "lit"
2355
- },
2356
- "tagName": "cds-aichat-tool-call-data",
2357
- "customElement": true
2358
- }
2359
- ],
2360
- "exports": [
2361
- {
2362
- "kind": "js",
2363
- "name": "CDSAIChatToolCallData",
2364
- "declaration": {
2365
- "name": "CDSAIChatToolCallData",
2366
- "module": "src/components/chain-of-thought/src/tool-call-data.ts"
2367
- }
2368
- },
2369
- {
2370
- "kind": "js",
2371
- "name": "default",
2372
- "declaration": {
2373
- "name": "CDSAIChatToolCallData",
2374
- "module": "src/components/chain-of-thought/src/tool-call-data.ts"
2375
- }
2376
- }
2377
- ]
2378
- },
2379
- {
2380
- "kind": "javascript-module",
2381
- "path": "src/components/chat-button/src/chat-button.ts",
2382
- "declarations": [
2383
- {
2384
- "kind": "class",
2385
- "description": "Component extending the",
2386
- "name": "CDSAIChatButton",
2387
- "members": [
2388
- {
2389
- "kind": "field",
2390
- "name": "isQuickAction",
2391
- "type": {
2392
- "text": "boolean"
3673
+ "kind": "method",
3674
+ "name": "getCssLengthFromProperty",
3675
+ "privacy": "private",
3676
+ "return": {
3677
+ "type": {
3678
+ "text": "number"
3679
+ }
2393
3680
  },
2394
- "default": "false",
2395
- "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
2396
- "attribute": "is-quick-action"
3681
+ "parameters": [
3682
+ {
3683
+ "name": "propertyName",
3684
+ "type": {
3685
+ "text": "string"
3686
+ }
3687
+ },
3688
+ {
3689
+ "name": "fallback",
3690
+ "type": {
3691
+ "text": "number"
3692
+ }
3693
+ }
3694
+ ]
2397
3695
  },
2398
3696
  {
2399
- "kind": "field",
2400
- "name": "size",
2401
- "type": {
2402
- "text": "ChatButtonSize"
3697
+ "kind": "method",
3698
+ "name": "observeCssProperties",
3699
+ "privacy": "private",
3700
+ "return": {
3701
+ "type": {
3702
+ "text": "void"
3703
+ }
2403
3704
  },
2404
- "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
2405
- "attribute": "size",
2406
- "reflects": true
3705
+ "description": "Observe CSS custom properties that affect workspace layout.\nWhen these properties change, recalculate workspace positioning."
2407
3706
  },
2408
3707
  {
2409
3708
  "kind": "method",
2410
- "name": "_normalizeButtonState",
3709
+ "name": "updateLastKnownCssValues",
2411
3710
  "privacy": "private",
2412
3711
  "return": {
2413
3712
  "type": {
2414
3713
  "text": "void"
2415
3714
  }
2416
- }
2417
- }
2418
- ],
2419
- "attributes": [
2420
- {
2421
- "name": "is-quick-action",
2422
- "type": {
2423
- "text": "boolean"
2424
3715
  },
2425
- "default": "false",
2426
- "description": "Specify whether the `ChatButton` should be rendered as a quick action button",
2427
- "fieldName": "isQuickAction"
3716
+ "description": "Update the cached CSS property values."
2428
3717
  },
2429
3718
  {
2430
- "name": "size",
2431
- "type": {
2432
- "text": "ChatButtonSize"
3719
+ "kind": "method",
3720
+ "name": "checkCssPropertyChanges",
3721
+ "privacy": "private",
3722
+ "return": {
3723
+ "type": {
3724
+ "text": "void"
3725
+ }
2433
3726
  },
2434
- "description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
2435
- "fieldName": "size"
3727
+ "description": "Check if any relevant CSS properties have changed and trigger recalculation."
2436
3728
  }
2437
- ],
2438
- "superclass": {
2439
- "name": "CDSButton",
2440
- "package": "@carbon/web-components/es/components/button/button.js"
2441
- },
2442
- "tagName": "cds-aichat-button",
2443
- "customElement": true
3729
+ ]
2444
3730
  }
2445
3731
  ],
2446
3732
  "exports": [
2447
3733
  {
2448
3734
  "kind": "js",
2449
- "name": "CHAT_BUTTON_KIND",
2450
- "declaration": {
2451
- "name": "CHAT_BUTTON_KIND",
2452
- "module": "src/components/chat-button/src/chat-button.ts"
2453
- }
2454
- },
2455
- {
2456
- "kind": "js",
2457
- "name": "CHAT_BUTTON_TYPE",
2458
- "declaration": {
2459
- "name": "CHAT_BUTTON_TYPE",
2460
- "module": "src/components/chat-button/src/chat-button.ts"
2461
- }
2462
- },
2463
- {
2464
- "kind": "js",
2465
- "name": "CHAT_BUTTON_SIZE",
2466
- "declaration": {
2467
- "name": "CHAT_BUTTON_SIZE",
2468
- "module": "src/components/chat-button/src/chat-button.ts"
2469
- }
2470
- },
2471
- {
2472
- "kind": "js",
2473
- "name": "CHAT_BUTTON_TOOLTIP_ALIGNMENT",
2474
- "declaration": {
2475
- "name": "CHAT_BUTTON_TOOLTIP_ALIGNMENT",
2476
- "module": "src/components/chat-button/src/chat-button.ts"
2477
- }
2478
- },
2479
- {
2480
- "kind": "js",
2481
- "name": "CHAT_BUTTON_TOOLTIP_POSITION",
2482
- "declaration": {
2483
- "name": "CHAT_BUTTON_TOOLTIP_POSITION",
2484
- "module": "src/components/chat-button/src/chat-button.ts"
2485
- }
2486
- },
2487
- {
2488
- "kind": "js",
2489
- "name": "CDSAIChatButton",
2490
- "declaration": {
2491
- "name": "CDSAIChatButton",
2492
- "module": "src/components/chat-button/src/chat-button.ts"
2493
- }
2494
- },
2495
- {
2496
- "kind": "js",
2497
- "name": "default",
3735
+ "name": "WorkspaceManager",
2498
3736
  "declaration": {
2499
- "name": "CDSAIChatButton",
2500
- "module": "src/components/chat-button/src/chat-button.ts"
3737
+ "name": "WorkspaceManager",
3738
+ "module": "src/components/chat-shell/src/workspace-manager.ts"
2501
3739
  }
2502
3740
  }
2503
3741
  ]
@@ -3805,7 +5043,7 @@
3805
5043
  "declarations": [
3806
5044
  {
3807
5045
  "kind": "class",
3808
- "description": "",
5046
+ "description": "Feedback buttons component",
3809
5047
  "name": "CDSAIChatFeedbackButtons",
3810
5048
  "members": [
3811
5049
  {
@@ -4701,7 +5939,7 @@
4701
5939
  "declarations": [
4702
5940
  {
4703
5941
  "kind": "class",
4704
- "description": "",
5942
+ "description": "Markdown component",
4705
5943
  "name": "CDSAIChatMarkdown",
4706
5944
  "members": [
4707
5945
  {
@@ -5108,7 +6346,7 @@
5108
6346
  "declarations": [
5109
6347
  {
5110
6348
  "kind": "class",
5111
- "description": "",
6349
+ "description": "Processing component",
5112
6350
  "name": "CDSAIChatProcessing",
5113
6351
  "members": [
5114
6352
  {
@@ -5185,7 +6423,7 @@
5185
6423
  "declarations": [
5186
6424
  {
5187
6425
  "kind": "class",
5188
- "description": "",
6426
+ "description": "Reasoning step component",
5189
6427
  "name": "CDSAIChatReasoningStep",
5190
6428
  "members": [
5191
6429
  {
@@ -5440,7 +6678,7 @@
5440
6678
  "declarations": [
5441
6679
  {
5442
6680
  "kind": "class",
5443
- "description": "",
6681
+ "description": "Reasoning steps toggle component",
5444
6682
  "name": "CDSAIChatReasoningStepsToggle",
5445
6683
  "members": [
5446
6684
  {
@@ -5597,7 +6835,7 @@
5597
6835
  "declarations": [
5598
6836
  {
5599
6837
  "kind": "class",
5600
- "description": "",
6838
+ "description": "Reasoning steps container component",
5601
6839
  "name": "CDSAIChatReasoningSteps",
5602
6840
  "members": [
5603
6841
  {