@carbon/ai-chat-components 1.9.0-alpha.0 → 1.9.0-rc.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 (966) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -5
  3. package/custom-elements.json +3838 -3356
  4. package/es/components/audio-player/index.d.ts +4 -4
  5. package/es/components/audio-player/src/audio-player.d.ts +1 -1
  6. package/es/components/audio-player/src/audio-player.js +33 -38
  7. package/es/components/audio-player/src/audio-player.js.map +1 -1
  8. package/es/components/audio-player/src/providers/base-provider.d.ts +2 -2
  9. package/es/components/audio-player/src/providers/base-provider.js +9 -9
  10. package/es/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
  11. package/es/components/audio-player/src/providers/native-audio-provider.js +18 -18
  12. package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
  13. package/es/components/audio-player/src/providers/soundcloud-provider.js +14 -14
  14. package/es/components/audio-player/src/transcript.d.ts +2 -2
  15. package/es/components/audio-player/src/transcript.js +13 -16
  16. package/es/components/audio-player/src/transcript.js.map +1 -1
  17. package/es/components/audio-player/src/utils/url-detector.js +1 -1
  18. package/es/components/card/index.d.ts +4 -4
  19. package/es/components/card/src/card-footer.d.ts +5 -5
  20. package/es/components/card/src/card-footer.js +12 -16
  21. package/es/components/card/src/card-footer.js.map +1 -1
  22. package/es/components/card/src/card-footer.scss.js +1 -1
  23. package/es/components/card/src/card-steps.d.ts +4 -4
  24. package/es/components/card/src/card-steps.js +3 -5
  25. package/es/components/card/src/card-steps.js.map +1 -1
  26. package/es/components/card/src/card-steps.scss.js +1 -1
  27. package/es/components/card/src/card.d.ts +2 -2
  28. package/es/components/card/src/card.js +3 -3
  29. package/es/components/card/src/card.scss.js +1 -1
  30. package/es/components/carousel/index.d.ts +1 -1
  31. package/es/components/carousel/src/carousel.d.ts +2 -2
  32. package/es/components/carousel/src/carousel.js +4 -6
  33. package/es/components/carousel/src/carousel.js.map +1 -1
  34. package/es/components/carousel/src/carousel.scss.js +1 -1
  35. package/es/components/chain-of-thought/defs.js +1 -1
  36. package/es/components/chain-of-thought/index.d.ts +10 -10
  37. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
  38. package/es/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
  39. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  40. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
  41. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
  42. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  43. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
  44. package/es/components/chain-of-thought/src/chain-of-thought.js +16 -17
  45. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  46. package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
  47. package/es/components/chain-of-thought/src/tool-call-data.js +17 -23
  48. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  49. package/es/components/chat-button/defs.d.ts +1 -1
  50. package/es/components/chat-button/defs.js +1 -1
  51. package/es/components/chat-button/index.d.ts +2 -2
  52. package/es/components/chat-button/src/chat-button.d.ts +5 -5
  53. package/es/components/chat-button/src/chat-button.js +6 -6
  54. package/es/components/chat-button/src/chat-button.scss.js +1 -1
  55. package/es/components/chat-history/index.d.ts +11 -11
  56. package/es/components/chat-history/src/history-content.d.ts +1 -1
  57. package/es/components/chat-history/src/history-content.js +6 -6
  58. package/es/components/chat-history/src/history-delete-panel.d.ts +2 -2
  59. package/es/components/chat-history/src/history-delete-panel.js +11 -11
  60. package/es/components/chat-history/src/history-header.d.ts +2 -2
  61. package/es/components/chat-history/src/history-header.js +9 -10
  62. package/es/components/chat-history/src/history-header.js.map +1 -1
  63. package/es/components/chat-history/src/history-loading.d.ts +2 -2
  64. package/es/components/chat-history/src/history-loading.js +1 -1
  65. package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -2
  66. package/es/components/chat-history/src/history-panel-item-input.js +21 -22
  67. package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
  68. package/es/components/chat-history/src/history-panel-item.d.ts +5 -5
  69. package/es/components/chat-history/src/history-panel-item.js +39 -41
  70. package/es/components/chat-history/src/history-panel-item.js.map +1 -1
  71. package/es/components/chat-history/src/history-panel-items.d.ts +1 -1
  72. package/es/components/chat-history/src/history-panel-items.js +1 -1
  73. package/es/components/chat-history/src/history-panel-menu.d.ts +1 -1
  74. package/es/components/chat-history/src/history-panel.d.ts +1 -1
  75. package/es/components/chat-history/src/history-panel.js +3 -3
  76. package/es/components/chat-history/src/history-search-item.d.ts +1 -1
  77. package/es/components/chat-history/src/history-search-item.js +4 -4
  78. package/es/components/chat-history/src/history-shell.d.ts +1 -1
  79. package/es/components/chat-history/src/history-shell.js +3 -3
  80. package/es/components/chat-history/src/history-toolbar.d.ts +9 -5
  81. package/es/components/chat-history/src/history-toolbar.js +13 -10
  82. package/es/components/chat-history/src/history-toolbar.js.map +1 -1
  83. package/es/components/chat-shell/index.d.ts +5 -5
  84. package/es/components/chat-shell/src/chat-header.d.ts +8 -8
  85. package/es/components/chat-shell/src/chat-header.js +37 -44
  86. package/es/components/chat-shell/src/chat-header.js.map +1 -1
  87. package/es/components/chat-shell/src/corner-manager.d.ts +1 -1
  88. package/es/components/chat-shell/src/corner-manager.js +30 -30
  89. package/es/components/chat-shell/src/initialization-manager.d.ts +1 -1
  90. package/es/components/chat-shell/src/panel-manager.d.ts +1 -1
  91. package/es/components/chat-shell/src/panel-manager.js +12 -12
  92. package/es/components/chat-shell/src/panel.d.ts +2 -2
  93. package/es/components/chat-shell/src/panel.js +99 -100
  94. package/es/components/chat-shell/src/panel.js.map +1 -1
  95. package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
  96. package/es/components/chat-shell/src/resize-observer-manager.js +10 -10
  97. package/es/components/chat-shell/src/shell.d.ts +8 -8
  98. package/es/components/chat-shell/src/shell.js +128 -135
  99. package/es/components/chat-shell/src/shell.js.map +1 -1
  100. package/es/components/chat-shell/src/slot-observer.d.ts +1 -1
  101. package/es/components/chat-shell/src/slot-observer.js +4 -7
  102. package/es/components/chat-shell/src/slot-observer.js.map +1 -1
  103. package/es/components/chat-shell/src/types.d.ts +4 -4
  104. package/es/components/chat-shell/src/workspace-manager-utils.js +4 -4
  105. package/es/components/chat-shell/src/workspace-manager.d.ts +1 -1
  106. package/es/components/chat-shell/src/workspace-manager.js +32 -32
  107. package/es/components/code-snippet/index.d.ts +4 -4
  108. package/es/components/code-snippet/src/code-snippet.d.ts +8 -8
  109. package/es/components/code-snippet/src/code-snippet.js +87 -93
  110. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  111. package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
  112. package/es/components/code-snippet/src/codemirror/base-setup.js +1 -1
  113. package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
  114. package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
  115. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
  116. package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
  117. package/es/components/code-snippet/src/codemirror/content-sync.js +2 -2
  118. package/es/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
  119. package/es/components/code-snippet/src/codemirror/detect-language.js +77 -0
  120. package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
  121. package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
  122. package/es/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
  123. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
  124. package/es/components/code-snippet/src/codemirror/editor-manager.js +4 -4
  125. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
  126. package/es/components/code-snippet/src/codemirror/language-controller.js +3 -3
  127. package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
  128. package/es/components/code-snippet/src/codemirror/language-data.js +299 -299
  129. package/es/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
  130. package/es/components/code-snippet/src/codemirror/language-utils.js +60 -66
  131. package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  132. package/es/components/code-snippet/src/codemirror/marker-utils.js +15 -15
  133. package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -1
  134. package/es/components/code-snippet/src/codemirror/theme.js +163 -163
  135. package/es/components/code-snippet/src/dom-utils.js +6 -6
  136. package/es/components/code-snippet/src/layout-utils.d.ts +2 -2
  137. package/es/components/code-snippet/src/layout-utils.js +9 -9
  138. package/es/components/code-snippet/src/streaming-manager.js +5 -5
  139. package/es/components/feedback/index.d.ts +4 -4
  140. package/es/components/feedback/src/feedback-buttons.d.ts +3 -3
  141. package/es/components/feedback/src/feedback-buttons.js +17 -19
  142. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  143. package/es/components/feedback/src/feedback.d.ts +9 -9
  144. package/es/components/feedback/src/feedback.js +38 -45
  145. package/es/components/feedback/src/feedback.js.map +1 -1
  146. package/es/components/file-uploads/index.d.ts +5 -4
  147. package/es/components/file-uploads/src/file-type-icon.d.ts +18 -0
  148. package/es/components/file-uploads/src/file-type-icon.js +87 -0
  149. package/es/components/file-uploads/src/file-type-icon.js.map +1 -0
  150. package/es/components/file-uploads/src/file-upload-item.d.ts +69 -8
  151. package/es/components/file-uploads/src/file-upload-item.js +210 -111
  152. package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
  153. package/es/components/file-uploads/src/file-uploads.d.ts +8 -4
  154. package/es/components/file-uploads/src/file-uploads.js +54 -29
  155. package/es/components/file-uploads/src/file-uploads.js.map +1 -1
  156. package/es/components/file-uploads/src/file-uploads.scss.js +1 -1
  157. package/es/components/file-uploads/src/types.d.ts +39 -0
  158. package/es/components/file-uploads/src/types.js +8 -0
  159. package/es/components/file-uploads/src/types.js.map +1 -0
  160. package/es/components/launcher/index.d.ts +9 -0
  161. package/es/components/launcher/index.js +9 -0
  162. package/es/components/launcher/index.js.map +1 -0
  163. package/es/components/launcher/src/launcher.d.ts +68 -0
  164. package/es/components/launcher/src/launcher.js +152 -0
  165. package/es/components/launcher/src/launcher.js.map +1 -0
  166. package/es/components/launcher/src/launcher.scss.js +13 -0
  167. package/es/components/launcher/src/launcher.scss.js.map +1 -0
  168. package/es/components/markdown/index.d.ts +5 -5
  169. package/es/components/markdown/src/markdown-renderer-types.d.ts +10 -3
  170. package/es/components/markdown/src/markdown-renderer.d.ts +9 -9
  171. package/es/components/markdown/src/markdown-renderer.js +85 -80
  172. package/es/components/markdown/src/markdown-renderer.js.map +1 -1
  173. package/es/components/markdown/src/markdown-token-tree.d.ts +1 -1
  174. package/es/components/markdown/src/markdown-token-tree.js +20 -20
  175. package/es/components/markdown/src/markdown.d.ts +4 -7
  176. package/es/components/markdown/src/markdown.js +96 -82
  177. package/es/components/markdown/src/markdown.js.map +1 -1
  178. package/es/components/markdown/src/markdown.template.js +1 -1
  179. package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
  180. package/es/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
  181. package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
  182. package/es/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
  183. package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
  184. package/es/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
  185. package/es/components/markdown/src/utils/html-helpers.d.ts +1 -1
  186. package/es/components/markdown/src/utils/html-helpers.js +72 -72
  187. package/es/components/markdown/src/utils/lit-directives.d.ts +2 -2
  188. package/es/components/markdown/src/utils/lit-directives.js +5 -5
  189. package/es/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
  190. package/es/components/markdown/src/utils/plugin-fallback.js +61 -61
  191. package/es/components/markdown/src/utils/streaming-table.d.ts +1 -1
  192. package/es/components/markdown/src/utils/streaming-table.js +6 -6
  193. package/es/components/markdown/src/utils/table-helpers.d.ts +4 -4
  194. package/es/components/markdown/src/utils/table-helpers.js +17 -18
  195. package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
  196. package/es/components/processing/index.d.ts +1 -1
  197. package/es/components/processing/src/processing.d.ts +2 -2
  198. package/es/components/processing/src/processing.js +2 -2
  199. package/es/components/prompt-line/autocomplete/index.d.ts +12 -0
  200. package/es/components/prompt-line/autocomplete/index.js +9 -0
  201. package/es/components/prompt-line/autocomplete/index.js.map +1 -0
  202. package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
  203. package/es/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
  204. package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  205. package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  206. package/es/components/prompt-line/index.d.ts +18 -18
  207. package/es/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
  208. package/es/components/prompt-line/src/autocomplete-controller.js +107 -47
  209. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  210. package/es/components/prompt-line/src/error-message.d.ts +3 -7
  211. package/es/components/prompt-line/src/error-message.js +13 -23
  212. package/es/components/prompt-line/src/error-message.js.map +1 -1
  213. package/es/components/prompt-line/src/error-message.scss.js +1 -1
  214. package/es/components/prompt-line/src/prompt-line-constants.js +1 -1
  215. package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  216. package/es/components/prompt-line/src/prompt-line-controller.js +83 -83
  217. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  218. package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  219. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  220. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  221. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  222. package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  223. package/es/components/prompt-line/src/prompt-line-shell.js +11 -13
  224. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  225. package/es/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  226. package/es/components/prompt-line/src/prompt-line.d.ts +5 -5
  227. package/es/components/prompt-line/src/prompt-line.js +35 -35
  228. package/es/components/prompt-line/src/prompt-line.js.map +1 -1
  229. package/es/components/prompt-line/src/send-control.d.ts +4 -4
  230. package/es/components/prompt-line/src/send-control.js +18 -20
  231. package/es/components/prompt-line/src/send-control.js.map +1 -1
  232. package/es/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  233. package/es/components/prompt-line/src/stop-streaming-button.js +7 -8
  234. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  235. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  236. package/es/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  237. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  238. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  239. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  240. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  241. package/es/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  242. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  243. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
  244. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  245. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  246. package/es/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  247. package/es/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  248. package/es/components/prompt-line/src/tiptap/index.d.ts +24 -24
  249. package/es/components/prompt-line/src/tiptap/index.js.map +1 -1
  250. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  251. package/es/components/prompt-line/src/tiptap/json-utils.js +17 -17
  252. package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  253. package/es/components/prompt-line/src/tiptap/keymap.js +3 -3
  254. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  255. package/es/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  256. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  257. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  258. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  259. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  260. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  261. package/es/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  262. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  263. package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  264. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  265. package/es/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  266. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  267. package/es/components/prompt-line/src/tiptap/types.d.ts +24 -3
  268. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  269. package/es/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  270. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  271. package/es/components/prompt-line/src/tiptap/value-sync.js +2 -2
  272. package/es/components/prompt-line/src/types.d.ts +2 -2
  273. package/es/components/prompt-line/src/types.js.map +1 -1
  274. package/es/components/reasoning-steps/index.d.ts +4 -4
  275. package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  276. package/es/components/reasoning-steps/src/reasoning-step.js +27 -31
  277. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  278. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  279. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  280. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  281. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  282. package/es/components/reasoning-steps/src/reasoning-steps.js +19 -20
  283. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  284. package/es/components/shared/dynamic-css-var-sheet.js +7 -7
  285. package/es/components/shared/media-utils/script-loader.js +1 -1
  286. package/es/components/table/index.d.ts +3 -3
  287. package/es/components/table/src/table-loader.d.ts +1 -1
  288. package/es/components/table/src/table-loader.js +1 -1
  289. package/es/components/table/src/table-pagination.template.d.ts +3 -3
  290. package/es/components/table/src/table-pagination.template.js +4 -5
  291. package/es/components/table/src/table-pagination.template.js.map +1 -1
  292. package/es/components/table/src/table-runtime.d.ts +2 -2
  293. package/es/components/table/src/table-skeleton.template.d.ts +1 -1
  294. package/es/components/table/src/table-skeleton.template.js +2 -3
  295. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  296. package/es/components/table/src/table.d.ts +3 -4
  297. package/es/components/table/src/table.js +36 -39
  298. package/es/components/table/src/table.js.map +1 -1
  299. package/es/components/table/src/table.template.d.ts +5 -5
  300. package/es/components/table/src/table.template.js +6 -9
  301. package/es/components/table/src/table.template.js.map +1 -1
  302. package/es/components/toolbar/index.d.ts +1 -1
  303. package/es/components/toolbar/src/toolbar.d.ts +9 -7
  304. package/es/components/toolbar/src/toolbar.js +45 -33
  305. package/es/components/toolbar/src/toolbar.js.map +1 -1
  306. package/es/components/toolbar/src/toolbar.scss.js +1 -1
  307. package/es/components/truncated-text/index.d.ts +1 -1
  308. package/es/components/truncated-text/src/truncated-text.d.ts +5 -5
  309. package/es/components/truncated-text/src/truncated-text.js +26 -28
  310. package/es/components/truncated-text/src/truncated-text.js.map +1 -1
  311. package/es/components/truncated-text/src/truncated-text.scss.js +1 -1
  312. package/es/components/video-player/index.d.ts +2 -2
  313. package/es/components/video-player/src/providers/base-provider.d.ts +3 -3
  314. package/es/components/video-player/src/providers/base-provider.js +5 -5
  315. package/es/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  316. package/es/components/video-player/src/providers/kaltura-provider.js +23 -23
  317. package/es/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  318. package/es/components/video-player/src/providers/native-video-provider.js +20 -20
  319. package/es/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  320. package/es/components/video-player/src/providers/vimeo-provider.js +23 -23
  321. package/es/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  322. package/es/components/video-player/src/providers/youtube-provider.js +15 -15
  323. package/es/components/video-player/src/utils/url-detector.js +1 -1
  324. package/es/components/video-player/src/video-player.d.ts +2 -2
  325. package/es/components/video-player/src/video-player.js +37 -41
  326. package/es/components/video-player/src/video-player.js.map +1 -1
  327. package/es/components/workspace-shell/index.d.ts +4 -4
  328. package/es/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  329. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  330. package/es/components/workspace-shell/src/workspace-shell-body.js +2 -2
  331. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  332. package/es/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  333. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  334. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  335. package/es/components/workspace-shell/src/workspace-shell-header.js +10 -13
  336. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  337. package/es/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  338. package/es/components/workspace-shell/src/workspace-shell.js +3 -3
  339. package/es/globals/decorators/carbon-element.d.ts +4 -4
  340. package/es/globals/decorators/carbon-element.js +2 -2
  341. package/es/globals/decorators/index.d.ts +1 -1
  342. package/es/globals/scss/common.scss.js +1 -1
  343. package/es/globals/settings.js +2 -2
  344. package/es/globals/utils/aria-announcer-manager.d.ts +1 -1
  345. package/es/globals/utils/aria-announcer-manager.js +6 -6
  346. package/es/globals/utils/browser-utils.js +1 -1
  347. package/es/globals/utils/csv.d.ts +8 -0
  348. package/es/globals/utils/csv.js +37 -0
  349. package/es/globals/utils/csv.js.map +1 -0
  350. package/es/globals/utils/dom-utils.js +1 -1
  351. package/es/globals/utils/focus-utils.js +4 -4
  352. package/es/globals/utils/iconTransform.d.ts +2 -2
  353. package/es/globals/utils/iconTransform.js +21 -21
  354. package/es/globals/utils/rtl-utils.js +1 -1
  355. package/es/globals/utils/uuid.js +5 -5
  356. package/es/react/__tests__/jest.setup.js +12 -12
  357. package/es/react/ai-label-action-button.d.ts +1 -1
  358. package/es/react/ai-label-action-button.js +1 -1
  359. package/es/react/audio-player.d.ts +1 -1
  360. package/es/react/audio-player.js +5 -5
  361. package/es/react/autocomplete.d.ts +1 -1
  362. package/es/react/autocomplete.js +5 -5
  363. package/es/react/card.d.ts +1 -1
  364. package/es/react/card.js +5 -5
  365. package/es/react/carousel.d.ts +1 -1
  366. package/es/react/carousel.js +2 -2
  367. package/es/react/chain-of-thought-step.d.ts +1 -1
  368. package/es/react/chain-of-thought-step.js +4 -4
  369. package/es/react/chain-of-thought-toggle.d.ts +2 -2
  370. package/es/react/chain-of-thought-toggle.js +3 -3
  371. package/es/react/chain-of-thought.d.ts +2 -2
  372. package/es/react/chain-of-thought.js +4 -4
  373. package/es/react/chat-button.d.ts +3 -3
  374. package/es/react/chat-button.js +2 -2
  375. package/es/react/chat-header.d.ts +3 -3
  376. package/es/react/chat-header.js +2 -2
  377. package/es/react/chat-shell.d.ts +2 -2
  378. package/es/react/chat-shell.js +2 -2
  379. package/es/react/code-snippet.d.ts +4 -4
  380. package/es/react/code-snippet.js +3 -3
  381. package/es/react/error-message.d.ts +1 -1
  382. package/es/react/error-message.js +1 -1
  383. package/es/react/feedback-buttons.d.ts +1 -1
  384. package/es/react/feedback-buttons.js +3 -3
  385. package/es/react/feedback.d.ts +2 -2
  386. package/es/react/feedback.js +4 -4
  387. package/es/react/file-upload-item.d.ts +11 -0
  388. package/es/react/file-upload-item.js +31 -0
  389. package/es/react/file-upload-item.js.map +1 -0
  390. package/es/react/file-uploads.d.ts +1 -1
  391. package/es/react/file-uploads.js +2 -2
  392. package/es/react/history/history-content.d.ts +1 -1
  393. package/es/react/history/history-content.js +1 -1
  394. package/es/react/history/history-delete-panel.d.ts +1 -1
  395. package/es/react/history/history-delete-panel.js +3 -3
  396. package/es/react/history/history-header.d.ts +1 -1
  397. package/es/react/history/history-header.js +2 -2
  398. package/es/react/history/history-loading.d.ts +1 -1
  399. package/es/react/history/history-loading.js +1 -1
  400. package/es/react/history/history-panel-item-input.d.ts +1 -1
  401. package/es/react/history/history-panel-item-input.js +4 -4
  402. package/es/react/history/history-panel-item.d.ts +1 -1
  403. package/es/react/history/history-panel-item.js +6 -6
  404. package/es/react/history/history-panel-items.d.ts +1 -1
  405. package/es/react/history/history-panel-items.js +1 -1
  406. package/es/react/history/history-panel-menu.d.ts +1 -1
  407. package/es/react/history/history-panel-menu.js +1 -1
  408. package/es/react/history/history-panel.d.ts +1 -1
  409. package/es/react/history/history-panel.js +1 -1
  410. package/es/react/history/history-search-item.d.ts +1 -1
  411. package/es/react/history/history-search-item.js +2 -2
  412. package/es/react/history/history-shell.d.ts +1 -1
  413. package/es/react/history/history-shell.js +1 -1
  414. package/es/react/history/history-toolbar.d.ts +1 -1
  415. package/es/react/history/history-toolbar.js +3 -3
  416. package/es/react/history/index.d.ts +12 -12
  417. package/es/react/hooks/useChatAutocomplete.d.ts +4 -4
  418. package/es/react/hooks/useChatAutocomplete.js +38 -12
  419. package/es/react/hooks/useChatAutocomplete.js.map +1 -1
  420. package/es/react/input-send-control.d.ts +1 -1
  421. package/es/react/input-send-control.js +3 -3
  422. package/es/react/launcher.d.ts +11 -0
  423. package/es/react/launcher.js +31 -0
  424. package/es/react/launcher.js.map +1 -0
  425. package/es/react/markdown.d.ts +7 -7
  426. package/es/react/markdown.js +13 -13
  427. package/es/react/markdown.js.map +1 -1
  428. package/es/react/panel.d.ts +1 -1
  429. package/es/react/panel.js +7 -7
  430. package/es/react/processing.d.ts +1 -1
  431. package/es/react/processing.js +2 -2
  432. package/es/react/prompt-line-shell.d.ts +1 -1
  433. package/es/react/prompt-line-shell.js +1 -1
  434. package/es/react/prompt-line.d.ts +1 -1
  435. package/es/react/prompt-line.js +9 -9
  436. package/es/react/reasoning-step.d.ts +1 -1
  437. package/es/react/reasoning-step.js +4 -4
  438. package/es/react/reasoning-steps-toggle.d.ts +2 -2
  439. package/es/react/reasoning-steps-toggle.js +3 -3
  440. package/es/react/reasoning-steps.d.ts +1 -1
  441. package/es/react/reasoning-steps.js +2 -2
  442. package/es/react/stop-streaming-button.d.ts +1 -1
  443. package/es/react/stop-streaming-button.js +1 -1
  444. package/es/react/table.d.ts +2 -2
  445. package/es/react/table.js +1 -1
  446. package/es/react/tool-call-data.d.ts +1 -1
  447. package/es/react/tool-call-data.js +2 -2
  448. package/es/react/toolbar.d.ts +4 -4
  449. package/es/react/toolbar.js +2 -2
  450. package/es/react/transcript.d.ts +1 -1
  451. package/es/react/transcript.js +3 -3
  452. package/es/react/utils/transformSuggestionConfig.d.ts +3 -3
  453. package/es/react/utils/transformSuggestionConfig.js +3 -3
  454. package/es/react/utils/transformSuggestionConfig.js.map +1 -1
  455. package/es/react/utils/withWebComponentBridge.d.ts +1 -1
  456. package/es/react/utils/withWebComponentBridge.js +22 -22
  457. package/es/react/video-player.d.ts +1 -1
  458. package/es/react/video-player.js +5 -5
  459. package/es/react/workspace-shell.d.ts +1 -1
  460. package/es/react/workspace-shell.js +6 -6
  461. package/es/testing/load-all-lazy-deps.d.ts +2 -2
  462. package/es/testing/load-all-lazy-deps.js +1 -1
  463. package/es/typings/overflow-menu.d.ts +2 -2
  464. package/es-custom/components/audio-player/index.d.ts +4 -4
  465. package/es-custom/components/audio-player/src/audio-player.d.ts +1 -1
  466. package/es-custom/components/audio-player/src/audio-player.js +33 -38
  467. package/es-custom/components/audio-player/src/audio-player.js.map +1 -1
  468. package/es-custom/components/audio-player/src/providers/base-provider.d.ts +2 -2
  469. package/es-custom/components/audio-player/src/providers/base-provider.js +9 -9
  470. package/es-custom/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
  471. package/es-custom/components/audio-player/src/providers/native-audio-provider.js +18 -18
  472. package/es-custom/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
  473. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +14 -14
  474. package/es-custom/components/audio-player/src/transcript.d.ts +2 -2
  475. package/es-custom/components/audio-player/src/transcript.js +13 -16
  476. package/es-custom/components/audio-player/src/transcript.js.map +1 -1
  477. package/es-custom/components/audio-player/src/utils/url-detector.js +1 -1
  478. package/es-custom/components/card/index.d.ts +4 -4
  479. package/es-custom/components/card/src/card-footer.d.ts +5 -5
  480. package/es-custom/components/card/src/card-footer.js +12 -16
  481. package/es-custom/components/card/src/card-footer.js.map +1 -1
  482. package/es-custom/components/card/src/card-footer.scss.js +1 -1
  483. package/es-custom/components/card/src/card-steps.d.ts +4 -4
  484. package/es-custom/components/card/src/card-steps.js +3 -5
  485. package/es-custom/components/card/src/card-steps.js.map +1 -1
  486. package/es-custom/components/card/src/card-steps.scss.js +1 -1
  487. package/es-custom/components/card/src/card.d.ts +2 -2
  488. package/es-custom/components/card/src/card.js +3 -3
  489. package/es-custom/components/card/src/card.scss.js +1 -1
  490. package/es-custom/components/carousel/index.d.ts +1 -1
  491. package/es-custom/components/carousel/src/carousel.d.ts +2 -2
  492. package/es-custom/components/carousel/src/carousel.js +4 -6
  493. package/es-custom/components/carousel/src/carousel.js.map +1 -1
  494. package/es-custom/components/carousel/src/carousel.scss.js +1 -1
  495. package/es-custom/components/chain-of-thought/defs.js +1 -1
  496. package/es-custom/components/chain-of-thought/index.d.ts +10 -10
  497. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
  498. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
  499. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  500. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
  501. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
  502. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  503. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
  504. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +16 -17
  505. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  506. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
  507. package/es-custom/components/chain-of-thought/src/tool-call-data.js +17 -23
  508. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  509. package/es-custom/components/chat-button/defs.d.ts +1 -1
  510. package/es-custom/components/chat-button/defs.js +1 -1
  511. package/es-custom/components/chat-button/index.d.ts +2 -2
  512. package/es-custom/components/chat-button/src/chat-button.d.ts +5 -5
  513. package/es-custom/components/chat-button/src/chat-button.js +6 -6
  514. package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
  515. package/es-custom/components/chat-history/index.d.ts +11 -11
  516. package/es-custom/components/chat-history/src/history-content.d.ts +1 -1
  517. package/es-custom/components/chat-history/src/history-content.js +6 -6
  518. package/es-custom/components/chat-history/src/history-delete-panel.d.ts +2 -2
  519. package/es-custom/components/chat-history/src/history-delete-panel.js +11 -11
  520. package/es-custom/components/chat-history/src/history-header.d.ts +2 -2
  521. package/es-custom/components/chat-history/src/history-header.js +9 -10
  522. package/es-custom/components/chat-history/src/history-header.js.map +1 -1
  523. package/es-custom/components/chat-history/src/history-loading.d.ts +2 -2
  524. package/es-custom/components/chat-history/src/history-loading.js +1 -1
  525. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +2 -2
  526. package/es-custom/components/chat-history/src/history-panel-item-input.js +21 -22
  527. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +1 -1
  528. package/es-custom/components/chat-history/src/history-panel-item.d.ts +5 -5
  529. package/es-custom/components/chat-history/src/history-panel-item.js +39 -41
  530. package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
  531. package/es-custom/components/chat-history/src/history-panel-items.d.ts +1 -1
  532. package/es-custom/components/chat-history/src/history-panel-items.js +1 -1
  533. package/es-custom/components/chat-history/src/history-panel-menu.d.ts +1 -1
  534. package/es-custom/components/chat-history/src/history-panel.d.ts +1 -1
  535. package/es-custom/components/chat-history/src/history-panel.js +3 -3
  536. package/es-custom/components/chat-history/src/history-search-item.d.ts +1 -1
  537. package/es-custom/components/chat-history/src/history-search-item.js +4 -4
  538. package/es-custom/components/chat-history/src/history-shell.d.ts +1 -1
  539. package/es-custom/components/chat-history/src/history-shell.js +3 -3
  540. package/es-custom/components/chat-history/src/history-toolbar.d.ts +9 -5
  541. package/es-custom/components/chat-history/src/history-toolbar.js +13 -10
  542. package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
  543. package/es-custom/components/chat-shell/index.d.ts +5 -5
  544. package/es-custom/components/chat-shell/src/chat-header.d.ts +8 -8
  545. package/es-custom/components/chat-shell/src/chat-header.js +37 -44
  546. package/es-custom/components/chat-shell/src/chat-header.js.map +1 -1
  547. package/es-custom/components/chat-shell/src/corner-manager.d.ts +1 -1
  548. package/es-custom/components/chat-shell/src/corner-manager.js +30 -30
  549. package/es-custom/components/chat-shell/src/initialization-manager.d.ts +1 -1
  550. package/es-custom/components/chat-shell/src/panel-manager.d.ts +1 -1
  551. package/es-custom/components/chat-shell/src/panel-manager.js +12 -12
  552. package/es-custom/components/chat-shell/src/panel.d.ts +2 -2
  553. package/es-custom/components/chat-shell/src/panel.js +99 -100
  554. package/es-custom/components/chat-shell/src/panel.js.map +1 -1
  555. package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
  556. package/es-custom/components/chat-shell/src/resize-observer-manager.js +10 -10
  557. package/es-custom/components/chat-shell/src/shell.d.ts +8 -8
  558. package/es-custom/components/chat-shell/src/shell.js +128 -135
  559. package/es-custom/components/chat-shell/src/shell.js.map +1 -1
  560. package/es-custom/components/chat-shell/src/slot-observer.d.ts +1 -1
  561. package/es-custom/components/chat-shell/src/slot-observer.js +4 -7
  562. package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
  563. package/es-custom/components/chat-shell/src/types.d.ts +4 -4
  564. package/es-custom/components/chat-shell/src/workspace-manager-utils.js +4 -4
  565. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
  566. package/es-custom/components/chat-shell/src/workspace-manager.js +32 -32
  567. package/es-custom/components/code-snippet/index.d.ts +4 -4
  568. package/es-custom/components/code-snippet/src/code-snippet.d.ts +8 -8
  569. package/es-custom/components/code-snippet/src/code-snippet.js +87 -93
  570. package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
  571. package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
  572. package/es-custom/components/code-snippet/src/codemirror/base-setup.js +1 -1
  573. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
  574. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
  575. package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
  576. package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
  577. package/es-custom/components/code-snippet/src/codemirror/content-sync.js +2 -2
  578. package/es-custom/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
  579. package/es-custom/components/code-snippet/src/codemirror/detect-language.js +77 -0
  580. package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
  581. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
  582. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
  583. package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
  584. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +4 -4
  585. package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
  586. package/es-custom/components/code-snippet/src/codemirror/language-controller.js +3 -3
  587. package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
  588. package/es-custom/components/code-snippet/src/codemirror/language-data.js +299 -299
  589. package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
  590. package/es-custom/components/code-snippet/src/codemirror/language-utils.js +60 -66
  591. package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  592. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +15 -15
  593. package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +1 -1
  594. package/es-custom/components/code-snippet/src/codemirror/theme.js +163 -163
  595. package/es-custom/components/code-snippet/src/dom-utils.js +6 -6
  596. package/es-custom/components/code-snippet/src/layout-utils.d.ts +2 -2
  597. package/es-custom/components/code-snippet/src/layout-utils.js +9 -9
  598. package/es-custom/components/code-snippet/src/streaming-manager.js +5 -5
  599. package/es-custom/components/feedback/index.d.ts +4 -4
  600. package/es-custom/components/feedback/src/feedback-buttons.d.ts +3 -3
  601. package/es-custom/components/feedback/src/feedback-buttons.js +17 -19
  602. package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
  603. package/es-custom/components/feedback/src/feedback.d.ts +9 -9
  604. package/es-custom/components/feedback/src/feedback.js +38 -45
  605. package/es-custom/components/feedback/src/feedback.js.map +1 -1
  606. package/es-custom/components/file-uploads/index.d.ts +5 -4
  607. package/es-custom/components/file-uploads/src/file-type-icon.d.ts +18 -0
  608. package/es-custom/components/file-uploads/src/file-type-icon.js +87 -0
  609. package/es-custom/components/file-uploads/src/file-type-icon.js.map +1 -0
  610. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +69 -8
  611. package/es-custom/components/file-uploads/src/file-upload-item.js +210 -111
  612. package/es-custom/components/file-uploads/src/file-upload-item.js.map +1 -1
  613. package/es-custom/components/file-uploads/src/file-uploads.d.ts +8 -4
  614. package/es-custom/components/file-uploads/src/file-uploads.js +54 -29
  615. package/es-custom/components/file-uploads/src/file-uploads.js.map +1 -1
  616. package/es-custom/components/file-uploads/src/file-uploads.scss.js +1 -1
  617. package/es-custom/components/file-uploads/src/types.d.ts +39 -0
  618. package/es-custom/components/file-uploads/src/types.js +8 -0
  619. package/es-custom/components/file-uploads/src/types.js.map +1 -0
  620. package/es-custom/components/launcher/index.d.ts +9 -0
  621. package/es-custom/components/launcher/index.js +9 -0
  622. package/{es/components/autocomplete → es-custom/components/launcher}/index.js.map +1 -1
  623. package/es-custom/components/launcher/src/launcher.d.ts +68 -0
  624. package/es-custom/components/launcher/src/launcher.js +152 -0
  625. package/es-custom/components/launcher/src/launcher.js.map +1 -0
  626. package/es-custom/components/launcher/src/launcher.scss.js +13 -0
  627. package/es-custom/components/launcher/src/launcher.scss.js.map +1 -0
  628. package/es-custom/components/markdown/index.d.ts +5 -5
  629. package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +10 -3
  630. package/es-custom/components/markdown/src/markdown-renderer.d.ts +9 -9
  631. package/es-custom/components/markdown/src/markdown-renderer.js +85 -80
  632. package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
  633. package/es-custom/components/markdown/src/markdown-token-tree.d.ts +1 -1
  634. package/es-custom/components/markdown/src/markdown-token-tree.js +20 -20
  635. package/es-custom/components/markdown/src/markdown.d.ts +4 -7
  636. package/es-custom/components/markdown/src/markdown.js +96 -82
  637. package/es-custom/components/markdown/src/markdown.js.map +1 -1
  638. package/es-custom/components/markdown/src/markdown.template.js +1 -1
  639. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
  640. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
  641. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
  642. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
  643. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
  644. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
  645. package/es-custom/components/markdown/src/utils/html-helpers.d.ts +1 -1
  646. package/es-custom/components/markdown/src/utils/html-helpers.js +72 -72
  647. package/es-custom/components/markdown/src/utils/lit-directives.d.ts +2 -2
  648. package/es-custom/components/markdown/src/utils/lit-directives.js +5 -5
  649. package/es-custom/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
  650. package/es-custom/components/markdown/src/utils/plugin-fallback.js +61 -61
  651. package/es-custom/components/markdown/src/utils/streaming-table.d.ts +1 -1
  652. package/es-custom/components/markdown/src/utils/streaming-table.js +6 -6
  653. package/es-custom/components/markdown/src/utils/table-helpers.d.ts +4 -4
  654. package/es-custom/components/markdown/src/utils/table-helpers.js +17 -18
  655. package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -1
  656. package/es-custom/components/processing/index.d.ts +1 -1
  657. package/es-custom/components/processing/src/processing.d.ts +2 -2
  658. package/es-custom/components/processing/src/processing.js +2 -2
  659. package/es-custom/components/prompt-line/autocomplete/index.d.ts +12 -0
  660. package/es-custom/components/prompt-line/autocomplete/index.js +9 -0
  661. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/index.js.map +1 -1
  662. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
  663. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
  664. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
  665. package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
  666. package/es-custom/components/prompt-line/index.d.ts +18 -18
  667. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
  668. package/es-custom/components/prompt-line/src/autocomplete-controller.js +107 -47
  669. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  670. package/es-custom/components/prompt-line/src/error-message.d.ts +3 -7
  671. package/es-custom/components/prompt-line/src/error-message.js +13 -23
  672. package/es-custom/components/prompt-line/src/error-message.js.map +1 -1
  673. package/es-custom/components/prompt-line/src/error-message.scss.js +1 -1
  674. package/es-custom/components/prompt-line/src/prompt-line-constants.js +1 -1
  675. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
  676. package/es-custom/components/prompt-line/src/prompt-line-controller.js +83 -83
  677. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
  678. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
  679. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
  680. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
  681. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  682. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
  683. package/es-custom/components/prompt-line/src/prompt-line-shell.js +11 -13
  684. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  685. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
  686. package/es-custom/components/prompt-line/src/prompt-line.d.ts +5 -5
  687. package/es-custom/components/prompt-line/src/prompt-line.js +35 -35
  688. package/es-custom/components/prompt-line/src/prompt-line.js.map +1 -1
  689. package/es-custom/components/prompt-line/src/send-control.d.ts +4 -4
  690. package/es-custom/components/prompt-line/src/send-control.js +18 -20
  691. package/es-custom/components/prompt-line/src/send-control.js.map +1 -1
  692. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
  693. package/es-custom/components/prompt-line/src/stop-streaming-button.js +7 -8
  694. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  695. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
  696. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js +2 -2
  697. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  698. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
  699. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
  700. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
  701. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
  702. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
  703. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
  704. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  705. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
  706. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +2 -2
  707. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +26 -26
  708. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +24 -24
  709. package/es-custom/components/prompt-line/src/tiptap/index.js.map +1 -1
  710. package/es-custom/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
  711. package/es-custom/components/prompt-line/src/tiptap/json-utils.js +17 -17
  712. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
  713. package/es-custom/components/prompt-line/src/tiptap/keymap.js +3 -3
  714. package/es-custom/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
  715. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js +2 -2
  716. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
  717. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
  718. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
  719. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
  720. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
  721. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
  722. package/es-custom/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
  723. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js +1 -1
  724. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
  725. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
  726. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  727. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +24 -3
  728. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
  729. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
  730. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
  731. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +2 -2
  732. package/es-custom/components/prompt-line/src/types.d.ts +2 -2
  733. package/es-custom/components/prompt-line/src/types.js.map +1 -1
  734. package/es-custom/components/reasoning-steps/index.d.ts +4 -4
  735. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
  736. package/es-custom/components/reasoning-steps/src/reasoning-step.js +27 -31
  737. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  738. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
  739. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
  740. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  741. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
  742. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +19 -20
  743. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  744. package/es-custom/components/shared/dynamic-css-var-sheet.js +7 -7
  745. package/es-custom/components/shared/media-utils/script-loader.js +1 -1
  746. package/es-custom/components/table/index.d.ts +3 -3
  747. package/es-custom/components/table/src/table-loader.d.ts +1 -1
  748. package/es-custom/components/table/src/table-loader.js +1 -1
  749. package/es-custom/components/table/src/table-pagination.template.d.ts +3 -3
  750. package/es-custom/components/table/src/table-pagination.template.js +4 -5
  751. package/es-custom/components/table/src/table-pagination.template.js.map +1 -1
  752. package/es-custom/components/table/src/table-runtime.d.ts +2 -2
  753. package/es-custom/components/table/src/table-skeleton.template.d.ts +1 -1
  754. package/es-custom/components/table/src/table-skeleton.template.js +2 -3
  755. package/es-custom/components/table/src/table-skeleton.template.js.map +1 -1
  756. package/es-custom/components/table/src/table.d.ts +3 -4
  757. package/es-custom/components/table/src/table.js +36 -39
  758. package/es-custom/components/table/src/table.js.map +1 -1
  759. package/es-custom/components/table/src/table.template.d.ts +5 -5
  760. package/es-custom/components/table/src/table.template.js +6 -9
  761. package/es-custom/components/table/src/table.template.js.map +1 -1
  762. package/es-custom/components/toolbar/index.d.ts +1 -1
  763. package/es-custom/components/toolbar/src/toolbar.d.ts +9 -7
  764. package/es-custom/components/toolbar/src/toolbar.js +45 -33
  765. package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
  766. package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
  767. package/es-custom/components/truncated-text/index.d.ts +1 -1
  768. package/es-custom/components/truncated-text/src/truncated-text.d.ts +5 -5
  769. package/es-custom/components/truncated-text/src/truncated-text.js +26 -28
  770. package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -1
  771. package/es-custom/components/truncated-text/src/truncated-text.scss.js +1 -1
  772. package/es-custom/components/video-player/index.d.ts +2 -2
  773. package/es-custom/components/video-player/src/providers/base-provider.d.ts +3 -3
  774. package/es-custom/components/video-player/src/providers/base-provider.js +5 -5
  775. package/es-custom/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
  776. package/es-custom/components/video-player/src/providers/kaltura-provider.js +23 -23
  777. package/es-custom/components/video-player/src/providers/native-video-provider.d.ts +2 -2
  778. package/es-custom/components/video-player/src/providers/native-video-provider.js +20 -20
  779. package/es-custom/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
  780. package/es-custom/components/video-player/src/providers/vimeo-provider.js +23 -23
  781. package/es-custom/components/video-player/src/providers/youtube-provider.d.ts +2 -2
  782. package/es-custom/components/video-player/src/providers/youtube-provider.js +15 -15
  783. package/es-custom/components/video-player/src/utils/url-detector.js +1 -1
  784. package/es-custom/components/video-player/src/video-player.d.ts +2 -2
  785. package/es-custom/components/video-player/src/video-player.js +37 -41
  786. package/es-custom/components/video-player/src/video-player.js.map +1 -1
  787. package/es-custom/components/workspace-shell/index.d.ts +4 -4
  788. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +13 -13
  789. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
  790. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -2
  791. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
  792. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +10 -11
  793. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  794. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
  795. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +10 -13
  796. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  797. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +1 -1
  798. package/es-custom/components/workspace-shell/src/workspace-shell.js +3 -3
  799. package/es-custom/globals/decorators/carbon-element.d.ts +4 -4
  800. package/es-custom/globals/decorators/carbon-element.js +2 -2
  801. package/es-custom/globals/decorators/index.d.ts +1 -1
  802. package/es-custom/globals/scss/common.scss.js +1 -1
  803. package/es-custom/globals/settings.js +2 -2
  804. package/es-custom/globals/utils/aria-announcer-manager.d.ts +1 -1
  805. package/es-custom/globals/utils/aria-announcer-manager.js +6 -6
  806. package/es-custom/globals/utils/browser-utils.js +1 -1
  807. package/es-custom/globals/utils/csv.d.ts +8 -0
  808. package/es-custom/globals/utils/csv.js +37 -0
  809. package/es-custom/globals/utils/csv.js.map +1 -0
  810. package/es-custom/globals/utils/dom-utils.js +1 -1
  811. package/es-custom/globals/utils/focus-utils.js +4 -4
  812. package/es-custom/globals/utils/iconTransform.d.ts +2 -2
  813. package/es-custom/globals/utils/iconTransform.js +21 -21
  814. package/es-custom/globals/utils/rtl-utils.js +1 -1
  815. package/es-custom/globals/utils/uuid.js +5 -5
  816. package/es-custom/react/__tests__/jest.setup.js +12 -12
  817. package/es-custom/react/ai-label-action-button.d.ts +1 -1
  818. package/es-custom/react/ai-label-action-button.js +1 -1
  819. package/es-custom/react/audio-player.d.ts +1 -1
  820. package/es-custom/react/audio-player.js +5 -5
  821. package/es-custom/react/autocomplete.d.ts +1 -1
  822. package/es-custom/react/autocomplete.js +5 -5
  823. package/es-custom/react/card.d.ts +1 -1
  824. package/es-custom/react/card.js +5 -5
  825. package/es-custom/react/carousel.d.ts +1 -1
  826. package/es-custom/react/carousel.js +2 -2
  827. package/es-custom/react/chain-of-thought-step.d.ts +1 -1
  828. package/es-custom/react/chain-of-thought-step.js +4 -4
  829. package/es-custom/react/chain-of-thought-toggle.d.ts +2 -2
  830. package/es-custom/react/chain-of-thought-toggle.js +3 -3
  831. package/es-custom/react/chain-of-thought.d.ts +2 -2
  832. package/es-custom/react/chain-of-thought.js +4 -4
  833. package/es-custom/react/chat-button.d.ts +3 -3
  834. package/es-custom/react/chat-button.js +2 -2
  835. package/es-custom/react/chat-header.d.ts +3 -3
  836. package/es-custom/react/chat-header.js +2 -2
  837. package/es-custom/react/chat-shell.d.ts +2 -2
  838. package/es-custom/react/chat-shell.js +2 -2
  839. package/es-custom/react/code-snippet.d.ts +4 -4
  840. package/es-custom/react/code-snippet.js +3 -3
  841. package/es-custom/react/error-message.d.ts +1 -1
  842. package/es-custom/react/error-message.js +1 -1
  843. package/es-custom/react/feedback-buttons.d.ts +1 -1
  844. package/es-custom/react/feedback-buttons.js +3 -3
  845. package/es-custom/react/feedback.d.ts +2 -2
  846. package/es-custom/react/feedback.js +4 -4
  847. package/es-custom/react/file-upload-item.d.ts +11 -0
  848. package/es-custom/react/file-upload-item.js +31 -0
  849. package/es-custom/react/file-upload-item.js.map +1 -0
  850. package/es-custom/react/file-uploads.d.ts +1 -1
  851. package/es-custom/react/file-uploads.js +2 -2
  852. package/es-custom/react/history/history-content.d.ts +1 -1
  853. package/es-custom/react/history/history-content.js +1 -1
  854. package/es-custom/react/history/history-delete-panel.d.ts +1 -1
  855. package/es-custom/react/history/history-delete-panel.js +3 -3
  856. package/es-custom/react/history/history-header.d.ts +1 -1
  857. package/es-custom/react/history/history-header.js +2 -2
  858. package/es-custom/react/history/history-loading.d.ts +1 -1
  859. package/es-custom/react/history/history-loading.js +1 -1
  860. package/es-custom/react/history/history-panel-item-input.d.ts +1 -1
  861. package/es-custom/react/history/history-panel-item-input.js +4 -4
  862. package/es-custom/react/history/history-panel-item.d.ts +1 -1
  863. package/es-custom/react/history/history-panel-item.js +6 -6
  864. package/es-custom/react/history/history-panel-items.d.ts +1 -1
  865. package/es-custom/react/history/history-panel-items.js +1 -1
  866. package/es-custom/react/history/history-panel-menu.d.ts +1 -1
  867. package/es-custom/react/history/history-panel-menu.js +1 -1
  868. package/es-custom/react/history/history-panel.d.ts +1 -1
  869. package/es-custom/react/history/history-panel.js +1 -1
  870. package/es-custom/react/history/history-search-item.d.ts +1 -1
  871. package/es-custom/react/history/history-search-item.js +2 -2
  872. package/es-custom/react/history/history-shell.d.ts +1 -1
  873. package/es-custom/react/history/history-shell.js +1 -1
  874. package/es-custom/react/history/history-toolbar.d.ts +1 -1
  875. package/es-custom/react/history/history-toolbar.js +3 -3
  876. package/es-custom/react/history/index.d.ts +12 -12
  877. package/es-custom/react/hooks/useChatAutocomplete.d.ts +4 -4
  878. package/es-custom/react/hooks/useChatAutocomplete.js +38 -12
  879. package/es-custom/react/hooks/useChatAutocomplete.js.map +1 -1
  880. package/es-custom/react/input-send-control.d.ts +1 -1
  881. package/es-custom/react/input-send-control.js +3 -3
  882. package/es-custom/react/launcher.d.ts +11 -0
  883. package/es-custom/react/launcher.js +31 -0
  884. package/es-custom/react/launcher.js.map +1 -0
  885. package/es-custom/react/markdown.d.ts +7 -7
  886. package/es-custom/react/markdown.js +13 -13
  887. package/es-custom/react/markdown.js.map +1 -1
  888. package/es-custom/react/panel.d.ts +1 -1
  889. package/es-custom/react/panel.js +7 -7
  890. package/es-custom/react/processing.d.ts +1 -1
  891. package/es-custom/react/processing.js +2 -2
  892. package/es-custom/react/prompt-line-shell.d.ts +1 -1
  893. package/es-custom/react/prompt-line-shell.js +1 -1
  894. package/es-custom/react/prompt-line.d.ts +1 -1
  895. package/es-custom/react/prompt-line.js +9 -9
  896. package/es-custom/react/reasoning-step.d.ts +1 -1
  897. package/es-custom/react/reasoning-step.js +4 -4
  898. package/es-custom/react/reasoning-steps-toggle.d.ts +2 -2
  899. package/es-custom/react/reasoning-steps-toggle.js +3 -3
  900. package/es-custom/react/reasoning-steps.d.ts +1 -1
  901. package/es-custom/react/reasoning-steps.js +2 -2
  902. package/es-custom/react/stop-streaming-button.d.ts +1 -1
  903. package/es-custom/react/stop-streaming-button.js +1 -1
  904. package/es-custom/react/table.d.ts +2 -2
  905. package/es-custom/react/table.js +1 -1
  906. package/es-custom/react/tool-call-data.d.ts +1 -1
  907. package/es-custom/react/tool-call-data.js +2 -2
  908. package/es-custom/react/toolbar.d.ts +4 -4
  909. package/es-custom/react/toolbar.js +2 -2
  910. package/es-custom/react/transcript.d.ts +1 -1
  911. package/es-custom/react/transcript.js +3 -3
  912. package/es-custom/react/utils/transformSuggestionConfig.d.ts +3 -3
  913. package/es-custom/react/utils/transformSuggestionConfig.js +3 -3
  914. package/es-custom/react/utils/transformSuggestionConfig.js.map +1 -1
  915. package/es-custom/react/utils/withWebComponentBridge.d.ts +1 -1
  916. package/es-custom/react/utils/withWebComponentBridge.js +22 -22
  917. package/es-custom/react/video-player.d.ts +1 -1
  918. package/es-custom/react/video-player.js +5 -5
  919. package/es-custom/react/workspace-shell.d.ts +1 -1
  920. package/es-custom/react/workspace-shell.js +6 -6
  921. package/es-custom/testing/load-all-lazy-deps.d.ts +2 -2
  922. package/es-custom/testing/load-all-lazy-deps.js +1 -1
  923. package/es-custom/typings/overflow-menu.d.ts +2 -2
  924. package/package.json +4 -5
  925. package/scss/_custom-properties.scss +15 -15
  926. package/scss/_modifiers.scss +8 -8
  927. package/scss/_tokens-component.scss +1 -1
  928. package/scss/_tokens-layout.scss +1 -1
  929. package/scss/_utilities.scss +2 -2
  930. package/scss/common.scss +3 -3
  931. package/scss/grid.scss +2 -2
  932. package/scss/themes.scss +7 -7
  933. package/scss/vars.scss +3 -3
  934. package/telemetry.yml +64 -5
  935. package/es/components/autocomplete/index.d.ts +0 -15
  936. package/es/components/autocomplete/index.js +0 -11
  937. package/es/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  938. package/es/components/autocomplete/src/autocomplete-item-group.js +0 -139
  939. package/es/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  940. package/es/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  941. package/es/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  942. package/es/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  943. package/es/components/autocomplete/src/autocomplete-item.js +0 -197
  944. package/es/components/autocomplete/src/autocomplete-item.js.map +0 -1
  945. package/es/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  946. package/es/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  947. package/es/components/autocomplete/src/autocomplete.d.ts +0 -97
  948. package/es/components/autocomplete/src/autocomplete.js +0 -321
  949. package/es/components/autocomplete/src/autocomplete.js.map +0 -1
  950. package/es-custom/components/autocomplete/index.d.ts +0 -15
  951. package/es-custom/components/autocomplete/index.js +0 -11
  952. package/es-custom/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
  953. package/es-custom/components/autocomplete/src/autocomplete-item-group.js +0 -139
  954. package/es-custom/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
  955. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
  956. package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
  957. package/es-custom/components/autocomplete/src/autocomplete-item.d.ts +0 -54
  958. package/es-custom/components/autocomplete/src/autocomplete-item.js +0 -197
  959. package/es-custom/components/autocomplete/src/autocomplete-item.js.map +0 -1
  960. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js +0 -13
  961. package/es-custom/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
  962. package/es-custom/components/autocomplete/src/autocomplete.d.ts +0 -97
  963. package/es-custom/components/autocomplete/src/autocomplete.js +0 -321
  964. package/es-custom/components/autocomplete/src/autocomplete.js.map +0 -1
  965. /package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
  966. /package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
