@carbon/ai-chat-components 1.7.0 → 1.9.0-alpha.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 (640) hide show
  1. package/custom-elements.json +16062 -10795
  2. package/es/components/audio-player/src/audio-player.js +9 -10
  3. package/es/components/audio-player/src/audio-player.js.map +1 -1
  4. package/es/components/audio-player/src/providers/base-provider.js +0 -1
  5. package/es/components/audio-player/src/providers/base-provider.js.map +1 -1
  6. package/es/components/audio-player/src/providers/native-audio-provider.js +0 -1
  7. package/es/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
  8. package/es/components/audio-player/src/providers/soundcloud-provider.js +0 -1
  9. package/es/components/audio-player/src/providers/soundcloud-provider.js.map +1 -1
  10. package/es/components/audio-player/src/transcript.js +15 -15
  11. package/es/components/audio-player/src/transcript.js.map +1 -1
  12. package/es/components/audio-player/src/utils/url-detector.js +0 -1
  13. package/es/components/audio-player/src/utils/url-detector.js.map +1 -1
  14. package/es/components/autocomplete/index.d.ts +15 -0
  15. package/es/components/autocomplete/index.js +11 -0
  16. package/es/components/autocomplete/index.js.map +1 -0
  17. package/es/components/autocomplete/src/autocomplete-item-group.d.ts +44 -0
  18. package/es/components/autocomplete/src/autocomplete-item-group.js +139 -0
  19. package/es/components/autocomplete/src/autocomplete-item-group.js.map +1 -0
  20. package/es/components/autocomplete/src/autocomplete-item-group.scss.js +13 -0
  21. package/es/components/autocomplete/src/autocomplete-item-group.scss.js.map +1 -0
  22. package/es/components/autocomplete/src/autocomplete-item.d.ts +54 -0
  23. package/es/components/autocomplete/src/autocomplete-item.js +197 -0
  24. package/es/components/autocomplete/src/autocomplete-item.js.map +1 -0
  25. package/es/components/autocomplete/src/autocomplete-item.scss.js +13 -0
  26. package/es/components/autocomplete/src/autocomplete-item.scss.js.map +1 -0
  27. package/es/components/autocomplete/src/autocomplete.d.ts +97 -0
  28. package/es/components/autocomplete/src/autocomplete.js +321 -0
  29. package/es/components/autocomplete/src/autocomplete.js.map +1 -0
  30. package/es/components/autocomplete/src/autocomplete.scss.js +13 -0
  31. package/es/components/autocomplete/src/autocomplete.scss.js.map +1 -0
  32. package/es/components/card/src/card-footer.d.ts +1 -1
  33. package/es/components/card/src/card-footer.js +1 -1
  34. package/es/components/card/src/card-footer.js.map +1 -1
  35. package/es/components/card/src/card-footer.scss.js +1 -1
  36. package/es/components/card/src/card-steps.d.ts +1 -1
  37. package/es/components/card/src/card-steps.js +28 -28
  38. package/es/components/card/src/card-steps.js.map +1 -1
  39. package/es/components/card/src/card-steps.scss.js +1 -1
  40. package/es/components/card/src/card.scss.js +1 -1
  41. package/es/components/carousel/src/carousel.js +0 -1
  42. package/es/components/carousel/src/carousel.js.map +1 -1
  43. package/es/components/chain-of-thought/src/chain-of-thought-step.js +1 -1
  44. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  45. package/es/components/chain-of-thought/src/tool-call-data.js +4 -4
  46. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  47. package/es/components/chat-button/src/chat-button.d.ts +1 -1
  48. package/es/components/chat-button/src/chat-button.js +1 -1
  49. package/es/components/chat-button/src/chat-button.js.map +1 -1
  50. package/es/components/chat-button/src/chat-button.scss.js +1 -1
  51. package/es/components/chat-history/src/chat-history.scss.js +1 -1
  52. package/es/components/chat-history/src/history-content.js +2 -2
  53. package/es/components/chat-history/src/history-content.js.map +1 -1
  54. package/es/components/chat-history/src/history-header.js +8 -8
  55. package/es/components/chat-history/src/history-header.js.map +1 -1
  56. package/es/components/chat-history/src/history-panel-item-input.d.ts +19 -2
  57. package/es/components/chat-history/src/history-panel-item-input.js +69 -19
  58. package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
  59. package/es/components/chat-history/src/history-panel-item.d.ts +14 -0
  60. package/es/components/chat-history/src/history-panel-item.js +59 -27
  61. package/es/components/chat-history/src/history-panel-item.js.map +1 -1
  62. package/es/components/chat-history/src/history-toolbar.js +3 -3
  63. package/es/components/chat-history/src/history-toolbar.js.map +1 -1
  64. package/es/components/chat-shell/src/chat-header.js +15 -16
  65. package/es/components/chat-shell/src/chat-header.js.map +1 -1
  66. package/es/components/chat-shell/src/corner-manager.d.ts +1 -1
  67. package/es/components/chat-shell/src/corner-manager.js +1 -2
  68. package/es/components/chat-shell/src/corner-manager.js.map +1 -1
  69. package/es/components/chat-shell/src/initialization-manager.d.ts +1 -1
  70. package/es/components/chat-shell/src/initialization-manager.js +1 -2
  71. package/es/components/chat-shell/src/initialization-manager.js.map +1 -1
  72. package/es/components/chat-shell/src/resize-observer-manager.js +0 -1
  73. package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -1
  74. package/es/components/chat-shell/src/shell.d.ts +1 -1
  75. package/es/components/chat-shell/src/shell.js +3 -3
  76. package/es/components/chat-shell/src/shell.js.map +1 -1
  77. package/es/components/chat-shell/src/slot-observer.d.ts +1 -1
  78. package/es/components/chat-shell/src/slot-observer.js +1 -2
  79. package/es/components/chat-shell/src/slot-observer.js.map +1 -1
  80. package/es/components/chat-shell/src/types.d.ts +1 -1
  81. package/es/components/chat-shell/src/workspace-manager-utils.d.ts +1 -1
  82. package/es/components/chat-shell/src/workspace-manager-utils.js +1 -2
  83. package/es/components/chat-shell/src/workspace-manager-utils.js.map +1 -1
  84. package/es/components/chat-shell/src/workspace-manager.d.ts +1 -1
  85. package/es/components/chat-shell/src/workspace-manager.js +1 -2
  86. package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
  87. package/es/components/code-snippet/src/code-snippet.d.ts +23 -0
  88. package/es/components/code-snippet/src/code-snippet.js +111 -36
  89. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  90. package/es/components/code-snippet/src/code-snippet.scss.js +1 -1
  91. package/es/components/code-snippet/src/codemirror/diff-decorator.js +1 -1
  92. package/es/components/code-snippet/src/codemirror/diff-decorator.js.map +1 -1
  93. package/es/components/code-snippet/src/codemirror/theme.js +5 -0
  94. package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
  95. package/es/components/code-snippet/src/layout-utils.js +21 -8
  96. package/es/components/code-snippet/src/layout-utils.js.map +1 -1
  97. package/es/components/feedback/src/feedback-buttons.js +1 -1
  98. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  99. package/es/components/feedback/src/feedback.js +38 -38
  100. package/es/components/feedback/src/feedback.js.map +1 -1
  101. package/es/components/feedback/src/feedback.scss.js +1 -1
  102. package/es/components/file-uploads/index.d.ts +12 -0
  103. package/es/components/file-uploads/index.js +10 -0
  104. package/es/components/file-uploads/index.js.map +1 -0
  105. package/es/components/file-uploads/src/file-upload-item.d.ts +43 -0
  106. package/es/components/file-uploads/src/file-upload-item.js +267 -0
  107. package/es/components/file-uploads/src/file-upload-item.js.map +1 -0
  108. package/es/components/file-uploads/src/file-upload-item.scss.js +13 -0
  109. package/es/components/file-uploads/src/file-upload-item.scss.js.map +1 -0
  110. package/es/components/file-uploads/src/file-uploads.d.ts +87 -0
  111. package/es/components/file-uploads/src/file-uploads.js +213 -0
  112. package/es/components/file-uploads/src/file-uploads.js.map +1 -0
  113. package/es/components/file-uploads/src/file-uploads.scss.js +13 -0
  114. package/es/components/file-uploads/src/file-uploads.scss.js.map +1 -0
  115. package/es/components/markdown/index.d.ts +1 -0
  116. package/es/components/markdown/index.js +1 -0
  117. package/es/components/markdown/index.js.map +1 -1
  118. package/es/components/markdown/src/markdown-token-tree.d.ts +8 -0
  119. package/es/components/markdown/src/markdown-token-tree.js +12 -1
  120. package/es/components/markdown/src/markdown-token-tree.js.map +1 -1
  121. package/es/components/markdown/src/markdown.js +4 -0
  122. package/es/components/markdown/src/markdown.js.map +1 -1
  123. package/es/components/markdown/src/markdown.scss.js +1 -1
  124. package/es/components/markdown/src/utils/html-helpers.js.map +1 -1
  125. package/es/components/prompt-line/index.d.ts +26 -0
  126. package/es/components/prompt-line/index.js +32 -0
  127. package/es/components/prompt-line/index.js.map +1 -0
  128. package/es/components/prompt-line/src/autocomplete-controller.d.ts +178 -0
  129. package/es/components/prompt-line/src/autocomplete-controller.js +548 -0
  130. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -0
  131. package/es/components/prompt-line/src/error-message.d.ts +50 -0
  132. package/es/components/prompt-line/src/error-message.js +144 -0
  133. package/es/components/prompt-line/src/error-message.js.map +1 -0
  134. package/es/components/prompt-line/src/error-message.scss.js +13 -0
  135. package/es/components/prompt-line/src/error-message.scss.js.map +1 -0
  136. package/es/components/prompt-line/src/prompt-line-constants.d.ts +17 -0
  137. package/es/components/prompt-line/src/prompt-line-constants.js +27 -0
  138. package/es/components/prompt-line/src/prompt-line-constants.js.map +1 -0
  139. package/es/components/prompt-line/src/prompt-line-controller.d.ts +155 -0
  140. package/es/components/prompt-line/src/prompt-line-controller.js +394 -0
  141. package/es/components/prompt-line/src/prompt-line-controller.js.map +1 -0
  142. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +34 -0
  143. package/es/components/prompt-line/src/prompt-line-rich-loader.js +51 -0
  144. package/es/components/prompt-line/src/prompt-line-rich-loader.js.map +1 -0
  145. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +14 -0
  146. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +340 -0
  147. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -0
  148. package/es/components/prompt-line/src/prompt-line-shell.d.ts +72 -0
  149. package/es/components/prompt-line/src/prompt-line-shell.js +227 -0
  150. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -0
  151. package/es/components/prompt-line/src/prompt-line-shell.scss.js +13 -0
  152. package/es/components/prompt-line/src/prompt-line-shell.scss.js.map +1 -0
  153. package/es/components/prompt-line/src/prompt-line.d.ts +147 -0
  154. package/es/components/prompt-line/src/prompt-line.js +391 -0
  155. package/es/components/prompt-line/src/prompt-line.js.map +1 -0
  156. package/es/components/prompt-line/src/prompt-line.scss.js +13 -0
  157. package/es/components/prompt-line/src/prompt-line.scss.js.map +1 -0
  158. package/es/components/prompt-line/src/send-control.d.ts +46 -0
  159. package/es/components/prompt-line/src/send-control.js +138 -0
  160. package/es/components/prompt-line/src/send-control.js.map +1 -0
  161. package/es/components/prompt-line/src/send-control.scss.js +13 -0
  162. package/es/components/prompt-line/src/send-control.scss.js.map +1 -0
  163. package/es/components/prompt-line/src/stop-streaming-button.d.ts +42 -0
  164. package/es/components/prompt-line/src/stop-streaming-button.js +93 -0
  165. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -0
  166. package/es/components/prompt-line/src/stop-streaming-button.scss.js +13 -0
  167. package/es/components/prompt-line/src/stop-streaming-button.scss.js.map +1 -0
  168. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +30 -0
  169. package/es/components/prompt-line/src/tiptap/build-extensions.js +38 -0
  170. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -0
  171. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +21 -0
  172. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +127 -0
  173. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +1 -0
  174. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +19 -0
  175. package/es/components/prompt-line/src/tiptap/carbon-mention.js +237 -0
  176. package/es/components/prompt-line/src/tiptap/carbon-mention.js.map +1 -0
  177. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +22 -0
  178. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +64 -0
  179. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -0
  180. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +17 -0
  181. package/es/components/prompt-line/src/tiptap/chat-enter.js +46 -0
  182. package/es/components/prompt-line/src/tiptap/chat-enter.js.map +1 -0
  183. package/es/components/prompt-line/src/tiptap/editor-styles.d.ts +18 -0
  184. package/es/components/prompt-line/src/tiptap/editor-styles.js +83 -0
  185. package/es/components/prompt-line/src/tiptap/editor-styles.js.map +1 -0
  186. package/es/components/prompt-line/src/tiptap/index.d.ts +42 -0
  187. package/es/components/prompt-line/src/tiptap/index.js +43 -0
  188. package/es/components/prompt-line/src/tiptap/index.js.map +1 -0
  189. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +61 -0
  190. package/es/components/prompt-line/src/tiptap/json-utils.js +158 -0
  191. package/es/components/prompt-line/src/tiptap/json-utils.js.map +1 -0
  192. package/es/components/prompt-line/src/tiptap/keymap.d.ts +31 -0
  193. package/es/components/prompt-line/src/tiptap/keymap.js +59 -0
  194. package/es/components/prompt-line/src/tiptap/keymap.js.map +1 -0
  195. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +11 -0
  196. package/es/components/prompt-line/src/tiptap/origin-meta.js +33 -0
  197. package/es/components/prompt-line/src/tiptap/origin-meta.js.map +1 -0
  198. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +16 -0
  199. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +85 -0
  200. package/es/components/prompt-line/src/tiptap/plain-text-paste.js.map +1 -0
  201. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +87 -0
  202. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +41 -0
  203. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js.map +1 -0
  204. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +57 -0
  205. package/es/components/prompt-line/src/tiptap/render-token-chip.js +95 -0
  206. package/es/components/prompt-line/src/tiptap/render-token-chip.js.map +1 -0
  207. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +36 -0
  208. package/es/components/prompt-line/src/tiptap/token-node-view.js +41 -0
  209. package/es/components/prompt-line/src/tiptap/token-node-view.js.map +1 -0
  210. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +30 -0
  211. package/es/components/prompt-line/src/tiptap/trigger-utils.js +44 -0
  212. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -0
  213. package/es/components/prompt-line/src/tiptap/types.d.ts +161 -0
  214. package/es/components/prompt-line/src/tiptap/types.js +8 -0
  215. package/es/components/prompt-line/src/tiptap/types.js.map +1 -0
  216. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +30 -0
  217. package/es/components/prompt-line/src/tiptap/typing-indicator.js +104 -0
  218. package/es/components/prompt-line/src/tiptap/typing-indicator.js.map +1 -0
  219. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +25 -0
  220. package/es/components/prompt-line/src/tiptap/value-sync.js +65 -0
  221. package/es/components/prompt-line/src/tiptap/value-sync.js.map +1 -0
  222. package/es/components/prompt-line/src/types.d.ts +100 -0
  223. package/es/components/prompt-line/src/types.js +50 -0
  224. package/es/components/prompt-line/src/types.js.map +1 -0
  225. package/es/components/reasoning-steps/src/reasoning-step.d.ts +13 -0
  226. package/es/components/reasoning-steps/src/reasoning-step.js +38 -0
  227. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  228. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +23 -0
  229. package/es/components/reasoning-steps/src/reasoning-steps.js +56 -1
  230. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  231. package/es/components/shared/dynamic-css-var-sheet.js +4 -1
  232. package/es/components/shared/dynamic-css-var-sheet.js.map +1 -1
  233. package/es/components/shared/media-utils/script-loader.js +0 -1
  234. package/es/components/shared/media-utils/script-loader.js.map +1 -1
  235. package/es/components/table/src/table.scss.js +1 -1
  236. package/es/components/table/src/table.template.js +9 -9
  237. package/es/components/table/src/table.template.js.map +1 -1
  238. package/es/components/toolbar/src/toolbar.js +51 -53
  239. package/es/components/toolbar/src/toolbar.js.map +1 -1
  240. package/es/components/video-player/src/providers/base-provider.js +0 -1
  241. package/es/components/video-player/src/providers/base-provider.js.map +1 -1
  242. package/es/components/video-player/src/providers/kaltura-provider.js +0 -1
  243. package/es/components/video-player/src/providers/kaltura-provider.js.map +1 -1
  244. package/es/components/video-player/src/providers/native-video-provider.js +0 -1
  245. package/es/components/video-player/src/providers/native-video-provider.js.map +1 -1
  246. package/es/components/video-player/src/providers/vimeo-provider.js +0 -1
  247. package/es/components/video-player/src/providers/vimeo-provider.js.map +1 -1
  248. package/es/components/video-player/src/providers/youtube-provider.js +0 -1
  249. package/es/components/video-player/src/providers/youtube-provider.js.map +1 -1
  250. package/es/components/video-player/src/utils/url-detector.js +0 -1
  251. package/es/components/video-player/src/utils/url-detector.js.map +1 -1
  252. package/es/components/video-player/src/video-player.js +9 -10
  253. package/es/components/video-player/src/video-player.js.map +1 -1
  254. package/es/components/workspace-shell/src/header-collapsible-manager.js +0 -1
  255. package/es/components/workspace-shell/src/header-collapsible-manager.js.map +1 -1
  256. package/es/components/workspace-shell/src/workspace-shell-header.js +25 -25
  257. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  258. package/es/globals/utils/aria-announcer-manager.d.ts +62 -0
  259. package/es/globals/utils/aria-announcer-manager.js +125 -0
  260. package/es/globals/utils/aria-announcer-manager.js.map +1 -0
  261. package/es/globals/utils/browser-utils.d.ts +10 -0
  262. package/es/globals/utils/browser-utils.js +37 -0
  263. package/es/globals/utils/browser-utils.js.map +1 -0
  264. package/es/globals/utils/dom-utils.d.ts +6 -0
  265. package/es/globals/utils/dom-utils.js +39 -0
  266. package/es/globals/utils/dom-utils.js.map +1 -0
  267. package/{es-custom/react → es/globals}/utils/iconTransform.js +1 -2
  268. package/es/globals/utils/iconTransform.js.map +1 -0
  269. package/es/react/__tests__/jest.setup.js +1 -2
  270. package/es/react/__tests__/jest.setup.js.map +1 -1
  271. package/es/react/audio-player.js +0 -1
  272. package/es/react/audio-player.js.map +1 -1
  273. package/es/react/autocomplete.d.ts +11 -0
  274. package/es/react/autocomplete.js +36 -0
  275. package/es/react/autocomplete.js.map +1 -0
  276. package/es/react/chat-header.js +1 -1
  277. package/es/react/code-snippet.js +1 -1
  278. package/es/react/error-message.d.ts +11 -0
  279. package/es/react/error-message.js +28 -0
  280. package/es/react/error-message.js.map +1 -0
  281. package/es/react/file-uploads.d.ts +11 -0
  282. package/es/react/file-uploads.js +31 -0
  283. package/es/react/file-uploads.js.map +1 -0
  284. package/es/react/history/history-panel-item-input.js +1 -0
  285. package/es/react/history/history-panel-item-input.js.map +1 -1
  286. package/es/react/history/history-panel-item.js +1 -0
  287. package/es/react/history/history-panel-item.js.map +1 -1
  288. package/es/react/hooks/useChatAutocomplete.d.ts +41 -0
  289. package/es/react/hooks/useChatAutocomplete.js +178 -0
  290. package/es/react/hooks/useChatAutocomplete.js.map +1 -0
  291. package/es/react/input-send-control.d.ts +11 -0
  292. package/es/react/input-send-control.js +32 -0
  293. package/es/react/input-send-control.js.map +1 -0
  294. package/es/react/prompt-line-shell.d.ts +18 -0
  295. package/es/react/prompt-line-shell.js +36 -0
  296. package/es/react/prompt-line-shell.js.map +1 -0
  297. package/es/react/prompt-line.d.ts +25 -0
  298. package/es/react/prompt-line.js +52 -0
  299. package/es/react/prompt-line.js.map +1 -0
  300. package/es/react/stop-streaming-button.d.ts +11 -0
  301. package/es/react/stop-streaming-button.js +28 -0
  302. package/es/react/stop-streaming-button.js.map +1 -0
  303. package/es/react/toolbar.js +1 -1
  304. package/es/react/transcript.js +0 -1
  305. package/es/react/transcript.js.map +1 -1
  306. package/es/react/utils/transformSuggestionConfig.d.ts +21 -0
  307. package/es/react/utils/transformSuggestionConfig.js +67 -0
  308. package/es/react/utils/transformSuggestionConfig.js.map +1 -0
  309. package/es/react/video-player.js +0 -1
  310. package/es/react/video-player.js.map +1 -1
  311. package/es/testing/PageObjectId.js +1 -2
  312. package/es/testing/PageObjectId.js.map +1 -1
  313. package/es-custom/components/audio-player/src/audio-player.js +9 -10
  314. package/es-custom/components/audio-player/src/audio-player.js.map +1 -1
  315. package/es-custom/components/audio-player/src/providers/base-provider.js +0 -1
  316. package/es-custom/components/audio-player/src/providers/base-provider.js.map +1 -1
  317. package/es-custom/components/audio-player/src/providers/native-audio-provider.js +0 -1
  318. package/es-custom/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
  319. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +0 -1
  320. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js.map +1 -1
  321. package/es-custom/components/audio-player/src/transcript.js +15 -15
  322. package/es-custom/components/audio-player/src/transcript.js.map +1 -1
  323. package/es-custom/components/audio-player/src/utils/url-detector.js +0 -1
  324. package/es-custom/components/audio-player/src/utils/url-detector.js.map +1 -1
  325. package/es-custom/components/autocomplete/index.d.ts +15 -0
  326. package/es-custom/components/autocomplete/index.js +11 -0
  327. package/es-custom/components/autocomplete/index.js.map +1 -0
  328. package/es-custom/components/autocomplete/src/autocomplete-item-group.d.ts +44 -0
  329. package/es-custom/components/autocomplete/src/autocomplete-item-group.js +139 -0
  330. package/es-custom/components/autocomplete/src/autocomplete-item-group.js.map +1 -0
  331. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js +13 -0
  332. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js.map +1 -0
  333. package/es-custom/components/autocomplete/src/autocomplete-item.d.ts +54 -0
  334. package/es-custom/components/autocomplete/src/autocomplete-item.js +197 -0
  335. package/es-custom/components/autocomplete/src/autocomplete-item.js.map +1 -0
  336. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js +13 -0
  337. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js.map +1 -0
  338. package/es-custom/components/autocomplete/src/autocomplete.d.ts +97 -0
  339. package/es-custom/components/autocomplete/src/autocomplete.js +321 -0
  340. package/es-custom/components/autocomplete/src/autocomplete.js.map +1 -0
  341. package/es-custom/components/autocomplete/src/autocomplete.scss.js +13 -0
  342. package/es-custom/components/autocomplete/src/autocomplete.scss.js.map +1 -0
  343. package/es-custom/components/card/src/card-footer.d.ts +1 -1
  344. package/es-custom/components/card/src/card-footer.js +1 -1
  345. package/es-custom/components/card/src/card-footer.js.map +1 -1
  346. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  347. package/es-custom/components/card/src/card-steps.d.ts +1 -1
  348. package/es-custom/components/card/src/card-steps.js +28 -28
  349. package/es-custom/components/card/src/card-steps.js.map +1 -1
  350. package/es-custom/components/card/src/card-steps.scss.js +1 -1
  351. package/es-custom/components/card/src/card.scss.js +1 -1
  352. package/es-custom/components/carousel/src/carousel.js +0 -1
  353. package/es-custom/components/carousel/src/carousel.js.map +1 -1
  354. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +1 -1
  355. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  356. package/es-custom/components/chain-of-thought/src/tool-call-data.js +4 -4
  357. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  358. package/es-custom/components/chat-button/src/chat-button.d.ts +1 -1
  359. package/es-custom/components/chat-button/src/chat-button.js +1 -1
  360. package/es-custom/components/chat-button/src/chat-button.js.map +1 -1
  361. package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
  362. package/es-custom/components/chat-history/src/chat-history.scss.js +1 -1
  363. package/es-custom/components/chat-history/src/history-content.js +2 -2
  364. package/es-custom/components/chat-history/src/history-content.js.map +1 -1
  365. package/es-custom/components/chat-history/src/history-header.js +8 -8
  366. package/es-custom/components/chat-history/src/history-header.js.map +1 -1
  367. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +19 -2
  368. package/es-custom/components/chat-history/src/history-panel-item-input.js +69 -19
  369. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +1 -1
  370. package/es-custom/components/chat-history/src/history-panel-item.d.ts +14 -0
  371. package/es-custom/components/chat-history/src/history-panel-item.js +59 -27
  372. package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
  373. package/es-custom/components/chat-history/src/history-toolbar.js +3 -3
  374. package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
  375. package/es-custom/components/chat-shell/src/chat-header.js +15 -16
  376. package/es-custom/components/chat-shell/src/chat-header.js.map +1 -1
  377. package/es-custom/components/chat-shell/src/corner-manager.d.ts +1 -1
  378. package/es-custom/components/chat-shell/src/corner-manager.js +1 -2
  379. package/es-custom/components/chat-shell/src/corner-manager.js.map +1 -1
  380. package/es-custom/components/chat-shell/src/initialization-manager.d.ts +1 -1
  381. package/es-custom/components/chat-shell/src/initialization-manager.js +1 -2
  382. package/es-custom/components/chat-shell/src/initialization-manager.js.map +1 -1
  383. package/es-custom/components/chat-shell/src/resize-observer-manager.js +0 -1
  384. package/es-custom/components/chat-shell/src/resize-observer-manager.js.map +1 -1
  385. package/es-custom/components/chat-shell/src/shell.d.ts +1 -1
  386. package/es-custom/components/chat-shell/src/shell.js +3 -3
  387. package/es-custom/components/chat-shell/src/shell.js.map +1 -1
  388. package/es-custom/components/chat-shell/src/slot-observer.d.ts +1 -1
  389. package/es-custom/components/chat-shell/src/slot-observer.js +1 -2
  390. package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
  391. package/es-custom/components/chat-shell/src/types.d.ts +1 -1
  392. package/es-custom/components/chat-shell/src/workspace-manager-utils.d.ts +1 -1
  393. package/es-custom/components/chat-shell/src/workspace-manager-utils.js +1 -2
  394. package/es-custom/components/chat-shell/src/workspace-manager-utils.js.map +1 -1
  395. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
  396. package/es-custom/components/chat-shell/src/workspace-manager.js +1 -2
  397. package/es-custom/components/chat-shell/src/workspace-manager.js.map +1 -1
  398. package/es-custom/components/code-snippet/src/code-snippet.d.ts +23 -0
  399. package/es-custom/components/code-snippet/src/code-snippet.js +111 -36
  400. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  401. package/es-custom/components/code-snippet/src/code-snippet.scss.js +1 -1
  402. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +1 -1
  403. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js.map +1 -1
  404. package/es-custom/components/code-snippet/src/codemirror/theme.js +5 -0
  405. package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -1
  406. package/es-custom/components/code-snippet/src/layout-utils.js +21 -8
  407. package/es-custom/components/code-snippet/src/layout-utils.js.map +1 -1
  408. package/es-custom/components/feedback/src/feedback-buttons.js +1 -1
  409. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  410. package/es-custom/components/feedback/src/feedback.js +38 -38
  411. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  412. package/es-custom/components/feedback/src/feedback.scss.js +1 -1
  413. package/es-custom/components/file-uploads/index.d.ts +12 -0
  414. package/es-custom/components/file-uploads/index.js +10 -0
  415. package/es-custom/components/file-uploads/index.js.map +1 -0
  416. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +43 -0
  417. package/es-custom/components/file-uploads/src/file-upload-item.js +267 -0
  418. package/es-custom/components/file-uploads/src/file-upload-item.js.map +1 -0
  419. package/es-custom/components/file-uploads/src/file-upload-item.scss.js +13 -0
  420. package/es-custom/components/file-uploads/src/file-upload-item.scss.js.map +1 -0
  421. package/es-custom/components/file-uploads/src/file-uploads.d.ts +87 -0
  422. package/es-custom/components/file-uploads/src/file-uploads.js +213 -0
  423. package/es-custom/components/file-uploads/src/file-uploads.js.map +1 -0
  424. package/es-custom/components/file-uploads/src/file-uploads.scss.js +13 -0
  425. package/es-custom/components/file-uploads/src/file-uploads.scss.js.map +1 -0
  426. package/es-custom/components/markdown/index.d.ts +1 -0
  427. package/es-custom/components/markdown/index.js +1 -0
  428. package/es-custom/components/markdown/index.js.map +1 -1
  429. package/es-custom/components/markdown/src/markdown-token-tree.d.ts +8 -0
  430. package/es-custom/components/markdown/src/markdown-token-tree.js +12 -1
  431. package/es-custom/components/markdown/src/markdown-token-tree.js.map +1 -1
  432. package/es-custom/components/markdown/src/markdown.js +4 -0
  433. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  434. package/es-custom/components/markdown/src/markdown.scss.js +1 -1
  435. package/es-custom/components/markdown/src/utils/html-helpers.js.map +1 -1
  436. package/es-custom/components/prompt-line/index.d.ts +26 -0
  437. package/es-custom/components/prompt-line/index.js +32 -0
  438. package/es-custom/components/prompt-line/index.js.map +1 -0
  439. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +178 -0
  440. package/es-custom/components/prompt-line/src/autocomplete-controller.js +548 -0
  441. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +1 -0
  442. package/es-custom/components/prompt-line/src/error-message.d.ts +50 -0
  443. package/es-custom/components/prompt-line/src/error-message.js +144 -0
  444. package/es-custom/components/prompt-line/src/error-message.js.map +1 -0
  445. package/es-custom/components/prompt-line/src/error-message.scss.js +13 -0
  446. package/es-custom/components/prompt-line/src/error-message.scss.js.map +1 -0
  447. package/es-custom/components/prompt-line/src/prompt-line-constants.d.ts +17 -0
  448. package/es-custom/components/prompt-line/src/prompt-line-constants.js +27 -0
  449. package/es-custom/components/prompt-line/src/prompt-line-constants.js.map +1 -0
  450. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +155 -0
  451. package/es-custom/components/prompt-line/src/prompt-line-controller.js +394 -0
  452. package/es-custom/components/prompt-line/src/prompt-line-controller.js.map +1 -0
  453. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.d.ts +34 -0
  454. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js +51 -0
  455. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js.map +1 -0
  456. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.d.ts +14 -0
  457. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +340 -0
  458. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -0
  459. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +72 -0
  460. package/es-custom/components/prompt-line/src/prompt-line-shell.js +227 -0
  461. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +1 -0
  462. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +13 -0
  463. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js.map +1 -0
  464. package/es-custom/components/prompt-line/src/prompt-line.d.ts +147 -0
  465. package/es-custom/components/prompt-line/src/prompt-line.js +391 -0
  466. package/es-custom/components/prompt-line/src/prompt-line.js.map +1 -0
  467. package/es-custom/components/prompt-line/src/prompt-line.scss.js +13 -0
  468. package/es-custom/components/prompt-line/src/prompt-line.scss.js.map +1 -0
  469. package/es-custom/components/prompt-line/src/send-control.d.ts +46 -0
  470. package/es-custom/components/prompt-line/src/send-control.js +138 -0
  471. package/es-custom/components/prompt-line/src/send-control.js.map +1 -0
  472. package/es-custom/components/prompt-line/src/send-control.scss.js +13 -0
  473. package/es-custom/components/prompt-line/src/send-control.scss.js.map +1 -0
  474. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +42 -0
  475. package/es-custom/components/prompt-line/src/stop-streaming-button.js +93 -0
  476. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +1 -0
  477. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js +13 -0
  478. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js.map +1 -0
  479. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +30 -0
  480. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js +38 -0
  481. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +1 -0
  482. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +21 -0
  483. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +127 -0
  484. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +1 -0
  485. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.d.ts +19 -0
  486. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js +237 -0
  487. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js.map +1 -0
  488. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +22 -0
  489. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +64 -0
  490. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -0
  491. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +17 -0
  492. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +46 -0
  493. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js.map +1 -0
  494. package/es-custom/components/prompt-line/src/tiptap/editor-styles.d.ts +18 -0
  495. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +83 -0
  496. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js.map +1 -0
  497. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +42 -0
  498. package/es-custom/components/prompt-line/src/tiptap/index.js +43 -0
  499. package/es-custom/components/prompt-line/src/tiptap/index.js.map +1 -0
  500. package/es-custom/components/prompt-line/src/tiptap/json-utils.d.ts +61 -0
  501. package/es-custom/components/prompt-line/src/tiptap/json-utils.js +158 -0
  502. package/es-custom/components/prompt-line/src/tiptap/json-utils.js.map +1 -0
  503. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +31 -0
  504. package/es-custom/components/prompt-line/src/tiptap/keymap.js +59 -0
  505. package/es-custom/components/prompt-line/src/tiptap/keymap.js.map +1 -0
  506. package/es-custom/components/prompt-line/src/tiptap/origin-meta.d.ts +11 -0
  507. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js +33 -0
  508. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js.map +1 -0
  509. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.d.ts +16 -0
  510. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js +85 -0
  511. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js.map +1 -0
  512. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +87 -0
  513. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +41 -0
  514. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js.map +1 -0
  515. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.d.ts +57 -0
  516. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +95 -0
  517. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js.map +1 -0
  518. package/es-custom/components/prompt-line/src/tiptap/token-node-view.d.ts +36 -0
  519. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js +41 -0
  520. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js.map +1 -0
  521. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +30 -0
  522. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +44 -0
  523. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -0
  524. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +161 -0
  525. package/es-custom/components/prompt-line/src/tiptap/types.js +8 -0
  526. package/es-custom/components/prompt-line/src/tiptap/types.js.map +1 -0
  527. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +30 -0
  528. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +104 -0
  529. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js.map +1 -0
  530. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +25 -0
  531. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +65 -0
  532. package/es-custom/components/prompt-line/src/tiptap/value-sync.js.map +1 -0
  533. package/es-custom/components/prompt-line/src/types.d.ts +100 -0
  534. package/es-custom/components/prompt-line/src/types.js +50 -0
  535. package/es-custom/components/prompt-line/src/types.js.map +1 -0
  536. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +13 -0
  537. package/es-custom/components/reasoning-steps/src/reasoning-step.js +38 -0
  538. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  539. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +23 -0
  540. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +56 -1
  541. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  542. package/es-custom/components/shared/dynamic-css-var-sheet.js +4 -1
  543. package/es-custom/components/shared/dynamic-css-var-sheet.js.map +1 -1
  544. package/es-custom/components/shared/media-utils/script-loader.js +0 -1
  545. package/es-custom/components/shared/media-utils/script-loader.js.map +1 -1
  546. package/es-custom/components/table/src/table.scss.js +1 -1
  547. package/es-custom/components/table/src/table.template.js +9 -9
  548. package/es-custom/components/table/src/table.template.js.map +1 -1
  549. package/es-custom/components/toolbar/src/toolbar.js +51 -53
  550. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  551. package/es-custom/components/video-player/src/providers/base-provider.js +0 -1
  552. package/es-custom/components/video-player/src/providers/base-provider.js.map +1 -1
  553. package/es-custom/components/video-player/src/providers/kaltura-provider.js +0 -1
  554. package/es-custom/components/video-player/src/providers/kaltura-provider.js.map +1 -1
  555. package/es-custom/components/video-player/src/providers/native-video-provider.js +0 -1
  556. package/es-custom/components/video-player/src/providers/native-video-provider.js.map +1 -1
  557. package/es-custom/components/video-player/src/providers/vimeo-provider.js +0 -1
  558. package/es-custom/components/video-player/src/providers/vimeo-provider.js.map +1 -1
  559. package/es-custom/components/video-player/src/providers/youtube-provider.js +0 -1
  560. package/es-custom/components/video-player/src/providers/youtube-provider.js.map +1 -1
  561. package/es-custom/components/video-player/src/utils/url-detector.js +0 -1
  562. package/es-custom/components/video-player/src/utils/url-detector.js.map +1 -1
  563. package/es-custom/components/video-player/src/video-player.js +9 -10
  564. package/es-custom/components/video-player/src/video-player.js.map +1 -1
  565. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +0 -1
  566. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js.map +1 -1
  567. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +25 -25
  568. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  569. package/es-custom/globals/utils/aria-announcer-manager.d.ts +62 -0
  570. package/es-custom/globals/utils/aria-announcer-manager.js +125 -0
  571. package/es-custom/globals/utils/aria-announcer-manager.js.map +1 -0
  572. package/es-custom/globals/utils/browser-utils.d.ts +10 -0
  573. package/es-custom/globals/utils/browser-utils.js +37 -0
  574. package/es-custom/globals/utils/browser-utils.js.map +1 -0
  575. package/es-custom/globals/utils/dom-utils.d.ts +6 -0
  576. package/es-custom/globals/utils/dom-utils.js +39 -0
  577. package/es-custom/globals/utils/dom-utils.js.map +1 -0
  578. package/{es/react → es-custom/globals}/utils/iconTransform.js +1 -2
  579. package/es-custom/globals/utils/iconTransform.js.map +1 -0
  580. package/es-custom/react/__tests__/jest.setup.js +1 -2
  581. package/es-custom/react/__tests__/jest.setup.js.map +1 -1
  582. package/es-custom/react/audio-player.js +0 -1
  583. package/es-custom/react/audio-player.js.map +1 -1
  584. package/es-custom/react/autocomplete.d.ts +11 -0
  585. package/es-custom/react/autocomplete.js +36 -0
  586. package/es-custom/react/autocomplete.js.map +1 -0
  587. package/es-custom/react/chat-header.js +1 -1
  588. package/es-custom/react/code-snippet.js +1 -1
  589. package/es-custom/react/error-message.d.ts +11 -0
  590. package/es-custom/react/error-message.js +28 -0
  591. package/es-custom/react/error-message.js.map +1 -0
  592. package/es-custom/react/file-uploads.d.ts +11 -0
  593. package/es-custom/react/file-uploads.js +31 -0
  594. package/es-custom/react/file-uploads.js.map +1 -0
  595. package/es-custom/react/history/history-panel-item-input.js +1 -0
  596. package/es-custom/react/history/history-panel-item-input.js.map +1 -1
  597. package/es-custom/react/history/history-panel-item.js +1 -0
  598. package/es-custom/react/history/history-panel-item.js.map +1 -1
  599. package/es-custom/react/hooks/useChatAutocomplete.d.ts +41 -0
  600. package/es-custom/react/hooks/useChatAutocomplete.js +178 -0
  601. package/es-custom/react/hooks/useChatAutocomplete.js.map +1 -0
  602. package/es-custom/react/input-send-control.d.ts +11 -0
  603. package/es-custom/react/input-send-control.js +32 -0
  604. package/es-custom/react/input-send-control.js.map +1 -0
  605. package/es-custom/react/prompt-line-shell.d.ts +18 -0
  606. package/es-custom/react/prompt-line-shell.js +36 -0
  607. package/es-custom/react/prompt-line-shell.js.map +1 -0
  608. package/es-custom/react/prompt-line.d.ts +25 -0
  609. package/es-custom/react/prompt-line.js +52 -0
  610. package/es-custom/react/prompt-line.js.map +1 -0
  611. package/es-custom/react/stop-streaming-button.d.ts +11 -0
  612. package/es-custom/react/stop-streaming-button.js +28 -0
  613. package/es-custom/react/stop-streaming-button.js.map +1 -0
  614. package/es-custom/react/toolbar.js +1 -1
  615. package/es-custom/react/transcript.js +0 -1
  616. package/es-custom/react/transcript.js.map +1 -1
  617. package/es-custom/react/utils/transformSuggestionConfig.d.ts +21 -0
  618. package/es-custom/react/utils/transformSuggestionConfig.js +67 -0
  619. package/es-custom/react/utils/transformSuggestionConfig.js.map +1 -0
  620. package/es-custom/react/video-player.js +0 -1
  621. package/es-custom/react/video-player.js.map +1 -1
  622. package/es-custom/testing/PageObjectId.js +1 -2
  623. package/es-custom/testing/PageObjectId.js.map +1 -1
  624. package/package.json +27 -6
  625. package/scss/_custom-properties.scss +1 -3
  626. package/scss/_modifiers.scss +17 -49
  627. package/scss/_tokens-component.scss +1 -3
  628. package/scss/_tokens-layout.scss +1 -3
  629. package/scss/_utilities.scss +1 -3
  630. package/LICENSE +0 -201
  631. package/es/components/chat-shell/src/aria-announcer-manager.d.ts +0 -40
  632. package/es/components/chat-shell/src/aria-announcer-manager.js +0 -104
  633. package/es/components/chat-shell/src/aria-announcer-manager.js.map +0 -1
  634. package/es/react/utils/iconTransform.js.map +0 -1
  635. package/es-custom/components/chat-shell/src/aria-announcer-manager.d.ts +0 -40
  636. package/es-custom/components/chat-shell/src/aria-announcer-manager.js +0 -104
  637. package/es-custom/components/chat-shell/src/aria-announcer-manager.js.map +0 -1
  638. package/es-custom/react/utils/iconTransform.js.map +0 -1
  639. /package/es/{react → globals}/utils/iconTransform.d.ts +0 -0
  640. /package/es-custom/{react → globals}/utils/iconTransform.d.ts +0 -0
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { unsafeCSS, css, LitElement, html } from 'lit';
10
+ import { property, state } from 'lit/decorators.js';
11
+ import '@carbon/web-components/es/components/icon-button/index.js';
12
+ import { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';
13
+ import WarningFilled16 from '@carbon/icons/es/warning--filled/16.js';
14
+ import ChevronDown16 from '@carbon/icons/es/chevron--down/16.js';
15
+ import ChevronUp16 from '@carbon/icons/es/chevron--up/16.js';
16
+ import { carbonElement } from '../../../globals/decorators/carbon-element.js';
17
+ import prefix from '../../../globals/settings.js';
18
+ import styles from './error-message.scss.js';
19
+
20
+ /**
21
+ * @license
22
+ *
23
+ * Copyright IBM Corp. 2026
24
+ *
25
+ * This source code is licensed under the Apache-2.0 license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */
28
+ const blockClass = `${prefix}-error-message`;
29
+ /**
30
+ * Error message component for AI Chat prompt line.
31
+ *
32
+ * @element cds-aichat-error-message
33
+ */
34
+ let ErrorMessage = class ErrorMessage extends LitElement {
35
+ constructor() {
36
+ super(...arguments);
37
+ /**
38
+ * The error title text to display.
39
+ */
40
+ this.title = "";
41
+ /**
42
+ * The error description text to display.
43
+ */
44
+ this.description = "";
45
+ /**
46
+ * Whether the error message is collapsible.
47
+ */
48
+ this.collapsible = false;
49
+ /**
50
+ * Whether the prompt line has alternate layout for expanded mode and/or message actions.
51
+ */
52
+ this.actionsLayout = false;
53
+ /**
54
+ * Whether the error message is in fullscreen layout.
55
+ */
56
+ this.fullscreen = false;
57
+ /**
58
+ * Whether the error message is currently expanded.
59
+ * @internal
60
+ */
61
+ this._isExpanded = true;
62
+ }
63
+ updated(changedProps) {
64
+ super.updated(changedProps);
65
+ if (changedProps.has("collapsible")) {
66
+ this._isExpanded = !this.collapsible;
67
+ }
68
+ }
69
+ /**
70
+ * Toggles the expanded state to show more or less of the error message.
71
+ */
72
+ _handleClickExpanded() {
73
+ this._isExpanded = !this._isExpanded;
74
+ }
75
+ render() {
76
+ const warningIcon = html `<span class="${blockClass}__warning-icon">
77
+ ${iconLoader(WarningFilled16)}
78
+ </span>`;
79
+ const hasChevron = this.collapsible && this.description;
80
+ let expandButton = null;
81
+ if (hasChevron) {
82
+ const icon = this._isExpanded ? ChevronUp16 : ChevronDown16;
83
+ const label = `${this._isExpanded ? "Collapse" : "Expand"} error message`;
84
+ expandButton = html `<cds-icon-button
85
+ class="${blockClass}__chevron"
86
+ kind="ghost"
87
+ size="sm"
88
+ align="top-end"
89
+ aria-label="${label}"
90
+ @click="${this._handleClickExpanded}"
91
+ >
92
+ ${iconLoader(icon, { slot: "icon", focusable: "true", tabindex: "-1" })}
93
+ <span slot="tooltip-content">${label}</span>
94
+ </cds-icon-button>`;
95
+ }
96
+ return html `
97
+ <div class="${blockClass}">
98
+ <div
99
+ class="${blockClass}__warning-icon-and-text${!hasChevron
100
+ ? ` ${blockClass}__warning-icon-and-text--no-chevron`
101
+ : ""}"
102
+ >
103
+ ${this.fullscreen ? null : warningIcon}
104
+ <div
105
+ class="${blockClass}__text${this._isExpanded ? ` ${blockClass}__text--expanded` : ""}"
106
+ >
107
+ ${this.title}<br />
108
+ ${this._isExpanded ? this.description : ""}
109
+ </div>
110
+ ${this.fullscreen ? warningIcon : null}
111
+ </div>
112
+ ${expandButton}
113
+ </div>
114
+ `;
115
+ }
116
+ };
117
+ ErrorMessage.styles = css `
118
+ ${unsafeCSS(styles)}
119
+ `;
120
+ __decorate([
121
+ property({ type: String, attribute: "title" })
122
+ ], ErrorMessage.prototype, "title", void 0);
123
+ __decorate([
124
+ property({ type: String, attribute: "description" })
125
+ ], ErrorMessage.prototype, "description", void 0);
126
+ __decorate([
127
+ property({ type: Boolean, attribute: "collapsible" })
128
+ ], ErrorMessage.prototype, "collapsible", void 0);
129
+ __decorate([
130
+ property({ type: Boolean, reflect: true, attribute: "actions-layout" })
131
+ ], ErrorMessage.prototype, "actionsLayout", void 0);
132
+ __decorate([
133
+ property({ type: Boolean, attribute: "fullscreen" })
134
+ ], ErrorMessage.prototype, "fullscreen", void 0);
135
+ __decorate([
136
+ state()
137
+ ], ErrorMessage.prototype, "_isExpanded", void 0);
138
+ ErrorMessage = __decorate([
139
+ carbonElement(`${prefix}-error-message`)
140
+ ], ErrorMessage);
141
+ var ErrorMessage$1 = ErrorMessage;
142
+
143
+ export { ErrorMessage$1 as default };
144
+ //# sourceMappingURL=error-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-message.js","sources":["../../../../src/components/prompt-line/src/error-message.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css([".cds-aichat-error-message{align-items:flex-start;box-sizing:border-box;display:flex;gap:.5rem;inline-size:100%;position:relative}.cds-aichat-error-message:after{background:var(--cds-border-subtle-00,#e0e0e0);block-size:1px;content:\"\";display:block;inline-size:calc(100% + 1.5rem);inset-block-end:0;inset-inline-start:-1rem;position:absolute;z-index:-1}:host([actions-layout]) .cds-aichat-error-message{padding-inline-start:.5rem}:host([actions-layout]) .cds-aichat-error-message:after{inline-size:calc(100% + 1rem);inset-inline-start:-.5rem}.cds-aichat-error-message__warning-icon-and-text{align-items:flex-start;display:flex;flex:1;gap:1rem;margin-block-start:.75rem}.cds-aichat-error-message__warning-icon-and-text--no-chevron{margin-inline-end:.5rem}:host([fullscreen]).cds-aichat-error-message__warning-icon-and-text--no-chevron{margin-inline-end:1rem}.cds-aichat-error-message__warning-icon{align-items:center;display:flex}.cds-aichat-error-message__warning-icon svg{fill:var(--cds-support-error,#da1e28)}.cds-aichat-error-message__text{color:var(--cds-support-error,#da1e28);flex:1;font-size:var(--cds-helper-text-01-font-size,.75rem);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);line-height:var(--cds-helper-text-01-line-height,1.33333);max-block-size:1rem;overflow:hidden;padding-block-end:.75rem;text-overflow:ellipsis;white-space:nowrap}.cds-aichat-error-message__text--expanded{max-block-size:5rem;overflow-y:auto;text-overflow:clip;white-space:normal}.cds-aichat-error-message__chevron{margin-block:.25rem}.cds-aichat-error-message__chevron svg{fill:var(--cds-icon-primary,#161616);pointer-events:none}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=error-message.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-message.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2026
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ /**
10
+ * Max block size the prompt line grows to before it caps and shows a vertical
11
+ * scrollbar. Shared by both editing surfaces — the lite `<textarea>`
12
+ * ([./prompt-line-controller.ts]) and the rich Tiptap content node
13
+ * ([./tiptap/editor-styles.ts]) — so the two modes cap at the same height and
14
+ * the textarea→rich swap stays imperceptible. Keep them reading this one
15
+ * constant so they can't drift.
16
+ */
17
+ export declare const PROMPT_LINE_MAX_BLOCK_SIZE = "157px";
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ /**
9
+ * @license
10
+ *
11
+ * Copyright IBM Corp. 2026
12
+ *
13
+ * This source code is licensed under the Apache-2.0 license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+ /**
17
+ * Max block size the prompt line grows to before it caps and shows a vertical
18
+ * scrollbar. Shared by both editing surfaces — the lite `<textarea>`
19
+ * ([./prompt-line-controller.ts]) and the rich Tiptap content node
20
+ * ([./tiptap/editor-styles.ts]) — so the two modes cap at the same height and
21
+ * the textarea→rich swap stays imperceptible. Keep them reading this one
22
+ * constant so they can't drift.
23
+ */
24
+ const PROMPT_LINE_MAX_BLOCK_SIZE = "157px";
25
+
26
+ export { PROMPT_LINE_MAX_BLOCK_SIZE };
27
+ //# sourceMappingURL=prompt-line-constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt-line-constants.js","sources":["../../../../src/components/prompt-line/src/prompt-line-constants.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACI,MAAM,0BAA0B,GAAG;;;;"}
@@ -0,0 +1,155 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2026
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ /**
10
+ * Editing-surface controller abstraction for `<cds-aichat-prompt-line>`.
11
+ *
12
+ * The prompt-line shell ([./prompt-line.ts]) delegates all editing behavior to
13
+ * a `PromptLineController`. Two implementations exist:
14
+ *
15
+ * - `TextareaController` (this file) — a Tiptap-free `<textarea>`. It is the
16
+ * default and keeps the shell's static import graph free of `@tiptap/*`.
17
+ * - The rich controller ([./prompt-line-rich-runtime.ts]) — a Tiptap `Editor`,
18
+ * reached only through a dynamic `import()` so Tiptap lands in its own lazy
19
+ * chunk.
20
+ *
21
+ * Both controllers emit the **same** `cds-aichat-prompt-*` events with the
22
+ * same detail shapes, so the React wrapper and `@carbon/ai-chat`'s `Input`
23
+ * handlers are identical regardless of mode. The shell can swap a
24
+ * `TextareaController` for the rich controller in place (text, caret, and
25
+ * focus transfer losslessly because the textarea holds plain text).
26
+ *
27
+ * `Editor` / `JSONContent` are **type-only** imports here — erased at compile,
28
+ * so this module carries no Tiptap runtime.
29
+ */
30
+ import type { Editor, Extension, JSONContent } from "@tiptap/core";
31
+ /** Updater shape accepted by `setContent` for reduce-style edits. */
32
+ export type SetContentUpdater = (prev: JSONContent) => JSONContent;
33
+ /** Initial state handed to a controller when it mounts into the host. */
34
+ export interface PromptLineControllerInit {
35
+ /**
36
+ * Plain-text seed value. Always the textarea's source of truth and the
37
+ * lossless seed used when the rich editor mounts without richer `content`.
38
+ */
39
+ value: string;
40
+ /**
41
+ * Optional structured seed (a `content` prop carrying mentions / custom
42
+ * nodes). Consumed by the rich controller; the textarea ignores it and
43
+ * relies on `value`.
44
+ */
45
+ content?: JSONContent | string;
46
+ placeholder: string;
47
+ /** When `true`, the surface is non-editable (still focusable). */
48
+ disabled: boolean;
49
+ ariaLabel: string;
50
+ testId: string;
51
+ /**
52
+ * Host-supplied Tiptap extensions. Consumed by the rich controller; ignored
53
+ * by the textarea controller.
54
+ */
55
+ extensions?: Extension[];
56
+ }
57
+ /**
58
+ * The surface the shell drives. Both the textarea and the rich editor satisfy
59
+ * it, so the shell never branches on mode beyond construction.
60
+ */
61
+ export interface PromptLineController {
62
+ /** Mount the editing surface into the (already-slotted) light-DOM host. */
63
+ mount(host: HTMLElement, init: PromptLineControllerInit): void;
64
+ /** Tear down listeners / editor and remove the surface from the host. */
65
+ destroy(): void;
66
+ /** Current plain-text value (the lossless transfer + change payload). */
67
+ getValue(): string;
68
+ setContent(next: JSONContent | string | SetContentUpdater): void;
69
+ insertContent(content: JSONContent | string, opts?: {
70
+ at?: number;
71
+ }): void;
72
+ clearContent(): void;
73
+ /** Live Tiptap editor, or `null` in textarea mode. */
74
+ getEditor(): Editor | null;
75
+ focus(): void;
76
+ blur(): void;
77
+ hasFocus(): boolean;
78
+ /** Selection as plain-text offsets (used for seamless transfer). */
79
+ getSelection(): {
80
+ from: number;
81
+ to: number;
82
+ };
83
+ setTextSelection(pos: number | {
84
+ from: number;
85
+ to: number;
86
+ }): void;
87
+ selectAll(): void;
88
+ setEditable(editable: boolean): void;
89
+ setPlaceholder(placeholder: string): void;
90
+ setAriaLabel(ariaLabel: string): void;
91
+ setTestId(testId: string): void;
92
+ /**
93
+ * Apply a new host-extension list. Rich mode recreates the editor preserving
94
+ * content/selection/focus; textarea mode ignores it.
95
+ */
96
+ setExtensions(extensions: Extension[]): void;
97
+ undo(): boolean;
98
+ redo(): boolean;
99
+ }
100
+ /**
101
+ * `<textarea>`-backed controller. Tiptap-free; emits the same prompt events as
102
+ * the rich editor. Auto-grows via a hidden mirror, capped at
103
+ * `PROMPT_LINE_MAX_BLOCK_SIZE` with the field scrolling past it — the same cap
104
+ * the rich contenteditable applies (see ./tiptap/editor-styles.ts), so the
105
+ * textarea→rich swap is imperceptible.
106
+ */
107
+ export declare class TextareaController implements PromptLineController {
108
+ private _wrap;
109
+ private _textarea;
110
+ private _mirror;
111
+ private _host;
112
+ private _focusFromMouse;
113
+ private _isTyping;
114
+ private _typingTimer;
115
+ mount(host: HTMLElement, init: PromptLineControllerInit): void;
116
+ destroy(): void;
117
+ getValue(): string;
118
+ setContent(next: JSONContent | string | SetContentUpdater): void;
119
+ insertContent(content: JSONContent | string, opts?: {
120
+ at?: number;
121
+ }): void;
122
+ clearContent(): void;
123
+ getEditor(): Editor | null;
124
+ focus(): void;
125
+ blur(): void;
126
+ hasFocus(): boolean;
127
+ getSelection(): {
128
+ from: number;
129
+ to: number;
130
+ };
131
+ setTextSelection(pos: number | {
132
+ from: number;
133
+ to: number;
134
+ }): void;
135
+ selectAll(): void;
136
+ setEditable(editable: boolean): void;
137
+ setPlaceholder(placeholder: string): void;
138
+ setAriaLabel(ariaLabel: string): void;
139
+ setTestId(testId: string): void;
140
+ setExtensions(_extensions: Extension[]): void;
141
+ undo(): boolean;
142
+ redo(): boolean;
143
+ private _onInput;
144
+ private _onKeydown;
145
+ private _setMouseFlag;
146
+ private _onFocus;
147
+ private _onBlur;
148
+ /** Programmatic value write: updates the field, mirror, and emits change. */
149
+ private _setValue;
150
+ private _emitChange;
151
+ private _syncMirror;
152
+ private _markTyping;
153
+ private _clearTypingTimer;
154
+ private _dispatch;
155
+ }