@@ -6,10 +6,10 @@
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { LitElement, nothing } from "lit";
10
- import "../../autocomplete/src/autocomplete.js";
11
- import type PromptLineElement from "./prompt-line.js";
12
- import type { AutocompleteConfig, CustomListProps, SuggestionItem, TriggerChangeEventDetail, TriggerSuggestionConfig } from "./tiptap/types.js";
9
+ import { LitElement, nothing } from 'lit';
10
+ import '../autocomplete/src/autocomplete.js';
11
+ import type PromptLineElement from './prompt-line.js';
12
+ import type { AutocompleteConfig, CustomListProps, StartersConfig, SuggestionItem, TriggerChangeEventDetail, TriggerSuggestionConfig } from './tiptap/types.js';
13
13
  /**
14
14
  * Framework-agnostic controller for the chat-input autocomplete overlay:
15
15
  * trigger-state tracking, async item resolution with stale-result protection,
@@ -24,7 +24,7 @@ export interface AutocompleteControllerOptions {
24
24
  mention?: TriggerSuggestionConfig;
25
25
  command?: TriggerSuggestionConfig;
26
26
  autocomplete?: AutocompleteConfig;
27
- starters?: SuggestionItem[];
27
+ starters?: StartersConfig;
28
28
  /** When true, starter selection inserts text without firing onStarterSelected. */
29
29
  isSendDisabled?: boolean;
30
30
  /** Called after a starter is selected and inserted; consumer triggers send. */
@@ -79,7 +79,7 @@ export declare class AutocompleteController {
79
79
  * Update any subset of configs. The active trigger (if any) is re-resolved
80
80
  * against the new configs so the visible item list stays current.
81
81
  */
82
- setConfigs(next: Partial<Pick<AutocompleteControllerOptions, "mention" | "command" | "autocomplete" | "starters" | "isSendDisabled" | "onStarterSelected">>): void;
82
+ setConfigs(next: Partial<Pick<AutocompleteControllerOptions, 'mention' | 'command' | 'autocomplete' | 'starters' | 'isSendDisabled' | 'onStarterSelected'>>): void;
83
83
  /** Set or clear the active prompt-line. */
84
84
  setPromptLine(promptLine: PromptLineElement | null): void;
85
85
  /** Read the currently associated prompt-line. */
@@ -121,6 +121,7 @@ export declare class AutocompleteController {
121
121
  private _refreshEditorKeyHandler;
122
122
  private _detachEditorKeyHandler;
123
123
  private _handleEditorKeyDown;
124
+ private _handleEditorFocusOut;
124
125
  private _kickoffResolve;
125
126
  private _resolveItems;
126
127
  private _resolveRenderCustomList;
@@ -151,7 +152,7 @@ declare class AutocompleteControllerElement extends LitElement {
151
152
  /** Live-typeahead autocomplete config (no trigger character). */
152
153
  autocomplete?: AutocompleteConfig;
153
154
  /** Starter prompts shown when the editor is empty + focused + editable. */
154
- starters?: SuggestionItem[];
155
+ starters?: StartersConfig;
155
156
  /** When true, starter selection inserts text without firing the send event. */
156
157
  isSendDisabled: boolean;
157
158
  private _state;
@@ -168,11 +169,12 @@ declare class AutocompleteControllerElement extends LitElement {
168
169
  disconnectedCallback(): void;
169
170
  updated(changed: Map<string, unknown>): void;
170
171
  render(): import("lit-html").TemplateResult<1> | typeof nothing;
172
+ private _handleMousedown;
171
173
  private _handleTriggerChange;
172
174
  }
173
175
  declare global {
174
176
  interface HTMLElementTagNameMap {
175
- "cds-aichat-autocomplete-controller": AutocompleteControllerElement;
177
+ 'cds-aichat-autocomplete-controller': AutocompleteControllerElement;
176
178
  }
177
179
  }
178
180
  export default AutocompleteControllerElement;
@@ -10,9 +10,10 @@ import { LitElement, nothing, html } from 'lit';
10
10
  import { property, state } from 'lit/decorators.js';
11
11
  import { carbonElement } from '../../../globals/decorators/carbon-element.js';
12
12
  import prefix from '../../../globals/settings.js';
13
- import '../../autocomplete/src/autocomplete.js';
13
+ import '../autocomplete/src/autocomplete.js';
14
14
  import { resolveShowTriggerInChip } from './tiptap/carbon-mention.js';
15
15
  import { projectRawValue } from './tiptap/json-utils.js';
16
+ import { resetTriggerChangeState } from './tiptap/trigger-utils.js';
16
17
 
17
18
  /**
18
19
  * @license
@@ -53,10 +54,10 @@ class AutocompleteController {
53
54
  this._resolveToken = 0;
54
55
  this._destroyed = false;
55
56
  this._handleEditorKeyDown = (event) => {
56
- if (event.key !== "ArrowUp" &&
57
- event.key !== "ArrowDown" &&
58
- event.key !== "Enter" &&
59
- event.key !== "Escape") {
57
+ if (event.key !== 'ArrowUp' &&
58
+ event.key !== 'ArrowDown' &&
59
+ event.key !== 'Enter' &&
60
+ event.key !== 'Escape') {
60
61
  return;
61
62
  }
62
63
  const listEl = this._listElement;
@@ -68,12 +69,21 @@ class AutocompleteController {
68
69
  // ProseMirror's own keydown handler.
69
70
  event.preventDefault();
70
71
  event.stopPropagation();
71
- listEl.dispatchEvent(new KeyboardEvent("keydown", {
72
+ listEl.dispatchEvent(new KeyboardEvent('keydown', {
72
73
  key: event.key,
73
74
  bubbles: true,
74
75
  cancelable: true,
75
76
  }));
76
77
  };
78
+ this._handleEditorFocusOut = (event) => {
79
+ const relatedTarget = event.relatedTarget;
80
+ // If focus moved into the list element (or inside it), keep the overlay
81
+ // open — the user is interacting with it.
82
+ if (relatedTarget && this._listElement?.contains(relatedTarget)) {
83
+ return;
84
+ }
85
+ this.dismiss();
86
+ };
77
87
  this._mention = options.mention;
78
88
  this._command = options.command;
79
89
  this._autocomplete = options.autocomplete;
@@ -90,22 +100,37 @@ class AutocompleteController {
90
100
  * against the new configs so the visible item list stays current.
91
101
  */
92
102
  setConfigs(next) {
93
- if ("mention" in next) {
103
+ if ('mention' in next) {
94
104
  this._mention = next.mention;
95
105
  }
96
- if ("command" in next) {
106
+ if ('command' in next) {
97
107
  this._command = next.command;
98
108
  }
99
- if ("autocomplete" in next) {
109
+ if ('autocomplete' in next) {
100
110
  this._autocomplete = next.autocomplete;
101
111
  }
102
- if ("starters" in next) {
112
+ if ('starters' in next) {
113
+ const prevIsOn = this._starters?.isOn !== false;
114
+ const isOn = next.starters?.isOn !== false;
103
115
  this._starters = next.starters;
116
+ // isOn toggled: push the new value into the Tiptap extension storage and
117
+ // fire a no-op transaction so onTransaction → maybeEmit re-evaluates.
118
+ // Focus state is unchanged — the list appears on the next focus if the
119
+ // editor is not currently focused, or immediately if it is.
120
+ if (prevIsOn !== isOn) {
121
+ const editor = this._promptLine?.getEditor();
122
+ const storage = editor?.storage
123
+ ?.carbonStarterTrigger;
124
+ if (storage && editor) {
125
+ storage.isOn = isOn;
126
+ editor.view.dispatch(editor.state.tr);
127
+ }
128
+ }
104
129
  }
105
- if ("isSendDisabled" in next) {
130
+ if ('isSendDisabled' in next) {
106
131
  this._isSendDisabled = Boolean(next.isSendDisabled);
107
132
  }
108
- if ("onStarterSelected" in next) {
133
+ if ('onStarterSelected' in next) {
109
134
  this._onStarterSelected = next.onStarterSelected;
110
135
  }
111
136
  if (this._trigger) {
@@ -119,6 +144,17 @@ class AutocompleteController {
119
144
  return;
120
145
  }
121
146
  this._promptLine = promptLine;
147
+ // Reconcile the isOn flag into the newly attached prompt-line's storage.
148
+ if (promptLine) {
149
+ const isOn = this._starters?.isOn !== false;
150
+ const editor = promptLine.getEditor();
151
+ const storage = editor?.storage
152
+ ?.carbonStarterTrigger;
153
+ if (storage && editor && storage.isOn !== isOn) {
154
+ storage.isOn = isOn;
155
+ editor.view.dispatch(editor.state.tr);
156
+ }
157
+ }
122
158
  // Re-evaluate the key-forwarding handler — the editor DOM we were bound
123
159
  // to may now be gone, or a new one may need binding.
124
160
  this._refreshEditorKeyHandler();
@@ -187,6 +223,12 @@ class AutocompleteController {
187
223
  this._resolveToken++;
188
224
  this._refreshEditorKeyHandler();
189
225
  this._emit();
226
+ // Reset the trigger-utils coalescing state so the extension can re-emit
227
+ // the same detail on the next onFocus/onUpdate without being swallowed.
228
+ const editor = this._promptLine?.getEditor();
229
+ if (editor) {
230
+ resetTriggerChangeState(editor);
231
+ }
190
232
  }
191
233
  // ---------------------------------------------------------------------
192
234
  // Selection
@@ -208,7 +250,7 @@ class AutocompleteController {
208
250
  this.dismiss();
209
251
  return;
210
252
  }
211
- if (trigger.type === "starter") {
253
+ if (trigger.type === 'starter') {
212
254
  const text = item.value ?? item.label;
213
255
  editor.commands.insertContent(text);
214
256
  this.dismiss();
@@ -217,8 +259,8 @@ class AutocompleteController {
217
259
  }
218
260
  return;
219
261
  }
220
- if (trigger.type === "mention" || trigger.type === "command") {
221
- const config = trigger.type === "mention" ? this._mention : this._command;
262
+ if (trigger.type === 'mention' || trigger.type === 'command') {
263
+ const config = trigger.type === 'mention' ? this._mention : this._command;
222
264
  const nodeName = trigger.type;
223
265
  const range = {
224
266
  from: trigger.triggerOffset,
@@ -234,17 +276,17 @@ class AutocompleteController {
234
276
  id: item.id,
235
277
  label: item.label,
236
278
  value: item.value ?? item.label,
237
- trigger: resolveShowTriggerInChip(item, config ?? {}, trigger.type === "command")
279
+ trigger: resolveShowTriggerInChip(item, config ?? {}, trigger.type === 'command')
238
280
  ? config?.trigger
239
281
  : null,
240
282
  },
241
283
  },
242
- { type: "text", text: " " },
284
+ { type: 'text', text: ' ' },
243
285
  ])
244
286
  .run();
245
287
  config?.onSelect?.(item);
246
288
  }
247
- else if (trigger.type === "autocomplete") {
289
+ else if (trigger.type === 'autocomplete') {
248
290
  const text = item.value ?? item.label;
249
291
  const range = {
250
292
  from: trigger.triggerOffset,
@@ -253,7 +295,7 @@ class AutocompleteController {
253
295
  editor
254
296
  .chain()
255
297
  .focus()
256
- .insertContentAt(range, [{ type: "text", text }])
298
+ .insertContentAt(range, [{ type: 'text', text }])
257
299
  .run();
258
300
  this._autocomplete?.onSelect?.(item);
259
301
  }
@@ -293,13 +335,15 @@ class AutocompleteController {
293
335
  }
294
336
  this._detachEditorKeyHandler();
295
337
  if (editorDom) {
296
- editorDom.addEventListener("keydown", this._handleEditorKeyDown, true);
338
+ editorDom.addEventListener('keydown', this._handleEditorKeyDown, true);
339
+ editorDom.addEventListener('focusout', this._handleEditorFocusOut);
297
340
  this._editorDomBound = editorDom;
298
341
  }
299
342
  }
300
343
  _detachEditorKeyHandler() {
301
344
  if (this._editorDomBound) {
302
- this._editorDomBound.removeEventListener("keydown", this._handleEditorKeyDown, true);
345
+ this._editorDomBound.removeEventListener('keydown', this._handleEditorKeyDown, true);
346
+ this._editorDomBound.removeEventListener('focusout', this._handleEditorFocusOut);
303
347
  this._editorDomBound = null;
304
348
  }
305
349
  }
@@ -318,14 +362,14 @@ class AutocompleteController {
318
362
  })();
319
363
  }
320
364
  async _resolveItems(trigger) {
321
- if (trigger.type === "starter") {
322
- return this._starters ?? [];
365
+ if (trigger.type === 'starter') {
366
+ return this._starters?.items ?? [];
323
367
  }
324
- const config = trigger.type === "mention"
368
+ const config = trigger.type === 'mention'
325
369
  ? this._mention
326
- : trigger.type === "command"
370
+ : trigger.type === 'command'
327
371
  ? this._command
328
- : trigger.type === "autocomplete"
372
+ : trigger.type === 'autocomplete'
329
373
  ? this._autocomplete
330
374
  : undefined;
331
375
  if (!config) {
@@ -335,14 +379,17 @@ class AutocompleteController {
335
379
  }
336
380
  _resolveRenderCustomList() {
337
381
  const trigger = this._trigger;
338
- if (!trigger || trigger.type === "starter") {
382
+ if (!trigger) {
339
383
  return undefined;
340
384
  }
341
- const config = trigger.type === "mention"
385
+ if (trigger.type === 'starter') {
386
+ return this._starters?.renderCustomList;
387
+ }
388
+ const config = trigger.type === 'mention'
342
389
  ? this._mention
343
- : trigger.type === "command"
390
+ : trigger.type === 'command'
344
391
  ? this._command
345
- : trigger.type === "autocomplete"
392
+ : trigger.type === 'autocomplete'
346
393
  ? this._autocomplete
347
394
  : undefined;
348
395
  return config?.renderCustomList;
@@ -362,7 +409,7 @@ class AutocompleteController {
362
409
  function findPromptLineFromTarget(path) {
363
410
  for (const target of path) {
364
411
  if (target instanceof HTMLElement &&
365
- target.tagName === "CDS-AICHAT-PROMPT-LINE") {
412
+ target.tagName === 'CDS-AICHAT-PROMPT-LINE') {
366
413
  return target;
367
414
  }
368
415
  }
@@ -377,7 +424,7 @@ async function resolveConfigItems(config, query) {
377
424
  if (query.length < minQueryLength) {
378
425
  return [];
379
426
  }
380
- if (typeof config.items === "function") {
427
+ if (typeof config.items === 'function') {
381
428
  return await Promise.resolve(config.items(query));
382
429
  }
383
430
  if (!query) {
@@ -420,6 +467,10 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
420
467
  * receiving each other's events.
421
468
  */
422
469
  this._eventSource = null;
470
+ this._handleMousedown = (event) => {
471
+ // Prevent the autocomplete list from stealing focus from the editor.
472
+ event.preventDefault();
473
+ };
423
474
  this._handleTriggerChange = (event) => {
424
475
  this._controller?.handleTriggerChangeEvent(event);
425
476
  };
@@ -431,6 +482,7 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
431
482
  }
432
483
  connectedCallback() {
433
484
  super.connectedCallback();
485
+ this.addEventListener('mousedown', this._handleMousedown);
434
486
  this._controller = new AutocompleteController({
435
487
  mention: this.mention,
436
488
  command: this.command,
@@ -438,7 +490,7 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
438
490
  starters: this.starters,
439
491
  isSendDisabled: this.isSendDisabled,
440
492
  onStarterSelected: (text) => {
441
- this.dispatchEvent(new CustomEvent("cds-aichat-starter-selected", {
493
+ this.dispatchEvent(new CustomEvent('cds-aichat-starter-selected', {
442
494
  detail: { text },
443
495
  bubbles: true,
444
496
  composed: true,
@@ -452,11 +504,12 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
452
504
  // on the same page don't cross-talk. Falls back to `this` if the
453
505
  // controller is used outside a shell — in that case the consumer
454
506
  // should make sure their prompt-line bubbles events into this element.
455
- this._eventSource = this.closest("cds-aichat-prompt-line-shell") ?? this;
456
- this._eventSource.addEventListener("cds-aichat-trigger-change", this._handleTriggerChange);
507
+ this._eventSource = this.closest('cds-aichat-prompt-line-shell') ?? this;
508
+ this._eventSource.addEventListener('cds-aichat-trigger-change', this._handleTriggerChange);
457
509
  }
458
510
  disconnectedCallback() {
459
- this._eventSource?.removeEventListener("cds-aichat-trigger-change", this._handleTriggerChange);
511
+ this.removeEventListener('mousedown', this._handleMousedown);
512
+ this._eventSource?.removeEventListener('cds-aichat-trigger-change', this._handleTriggerChange);
460
513
  this._eventSource = null;
461
514
  this._controller?.destroy();
462
515
  this._controller = null;
@@ -466,11 +519,11 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
466
519
  if (!this._controller) {
467
520
  return;
468
521
  }
469
- if (changed.has("mention") ||
470
- changed.has("command") ||
471
- changed.has("autocomplete") ||
472
- changed.has("starters") ||
473
- changed.has("isSendDisabled")) {
522
+ if (changed.has('mention') ||
523
+ changed.has('command') ||
524
+ changed.has('autocomplete') ||
525
+ changed.has('starters') ||
526
+ changed.has('isSendDisabled')) {
474
527
  this._controller.setConfigs({
475
528
  mention: this.mention,
476
529
  command: this.command,
@@ -481,11 +534,19 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
481
534
  }
482
535
  // Register the currently-rendered list element with the controller so
483
536
  // arrow / Enter / Escape on the editor get forwarded into it.
484
- const listEl = this.querySelector("cds-aichat-autocomplete") ??
537
+ const listEl = this.querySelector('cds-aichat-autocomplete') ??
485
538
  (this.firstElementChild instanceof HTMLElement
486
539
  ? this.firstElementChild
487
540
  : null);
488
541
  this._controller.setListElement(listEl);
542
+ // Pass the editor DOM as anchorElement so the autocomplete's outside-click
543
+ // guard treats clicks on the editor as inside-clicks (not dismissals).
544
+ const editorDom = this._controller.getPromptLine()?.getEditor()?.view
545
+ .dom;
546
+ const autocompleteEl = this.querySelector('cds-aichat-autocomplete');
547
+ if (autocompleteEl) {
548
+ autocompleteEl.anchorElement = editorDom ?? null;
549
+ }
489
550
  }
490
551
  render() {
491
552
  const { trigger, items, renderCustomList } = this._state;
@@ -505,7 +566,7 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
505
566
  // Custom renderer returned something other than an HTMLElement (e.g.
506
567
  // a React node). Surface it on a side-channel event so React adapters
507
568
  // can portal it into place themselves.
508
- this.dispatchEvent(new CustomEvent("cds-aichat-custom-list-render", {
569
+ this.dispatchEvent(new CustomEvent('cds-aichat-custom-list-render', {
509
570
  detail: { reactNode: result },
510
571
  bubbles: true,
511
572
  composed: true,
@@ -516,8 +577,7 @@ let AutocompleteControllerElement = class AutocompleteControllerElement extends
516
577
  <cds-aichat-autocomplete
517
578
  .items=${items}
518
579
  @cds-aichat-autocomplete-select=${(event) => this._controller?.select(event.detail.item)}
519
- @cds-aichat-autocomplete-dismiss=${() => this._controller?.dismiss()}
520
- ></cds-aichat-autocomplete>
580
+ @cds-aichat-autocomplete-dismiss=${() => this._controller?.dismiss()}></cds-aichat-autocomplete>
521
581
  `;
522
582
  }
523
583
  };
@@ -531,10 +591,10 @@ __decorate([
531
591
  property({ attribute: false })
532
592
  ], AutocompleteControllerElement.prototype, "autocomplete", void 0);
533
593
  __decorate([
534
- property({ type: Array, attribute: false })
594
+ property({ attribute: false })
535
595
  ], AutocompleteControllerElement.prototype, "starters", void 0);
536
596
  __decorate([
537
- property({ type: Boolean, attribute: "is-send-disabled" })
597
+ property({ type: Boolean, attribute: 'is-send-disabled' })
538
598
  ], AutocompleteControllerElement.prototype, "isSendDisabled", void 0);
539
599
  __decorate([
540
600
  state()
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete-controller.js","sources":["../../../../src/components/prompt-line/src/autocomplete-controller.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;MAsDU,sBAAsB,CAAA;AA0CjC,IAAA,WAAA,CAAY,OAAsC,EAAA;QAjC1C,IAAA,CAAA,QAAQ,GAAoC,IAAI;QAChD,IAAA,CAAA,MAAM,GAAqB,EAAE;AAErC;;;;AAIG;QACK,IAAA,CAAA,WAAW,GAA6B,IAAI;AAEpD;;;;;AAKG;QACK,IAAA,CAAA,YAAY,GAAuB,IAAI;AAE/C;;;;;AAKG;QACK,IAAA,CAAA,eAAe,GAAuB,IAAI;AAElD;;;AAGG;QACK,IAAA,CAAA,aAAa,GAAG,CAAC;QACjB,IAAA,CAAA,UAAU,GAAG,KAAK;AAkRlB,QAAA,IAAA,CAAA,oBAAoB,GAAG,CAAC,KAAoB,KA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,CAAC;AACb,yCAAA,EAAA,MAAM,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE;;KAEvE;IACH;CASD;AAzJC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE;AACf,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAI5B,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE;AACnC,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AAGf,UAAA,CAAA;AADP,IAAA,KAAK;AACqE,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AAtBvE,6BAA6B,GAAA,UAAA,CAAA;AADlC,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,wBAAA,CAA0B;AAC5C,CAAA,EAAA,6BAA6B,CA4JlC;AAQD,4CAAe,6BAA6B;;;;"}
1
+ {"version":3,"file":"autocomplete-controller.js","sources":["../../../../src/components/prompt-line/src/autocomplete-controller.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;MAyDU,s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AAC,IAAI,CAAC;AACb,yCAAA,EAAA,MAAM,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,CAAA;KACvE;IACH;CAcD;AA1KC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACI,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;AAIlC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;AACJ,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAI1B,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE;AACnC,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AAGf,UAAA,CAAA;AADP,IAAA,KAAK;AACqE,CAAA,EAAA,6BAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AAtBvE,6BAA6B,GAAA,UAAA,CAAA;AADlC,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,wBAAA,CAA0B;AAC5C,CAAA,EAAA,6BAA6B,CA6KlC;AAQD,4CAAe,6BAA6B;;;;"}
@@ -6,8 +6,8 @@
6
6
  * This source code is licensed under the Apache-2.0 license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import { LitElement, PropertyValues, TemplateResult } from "lit";
10
- import "@carbon/web-components/es/components/icon-button/index.js";
9
+ import { LitElement, PropertyValues, TemplateResult } from 'lit';
10
+ import '@carbon/web-components/es/components/icon-button/index.js';
11
11
  /**
12
12
  * Error message component for AI Chat prompt line.
13
13
  *
@@ -27,10 +27,6 @@ declare class ErrorMessage extends LitElement {
27
27
  * Whether the error message is collapsible.
28
28
  */
29
29
  collapsible: boolean;
30
- /**
31
- * Whether the prompt line has alternate layout for expanded mode and/or message actions.
32
- */
33
- actionsLayout: boolean;
34
30
  /**
35
31
  * Whether the error message is in fullscreen layout.
36
32
  */
@@ -44,7 +40,7 @@ declare class ErrorMessage extends LitElement {
44
40
  }
45
41
  declare global {
46
42
  interface HTMLElementTagNameMap {
47
- "cds-aichat-error-message": ErrorMessage;
43
+ 'cds-aichat-error-message': ErrorMessage;
48
44
  }
49
45
  }
50
46
  export default ErrorMessage;
@@ -37,19 +37,15 @@ let ErrorMessage = class ErrorMessage extends LitElement {
37
37
  /**
38
38
  * The error title text to display.
39
39
  */
40
- this.title = "";
40
+ this.title = '';
41
41
  /**
42
42
  * The error description text to display.
43
43
  */
44
- this.description = "";
44
+ this.description = '';
45
45
  /**
46
46
  * Whether the error message is collapsible.
47
47
  */
48
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
49
  /**
54
50
  * Whether the error message is in fullscreen layout.
55
51
  */
@@ -62,7 +58,7 @@ let ErrorMessage = class ErrorMessage extends LitElement {
62
58
  }
63
59
  updated(changedProps) {
64
60
  super.updated(changedProps);
65
- if (changedProps.has("collapsible")) {
61
+ if (changedProps.has('collapsible')) {
66
62
  this._isExpanded = !this.collapsible;
67
63
  }
68
64
  }
@@ -80,16 +76,15 @@ let ErrorMessage = class ErrorMessage extends LitElement {
80
76
  let expandButton = null;
81
77
  if (hasChevron) {
82
78
  const icon = this._isExpanded ? ChevronUp16 : ChevronDown16;
83
- const label = `${this._isExpanded ? "Collapse" : "Expand"} error message`;
79
+ const label = `${this._isExpanded ? 'Collapse' : 'Expand'} error message`;
84
80
  expandButton = html `<cds-icon-button
85
81
  class="${blockClass}__chevron"
86
82
  kind="ghost"
87
83
  size="sm"
88
84
  align="top-end"
89
85
  aria-label="${label}"
90
- @click="${this._handleClickExpanded}"
91
- >
92
- ${iconLoader(icon, { slot: "icon", focusable: "true", tabindex: "-1" })}
86
+ @click="${this._handleClickExpanded}">
87
+ ${iconLoader(icon, { slot: 'icon', focusable: 'true', tabindex: '-1' })}
93
88
  <span slot="tooltip-content">${label}</span>
94
89
  </cds-icon-button>`;
95
90
  }
@@ -98,14 +93,12 @@ let ErrorMessage = class ErrorMessage extends LitElement {
98
93
  <div
99
94
  class="${blockClass}__warning-icon-and-text${!hasChevron
100
95
  ? ` ${blockClass}__warning-icon-and-text--no-chevron`
101
- : ""}"
102
- >
96
+ : ''}${this._isExpanded ? ` ${blockClass}__text-overflow-gradient` : ''}">
103
97
  ${this.fullscreen ? null : warningIcon}
104
98
  <div
105
- class="${blockClass}__text${this._isExpanded ? ` ${blockClass}__text--expanded` : ""}"
106
- >
99
+ class="${blockClass}__text${this._isExpanded ? ` ${blockClass}__text--expanded` : ''}">
107
100
  ${this.title}<br />
108
- ${this._isExpanded ? this.description : ""}
101
+ ${this._isExpanded ? this.description : ''}
109
102
  </div>
110
103
  ${this.fullscreen ? warningIcon : null}
111
104
  </div>
@@ -118,19 +111,16 @@ ErrorMessage.styles = css `
118
111
  ${unsafeCSS(styles)}
119
112
  `;
120
113
  __decorate([
121
- property({ type: String, attribute: "title" })
114
+ property({ type: String, attribute: 'title' })
122
115
  ], ErrorMessage.prototype, "title", void 0);
123
116
  __decorate([
124
- property({ type: String, attribute: "description" })
117
+ property({ type: String, attribute: 'description' })
125
118
  ], ErrorMessage.prototype, "description", void 0);
126
119
  __decorate([
127
- property({ type: Boolean, attribute: "collapsible" })
120
+ property({ type: Boolean, attribute: 'collapsible' })
128
121
  ], ErrorMessage.prototype, "collapsible", void 0);
129
122
  __decorate([
130
- property({ type: Boolean, reflect: true, attribute: "actions-layout" })
131
- ], ErrorMessage.prototype, "actionsLayout", void 0);
132
- __decorate([
133
- property({ type: Boolean, attribute: "fullscreen" })
123
+ property({ type: Boolean, attribute: 'fullscreen' })
134
124
  ], ErrorMessage.prototype, "fullscreen", void 0);
135
125
  __decorate([
136
126
  state()
@@ -1 +1 @@
1
- {"version":3,"file":"error-message.js","sources":["../../../../src/components/prompt-line/src/error-message.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAuBH,MAAM,UAAU,GAAG,CAAA,EAAG,MAAM,gBAAgB;AAE5C;;;;AAIG;AAEH,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,UAAU,CAAA;AAArC,IAAA,WAAA,GAAA;;AAKE;;AAEG;QAEH,IAAA,CAAA,KAAK,GAAG,EAAE;AAEV;;AAEG;QAEH,IAAA,CAAA,WAAW,GAAG,EAAE;AAEhB;;AAEG;QAEH,IAAA,CAAA,WAAW,GAAG,KAAK;AAEnB;;AAEG;QAEH,IAAA,CAAA,aAAa,GAAG,KAAK;AAErB;;AAEG;QAEH,IAAA,CAAA,UAAU,GAAG,KAAK;AAElB;;;AAGG;QACc,IAAA,CAAA,WAAW,GAAG,IAAI;IAiErC;AA/DY,IAAA,OAAO,CAAC,YAA4B,EAAA;AAC5C,QAAA,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC;AAC3B,QAAA,IAAI,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE;AACnC,YAAA,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW;QACtC;IACF;AAEA;;AAEG;IACK,oBAAoB,GAAA;AAC1B,QAAA,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW;IACtC;IAEA,MAAM,GAAA;AACJ,QAAA,MAAM,WAAW,GAAG,IAAI,CAAA,gBAAgB,UAAU,CAAA;QAC9C,UAAU,CAAC,eAAe,CAA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AAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE;AACnC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAMX,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE;AACnC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAMjB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE;AACjC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAMpB,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE;AACjD,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAMtB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE;AACjC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMF,UAAA,CAAA;AAAhB,IAAA,KAAK;AAA8B,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAvChC,YAAY,GAAA,UAAA,CAAA;AADjB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,cAAA,CAAgB;AAClC,CAAA,EAAA,YAAY,CAwGjB;AAQD,qBAAe,YAAY;;;;"}
1
+ {"version":3,"file":"error-message.js","sources":["../../../../src/components/prompt-line/src/error-message.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAuBH,MAAM,UAAU,GAAG,CAAA,EAAG,MAAM,gBAAgB;AAE5C;;;;AAIG;AAEH,I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,EAAA,aAAA,EAAA,MAAA,CAAA;AAMpB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE;AACjC,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,YAAA,EAAA,MAAA,CAAA;AAMF,UAAA,CAAA;AAAhB,IAAA,KAAK;AAA8B,CAAA,EAAA,YAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAjChC,YAAY,GAAA,UAAA,CAAA;AADjB,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,cAAA,CAAgB;AAClC,CAAA,EAAA,YAAY,CA+FjB;AAQD,qBAAe,YAAY;;;;"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { css } from 'lit';
9
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}"]);
10
+ var styles = css([".cds-aichat-error-message{align-items:flex-start;box-sizing:border-box;display:flex;gap:.5rem;inline-size:100%;padding-inline-start:.5rem;position:relative}.cds-aichat-error-message:after{background:var(--cds-border-subtle-00,#e0e0e0);block-size:1px;content:\"\";display:block;inline-size:calc(100% + 1rem);inset-block-end:0;inset-inline-start:-.5rem;position:absolute;z-index:0}.cds-aichat-error-message__warning-icon-and-text{align-items:flex-start;display:flex;flex:1;gap:1rem;margin-block-start:.75rem;position:relative;z-index:0}.cds-aichat-error-message__text-overflow-gradient:after{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,var(--cds-background,#fff) 100%);block-size:.75rem;content:\"\";display:block;inline-size:100%;inset-block-end:0;inset-inline-start:0;pointer-events:none;position:absolute;z-index:1}.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
11
 
12
12
  export { styles as default };
13
13
  //# sourceMappingURL=error-message.scss.js.map